S/390: Add hwcap value for transactional execution.
[platform/upstream/glibc.git] / ChangeLog
1 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2
3         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
4         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
5         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
6         definition.
7
8 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9
10         * elf/elf.h: Update comment before AArch64 relocations.
11
12 2012-11-07  David S. Miller  <davem@davemloft.net>
13
14         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
15         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16         (__start_context): Declare.
17         (__makecontext_ret): Delete.
18         (__makecontext): Hook up __start_context instead of
19         __makecontext_ret.
20         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21         (sysdep_routines): Add __start_context when in stdlib.
22
23 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
24
25         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
26         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
27         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
28         hardcoded "nm".
29         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
30         (READELF): New variable.  Use it instead of hardcoded "readelf".
31
32 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
33
34         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
35         * sysdeps/x86/Makefile: Here.
36         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
37         * sysdeps/x86/tst-xmmymm.sh: This.
38
39 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40
41         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
42         expectations.
43         [UNIX98] (pthread_barrier_t): Do not expect.
44         [UNIX98] (pthread_barrierattr_t): Likewise.
45         [UNIX98] (pthread_spinlock_t): Likewise.
46         [UNIX98] (pthread_barrier_destroy): Likewise.
47         [UNIX98] (pthread_barrier_init): Likewise.
48         [UNIX98] (pthread_barrier_wait): Likewise.
49         [UNIX98] (pthread_barrierattr_destroy): Likewise.
50         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
51         [UNIX98] (pthread_barrierattr_init): Likewise.
52         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
53         [UNIX98] (pthread_getcpuclockid): Likewise.
54         [UNIX98] (pthread_mutex_timedlock): Likewise.
55         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
56         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
57         [UNIX98] (pthread_sigmask): Likewise.
58         [UNIX98] (pthread_spin_destroy): Likewise.
59         [UNIX98] (pthread_spin_init): Likewise.
60         [UNIX98] (pthread_spin_lock): Likewise.
61         [UNIX98] (pthread_spin_trylock): Likewise.
62         [UNIX98] (pthread_spin_unlock): Likewise.
63         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
64         Do not expect.
65         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
66         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
67         [XPG3 || XPG4] (pthread_cond_t): Likewise.
68         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
69         [XPG3 || XPG4] (pthread_key_t): Likewise.
70         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
71         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
72         [XPG3 || XPG4] (pthread_once_t): Likewise.
73         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
74         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
75         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
76         [XPG3 || XPG4] (pthread_t): Likewise.
77
78         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
79         not expect.
80         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
81
82         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
83         Change function return type to int.
84
85         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
86         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
87         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
88         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
89         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
90         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
91         [!POSIX] (posix_madvise): Likewise.
92         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
93         && !UNIX98].
94         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
95         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
96         (mode_t): Likewise.
97         (posix_mem_offset): Likewise.
98         (posix_typed_mem_get_info): Likewise.
99         (posix_typed_mem_open): Likewise.
100
101         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
102         Change condition to [XOPEN2K8].
103
104         * conform/conformtest.pl: Preprocess allow-header data with -x c
105         instead of from stdin.
106         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
107         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
108         [C99-based standards] (cerfc): Likewise.
109         [C99-based standards] (cexp2): Likewise.
110         [C99-based standards] (cexpm1): Likewise.
111         [C99-based standards] (clog10): Likewise.
112         [C99-based standards] (clog1p): Likewise.
113         [C99-based standards] (clog2): Likewise.
114         [C99-based standards] (clgamma): Likewise.
115         [C99-based standards] (ctgamma): Likewise.
116         [C99-based standards] (cerff): Likewise.
117         [C99-based standards] (cerfcf): Likewise.
118         [C99-based standards] (cexp2f): Likewise.
119         [C99-based standards] (cexpm1f): Likewise.
120         [C99-based standards] (clog10f): Likewise.
121         [C99-based standards] (clog1pf): Likewise.
122         [C99-based standards] (clog2f): Likewise.
123         [C99-based standards] (clgammaf): Likewise.
124         [C99-based standards] (ctgammaf): Likewise.
125         [C99-based standards] (cerfl): Likewise.
126         [C99-based standards] (cerfcl): Likewise.
127         [C99-based standards] (cexp2l): Likewise.
128         [C99-based standards] (cexpm1l): Likewise.
129         [C99-based standards] (clog10l): Likewise.
130         [C99-based standards] (clog1pl): Likewise.
131         [C99-based standards] (clog2l): Likewise.
132         [C99-based standards] (clgammal): Likewise.
133         [C99-based standards] (ctgammal): Likewise.
134         * conform/data/inttypes.h-data [C99-based standards]: Include
135         stdint.h-data.  Remove all expectations for stdint.h contents.
136         [C99-based standards] (PRI*): Do not allow.
137         [C99-based standards] (SCN*): Likewise.
138         [C99-based standards] (*_t): Likewise.
139         [C99-based-standards] (PRId8): Expect macro.
140         [C99-based-standards] (PRIi8): Likewise.
141         [C99-based-standards] (PRIo8): Likewise.
142         [C99-based-standards] (PRIu8): Likewise.
143         [C99-based-standards] (PRIx8): Likewise.
144         [C99-based-standards] (PRIX8): Likewise.
145         [C99-based-standards] (SCNd8): Likewise.
146         [C99-based-standards] (SCNi8): Likewise.
147         [C99-based-standards] (SCNo8): Likewise.
148         [C99-based-standards] (SCNu8): Likewise.
149         [C99-based-standards] (SCNx8): Likewise.
150         [C99-based-standards] (PRIdLEAST8): Likewise.
151         [C99-based-standards] (PRIiLEAST8): Likewise.
152         [C99-based-standards] (PRIoLEAST8): Likewise.
153         [C99-based-standards] (PRIuLEAST8): Likewise.
154         [C99-based-standards] (PRIxLEAST8): Likewise.
155         [C99-based-standards] (PRIXLEAST8): Likewise.
156         [C99-based-standards] (SCNdLEAST8): Likewise.
157         [C99-based-standards] (SCNiLEAST8): Likewise.
158         [C99-based-standards] (SCNoLEAST8): Likewise.
159         [C99-based-standards] (SCNuLEAST8): Likewise.
160         [C99-based-standards] (SCNxLEAST8): Likewise.
161         [C99-based-standards] (PRIdFAST8): Likewise.
162         [C99-based-standards] (PRIiFAST8): Likewise.
163         [C99-based-standards] (PRIoFAST8): Likewise.
164         [C99-based-standards] (PRIuFAST8): Likewise.
165         [C99-based-standards] (PRIxFAST8): Likewise.
166         [C99-based-standards] (PRIXFAST8): Likewise.
167         [C99-based-standards] (SCNdFAST8): Likewise.
168         [C99-based-standards] (SCNiFAST8): Likewise.
169         [C99-based-standards] (SCNoFAST8): Likewise.
170         [C99-based-standards] (SCNuFAST8): Likewise.
171         [C99-based-standards] (SCNxFAST8): Likewise.
172         [C99-based-standards] (PRId16): Likewise.
173         [C99-based-standards] (PRIi16): Likewise.
174         [C99-based-standards] (PRIo16): Likewise.
175         [C99-based-standards] (PRIu16): Likewise.
176         [C99-based-standards] (PRIx16): Likewise.
177         [C99-based-standards] (PRIX16): Likewise.
178         [C99-based-standards] (SCNd16): Likewise.
179         [C99-based-standards] (SCNi16): Likewise.
180         [C99-based-standards] (SCNo16): Likewise.
181         [C99-based-standards] (SCNu16): Likewise.
182         [C99-based-standards] (SCNx16): Likewise.
183         [C99-based-standards] (PRIdLEAST16): Likewise.
184         [C99-based-standards] (PRIiLEAST16): Likewise.
185         [C99-based-standards] (PRIoLEAST16): Likewise.
186         [C99-based-standards] (PRIuLEAST16): Likewise.
187         [C99-based-standards] (PRIxLEAST16): Likewise.
188         [C99-based-standards] (PRIXLEAST16): Likewise.
189         [C99-based-standards] (SCNdLEAST16): Likewise.
190         [C99-based-standards] (SCNiLEAST16): Likewise.
191         [C99-based-standards] (SCNoLEAST16): Likewise.
192         [C99-based-standards] (SCNuLEAST16): Likewise.
193         [C99-based-standards] (SCNxLEAST16): Likewise.
194         [C99-based-standards] (PRIdFAST16): Likewise.
195         [C99-based-standards] (PRIiFAST16): Likewise.
196         [C99-based-standards] (PRIoFAST16): Likewise.
197         [C99-based-standards] (PRIuFAST16): Likewise.
198         [C99-based-standards] (PRIxFAST16): Likewise.
199         [C99-based-standards] (PRIXFAST16): Likewise.
200         [C99-based-standards] (SCNdFAST16): Likewise.
201         [C99-based-standards] (SCNiFAST16): Likewise.
202         [C99-based-standards] (SCNoFAST16): Likewise.
203         [C99-based-standards] (SCNuFAST16): Likewise.
204         [C99-based-standards] (SCNxFAST16): Likewise.
205         [C99-based-standards] (PRId32): Likewise.
206         [C99-based-standards] (PRIi32): Likewise.
207         [C99-based-standards] (PRIo32): Likewise.
208         [C99-based-standards] (PRIu32): Likewise.
209         [C99-based-standards] (PRIx32): Likewise.
210         [C99-based-standards] (PRIX32): Likewise.
211         [C99-based-standards] (SCNd32): Likewise.
212         [C99-based-standards] (SCNi32): Likewise.
213         [C99-based-standards] (SCNo32): Likewise.
214         [C99-based-standards] (SCNu32): Likewise.
215         [C99-based-standards] (SCNx32): Likewise.
216         [C99-based-standards] (PRIdLEAST32): Likewise.
217         [C99-based-standards] (PRIiLEAST32): Likewise.
218         [C99-based-standards] (PRIoLEAST32): Likewise.
219         [C99-based-standards] (PRIuLEAST32): Likewise.
220         [C99-based-standards] (PRIxLEAST32): Likewise.
221         [C99-based-standards] (PRIXLEAST32): Likewise.
222         [C99-based-standards] (SCNdLEAST32): Likewise.
223         [C99-based-standards] (SCNiLEAST32): Likewise.
224         [C99-based-standards] (SCNoLEAST32): Likewise.
225         [C99-based-standards] (SCNuLEAST32): Likewise.
226         [C99-based-standards] (SCNxLEAST32): Likewise.
227         [C99-based-standards] (PRIdFAST32): Likewise.
228         [C99-based-standards] (PRIiFAST32): Likewise.
229         [C99-based-standards] (PRIoFAST32): Likewise.
230         [C99-based-standards] (PRIuFAST32): Likewise.
231         [C99-based-standards] (PRIxFAST32): Likewise.
232         [C99-based-standards] (PRIXFAST32): Likewise.
233         [C99-based-standards] (SCNdFAST32): Likewise.
234         [C99-based-standards] (SCNiFAST32): Likewise.
235         [C99-based-standards] (SCNoFAST32): Likewise.
236         [C99-based-standards] (SCNuFAST32): Likewise.
237         [C99-based-standards] (SCNxFAST32): Likewise.
238         [C99-based-standards] (PRId64): Likewise.
239         [C99-based-standards] (PRIi64): Likewise.
240         [C99-based-standards] (PRIo64): Likewise.
241         [C99-based-standards] (PRIu64): Likewise.
242         [C99-based-standards] (PRIx64): Likewise.
243         [C99-based-standards] (PRIX64): Likewise.
244         [C99-based-standards] (SCNd64): Likewise.
245         [C99-based-standards] (SCNi64): Likewise.
246         [C99-based-standards] (SCNo64): Likewise.
247         [C99-based-standards] (SCNu64): Likewise.
248         [C99-based-standards] (SCNx64): Likewise.
249         [C99-based-standards] (PRIdLEAST64): Likewise.
250         [C99-based-standards] (PRIiLEAST64): Likewise.
251         [C99-based-standards] (PRIoLEAST64): Likewise.
252         [C99-based-standards] (PRIuLEAST64): Likewise.
253         [C99-based-standards] (PRIxLEAST64): Likewise.
254         [C99-based-standards] (PRIXLEAST64): Likewise.
255         [C99-based-standards] (SCNdLEAST64): Likewise.
256         [C99-based-standards] (SCNiLEAST64): Likewise.
257         [C99-based-standards] (SCNoLEAST64): Likewise.
258         [C99-based-standards] (SCNuLEAST64): Likewise.
259         [C99-based-standards] (SCNxLEAST64): Likewise.
260         [C99-based-standards] (PRIdFAST64): Likewise.
261         [C99-based-standards] (PRIiFAST64): Likewise.
262         [C99-based-standards] (PRIoFAST64): Likewise.
263         [C99-based-standards] (PRIuFAST64): Likewise.
264         [C99-based-standards] (PRIxFAST64): Likewise.
265         [C99-based-standards] (PRIXFAST64): Likewise.
266         [C99-based-standards] (SCNdFAST64): Likewise.
267         [C99-based-standards] (SCNiFAST64): Likewise.
268         [C99-based-standards] (SCNoFAST64): Likewise.
269         [C99-based-standards] (SCNuFAST64): Likewise.
270         [C99-based-standards] (SCNxFAST64): Likewise.
271         [C99-based-standards] (PRIdMAX): Likewise.
272         [C99-based-standards] (PRIiMAX): Likewise.
273         [C99-based-standards] (PRIoMAX): Likewise.
274         [C99-based-standards] (PRIuMAX): Likewise.
275         [C99-based-standards] (PRIxMAX): Likewise.
276         [C99-based-standards] (PRIXMAX): Likewise.
277         [C99-based-standards] (SCNdMAX): Likewise.
278         [C99-based-standards] (SCNiMAX): Likewise.
279         [C99-based-standards] (SCNoMAX): Likewise.
280         [C99-based-standards] (SCNuMAX): Likewise.
281         [C99-based-standards] (SCNxMAX): Likewise.
282         [C99-based-standards] (PRIdPTR): Likewise.
283         [C99-based-standards] (PRIiPTR): Likewise.
284         [C99-based-standards] (PRIoPTR): Likewise.
285         [C99-based-standards] (PRIuPTR): Likewise.
286         [C99-based-standards] (PRIxPTR): Likewise.
287         [C99-based-standards] (PRIXPTR): Likewise.
288         [C99-based-standards] (SCNdPTR): Likewise.
289         [C99-based-standards] (SCNiPTR): Likewise.
290         [C99-based-standards] (SCNoPTR): Likewise.
291         [C99-based-standards] (SCNuPTR): Likewise.
292         [C99-based-standards] (SCNxPTR): Likewise.
293         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
294         allow.
295         * conform/data/stdint.h-data: Update comments to clarify
296         requirements.
297         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
298         type.
299         [C99-based standards] (INT8_MAX): Likewise.
300         [C99-based standards] (INT16_MIN): Likewise.
301         [C99-based standards] (INT16_MAX): Likewise.
302         [C99-based standards] (INT32_MIN): Likewise.
303         [C99-based standards] (INT32_MAX): Likewise.
304         [C99-based standards] (INT64_MIN): Likewise.
305         [C99-based standards] (INT64_MAX): Likewise.
306         [C99-based standards] (UINT8_MAX): Likewise.
307         [C99-based standards] (UINT16_MAX): Likewise.
308         [C99-based standards] (UINT32_MAX): Likewise.
309         [C99-based standards] (UINT64_MAX): Likewise.
310         [C99-based standards] (INT_LEAST8_MIN): Likewise.
311         [C99-based standards] (INT_LEAST8_MAX): Likewise.
312         [C99-based standards] (INT_LEAST16_MIN): Likewise.
313         [C99-based standards] (INT_LEAST16_MAX): Likewise.
314         [C99-based standards] (INT_LEAST32_MIN): Likewise.
315         [C99-based standards] (INT_LEAST32_MAX): Likewise.
316         [C99-based standards] (INT_LEAST64_MIN): Likewise.
317         [C99-based standards] (INT_LEAST64_MAX): Likewise.
318         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
319         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
320         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
321         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
322         [C99-based standards] (INT_FAST8_MIN): Likewise.
323         [C99-based standards] (INT_FAST8_MAX): Likewise.
324         [C99-based standards] (INT_FAST16_MIN): Likewise.
325         [C99-based standards] (INT_FAST16_MAX): Likewise.
326         [C99-based standards] (INT_FAST32_MIN): Likewise.
327         [C99-based standards] (INT_FAST32_MAX): Likewise.
328         [C99-based standards] (INT_FAST64_MIN): Likewise.
329         [C99-based standards] (INT_FAST64_MAX): Likewise.
330         [C99-based standards] (UINT_FAST8_MAX): Likewise.
331         [C99-based standards] (UINT_FAST16_MAX): Likewise.
332         [C99-based standards] (UINT_FAST32_MAX): Likewise.
333         [C99-based standards] (UINT_FAST64_MAX): Likewise.
334         [C99-based standards] (INTPTR_MIN): Likewise.
335         [C99-based standards] (INTPTR_MAX): Likewise.
336         [C99-based standards] (UINTPTR_MAX): Likewise.
337         [C99-based standards] (INTMAX_MIN): Likewise.
338         [C99-based standards] (INTMAX_MAX): Likewise.
339         [C99-based standards] (UINTMAX_MAX): Likewise.
340         [C99-based standards] (PTRDIFF_MIN): Likewise.
341         [C99-based standards] (PTRDIFF_MAX): Likewise.
342         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
343         [C99-based standards] (SIZE_MAX): Likewise.
344         [C99-based standards] (WCHAR_MAX): Likewise.
345         [C99-based standards] (WINT_MAX): Likewise.
346         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
347         constraint on value.
348         [C99-based standards] (WCHAR_MIN): Likewise.
349         [C99-based standards] (WINT_MIN): Likewise.
350         [C99-based standards] (*_t): Allow.
351         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
352         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
353         Include math.h-data and complex.h-data.  Remove all expectations
354         of math.h and complex.h contents.
355         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
356         at end of line.
357         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
358         (struct tm): Expect tag.
359         [C99-based-standards] (wcstof): Expect function.
360         [C99-based-standards] (wcstold): Likewise.
361         [C99-based-standards] (wcstoll): Likewise.
362         [C99-based-standards] (wcstoull): Likewise.
363         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
364         macro-int-constant.  Specify type.
365         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
366         constraint on value.
367         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
368         Specify type.
369         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
370         Specify value.
371         [ISO C standards]: Do not allow headers.
372         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
373         wcs[abcdefghijklmnopqrstuvwxyz]*.
374         [ISO C standards] (*_t): Do not allow.
375         * conform/data/wctype.h-data [C99-based standards] (iswblank):
376         Expect function.
377         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
378         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
379         Specify type.
380         [ISO C standards]: Do not allow headers.
381         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
382         is[abcdefghijklmnopqrstuvwxyz]*.
383         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
384         to[abcdefghijklmnopqrstuvwxyz]*.
385         [ISO C standards] (*_t): Do not allow.
386         * conform/data/stdalign.h-data: New file.
387         * conform/data/stdbool.h-data: Likewise.
388         * conform/data/stdnoreturn.h-data: Likewise.
389
390 2012-11-07  Andreas Jaeger  <aj@suse.de>
391
392         [BZ #14809]
393         * sysdeps/unix/sysv/linux/sys/sysctl.h (_UAPI_LINUX_KERNEL_H)
394         (_UAPI_LINUX_TYPES_H): Starting with Linux 3.7, the include header
395         guards are changed.  Only define if not yet defined, #undef back
396         after including linux/sysctl.h if defined here.
397
398 2012-11-07  Roland McGrath  <roland@hack.frob.com>
399
400         [BZ #14815]
401         * manual/filesys.texi (Directory Entries): Typo fix.
402         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
403
404 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
405
406         * elf/elf.h (EM_AARCH64): New macro.
407         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
408         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
409         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
410         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
411         (R_AARCH64_TLSDESC): Likewise.
412         (NT_ARM_TLS): Likewise.
413         (NT_ARM_HW_BREAK): Likewise.
414         (NT_ARM_HW_WATCH): Likewise.
415
416 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
417
418         [BZ #14811]
419         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
420         (__ieee754_powl): Saturate nonzero exponents with absolute value
421         below 0x1p-79 to +/- 0x1p-79.
422         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
423         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
424         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
425         nonzero exponents with absolute value below 0x1p-32 to +/-
426         0x1p-32.
427         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
428         (__ieee754_powl): Saturate nonzero exponents with absolute value
429         below 0x1p-79 to +/- 0x1p-79.
430         * math/libm-test.inc (pow_test): Add more tests.
431
432 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
433
434         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
435         _dl_s390_cap_flags with kernel. Increase string length.
436         (_dl_s390_platforms): Add z196 and zEC12.
437
438 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
439
440         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
441         Change XOPEN21K to XOPEN2K.
442
443 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
444
445         * string/memmove.c: Use memcpy when possible.
446
447 2012-11-06  Andreas Jaeger  <aj@suse.de>
448
449         * po/eo.po: Update from translation team.
450
451 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
452
453         [BZ #14793]
454         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
455         exponent and small x and y exponents, scale x or y up.  Increase
456         by 2 the exponent used in scaling up.
457         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
458         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
459         * math/libm-test.inc (fma_test): Add more tests.
460         (fma_test_towardzero): Likewise.
461         (fma_test_downward): Likewise.
462         (fma_test_upward): Likewise.
463
464 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
465
466         [BZ #14805]
467         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
468         fenv_t *.
469
470         [BZ #14801]
471         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
472         namespace for names of struct fields.
473         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
474         fenv_t fields.
475         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
476         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
477
478 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
479
480         [BZ #3665]
481         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
482
483 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
484
485         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
486         PTR_DEMANGLE.
487
488         [BZ #5246]
489         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
490         PTR_DEMANGLE.
491
492 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
493
494         [BZ #14797]
495         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
496         definitely overflow as x * y not x * y + z.
497         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
498         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
499         * math/libm-test.inc (fma_test): Add more tests.
500         (fma_test_towardzero): Likewise.
501         (fma_test_downward): Likewise.
502         (fma_test_upward): Likewise.
503
504 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
505
506         [BZ #157]
507
508         * include/stub-tag.h: Remove file.
509         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
510         '#include' of it.
511         * manual/maint.texi (Porting): Don't reference it.
512         * Makerules ($(objpfx)stubs): Likewise.
513         * dirent/closedir.c: Don't include <stub-tag.h>.
514         * dirent/dirfd.c: Likewise.
515         * dirent/fdopendir.c: Likewise.
516         * dirent/getdents.c: Likewise.
517         * dirent/getdents64.c: Likewise.
518         * dirent/opendir.c: Likewise.
519         * dirent/readdir.c: Likewise.
520         * dirent/readdir64.c: Likewise.
521         * dirent/readdir64_r.c: Likewise.
522         * dirent/readdir_r.c: Likewise.
523         * dirent/rewinddir.c: Likewise.
524         * dirent/seekdir.c: Likewise.
525         * dirent/telldir.c: Likewise.
526         * gmon/profil.c: Likewise.
527         * grp/setgroups.c: Likewise.
528         * inet/if_index.c: Likewise.
529         * io/access.c: Likewise.
530         * io/chdir.c: Likewise.
531         * io/chmod.c: Likewise.
532         * io/chown.c: Likewise.
533         * io/close.c: Likewise.
534         * io/dup.c: Likewise.
535         * io/dup2.c: Likewise.
536         * io/dup3.c: Likewise.
537         * io/euidaccess.c: Likewise.
538         * io/faccessat.c: Likewise.
539         * io/fchdir.c: Likewise.
540         * io/fchmod.c: Likewise.
541         * io/fchmodat.c: Likewise.
542         * io/fchown.c: Likewise.
543         * io/fchownat.c: Likewise.
544         * io/fcntl.c: Likewise.
545         * io/flock.c: Likewise.
546         * io/fstatfs.c: Likewise.
547         * io/fstatfs64.c: Likewise.
548         * io/fstatvfs.c: Likewise.
549         * io/fstatvfs64.c: Likewise.
550         * io/futimens.c: Likewise.
551         * io/fxstat.c: Likewise.
552         * io/fxstat64.c: Likewise.
553         * io/fxstatat.c: Likewise.
554         * io/fxstatat64.c: Likewise.
555         * io/getcwd.c: Likewise.
556         * io/isatty.c: Likewise.
557         * io/lchmod.c: Likewise.
558         * io/lchown.c: Likewise.
559         * io/link.c: Likewise.
560         * io/linkat.c: Likewise.
561         * io/lseek.c: Likewise.
562         * io/lseek64.c: Likewise.
563         * io/lxstat64.c: Likewise.
564         * io/mkdir.c: Likewise.
565         * io/mkdirat.c: Likewise.
566         * io/mkfifo.c: Likewise.
567         * io/mkfifoat.c: Likewise.
568         * io/open.c: Likewise.
569         * io/open64.c: Likewise.
570         * io/openat.c: Likewise.
571         * io/openat64.c: Likewise.
572         * io/pipe.c: Likewise.
573         * io/pipe2.c: Likewise.
574         * io/poll.c: Likewise.
575         * io/posix_fadvise.c: Likewise.
576         * io/posix_fadvise64.c: Likewise.
577         * io/posix_fallocate.c: Likewise.
578         * io/posix_fallocate64.c: Likewise.
579         * io/read.c: Likewise.
580         * io/readlink.c: Likewise.
581         * io/readlinkat.c: Likewise.
582         * io/rmdir.c: Likewise.
583         * io/sendfile.c: Likewise.
584         * io/sendfile64.c: Likewise.
585         * io/statfs.c: Likewise.
586         * io/statfs64.c: Likewise.
587         * io/statvfs.c: Likewise.
588         * io/statvfs64.c: Likewise.
589         * io/symlink.c: Likewise.
590         * io/symlinkat.c: Likewise.
591         * io/ttyname.c: Likewise.
592         * io/ttyname_r.c: Likewise.
593         * io/umask.c: Likewise.
594         * io/unlink.c: Likewise.
595         * io/unlinkat.c: Likewise.
596         * io/utime.c: Likewise.
597         * io/utimensat.c: Likewise.
598         * io/write.c: Likewise.
599         * io/xmknod.c: Likewise.
600         * io/xmknodat.c: Likewise.
601         * io/xstat.c: Likewise.
602         * io/xstat64.c: Likewise.
603         * login/getpt.c: Likewise.
604         * login/grantpt.c: Likewise.
605         * login/unlockpt.c: Likewise.
606         * math/e_acoshl.c: Likewise.
607         * math/e_acosl.c: Likewise.
608         * math/e_asinl.c: Likewise.
609         * math/e_atan2l.c: Likewise.
610         * math/e_atanhl.c: Likewise.
611         * math/e_coshl.c: Likewise.
612         * math/e_expl.c: Likewise.
613         * math/e_fmodl.c: Likewise.
614         * math/e_gammal_r.c: Likewise.
615         * math/e_hypotl.c: Likewise.
616         * math/e_j0l.c: Likewise.
617         * math/e_j1l.c: Likewise.
618         * math/e_jnl.c: Likewise.
619         * math/e_lgammal_r.c: Likewise.
620         * math/e_log10l.c: Likewise.
621         * math/e_log2l.c: Likewise.
622         * math/e_logl.c: Likewise.
623         * math/e_powl.c: Likewise.
624         * math/e_rem_pio2l.c: Likewise.
625         * math/e_sinhl.c: Likewise.
626         * math/e_sqrtl.c: Likewise.
627         * math/fclrexcpt.c: Likewise.
628         * math/fedisblxcpt.c: Likewise.
629         * math/feenablxcpt.c: Likewise.
630         * math/fegetenv.c: Likewise.
631         * math/fegetexcept.c: Likewise.
632         * math/fegetround.c: Likewise.
633         * math/feholdexcpt.c: Likewise.
634         * math/fesetenv.c: Likewise.
635         * math/fesetround.c: Likewise.
636         * math/feupdateenv.c: Likewise.
637         * math/fgetexcptflg.c: Likewise.
638         * math/fraiseexcpt.c: Likewise.
639         * math/fsetexcptflg.c: Likewise.
640         * math/ftestexcept.c: Likewise.
641         * math/k_cosl.c: Likewise.
642         * math/k_rem_pio2l.c: Likewise.
643         * math/k_sinl.c: Likewise.
644         * math/k_tanl.c: Likewise.
645         * math/s_asinhl.c: Likewise.
646         * math/s_atanl.c: Likewise.
647         * math/s_cbrtl.c: Likewise.
648         * math/s_erfl.c: Likewise.
649         * math/s_expm1l.c: Likewise.
650         * math/s_log1pl.c: Likewise.
651         * math/s_tanhl.c: Likewise.
652         * misc/acct.c: Likewise.
653         * misc/brk.c: Likewise.
654         * misc/chflags.c: Likewise.
655         * misc/chroot.c: Likewise.
656         * misc/fchflags.c: Likewise.
657         * misc/fgetxattr.c: Likewise.
658         * misc/flistxattr.c: Likewise.
659         * misc/fremovexattr.c: Likewise.
660         * misc/fsetxattr.c: Likewise.
661         * misc/fsync.c: Likewise.
662         * misc/ftruncate.c: Likewise.
663         * misc/futimes.c: Likewise.
664         * misc/futimesat.c: Likewise.
665         * misc/getdomain.c: Likewise.
666         * misc/getdtsz.c: Likewise.
667         * misc/gethostid.c: Likewise.
668         * misc/gethostname.c: Likewise.
669         * misc/getloadavg.c: Likewise.
670         * misc/getpagesize.c: Likewise.
671         * misc/getsysstats.c: Likewise.
672         * misc/getxattr.c: Likewise.
673         * misc/gtty.c: Likewise.
674         * misc/ioctl.c: Likewise.
675         * misc/lgetxattr.c: Likewise.
676         * misc/listxattr.c: Likewise.
677         * misc/llistxattr.c: Likewise.
678         * misc/lremovexattr.c: Likewise.
679         * misc/lsetxattr.c: Likewise.
680         * misc/lutimes.c: Likewise.
681         * misc/madvise.c: Likewise.
682         * misc/mincore.c: Likewise.
683         * misc/mlock.c: Likewise.
684         * misc/mlockall.c: Likewise.
685         * misc/mmap.c: Likewise.
686         * misc/mprotect.c: Likewise.
687         * misc/msync.c: Likewise.
688         * misc/munlock.c: Likewise.
689         * misc/munlockall.c: Likewise.
690         * misc/munmap.c: Likewise.
691         * misc/preadv.c: Likewise.
692         * misc/preadv64.c: Likewise.
693         * misc/ptrace.c: Likewise.
694         * misc/pwritev.c: Likewise.
695         * misc/pwritev64.c: Likewise.
696         * misc/readv.c: Likewise.
697         * misc/reboot.c: Likewise.
698         * misc/remap_file_pages.c: Likewise.
699         * misc/removexattr.c: Likewise.
700         * misc/revoke.c: Likewise.
701         * misc/select.c: Likewise.
702         * misc/setdomain.c: Likewise.
703         * misc/setegid.c: Likewise.
704         * misc/seteuid.c: Likewise.
705         * misc/sethostid.c: Likewise.
706         * misc/sethostname.c: Likewise.
707         * misc/setregid.c: Likewise.
708         * misc/setreuid.c: Likewise.
709         * misc/setxattr.c: Likewise.
710         * misc/sstk.c: Likewise.
711         * misc/stty.c: Likewise.
712         * misc/swapoff.c: Likewise.
713         * misc/swapon.c: Likewise.
714         * misc/sync.c: Likewise.
715         * misc/syncfs.c: Likewise.
716         * misc/syscall.c: Likewise.
717         * misc/truncate.c: Likewise.
718         * misc/ualarm.c: Likewise.
719         * misc/usleep.c: Likewise.
720         * misc/ustat.c: Likewise.
721         * misc/utimes.c: Likewise.
722         * misc/vhangup.c: Likewise.
723         * misc/writev.c: Likewise.
724         * posix/_exit.c: Likewise.
725         * posix/alarm.c: Likewise.
726         * posix/execve.c: Likewise.
727         * posix/fexecve.c: Likewise.
728         * posix/fork.c: Likewise.
729         * posix/fpathconf.c: Likewise.
730         * posix/getaddrinfo.c: Likewise.
731         * posix/getegid.c: Likewise.
732         * posix/geteuid.c: Likewise.
733         * posix/getgid.c: Likewise.
734         * posix/getgroups.c: Likewise.
735         * posix/getlogin.c: Likewise.
736         * posix/getlogin_r.c: Likewise.
737         * posix/getpgid.c: Likewise.
738         * posix/getpid.c: Likewise.
739         * posix/getppid.c: Likewise.
740         * posix/getresgid.c: Likewise.
741         * posix/getresuid.c: Likewise.
742         * posix/getsid.c: Likewise.
743         * posix/getuid.c: Likewise.
744         * posix/glob64.c: Likewise.
745         * posix/nanosleep.c: Likewise.
746         * posix/pathconf.c: Likewise.
747         * posix/pause.c: Likewise.
748         * posix/posix_madvise.c: Likewise.
749         * posix/pread.c: Likewise.
750         * posix/pread64.c: Likewise.
751         * posix/pwrite.c: Likewise.
752         * posix/pwrite64.c: Likewise.
753         * posix/sched_getaffinity.c: Likewise.
754         * posix/sched_getp.c: Likewise.
755         * posix/sched_gets.c: Likewise.
756         * posix/sched_primax.c: Likewise.
757         * posix/sched_primin.c: Likewise.
758         * posix/sched_rr_gi.c: Likewise.
759         * posix/sched_setaffinity.c: Likewise.
760         * posix/sched_setp.c: Likewise.
761         * posix/sched_sets.c: Likewise.
762         * posix/sched_yield.c: Likewise.
763         * posix/setgid.c: Likewise.
764         * posix/setlogin.c: Likewise.
765         * posix/setpgid.c: Likewise.
766         * posix/setresgid.c: Likewise.
767         * posix/setresuid.c: Likewise.
768         * posix/setsid.c: Likewise.
769         * posix/setuid.c: Likewise.
770         * posix/sleep.c: Likewise.
771         * posix/spawni.c: Likewise.
772         * posix/sysconf.c: Likewise.
773         * posix/times.c: Likewise.
774         * posix/wait.c: Likewise.
775         * posix/wait3.c: Likewise.
776         * posix/wait4.c: Likewise.
777         * posix/waitpid.c: Likewise.
778         * resolv/gai_sigqueue.c: Likewise.
779         * resource/getpriority.c: Likewise.
780         * resource/getrlimit.c: Likewise.
781         * resource/getrusage.c: Likewise.
782         * resource/nice.c: Likewise.
783         * resource/setpriority.c: Likewise.
784         * resource/setrlimit.c: Likewise.
785         * resource/ulimit.c: Likewise.
786         * rt/aio_cancel.c: Likewise.
787         * rt/aio_fsync.c: Likewise.
788         * rt/aio_read.c: Likewise.
789         * rt/aio_sigqueue.c: Likewise.
790         * rt/aio_suspend.c: Likewise.
791         * rt/aio_write.c: Likewise.
792         * rt/clock_getres.c: Likewise.
793         * rt/clock_gettime.c: Likewise.
794         * rt/clock_nanosleep.c: Likewise.
795         * rt/clock_settime.c: Likewise.
796         * rt/lio_listio.c: Likewise.
797         * rt/mq_close.c: Likewise.
798         * rt/mq_getattr.c: Likewise.
799         * rt/mq_notify.c: Likewise.
800         * rt/mq_open.c: Likewise.
801         * rt/mq_receive.c: Likewise.
802         * rt/mq_send.c: Likewise.
803         * rt/mq_setattr.c: Likewise.
804         * rt/mq_timedreceive.c: Likewise.
805         * rt/mq_timedsend.c: Likewise.
806         * rt/mq_unlink.c: Likewise.
807         * rt/shm_open.c: Likewise.
808         * rt/shm_unlink.c: Likewise.
809         * rt/timer_create.c: Likewise.
810         * rt/timer_delete.c: Likewise.
811         * rt/timer_getoverr.c: Likewise.
812         * rt/timer_gettime.c: Likewise.
813         * rt/timer_settime.c: Likewise.
814         * setjmp/__longjmp.c: Likewise.
815         * setjmp/setjmp.c: Likewise.
816         * signal/kill.c: Likewise.
817         * signal/killpg.c: Likewise.
818         * signal/raise.c: Likewise.
819         * signal/sigaction.c: Likewise.
820         * signal/sigaltstack.c: Likewise.
821         * signal/sigblock.c: Likewise.
822         * signal/sigignore.c: Likewise.
823         * signal/sigintr.c: Likewise.
824         * signal/signal.c: Likewise.
825         * signal/sigpause.c: Likewise.
826         * signal/sigpending.c: Likewise.
827         * signal/sigqueue.c: Likewise.
828         * signal/sigreturn.c: Likewise.
829         * signal/sigset.c: Likewise.
830         * signal/sigsetmask.c: Likewise.
831         * signal/sigstack.c: Likewise.
832         * signal/sigsuspend.c: Likewise.
833         * signal/sigtimedwait.c: Likewise.
834         * signal/sigvec.c: Likewise.
835         * signal/sigwait.c: Likewise.
836         * signal/sigwaitinfo.c: Likewise.
837         * signal/sysv_signal.c: Likewise.
838         * socket/accept.c: Likewise.
839         * socket/accept4.c: Likewise.
840         * socket/bind.c: Likewise.
841         * socket/connect.c: Likewise.
842         * socket/getpeername.c: Likewise.
843         * socket/getsockname.c: Likewise.
844         * socket/getsockopt.c: Likewise.
845         * socket/isfdtype.c: Likewise.
846         * socket/listen.c: Likewise.
847         * socket/recv.c: Likewise.
848         * socket/recvfrom.c: Likewise.
849         * socket/recvmsg.c: Likewise.
850         * socket/send.c: Likewise.
851         * socket/sendmsg.c: Likewise.
852         * socket/sendto.c: Likewise.
853         * socket/setsockopt.c: Likewise.
854         * socket/shutdown.c: Likewise.
855         * socket/sockatmark.c: Likewise.
856         * socket/socket.c: Likewise.
857         * socket/socketpair.c: Likewise.
858         * stdio-common/ctermid.c: Likewise.
859         * stdio-common/cuserid.c: Likewise.
860         * stdio-common/remove.c: Likewise.
861         * stdio-common/rename.c: Likewise.
862         * stdio-common/renameat.c: Likewise.
863         * stdio-common/tempname.c: Likewise.
864         * stdlib/getcontext.c: Likewise.
865         * stdlib/makecontext.c: Likewise.
866         * stdlib/setcontext.c: Likewise.
867         * stdlib/swapcontext.c: Likewise.
868         * stdlib/system.c: Likewise.
869         * streams/fattach.c: Likewise.
870         * streams/fdetach.c: Likewise.
871         * streams/getmsg.c: Likewise.
872         * streams/getpmsg.c: Likewise.
873         * streams/putmsg.c: Likewise.
874         * streams/putpmsg.c: Likewise.
875         * sysdeps/unix/bsd/getpt.c: Likewise.
876         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
877         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
878         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
880         Likewise.
881         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
882         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
883         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
884         * sysvipc/msgctl.c: Likewise.
885         * sysvipc/msgget.c: Likewise.
886         * sysvipc/msgrcv.c: Likewise.
887         * sysvipc/msgsnd.c: Likewise.
888         * sysvipc/semctl.c: Likewise.
889         * sysvipc/semget.c: Likewise.
890         * sysvipc/semop.c: Likewise.
891         * sysvipc/semtimedop.c: Likewise.
892         * sysvipc/shmat.c: Likewise.
893         * sysvipc/shmctl.c: Likewise.
894         * sysvipc/shmdt.c: Likewise.
895         * sysvipc/shmget.c: Likewise.
896         * termios/tcdrain.c: Likewise.
897         * termios/tcflow.c: Likewise.
898         * termios/tcflush.c: Likewise.
899         * termios/tcgetattr.c: Likewise.
900         * termios/tcgetpgrp.c: Likewise.
901         * termios/tcsendbrk.c: Likewise.
902         * termios/tcsetattr.c: Likewise.
903         * termios/tcsetpgrp.c: Likewise.
904         * time/adjtime.c: Likewise.
905         * time/clock.c: Likewise.
906         * time/getitimer.c: Likewise.
907         * time/gettimeofday.c: Likewise.
908         * time/setitimer.c: Likewise.
909         * time/settimeofday.c: Likewise.
910         * time/stime.c: Likewise.
911         * time/time.c: Likewise.
912
913 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
914
915         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
916         /usr/old/bin.
917
918         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
919         instead of spaces.
920         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
921
922 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
923
924         [BZ #14796]
925         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
926         FE_TONEAREST before applying Dekker multiplication and Knuth
927         addition.  Clear inexact exceptions and check for exact zero
928         results afterwards.
929         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
930         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
931         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
932         * math/libm-test.inc (fma_test): Add more tests.
933         (fma_test_towardzero): Likewise.
934         (fma_test_downward): Likewise.
935         (fma_test_upward): Likewise.
936         * sysdeps/generic/math_private.h (default_libc_fesetround): New
937         function.
938         (libc_fesetround): New macro.
939         (libc_fesetroundf): Likewise.
940         (libc_fesetroundl): Likewise.
941         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
942         function.
943         (libc_fesetround_387): Likewise.
944         (libc_fesetroundf): New macro.
945         (libc_fesetround): Likewise.
946         (libc_fesetroundl): Likewise.
947         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
948         function.
949         (libc_fesetroundf): New macro.
950         (libc_fesetround): Likewise.
951         (libc_fesetroundl): Likewise.
952         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
953         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
954         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
955         libm_hidden_ver.
956         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
957         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
958         libm_hidden_def.
959         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
960         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
961         libm_hidden_ver.
962         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
963         libm_hidden_def.
964
965         [BZ #3439]
966         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
967         integer constant usable in #if and use that to give value to enum
968         constant.
969         (FE_DIVBYZERO): Likewise.
970         (FE_UNDERFLOW): Likewise.
971         (FE_OVERFLOW): Likewise.
972         (FE_INVALID): Likewise.
973         (FE_INVALID_SNAN): Likewise.
974         (FE_INVALID_ISI): Likewise.
975         (FE_INVALID_IDI): Likewise.
976         (FE_INVALID_ZDZ): Likewise.
977         (FE_INVALID_IMZ): Likewise.
978         (FE_INVALID_COMPARE): Likewise.
979         (FE_INVALID_SOFTWARE): Likewise.
980         (FE_INVALID_SQRT): Likewise.
981         (FE_INVALID_INTEGER_CONVERSION): Likewise.
982         (FE_TONEAREST): Likewise.
983         (FE_TOWARDZERO): Likewise.
984         (FE_UPWARD): Likewise.
985         (FE_DOWNWARD): Likewise.
986         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
987         (FE_DIVBYZERO): Likewise.
988         (FE_OVERFLOW): Likewise.
989         (FE_UNDERFLOW): Likewise.
990         (FE_INEXACT): Likewise.
991         (FE_TONEAREST): Likewise.
992         (FE_DOWNWARD): Likewise.
993         (FE_UPWARD): Likewise.
994         (FE_TOWARDZERO): Likewise.
995         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
996         (FE_UNDERFLOW): Likewise.
997         (FE_OVERFLOW): Likewise.
998         (FE_DIVBYZERO): Likewise.
999         (FE_INVALID): Likewise.
1000         (FE_TONEAREST): Likewise.
1001         (FE_TOWARDZERO): Likewise.
1002         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
1003         (FE_OVERFLOW): Likewise.
1004         (FE_UNDERFLOW): Likewise.
1005         (FE_DIVBYZERO): Likewise.
1006         (FE_INEXACT): Likewise.
1007         (FE_TONEAREST): Likewise.
1008         (FE_TOWARDZERO): Likewise.
1009         (FE_UPWARD): Likewise.
1010         (FE_DOWNWARD): Likewise.
1011         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
1012         (FE_DIVBYZERO): Likewise.
1013         (FE_OVERFLOW): Likewise.
1014         (FE_UNDERFLOW): Likewise.
1015         (FE_INEXACT): Likewise.
1016         (FE_TONEAREST): Likewise.
1017         (FE_DOWNWARD): Likewise.
1018         (FE_UPWARD): Likewise.
1019         (FE_TOWARDZERO): Likewise.
1020
1021 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
1022
1023         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
1024
1025 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
1026
1027         * scripts/cross-test-ssh.sh (command): Use newlines to separate
1028         commands.  Quote $PWD.
1029         (blacklist_exports): Don't use remove_newlines.  Replace "declare
1030         -x" by "export".
1031         (remove_newlines): Remove.
1032
1033 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
1034
1035         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
1036         * stdlib/stdlib.h (atof): Moved to ...
1037         * include/bits/stdlib-float.h: Here.  New file.
1038         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
1039         * stdlib/bits/stdlib-float.h: New file.
1040         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
1041         -mno-sse -mno-mmx.
1042         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
1043         <xmmintrin.h>.
1044
1045 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
1046
1047         * conform/conformtest.pl (@headers): Add fenv.h.
1048         * conform/data/fenv.h-data: New file.
1049         * include/fenv.h [_ISOMAC]: Disable all contents of file except
1050         include of <math/fenv.h>.
1051
1052         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
1053         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
1054         && !UNIX98].  Enables tests for XOPEN2K8.
1055         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
1056         POSIX2008]: Likewise.
1057
1058         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
1059         (struct rusage): Do not expect type or its members.
1060
1061         [BZ #3439]
1062         * math/math.h (FP_NAN): Define macro to integer constant usable in
1063         #if and use that to give value to enum constant.
1064         (FP_INFINITE): Likewise.
1065         (FP_ZERO): Likewise.
1066         (FP_SUBNORMAL): Likewise.
1067         (FP_NORMAL): Likewise.
1068
1069 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
1070
1071         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
1072         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
1073         arguments.
1074
1075 2012-11-02  Roland McGrath  <roland@hack.frob.com>
1076
1077         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
1078         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
1079         autoconf-time if not.
1080         * configure.in: Remove AC_PREREQ.
1081
1082 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1083
1084         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
1085         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
1086         of the internal implementation.
1087
1088 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
1089
1090         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
1091         except include of <misc/sys/syslog.h>.
1092
1093 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
1094
1095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
1096         function returns with a NULL context exit with zero.
1097
1098 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1099
1100         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
1101
1102 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
1103
1104         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
1105         (run_program_cmd): This.
1106         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
1107         (tst_langinfo): New variable.  Use it.
1108
1109 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
1110
1111         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
1112         floating point opcodes.
1113
1114 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
1115
1116         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
1117         variable.
1118
1119         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
1120
1121         * sysdeps/mach/hurd/powerpc: Remove directory.
1122         * sysdeps/mach/powerpc: Likewise.
1123
1124 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
1125
1126         * scripts/check-local-headers.sh: Ignore c++ headers.
1127
1128 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
1129
1130         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
1131         __libc_cleanup_region_start argument.
1132
1133 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
1134
1135         [BZ #14784]
1136         [BZ #14785]
1137         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
1138         x * y using scaling, not as x * y + z.
1139         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1140         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1141         * math/libm-test.inc (fma_test): Add more tests.
1142         (fma_test_towardzero): Likewise.
1143         (fma_test_downward): Likewise.
1144         (fma_test_upward): Likewise.
1145
1146 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
1147
1148         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
1149
1150 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
1151
1152         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
1153         New variable.
1154
1155 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
1156
1157         * rt/tst-shm.c (worker): Correct checking for mmap failure.
1158
1159 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
1160
1161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1162         Fix sort order.
1163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1164         Likewise.
1165
1166 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1167
1168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1169         Fix the order of the list for glibc 2.17.
1170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1171         Likewise.
1172
1173 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
1174
1175         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1176
1177 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
1178
1179         [BZ #14610]
1180         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
1181         for low part of x being zero before using __atanl (y).
1182         * math/libm-test.inc (atan2_test): Add another test.
1183
1184         * manual/install.texi (Configuring and compiling): Document
1185         general use of test-wrapper and test-wrapper-env.
1186         * INSTALL: Regenerated.
1187
1188         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
1189         (__fma): Do not extract and scale down low bits on after-rounding
1190         systems when result rounded to normal precision would have normal
1191         exponent.
1192         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
1193         (__fmal): Do not extract and scale down low bits on after-rounding
1194         systems when result rounded to normal precision would have normal
1195         exponent.
1196         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
1197         (__fmal): Do not extract and scale down low bits on after-rounding
1198         systems when result rounded to normal precision would have normal
1199         exponent.
1200         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
1201         macro.
1202         (fma_test): Add more tests.
1203         (fma_test_towardzero): Likewise.
1204         (fma_test_downward): Likewise.
1205         (fma_test_upward): Likewise.
1206
1207 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
1208
1209         * sysdeps/i386/tininess.h: Renamed to ...
1210         * sysdeps/x86/tininess.h: This.
1211         * sysdeps/x86_64/tininess.h: Removed.
1212
1213 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
1214
1215         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
1216         input.  Use $(build-program-cmd).
1217         ($(objpfx)tst-array1-static.out): Likewise.
1218         ($(objpfx)tst-array2.out): Likewise.
1219         ($(objpfx)tst-array3.out): Likewise.
1220         ($(objpfx)tst-array4.out): Likewise.
1221         ($(objpfx)tst-array5.out): Likewise.
1222         ($(objpfx)tst-array5-static.out): Likewise.
1223
1224 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
1225
1226         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
1227         if defined.
1228
1229         * nss/nsswitch.h (nss_interface_function): Provide new
1230         macro for use with NSS functions.
1231         * grp/initgroups.c: Use new macro.
1232         * nss/getXXbyYY.c: Likewise.
1233         * nss/getXXbyYY_r.c: Likewise.
1234         * nss/getXXent.c: Likewise.
1235         * nss/getXXent_r.c: Likewise.
1236         * sysdeps/posix/getaddrinfo.c: Likewise.
1237
1238 2012-10-30  Andreas Jaeger  <aj@suse.de>
1239
1240         * po/ru.po: Update Russion translation from translation project.
1241
1242 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
1243
1244         [BZ #14152]
1245         [BZ #14783]
1246         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
1247         result and shift together with sticky bit instead of replicating
1248         round-to-nearest rounding.
1249         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1250         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1251         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
1252         missing underflow exceptions.
1253         (fma_test_towardzero): Add more tests.
1254         (fma_test_downward): Likewise.
1255         (fma_test_upward): Likewise.
1256
1257         [BZ #14047]
1258         * sysdeps/generic/tininess.h: New file.
1259         * sysdeps/i386/tininess.h: Likewise.
1260         * sysdeps/sh/tininess.h: Likewise.
1261         * sysdeps/x86_64/tininess.h: Likewise.
1262         * stdlib/tst-strtod-underflow.c: Likewise.
1263         * stdlib/tst-tininess.c: Likewise.
1264         * stdlib/strtod_l.c: Include <tininess.h>.
1265         (round_and_return): Do not set errno for exact underflow cases.
1266         Force an underflow exception when setting errno for underflow.
1267         Determine underflow based on rounding to normal precision if
1268         TININESS_AFTER_ROUNDING.
1269         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
1270         ERANGE for exact underflow cases.
1271         * stdlib/Makefile (tests): Add tst-tininess and
1272         tst-strtod-underflow.
1273         ($(objpfx)tst-tininess): Use $(link-libm).
1274         ($(objpfx)tst-strtod-underflow): Likewise.
1275
1276 2012-10-30  Andreas Jaeger  <aj@suse.de>
1277
1278         [BZ#14767]
1279         * elf/Makefile (tests): Remove conditional for have-initfini-array
1280         since this is now always required and the variable does not exist
1281         anymore.
1282         (tests-static): Likewise.
1283         (modules-names): Likewise.
1284
1285         * po/eo.po: Add Esperanto translation from translation project.
1286
1287         * elf/tst-array1.c (fini_array): Make writeable so that it can be
1288         merged with constructor/destructor.
1289         (init_array): Likewise.
1290         * elf/tst-array2dep.c (fini_array): Likewise.
1291         (init_array): Likewise.
1292
1293 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
1294
1295         * manual/message.texi: Delete @cartouche tags.
1296
1297 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
1298
1299         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
1300         EOPNOTSUPP.
1301         * sysdeps/mach/hurd/fsync.c: Likewise.
1302
1303         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
1304         [_POSIX_REALTIME_SIGNALS]: Change condition to
1305         [_POSIX_REALTIME_SIGNALS > 0].
1306
1307 2012-10-27  Andreas Jaeger  <aj@suse.de>
1308
1309         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
1310         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
1311         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
1312         [__WORDSIZE != 64]: Likewise.
1313
1314 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
1315
1316         *  iconvdata/tst-table.sh: Remove ${SHELL}.
1317         *  iconvdata/tst-tables.sh: Likewise.
1318
1319 2012-10-25  David S. Miller  <davem@davemloft.net>
1320
1321         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1322         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
1323         of strtoull.
1324
1325         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
1326         ifunc-impl-list.c
1327         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1328         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
1329         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
1330         file.
1331
1332 2012-10-25  Roland McGrath  <roland@hack.frob.com>
1333
1334         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1335         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
1336         __getdirentries.
1337
1338 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
1339             Jim Blandy  <jimb@codesourcery.com>
1340
1341         * scripts/cross-test-ssh.sh: New file.
1342         * manual/install.texi (Configuring and compiling): Document use of
1343         cross-test-ssh.sh.
1344         * INSTALL: Regenerated.
1345
1346 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
1347
1348         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
1349         EOPNOTSUPP.
1350
1351 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
1352
1353         * Makeconfig (run-program-prefix): Fix comment.
1354
1355 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
1356             Jim Blandy  <jimb@codesourcery.com>
1357
1358         * Makeconfig (test-wrapper): New variable,
1359         (test-wrapper-env): Likewise.
1360         [$(cross-compiling) = yes && $(test-wrapper) != ""]
1361         (run-built-tests): Define to yes.
1362         (run-program-prefix): Use $(test-wrapper).
1363         (built-program-cmd): Likewise.
1364         * Rules (make-test-out): Use $(test-wrapper-env) and
1365         $(host-built-program-cmd).
1366         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
1367         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
1368         tst-pathopt.sh.
1369         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
1370         $(test-wrapper-env) to tst-rtld-load-self.sh.
1371         ($(objpfx)order2.out): Use $(test-wrapper).
1372         ($(objpfx)tst-initorder.out): Likewise.
1373         ($(objpfx)tst-initorder2.out): Likewise.
1374         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
1375         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
1376         (test_wrapper_env): New variable.  Use it to run ld.so.
1377         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
1378         Use it to run ld.so.
1379         (test_wrapper_env): Likewise.
1380         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
1381         $(test-wrapper) to run-iconv-test.sh.
1382         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
1383         (ICONV): Use $test_wrapper.
1384         * posix/Makefile ($(objpfx)globtest.out): Pass
1385         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
1386         globtest.sh, not $(run-program-prefix).
1387         * posix/globtest.sh (run_via_rtld_prefix): New variable.
1388         (test_wrapper): Likewise.
1389         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
1390         set together with run_via_rtld_prefix.
1391         (run_program_prefix): Define in terms of test_wrapper and
1392         run_via_rtld_prefix.
1393
1394 2012-10-24  Roland McGrath  <roland@hack.frob.com>
1395
1396         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
1397         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
1398         Targets removed.
1399
1400         [BZ #14743]
1401         * include/time.h: Remove librt_hidden_proto (clock_gettime).
1402         Declare __clock_getres, __clock_gettime, __clock_settime,
1403         __clock_nanosleep, and __clock_getcpuclockid.
1404         * rt/clock_gettime.c: Define __clock_gettime as an alias.
1405         Remove librt_hidden_def (clock_gettime).
1406         * sysdeps/unix/clock_gettime.c: Likewise.
1407         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
1408         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1409         * rt/clock_getres.c: Define __clock_getres as an alias.
1410         * sysdeps/posix/clock_getres.c: Likewise.
1411         * rt/clock_settime.c: Define __clock_settime as an alias.
1412         * sysdeps/unix/clock_settime.c: Likewise.
1413         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
1414         * sysdeps/unix/clock_nanosleep.c: Likewise.
1415         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1416         * rt/clock-compat.c: New file.
1417         * rt/Makefile (librt-routines): Add clock-compat and move
1418         $(clock-routines) to ...
1419         (routines): ... here, new variable.
1420         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
1421         Don't add get_clockfreq here.
1422         * rt/Versions (libc: GLIBC_2.17): New version set.
1423         Add clock_* symbols here.
1424         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
1425         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
1426         (GLIBC_2.17): Add clock_* symbols.
1427         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1428         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1429         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1431         Likewise.
1432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1433         Likewise.
1434         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1435         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
1436         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1437         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1438         * NEWS: Mention the move.
1439
1440         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1441         Use __open, __read, __close rather than their public counterparts.
1442         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1443         (__get_clockfreq_via_cpuinfo): Likewise.
1444         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
1445         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
1446
1447         * config.h.in (HAVE_IFUNC): New #undef.
1448         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
1449         was successful.
1450         * configure: Regenerated.
1451
1452 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
1453
1454         * configure.in: Move READELF check to start of file.
1455         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
1456         libc_cv_asm_gnu_indirect_function in the process.
1457         * configure: Regenerated.
1458
1459 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
1460
1461         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
1462         send the output to /dev/null.
1463         (libc_cv_cc_with_libunwind): Likewise.
1464         (libc_cv_as_noexecstack): Likewise.
1465         * configure: Regenerate.
1466
1467 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
1468
1469         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
1470
1471         * posix/globtest.sh (TMPDIR): Do not set.
1472         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
1473         (testout): Likewise.
1474
1475 2012-10-24  Andreas Jaeger  <aj@suse.de>
1476
1477         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
1478         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
1479         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
1480         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
1481         posix_fadvise64, posix_fallocate64.
1482
1483         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
1484         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
1485         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
1486         Likewise.
1487         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
1488         Likewise.
1489         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
1490
1491         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
1492         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
1493         <bits/fcntl-linux.h>.
1494         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
1495
1496         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
1497         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
1498         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
1499         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
1500         [__WORDSIZE != 64]: Likewise.
1501
1502 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
1503
1504         * Makeconfig (run-built-tests): New variable.
1505         * Rules [$(cross-compiling) = yes]: Change condition to
1506         [$(run-built-tests) = no].
1507         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
1508         to [$(run-built-tests) = yes].
1509         * elf/Makefile [$(cross-compiling) = no]: Likewise
1510         * grp/Makefile [$(cross-compiling) = no]: Likewise.
1511         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
1512         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
1513         * intl/Makefile [$(cross-compiling) = no]: Likewise.
1514         * io/Makefile [$(cross-compiling) = no]: Likewise.
1515         * libio/Makefile [$(cross-compiling) = no]: Likewise.
1516         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
1517         * misc/Makefile [$(cross-compiling) = no]: Likewise.
1518         * posix/Makefile [$(cross-compiling) = no]: Likewise.
1519         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
1520         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
1521         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
1522         * string/Makefile [$(cross-compiling) = no]: Likewise.
1523
1524         * posix/Makefile ($(objpfx)globtest.out): Pass
1525         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
1526         $(rtld-installed-name).
1527         * posix/globtest.sh (elf_objpfx): Remove variable.
1528         (rtld_installed_name): Likewise.
1529         (library_path): Likewise.
1530         (run_program_prefix): New variable.  Use for running globtest
1531         binary.
1532
1533 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
1534             Joseph Myers  <joseph@codesourcery.com>
1535
1536         * Makeconfig (host-built-program-cmd): New variable.
1537         * elf/Makefile (tst-stackguard1-ARGS): Use
1538         $(host-built-program-cmd).
1539         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
1540         (tst-spawn-ARGS): Likewise.
1541         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
1542
1543 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
1544             Jim Blandy  <jimb@codesourcery.com>
1545
1546         * Makeconfig (run-via-rtld-prefix): New variable.
1547         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
1548         (built-program-cmd): Likewise.
1549
1550 2012-10-22  Andreas Jaeger  <aj@suse.de>
1551
1552         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
1553         __O_RSYNC if it exists, otherwise to O_SYNC.
1554
1555 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
1556             Joseph Myers  <joseph@codesourcery.com>
1557
1558         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
1559         /dev/null.
1560         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
1561         from /dev/null
1562         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
1563         /dev/null.
1564
1565 2012-10-22  Andreas Jaeger  <aj@suse.de>
1566
1567         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
1568         Define always.
1569         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
1570
1571         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1572         bits/fcntl-linux.h.
1573
1574         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
1575         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
1576
1577         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
1578         to __O_LARGEFILE.
1579         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
1580         to __O_LARGEFILE.
1581
1582 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
1583             Joseph Myers  <joseph@codesourcery.com>
1584
1585         * config.make.in (NM): New variable.
1586
1587 2012-10-21  Andreas Jaeger  <aj@suse.de>
1588
1589         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
1590         definitions and declarations that are provided by
1591         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1592
1593 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
1594
1595         [BZ #14683]
1596         * elf/Makefile (tests-static): Add tst-leaks1-static.
1597         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
1598         ($(objpfx)tst-leaks1-static): New rule.
1599         ($(objpfx)tst-leaks1-static-mem): Likewise.
1600         (tst-leaks1-static-ENV): New macro.
1601         * elf/dl-open.c (dl_open_worker): Check the main application
1602         only if SHARED is defined.
1603         * elf/tst-leaks1-static.c: New file.
1604
1605 2012-10-20  Andreas Jaeger  <aj@suse.de>
1606
1607         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
1608         generic values for Linux.
1609         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
1610         and declarations that are provided by <bits/fcntl-linux.h> and
1611         include <bits/fcntl-linux.h>.
1612         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1613         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
1614
1615 2012-10-20  Roland McGrath  <roland@hack.frob.com>
1616
1617         * io/fcntl.h: Move include of <bits/types.h> to the top and
1618         include it unconditionally.
1619
1620 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
1621
1622         * wcsmbs/Makefile (tests-ifunc): New variable.
1623         (tests): Add $(tests-ifunc).
1624         * wcsmbs/test-wcschr-ifunc.c: New file.
1625         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
1626         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
1627         * wcsmbs/test-wcslen-ifunc.c: Likewise.
1628         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
1629         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
1630
1631         * string/Makefile (tests-ifunc): New variable.
1632         (tests): Add $(tests-ifunc).
1633         * string/test-memccpy.c (TEST_NAME): New macro.
1634         * string/test-memchr.c (TEST_NAME): Likewise.
1635         * string/test-memcmp.c (TEST_NAME): Likewise.
1636         * string/test-memcpy.c (TEST_NAME): Likewise.
1637         * string/test-memmem.c (TEST_NAME): Likewise.
1638         * string/test-memmove.c (TEST_NAME): Likewise.
1639         * string/test-memset.c (TEST_NAME): Likewise.
1640         * string/test-rawmemchr.c (TEST_NAME): Likewise.
1641         * string/test-stpcpy.c (TEST_NAME): Likewise.
1642         * string/test-stpncpy.c (TEST_NAME): Likewise.
1643         * string/test-strcasecmp.c (TEST_NAME): Likewise.
1644         * string/test-strcasestr.c (TEST_NAME): Likewise.
1645         * string/test-strcat.c (TEST_NAME): Likewise.
1646         * string/test-strchr.c (TEST_NAME): Likewise.
1647         * string/test-strcmp.c(TEST_NAME): Likewise.
1648         * string/test-strcpy.c (TEST_NAME): Likewise.
1649         * string/test-strcspn.c (TEST_NAME): Likewise.
1650         * string/test-strlen.c (TEST_NAME): Likewise.
1651         * string/test-strncasecmp.c (TEST_NAME): Likewise.
1652         * string/test-strncmp.c (TEST_NAME): Likewise.
1653         * string/test-strncpy.c (TEST_NAME): Likewise.
1654         * string/test-strnlen.c (TEST_NAME): Likewise.
1655         * string/test-strpbrk.c (TEST_NAME): Likewise.
1656         * string/test-strrchr.c (TEST_NAME): Likewise.
1657         * string/test-strspn.c (TEST_NAME): Likewise.
1658         * string/test-strstr.c (TEST_NAME): Likewise.
1659         * string/test-bcopy-ifunc.c: New file.
1660         * string/test-bzero-ifunc.c: Likewise.
1661         * string/test-memccpy-ifunc.c: Likewise.
1662         * string/test-memchr-ifunc.c: Likewise.
1663         * string/test-memcmp-ifunc.c: Likewise.
1664         * string/test-memcpy-ifunc.c: Likewise.
1665         * string/test-memmem-ifunc.c: Likewise.
1666         * string/test-memmove-ifunc.c: Likewise.
1667         * string/test-mempcpy-ifunc.c: Likewise.
1668         * string/test-memset-ifunc.c: Likewise.
1669         * string/test-rawmemchr-ifunc.c: Likewise.
1670         * string/test-stpcpy-ifunc.c: Likewise.
1671         * string/test-stpncpy-ifunc.c: Likewise.
1672         * string/test-strcasecmp-ifunc.c: Likewise.
1673         * string/test-strcasestr-ifunc.c: Likewise.
1674         * string/test-strcat-ifunc.c: Likewise.
1675         * string/test-strchr-ifunc.c: Likewise.
1676         * string/test-strchrnul-ifunc.c: Likewise.
1677         * string/test-strcmp-ifunc.c: Likewise.
1678         * string/test-strcpy-ifunc.c: Likewise.
1679         * string/test-strcspn-ifunc.c: Likewise.
1680         * string/test-strlen-ifunc.c: Likewise.
1681         * string/test-strncasecmp-ifunc.c: Likewise.
1682         * string/test-strncat-ifunc.c: Likewise.
1683         * string/test-strncmp-ifunc.c: Likewise.
1684         * string/test-strncpy-ifunc.c: Likewise.
1685         * string/test-strnlen-ifunc.c: Likewise.
1686         * string/test-strpbrk-ifunc.c: Likewise.
1687         * string/test-strrchr-ifunc.c: Likewise.
1688         * string/test-strspn-ifunc.c: Likewise.
1689         * string/test-strstr-ifunc.c: Likewise.
1690
1691         * debug/Makefile (tests-ifunc): New variable.
1692         (tests): Add $(tests-ifunc).
1693         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
1694         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
1695         * debug/test-stpcpy_chk-ifunc.c: New file.
1696         * debug/test-strcpy_chk-ifunc.c: Likewise.
1697
1698 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
1699
1700         [BZ #13601]
1701         * elf/dl-load.c (open_verify): Retry read if the entire ELF
1702         header is not read in.
1703
1704 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
1705
1706         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
1707         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
1708         directly.  Pass built executable to script as
1709         $(built-program-cmd).
1710         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
1711         $testprogram without using LD_LIBRARY_PATH and $ldso.
1712
1713         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
1714         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
1715         $(rtld-installed-name).
1716         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
1717         (rtld_installed_name): Likewise.
1718         (library_path): Likewise.
1719         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
1720         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
1721         $(run-program-prefix) to tst-tables.sh.
1722         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
1723         it to run tst-table-from and tst-table-to.
1724         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
1725         Pass it to tst-table.sh.
1726         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
1727         $(run-program-prefix) to tst-gettext.sh.
1728         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
1729         tst-translit.sh.
1730         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
1731         tst-gettext2.sh.
1732         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
1733         to run tst-gettext.
1734         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
1735         to run tst-gettext2.
1736         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
1737         to run tst-translit.
1738         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
1739         $(run-program-prefix) to tst-mtrace.sh.
1740         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
1741         to run tst-mtrace.
1742         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
1743         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
1744         $(rtld-installed-name).
1745         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
1746         (rtld_installed_name): Likewise.
1747         (run_program_prefix): New variable.  Use it to run wordexp-test.
1748
1749         * Makeconfig (ARCH): Remove all definitions.
1750         (machine): Likewise.
1751         [ARCH]: Remove conditional code.
1752         [!objdir]: Give error.
1753         [!objdir] (objpfx): Remove.
1754         [!objdir] (common-objpfx): Likewise.
1755         [!objdir] (common-objdir): Likewise.
1756         * configure.in (config_makefile): Remove.  Hardcode Makefile in
1757         AC_CONFIG_FILES call.
1758         * configure: Regenerated.
1759
1760         [BZ #13888]
1761         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
1762         or TMPDIR.
1763         (testout): Likewise.
1764
1765         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
1766         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
1767         $(rtld-installed-name).
1768         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
1769         (rtld_installed_name): Likwise.
1770         (runit): Remove function.
1771         (run_getconf): New variable,  Use it for running getconf binary.
1772
1773 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
1774
1775         [BZ #14716]
1776         * string/test-memmem.c (check_result): New function.
1777         (do_one_test): Use it.
1778         (check1): New function.
1779         (test_main): Use it.
1780
1781 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
1782
1783         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
1784
1785 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
1786
1787         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
1788         (_G_LSEEK64): Likewise.
1789         (_G_MMAP64): Likewise.
1790         (_G_FSTAT64): Likewise.
1791         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
1792         (_G_LSEEK64): Likewise.
1793         (_G_MMAP64): Likewise.
1794         (_G_FSTAT64): Likewise.
1795         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
1796         unconditional.  Call __mmap64 directly.
1797         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
1798         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
1799         __lseek64 directly.
1800         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
1801         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
1802         __mmap64 directly.
1803         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
1804         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
1805         __lseek64 directly.
1806         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
1807         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
1808         __lseek64 directly.
1809         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
1810         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
1811         __lseek64 directly.
1812         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
1813         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
1814         __fxstat64 directly.
1815         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
1816         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
1817         unconditional.
1818         (freopen64) [!_G_OPEN64]: Remove conditional code.
1819         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
1820         unconditional.
1821         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
1822         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
1823         unconditional.
1824         (ftello64) [!_G_LSEEK64]: Remove conditional code.
1825         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
1826         unconditional.
1827         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
1828         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
1829         unconditional.
1830         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
1831         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
1832         unconditional.
1833         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
1834         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
1835         unconditional.
1836         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
1837         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
1838         unconditional.
1839         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
1840
1841 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
1842
1843         [BZ #12140]
1844         * manual/memory.texi (Malloc Tunable Parameters): Add note
1845         about free list pointers overwriting some perturb bytes.
1846         Wording suggested by Roland McGrath.
1847
1848 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
1849
1850         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
1851         (lgamma_test): Likewise.
1852         (tgamma_test): Likewise.
1853
1854 2012-10-16  Florian Weimer  <fweimer@redhat.com>
1855
1856         [BZ #14700]
1857         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
1858         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
1859
1860 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
1861
1862         * NEWS: Mention BZ #14716.
1863         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
1864         when removing AVAILABLE1_USES_J macro.
1865
1866 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
1867
1868         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
1869         (__bswap_64): __uint64_t for unsigned 64-bit int.
1870
1871 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
1872
1873         * include/string.h (memmem): Declare libc hidden alias.
1874         * string/memmem.c (memmem): Define libc hidden alias.
1875         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
1876         __read, __close instead of open, read, close.
1877
1878 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
1879
1880         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
1881         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
1882         global and hidden.
1883         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
1884         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
1885         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
1886         Likewise.
1887         (__rawmemchr_sse2): Likewise.
1888         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
1889         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
1890         (__strchr_sse2): Likewise.
1891         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
1892         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
1893         (__strcasecmp_sse2): Likewise.
1894         (__strncasecmp_sse2): Likewise.
1895         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
1896         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
1897         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
1898         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
1899         (__strrchr_sse2): Likewise.
1900         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
1901         ifunc-impl-list.c.
1902         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1903         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1904         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1905         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1906         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1907         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1908         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1909         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1910         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
1911         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
1912         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
1913         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
1914         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
1915         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
1916         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
1917         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1918         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1919         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
1920         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
1921         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
1922         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
1923         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
1924         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
1925         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
1926         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
1927         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1928         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1929         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
1930         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
1931         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1932
1933         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
1934         global and hidden.
1935         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
1936         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
1937         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
1938         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
1939         Likewise.
1940         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
1941         Likewise.
1942         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
1943         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
1944         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
1945         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
1946         ifunc-impl-list.c.
1947         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1948         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1949         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1950         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1951         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1952         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1953         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1954         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1955         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1956         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1957         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1958         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1959         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1960         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
1961         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
1962         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1963         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
1964         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
1965         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1966         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1967         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1968         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1969         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1970         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1971         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1972         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
1973         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
1974         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
1975         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
1976         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1977         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
1978         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1979         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1980         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
1981         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1982         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1983         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1984         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1985         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1986         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1987         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
1988
1989         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
1990         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
1991         * include/ifunc-impl-list.h: New file.
1992         * misc/ifunc-impl-list.c: Likewise.
1993         * misc/Makefile (routines): Add ifunc-impl-list.
1994         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
1995         * string/test-string.h: Include <ifunc-impl-list.h>.
1996         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
1997         impl_array): New variables.
1998         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
1999         are defined.
2000         (test_init): Call __libc_ifunc_impl_list to initialize
2001         func_list if TEST_IFUNC and TEST_NAME are defined.
2002
2003         * string/Makefile (strop-tests): Add bcopy and bzero.
2004         * string/test-bcopy.c: New file.
2005         * string/test-bzero.c: Likewise.
2006         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
2007         defined.
2008         * string/test-memset.c: Support bzero test if TEST_BZERO is
2009         defined.
2010         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
2011         __libc_memmove.
2012         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
2013         __libc_memset.
2014         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
2015         of memset.
2016
2017 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
2018
2019         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
2020         * configure: Regenerated.
2021
2022         * Makeconfig (+link-static-before-libc): Don't include
2023         $(link-static-libc).
2024
2025         * libio/libio.h (_IO_pos_t): Remove.
2026
2027 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
2028
2029         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
2030         McGrath.
2031
2032 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
2033
2034         * crypt/crypt-entry.c: Include fips-private.h.
2035         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
2036         * crypt/md5c-test.c (main): Tolerate disabled MD5.
2037         * sysdeps/unix/sysv/linux/fips-private.h: New file.
2038         * sysdeps/generic/fips-private.h: New file, dummy fallback.
2039
2040 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
2041
2042         * crypt/crypt-private.h: Include stdbool.h.
2043         (_ufc_setup_salt_r): Return bool.
2044         * crypt/crypt-entry.c: Include errno.h.
2045         (__crypt_r): Return NULL with EINVAL for bad salt.
2046         * crypt/crypt_util.c (bad_for_salt): New.
2047         (_ufc_setup_salt_r): Check that salt is long enough and within
2048         the specified alphabet.
2049         * crypt/badsalttest.c: New file.
2050         * crypt/Makefile (tests): Add it.
2051         ($(objpfx)badsalttest): New.
2052
2053 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
2054
2055         * NEWS: Add entry for BZ #14602.
2056
2057 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
2058
2059         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
2060         type-generic.
2061         * math/libm-test.inc: Update comment listing what functions and
2062         macros are tested.
2063         (isgreater_test): New function.
2064         (isgreaterequal_test): Likewise.
2065         (isless_test): Likewise.
2066         (islessequal_test): Likewise.
2067         (islessgreater_test): Likewise.
2068         (isunordered_test): Likewise.
2069         (main): Call the new functions.
2070
2071 2012-10-09  Roland McGrath  <roland@hack.frob.com>
2072
2073         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
2074         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
2075         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
2076         * sysdeps/i386/configure: Regenerated.
2077         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
2078         * sysdeps/mach/configure: Regenerated.
2079         * sysdeps/mach/hurd/configure: Regenerated.
2080         * sysdeps/powerpc/configure: Regenerated.
2081         * sysdeps/powerpc/powerpc32/configure: Regenerated.
2082         * sysdeps/powerpc/powerpc64/configure: Regenerated.
2083         * sysdeps/s390/s390-32/configure: Regenerated.
2084         * sysdeps/s390/s390-64/configure: Regenerated.
2085         * sysdeps/sh/configure: Regenerated.
2086         * sysdeps/sparc/configure: Regenerated.
2087         * sysdeps/unix/sysv/linux/configure: Regenerated.
2088         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2089         * sysdeps/x86_64/configure: Regenerated.
2090
2091         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
2092         defined.  Don't check if MAP is NULL.
2093
2094 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
2095
2096         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
2097         (_G_stat64): Likewise.
2098         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
2099         (_G_stat64): Likewise.
2100         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
2101         instead of struct _G_stat64.
2102         * libio/fileops.c (mmap_remap_check): Likewise.
2103         (decide_maybe_mmap): Likewise.
2104         (_IO_new_file_seekoff): Likewise.
2105         (_IO_file_stat): Likewise.
2106         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
2107         _G_off64_t.
2108         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
2109         instead of struct _G_stat64.
2110         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2111
2112 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
2113
2114         [BZ #14602]
2115         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2116         Replace with ...
2117         (CHECK_EOL): New macro.
2118         (two_way_short_needle): Check beginning of haystack for EOL.  Use
2119         CHECK_EOL.
2120         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2121         Replace with CHECK_EOL.
2122         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2123         Replace with CHECK_EOL.
2124
2125 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
2126
2127         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
2128         type-generic.
2129         * math/libm-test.inc: Update comment listing what functions and
2130         macros are tested.
2131         (finite_test): New function.
2132         (isinf_test): Likewise.
2133         (isnan_test): Likewise.
2134         (fpclassify_test): Test subnormal input.
2135         (isfinite_test): Likewise.
2136         (isnormal_test): Likewise.
2137         (main): Call the new functions.
2138
2139 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
2140
2141         [BZ #14660]
2142         * Makerules (%.dynsym): Force C locale when running
2143         $(OBJDUMP) --dynamic-syms.
2144
2145 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
2146
2147         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
2148         <stdint.h>.
2149
2150 2012-10-06  David S. Miller  <davem@davemloft.net>
2151
2152         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
2153         upper 32-bits of the length value in %o2 since we use branch-on-register
2154         tests which consider the entire 64-bit register.
2155
2156 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
2157
2158         * string/test-strstr.c (check2): Add a test for page boundary.
2159
2160 2012-10-05  David S. Miller  <davem@davemloft.net>
2161
2162         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
2163         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
2164         file.
2165         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
2166         sysdep_routines.
2167         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
2168         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
2169         and bzero when HWCAP_SPARC_CRYPTO is present.
2170
2171 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
2172
2173         [BZ #14602]
2174         * string/test-strstr.c (check2): New function.
2175         (test_main): Call check2.
2176
2177         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
2178         and bug-strchr1.
2179         * string/bug-strcasestr1.c (do_test): Moved to ...
2180         * string/test-strcasestr.c (check1): Here.  New function.
2181         (do_one_test): Break out result checking code into ...
2182         (check_result): This.  New function.
2183         (do_one_test): Call check_result.
2184         (test_main): Call check1.
2185         * string/bug-strchr1.c (do_test): Moved to ...
2186         * string/test-strchr.c (check1): Here.  New function.
2187         (do_one_test): Break out result checking code into ...
2188         (check_result): This.  New function.
2189         (do_one_test): Call check_result.
2190         (test_main): Call check1.
2191         * string/bug-strstr1.c (main): Moved to ...
2192         * string/test-strchr.c (check1): Here.  New function.
2193         (do_one_test): Break out result checking code into ...
2194         (check_result): This.  New function.
2195         (do_one_test): Call check_result.
2196         (test_main): Call check1.
2197         * string/bug-strcasestr1.c: Removed.
2198         * string/bug-strchr1.c: Likewise.
2199         * string/bug-strstr1.c: Likewise.
2200
2201         * elf/Makefile (dl-routines): Add hwcaps.
2202         * elf/dl-support.c (_dl_important_hwcaps): Removed.
2203         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
2204         (_dl_important_hwcaps): Moved to ...
2205         * elf/dl-hwcaps.c: Here.  New file.
2206         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
2207
2208         [BZ #14557]
2209         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
2210         if IS_IN_rtld isn't defined.
2211
2212         * elf/dl-support.c (_dl_sysinfo_map): New.
2213         Include "get-dynamic-info.h" and "setup-vdso.h".
2214         (_dl_non_dynamic_init): Call setup_vdso.
2215         * elf/dynamic-link.h: Don't include <assert.h>.
2216         (elf_get_dynamic_info): Moved to ...
2217         * elf/get-dynamic-info.h: Here.  New file.
2218         * elf/dynamic-link.h: Include "get-dynamic-info.h".
2219         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
2220         * elf/setup-vdso.h: Here.  New file.
2221         * elf/rtld.c: Include "setup-vdso.h".
2222         (dl_main): Call setup_vdso.
2223
2224 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
2225
2226         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
2227         creal in comment listing functions tested.  List finite, isinf,
2228         isnan, isless, islessequal, isgreater, isgreaterequal,
2229         islessgreater, isunordered, lgamma_r and pow10 as functions and
2230         macros not tested.  Mention which functions not tested are aliases
2231         for other functions.  Fix typo.  Note that signs of NaNs are not
2232         tested.
2233
2234         * scripts/config.guess: Update from config.git.
2235         * scripts/config.sub: Likewise.
2236
2237 2012-10-04  Roland McGrath  <roland@hack.frob.com>
2238
2239         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
2240         * misc/madvise.c (madvise): Renamed to __madvise.
2241         Make madvise a weak alias.
2242         * include/sys/mman.h: Declare __madvise.
2243         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
2244         * sysdeps/unix/syscalls.list
2245         (madvise): Make __madvise the strong name, and madvise a weak alias.
2246         * sysdeps/unix/sysv/linux/syscalls.list
2247         (madvise, mmap): Remove redundant entries.
2248         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
2249         * malloc/malloc.c (mtrim): Likewise.
2250         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
2251
2252 2012-10-03  Roland McGrath  <roland@hack.frob.com>
2253
2254         * sysdeps/mach/hurd/dl-cache.c: File removed.
2255         * config.h.in (USE_LDCONFIG): New #undef.
2256         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
2257         * configure: Regenerated.
2258         * elf/Makefile (dl-routines): Add dl-cache only under
2259         [$(use-ldconfig) = yes].
2260         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
2261         cache on [USE_LDCONFIG].
2262         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
2263         [USE_LDCONFIG].
2264         * elf/rtld.c (dl_main): Likewise.
2265
2266 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
2267
2268         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
2269         _SC_LEVEL4_CACHE_LINESIZE.
2270
2271 2012-10-03  Roland McGrath  <roland@hack.frob.com>
2272
2273         * sysdeps/unix/bsd/confstr.h: File removed.
2274
2275 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
2276
2277         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
2278         sys/sdt-config.h.
2279
2280 2012-10-02  Roland McGrath  <roland@hack.frob.com>
2281
2282         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
2283         Make 'mapoff' field ElfW(Off) rather than off_t.
2284
2285 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
2286
2287         * nscd/Makefile: Remove nscd-cflags and all its users.
2288         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
2289         (CFLAGS-nonlib): Add compiler flags for nscd modules.
2290
2291         [BZ #10631]
2292         * malloc.c (malloc_printerr): Clarify error message.
2293
2294 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
2295
2296         [BZ #14648]
2297         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2298         Set bit_FMA_Usable if FMA is supported.
2299         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
2300         macro.
2301         (bit_FMA4_Usable): Updated.
2302         (index_FMA_Usable): New macro.
2303         (CPUID_FMA): Likewise
2304         (HAS_FMA): Defined with bit_FMA_Usable.
2305
2306 2012-10-01  Roland McGrath  <roland@hack.frob.com>
2307
2308         * bits/types.h (__swblk_t): Type removed.
2309         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
2310         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
2311         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2312         (__SWBLK_T_TYPE): Likewise.
2313         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2314         (__SWBLK_T_TYPE): Likewise.
2315         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2316         (__SWBLK_T_TYPE): Likewise.
2317         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2318         (__SWBLK_T_TYPE): Likewise.
2319
2320 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
2321             Honza Horak <hhorak@redhat.com>
2322
2323         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
2324         (xdr_mapname): Use YPMAXMAP as maxsize.
2325         (xdr_peername): Use YPMAXPEER as maxsize.
2326         (xdr_keydat): Use YPAXRECORD as maxsize.
2327         (xdr_valdat): Use YPMAXRECORD as maxsize.
2328
2329 2012-10-01  Roland McGrath  <roland@hack.frob.com>
2330
2331         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
2332
2333         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
2334         * csu/init-first.c: ... here.
2335         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
2336         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
2337         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
2338         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2339         * sysdeps/i386/init-first.c: File removed.
2340         * sysdeps/sh/init-first.c: File removed.
2341
2342 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
2343
2344         [BZ #14645]
2345         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
2346         if x * y might underflow to zero and z is zero.
2347         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2348         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2349         * math/libm-test.inc (min_subnorm_value): New variable.
2350         (fma_test): Add more tests.
2351         (fma_test_towardzero): Likewise.
2352         (fma_test_downward): Likewise
2353         (fma_test_upward): Likewise.
2354         (initialize): Set min_subnorm_value.
2355
2356 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
2357
2358         [BZ #14638]
2359         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
2360         0 + 0.
2361         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
2362         mode for addition resulting in exact zero.
2363         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
2364         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
2365         exact 0 + 0.
2366         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2367         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2368         * math/libm-test.inc (fma_test): Add more tests.
2369         (fma_test_towardzero): New function.
2370         (fma_test_downward): Likewise.
2371         (fma_test_upward): Likewise.
2372         (main): Call the new functions.
2373
2374 2012-09-28  David S. Miller  <davem@davemloft.net>
2375
2376         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
2377
2378 2012-09-28  Roland McGrath  <roland@hack.frob.com>
2379
2380         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
2381         instead of SIGALRM.
2382
2383         * sysdeps/gnu/_G_config.h: Moved to ...
2384         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
2385         * sysdeps/mach/hurd/_G_config.h: Moved to ...
2386         * sysdeps/generic/_G_config.h: ... here.
2387
2388         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
2389
2390         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
2391
2392         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
2393         Conditionalize target on [libnss_test1.so-version].
2394
2395         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
2396
2397         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
2398         (elfobjdir): Move out of conditionals.
2399
2400         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
2401         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
2402         (__nss_lookup_function): Conditionalize label remove_from_tree on
2403         [!DO_STATIC_NSS || SHARED], matching its only use.
2404
2405 2012-09-28  David S. Miller  <davem@davemloft.net>
2406
2407         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
2408         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
2409         file.
2410         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
2411         sysdep_routines.
2412         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
2413         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
2414         when HWCAP_SPARC_CRYPTO is present.
2415
2416 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
2417
2418         * io/tst-mknodat.c: Create a FIFO instead of a socket.
2419
2420 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
2421
2422         [BZ #6530]
2423         * stdio-common/vfprintf.c (process_string_arg): Revert
2424         2000-07-22 change.
2425
2426 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
2427
2428         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
2429         for testcase.
2430         * stdio-common/tst-sprintf.c: Include <locale.h>
2431         (main): Test sprintf's handling of incomplete multibyte
2432         characters.
2433
2434 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
2435
2436         * elf/dl-runtime.c (VERSYMIDX): Removed.
2437         * elf/dl-version.c (VERSYMIDX): Likewise.
2438         * elf/do-rel.h (VERSYMIDX): Likewise.
2439         (VALIDX): Likewise.
2440         * elf/dynamic-link.h (VERSYMIDX): Likewise.
2441         * elf/rtld.c (VALIDX): Likewise.
2442         (ADDRIDX): Likewise.
2443         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
2444         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
2445         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
2446         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
2447         (VALIDX): Likewise.
2448         (ADDRIDX): Likewise.
2449
2450 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
2451
2452         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
2453
2454 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
2455
2456         [BZ #11438]
2457         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
2458         to global scope.
2459         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
2460         addresses are in the same scope as 192.0.2/24.
2461         * posix/gai.conf: Document new scope table defaults.
2462
2463 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2464
2465         [BZ #5298]
2466         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
2467         for ftell.  Compute offsets from write pointers instead.
2468         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2469
2470 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2471
2472         [BZ #14543]
2473         * libio/Makefile (tests): New test case tst-fseek.
2474         * libio/tst-fseek.c: New test case to verify that fseek/ftell
2475         combination works in wide mode.
2476         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
2477         state when the external buffer state changes.
2478
2479 2012-09-27  David S. Miller  <davem@davemloft.net>
2480
2481         [BZ #14376]
2482         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
2483         pass reloc->r_addend in as the 'high' argument to
2484         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
2485
2486         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2487
2488 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
2489
2490         * rt/tst-aio2.c: Include <pthread.h>.
2491         * rt/tst-aio3.c: Likewise.
2492
2493 2012-09-27  Steve Ellcey  <sellcey@mips.com>
2494
2495         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
2496
2497 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
2498
2499         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
2500         contents on [SHARED].
2501
2502 2012-09-26  Marek Polacek  <polacek@redhat.com>
2503
2504         [BZ #14530]
2505         [BZ #13741]
2506         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
2507         for C++ and GCC <4.3 as well as for non GCC compilers.
2508
2509 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
2510
2511         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2512
2513 2012-09-25  Roland McGrath  <roland@hack.frob.com>
2514
2515         * Makefile.in (all, install): Declare with .PHONY.
2516         Reported by Michael Hope <michael.hope@linaro.org>.
2517
2518 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2519
2520         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
2521         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
2522         system header.
2523         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
2524         Likewise.
2525         (sydep_routines): Add the new and the internal functions.
2526         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
2527         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
2528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
2529         (GLIBC_2.17): Add the new function.
2530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2531         (GLIBC_2.17): Likewise.
2532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
2533         (GLIBC_2.17): Likewise.
2534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
2535         (GLIBC_2.17): Likewise.
2536         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
2537
2538 2012-09-25  Alan Modra  <amodra@gmail.com>
2539
2540         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
2541         Add release barrier before setting once_control to say
2542         initialisation is done.  Add hints on lwarx.  Use macro in
2543         place of isync.
2544         (clear_once_control): Add release barrier.
2545
2546 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
2547
2548         [BZ #13629]
2549         * math/s_clog.c (__clog): Handle more values close to |z| = 1
2550         specially.
2551         * math/s_clog10.c (__clog10): Likewise.
2552         * math/s_clog10f.c (__clog10f): Likewise.
2553         * math/s_clog10l.c (__clog10l): Likewise.
2554         * math/s_clogf.c (__clogf): Likewise.
2555         * math/s_clogl.c (__clogl): Likewise.
2556         * math/Makefile (libm-calls): Add x2y2m1.
2557         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
2558         (__x2y2m1): Likewise.
2559         (__x2y2m1l): Likewise.
2560         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
2561         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
2562         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2563         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
2564         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
2565         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
2566         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
2567         * sysdeps/i386/fpu/libm-test-ulps: Update.
2568         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2569
2570         [BZ #14621]
2571         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
2572         int as type of variable DEPTH.
2573         (glob): Use size_t instead of int as type of variables NEWCOUNT
2574         and OLD_PATHC.
2575
2576 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
2577
2578         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
2579         Add s_sincosf-sse2.
2580         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
2581         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
2582         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
2583         macros for using routine as __sincosf_ia32.
2584         Use macro for function declaration and weak_alias.
2585         * sysdeps/i386/fpu/libm-test-ulps: Update.
2586
2587         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
2588         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2589
2590         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
2591         subnormal argument.
2592         * math/s_cexpf.c (__cexpf): Likewise.
2593         * math/s_csinf.c (__csinf): Likewise.
2594         * math/s_csinhf.c (__csinhf): Likewise.
2595         * math/s_ctanf.c (__ctanf): Likewise.
2596         * math/s_ctanhf.c (__ctanhf): Likewise.
2597         * math/s_ccosh.c (__ccoshf): Likewise.
2598         * math/s_cexp.c (__cexpl): Likewise.
2599         * math/s_csin.c (__csin): Likewise.
2600         * math/s_csinh.c (__csinh): Likewise.
2601         * math/s_ctan.c (__ctan): Likewise.
2602         * math/s_ctanh.c (ctanh): Likewise.
2603         * math/s_ccoshl.c (__ccoshl): Likewise.
2604         * math/s_cexpl.c (__cexpl): Likewise.
2605         * math/s_csinl.c (__csinl): Likewise.
2606         * math/s_csinhl.c (__csinhl): Likewise.
2607         * math/s_ctanl.c (__ctanl): Likewise.
2608         * math/s_ctanhl.c (__ctanhl): Likewise.
2609
2610 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
2611
2612         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
2613         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
2614         (_IO_off_t): Define to __off_t, not _G_off_t.
2615         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
2616         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
2617         (_IO_wint_t): Define to wint_t, not _G_wint_t.
2618         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
2619         type of __dummy and __dummy2 fields.
2620         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
2621         (_G_ssize_t): Likewise.
2622         (_G_off_t): Likewise.
2623         (_G_pid_t): Likewise.
2624         (_G_uid_t): Likewise.
2625         (_G_wchar_t): Likewise.
2626         (_G_wint_t): Likewise.
2627         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
2628         (_G_ssize_t): Likewise.
2629         (_G_off_t): Likewise.
2630         (_G_pid_t): Likewise.
2631         (_G_uid_t): Likewise.
2632         (_G_wchar_t): Likewise.
2633         (_G_wint_t): Likewise.
2634         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
2635         (_G_ssize_t): Likewise.
2636         (_G_off_t): Likewise.
2637         (_G_pid_t): Likewise.
2638         (_G_uid_t): Likewise.
2639         (_G_wchar_t): Likewise.
2640         (_G_wint_t): Likewise.
2641
2642 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
2643
2644         * malloc/arena.c: Include malloc-sysdep.h.
2645         (shrink_heap): Use check_may_shrink_heap to decide if madvise
2646         is sufficient to shrink the heap or an unmap is needed.
2647         * sysdeps/generic/malloc-sysdep.h: New file.  Define
2648         new function check_may_shrink_heap.
2649         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
2650         new function check_may_shrink_heap.
2651
2652 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
2653
2654         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
2655         comments.
2656
2657 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
2658
2659         * catgets/test-gencat.sh: Add "set -e".
2660         * elf/tst-pathopt.sh: Likewise.
2661         * grp/tst_fgetgrent.sh: Likewise.
2662         * iconvdata/run-iconv-test.sh: Likewise.
2663         * intl/tst-gettext.sh: Likewise.
2664         * intl/tst-gettext2.sh: Likewise.
2665         * intl/tst-gettext4.sh: Likewise.
2666         * intl/tst-gettext6.sh: Likewise.
2667         * intl/tst-translit.sh: Likewise.
2668         * io/ftwtest-sh: Likewise.
2669         * libio/test-freopen.sh: Likewise.
2670         * malloc/tst-mtrace.sh: Likewise.
2671         * posix/globtest.sh: Likewise.
2672         * posix/tst-getconf.sh: Likewise.
2673         * posix/wordexp-tst.sh: Likewise.
2674         * stdio-common/tst-printf.sh: Likewise.
2675         * stdio-common/tst-unbputc.sh: Likewise.
2676         * stdlib/tst-fmtmsg.sh: Likewise.
2677         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
2678         * catgets/Makefile: Do not specify -e option when running
2679         testsuite shell scripts.
2680         * elf/Makefile: Likewise.
2681         * grp/Makefile: Likewise.
2682         * iconvdata/Makefile: Likewise.
2683         * intl/Makefile: Likewise.
2684         * io/Makefile: Likewise.
2685         * libio/Makefile: Likewise.
2686         * malloc/Makefile: Likewise.
2687         * posix/Makefile: Likewise.
2688         * stdio-common/Makefile: Likewise.
2689         * stdlib/Makefile: Likewise.
2690         * sysdeps/x86_64/Makefile: Likewise.
2691
2692         * io/ftwtest-sh: Add copyright header.
2693         * posix/globtest.sh: Likewise.
2694         * posix/tst-getconf.sh: Likewise.
2695         * posix/wordexp-tst.sh: Likewise.
2696         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
2697
2698 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
2699
2700         [BZ #13679]
2701         * Makeconfig (+link): Defined as $(+link-static) if
2702         $(build-shared) isn't yes.
2703         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
2704         isn't yes.
2705         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
2706
2707         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
2708
2709         [BZ #14562]
2710         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
2711         new chunk size with MALLOC_ALIGN_MASK.
2712
2713 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
2714
2715         [BZ #5044]
2716         * stdio-common/printf_fphex.c: Include <stdbool.h> and
2717         <rounding-mode.h>.
2718         (__printf_fphex): Determine rounding using get_rounding_mode and
2719         round_away.
2720         * stdio-common/tst-printf-round.c (struct hex_test): New
2721         structure.
2722         (hex_tests): New variable.
2723         (test_hex_in_one_mode): New function.
2724         (do_test): Also run tests for hex float output.
2725
2726 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
2727
2728         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
2729         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
2730         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
2731         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
2732         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
2733         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
2734         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
2735         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
2736
2737 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
2738
2739         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
2740         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
2741         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
2742         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
2743
2744 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
2745
2746         [BZ #14579]
2747         * elf/rtld.c (dl_main): Limit the check for self loading to normal
2748         mode only.
2749         * elf/tst-rtld-load-self.sh: New test.
2750         * elf/Makefile: Run it.
2751
2752 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
2753
2754         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
2755         (tst-writev-ENV): Remove.
2756         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
2757
2758 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
2759
2760         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
2761
2762 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
2763
2764         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
2765         unconditional.
2766         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
2767         Likewise.
2768         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
2769         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
2770         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
2771         Likewise.
2772
2773 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
2774
2775         [BZ #14587]
2776         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
2777         * config.make.in (have-cpp-asm-debuginfo): Removed.
2778         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
2779         * configure: Regenerated.
2780
2781 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
2782
2783         [BZ #5044]
2784         * stdio-common/printf_fp.c: Include <stdbool.h> and
2785         <rounding-mode.h>.
2786         (___printf_fp): Determine rounding using get_rounding_mode and
2787         round_away.
2788         * stdio-common/tst-printf-round.c: New file.
2789         * stdio-common/Makefile (tests): Add tst-printf-round.
2790         (link-libm): New variable.
2791         ($(objpfx)tst-printf-round): Depend in $(link-libm).
2792
2793 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
2794
2795         [BZ #14576]
2796         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
2797         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
2798         Likewise.
2799         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
2800         Likewise.
2801
2802 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
2803
2804         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
2805         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
2806         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
2807         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
2808
2809 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
2810
2811         [BZ #14518]
2812         * include/rounding-mode.h: New file.
2813         * sysdeps/generic/get-rounding-mode.h: Likewise.
2814         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
2815         * stdlib/strtod_l.c: Include <rounding-mode.h>.
2816         (MAX_VALUE): New macro.
2817         (MIN_VALUE): Likewise.
2818         (overflow_value): New function.
2819         (underflow_value): Likewise.
2820         (round_and_return): Use overflow_value and underflow_value to
2821         determine return values in overflow and underflow cases.  Use
2822         round_away to determine rounding depending on rounding mode.
2823         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
2824         determine return values in overflow and underflow cases.
2825         * stdlib/tst-strtod-round.c: Include <fenv.h>.
2826         (struct test_results): New structure.
2827         (struct test): Use struct test_results to store expected results
2828         for all rounding modes.
2829         (TEST): Include expected results for all rounding modes.
2830         (test_in_one_mode): New function.
2831         (do_test): Use test_in_one_mode to compute and check results.
2832         Check results for all rounding modes.
2833         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
2834         $(link-libm).
2835
2836 2012-12-09  Allan McRae  <allan@archlinux.org>
2837
2838         * sysdeps/i386/fpu/libm-test-ulps: Update
2839
2840 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
2841
2842         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
2843         (_G_int32_t): Likewise.
2844         (_G_uint16_t): Likewise.
2845         (_G_uint32_t): Likewise.
2846         (_G_HAVE_BOOL): Likewise.
2847         (_G_HAVE_ATEXIT): Likewise.
2848         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
2849         (_G_HAVE_IO_FILE_OPEN): Likewise.
2850         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
2851         (_G_int32_t): Likewise.
2852         (_G_uint16_t): Likewise.
2853         (_G_uint32_t): Likewise.
2854         (_G_HAVE_BOOL): Likewise.
2855         (_G_HAVE_ATEXIT): Likewise.
2856         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
2857         (_G_HAVE_IO_FILE_OPEN): Likewise.
2858         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
2859         (_G_int32_t): Likewise.
2860         (_G_uint16_t): Likewise.
2861         (_G_uint32_t): Likewise.
2862         (_G_HAVE_BOOL): Likewise.
2863         (_G_HAVE_ATEXIT): Likewise.
2864         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
2865         (_G_HAVE_IO_FILE_OPEN): Likewise.
2866
2867 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
2868
2869         * csu/libc-tls.c: Update copyright years.
2870
2871 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
2872
2873         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
2874         [!_G_USING_THUNKS]: Remove conditional code.
2875         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
2876         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
2877
2878         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
2879         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
2880         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
2881         (_G_VTABLE_LABEL_PREFIX): Likewise.
2882         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
2883         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
2884         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
2885         (_G_VTABLE_LABEL_PREFIX): Likewise.
2886         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
2887         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
2888         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
2889         (_G_VTABLE_LABEL_PREFIX): Likewise.
2890         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
2891
2892 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
2893
2894         * libio/Makefile: Include ../Makeconfig before tests.
2895         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
2896         only if $(build-shared) is yes.
2897
2898         * iconv/gconv_db.c: Update copyright years.
2899
2900 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
2901
2902         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
2903         unwind info if defined PIC. Fix special cases description.
2904         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
2905
2906         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
2907         DP_HI_MASK entry.
2908         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
2909
2910 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
2911
2912         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
2913
2914         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
2915         is NULL.
2916
2917         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
2918         (LDLIBS-tst-chk4): This.
2919         (LDFLAGS-tst-chk5): Renamed to ...
2920         (LDLIBS-tst-chk5): This.
2921         (LDFLAGS-tst-chk6): Renamed to ...
2922         (LDLIBS-tst-chk6): This.
2923         (LDFLAGS-tst-lfschk4): Renamed to ...
2924         (LDLIBS-tst-lfschk4): This.
2925         (LDFLAGS-tst-lfschk5): Renamed to ...
2926         (LDLIBS-tst-lfschk5): This.
2927         (LDFLAGS-tst-lfschk6): Renamed to ...
2928         (LDLIBS-tst-lfschk6): This.
2929
2930         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
2931         on $(common-objpfx)soversions.mk.
2932
2933 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
2934
2935         [BZ #10014]
2936         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
2937         example host name.
2938
2939 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
2940
2941         * malloc/arena.c (arena_get_retry): New function that gets
2942         another arena for the caller to try its request on.
2943         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
2944         current arena cannot fulfill the request.
2945         (__libc_memalign): Likewise.
2946         (__libc_memalign): Likewise.
2947         (__libc_pvalloc): Likewise.
2948         (__libc_calloc): Likewise.
2949
2950 2012-09-05  John Tobey  <john.tobey@gmail.com>
2951
2952         [BZ #13542]
2953         * manual/arith.texi (Operations on Complex): Fix description
2954         of carg branch cut.
2955
2956 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
2957
2958         [BZ #10014]
2959         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
2960         host name.
2961
2962         [BZ #10038]
2963         * manual/memory.texi (Memory): Make order of menu items match
2964         order of sections.
2965
2966 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
2967
2968         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
2969         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
2970         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
2971
2972 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
2973
2974         * csu/libc-tls.c (static_dtv): Renamed to ...
2975         (_dl_static_dtv): This.  Make it global.
2976         (_dl_initial_dtv): Removed.
2977         (__libc_setup_tls): Updated.
2978         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
2979         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
2980         DL_INITIAL_DTV.
2981
2982 2012-09-06  Petr Machata  <pmachata@redhat.com>
2983
2984         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
2985         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
2986         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
2987         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
2988
2989 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
2990
2991         [BZ #14545]
2992         * csu/libc-tls.c (_dl_initial_dtv): New variable.
2993         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
2994         freeing dtv[-1].
2995
2996 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
2997
2998         [BZ #14544]
2999         * Makeconfig (link-static-before-libc): Replace $(+prector)
3000         with $(+prectorT).
3001         (link-static-after-libc): Replace $(+postctor) with
3002         $(+postctorT).
3003         (link-bounded): Replace $(+prector)/$(+postctor) with
3004         $(+prectorT)/$(+postctorT).
3005         (+prectorT): New macro.
3006         (+postctorT): Likewise.
3007
3008 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
3009
3010         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
3011         (round_str): Handle values above the maximum for IBM long double
3012         as inexact.
3013         * stdlib/tst-strtod-round.c (tests): Regenerated.
3014
3015 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3016
3017         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
3018         assembler flag.
3019         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
3020         zarch_nohighgprs around the zarch optimized routines.
3021         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3022         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3023         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
3024         for zarch.
3025
3026 2012-09-05  David S. Miller  <davem@davemloft.net>
3027
3028         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3029
3030         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
3031         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
3032         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
3033         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
3034         entries.
3035
3036 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
3037
3038         * malloc/arena.c: Fold copyright years.
3039         * malloc/mcheck.c, malloc/memusage.c: Likewise.
3040
3041 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
3042
3043         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
3044
3045 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
3046
3047         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
3048
3049 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
3050
3051         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
3052         change internal state upon failure.
3053
3054 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
3055
3056         * malloc/mcheck.c (mcheck_check_all): Fix typo.
3057         * malloc/memusage.c (mmap): Likewise.
3058         (mmap64, mremap): Likewise.  Adjust name in comment.
3059
3060 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
3061
3062         * libio/fileops.c: Fix typos in comments.
3063         * libio/oldfileops.c: Likewise.
3064         * libio/wfileops.c: Likewise.
3065
3066 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
3067
3068         [BZ #1349]
3069         * malloc/Makefile (tests): Add tst-malloc-usable test case.
3070         (tst-malloc-usable-ENV): Set environment for test case.
3071         * malloc/hooks.c (malloc_check_get_size): New function to get
3072         requested size.
3073         * malloc/malloc.c (musable): Use malloc_check_get_size.
3074         * malloc/tst-malloc-usable.c: New test case.
3075
3076 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
3077
3078         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
3079
3080 2012-09-05  Allan McRae  <allan@archlinux.org>
3081
3082         [BZ #13966]
3083         * configure.in (CXX_SYSINCLUDES): Use compiler output to
3084         determine header location.
3085         * configure: Regenerated.
3086
3087 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
3088
3089         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
3090         float format.
3091         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
3092         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
3093         format.
3094         (test): Regenerate.
3095
3096 2012-09-04  David S. Miller  <davem@davemloft.net>
3097
3098         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
3099         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
3100         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
3101
3102 2012-09-04  Florian Weimer  <fweimer@redhat.com>
3103
3104         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
3105         failures.
3106
3107         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
3108
3109 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
3110
3111         [BZ #9914]
3112         * libio/iogetdelim.c: Include <limits.h>.
3113         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
3114         + len + 1 would overflow.
3115
3116 2012-09-03  Andreas Jaeger  <aj@suse.de>
3117
3118         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3119         * sysdeps/i386/fpu/libm-test-ulps: Update.
3120
3121 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
3122
3123         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3124         Add s_sinf-sse2, s_conf-sse2.
3125
3126         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
3127         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
3128         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
3129         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
3130
3131         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
3132         for using routine as __sinf_ia32.
3133         Use macro for function declaration and weak_alias.
3134         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
3135         for using routine as __cosf_ia32.
3136         Use macro for function declaration and weak_alias.
3137
3138         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
3139         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
3140
3141         * sysdeps/x86_64/fpu/s_sinf.S: New file.
3142         * sysdeps/x86_64/fpu/s_cosf.S: New file.
3143         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3144
3145         * math/libm-test.inc (cos_test): Add more test cases.
3146         (sin_test): Likewise.
3147         (sincos_test): Likewise.
3148
3149 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3150
3151         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
3152         (IFUNC_RESOLVE): Make pointers to the specialized implementations
3153         hidden.
3154         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3155
3156 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
3157
3158         [BZ #14538]
3159         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
3160         first element of the GOT.
3161         (elf_machine_load_address): Return the difference between
3162         the runtime address of _DYNAMIC and elf_machine_dynamic ().
3163
3164 2012-09-01  Allan McRae  <allan@archlinux.org>
3165
3166         [BZ #13412]
3167         * configure.in (AWK): Require gawk version 3.0 or later.
3168         * configure: Regenerated.
3169
3170 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
3171
3172         * sysdeps/unix/sysv/linux/kernel-features.h
3173         (__ASSUME_POSIX_CPU_TIMERS): Remove.
3174         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3175         [__NR_clock_getres]: Make code unconditional.
3176         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
3177         (clock_getcpuclockid): Remove code left unreachable by removal of
3178         conditionals.
3179         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
3180         code unconditional.
3181         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3182         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3183         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
3184         Make code unconditional.
3185         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3186         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3187         * sysdeps/unix/sysv/linux/clock_settime.c
3188         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
3189         conditional code.
3190         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
3191         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3192
3193 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
3194
3195         [BZ #14476]
3196         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
3197         scripts/test-installation.pl.
3198
3199         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
3200         and $ld_so_version if it is set.
3201
3202 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
3203
3204         [BZ #14516]
3205         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
3206         failure if reading from procfs failed.
3207         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
3208
3209 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
3210
3211         * sysdeps/unix/sysv/linux/kernel-features.h
3212         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
3213         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
3214         Remove conditional code.
3215         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3216         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
3217         Remove conditional code.
3218         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3219         * sysdeps/unix/sysv/linux/i386/fxstat.c
3220         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3221         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3222         * sysdeps/unix/sysv/linux/i386/fxstatat.c
3223         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3224         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3225         * sysdeps/unix/sysv/linux/i386/lxstat.c
3226         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3227         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3228         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
3229         Remove conditional code.
3230         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3231         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
3232         Remove conditional code.
3233         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3234         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
3235         <kernel-features.h>.
3236         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
3237         Remove.
3238         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
3239         Remove conditional code.
3240         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3241         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
3242         Remove conditional.
3243
3244 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
3245
3246         [BZ #5400]
3247         * NEWS: Add fixed bug number.
3248
3249 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
3250
3251         [BZ #14519]
3252         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
3253         underflowing exponent in case of negative sign.
3254         * stdlib/tst-strtod-round-data: Add more tests.
3255         * stdlib/tst-strtod-round.c (tests): Regenerated.
3256
3257         [BZ #3479]
3258         * stdlib/strtod_l.c (NDIG): Remove.
3259         (HEXNDIG): Likewise.
3260         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
3261         smallest representable value.
3262         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
3263         lie within an exact representation of 1/2 ulp of the result.
3264         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
3265         unconditionally.
3266         (TENS_P9_IDX): Define unconditionally.
3267         (TENS_P9_SIZE): Likewise.
3268         (TENS_P10_IDX): Likewise.
3269         (TENS_P10_SIZE): Likewise.
3270         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
3271         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
3272         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
3273         entries for 10^2^13 and 10^2^14.
3274         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
3275         (TENS_P13_IDX): Define.
3276         (TENS_P13_SIZE): Likewise.
3277         (TENS_P14_IDX): Likewise.
3278         (TENS_P14_SIZE): Likewise.
3279         (_fpioconst_pow10): Change array size to
3280         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
3281         unconditional.
3282         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
3283         1024]: Add entries for 10^2^13 and 10^2^14.
3284         [LAST_POW10 > _LAST_POW10]: Remove #error.
3285         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
3286         (_fpioconst_pow10): Change array size to
3287         FPIOCONST_POW10_ARRAY_SIZE.
3288         * stdlib/gen-fpioconst.c: New file.
3289         * stdlib/gen-tst-strtod-round.c: Likewise.
3290         * stdlib/tst-strtod-round-data: Likewise.
3291         * stdlib/tst-strtod-round.c: Likewise.
3292         * stdlib/Makefile (tests): Add tst-strtod-round.
3293
3294         [BZ #14459]
3295         * stdlib/strtod_l.c: Include <stdint.h>.
3296         (NDEBUG): Do not define.
3297         (round_and_return): Change EXPONENT parameter to type intmax_t.
3298         Rearrange calculations to avoid internal overflow possibilities.
3299         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
3300         Rearrange calculations to avoid internal overflow possibilities.
3301         Assert that number fits inside MPNSIZE limbs.
3302         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
3303         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
3304         calculations and add assertions to avoid internal overflow
3305         possibilities.  Add casts to avoid signed/unsigned operations.
3306         * stdlib/tst-strtod-overflow.c: New file.
3307         * stdlib/Makefile (tests): Add tst-strtod-overflow.
3308
3309 2012-08-25  Marek Polacek  <polacek@redhat.com>
3310
3311         * time/time.h: Fix some typos in comments.
3312
3313 2012-08-23  Roland McGrath  <roland@hack.frob.com>
3314
3315         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
3316         * posix/tst-rfc3484-2.c: Likewise.
3317         * posix/tst-rfc3484-3.c: Likewise.
3318
3319 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
3320
3321         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
3322         (EF_ARM_ABI_FLOAT_HARD): Likewise.
3323
3324 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
3325
3326         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
3327         #include of fxstatat64.c.
3328
3329 2012-08-22  Roland McGrath  <roland@hack.frob.com>
3330
3331         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
3332         * shadow/getspent_r.c: Likewise.
3333         * shadow/getspnam.c: Likewise.
3334         * shadow/getspnam_r.c: Likewise.
3335         * gshadow/getsgent.c: Likewise.
3336         * gshadow/getsgent_r.c: Likewise.
3337         * gshadow/getsgnam.c: Likewise.
3338         * gshadow/getsgnam_r.c: Likewise.
3339         * inet/getnetbyad.c: Likewise.
3340         * inet/getnetbyad_r.c: Likewise.
3341         * inet/getnetbynm.c: Likewise.
3342         * inet/getnetbynm_r.c: Likewise.
3343         * inet/getnetent.c: Likewise.
3344         * inet/getnetent_r.c: Likewise.
3345         * inet/getproto.c: Likewise.
3346         * inet/getproto_r.c: Likewise.
3347         * inet/getprtent.c: Likewise.
3348         * inet/getprtent_r.c: Likewise.
3349         * inet/getprtname.c: Likewise.
3350         * inet/getprtname_r.c: Likewise.
3351         * inet/getrpcbyname.c: Likewise.
3352         * inet/getrpcbyname_r.c: Likewise.
3353         * inet/getrpcbynumber.c: Likewise.
3354         * inet/getrpcbynumber_r.c: Likewise.
3355         * inet/getrpcent.c: Likewise.
3356         * inet/getrpcent_r.c: Likewise.
3357         * inet/getaliasent.c: Likewise.
3358         * inet/getaliasent_r.c: Likewise.
3359         * inet/getaliasname.c: Likewise.
3360         * inet/getaliasname_r.c: Likewise.
3361         * nscd/getgrgid_r.c: Likewise.
3362         * nscd/getgrnam_r.c: Likewise.
3363         * nscd/gethstbyad_r.c: Likewise.
3364         * nscd/gethstbynm3_r.c: Likewise.
3365         * nscd/getpwnam_r.c: Likewise.
3366         * nscd/getpwuid_r.c: Likewise.
3367         * nscd/getsrvbynm_r.c: Likewise.
3368         * nscd/getsrvbypt_r.c: Likewise.
3369         * nscd/gai.c: Likewise.
3370
3371         * configure.in (build_nscd): New substituted variable, set
3372         by --disable-build-nscd and defaults to $use_nscd.
3373         * configure: Regenerated.
3374         * config.make.in (build-nscd): New substituted variable.
3375         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
3376         Change conditional to require [$(build-nscd) = yes] as well.
3377         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
3378
3379         [BZ# 13696]
3380         * configure.in (use_nscd): New substituted variable, set by
3381         --disable-nscd.  If enabled, define USE_NSCD.
3382         * configure: Regenerated.
3383         * config.h.in: Add USE_NSCD.
3384         * config.make.in (use-nscd): New substituted variable.
3385         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
3386         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
3387         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
3388         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
3389         (CFLAGS-getgrnam_r.c): Likewise.
3390         (CFLAGS-initgroups.c): Likewise.
3391         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
3392         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
3393         Variables removed.
3394         * inet/getnetgrent_r.c
3395         (nscd_setnetgrent): New function, broken out of ...
3396         (setnetgrent): ... here.  Call it.
3397         (innetgr): Conditionalize nscd bits on [USE_NSCD].
3398         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
3399         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
3400         * nscd/Makefile (routines, aux): Move definitions after include of
3401         Makeconfig.  Conditionalize on [$(use-nscd) != no].
3402         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
3403         Conditionalize on [USE_NSCD].
3404         (is_nscd, nscd_init_cb): Likewise.
3405         (nss_load_library): Conditionalize init callback on [USE_NSCD].
3406         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
3407         * nss/nss_db/db-init.c: Likewise.
3408         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
3409         [USE_NSCD].
3410         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
3411         (make_request): Use it.
3412         (cache_valid_p): New function.
3413         (__check_pf): Use it.
3414         * NEWS: Add item for --disable-nscd.
3415
3416 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
3417
3418         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
3419         to support sed >= 4.2.1-20-ga9bf076.
3420         * configure: Regenerated.
3421
3422 2012-08-22  Roland McGrath  <roland@hack.frob.com>
3423
3424         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
3425         Conditionalize whole body on [IREL].
3426
3427 2012-08-22  Jeff Law <law@redhat.com>
3428
3429         [BZ #14505]
3430         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
3431         if the family is PF_UNSPEC.
3432
3433 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
3434
3435         * Makerules (lib-version): Rename from V.
3436         (install-lib-nosubdir): Change V to lib-version.
3437
3438 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
3439
3440         [BZ #14252]
3441         * powerpc32/power6/wcschr.c: New file.
3442         * powerpc32/power6/wcscpy.c: New file.
3443         * powerpc32/power6/wcsrchr.c: New file.
3444         * powerpc64/power6/wcschr.c: New file.
3445         * powerpc64/power6/wcscpy.c: New file.
3446         * powerpc64/power6/wcsrchr.c: New file.
3447
3448 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
3449
3450         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
3451         (two_way_short_needle): Use it.
3452         * string/strstr.c (AVAILABLE1_USES_J): Define.
3453         * string/strcasestr.c: Likewise.
3454
3455         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
3456         array references.
3457         * string/strcasestr.c (TOLOWER): Make side-effect safe.
3458
3459         [BZ #11607]
3460         * NEWS: Add an entry.
3461         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
3462         define their defaults.
3463         (two_way_short_needle): Detect end-of-string on-the-fly.
3464         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
3465         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
3466         * string/bug-strcasestr1.c: New test.
3467         * string/Makefile: Run it.
3468
3469 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
3470
3471         [BZ #11607]
3472         * string/str-two-way.h (two_way_short_needle): Optimize matching of
3473         the first character.
3474
3475 2012-08-21  Roland McGrath  <roland@hack.frob.com>
3476
3477         * csu/elf-init.c (__libc_csu_irel): Function removed.
3478         * csu/libc-start.c (apply_irel): New function.
3479         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
3480
3481 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
3482
3483         * sysdeps/unix/sysv/linux/kernel-features.h
3484         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
3485         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
3486         <kernel-features.h>.
3487         [__NR_fadvise64_64]: Make code unconditional.
3488         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
3489         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
3490         !__NR_fadvise64_64)]: Likewise.
3491         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
3492         !__NR_fadvise64_64))]: Likewise.
3493         [__NR_fadvise64]: Make code unconditional.
3494         [!__NR_fadvise64]: Remove conditional code.
3495         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
3496         <kernel-features.h>.
3497         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3498         unconditional.
3499         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3500         conditional code.
3501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
3502         not include <kernel-features.h>.
3503         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3504         unconditional.
3505         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3506         conditional code.
3507         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
3508         include <kernel-features.h>.
3509         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3510         unconditional.
3511         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3512         conditional code.
3513
3514 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
3515
3516         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
3517         slight instruction rearrangements per scrollpipe analysis.
3518         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3519
3520 2012-08-20  Roland McGrath  <roland@hack.frob.com>
3521
3522         * manual/syslog.texi (syslog; vsyslog, closelog):
3523         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
3524         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
3525
3526         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
3527         DSOCAPS to match condition on defining it.
3528
3529 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
3530
3531         * sysdeps/unix/sysv/linux/kernel-features.h
3532         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
3533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
3534         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3535         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
3537         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3538         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
3540         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3541         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3542
3543         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
3544         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
3545
3546         * sysdeps/unix/sysv/linux/kernel-features.h
3547         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
3548         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
3549         unconditional.
3550         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3551         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
3552         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
3553         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3554         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
3555         Make code unconditional.
3556         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3557         (__mmap64) [!__NR_mmap2]: Likewise.
3558         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
3559         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
3560         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3561         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
3562         [__NR_mmap2]: Make code unconditional.
3563         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3564         (__mmap64) [!__NR_mmap2]: Likewise.
3565
3566 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3567
3568         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
3569
3570 2012-08-18  Andreas Jaeger  <aj@suse.de>
3571
3572         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
3573
3574 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
3575
3576         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
3577         * include/unistd.h (__have_sock_cloexec): Likewise.
3578         (__have_pipe2): Likewise.
3579         (__have_dup3): Likewise.
3580
3581 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
3582
3583         [BZ #9685]
3584         * include/unistd.h (__have_pipe2): Change define into an extern int.
3585         (__have_dup3): Likewise.
3586         * socket/have_sock_cloexec.c: Include fcntl.h.
3587         (__have_pipe2): New variable.
3588         (__have_dup3): Likewise.
3589
3590 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
3591
3592         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
3593
3594 2012-08-17  Marek Polacek  <polacek@redhat.com>
3595
3596         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
3597         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
3598
3599 2012-08-17  Roland McGrath  <roland@hack.frob.com>
3600
3601         * configure.in: Add AC_SUBST for sysheaders.
3602         * configure: Regenerated.
3603         * config.make.in (sysheaders): New substituted variable.
3604
3605         * sysdeps/unix/mkfifo.c: Moved ...
3606         * sysdeps/posix/mkfifo.c: ... here.
3607         * sysdeps/unix/mkfifoat.c: Moved ...
3608         * sysdeps/posix/mkfifoat.c: ... here.
3609
3610         * sysdeps/unix/utime.c: Moved ...
3611         * sysdeps/posix/utime.c: ... here.
3612
3613         * sysdeps/unix/time.c: Moved ...
3614         * sysdeps/posix/time.c: ... here.
3615         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
3616         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
3617
3618         * sysdeps/unix/nice.c: Moved ...
3619         * sysdeps/posix/nice.c: ... here.
3620
3621         * sysdeps/unix/alarm.c: Moved ...
3622         * sysdeps/posix/alarm.c: ... here.
3623
3624         * intl/Makefile ($(codeset_mo)): Depend on the input file.
3625
3626 2012-08-17  Jeff Law <law@redhat.com>
3627
3628         * intl/Makefile (codeset_mo): New variable.
3629         ($(codeset_mo)): New target.
3630         (tst-codeset.out): Depend on that.  Remove explicit rule.
3631         (tst-gettext3.out, tst-gettext5.out): Likewise.
3632         (LOCPATH-ENV, tst-codeset-ENV): New variables.
3633         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
3634         * intl/tst-codeset.sh: Remove.
3635         * intl/tst-gettext3.sh: Likewise.
3636         * intl/tst-gettext5.sh: Likewise.
3637
3638 2012-08-17  Roland McGrath  <roland@hack.frob.com>
3639
3640         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
3641         * sysdeps/unix/syscalls.list: ... here.
3642
3643         * sysdeps/posix/getaddrinfo.c
3644         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
3645         (gaiconf_init, gaiconf_reload): Use them.
3646         [!_STATBUF_ST_NSEC]
3647         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
3648         Define using time_t rather than struct timespec.
3649
3650         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
3651         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
3652         Macros removed.
3653         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
3654         [!NO_THREADS].
3655         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
3656         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
3657         Likewise.
3658
3659         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
3660         __libc_cleanup_push argument.
3661
3662         * bits/param.h: New file.
3663         * misc/sys/param.h: New file.
3664         * include/sys/param.h: New file.
3665         * misc/Makefile (headers): Add bits/param.h.
3666         * sysdeps/generic/sys/param.h: File removed.
3667         * sysdeps/unix/sysv/linux/bits/param.h: New file.
3668         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
3669         * sysdeps/mach/hurd/bits/param.h: New file.
3670         * sysdeps/mach/hurd/sys/param.h: File removed.
3671
3672         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
3673         last change.
3674
3675         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
3676         [_IO_MTSAFE_IO].
3677         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
3678         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
3679         New macros.
3680
3681         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
3682         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
3683         rather than -D_IO_MTSAFE_IO conditionally.
3684         * stdio-common/Makefile (CPPFLAGS): Likewise.
3685         * wcsmbs/Makefile (CPPFLAGS): Likewise.
3686         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
3687         Use $(libio-mtsafe).
3688         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
3689         of -D_IO_MTSAFE_IO.
3690         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
3691         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
3692         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
3693         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
3694         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
3695         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
3696         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
3697         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
3698         (CFLAGS-fread_u_chk.c): Likewise.
3699         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
3700         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
3701         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
3702         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
3703         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
3704         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
3705         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
3706         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
3707         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
3708
3709         * libio/Makefile: Test [$(libc-reentrant) = yes]
3710         instead of [$(filter %REENTRANT, $(defines)) nonempty].
3711
3712         * Makeconfig
3713         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
3714         * sysdeps/pthread/configure: File removed.
3715         * sysdeps/pthread/Makeconfig: New file.
3716         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
3717         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
3718
3719 2012-08-16  Gary Benson  <gbenson@redhat.com>
3720
3721         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
3722         unmapping the first object in a namespace.
3723
3724 2012-08-16  Roland McGrath  <roland@hack.frob.com>
3725
3726         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
3727         (__internal_setnetgrent): ... this.  Add internal_function to
3728         definition.  Add libc_hidden_def.
3729         (setnetgrent): Update caller.
3730         (internal_endnetgrent): Renamed to ...
3731         (__internal_endnetgrent): ... this.  Add internal_function to
3732         definition.  Add libc_hidden_def.
3733         (endnetgrent): Update caller.
3734         (internal_getnetgrent_r): Renamed to ...
3735         (__internal_getnetgrent_r): ... this.  Add internal_function to
3736         definition.  Add libc_hidden_def.
3737         (__getnetgrent_r): Update caller.
3738         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
3739
3740 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
3741
3742         * stdlib/longlong.h: Update from GCC.
3743
3744 2012-08-16  Roland McGrath  <roland@hack.frob.com>
3745
3746         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
3747         on _QL, which is set by umul_ppmm but never used.
3748         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
3749         variables, which are set by GMP macros but never used.
3750         * stdio-common/_itowa.c (_itowa): Likewise.
3751         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
3752         * stdlib/mod_1.c (mpn_mod_1): Likewise.
3753
3754 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
3755
3756         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
3757         struct La_sh_regs is not constant.
3758         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
3759         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
3760         and struct La_sparc64_regs are not constant.
3761
3762 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
3763
3764         * sysdeps/unix/sysv/linux/kernel-features.h
3765         (__ASSUME_POSIX_TIMERS): Remove.
3766         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3767         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3768         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
3769         Make code unconditional.
3770         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3771         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
3772         Make code unconditional.
3773         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3774         * sysdeps/unix/sysv/linux/clock_nanosleep.c
3775         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
3776         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3777         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
3778         Make code unconditional.
3779         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3780         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
3781         (__libc_missing_posix_timers): Remove.
3782
3783 2012-08-15  Roland McGrath  <roland@hack.frob.com>
3784
3785         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
3786         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
3787
3788         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
3789
3790         * elf/dl-sym.c: Include <stdlib.h>.
3791
3792         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
3793         constants, which avoids warnings in 32-bit builds.
3794
3795         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
3796         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
3797
3798         * misc/lseek.c: File moved to ...
3799         * io/lseek.c: ... here.
3800
3801         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
3802
3803         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
3804         shifting LEN more than 31 bits at once.
3805
3806 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
3807
3808         [BZ #14195]
3809         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
3810         segmentation fault for a case of two empty input strings.
3811         * string/test-strncasecmp.c (check1): Renamed to...
3812         (bz12205): ...this.
3813         (bz14195): Add new testcase for two empty input strings and N > 0.
3814         (test_main): Call new testcase, adapt for renamed function.
3815
3816 2012-08-15  Andreas Jaeger  <aj@suse.de>
3817
3818         [BZ #14090]
3819         * crypt/md5test2.c: New test, based on test supplied by Serge
3820         Belyshev <belyshev@depni.sinp.msu.ru>.
3821         * crypt/Makefile (xtests): Add md5test-giant..
3822         * crypt/Makefile ($(objpfx)md5test-giant): Add.
3823
3824 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
3825
3826         [BZ #14090]
3827         * crypt/md5.c (md5_process_block): Don't assume the buffer
3828         length is less than 2**32.
3829         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
3830         length is less than 2**64.
3831
3832 2012-08-15  Roland McGrath  <roland@hack.frob.com>
3833
3834         * string/str-two-way.h: Include <sys/param.h>.
3835         (MAX): Macro removed.
3836
3837         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
3838         Move #define and #undef of memmove to just before and after
3839         including <string.h>.
3840
3841         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
3842         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
3843         and after including <string.h>.  Move declarations of
3844         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
3845         to before #include "string/memmove.c".
3846
3847         * include/dirent.h: Declare __getdirentries.
3848
3849         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
3850         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
3851
3852 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
3853
3854         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
3855         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
3856         * sysdeps/i386/configure: Regenerated.
3857         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
3858         STABS_CURRENT_FILE, and STABS_FUN.
3859         (END): Remove call to STABS_FUN_END.
3860         (STABS_CURRENT_FILE1): Delete.
3861         (STABS_CURRENT_FILE): Likewise.
3862         (STABS_FUN): Likewise.
3863         (STABS_FUN_END): Likewise.
3864         (STABS_FUN2): Likewise.
3865         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
3866         * sysdeps/x86_64/configure: Regenerated.
3867
3868 2012-08-14  Roland McGrath  <roland@hack.frob.com>
3869
3870         * elf/dl-open.c: Include <atomic.h>.
3871         * elf/dl-lookup.c: Likewise.
3872
3873 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
3874
3875         * sysdeps/unix/sysv/linux/kernel-features.h
3876         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
3877         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
3878         unconditionally.
3879         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
3880         unconditionally.
3881         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
3882         condition on __ASSUME_CLONE_THREAD_FLAGS.
3883
3884 2012-08-14  Andreas Jaeger  <aj@suse.de>
3885
3886         * sysdeps/i386/fpu/libm-test-ulps: Update.
3887
3888 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
3889
3890         * include/atomic.h (atomic_exchange_and_add): Split into ...
3891         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
3892         New atomic macros.
3893
3894 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
3895
3896         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3897
3898 2012-08-13  Jeff Law <law@redhat.com>
3899
3900         * manual/stdio.texi (snprintf): Clarify handling of the trailing
3901         null byte in the output string.
3902
3903 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
3904
3905         * sysdeps/unix/sysv/linux/kernel-features.h
3906         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
3907         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
3908         (__ASSUME_ARG_MAX_STACK_BASED): Define.
3909         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
3910         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
3911         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
3912         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
3913
3914 2012-08-09  Jeff Law <law@redhat.com>
3915
3916         [BZ #13939]
3917         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
3918         When avoid_arena is set, don't retry in the that arena.  Pick the
3919         next one, whatever it might be.
3920         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
3921         (arena_lock): Pass in new parameter to arena_get2.
3922         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
3923         arena_get2.
3924         (__libc_malloc): Unify retrying after main arena failure with
3925         __libc_memalign version.
3926         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
3927
3928 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
3929
3930         [BZ #14166]
3931         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
3932         to __redirect_strstr.
3933         (__strstr_sse42): Use typeof __redirect_strstr.
3934         (__strstr_ia32): Likewise.
3935         (__libc_strstr): New prototype.
3936         (strstr): Renamed to ...
3937         (__libc_strstr): This.
3938         (strstr): New strong alias of __libc_strstr.
3939         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
3940         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
3941         __redirect_time.
3942         Include <time.h>.
3943         (__libc_time): New prototype.
3944         (time_ifunc): Replace time with __libc_time.
3945         (time): New strong alias and hidden definition of __libc_time.
3946         (__GI_time): Remove strong alias.
3947         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
3948         Include <stddef.h>.
3949         (memmove): Redefined to __redirect_memmove.
3950         (__memmove_sse2): Use typeof __redirect_memmove.
3951         (__memmove_ssse3): Likewise.
3952         (__memmove_ssse3_back): Likewise.
3953         (__libc_memmove): New prototype.
3954         (memmove): Renamed to ...
3955         (__libc_memmove): This.
3956         (memmove): New strong alias of __libc_memmove.
3957
3958 2012-08-08  Mark Salter  <msalter@redhat.com>
3959
3960         * elf/elf.h
3961         (R_MN10300_TLS_GD): Define.
3962         (R_MN10300_TLS_LD): Likewise.
3963         (R_MN10300_TLS_LDO): Likewise.
3964         (R_MN10300_TLS_GOTIE): Likewise.
3965         (R_MN10300_TLS_IE): Likewise.
3966         (R_MN10300_TLS_LE): Likewise.
3967         (R_MN10300_TLS_DTPMOD): Likewise.
3968         (R_MN10300_TLS_DTPOFF): Likewise.
3969         (R_MN10300_TLS_TPOFF): Likewise.
3970         (R_MN10300_SYM_DIFF): Likewise.
3971         (R_MN10300_ALIGN): Likewise.
3972         (R_MN10300_NUM): Update.
3973
3974 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
3975
3976         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
3977         Remove.
3978
3979 2012-08-08  Roland McGrath  <roland@hack.frob.com>
3980
3981         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
3982
3983         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
3984         sysdeps/unix -> sysdeps/posix move.
3985         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
3986
3987 2012-08-07      Allan McRae     <allan@archlinux.org>
3988
3989         [BZ #14303]
3990         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
3991         (SUNOS_CPP): Likewise.
3992         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
3993         not found.
3994         (open_input): Call CPP using execvp.
3995
3996 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
3997
3998         * sysdeps/unix/sysv/linux/kernel-features.h
3999         (__ASSUME_PROT_GROWSUPDOWN): Remove.
4000         (__ASSUME_NO_CLONE_DETACHED): Likewise.
4001         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4002         (__ASSUME_WAITID_SYSCALL): Likewise.
4003         * sysdeps/unix/sysv/linux/dl-execstack.c
4004         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
4005         code unconditional.
4006         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
4007         conditional code.
4008         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
4009         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
4010         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
4011         code.
4012         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
4013         unconditional.
4014         [__ASSUME_WAITID_SYSCALL]: Likewise.
4015         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
4016
4017 2012-08-07  Roland McGrath  <roland@hack.frob.com>
4018
4019         * sysdeps/unix/closedir.c: Renamed to ...
4020         * sysdeps/posix/closedir.c: ... here.
4021         * sysdeps/unix/dirfd.c: Renamed to ...
4022         * sysdeps/posix/dirfd.c: ... here.
4023         * sysdeps/unix/dirstream.h: Renamed to ...
4024         * sysdeps/posix/dirstream.h: ... here.
4025         * sysdeps/unix/fdopendir.c: Renamed to ...
4026         * sysdeps/posix/fdopendir.c: ... here.
4027         * sysdeps/unix/opendir.c: Renamed to ...
4028         * sysdeps/posix/opendir.c: ... here.
4029         * sysdeps/unix/readdir.c: Renamed to ...
4030         * sysdeps/posix/readdir.c: ... here.
4031         * sysdeps/unix/readdir_r.c: Renamed to ...
4032         * sysdeps/posix/readdir_r.c: ... here.
4033         * sysdeps/unix/rewinddir.c: Renamed to ...
4034         * sysdeps/posix/rewinddir.c: ... here.
4035         * sysdeps/unix/seekdir.c: Renamed to ...
4036         * sysdeps/posix/seekdir.c: ... here.
4037         * sysdeps/unix/telldir.c: Renamed to ...
4038         * sysdeps/posix/telldir.c: ... here.
4039         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
4040         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
4041         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
4042         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
4043
4044         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
4045         * bits/fcntl.h: ... here.
4046
4047         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
4048         not 0.
4049         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
4050         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
4051         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
4052         (struct flock): Move l_start, l_len to the beginning.
4053         Use __pid_t for l_pid.
4054         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
4055         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
4056         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
4057         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
4058         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
4059         [__USE_LARGEFILE64] (struct flock64): New type.
4060         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
4061
4062         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
4063         * bits/dirent.h: ... here.
4064
4065         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
4066         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
4067
4068 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
4069
4070         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4071         Change from 2.6.0 to 2.6.16.
4072         * sysdeps/unix/sysv/linux/configure: Regenerated.
4073         * sysdeps/unix/sysv/linux/kernel-features.h
4074         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
4075         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
4076         version.
4077         (__ASSUME_UTIMES): Likewise.
4078         (__ASSUME_CLONE_STOPPED): Remove.
4079         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
4080         architectures, not kernel version.
4081         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
4082         (__ASSUME_NO_CLONE_DETACHED): Likewise.
4083         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4084         (__ASSUME_WAITID_SYSCALL): Likewise.
4085         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
4086         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
4087         * README: State 2.6.16 as minimum Linux kernel version.  Do not
4088         refer to older versions.
4089
4090 2012-08-06  Roland McGrath  <roland@hack.frob.com>
4091
4092         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
4093         Define alphasort64 as an alias.
4094         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
4095         Define versionsort64 as an alias.
4096         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
4097         Define scandir64 as an alias.
4098         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
4099         Define scandirat64 as an alias.
4100         * dirent/alphasort64.c (alphasort64):
4101         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
4102         * dirent/versionsort64.c: Likewise.
4103         * dirent/scandir64.c: Likewise.
4104         * dirent/scandirat64.c: Likewise.
4105         * sysdeps/wordsize-64/alphasort.c: File removed.
4106         * sysdeps/wordsize-64/alphasort64.c: File removed.
4107         * sysdeps/wordsize-64/scandir.c: File removed.
4108         * sysdeps/wordsize-64/scandir64.c: File removed.
4109         * sysdeps/wordsize-64/scandirat.c: File removed.
4110         * sysdeps/wordsize-64/scandirat64.c: File removed.
4111         * sysdeps/wordsize-64/versionsort.c: File removed.
4112         * sysdeps/wordsize-64/versionsort64.c: File removed.
4113         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
4114         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
4115         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
4116         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
4117         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
4118         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
4119         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
4120         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
4121
4122         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
4123         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4124         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
4125         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4126         [defined __arch64__ || defined __sparcv9]
4127         (__INO_T_MATCHES_INO64_T): New macro.
4128         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4129         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
4130         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
4131         * sysdeps/unix/sysv/linux/bits/dirent.h
4132         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
4133         (_DIRENT_MATCHES_DIRENT64): New macro.
4134
4135         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
4136         Define lockf64 as an alias.
4137         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
4138         Define fseeko64 as an alias.
4139         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
4140         Define ftello64 as an alias.
4141         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
4142         Define _IO_fgetpos64 and fgetpos64 as aliases.
4143         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
4144         Define _IO_fsetpos64 and fsetpos64 as aliases.
4145         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
4146         Conditionalize body on this.
4147         * libio/fseeko64.c: Likewise.
4148         * libio/ftello64.c: Likewise.
4149         * libio/iofgetpos64.c: Likewise.
4150         * libio/iofsetpos64.c: Likewise.
4151         * sysdeps/wordsize-64/lockf.c: File removed.
4152         * sysdeps/wordsize-64/lockf64.c: File removed.
4153         * sysdeps/wordsize-64/fseeko.c: File removed.
4154         * sysdeps/wordsize-64/fseeko64.c: File removed.
4155         * sysdeps/wordsize-64/ftello.c: File removed.
4156         * sysdeps/wordsize-64/ftello64.c: File removed.
4157         * sysdeps/wordsize-64/iofgetpos.c: File removed.
4158         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
4159         * sysdeps/wordsize-64/iofsetpos.c: File removed.
4160         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
4161         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
4162         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
4163         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
4164         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
4165         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
4166         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
4167         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
4168         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
4169         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
4170         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
4171
4172         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4173         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4174         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
4175         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4176         [defined __arch64__ || defined __sparcv9]
4177         (__OFF_T_MATCHES_OFF64_T): New macro.
4178         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4179         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4180         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4181         (__OFF_T_MATCHES_OFF64_T): New macro.
4182
4183 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
4184
4185         * stdlib/secure-getenv.c (__secure_getenv): Replace
4186         GLIBC_2_16 with GLIBC_2_17.
4187
4188 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
4189
4190         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
4191         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4192
4193 2012-08-03  David S. Miller  <davem@davemloft.net>
4194
4195         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4196
4197 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
4198
4199         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
4200         Remove.
4201         (__ASSUME_CORRECT_SI_PID): Likewise.
4202         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
4203         (__ASSUME_TMPFS_NAME): Likewise.
4204         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
4205         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
4206         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
4207         (HAVE_AUX_SECURE): Make definition unconditional.
4208         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
4209         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
4210
4211 2012-08-03  Roland McGrath  <roland@hack.frob.com>
4212
4213         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
4214         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
4215         * sysdeps/mach/hurd/eloop-threshold.h: New file.
4216         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4217         __eloop_threshold instead of SYMLOOP_MAX.
4218
4219         * sysdeps/generic/eloop-threshold.h: New file.
4220         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
4221         of MAXSYMLINKS.
4222         * elf/chroot_canon.c (chroot_canon): Likewise.
4223
4224 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
4225
4226         [BZ #13717]
4227         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4228         Change to 2.6.0 everywhere.
4229         * sysdeps/unix/sysv/linux/configure: Regenerated.
4230         * sysdeps/unix/sysv/linux/kernel-features.h
4231         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
4232         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
4233         kernel versions.
4234         (__ASSUME_POSIX_TIMERS): Define unconditionally.
4235         (__ASSUME_FUTEX_REQUEUE): Remove.
4236         (__ASSUME_STATFS64): Define unconditionally.
4237         (__ASSUME_AT_SECURE): Likewise.
4238         (__ASSUME_CORRECT_SI_PID): Likewise.
4239         (__ASSUME_TGKILL): Define without depending on kernel version for
4240         i386.
4241         (__ASSUME_UTIMES): Likewise.
4242         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
4243         kernel version.
4244         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
4245         (__ASSUME_TMPFS_NAME): Likewise.
4246         * README: Update reference to Linux kernel versions.
4247
4248 2012-08-02  Marek Polacek  <polacek@redhat.com>
4249
4250         [BZ# 14150]
4251         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
4252         libc_cv_asm_type_prefix with %.
4253         * configure: Regenerated.
4254         * include/libc-symbols.h: Remove comment about
4255         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
4256         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
4257         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
4258         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
4259         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
4260         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
4261         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
4262         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
4263         * elf/tst-unique2mod1.c: Likewise.
4264         * elf/tst-unique1mod2.c: Likewise.
4265         * elf/tst-unique1mod1.c: Likewise.
4266         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
4267         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
4268         Replace ASM_TYPE_DIRECTIVE with .type.
4269         * sysdeps/s390/s390-64/sysdep.h: Likewise.
4270         * sysdeps/i386/sysdep.h: Likewise.
4271         * sysdeps/x86_64/sysdep.h: Likewise.
4272         * sysdeps/sh/sysdep.h: Likewise.
4273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
4274         Do not define ASM_TYPE_DIRECTIVE.
4275         * sysdeps/powerpc/sysdep.h: Likewise.
4276         * sysdeps/powerpc/powerpc32/sysdep.h:
4277         Replace ASM_TYPE_DIRECTIVE with .type.
4278         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
4279         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4280         * sysdeps/i386/fpu/e_powf.S: Likewise.
4281         * sysdeps/i386/fpu/e_expl.S: Likewise.
4282         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4283         * sysdeps/i386/fpu/e_acosh.S: Likewise.
4284         * sysdeps/i386/fpu/e_pow.S: Likewise.
4285         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4286         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4287         * sysdeps/i386/fpu/s_expm1.S: Likewise.
4288         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4289         * sysdeps/i386/fpu/e_log2.S: Likewise.
4290         * sysdeps/i386/fpu/e_log2l.S: Likewise.
4291         * sysdeps/i386/fpu/e_scalb.S: Likewise.
4292         * sysdeps/i386/fpu/e_powl.S: Likewise.
4293         * sysdeps/i386/fpu/e_log10f.S: Likewise.
4294         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4295         * sysdeps/i386/fpu/e_logl.S: Likewise.
4296         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4297         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4298         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4299         * sysdeps/i386/fpu/e_log2f.S: Likewise.
4300         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4301         * sysdeps/i386/fpu/e_log.S: Likewise.
4302         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4303         * sysdeps/i386/fpu/e_logf.S: Likewise.
4304         * sysdeps/i386/fpu/e_log10l.S: Likewise.
4305         * sysdeps/i386/fpu/e_atanh.S: Likewise.
4306         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4307         * sysdeps/i386/fpu/e_log10.S: Likewise.
4308         * sysdeps/i386/fpu/s_frexp.S: Likewise.
4309         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4310         * sysdeps/i386/fpu/s_asinh.S: Likewise.
4311         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4312         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4313         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
4314         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4315         * sysdeps/i386/i686/strtok.S: Likewise.
4316         * sysdeps/i386/i386-mcount.S: Likewise.
4317         * sysdeps/i386/strtok.S: Likewise.
4318         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
4319         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4320         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4321         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4322         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4323         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4324         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4325         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4326         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4327         * sysdeps/x86_64/_mcount.S: Likewise.
4328         * sysdeps/x86_64/strtok.S: Likewise.
4329         * sysdeps/sh/_mcount.S: Likewise.
4330
4331 2012-08-01  Roland McGrath  <roland@hack.frob.com>
4332
4333         * libio/iofopen.c: Include <fcntl.h>.
4334         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
4335         (_IO_fopen64, fopen64): Define as aliases.
4336         * libio/iofopen64.c: Include <fcntl.h>.
4337         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
4338         Conditionalize body on this.
4339         * sysdeps/wordsize-64/iofopen.c: File removed.
4340         * sysdeps/wordsize-64/iofopen64.c: File removed.
4341
4342 2012-08-01  Marek Polacek  <polacek@redhat.com>
4343
4344         * libc/Makeconfig: Use elf in place of binfmt-subdir.
4345         Use dlfcn directly instead of a variable.
4346         (binfmt-subdir): Do not define.
4347         (dlfcn): Likewise.
4348
4349 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
4350
4351         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
4352         Remove all definitions.
4353         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
4354         <kernel-features.h>.
4355         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
4356         (miss_F_GETOWN_EX): Remove all definitions.
4357         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
4358         macro definition.
4359         [!__ASSUME_FCNTL64]: Remove conditional code.
4360         [__ASSUME_FCNTL64]: Make code unconditional.
4361         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
4362         <kernel-features.h>.
4363         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
4364         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
4365         (lockf64) [__NR_fcntl64]: Make code unconditional.
4366         (lockf64) [__ASSUME_FCNTL64]: Likewise.
4367
4368         * sysdeps/unix/sysv/linux/kernel-features.h
4369         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
4370         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
4371         Make code unconditional.
4372         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4373         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
4375         [__NR_vfork]: Make code unconditional.
4376         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4377         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
4379         [__NR_vfork]: Make code unconditional.
4380         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4381         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4382
4383 2012-08-01  Roland McGrath  <roland@hack.frob.com>
4384
4385         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
4386         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
4387
4388         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4389         Define mkstemp64 as an alias.
4390         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4391         Define mkstemps64 as an alias.
4392         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4393         Define mkostemp64 as an alias.
4394         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4395         Define mkostemps64 as an alias.
4396         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
4397         Conditionalize body on this.
4398         * misc/mkostemp64.c: Likewise.
4399         * misc/mkostemps64.c: Likewise.
4400         * misc/mkstemps64.c: Likewise.
4401         * sysdeps/wordsize-64/mkstemp64.c: File removed.
4402         * sysdeps/wordsize-64/mkostemp64.c: File removed.
4403         * sysdeps/wordsize-64/mkostemp.c: File removed.
4404         * sysdeps/wordsize-64/mkstemp.c: File removed.
4405         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
4406         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
4407         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
4408         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
4409
4410         [BZ #14138]
4411         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
4412         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
4413         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
4414         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
4415
4416         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
4417         compat_symbol macros from <shlib-compat.h> rather than the underlying
4418         default_symbol_version and symbol_version macros, so that DEFAULT
4419         lines in shlib-versions are respected.
4420         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
4421
4422 2012-08-01  Florian Weimer  <fweimer@redhat.com>
4423
4424         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
4425         Declare with warn_unused_result.
4426         (setgid, setregid, setegid, setresgid): Likewise.
4427         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
4428         Likewise.
4429         * WUR-REPORT: Remove set*id functions.
4430
4431 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
4432
4433         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
4434
4435 2012-07-31  Roland McGrath  <roland@hack.frob.com>
4436
4437         * include/sys/socket.h (__libc_accept, __libc_accept4):
4438         Add attribute_hidden.
4439         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
4440
4441         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
4442         use of PTR_MANGLE.
4443         * inet/getnetgrent_r.c (setup): Likewise.
4444
4445         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
4446
4447 2012-07-31  David S. Miller  <davem@davemloft.net>
4448
4449         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4450
4451 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
4452
4453         [BZ #13629]
4454         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
4455         value between 1.0 and 2.0 and smaller part has absolute value less
4456         than 1.0.
4457         * math/s_clog10.c (__clog10): Likewise.
4458         * math/s_clog10f.c (__clog10f): Likewise.
4459         * math/s_clog10l.c (__clog10l): Likewise.
4460         * math/s_clogf.c (__clogf): Likewise.
4461         * math/s_clogl.c (__clogl): Likewise.
4462         * math/libm-test.inc (clog_test): Add more tests.
4463         (clog10_test): Likewise.
4464         * sysdeps/i386/fpu/libm-test-ulps: Update.
4465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4466
4467 2012-07-31  Florian Weimer  <fweimer@redhat.com>
4468
4469         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
4470         Exit with zero in case no suitable GID is found, and write a
4471         message to standard error.
4472
4473 2012-07-30  Roland McGrath  <roland@hack.frob.com>
4474
4475         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
4476         rather than to 1.
4477         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
4478         (MAXPATHLEN): Removed.
4479         (NOGROUP, NODEV): New macros.
4480         (setbit, clrbit, isset, isclr): New macros.
4481         (howmany, roundup, powerof2): New macros.
4482         (DEV_BSIZE): New macro.
4483
4484         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
4485         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
4486
4487         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
4488         definition on [!__NO_LONG_DOUBLE_MATH].
4489
4490         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
4491         PTR_MANGLE and PTR_DEMANGLE.
4492
4493         * socket/accept4.c (accept4): Rename to __libc_accept4.
4494         Define accept4 as a weak alias.
4495
4496         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
4497         on [_DIRENT_HAVE_D_TYPE].
4498         * io/ftw.c (ftw_dir): Likewise.
4499
4500         * io/xmknod.c (__xmknod): Don't check PATH for being null.
4501
4502         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
4503
4504         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
4505         Use the BSD numbers rather than the arbitrary ones we had.
4506         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
4507         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
4508         (SIGXCPU, SIGXFSZ): New macros.
4509         (_NSIG): Now 32.
4510
4511         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
4512         initializer on [_LIBC_REENTRANT].
4513
4514         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
4515         definitions inside [_POSIX_MAPPED_FILES].
4516
4517         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
4518
4519         * dirent/opendir.c: Include <fcntl.h>.
4520
4521         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
4522         (__libc_getspecific): Likewise.
4523         (__libc_key_create): Likewise.
4524
4525         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
4526         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
4527         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
4528         (tmpfile64): Define as alias.
4529         * sysdeps/wordsize-64/tmpfile.c: File removed.
4530         * sysdeps/wordsize-64/tmpfile64.c: File removed.
4531         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
4532         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
4533
4534         * stdio-common/vfscanf.c: Include <stdbool.h>.
4535         * nss/makedb.c: Likewise.
4536         * stdio-common/_i18n_number.h: Likewise.
4537         * argp/argp-help.c: Likewise.
4538         * posix/wordexp.c: Likewise.
4539         * sysdeps/posix/spawni.c: Likewise.
4540         * nss/nss_files/files-initgroups.c: Likewise.
4541         * stdio-common/reg-modifier.c: Include <stdlib.h>.
4542         * nss/nss_files/files-initgroups.c: Likewise.
4543         * nss/nss_db/db-netgrp.c: Likewise.
4544         * nss/nss_db/db-initgroups.c: Likewise.
4545         * io/fchmodat.c: Include <sys/stat.h>.
4546
4547         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
4548         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
4549
4550         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
4551         [HAVE_MMAP].
4552
4553         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
4554         Add multiple inclusion protection.
4555
4556 2012-07-27  David S. Miller  <davem@davemloft.net>
4557
4558         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4559
4560 2012-07-27  Gary Benson  <gbenson@redhat.com>
4561
4562         [BZ #14298]
4563         * elf/rtld.c: Include <stap-probe.h>.
4564         (dl_main): Added static probes "init_start" and "init_complete".
4565         * elf/dl-load.c: Include <stap-probe.h>.
4566         (lose): Take new parameter "nsid".
4567         Added static probe "map_failed".
4568         (_dl_map_object_from_fd): Pass namespace id to lose.
4569         Added static probe "map_start".
4570         (open_verify): Pass namespace id to lose.
4571         * elf/dl-open.c: Include <stap-probe.h>.
4572         (dl_open_worker) Added static probes "map_complete", "reloc_start"
4573         and "reloc_complete".
4574         * elf/dl-close.c: Include <stap-probe.h>.
4575         (_dl_close_worker): Added static probes "unmap_start" and
4576         "unmap_complete".
4577         * elf/rtld-debugger-interface.txt: New file documenting the above.
4578
4579 2012-07-26  Roland McGrath  <roland@hack.frob.com>
4580
4581         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
4582         rather than a string variable.
4583         * sunrpc/rpc_main.c (h_output): Likewise.
4584         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
4585
4586 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
4587
4588         * inet/check_native.c: New file.
4589
4590 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
4591
4592         [BZ #13629]
4593         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
4594         if larger part has absolute value 1.0.
4595         * math/s_clog10.c (__clog10): Likewise.
4596         * math/s_clog10f.c (__clog10f): Likewise.
4597         * math/s_clog10l.c (__clog10l): Likewise.
4598         * math/s_clogf.c (__clogf): Likewise.
4599         * math/s_clogl.c (__clogl): Likewise.
4600         * math/libm-test.inc (clog_test): Add more tests.
4601         (clog10_test): Likewise.
4602         * sysdeps/i386/fpu/libm-test-ulps: Update.
4603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4604
4605         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
4606         (pltexit): Likewise.
4607         (La_regs): Likewise.
4608         (La_retval): Likewise.
4609         (int_retval): Likewise.
4610         Update #error for removed macros to refer only to definitions in
4611         tst-audit.h.
4612         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
4613         macro.
4614         (pltexit): Likewise.
4615         (La_regs): Likewise.
4616         (La_retval): Likewise.
4617         (int_retval): Likewise.
4618         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
4619         macro.
4620         (pltexit): Likewise.
4621         (La_regs): Likewise.
4622         (La_retval): Likewise.
4623         (int_retval): Likewise.
4624         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
4625         macro.
4626         (pltexit): Likewise.
4627         (La_regs): Likewise.
4628         (La_retval): Likewise.
4629         (int_retval): Likewise.
4630         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
4631         macro.
4632         (pltexit): Likewise.
4633         (La_regs): Likewise.
4634         (La_retval): Likewise.
4635         (int_retval): Likewise.
4636         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
4637         macro.
4638         (pltexit): Likewise.
4639         (La_regs): Likewise.
4640         (La_retval): Likewise.
4641         (int_retval): Likewise.
4642         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
4643         macro.
4644         (pltexit): Likewise.
4645         (La_regs): Likewise.
4646         (La_retval): Likewise.
4647         (int_retval): Likewise.
4648         * sysdeps/generic/tst-audit.h: Update comment to refer only to
4649         macro definitions in tst-audit.h.
4650         * sysdeps/i386/tst-audit.h: New file.
4651         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
4652         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
4653         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
4654         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
4655         * sysdeps/sh/tst-audit.h: Likewise.
4656         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
4657         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
4658         * sysdeps/x86_64/tst-audit.h: Likewise.
4659
4660 2012-07-26  Andreas Jaeger  <aj@suse.de>
4661
4662         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
4663         ptrace.
4664
4665         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
4666         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
4667         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
4668         PTRACE_O_MASK.
4669         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
4670         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
4671         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
4672
4673         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
4674         value.
4675
4676         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
4677         _sigsys.
4678         (si_call_addr, si_syscall, si_arch): Define new macro.
4679         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
4680         _sigsys.
4681         (si_call_addr, si_syscall, si_arch): Define new marcro.
4682         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
4683         _sigsys.
4684         (si_call_addr, si_syscall, si_arch): Define new macro.
4685         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
4686         _sigsys.
4687         (si_call_addr, si_syscall, si_arch): Define new macro.
4688
4689 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
4690
4691         [BZ #13717]
4692         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4693         Change to 2.4.21 where previously 2.4.1.
4694         * sysdeps/unix/sysv/linux/configure: Regenerated.
4695         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
4696         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
4697         Linux kernel version.
4698         (__ASSUME_STD_AUXV): Remove.
4699         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
4700         kernel version.
4701         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
4702         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
4703         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
4704         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
4705         (__ASSUME_NETLINK_SUPPORT): Likewise.
4706         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
4707         (__no_netlink_support): Remove conditional definition.
4708         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
4709         Remove.
4710         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
4711         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
4712         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
4713         (if_nameindex_ioctl): Remove.
4714         (if_nameindex_netlink): Do not handle __no_netlink_support.
4715         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
4716         code.
4717         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
4718         Remove conditional code.
4719         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
4720         code.
4721         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
4722         unconditional.
4723         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
4724         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
4725         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
4726         Remove.
4727         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
4728         [!__ASSUME_STD_AUXV]: Remove conditional code.
4729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
4730         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
4731         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
4732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
4733         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
4734         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
4735         code.
4736         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
4737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4738         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
4739         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
4740         conditional code.
4741         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
4742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
4743         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
4744         code.
4745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4746         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
4747         conditional code.
4748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
4749         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
4750         code unconditional.
4751         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4752         conditional code.
4753         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4754         unconditional.
4755         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4756         conditional code.
4757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4758         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4759         unconditional.
4760         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4761         conditional code.
4762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
4763         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
4764         code unconditional.
4765         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4766         conditional code.
4767         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4768         unconditional.
4769         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4770         conditional code.
4771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
4772         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
4773         code unconditional.
4774         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4775         conditional code.
4776         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4777         unconditional.
4778         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4779         conditional code.
4780
4781 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
4782
4783         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
4784         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
4785         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4786         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
4787         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
4788         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
4789         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4790         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
4791         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
4792         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
4793         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
4794         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
4795         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
4796         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
4797         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
4798         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
4799         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
4800         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
4801         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
4802         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
4803         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
4804         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
4805         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4806
4807 2012-07-25  Florian Weimer  <fweimer@redhat.com>
4808
4809         * Versions.def: Add GLIBC_2.17.
4810         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
4811         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
4812         Introduce __libc_secure_getenv.
4813         * stdlib/Versions (2.17): Add secure_getenv
4814         (GLIBC_PRIVATE): Add __libc_secure_getenv.
4815         * stdlib/secure-getenv.c: Rename __secure_getenv to
4816         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
4817         symbol __secure_getenv for GLIBC_2.0.
4818         * stdlib/tst-secure-getenv.c: New.
4819         * stdlib/Makefile (tests): Add testcase.
4820         * manual/startup.texi (Environment Access): Document
4821         secure_getenv.
4822         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
4823         __libc_secure_getenv.
4824         * inet/ruserpass.c (ruserpass): Likewise.
4825         * malloc/mtrace.c (mtrace): Likewise.
4826         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
4827         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
4828         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
4829         * sysdeps/posix/tempname.c: Likewise.  Evaluate
4830         HAVE_SECURE_GETENV.
4831         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
4832         __secure_getenv to __libc_secure_getenv.
4833         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
4834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4835         Likewise.
4836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4837         Likewise.
4838         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
4839         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
4840         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
4841         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
4842         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
4843         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
4844         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
4845
4846 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
4847
4848         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
4849         (struct La_i86_retval): Likewise.
4850         (struct La_x86_64_regs): Likewise.
4851         (struct La_x86_64_retval): Likewise.
4852         (struct La_x32_regs): Likewise.
4853         (struct La_x32_retval): Likewise.
4854         (struct La_ppc32_regs): Likewise.
4855         (struct La_ppc32_retval): Likewise.
4856         (struct La_ppc64_regs): Likewise.
4857         (struct La_ppc64_retval): Likewise.
4858         (struct La_sh_regs): Likewise.
4859         (struct La_sh_retval): Likewise.
4860         (struct La_s390_32_regs): Likewise.
4861         (struct La_s390_32_retval): Likewise.
4862         (struct La_s390_64_regs): Likewise.
4863         (struct La_s390_64_retval): Likewise.
4864         (struct La_sparc32_regs): Likewise.
4865         (struct La_sparc32_retval): Likewise.
4866         (struct La_sparc64_regs): Likewise.
4867         (struct La_sparc64_retval): Likewise.
4868         (struct audit_ifaces): Remove architecture-specific pltenter and
4869         pltexit members.
4870         * sysdeps/i386/ldsodefs.h: New file.
4871         * sysdeps/powerpc/ldsodefs.h: Likewise.
4872         * sysdeps/s390/ldsodefs.h: Likewise.
4873         * sysdeps/sh/ldsodefs.h: Likewise.
4874         * sysdeps/sparc/ldsodefs.h: Likewise.
4875         * sysdeps/x86_64/ldsodefs.h: Likewise.
4876
4877 2012-07-25  Marek Polacek  <polacek@redhat.com>
4878
4879         [BZ #6808]
4880         * math/libm-test.inc (yn_test): Add another test.
4881         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
4882         to ERANGE when the result is +-Inf.
4883         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
4884         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
4885         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
4886         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
4887
4888 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
4889
4890         * conform/data/time.h-data (NULL): Use macro-constant.  Require
4891         equal to 0.
4892         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
4893         clock_t.
4894         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
4895
4896 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
4897
4898         * configure.in <sysdeps resolving>: Correct printing
4899         Implies_before.
4900         * configure: Regenerate.
4901
4902 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
4903
4904         * math/w_ilogb.c: Include <limits.h>.
4905         * math/w_ilogbl.c: Likewise.
4906
4907 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
4908
4909         * manual/lang.texi (__va_copy): Document primarily as ISO C99
4910         va_copy.  Document allowing for unavailable va_copy only as
4911         pre-C99 compatibility.
4912         * manual/string.texi (Copying and Concatenation): Use va_copy
4913         instead of __va_copy in concat example.
4914
4915 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
4916
4917         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
4918         (__sendto): Use create_address_port.  Initialize APORT and deallocate
4919         it if not null.
4920
4921         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
4922         with O_NOLINK passed to __file_name_lookup.
4923
4924         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
4925         with O_NOLINK passed to __file_name_lookup.
4926
4927         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
4928         negative N or less than NGIDS.
4929
4930         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
4931         type to string_t.  Set ERANGE as errno and return it if NAME is not big
4932         enough.  Use memcpy instead of strncpy.
4933
4934 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
4935
4936         * elf/Makefile (check-data): Remove.
4937         (localplt.data): New vpath directive.
4938         ($(objpfx)check-localplt.out): Use localplt.data from vpath
4939         instead of $(check-data).
4940         * scripts/data/localplt-generic.data: Move to ...
4941         * sysdeps/generic/localplt.data: ... here.
4942         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
4943         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
4944         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
4945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
4946         ... here.
4947         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
4948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
4949         ... here.
4950         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
4951         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
4952         ... here.
4953         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
4954         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
4955         ... here.
4956         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
4957         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
4958         ... here.
4959         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
4960         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
4961         ... here.
4962
4963 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4964
4965         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
4966         PPC32 and PPC64 files.
4967         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
4968         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
4969
4970 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4971
4972         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
4973         __makecontext_ret to ...
4974         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
4975         ... here and call exit if uc_link is NULL.  New file.
4976         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
4977         __makecontext_ret.S.
4978         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
4979         __makecontext_ret to ...
4980         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
4981         ... here and call exit if uc_link is NULL.  New file.
4982         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
4983         __makecontext_ret.S.
4984
4985 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4986
4987         * elf/elf.h (R_390_IRELATIVE): New definition.
4988         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
4989         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
4990         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
4991         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
4992         (elf_machine_lazy_rel): Likewise.
4993         * sysdeps/s390/dl-irel.h: New file.
4994         * sysdeps/s390/s390-64/memcpy.S: New asm code.
4995         * sysdeps/s390/s390-64/memset.S: New asm code.
4996         * sysdeps/s390/s390-64/memcmp.S: New asm code.
4997         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
4998         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
4999         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
5000         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
5001         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
5002         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
5003         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
5004         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
5005         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
5006         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
5007         * sysdeps/s390/s390-32/memcpy.S: New asm code.
5008         * sysdeps/s390/s390-32/memset.S: New asm code.
5009         * sysdeps/s390/s390-32/memcmp.S: New asm code.
5010
5011 2012-07-17  Marek Polacek  <polacek@redhat.com>
5012
5013         [BZ #14349]
5014         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
5015         * sysdeps/s390/s390-64/configure.in: Likewise.
5016         * sysdeps/sparc/configure.in: Likewise.
5017         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
5018         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
5019         * sysdeps/i386/configure.in: Likewise.
5020         * sysdeps/x86_64/configure.in: Likewise.
5021         * sysdeps/sh/configure.in: Likewise.
5022         * sysdeps/s390/s390-32/configure: Regenerated.
5023         * sysdeps/s390/s390-64/configure: Likewise.
5024         * sysdeps/x86_64/configure: Likewise.
5025         * sysdeps/sh/configure: Likewise.
5026         * sysdeps/powerpc/powerpc64/configure: Likewise.
5027         * sysdeps/powerpc/powerpc32/configure: Likewise.
5028         * sysdeps/sparc/configure: Likwise.
5029         * sysdeps/i386/configure: Likewise.
5030
5031         * elf/dl-open.c: Comment fixes.
5032
5033 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
5034
5035         * Makefile [CXX] (check-data): Remove.
5036         [CXX] (c++-types.data): New vpath directive.
5037         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
5038         vpath.  Do not allow for C++ type data being missing.
5039         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
5040         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
5041         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
5042         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
5043         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
5044         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
5045         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
5046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5047         ... here.
5048         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
5049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5050         ... here.
5051         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
5052         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
5053         ... here.
5054         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
5055         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
5056         ... here.
5057         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
5058         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
5059         ... here.
5060         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
5061         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
5062         ... here.
5063         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
5064         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
5065         ... here.
5066         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
5067         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
5068
5069         * elf/tls-macros.h (TLS_LE): Move architecture-specific
5070         definitions to architecture-specific files.
5071         (TLS_IE): Likewise.
5072         (TLS_LD): Likewise.
5073         (TLS_GD): Likewise.
5074         * sysdeps/i386/tls-macros.h: New file.
5075         * sysdeps/powerpc/tls-macros.h: Likewise.
5076         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
5077         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
5078         * sysdeps/sh/tls-macros.h: Likewise.
5079         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
5080         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
5081         * sysdeps/x86_64/tls-macros.h: Likewise.
5082
5083 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
5084
5085         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
5086         zero value for regular exit case.
5087
5088         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
5089         (__start_context): Preserve zero value for regular exit case.
5090
5091 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
5092             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5093
5094         * manual/setjmp.texi (setcontext): Clarify normal process
5095         termination when uc_link is the null pointer.
5096         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
5097         exit call.
5098
5099 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
5100
5101         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
5102         preprocessor.  Test for each exception mask separately.
5103
5104 2012-07-16  Andreas Jaeger  <aj@suse.de>
5105
5106         * po/ru.po: Update from translation team.
5107
5108 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
5109
5110         * conform/data/string.h-data (NULL): Use macro-constant.  Require
5111         equal to 0.
5112         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5113         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5114         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
5115         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
5116         [ISO || ISO99 || ISO11] (*_t): Do not allow.
5117
5118 2012-07-13  Andreas Jaeger  <aj@suse.de>
5119
5120         * po/fr.po: Update from translation team.
5121
5122 2012-07-12  Marek Polacek  <polacek@redhat.com>
5123
5124         [BZ #14173]
5125         * math/libm-test.inc (yn_test): Add test for BZ #14173.
5126         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
5127         loop condition.
5128
5129 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
5130
5131         [BZ #13717]
5132         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5133         Change to 2.4.1 where previously 2.4.0.
5134         * sysdeps/unix/sysv/linux/configure: Regenerated.
5135         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
5136         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
5137         version.
5138         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
5139         (__ASSUME_AT_CLKTCK): Remove.
5140         (__ASSUME_AT_PAGESIZE): Likewise.
5141         (__ASSUME_AT_XID): Likewise.
5142         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
5143         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
5144         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
5145         unconditionally.
5146         (HAVE_AUX_PAGESIZE): Likewise.
5147         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
5148         [__ASSUME_AT_CLKTCK]: Make code unconditional.
5149         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
5150
5151 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
5152
5153         [BZ #14307]
5154         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
5155         the temporary buffer used to invoke __gethostbyname2_r,
5156         __gethostbyaddr_r and gethostbyname4_r to make room for struct
5157         host_data / struct gaih_addrtuple.
5158         * resolv/nss_dns/dns-host.c (global scope): Move definition of
5159         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
5160         header file nss/nsswitch.h.
5161         * nss/nsswitch.h (global scope): Add definition of implementation
5162         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
5163         resolv/nss_dns/dns-host.c).
5164
5165 2012-07-11  Andreas Jaeger  <aj@suse.de>
5166
5167         * po/fr.po: Update from translation team.
5168
5169         * po/sv.po: Update from translation team
5170         * po/fr.po: Another update from translation team.
5171
5172 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5173
5174         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
5175         for subnormals or multiply small sinh result by itself.
5176         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5177         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5178
5179 2012-07-11  David S. Miller  <davem@davemloft.net>
5180
5181         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5182
5183 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
5184
5185         [BZ #14347]
5186         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
5187         (INTERNAL_MARK): Shift it here.
5188
5189 2012-07-10  Marek Polacek  <polacek@redhat.com>
5190
5191         [BZ #14151]
5192         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
5193         libc_cv_asm_global_directive with .globl.
5194         * configure: Regenerated.
5195         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
5196         with .globl.
5197         * sysdeps/i386/configure: Regenerated.
5198         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
5199         with .globl.
5200         * sysdeps/x86_64/configure: Regenerated.
5201         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
5202         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
5203         * elf/tst-unique2mod2.c: Likewise.
5204         * elf/tst-unique2mod1.c: Likewise.
5205         * elf/tst-unique1mod2.c: Likewise.
5206         * elf/tst-unique1mod1.c: Likewise.
5207         * sysdeps/s390/s390-32/sysdep.h: Likewise.
5208         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5209         * sysdeps/s390/s390-64/sysdep.h: Likewise.
5210         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5211         * sysdeps/mach/sysdep.h: Likewise.
5212         * sysdeps/i386/sysdep.h: Likewise.
5213         * sysdeps/i386/i386-mcount.S: Likewise.
5214         * sysdeps/x86_64/_mcount.S: Likewise.
5215         * sysdeps/x86_64/sysdep.h: Likewise.
5216         * sysdeps/sh/_mcount.S: Likewise.
5217         * sysdeps/sh/sysdep.h: Likewise.
5218         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
5219         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
5220         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
5221         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5222         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
5223         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
5224         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
5225         * locale/localeinfo.h: Likewise.
5226         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
5227         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
5228
5229 2012-07-09  Roland McGrath  <roland@hack.frob.com>
5230
5231         [BZ #14336]
5232         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
5233         system".
5234         * manual/message.texi (The Uniforum approach): Likewise.
5235         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
5236         (glibc iconv Implementation): Likewise.
5237
5238 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
5239
5240         [BZ #14337]
5241         * math/s_clog.c (__clog): Avoid scaling a value down where that
5242         could result in underflow.
5243         * math/s_clog10.c (__clog10): Likewise.
5244         * math/s_clog10f.c (__clog10f): Likewise.
5245         * math/s_clog10l.c (__clog10l): Likewise.
5246         * math/s_clogf.c (__clogf): Likewise.
5247         * math/s_clogl.c (__clogl): Likewise.
5248         * math/libm-test.inc (clog_test): Add more tests.
5249         (clog10_test): Likewise.
5250         * sysdeps/i386/fpu/libm-test-ulps: Update.
5251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5252
5253 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
5254
5255         [BZ #14283]
5256         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
5257         by 7 not 8 to examine high bit of fractional part.
5258
5259         [BZ #14042]
5260         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
5261         for call to __mcount_internal.
5262         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
5263         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
5264         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
5265
5266 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
5267
5268         [BZ #14154]
5269         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
5270         approximation for values within 0x1p-13f of an odd multiple of
5271         pi/4.
5272         * math/libm-test.inc (tan_test): Do not allow spurious underflow
5273         exception.  Add more tests.
5274         * sysdeps/i386/fpu/libm-test-ulps: Update.
5275
5276         [BZ #6778]
5277         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
5278         inputs and return -1 for them.  Do not check for +Inf in case not
5279         reachable for +Inf.
5280         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5281         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
5282         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
5283         and return -1 for them.  Do not check for +Inf in case not
5284         reachable for +Inf.
5285         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
5286         define.
5287         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
5288         and return -1 for them.  Do not check for +Inf in case not
5289         reachable for +Inf.
5290         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
5291         spurious underflow.
5292         * sysdeps/i386/fpu/libm-test-ulps: Update.
5293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5294
5295 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
5296
5297         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
5298
5299 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
5300
5301         [BZ #14157]
5302         [BZ #14331]
5303         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
5304         could result in spurious underflow.  Scale down values above
5305         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
5306         * math/s_csqrtf.c (__csqrtf): Likewise.
5307         * math/s_csqrtl.c (__csqrtl): Likewise.
5308         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
5309         spurious underflow.
5310         * sysdeps/i386/fpu/libm-test-ulps: Update.
5311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5312
5313 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
5314
5315         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
5316         xopen-msg.sed.
5317         * catgets/xopen-msg.awk: New file.
5318         * catgets/xopen-msg.sed: Removed.
5319
5320         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
5321         po2text.sed.
5322         * intl/po2test.awk: New file.
5323         * intl/po2test.sed: Removed.
5324
5325 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
5326
5327         [BZ #14328]
5328         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
5329         or multiply small sinh result by itself.
5330         * math/s_ctanf.c (__ctanf): Likewise.
5331         * math/s_ctanh.c (__ctanh): Likewise.
5332         * math/s_ctanhf.c (__ctanhf): Likewise.
5333         * math/s_ctanhl.c (__ctanhl): Likewise.
5334         * math/s_ctanl.c (__ctanl): Likewise.
5335         * math/libm-test.inc (ctan_test_tonearest): New function.
5336         (ctan_test_towardzero): Likewise.
5337         (ctan_test_downward): Likewise.
5338         (ctan_test_upward): Likewise.
5339         (ctanh_test_tonearest): Likewise.
5340         (ctanh_test_towardzero): Likewise.
5341         (ctanh_test_downward): Likewise.
5342         (ctanh_test_upward): Likewise.
5343         (main): Call these new functions.
5344         * sysdeps/i386/fpu/libm-test-ulps: Update.
5345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5346
5347 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
5348
5349         * .gitignore: Delete /ports entry.
5350
5351 2012-07-03  Andreas Jaeger  <aj@suse.de>
5352
5353         * po/bg.po: Update from translation team.
5354         * po/cs.po: Likewise.
5355         * po/de.po: Likewise.
5356         * po/hr.po: Likewise.
5357         * po/nl.pl: Likewise.
5358         * po/pl.po: Likewise.
5359         * po/vi.po: Likewise.
5360
5361 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
5362
5363         * Makeconfig [!+link] (+link-before-libc): New variable.
5364         [!+link] (+link-after-libc): Likewise.
5365         [!+link] (+link-tests): Likewise.
5366         [!+link] (+link): Define in terms of $(+link-before-libc) and
5367         $(+link-after-libc).
5368         [!+link-static] (+link-static-before-libc): New variable.
5369         [!+link-static] (+link-static-after-libc): Likewise.
5370         [!+link-static] (+link-static-tests): Likewise.
5371         [!+link-static] (+link-static): Define in terms of
5372         $(+link-static-before-libc) and $(+link-static-after-libc).
5373         [build-shared] (link-libc-before-gnulib): New variable.
5374         [build-shared] (link-libc-tests): Likewise.
5375         [build-shared] (link-libc): Define in terms of
5376         $(link-libc-before-gnulib).
5377         [!build-shared] (link-libc-tests): New variable.
5378         (link-libc-static-tests): New variable.
5379         [!gnulib] (gnulib-arch): New variable.
5380         [!gnulib] (gnulib-tests): Likewise.
5381         [!gnulib] (static-gnulib-arch): Likewise.
5382         [!gnulib] (static-gnulib-tests): Likewise.
5383         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
5384         Define with "=" instead of ":=".
5385         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
5386         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
5387         * Rules (binaries-all-notests): New variable.
5388         (binaries-all-tests): Likewise.
5389         (binaries-static-notests): Likewise.
5390         (binaries-static-tests): Likewise.
5391         (binaries-all): Define using $(binaries-all-notests) and
5392         $(binaries-all-tests).
5393         (binaries-static): Define using $(binaries-static-notests) and
5394         $(binaries-static-tests).
5395         (binaries-shared-tests): New variable.
5396         (binaries-shared-notests): Likewise.
5397         (binaries-shared): Remove variable.
5398         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
5399         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
5400         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
5401         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
5402         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
5403         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
5404         * elf/Makefile (sln-modules): New variable.
5405         (extra-objs): Add $(sln-modules:=.o).
5406         (ldconfig-modules): Add static-stubs.
5407         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
5408         * elf/static-stubs.c: New file.
5409
5410         [BZ #14283]
5411         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
5412         by 7 not 8 to examine high bit of fractional part.  Use volatile
5413         variables when splitting into final array of floats if
5414         __FLT_EVAL_METHOD__ != 0.
5415         * math/libm-test.inc (cos_test): Add another test.
5416         (sin_test): Likewise.
5417         * sysdeps/i386/fpu/libm-test-ulps: Update.
5418
5419         [BZ #14273]
5420         * math/libm-test.inc (cosh_test): Add more tests.
5421
5422         * version.h (RELEASE): Set to "development".
5423         (VERSION): Set to "2.16.90".
5424
5425 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
5426
5427         * NEWS: Update copyright. Remove last-updated date.
5428         Mention math library bug fixes and timezone data changes.
5429         * README: Mention GNU/Hurd, x32, and HPPA support status.
5430
5431 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
5432
5433         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
5434
5435 2012-06-27  Andreas Jaeger  <aj@suse.de>
5436
5437         * manual/contrib.texi (Contributors): Add Samuel Thibault.
5438
5439 2012-06-25  Andreas Jaeger  <aj@suse.de>
5440
5441         * sysdeps/s390/fpu/libm-test-ulps: Update.
5442
5443 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
5444             Thomas Schwinge  <thomas@codesourcery.com>
5445
5446         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
5447         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
5448         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
5449         fanotify_mark.
5450
5451 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
5452
5453         * sysdeps/mach/start.c: Remove file.
5454         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
5455         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
5456         * sysdeps/sh/init-first.c: Likewise.
5457
5458         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
5459         registers for frame unwinding purposes, add CFI directives.
5460         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
5461         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
5462         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
5463         Likewise.
5464
5465         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
5466         __fortify_fail returning.
5467         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
5468
5469         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
5470         sysdeps/sh/____longjmp_chk.S.
5471         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
5472         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
5473         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
5474         (gen-as-const-headers): Append sigaltstack-offsets.sym.
5475
5476         * sysdeps/sh/abort-instr.h: New file.
5477         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
5478         process in case exit returns.
5479
5480         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
5481         initialize the GOT register before use.
5482
5483         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
5484         calculation of ARGC > 4.
5485
5486         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
5487         meaningful names to some local labels.
5488
5489 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
5490             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5491
5492         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
5493         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
5494         (__arch_compare_and_exchange_val_16_acq): Likewise.
5495         (__arch_compare_and_exchange_val_32_acq): Likewise.
5496         (atomic_exchange_and_add): Fix gUSA sequence.
5497         (atomic_add): Likewise.
5498         (atomic_add_negative): Likewise.
5499         (atomic_add_zero): Likewise.
5500         (atomic_bit_test_set): Likewise.
5501
5502 2012-06-22  Andreas Schwab  <schwab@redhat.com>
5503
5504         [BZ #13579]
5505         * include/link.h (struct link_map): Add l_free_initfini.
5506         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
5507         l_initfini.
5508         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
5509         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
5510         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
5511         set.
5512
5513 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
5514
5515         * configure.in: Use AC_LANG_SOURCE.
5516         * configure: Regenerate.
5517
5518 2012-06-22  Roland McGrath  <roland@hack.frob.com>
5519
5520         * configure.in (libc_cv_localstatedir): New substituted variable.
5521         * configure: Regenerated.
5522         * config.make.in (localstatedir): New variable, substituted from
5523         libc_cv_localstatedir.
5524         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
5525         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
5526         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
5527         * sysdeps/gnu/configure: Regenerated.
5528
5529 2012-06-21  Jeff Law  <law@redhat.com>
5530
5531         [BZ #14277]
5532         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
5533         free.  Simplify list management for _LIBC case.
5534
5535 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
5536
5537         [BZ #14273]
5538         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
5539         Clear sign bit of 64-bit integer value before comparing against
5540         overflow value.
5541
5542         * sysdeps/mach/configure: Regenerated.
5543
5544 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
5545
5546         [BZ #14278]
5547         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
5548
5549 2012-06-21  Jeff Law  <law@redhat.com>
5550
5551         [BZ #13882]
5552         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
5553         uint16_t for elements in the "seen" array to avoid char overflows.
5554         * elf/dl-fini.c (_dl_sort_fini): Likewise.
5555         * elf/dl-open.c (dl_open_worker): Likewise.
5556
5557 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
5558
5559         * scripts/list-sources.sh: Scan PORTS for translations.
5560         * po/libc.pot: Regenerated.
5561
5562 2012-06-21  Andreas Jaeger  <aj@suse.de>
5563
5564         [BZ #12194]
5565         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
5566         warning.
5567         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
5568         * bits/byteswap-16.h (__bswap_16): Likewise.
5569         * bits/byteswap.h (__bswap_constant_16): Likewise.
5570
5571 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
5572
5573         [BZ #14117]
5574         * sysdeps/i386/fpu_control.h: Removed.
5575         * sysdeps/x86_64/fpu_control.h: Moved to ...
5576         * sysdeps/x86/fpu_control.h: Here.
5577
5578         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
5579         (_FPU_SETCW): Likewise.
5580
5581 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
5582
5583         [BZ #14117]
5584         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
5585         * sysdeps/x86/fpu/bits/mathinline.h: This.
5586         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
5587
5588         [BZ #14050]
5589         [BZ #14117]
5590         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
5591         functions if __x86_64__ is defined.
5592
5593 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
5594
5595         * string/endian.h: Add !__ASSEMBLER__ condition for including
5596         conversion interfaces.
5597
5598 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
5599
5600         [BZ #14241]
5601         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
5602         of ABS(x) in calculating zero to negative powers other than odd
5603         integers.
5604         * math/libm-test.inc (pow_test): Add more tests.
5605
5606 2012-06-15  Andreas Jaeger  <aj@suse.de>
5607
5608         * manual/contrib.texi (Contributors): Update entry of Liubov
5609         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
5610         Machado Filho.
5611
5612 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
5613
5614         * string/string.h: Add __wur to GNU version of strerror_r.
5615
5616 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
5617
5618         [BZ #14229]
5619         * string/Makefile (tests): Add tst-strtok_r.
5620         * string/tst-strtok_r.c: New file.
5621         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
5622         RAX_LP/RDX_LP on SAVE_PTR.
5623
5624 2012-06-14  Roland McGrath  <roland@hack.frob.com>
5625
5626         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
5627
5628 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
5629
5630         * libm_test.inc (csqrt_test): Allow more spurious underflow
5631         exceptions.
5632         (j0_test): Likewise.
5633         (j1_test): Likewise.
5634         (y0_test): Likewise.
5635         (y1_test): Likewise.
5636
5637 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
5638
5639         * po/Makefile (libc.pot): Use UTF-8 charset.
5640
5641 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
5642
5643         [BZ #14210]
5644         Suppress sign-conversion warning from FD_SET.
5645         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
5646         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
5647         not unsigned long int.
5648         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
5649
5650 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
5651
5652         [BZ #14050]
5653         [BZ #14117]
5654         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
5655         __extern_always_inline instead of __extern_inline.
5656         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
5657         (__signbit): Likewise.
5658         (__signbitl): Support C++ namespace.
5659         (lrintf): New inline function.
5660         (lrint): Likewise.
5661         (llrintf): Likewise.
5662         (llrint): Likewise.
5663         (fmaxf): Likewise.
5664         (fmax): Likewise.
5665         (fminf): Likewise.
5666         (fmin): Likewise.
5667         (rint): Likewise.
5668         (rintf): Likewise.
5669         (ceil): Likewise.
5670         (ceilf): Likewise.
5671         (floor): Likewise.
5672         (floorf): Likewise.
5673         (nearbyint): Likewise.
5674         (nearbyintf): Likewise.
5675
5676 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
5677
5678         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
5679         non-default versions.
5680
5681 2012-06-11  Roland McGrath  <roland@hack.frob.com>
5682
5683         [BZ #14218]
5684         * manual/argp.texi (Argp): Reword argp_parse description slightly.
5685
5686 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
5687
5688         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
5689         (FE_UPWARD, FE_DOWNWARD): Don't define.
5690         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
5691         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
5692
5693         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
5694         reading it.
5695         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
5696         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
5697
5698 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5699
5700         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
5701         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
5702         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
5703         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
5704
5705 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
5706
5707         [BZ #14117]
5708         * sysdeps/i386/fpu/bits/fenv.h: Removed.
5709         * sysdeps/i386/fpu/Implies: New file.
5710         * sysdeps/x86_64/fpu/Implies: Likewise.
5711         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
5712         * sysdeps/x86/fpu/bits/fenv.h: This.
5713
5714         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
5715         __SSE_MATH__.
5716
5717 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
5718
5719         [BZ #14134]
5720         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
5721         character 0xffff that matches the last element of the
5722         conversion table.
5723
5724 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5725
5726         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
5727         fmodl commit.
5728
5729 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5730
5731         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
5732         values higher than 25.6283.
5733
5734 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5735
5736         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
5737         subnormal exponent extraction and add some __builtin_expect.
5738         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
5739         Fix for subnormal mantissa calculation.
5740
5741 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
5742
5743         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
5744         cpu2 is -1 and errno is not ENOSYS.
5745
5746 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
5747
5748         [BZ #14117]
5749         * sysdeps/i386/i486/bits/string.h: Renamed to ...
5750         * sysdeps/x86/bits/string.h: This.
5751         * sysdeps/x86_64/bits/string.h: Removed.
5752
5753         * sysdeps/i386/i486/bits/string.h: Define inline functions only
5754         if not compiling for x86-64, but compiling for >= i486.
5755
5756         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
5757         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
5758
5759         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
5760         New macro from Linux kernel 3.4.0.
5761         (FP_XSTATE_MAGIC2): Likewise.
5762         (FP_XSTATE_MAGIC2_SIZE): Likewise.
5763         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
5764         (struct _fpx_sw_bytes): New struct.
5765         (struct _xsave_hdr): Likewise.
5766         (struct _ymmh_state): Likewise.
5767         (struct _xstate): Likewise.
5768
5769         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
5770         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
5771         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
5772         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
5773         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
5774         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
5775
5776         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
5777         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
5778         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
5779         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
5780         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
5781         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
5782
5783 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5784
5785         [BZ #13743]
5786         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
5787         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
5788         (sysdep_headers): Include sys/platform/ppc.h.
5789         * sysdeps/powerpc/test-gettimebase.c: Test for
5790         __ppc_get_timebase() to catch future ISA opcode/insn changes.
5791         * manual/Makefile (appendices): Include platform.texi.
5792         * manual/contrib.texi (Contributors): Update @node pointers.
5793         * manual/maint.texi (Maintenance): Likewise.
5794         (Platform): New node.
5795         * manual/platform.texi: New file.  Document the new features.
5796
5797 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
5798             Jakub Jelinek  <jakub@redhat.com>
5799
5800         [BZ #14188]
5801         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
5802         where __builtin_expect is unavailable.
5803
5804 2012-06-03  David S. Miller  <davem@davemloft.net>
5805
5806         * stdlib/longlong.h: Updated from GCC.
5807
5808 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
5809
5810         [BZ #14042]
5811         * sysdeps/powerpc/powerpc32/mcount.c: New file.
5812         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
5813         __mcount_internal.
5814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
5815         (GLIBC_2.16): Likewise.
5816
5817 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
5818
5819         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
5820
5821 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
5822
5823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
5824         (default-abi): New variable.
5825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
5826         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
5827         variable.
5828         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
5829         Likewise.
5830         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
5831         Likewise.
5832         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
5833         Likewise.
5834
5835         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
5836         definition.  Document in comment.
5837
5838 2012-06-01  David S. Miller  <davem@davemloft.net>
5839
5840         * stdlib/longlong.h: Updated from GCC.
5841
5842 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
5843
5844         [BZ #14117]
5845         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
5846         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
5847         sys/debugreg.h sys/io.h here.
5848         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
5849         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
5850         sys/io.h.
5851         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
5852         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
5853         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
5854         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
5855         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
5856         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
5857
5858         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
5859         Define only if __x86_64__ is defined.
5860
5861 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
5862
5863         [BZ #14048]
5864         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
5865         Use int64_t for variable i.
5866         * math/libm-test.inc (fmod_test): Add more tests.
5867
5868         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
5869         z computation is not scheduled after fetestexcept.
5870         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
5871         Use math_force_eval instead of asm to ensure calculation scheduled
5872         before exception test.
5873         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
5874         Ensure a1 + u.d computation is not scheduled after fetestexcept.
5875
5876 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
5877
5878         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
5879         computation is not scheduled after fetestexcept.
5880
5881 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
5882
5883         [BZ #14117]
5884         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
5885         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
5886
5887 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5888
5889         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
5890         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
5891
5892 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
5893
5894         [BZ #14117]
5895         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
5896         <bits/wordsize.h>.
5897         (__WCHAR_MIN): Support __WORDSIZE == 64.
5898         (__WCHAR_MAX): Likewise.
5899
5900         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
5901         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
5902
5903         [BZ #14183]
5904         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
5905         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
5906
5907         [BZ #14117]
5908         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
5909         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
5910
5911         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
5912         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
5913
5914         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
5915         Defined to 1 if __x86_64__ isn't defined.
5916         (_STAT_VER_LINUX_OLD): New.
5917         (st_atime): Remove duplicate.
5918         (st_mtime): Likewise.
5919         (st_ctime): Likewise.
5920
5921 2012-05-31  David S. Miller  <davem@davemloft.net>
5922
5923         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
5924         entries.
5925
5926 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
5927
5928         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
5929         gen-libm-test.pl.
5930
5931         [BZ #14132]
5932         * elf/dl-reloc.c: Include <_itoa.h>.
5933         (_dl_reloc_bad_type): Remove use of INTUSE.
5934         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
5935         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
5936         * stdio-common/psiginfo.c (psiginfo): Likewise.
5937         * stdio-common/psignal.c (psignal): Likewise.
5938         * string/strsignal.c (strsignal): Likewise.
5939         * include/signal.h (_sys_siglist): Declare hidden proto.
5940         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
5941         INTVARDEF with libc_hidden_data_def.
5942         * stdio-common/itoa-udigits.c: Likewise.
5943         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
5944         (_itoa_lower_digits_internal): Remove declaration.
5945         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
5946         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
5947         (_sys_sigabbrev_internal): Remove aliases.
5948         (_sys_siglist): Define hidden alias.
5949
5950 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
5951
5952         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5953         bits/sysctl.h.
5954
5955 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
5956
5957         [BZ #14117]
5958         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
5959         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
5960
5961         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
5962         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
5963         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
5964         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
5965         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
5966         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
5967
5968         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
5969         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
5970         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
5971
5972         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
5973         with __addr.
5974         (insw): Likewise.
5975         (insl): Likewise.
5976         (outsb): Likewise.
5977         (outsw): Likewise.
5978         (outsl): Likewise.
5979
5980         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
5981         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
5982         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
5983
5984         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
5985         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
5986         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
5987         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
5988         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
5989         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
5990
5991         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
5992         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
5993
5994         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
5995         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
5996
5997         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
5998         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
5999         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
6000
6001         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
6002         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
6003         to ...
6004         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
6005
6006         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
6007         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
6008         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
6009
6010         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
6011         for x86-64.
6012         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
6013
6014 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
6015
6016         * math/math.h (M_El): Use two more decimal places.
6017         (M_LOG2El): Likewise.
6018         (M_LOG10El): Likewise.
6019         (M_LN2l): Likewise.
6020         (M_LN10l): Likewise.
6021         (M_PIl): Likewise.
6022         (M_PI_2l): Likewise.
6023         (M_PI_4l): Likewise.
6024         (M_1_PIl): Likewise.
6025         (M_2_PIl): Likewise.
6026         (M_2_SQRTPIl): Likewise.
6027         (M_SQRT2l): Likewise.
6028         (M_SQRT1_2l): Likewise.
6029
6030 2012-05-31  David S. Miller  <davem@davemloft.net>
6031
6032         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
6033         values between float registers.
6034         * sysdeps/sparc/sparc64/memset.S: Likewise.
6035         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6036
6037 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
6038
6039         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
6040         -D_FORTIFY_SOURCE=1.
6041         (CPPFLAGS-tst-longjmp_chk.c): Define.
6042         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
6043         (CPPFLAGS-tst-longjmp_chk2.c): Define.
6044         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
6045         CFLAGS-tst-wchar-h.c.
6046
6047 2012-05-31  Marek Polacek  <polacek@redhat.com>
6048
6049         [BZ #14132]
6050         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
6051         __endmntent_internal): Remove declaration.
6052         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
6053         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
6054         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
6055
6056 2012-05-30  David S. Miller  <davem@davemloft.net>
6057
6058         * sysdeps/sparc/sparc32/soft-fp/q_util.c
6059         (___Q_simulate_exceptions): Use real FP ops rather than writing
6060         into the %fsr.
6061         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
6062         Likewise.
6063
6064 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
6065
6066         [BZ #14117]
6067         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
6068         * sysdeps/x86/bits/xtitypes.h: This.
6069
6070         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
6071         * sysdeps/x86/bits/wordsize.h: This.
6072
6073         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
6074         * sysdeps/x86/bits/huge_vall.h: This.
6075
6076         * sysdeps/i386/bits/select.h: Removed.
6077         * sysdeps/x86_64/bits/select.h: Renamed to ...
6078         * sysdeps/x86/bits/select.h: This.
6079
6080         * sysdeps/i386/bits/setjmp.h: Removed.
6081         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
6082         * sysdeps/x86/bits/setjmp.h: This.
6083
6084         * sysdeps/i386/bits/mathdef.h: Removed.
6085         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
6086         * sysdeps/x86/bits/mathdef.h: This.
6087
6088 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
6089
6090         [BZ #14132]
6091         * include/sys/socket.h (__connect_internal)
6092         (__libc_sa_len_internal): Remove declaration.
6093         (__connect, __libc_sa_len): Declare hidden_proto.
6094         (SA_LEN): Remove use of INTUSE.
6095         * socket/connect.c: Add libc_hidden_def.
6096         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
6097         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
6098         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
6099         alias.
6100         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6101         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6102         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
6103         of adding _internal alias.
6104
6105 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
6106
6107         [BZ #14117]
6108         * sysdeps/i386/bits/link.h: Removed.
6109         * sysdeps/i386/bits/linkmap.h: Likewise.
6110         * sysdeps/x86_64/bits/link.h: Renamed to ...
6111         * sysdeps/x86/bits/link.h: This.
6112         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
6113         * sysdeps/x86/bits/linkmap.h: This.
6114
6115         * sysdeps/i386/bits/endian.h: Removed.
6116         * sysdeps/x86_64/bits/endian.h: Renamed to ...
6117         * sysdeps/x86/bits/endian.h: This.
6118
6119         * sysdeps/i386/bits/byteswap.h: Removed.
6120         * sysdeps/i386/bits/byteswap-16.h: Likewise.
6121         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
6122         * sysdeps/x86/bits/byteswap.h: This.
6123         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
6124         * sysdeps/x86/bits/byteswap-16.h: This.
6125         * sysdeps/i386/Implies: Add x86.
6126         * sysdeps/x86_64/Implies: Likewise.
6127
6128 2012-05-30  David S. Miller  <davem@davemloft.net>
6129
6130         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
6131         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
6132         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6133         (FP_TRAPPING_EXCEPTIONS): Define.
6134         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6135         (FP_TRAPPING_EXCEPTIONS): Define.
6136         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
6137         subnormals only when inexact has been signalled or underflow
6138         exceptions are enabled.
6139         (_FP_PACK_CANONICAL): Likewise.
6140
6141 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
6142
6143         [BZ #14183]
6144         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
6145         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
6146
6147 2012-05-30  Richard Henderson  <rth@twiddle.net>
6148
6149         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
6150         with #ifndef NOT_IN_libc.
6151
6152         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
6153         marked to avoid plt entry.
6154
6155 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
6156
6157         [BZ #14112]
6158         * Makeconfig (default-abi): New macro.
6159         (abi-includes): Likewise.
6160         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
6161         $(abi-$(default-abi)-lib-soname) for soname if defined.
6162         ($(common-objpfx)gnu/lib-names.stmp): Generate from
6163         abi-variants.
6164         * Makefile (installed-stubs): Likewise.
6165         * include/stubs-biarch.h: Removed.
6166         * scripts/lib-names.awk: Only handle one library at a time.
6167         * scripts/soversions.awk: Remove WORDSIZE support.
6168         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
6169         entries.
6170         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
6171         Removed.
6172         (syscall-list-default-condition): Likewise.
6173         (syscall-list-default-condition): Likewise.
6174         (syscall-list-includes): Likewise.
6175         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
6176         syscall-list-* with abi-*.  Handle undefined abi-variants.
6177         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
6178         * sysdeps/unix/sysv/linux/i386/Implies: New file.
6179         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
6180         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
6181         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
6182         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
6183         Removed.
6184         (syscall-list-32-options): Likewise.
6185         (syscall-list-32-condition): Likewise.
6186         (syscall-list-64-options): Likewise.
6187         (syscall-list-64-condition): Likewise.
6188         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
6189         macro.
6190         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
6191         Renamed to ...
6192         (abi-*): This.
6193         (abi-64-ld-soname): New macro.
6194         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
6195         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
6196         Renamed to ...
6197         (abi-*): This.
6198         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
6199         * sysdeps/x86_64/x32/shlib-versions: Likewise.
6200
6201 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
6202
6203         * sysdeps/unix/sysv/linux/kernel-features.h
6204         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
6205         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
6206         include <kernel-features.h>.
6207         [!__NR_ftruncate64]: Remove conditional code.
6208         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6209         [__NR_ftruncate64]: Make code unconditional.
6210         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6211         * sysdeps/unix/sysv/linux/truncate64.c: Do not
6212         include <kernel-features.h>.
6213         [!__NR_ftruncate64]: Remove conditional code.
6214         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6215         [__NR_ftruncate64]: Make code unconditional.
6216         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
6218         include <kernel-features.h>.
6219         [!__NR_ftruncate64]: Remove conditional code.
6220         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6221         [__NR_ftruncate64]: Make code unconditional.
6222         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
6224         include <kernel-features.h>.
6225         [!__NR_ftruncate64]: Remove conditional code.
6226         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6227         [__NR_ftruncate64]: Make code unconditional.
6228         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6229
6230         * configure.in (libc_cv_fpie): Weaken to a compile test using
6231         LIBC_TRY_CC_OPTION.
6232         * configure: Regenerated.
6233
6234 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6235
6236         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
6237         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
6238         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
6239         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6240         Refreshed.
6241         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
6242         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
6243         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
6244         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
6245         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
6246         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6247         Refreshed.
6248
6249 2012-05-27  David S. Miller  <davem@davemloft.net>
6250
6251         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
6252         (___Q_zero): New.
6253         (__Q_simulate_exceptions): Return void.  Change to simulate
6254         exceptions by writing into the %fsr.
6255         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
6256         (__Qp_handle_exceptions): Likewise.
6257         (numbers): Delete.
6258         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
6259         __Qp_handle_exceptions.
6260         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
6261         __Qp_handle_exceptions.
6262         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
6263         as unused and give dummy FP_RND_NEAREST initializer.
6264         (FP_INHIBIT_RESULTS): Define.
6265         (___Q_simulate_exceptions): Update declaration.
6266         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
6267         formatting.
6268         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
6269         as unused and give dummy FP_RND_NEAREST initializer.
6270         (__Qp_handle_exceptions): Update declaration.
6271         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
6272         formatting.
6273
6274 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
6275
6276         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
6277         the temporary FPU control word.
6278         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6279         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
6280         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
6281         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6282         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6283         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
6284         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
6285         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6286         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6287         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
6288         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6289
6290 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6291
6292         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
6293         fields.
6294
6295 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
6296
6297         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
6298         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
6299         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
6300         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
6301         Likewise.
6302         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
6303         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
6304         Likewise.
6305
6306 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
6307
6308         * po/h.po: Update from translation team.
6309
6310 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
6311
6312         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
6313
6314         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
6315         handling of denormals.
6316         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6317         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
6318         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6319         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6320         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6321         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
6322         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
6323         Likewise.
6324
6325 2012-05-26  Marek Polacek  <polacek@redhat.com>
6326
6327         [BZ #14152]
6328         * math/libm-test.inc (fma_test): Don't always expect underflow
6329         exception.
6330
6331 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6332
6333         [BZ #12416]
6334         * elf/tst-execstack.c: Include stackinfo.h.
6335         (do_test): Adjust test case to ensure that pthread_getattr_np
6336         behaviour remains the same after marking stack executable.
6337
6338 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
6339
6340         * sysdeps/unix/sysv/linux/kernel-features.h
6341         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
6342         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
6343         kernel-features.h.
6344         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
6345         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
6346         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
6347         kernel-features.h.
6348         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
6349         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
6350
6351 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
6352
6353         * configure.in: Define the default includes to being none.
6354         * configure: Regenerated.
6355
6356 2012-05-25  Roland McGrath  <roland@hack.frob.com>
6357
6358         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
6359         * sysdeps/x86_64/setjmp.S: Likewise.
6360         * sysdeps/i386/bsd-setjmp.S: Likewise.
6361         * sysdeps/i386/bsd-_setjmp.S: Likewise.
6362         * sysdeps/i386/setjmp.S: Likewise.
6363         * sysdeps/i386/__longjmp.S: Likewise.
6364         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
6365         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
6366
6367         * include/stap-probe.h: New file.
6368         * configure.in: Handle --enable-systemtap.
6369         * configure: Regenerated.
6370         * config.h.in (USE_STAP_PROBE): New #undef.
6371         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
6372         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
6373         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
6374
6375 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
6376
6377         [BZ #13717]
6378         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
6379         to 2.4.0 where earlier.
6380         * sysdeps/unix/sysv/linux/configure: Regenerated.
6381         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
6382         <kernel-features.h>.
6383         [__ASSUME_32BITUIDS]: Make code unconditional.
6384         [!__ASSUME_32BITUIDS]: Remove conditional code.
6385         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
6386         <kernel-features.h>.
6387         [__ASSUME_32BITUIDS]: Make code unconditional.
6388         [!__ASSUME_32BITUIDS]: Remove conditional code.
6389         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
6390         [__ASSUME_32BITUIDS]: Make code unconditional.
6391         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
6392         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
6393         <kernel-features.h>.
6394         [__ASSUME_32BITUIDS]: Make code unconditional.
6395         [!__ASSUME_32BITUIDS]: Remove conditional code.
6396         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
6397         <kernel-features.h>.
6398         [__ASSUME_32BITUIDS]: Make code unconditional.
6399         [!__ASSUME_32BITUIDS]: Remove conditional code.
6400         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
6401         <kernel-features.h>.
6402         [__ASSUME_32BITUIDS]: Make code unconditional.
6403         [!__ASSUME_32BITUIDS]: Remove conditional code.
6404         * sysdeps/unix/sysv/linux/i386/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
6433         <kernel-features.h>.
6434         [__NR_setresgid] (__setresgid): Do not declare.
6435         [__ASSUME_32BITUIDS]: Make code unconditional.
6436         [!__ASSUME_32BITUIDS]: Remove conditional code.
6437         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
6438         <kernel-features.h>.
6439         [__NR_setresuid] (__setresuid): Do not declare.
6440         [__ASSUME_32BITUIDS]: Make code unconditional.
6441         [!__ASSUME_32BITUIDS]: Remove conditional code.
6442         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
6443         <kernel-features.h>.
6444         [__ASSUME_32BITUIDS]: Make code unconditional.
6445         [!__ASSUME_32BITUIDS]: Remove conditional code.
6446         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
6447         <kernel-features.h>.
6448         [__ASSUME_32BITUIDS]: Make code unconditional.
6449         [!__ASSUME_32BITUIDS]: Remove conditional code.
6450         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
6451         <kernel-features.h>.
6452         [__ASSUME_32BITUIDS]: Make code unconditional.
6453         [!__ASSUME_32BITUIDS]: Remove conditional code.
6454         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
6455         <kernel-features.h>.
6456         [__ASSUME_32BITUIDS]: Make code unconditional.
6457         [!__ASSUME_32BITUIDS]: Remove conditional code.
6458         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
6459         <kernel-features.h>.
6460         [__ASSUME_32BITUIDS]: Make code unconditional.
6461         [!__ASSUME_32BITUIDS]: Remove conditional code.
6462         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
6463         <kernel-features.h>.
6464         [__ASSUME_32BITUIDS]: Make code unconditional.
6465         [!__ASSUME_32BITUIDS]: Remove conditional code.
6466         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
6467         <kernel-features.h>.
6468         [__ASSUME_32BITUIDS]: Make code unconditional.
6469         [!__ASSUME_32BITUIDS]: Remove conditional code.
6470         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
6471         <kernel-features.h>.
6472         [__ASSUME_32BITUIDS]: Make code unconditional.
6473         [!__ASSUME_32BITUIDS]: Remove conditional code.
6474         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
6475         <kernel-features.h>.
6476         [__ASSUME_32BITUIDS]: Make code unconditional.
6477         [!__ASSUME_32BITUIDS]: Remove conditional code.
6478         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
6479         <kernel-features.h>.
6480         [__ASSUME_32BITUIDS]: Make code unconditional.
6481         [!__ASSUME_32BITUIDS]: Remove conditional code.
6482         * sysdeps/unix/sysv/linux/kernel-features.h
6483         (__ASSUME_SETRESUID_SYSCALL): Remove.
6484         (__ASSUME_SETRESGID_SYSCALL): Likewise.
6485         (__ASSUME_32BITUIDS): Likewise.
6486         (__ASSUME_LDT_WORKS): Likewise.
6487         (__ASSUME_O_DIRECTORY): Likewise.
6488         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
6489         architecture but not kernel version.
6490         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6491         (__ASSUME_MMAP2_SYSCALL): Likewise.
6492         (__ASSUME_STAT64_SYSCALL): Likewise.
6493         (__ASSUME_IPC64): Likewise.
6494         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
6495         <kernel-features.h>.
6496         [__ASSUME_32BITUIDS]: Make code unconditional.
6497         [!__ASSUME_32BITUIDS]: Remove conditional code.
6498         * sysdeps/unix/sysv/linux/opendir.c: Do not include
6499         <kernel-features.h>.
6500         [__ASSUME_O_DIRECTORY]: Make code unconditional.
6501         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
6502         132096]: Remove conditional code.
6503         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
6504         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
6505         <kernel-features.h>.
6506         [__ASSUME_32BITUIDS]: Make code unconditional.
6507         [!__ASSUME_32BITUIDS]: Remove conditional code.
6508         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
6509         <kernel-features.h>.
6510         [__ASSUME_32BITUIDS]: Make code unconditional.
6511         [!__ASSUME_32BITUIDS]: Remove conditional code.
6512         * sysdeps/unix/sysv/linux/setegid.c: Do not include
6513         <kernel-features.h>.
6514         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
6515         unconditional.
6516         (__setresgid): Do not declare.
6517         [__ASSUME_32BITUIDS]: Make code unconditional.
6518         [!__ASSUME_32BITUIDS]: Remove conditional code.
6519         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
6520         <kernel-features.h>.
6521         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
6522         unconditional.
6523         (__setresuid): Do not declare.
6524         [__ASSUME_32BITUIDS]: Make code unconditional.
6525         [!__ASSUME_32BITUIDS]: Remove conditional code.
6526         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
6527         <kernel-features.h>.
6528         [__ASSUME_32BITUIDS]: Make code unconditional.
6529         [!__ASSUME_32BITUIDS]: Remove conditional code.
6530         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
6531         <kernel-features.h>.
6532         [__ASSUME_32BITUIDS]: Make code unconditional.
6533         [!__ASSUME_32BITUIDS]: Remove conditional code.
6534
6535 2012-05-25  Richard Henderson  <rth@twiddle.net>
6536
6537         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
6538         dl_hwcap to ifunc resolver.
6539         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
6540         elf_ifunc_invoke.
6541         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
6542         dl_hwcap to ifunc resolver.
6543         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
6544
6545 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
6546
6547         [BZ #14153]
6548         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
6549         for |x| <= 2**-26, not 2**-57.
6550         * math/libm-test.inc (acos_test): Do not allow spurious underflow
6551         exception.
6552
6553 2012-05-24  Jeff Law  <law@redhat.com>
6554
6555         * stdio-common/Makefile (tests): Add bug25.
6556         * stdio-common/bug25.c: New test.
6557
6558 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
6559
6560         [BZ #13576]
6561         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
6562         multiple of MALLOC_ALIGNMENT in size.
6563         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
6564
6565 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
6566
6567         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
6568         Require >= 256.
6569         (FILENAME_MAX): Use macro-int-constant.
6570         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
6571         (_IOFBF): Use macro-int-constant.
6572         (_IOLBF): Likewise.
6573         (_IONBF): Likewise.
6574         (SEEK_CUR): Likewise.
6575         (SEEK_END): Likewise.
6576         (SEEK_SET): Likewise.
6577         (TMP_MAX): Likewise.
6578         (EOF): Use macro-int-constant.  Require < 0.
6579         (NULL): Use macro-constant.  Require == 0.
6580         (stdin): Require type to be FILE *.
6581         (stdout): Likewise.
6582         (stderr): Likewise.
6583         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
6584         macro-int-constant.
6585         (EXIT_SUCCESS): Likewise.
6586         (NULL): Use macro-constant.  Require == 0.
6587         (RAND_MAX): Use macro-int-constant.
6588         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
6589         [C99-based standards] (strtof): Require function.
6590         [C99-based standards] (strtold): Likewise.
6591         [C99-based standards] (strtoll): Likewise.
6592         [C99-based standards] (strtoull): Likewise.
6593         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6594         [ISO || ISO99 || ISO11] (limits.h): Likewise.
6595         [ISO || ISO99 || ISO11] (math.h): Likewise.
6596         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
6597         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6598         [ISO || ISO99 || ISO11] (*_t): Do not allow.
6599
6600 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
6601
6602         [BZ #14132]
6603         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
6604         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
6605         * intl/dgettext.c (DCGETTEXT): Likewise.
6606         * intl/gettext.c (DCGETTEXT): Likewise.
6607         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
6608         * posix/regex_internal.h (gettext): Likewise.
6609         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
6610         Remove declaration.
6611         * include/argz.h (__argz_count_internal)
6612         (__argz_stringify_internal): Remove declaration.
6613         (__argz_count, __argz_stringify): Declare hidden proto.
6614         * intl/dcgettext.c: Remove use of INTDEF.
6615         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
6616         * string/argz-stringify.c: Likewise.
6617         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
6618         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
6619         Declare hidden proto.
6620         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
6621         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
6622         Declare hidden proto.
6623         * include/stdio.h (__asprintf_internal): Don't declare.
6624         (__asprintf): Don't define as macro.  Declare hidden proto.
6625         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
6626         (__fsetlocking): Declare hidden proto.
6627         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
6628         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
6629         hidden proto.
6630         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
6631         (_IO_setlinebuf): Remove use of INTUSE.
6632         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
6633         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
6634         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
6635         Remove declaration.
6636         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
6637         (_IO_do_flush): Remove use of INTUSE.
6638         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
6639         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
6640         (_IO_adjust_column, _IO_least_wmarker)
6641         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
6642         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
6643         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
6644         (_IO_default_doallocate, _IO_wdefault_doallocate)
6645         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
6646         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
6647         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
6648         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
6649         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
6650         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
6651         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
6652         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
6653         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
6654         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
6655         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
6656         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
6657         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
6658         proto.
6659         (_IO_flush_all_internal, _IO_adjust_column_internal)
6660         (_IO_default_uflow_internal, _IO_default_finish_internal)
6661         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
6662         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
6663         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
6664         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
6665         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
6666         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
6667         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
6668         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
6669         (_IO_file_close_internal, _IO_file_close_it_internal)
6670         (_IO_file_underflow_internal, _IO_file_overflow_internal)
6671         (_IO_file_init_internal, _IO_file_attach_internal)
6672         (_IO_file_fopen_internal, _IO_file_read_internal)
6673         (_IO_file_sync_internal, _IO_file_seek_internal)
6674         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
6675         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
6676         (_IO_str_underflow_internal, _IO_str_overflow_internal)
6677         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
6678         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
6679         (_IO_list_all_internal, _IO_link_in_internal)
6680         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
6681         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
6682         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
6683         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
6684         (_IO_do_write_internal, _IO_padn_internal)
6685         (_IO_getline_info_internal, _IO_getline_internal)
6686         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
6687         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
6688         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
6689         (_IO_vfscanf_internal, _IO_vfprintf_internal)
6690         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
6691         (_IO_init_internal, _IO_un_link_internal): Don't declare.
6692         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
6693         with libc_hidden_ver, remove use of INTUSE.
6694         * libio/genops.c: Likewise.
6695         * libio/freopen.c: Likewise.
6696         * libio/freopen64.c: Likewise.
6697         * libio/iofclose.c: Likewise.
6698         * libio/iofdopen.c: Likewise.
6699         * libio/iofflush.c: Likewise.
6700         * libio/iofflush_u.c: Likewise.
6701         * libio/iofgets.c: Likewise.
6702         * libio/iofgets_u.c: Likewise.
6703         * libio/iofopen.c: Likewise.
6704         * libio/iofopncook.c: Likewise.
6705         * libio/iofread.c: Likewise.
6706         * libio/iofread_u.c: Likewise.
6707         * libio/ioftell.c: Likewise.
6708         * libio/iofwrite.c: Likewise.
6709         * libio/iogetline.c: Likewise.
6710         * libio/iogets.c: Likewise.
6711         * libio/iogetwline.c: Likewise.
6712         * libio/iopadn.c: Likewise.
6713         * libio/iopopen.c: Likewise.
6714         * libio/ioseekoff.c: Likewise.
6715         * libio/ioseekpos.c: Likewise.
6716         * libio/iosetbuffer.c: Likewise.
6717         * libio/iosetvbuf.c: Likewise.
6718         * libio/ioungetc.c: Likewise.
6719         * libio/ioungetwc.c: Likewise.
6720         * libio/iovdprintf.c: Likewise.
6721         * libio/iovsprintf.c: Likewise.
6722         * libio/iovsscanf.c: Likewise.
6723         * libio/memstream.c: Likewise.
6724         * libio/obprintf.c: Likewise.
6725         * libio/oldfileops.c: Likewise.
6726         * libio/oldiofclose.c: Likewise.
6727         * libio/oldiofdopen.c: Likewise.
6728         * libio/oldiofopen.c: Likewise.
6729         * libio/oldiopopen.c: Likewise.
6730         * libio/oldstdfiles.c: Likewise.
6731         * libio/putc.c: Likewise.
6732         * libio/setbuf.c: Likewise.
6733         * libio/setlinebuf.c: Likewise.
6734         * libio/stdfiles.c: Likewise.
6735         * libio/strops.c: Likewise.
6736         * libio/vasprintf.c: Likewise.
6737         * libio/vscanf.c: Likewise.
6738         * libio/vsnprintf.c: Likewise.
6739         * libio/vswprintf.c: Likewise.
6740         * libio/wfiledoalloc.c: Likewise.
6741         * libio/wfileops.c: Likewise.
6742         * libio/wgenops.c: Likewise.
6743         * libio/wmemstream.c: Likewise.
6744         * libio/wstrops.c: Likewise.
6745         * libio/__fpurge.c: Likewise.
6746         * libio/__fsetlocking.c: Likewise.
6747         * assert/assert.c: Likewise.
6748         * debug/fgets_chk.c: Likewise.
6749         * debug/fgets_u_chk.c: Likewise.
6750         * debug/fread_chk.c: Likewise.
6751         * debug/fread_u_chk.c: Likewise.
6752         * debug/gets_chk.c: Likewise.
6753         * debug/obprintf_chk.c: Likewise.
6754         * debug/vasprintf_chk.c: Likewise.
6755         * debug/vdprintf_chk.c: Likewise.
6756         * debug/vsnprintf_chk.c: Likewise.
6757         * debug/vsprintf_chk.c: Likewise.
6758         * malloc/mtrace.c: Likewise.
6759         * misc/error.c: Likewise.
6760         * misc/syslog.c: Likewise.
6761         * stdio-common/asprintf.c: Likewise.
6762         * stdio-common/fxprintf.c: Likewise.
6763         * stdio-common/getw.c: Likewise.
6764         * stdio-common/isoc99_fscanf.c: Likewise.
6765         * stdio-common/isoc99_scanf.c: Likewise.
6766         * stdio-common/isoc99_vfscanf.c: Likewise.
6767         * stdio-common/isoc99_vscanf.c: Likewise.
6768         * stdio-common/isoc99_vsscanf.c: Likewise.
6769         * stdio-common/printf-prs.c: Likewise.
6770         * stdio-common/printf_fp.c: Likewise.
6771         * stdio-common/printf_fphex.c: Likewise.
6772         * stdio-common/printf_size.c: Likewise.
6773         * stdio-common/putw.c: Likewise.
6774         * stdio-common/scanf.c: Likewise.
6775         * stdio-common/sprintf.c: Likewise.
6776         * stdio-common/tmpfile.c: Likewise.
6777         * stdio-common/vfprintf.c: Likewise.
6778         * stdio-common/vfscanf.c: Likewise.
6779         * stdlib/strfmon_l.c: Likewise.
6780         * sunrpc/openchild.c: Likewise.
6781         * sunrpc/xdr_stdio.c: Likewise.
6782         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
6783         * sysdeps/mach/hurd/tmpfile.c: Likewise.
6784
6785 2012-05-24  Roland McGrath  <roland@hack.frob.com>
6786
6787         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
6788
6789         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
6790         in the third column, to generate for the shared library an IFUNC
6791         that uses _dl_vdso_vsym.
6792         * Makerules (COMPILE.c, compile-stdin.c): New variables.
6793         * Makeconfig (object-suffixes-noshared): New variable.
6794
6795         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
6796         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
6797         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
6798         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
6799
6800         [BZ #14132]
6801         * include/sys/time.h (__gettimeofday): Remove macro.
6802         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
6803         * time/gettimeofday.c (__gettimeofday): Remove #undef.
6804         Remove INTDEF.
6805         (__gettimeofday): Add libc_hidden_def.
6806         (gettimeofday): Add libc_hidden_weak.
6807         * sysdeps/mach/gettimeofday.c: Likewise.
6808         * sysdeps/posix/gettimeofday.c: Likewise.
6809         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
6810         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
6811         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
6812         (__gettimeofday_internal): Remove strong_alias.
6813         (__gettimeofday): Add libc_hidden_def.
6814         (gettimeofday): Add libc_hidden_weak.
6815         * sysdeps/unix/syscalls.list (gettimeofday):
6816         Remove __gettimeofday_internal alias.
6817
6818 2012-05-24  Daniel Jacobowitz  <drow@false.org>
6819             H.J. Lu  <hongjiu.lu@intel.com>
6820
6821         [BZ #12495]
6822         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
6823         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
6824         (largebin_index_32_big): New.
6825         (largebin_index): Use it for 16-byte alignment.
6826         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
6827         correction with front_misalign.
6828
6829 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
6830
6831         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
6832         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
6833         Likewise.
6834         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
6835         Likewise.
6836         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6837         Likewise.
6838         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
6839         Likewise.
6840         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
6841         Likewise.
6842         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
6843         Likewise.
6844         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
6845         Likewise.
6846         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6847         Likewise.
6848         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
6849         Likewise.
6850         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
6851         Likewise.
6852         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
6853         Likewise.
6854         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
6855         Likewise.
6856
6857         * scripts/data/c++-types-x32-linux-gnu.data: New file.
6858         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
6859
6860 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
6861
6862         [BZ #10846]
6863         [BZ #14036]
6864         * math/libm-test.inc (exp_test): Add test from bug 14036.
6865         (pow_test): Add test from bug 10846.
6866
6867         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
6868         and other flags.
6869         (special_function): Do not include flags in test name.
6870         (parse_args): Likewise.
6871         * sysdeps/i386/fpu/libm-test-ulps: Update.
6872         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6873         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6874         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6876
6877         * math/gen-libm-test.pl (%beautify): Add entries for underflow
6878         exceptions.
6879         * math/libm-test.inc ("Philosophy"): Update comment about
6880         exception testing.
6881         (UNDERFLOW_EXCEPTION): New macro.
6882         (UNDERFLOW_EXCEPTION_OK): Likewise.
6883         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
6884         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
6885         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
6886         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
6887         (INVALID_EXCEPTION_OK): Update value.
6888         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6889         (OVERFLOW_EXCEPTION_OK): Likewise.
6890         (IGNORE_ZERO_INF_SIGN): Likewise.
6891         (test_exceptions): Handle underflow exceptions.
6892         (acos_test): Update for underflow exception expectations.
6893         (cexp_test): Likewise.
6894         (clog_test): Likewise.
6895         (clog10_test): Likewise.
6896         (csqrt_test): Likewise.
6897         (ctan_test): Likewise.
6898         (ctanh_test): Likewise.
6899         (exp_test): Likewise.
6900         (exp10_test): Likewise.
6901         (exp2_test): Likewise.
6902         (expm1_test): Likewise.
6903         (fma_test): Likewise.
6904         (j0_test): Likewise.
6905         (jn_test): Likewise.
6906         (nexttoward_test): Likewise.
6907         (pow_test): Likewise.
6908         (scalbn_test): Likewise.
6909         (scalbln_test): Likewise.
6910         (tan_test): Likewise.
6911         (y1_test): Likewise.
6912         * sysdeps/i386/fpu/libm-test-ulps: Update.
6913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6914
6915 2012-05-23  David S. Miller  <davem@davemloft.net>
6916
6917         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
6918         (__libc_sigaction): Remove unused local variables.
6919
6920 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
6921
6922         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
6923
6924 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
6925
6926         mktime: avoid signed integer overflow
6927         * time/mktime.c (__mktime_internal): Do not mishandle the case
6928         where diff == INT_MIN.
6929
6930         mktime: simplify computation of average
6931         * time/mktime.c (ranged_convert): Use new time_t_avg function
6932         instead of rolling our own (probably-slower) code.
6933
6934         mktime: do not assume signed right shift propagates sign bit
6935         * time/mktime.c (isdst_differ): New static function.
6936         (__mktime_internal): No need to normalize tm_isdst now.
6937         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
6938         tm_isdst values.
6939
6940         mktime: merge another wrapv change from gnulib
6941         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
6942         from some compilers.
6943
6944         mktime: remove incorrect attempt at unusual arithmetics
6945         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
6946         The code didn't really work on such machines anyway.
6947         (TYPE_MINIMUM): Assume two's complement.
6948         (twos_complement_arithmetic): Verify that long_int and time_t
6949         are two's complement (or unsigned, in the latter case).
6950
6951         mktime: check signed shifts on long_int and time_t, too
6952         * time/mktime.c (SHR): Check that shifts work as desired
6953         on the types long_int and time_t too, as SHR is used on
6954         such types.
6955
6956         mktime: do not assume 'long' is wide enough
6957         * time/mktime.c (verify): Move decl up.
6958         (long_int): New type.
6959         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
6960         to remove assumption in the code that 'long' is wide enough to
6961         store year values.  This assumption is not true on x32 and on
6962         some non-glibc platforms.
6963
6964         mktime: merge wrapv change from gnulib
6965         * time/mktime.c (WRAPV): New macro.
6966         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
6967         (guess_time_tm, __mktime_internal): Do not assume that signed
6968         integer overflow wraps around; modern compilers generate code
6969         where this assumption is no longer valid.
6970
6971 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
6972
6973         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
6974         Replace "jmp L(pseudo_end)" with "ret".
6975         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
6976         Likewise.
6977
6978 2012-05-23  Andreas Jaeger  <aj@suse.de>
6979
6980         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
6981         * sysdeps/unix/sysv/linux/poll.c: Remove file.
6982
6983 2012-05-23  Andreas Jaeger  <aj@suse.de>
6984             Maximilian Attems  <max@stro.at>
6985
6986         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
6987         New macros.
6988
6989 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
6990
6991         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
6992         code so that pseudo_end is just ret and the stack pointer is
6993         correct also for static library in error case.
6994
6995 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
6996
6997         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
6998         move to syscalls.list.
6999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7003
7004         * manual/install.texi (Running make install): Do not mention Linux
7005         kernel version for which pt_chown is not needed.
7006         (Linux): Do not mention problems with nscd with 2.0 kernels.
7007         * INSTALL: Regenerated.
7008
7009 2012-05-23  Andreas Jaeger  <aj@suse.de>
7010
7011         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
7012         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
7013         macro.
7014         * sysdeps/unix/sysv/linux/s390/bits/mman.h
7015         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7016         * sysdeps/unix/sysv/linux/sh/bits/mman.h
7017         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7018         * sysdeps/unix/sysv/linux/i386/bits/mman.h
7019         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7020         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
7021         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7022         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
7023         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7024         * sysdeps/unix/sysv/linux/bits/in.h
7025         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
7026
7027 2012-05-22  Roland McGrath  <roland@hack.frob.com>
7028
7029         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
7030         (PREPARE_VERSION): Just use assert instead, it will be elided
7031         under [NDEBUG] anyway.
7032
7033 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
7034
7035         * sysdeps/unix/sysv/linux/Makefile: Include
7036         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
7037         (sysdep_routines): Remove sysctl.
7038         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
7039         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
7040         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
7041         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
7042         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
7043
7044 2012-05-22  Andreas Jaeger  <aj@suse.de>
7045
7046         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
7047         that pseudo_end is just ret and the stack pointer is correct also
7048         for static library in error case.
7049
7050 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
7051
7052         [BZ #14122]
7053         * nss/nsswitch.c (defconfig_entries): New variable.
7054         (__nss_database_lookup): Don't leak defconfig entries.
7055         (nss_parse_service_list): Don't leak on error paths.
7056         (free_database_entries): New function.
7057         (free_defconfig): New function.
7058         (free_mem): Move common code to free_database_entries.
7059
7060 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
7061
7062         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
7063         Add arch_prctl.
7064         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
7065
7066         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7067         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
7068         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
7069         New macro.
7070         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
7071         (INTERNAL_SYSCALL_TYPES): Likewise.
7072         (LOAD_ARGS_TYPES_[1-6]): Likewise.
7073         (LOAD_REGS_TYPES_[1-6]): Likewise.
7074         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
7075         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
7076
7077 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7078
7079         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
7080         copysignl for GLIBC_2_0.
7081         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
7082         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
7083         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
7084         logbl for GLIBC_2_0.
7085         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
7086         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
7087
7088 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
7089
7090         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
7091         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
7092
7093         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7094         Use "neg %eax".
7095
7096         * time/mktime.c: Update copyright years.
7097
7098 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
7099
7100         mktime: merge comment-quoting-style change from gnulib
7101         * time/mktime.c: Quote 'like this' in comments.
7102         The GNU coding standards suggest that we no longer quote `like this',
7103         as "`" and "'" are typically rendered asymmetrically nowadays.
7104         The typical gnulib style is to quote 'like this' when quoting
7105         code, and "like this" when quoting English.
7106
7107         * time/mktime.c (compile-command): Add "-I.".
7108
7109         mktime: merge mktime-internal.h change from gnulib
7110         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
7111
7112         mktime: merge time_r change from gnulib
7113         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
7114
7115         mktime: merge DEBUG change from gnulib
7116         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
7117         case system <time.h> has a #define.
7118
7119         mktime: merge <sys/types.h> change from gnulib
7120         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
7121         since <time.t> is now guaranteed to define time_t.
7122
7123         mktime: merge HAVE_CONFIG_H change from gnulib
7124         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
7125
7126 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
7127
7128         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7129         Use "neg %eax".
7130
7131         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
7132         __rlim_t cast.
7133         (struct rusage): Use anonymous union to pad each field to
7134         __syscall_slong_t.
7135
7136 2012-05-21  David S. Miller  <davem@davemloft.net>
7137
7138         * Makefules (o-iterator): Remove .s cases.
7139         (compile-command.s): Delete.
7140         (COMPILE.s): Delete.
7141         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
7142
7143 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
7144
7145         * configure.in (libc_cv_predef_stack_protector): Only consider
7146         "foobar" and "__stack_chk_fail" lines in libc_undefs.
7147         * configure: Regenerated.
7148
7149 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
7150
7151         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7152         New macro.  Use R*LP on int and pointer.
7153         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
7154         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
7155         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
7156         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
7157
7158         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
7159         [__WORDSIZE_TIME64_COMPAT32] instead of
7160         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
7161         (struct utmp): Likewise.
7162         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
7163         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
7164         Renamed to ...
7165         (__WORDSIZE_TIME64_COMPAT32): This.
7166         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
7167         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
7168         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
7169         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
7170         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
7171         (__WORDSIZE_TIME64_COMPAT32): New macro.
7172
7173 2012-05-21  Andreas Jaeger  <aj@suse.de>
7174
7175         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
7176         only if [SHARED]. Add prototype for __wcschr_ia32.
7177
7178 2012-05-21  Roland McGrath  <roland@hack.frob.com>
7179
7180         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
7181         of %rbp unmolested in the jmp_buf while mangling the low bits.
7182         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
7183         unmolested high bits of %rbp while demangling the low bits.
7184         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7185
7186 2012-05-21  Andreas Jaeger  <aj@suse.de>
7187
7188         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
7189         * sunrpc/svc_simple.c: Use it for registerrpc.
7190         * sunrpc/xcrypt.c: Use it for passwd2des.
7191
7192         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
7193
7194 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
7195
7196         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
7197         Don't define if [__SYSCALL_WORDSIZE != 32].
7198         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
7199         New macro.
7200
7201 2012-05-21  Bruno Haible  <bruno@clisp.org>
7202             Andreas Jaeger  <aj@suse.de>
7203
7204         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
7205         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
7206         inptr and inend for must_buffer_ch.
7207         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
7208         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
7209         * stdio-common/Makefile (tests): Remove bug15.
7210         (bug15-ENV): Remove macro.
7211         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
7212         anymore.
7213
7214 2012-05-19  Andreas Jaeger  <aj@suse.de>
7215             Roland McGrath  <roland@hack.frob.com>
7216
7217         * manual/contrib.texi: Completely rewritten. It contains now an
7218         alphabetical list of contributors and their contributions.
7219
7220 2012-05-21  Richard Henderson  <rth@twiddle.net>
7221
7222         * misc/getauxval.c (__getauxval): Use unsigned long int.
7223         * misc/sys/auxv.h: Include <sys/cdefs.h>.
7224         (getauxval): Use unsigned long int.
7225
7226 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
7227
7228         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7229
7230 2012-05-21  Roland McGrath  <roland@hack.frob.com>
7231
7232         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
7233         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
7234         __alignof__ (long double).
7235
7236 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7237
7238         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7239
7240 2012-05-20  Richard Henderson  <rth@twiddle.net>
7241
7242         * misc/getauxval.c: New file.
7243         * misc/sys/auxv.h: New file.
7244         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
7245         (routines): Add getauxval.
7246         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
7247         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
7248         * elf/dl-sysdep.c (_dl_auxv): Remove.
7249         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
7250         * elf/dl-support.c (_dl_auxv): New variable.
7251         (_dl_aux_init): Initialize it.
7252         * manual/startup.texi (Auxiliary Vector): New node.
7253         * sysdeps/generic/bits/hwcap.h: New file.
7254         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
7255         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
7256         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
7257         * sysdeps/sparc/sysdep.h: ... here.  Include it.
7258         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
7259         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
7260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7261         Update.
7262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
7263         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
7264         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
7265         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
7266         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
7267         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
7268         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
7269         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
7270
7271 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7272
7273         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7274
7275 2012-05-19  David S. Miller  <davem@davemloft.net>
7276
7277         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7278
7279 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
7280
7281         [BZ #14123]
7282         * math/s_ccosh.c: Include <float.h>
7283         (__ccosh): Avoid internal overflow calculating sinh and cosh
7284         values before multiplying by sin and cos values.
7285         * math/s_ccoshf.c: Likewise.
7286         * math/s_ccoshl.c: Likewise.
7287         * math/s_csin.c: Likewise.
7288         * math/s_csinf.c: Likewise.
7289         * math/s_csinl.c: Likewise.
7290         * math/s_csinh.c: Likewise.
7291         * math/s_csinhf.c: Likewise.
7292         * math/s_csinhl.c: Likewise.
7293         * math/libm-test.inc (ccos_test): Add more tests.
7294         (ccosh_test): Likewise.
7295         (csin_test): Likewise.
7296         (csinh_test): Likewise.
7297         * sysdeps/i386/fpu/libm-test-ulps: Update.
7298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7299
7300 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
7301
7302         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
7303         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
7304
7305         * sysdeps/x86_64/x32/_itoa.h: Add comment.
7306
7307 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
7308
7309         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
7310         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
7311         * sysdeps/powerpc/soft-fp/Versions: Likewise.
7312         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
7313         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
7314         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
7315         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
7316         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
7317         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
7318         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
7319         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
7320         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
7321         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
7322         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
7323         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
7324         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
7325         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
7326         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
7327         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
7328         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
7329         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
7330         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
7331         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
7332         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
7333         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
7334         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
7335         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
7336         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
7337         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
7338         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
7339         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
7340
7341 2012-05-18  Andreas Jaeger  <aj@suse.de>
7342
7343         * csu/.gitignore: Delete.
7344
7345 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
7346
7347         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
7348         (timex): Use __syscall_slong_t.
7349
7350 2012-05-18  Andreas Jaeger  <aj@suse.de>
7351             Carlos O'Donell  <carlos_odonell@mentor.com>
7352
7353         * manual/install.texi (Configuring and compiling): Update
7354         description about files modified in the source directory.
7355         * INSTALL: Regenerated.
7356
7357 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
7358
7359         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
7360         value.  Use "or" to set return value to -1.
7361         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
7362         negate return value.
7363
7364 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7365
7366         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
7367         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
7368         failure if the compiler has Graphite support disabled.
7369         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
7370         Likewise.
7371         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
7372         CFLAGS-memmove.c): Likewise.
7373         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
7374         Likewise.
7375
7376 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
7377
7378         * sysdeps/x86_64/x32/_itoa.h: New file.
7379
7380         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
7381         getdents system call only if kernel and user dirents have the
7382         same d_ino and d_off.
7383
7384         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7385         LLONG_MAX != LONG_MAX.
7386         (_itoa_word): Use _ITOA_WORD_TYPE on value.
7387         (_fitoa_word): Likewise.
7388
7389         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
7390         years.
7391         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
7392         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
7393         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
7394
7395         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
7396         include <bits/wordsize.h>.  Check __x86_64__ instead of
7397         __WORDSIZE.
7398         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
7399         if __x86_64__ is defined.  Use anonymous union on fpstate.
7400
7401         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
7402         anonymous union.
7403
7404 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
7405
7406         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
7407         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
7408         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
7409         Refer to _rtld_local_ro instead of _rtld_global_ro.
7410         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
7411         Likewise.
7412         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
7413         Likewise.
7414         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
7415         Likewise.
7416         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
7417         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
7418         of _rtld_global, and rtld_progname instead of _dl_argv[0].
7419
7420         * sysdeps/powerpc/powerpc32/dl-machine.c
7421         (__elf_machine_runtime_setup) [PROF]: Don't reference
7422         _dl_prof_resolve.
7423
7424 2012-05-18  Andreas Jaeger  <aj@suse.de>
7425
7426         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
7427         function only available for GCCs before 3.4 since GCC 3.4
7428         introduced a builtin.
7429         (lrint): Likewise.
7430         (llrintf): Likewise.
7431         (llrint): Likewise.
7432         (fmaxf): Likewise.
7433         (fmax): Likewise.
7434         (fminf): Likewise.
7435         (fmin): Likewise.
7436         (rint): Likewise.
7437         (rintf): Likewise.
7438         (nearbyint): Likewise.
7439         (nearbyintf): Likewise.
7440         (ceil): Likewise.
7441         (ceilf): Likewise.
7442         (floor): Likewise.
7443         (floorf): Likewise.
7444
7445 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
7446
7447         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
7448         on both fields and cast pointer to __syscall_ulong_t.
7449
7450         * bits/types.h (__fsword_t): New type.
7451         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
7452         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
7453         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7454         (__FSWORD_T_TYPE): Likewise.
7455         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7456         (__FSWORD_T_TYPE): Likewise.
7457         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7458         (__FSWORD_T_TYPE): Likewise.
7459         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
7460         (__FSWORD_T_TYPE): Likewise.
7461         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
7462         __SWORD_TYPE with __fsword_t.
7463         (statfs64): Likewise.
7464
7465 2012-05-17  David S. Miller  <davem@davemloft.net>
7466
7467         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
7468
7469 2012-05-17  Andreas Jaeger  <aj@suse.de>
7470
7471         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
7472         warning.
7473
7474 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
7475
7476         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
7477
7478 2012-05-17  Andreas Jaeger  <aj@suse.de>
7479
7480         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
7481         when it is used.
7482
7483 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
7484
7485         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
7486
7487 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
7488
7489         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
7490         * sysdeps/x86_64/tst-mallocalign1.c: New file.
7491
7492 2012-05-17  Andreas Jaeger  <aj@suse.de>
7493             Carlos O'Donell  <carlos_odonell@mentor.com>
7494
7495         [BZ #14059]
7496         * sysdeps/x86_64/multiarch/init-arch.h
7497         (bit_YMM_Usable): Rename to...
7498         (bit_AVX_Usable): ... this.
7499         (bit_FMA4_Usable): New macro.
7500         (bit_XMM_state): New macro.
7501         (bit_YMM_state): New macro.
7502         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
7503         [__ASSEMBLER__] (index_AVX_Usable): ... this.
7504         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
7505         (CPUID_OSXSAVE): New macro.
7506         (CPUID_AVX): New macro.
7507         (CPUID_FMA4): New macro.
7508         (index_YMM_Usable): Rename to...
7509         (index_AVX_Usable): ... this.
7510         (HAS_AVX): Use HAS_ARCH_FEATURE.
7511         (HAS_FMA4): Likewise.
7512         (HAS_YMM_USABLE): Remove.
7513         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7514         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
7515         are present.
7516         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
7517         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
7518         * sysdeps/x86_64/multiarch/Makefile: Likewise.
7519         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
7520         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
7521
7522 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
7523
7524         * math/libm-test.c: Support platforms without multiple rounding modes.
7525         * math/bug-nextafter.c: Support platforms without FP exceptions.
7526         * math/bug-nexttoward.c: Likewise.
7527         * math/test-fenv.c: Likewise.
7528         * math/test-misc.c: Likewise.
7529         * stdlib/bug-getcontext.c: Likewise.
7530
7531 2012-05-17  Andreas Jaeger  <aj@suse.de>
7532
7533         * manual/examples/search.c (critter_cmp): Change signature to
7534         avoid warnings.
7535         * manual/string.texi (Collation Functions): Likewise.
7536
7537 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
7538
7539         * bits/types.h: Fold copyright years.
7540         * bits/typesizes.h: Likewise.
7541         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
7542         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7543         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
7544         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
7545         * time/time.h: Likewise.
7546
7547 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
7548
7549         [BZ #208]
7550         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
7551         in instead of returning them.  Return void.
7552         (__libc_mallinfo): Accumulate over all arenas.
7553         (__malloc_stats): Adjust for change in int_mallinfo interface.
7554
7555 2012-05-16  Roland McGrath  <roland@hack.frob.com>
7556
7557         [BZ #10375]
7558         * configure.in (NM): Add AC_CHECK_TOOL for it.
7559         (libc_extra_cflags): New substituted variable.
7560         Check for -fstack-protector being used implicitly.
7561         * configure: Regenerated.
7562         * config.make.in (config-extra-cflags): New variable,
7563         gets @libc_extra_cflags@.
7564         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
7565
7566         [BZ #10375]
7567         * configure.in: Check for _FORTIFY_SOURCE being predefined.
7568         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
7569         * configure: Regenerated.
7570         * config.make.in (CPPUNDEFS): New substituted variable.
7571         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
7572         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
7573         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
7574
7575 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
7576
7577         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
7578         (mq_attr): Use __syscall_slong_t.
7579
7580 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
7581
7582         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
7583         Check __x86_64__ instead of __WORDSIZE.
7584         (_STAT_VER_LINUX): Likewise.
7585         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
7586         __syscall_ulong_t and __syscall_slong_t.
7587         (stat64): Likewise.
7588
7589 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
7590
7591         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
7592
7593 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
7594
7595         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
7596
7597 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
7598
7599         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
7600         __syscall_ulong_t.
7601
7602         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
7603         include <bits/wordsize.h>.  Check __x86_64__ instead of
7604         __WORDSIZE.
7605         (greg_t): Use "__extension__ long long int" if __x86_64__ is
7606         defined.
7607         (mcontext_t): Replace "unsigned long" with "unsigned long long".
7608
7609         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
7610         include <bits/wordsize.h>.  Check __x86_64__ instead of
7611         __WORDSIZE.
7612         (user_regs_struct): Use "__extension__ unsigned long long"
7613         instead of "unsigned long" if __x86_64__ is defined.
7614         (user): Likewise.  Pad after pointer field if __ILP32__ is
7615         defined.
7616
7617 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
7618
7619         * configure.in (makeinfo): Require version 4.5 or later.  Allow
7620         versions 5 to 9.
7621         * configure: Regenerated.
7622         * manual/install.texi (texinfo): Increase version requirement to
7623         4.5 or later.
7624         * INSTALL: Regenerated.
7625
7626         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
7627
7628 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
7629
7630         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
7631
7632         * sysdeps/x86_64/x32/ffs.c: New file.
7633
7634         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
7635         __syscall_ulong_t.
7636         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
7637         defined.  Use __syscall_ulong_t.
7638         (shminfo): Use __syscall_ulong_t.
7639         (shm_info): Likewise.
7640
7641         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
7642         __syscall_ulong_t.
7643
7644         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
7645         <bits/wordsize.h>.
7646         (msgqnum_t): Use __syscall_ulong_t.
7647         (msglen_t): Likewise.
7648         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
7649         __syscall_ulong_t.
7650
7651         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
7652         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
7653
7654         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
7655
7656         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
7657         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
7658
7659         * sysvipc/sys/msg.h (msgbuf): Replace long int with
7660         __syscall_slong_t.
7661
7662         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
7663         include <bits/wordsize.h>.  Check __x86_64__ instead of
7664         __WORDSIZE.
7665
7666         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
7667         "unsigned long long int" if __x86_64__ is defined.
7668         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
7669
7670         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
7671         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
7672         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
7673
7674         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
7675         <stdint.h>.
7676         (GET_PC): Cast to uintptr_t first.
7677         (GET_FRAME): Likewise.
7678         (GET_STACK): Likewise.
7679
7680         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
7681         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
7682         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
7683         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
7684         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
7685         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
7686         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
7687         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
7688         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
7689         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
7690         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
7691         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
7692         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
7693         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
7694         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
7695         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
7696         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
7697         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
7698         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
7699         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
7700         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
7701         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
7702         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
7703         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
7704         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
7705         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
7706         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
7707         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
7708         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
7709
7710 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
7711
7712         * Makerules (+depfiles): Also collect depfiles from .oS in
7713         $(extra-objs).
7714         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
7715         .oS, $(libnldbl-routines)).
7716
7717         * Makerules (native-compile-mkdep-flags): Define.
7718         * sunrpc/Makefile (extra-objs): Add $(addprefix
7719         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
7720         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
7721         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
7722         calling $(make-target-directory).
7723
7724 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
7725
7726         * bits/types.h (__snseconds_t): Removed.
7727         * time/time.h (struct timespec): Replace __snseconds_t with
7728         __syscall_slong_t.
7729         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
7730         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
7731         Likewise.
7732         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7733         (__SNSECONDS_T_TYPE): Likewise.
7734         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7735         (__SNSECONDS_T_TYPE): Likewise.
7736         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7737         (__SNSECONDS_T_TYPE): Likewise.
7738
7739 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
7740
7741         * sysdeps/mach/hurd/bits/typesizes.h
7742         (__SYSCALL_SLONG_TYPE): New macro.
7743         (__SYSCALL_ULONG_TYPE): Likewise.
7744
7745 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
7746
7747         * bits/types.h (__syscall_slong_t): New type.
7748         (__syscall_ulong_t): Likewise.
7749
7750         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
7751         (__SYSCALL_ULONG_TYPE): Likewise.
7752         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7753         (__SYSCALL_SLONG_TYPE): Likewise.
7754         (__SYSCALL_ULONG_TYPE): Likewise.
7755         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7756         (__SYSCALL_SLONG_TYPE): Likewise.
7757         (__SYSCALL_ULONG_TYPE): Likewise.
7758         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7759         (__SYSCALL_SLONG_TYPE): Likewise.
7760         (__SYSCALL_ULONG_TYPE): Likewise.
7761
7762 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
7763
7764         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
7765         Add sigaltstack-offsets.sym.
7766         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
7767         <sigaltstack-offsets.h>.
7768         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
7769         longjmp_msg pointer.
7770         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
7771         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
7772         signal stack.
7773         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
7774
7775 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
7776
7777         * elf/stackguard-macros.h: Remove file.
7778         * sysdeps/generic/stackguard-macros.h: New file.
7779         * sysdeps/i386/stackguard-macros.h: Likewise.
7780         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
7781         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
7782         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
7783         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
7784         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
7785         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
7786         * sysdeps/x86_64/stackguard-macros.h: Likewise.
7787         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
7788         <elf/stackguard-macros.h>.
7789
7790         [BZ #14109]
7791         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
7792         __aligned__ in attribute.
7793         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
7794         (gregset_t): Likewise.
7795
7796 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
7797
7798         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
7799         * sysdeps/x86_64/64/Implies-after: Here.  New file.
7800         * sysdeps/x86_64/x32/Implies-after: New file.
7801
7802 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
7803
7804         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
7805         and access return value for _dl_profile_fixup.  Use R10_LP to
7806         load frame size.
7807
7808 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
7809
7810         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
7811
7812 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
7813
7814         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
7815         * sysdeps/x86_64/x32/sysdep.h: New file.
7816
7817 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
7818
7819         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
7820         * sysdeps/x86_64/setjmp.S: Likewise.
7821
7822 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7823
7824         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
7825         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
7826         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
7827         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
7828         remove unused global constant.
7829
7830 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
7831
7832         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
7833         include of <not-cancel.h>.
7834
7835 2012-05-15  Roland McGrath  <roland@hack.frob.com>
7836
7837         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
7838
7839 2012-05-15  Jeff Law  <law@redhat.com>
7840             Andreas Jaeger  <aj@suse.de>
7841
7842         [BZ #13594]
7843         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
7844         out from...
7845         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
7846         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
7847         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
7848         code changing __hst_map_handle.map.
7849
7850 2012-05-15  Roland McGrath  <roland@hack.frob.com>
7851
7852         * configure.in (sysnames): Look for Implies-before and Implies-after
7853         files.
7854         * configure: Regenerated.
7855
7856 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
7857
7858         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
7859         8-byte data alignment with LP_SIZE alignment.
7860
7861 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
7862
7863         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
7864         into R10_LP.
7865
7866 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
7867
7868         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
7869
7870 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
7871
7872         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
7873         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
7874         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
7875         Likewise.
7876         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
7877
7878 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
7879
7880         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
7881         (stackinfo_sub_sp): Likewise.
7882
7883 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
7884
7885         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
7886         RAX_LP.
7887
7888 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
7889
7890         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
7891         into R*_LP.
7892
7893 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
7894
7895         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
7896         sizes into R*_LP.
7897
7898 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
7899
7900         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
7901
7902 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
7903
7904         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
7905         into R11_LP and load __x86_64_shared_cache_size_half into
7906         R8_LP.
7907
7908 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
7909
7910         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
7911         R8_LP.
7912
7913 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7914
7915         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
7916         logb for POWER7.
7917         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
7918         logbf for POWER7.
7919         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
7920         logbl for POWER7.
7921         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
7922         powerpc32/power7/fpu/s_logb.c via #include.
7923         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
7924         powerpc32/power7/fpu/s_logbf.c via #include.
7925         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
7926         powerpc32/power7/fpu/s_logbl.c via #include.
7927
7928 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
7929
7930         * README.libm: Remove file.
7931
7932 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
7933
7934         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
7935         count for x32.  Use R*_LP and omit operand-size suffix.
7936
7937 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
7938
7939         * shlib-versions: Move x86_64-.*-linux.* entries to ...
7940         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
7941         * sysdeps/x86_64/x32/shlib-versions: New file.
7942
7943 2012-05-14  Roland McGrath  <roland@hack.frob.com>
7944
7945         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
7946         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
7947         Use _dl_fatal_printf instead.
7948
7949 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
7950
7951         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
7952         set if not set by the user.  Do not allow for being unset.
7953         * sysdeps/unix/sysv/linux/configure: Regenerated.
7954
7955 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
7956
7957         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
7958         the `q' suffix from lea and replace .quad with ASM_ADDR.
7959
7960 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
7961
7962         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
7963         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
7964         instead of $17.
7965         (PTR_DEMANGLE): Likewise.
7966
7967 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
7968
7969         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
7970         (LP_OP): Likewise.
7971         (ASM_ADDR): Likewise.
7972         (RAX_LP): Likewise.
7973         (RBP_LP): Likewise.
7974         (RBX_LP): Likewise.
7975         (RCX_LP): Likewise.
7976         (RDI_LP): Likewise.
7977         (RSI_LP): Likewise.
7978         (RSP_LP): Likewise.
7979         (R8_LP): Likewise.
7980         (R9_LP): Likewise.
7981         (R10_LP): Likewise.
7982         (R10_LP): Likewise.
7983         (R11_LP): Likewise.
7984         (R12_LP): Likewise.
7985         (R13_LP): Likewise.
7986         (R14_LP): Likewise.
7987         (R15_LP): Likewise.
7988
7989 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
7990
7991         * sysdeps/x86_64/x32/dl-machine.h: New file.
7992
7993 2012-05-14  Andreas Jaeger  <aj@suse.de>
7994
7995         * manual/Makefile (subdir): Remove export of subdir.
7996         (all): Remove target.
7997         (.PHONY): Remove all from list.
7998         (mkinstalldirs): Remove.
7999         (.PHONY): Remove installdirs from list.
8000         ($(inst_infodir)/libc.info): Use make-target-directory.
8001         (installdirs): Remove.
8002         (subdir_%): Remove.
8003         (glibc-targets): Remove.
8004         (lib): Remove.
8005         (stubs): Remove.
8006         ($(objpfx)stubs ../po/manual.pot): Remove.
8007         ($(objpfx)stamp%): Remove.
8008         (make-target-directory): Remove.
8009         (subdir_install): Remove.
8010         (routines): Remove.
8011         (aux): Remove.
8012         (sources): Remove.
8013         (objects): Remove.
8014         (headers): Remove.
8015
8016         [BZ #13750]
8017         * manual/.gitignore: Remove, it's not needed anymore.
8018         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
8019         all files in it.
8020         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
8021         directory.
8022         (texis): Renamed to $(objpfx)texis.
8023         (texis-path): New, contains path to generated files.
8024         (chapters.%): Use texis-path for complete path, add extra argument
8025         libc-texinfo.sh.
8026         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
8027         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
8028         (summary,texi, stamp-summary): Use complete path of
8029         files. Generate files in build dir.
8030         (dir-add.texi): Build in build dir.
8031         (libm-err.texi,stamp-libm-err): Likewise.
8032         (version.texi, stamp-version): Likewise.
8033         (.%c.texi): Likewise.
8034         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
8035         (mostlyclean): Remove target.
8036         (realclean): Remove target.
8037         (generated): Add new variable with contents from mostlyclean and
8038         realclean, remove entries duplicated in common-mostlyclean, add
8039         stamp-libm-err and stamp-version.
8040         (generated-dirs): Add libc directory.
8041         ($(inst_infodir)/libc.info): Install files from build dir.
8042
8043         * manual/install.texi (Configuring and compiling): Adjust since
8044         the info files are not part of the tar ball anymore.
8045
8046 2012-05-14  Andreas Jaeger  <aj@suse.de>
8047
8048         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
8049         variable.
8050
8051 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
8052
8053         [BZ #13717]
8054         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8055         to 2.2.0 where earlier.
8056         * sysdeps/unix/sysv/linux/configure: Regenerated.
8057         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
8058         Remove conditional code.
8059         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
8060         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
8061         Remove conditional code.
8062         [!__NR_lchown]: Likewise.
8063         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8064         [__NR_lchown]: Likewise.
8065         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
8066         comment referencing __ASSUME_LCHOWN_SYSCALL.
8067         * sysdeps/unix/sysv/linux/i386/sigaction.c
8068         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8069         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8070         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
8071         Remove conditional code.
8072         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
8073         (__protocol_available): Remove #if 0 code.
8074         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
8075         conditional code.
8076         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
8077         * sysdeps/unix/sysv/linux/kernel-features.h
8078         (__ASSUME_GETCWD_SYSCALL): Don't define.
8079         (__ASSUME_REALTIME_SIGNALS): Likewise.
8080         (__ASSUME_PREAD_SYSCALL): Likewise.
8081         (__ASSUME_PWRITE_SYSCALL): Likewise.
8082         (__ASSUME_POLL_SYSCALL): Likewise.
8083         (__ASSUME_LCHOWN_SYSCALL): Likewise.
8084         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
8085         non-SPARC.
8086         (__ASSUME_SIOCGIFNAME): Don't define.
8087         (__ASSUME_MSG_NOSIGNAL): Likewise.
8088         (__ASSUME_SENDFILE): Define unconditionally.
8089         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
8090         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
8091         conditional code.
8092         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
8093         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
8094         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8095         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8096         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
8097         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8098         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
8100         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8101         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8103         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8104         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
8106         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8107         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
8109         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8110         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
8112         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8113         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
8115         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8116         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
8118         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8119         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
8121         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8122         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8123         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
8124         Remove conditional code.
8125         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8126         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8127         Remove conditional code.
8128         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8129         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
8130         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
8131         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8132         Remove conditional code.
8133         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8134         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
8135         Remove conditional code.
8136         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8137         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
8138         Remove conditional code.
8139         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8140         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8141         Remove conditional code.
8142         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8143         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8144         Remove conditional code.
8145         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8146         * sysdeps/unix/sysv/linux/sh/pwrite64.c
8147         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8148         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8149         * sysdeps/unix/sysv/linux/sigaction.c
8150         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8151         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8152         * sysdeps/unix/sysv/linux/sigpending.c
8153         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8154         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8155         * sysdeps/unix/sysv/linux/sigprocmask.c
8156         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8157         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8158         * sysdeps/unix/sysv/linux/sigsuspend.c
8159         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8160         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8161         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8162         (__libc_missing_rt_sigs): Remove.
8163         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
8164         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
8165         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
8166         Remove conditional code.
8167         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
8168         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
8169         return 1.
8170         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
8171         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
8172         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
8173         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
8174
8175 2012-05-14  Andreas Jaeger  <aj@suse.de>
8176
8177         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
8178         it's not used in glibc.
8179         (__coshm1): Likewise.
8180         (__acosh1p): Likewise.
8181         (__sgn): Likewise.
8182
8183         * manual/string.texi (Copying and Concatenation): Add missing
8184         variable in concat example.
8185         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
8186
8187 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
8188
8189         [BZ #14103]
8190         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
8191         __builtin_clzl with __builtin_clzll.
8192
8193 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
8194
8195         [BZ #14104]
8196         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
8197         libc_freeres_ptr.
8198
8199 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8200
8201         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
8202         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
8203         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
8204         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
8205
8206 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
8207
8208         * NEWS: Update ia64 info.
8209
8210 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
8211
8212         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
8213         used as bcopy.
8214
8215 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
8216
8217         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
8218         * sysdeps/unix/syscalls.list (dup3): Likewise.
8219         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
8220         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
8221
8222 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
8223
8224         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
8225         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
8226
8227 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
8228
8229         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
8230         thread pointer.
8231         (TLS_IE): Use mov/add instead of movq/addq to load thread
8232         pointer.
8233         (TLS_GD_PREFIX): New.
8234         (TLS_GD): Use it.
8235
8236 2012-05-11  David S. Miller  <davem@davemloft.net>
8237
8238         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
8239         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
8240         (_FPU_SETCW): Likewise.
8241
8242 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
8243
8244         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
8245         is 32-byte aligned.
8246
8247 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
8248
8249         [BZ #11837]
8250         * iconvdata/gb18030.c: Update tables.
8251         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
8252         characters specially.
8253         (BODY for TO_LOOP): Add encoding of missing ranges.
8254
8255 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
8256
8257         [BZ #13673]
8258         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
8259         * sysdeps/mach/hurd/dup3.c: Likewise.
8260         * sysdeps/mach/hurd/readlinkat.c: Likewise.
8261         * sysdeps/powerpc/memmove.c:: Likewise.
8262
8263 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
8264
8265         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
8266         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
8267
8268 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
8269
8270         * elf/elf.h (R_X86_64_RELATIVE64): New.
8271         (R_X86_64_NUM): Updated.
8272         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8273         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
8274         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
8275         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
8276         tst-quad1pie tst-quad2pie
8277         (modules-names): Add tst-quadmod1 tst-quadmod2.
8278         ($(objpfx)tst-quad1): New dependency.
8279         ($(objpfx)tst-quad2): Likewise.
8280         ($(objpfx)tst-quad1pie): Likewise.
8281         ($(objpfx)tst-quad2pie): Likewise.
8282         * sysdeps/x86_64/tst-quad1.c: New file.
8283         * sysdeps/x86_64/tst-quad1pie.c: New file.
8284         * sysdeps/x86_64/tst-quad2.c: Likewise.
8285         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
8286         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
8287         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
8288         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
8289         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
8290
8291 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8292
8293         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
8294         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
8295         * streams/stropts.h (t_scalar_t): Define type.
8296
8297         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
8298         (_PATH_PRESERVE): Set to "/var/lib".
8299         (_PATH_RWHODIR): Set to "/var/spool/rwho".
8300
8301         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
8302         instead of int.
8303
8304         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
8305         if __dir_mkfile succeeded.
8306
8307         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
8308         checking for _hurd_dtablesize.  Unlock it right after having
8309         finished _hurd_dtable allocation.
8310
8311 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
8312
8313         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
8314         * sysdeps/mach/hurd/configure: Regenerated.
8315         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
8316         special-casing to...
8317         * sysdeps/gnu/configure.in: ... this new file.
8318         * sysdeps/unix/sysv/linux/configure: Regenerated.
8319         * sysdeps/gnu/configure: New generated file.
8320
8321         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
8322         for Linux: use nsec instead of usec, as well as:
8323         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
8324         members of type struct timespec.
8325         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
8326         New macros.
8327         (struct stat64): Likewise.
8328         (_STATBUF_ST_NSEC): New macro.
8329         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
8330
8331         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
8332         __strtoul_internal rather than strtoul.
8333
8334 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
8335
8336         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
8337         and reject them.
8338
8339 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8340
8341         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
8342         which preserves existing values.
8343         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
8344
8345 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
8346
8347         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
8348         TIMEOUT values.  Return EINVAL for NFDS values either negative or
8349         greater than FD_SETSIZE.
8350
8351 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8352
8353         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
8354         allocated, call __vm_protect to finish enabling the existing space, and
8355         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
8356         allocate the remainder.
8357
8358 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
8359
8360         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
8361         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
8362
8363 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8364
8365         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
8366         sysdeps/mach/hurd/readlink.c.
8367
8368         * posix/tst-sysconf.c (posix_options): Only use
8369         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
8370         _POSIX_SYNCHRONIZED_IO when they are defined
8371         * sysdeps/mach/hurd/bits/posix_opt.h:
8372         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
8373         (_XOPEN_REALTIME): Undefine macro.
8374         (_XOPEN_REALTIME_THREADS): Undefine macro.
8375         (_XOPEN_SHM): Undefine macro.
8376         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
8377         macro to -1.
8378         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
8379         macro to -1.
8380         (_POSIX_ASYNC_IO): Undefine macro.
8381         (_POSIX_PRIORITIZED_IO): Undefine macro.
8382         (_POSIX_SPIN_LOCKS): Define macro to -1.
8383
8384         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
8385         SA_NODEFER, SA_RESETHAND.
8386         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
8387         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
8388         F_DUPFD_CLOEXEC.
8389
8390 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
8391
8392         * elf/Makefile (pldd-modules): Define unconditionally.
8393
8394 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
8395
8396         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
8397
8398 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8399
8400         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
8401         Return ENOENT when name is empty.
8402         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
8403
8404 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
8405
8406         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
8407
8408         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
8409
8410 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8411
8412         Fix mlock in all cases except non-readable pages.
8413         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
8414         instead of VM_PROT_ALL as parameter to __vm_wire function.
8415
8416         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
8417         (__mkdir): When path is `/', just fail with EEXIST.
8418         * sysdeps/mach/hurd/mkdirat.c: Likewise.
8419
8420 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
8421
8422         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
8423         <sys/uio.h> (for writev).
8424         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
8425         and <sys/param.h> (for MIN).
8426
8427 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
8428
8429         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
8430         REQUESTED_TIME.  Properly set the remaining time and return EINTR
8431         if interrupted.
8432
8433 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
8434
8435         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
8436         Depend on against $(link-rpcuserlibs).
8437
8438 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8439
8440         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
8441         (__libc_stack_end): Do not use attribute_relro.
8442         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
8443         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
8444         to libthread-provided value.
8445         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
8446         attribute_relro.
8447
8448 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
8449
8450         [BZ #3748]
8451         * bits/libc-lock.h (__libc_once_get): New macro.
8452         * sysdeps/mach/bits/libc-lock.h: Likewise.
8453         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
8454         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
8455         instead of using implementation details.
8456
8457         * libio/fileops.c: Unconditionally include <kernel-features.h>.
8458         * libio/freopen.c: Likewise.
8459         * libio/freopen64.c: Likewise.
8460         * misc/syslog.c: Likewise.
8461         * nscd/connections.c: Likewise.
8462         * nscd/netgroupcache.c: Likewise.
8463         * sysdeps/posix/getcwd.c: Likewise.
8464
8465 2012-05-10  Roland McGrath  <roland@hack.frob.com>
8466
8467         * math/w_ilogbf.c: Add #include <limits.h>.
8468
8469 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8470
8471         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
8472         path instead of returning without unlocking.
8473
8474         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
8475         immediate-write ioctls.
8476         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
8477
8478 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
8479
8480         * sysdeps/mach/hurd/i386/init-first.c (init): Use
8481         __builtin_frame_address instead of making assumptions about the
8482         location of the return address relative to DATA.  Force early load of
8483         the return address.
8484         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
8485         __builtin_frame_address.
8486
8487         dup3 for GNU Hurd.
8488         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
8489         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
8490         implement dup3 and do some further code clean-ups.
8491         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
8492         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
8493
8494 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8495
8496         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
8497
8498         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
8499         HURD_CRITICAL_END around holding _hurd_dtable_lock.
8500         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
8501         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
8502         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
8503         d->port.lock.
8504
8505         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
8506         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
8507         when handler == SIG_ERR, not when handler != SIG_ERR.
8508
8509 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
8510
8511         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
8512         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
8513         definitions.
8514
8515         accept4 for GNU Hurd.
8516         * include/sys/socket.h (__libc_accept4): New prototype.
8517         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
8518         to implement __libc_accept4.
8519         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
8520         __libc_accept4.
8521         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
8522
8523         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
8524         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
8525         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
8526         signal-defines.sym.
8527
8528 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8529
8530         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
8531
8532 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
8533
8534         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
8535         assertion on O_CLOEXEC flag.
8536         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
8537         * hurd/intern-fd.c: Likewise.
8538         * hurd/port2fd.c: Likewise.
8539
8540 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8541
8542         [BZ #3906]
8543         * bits/in.h (IPV6_PKTINFO): Define new macro.
8544         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
8545
8546 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8547
8548         [BZ #13954]
8549         [BZ #13955]
8550         [BZ #13956]
8551         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
8552         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8553         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
8554         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
8555         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8556         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
8557         * math/libm-test.inc (logb_test) : Additional logb tests.
8558
8559 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
8560             Andreas Jaeger  <aj@suse.de>
8561
8562         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
8563         * configure: Regenerated.
8564         * config.h.in (LINK_OBSOLETE_RPC): New macro.
8565         * config.make.in (link-obsolete-rpc): New substituted variable.
8566         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
8567         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
8568         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
8569         (shared-only-routines): Don't set it under [link-obsolete-rpc],
8570         so that libc.a contains the symbols.
8571         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
8572         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
8573         * sunrpc/auth_none.c: Likewise.
8574         * sunrpc/auth_unix.c: Likewise.
8575         * sunrpc/authdes_prot.c: Likewise.
8576         * sunrpc/authuxprot.c: Likewise.
8577         * sunrpc/clnt_gen.c: Likewise.
8578         * sunrpc/clnt_perr.c: Likewise.
8579         * sunrpc/clnt_raw.c: Likewise.
8580         * sunrpc/clnt_simp.c: Likewise.
8581         * sunrpc/clnt_tcp.c: Likewise.
8582         * sunrpc/clnt_udp.c: Likewise.
8583         * sunrpc/clnt_unix.c: Likewise.
8584         * sunrpc/des_crypt.c: Likewise.
8585         * sunrpc/des_soft.c: Likewise.
8586         * sunrpc/get_myaddr.c: Likewise.
8587         * sunrpc/key_call.c: Likewise.
8588         * sunrpc/key_prot.c: Likewise.
8589         * sunrpc/netname.c: Likewise.
8590         * sunrpc/pm_getmaps.c: Likewise.
8591         * sunrpc/pm_getport.c: Likewise.
8592         * sunrpc/pmap_clnt.c: Likewise.
8593         * sunrpc/pmap_prot.c: Likewise.
8594         * sunrpc/pmap_prot2.c: Likewise.
8595         * sunrpc/pmap_rmt.c: Likewise.
8596         * sunrpc/publickey.c: Likewise.
8597         * sunrpc/rpc_cmsg.c: Likewise.
8598         * sunrpc/rpc_common.c: Likewise.
8599         * sunrpc/rpc_dtable.c: Likewise.
8600         * sunrpc/rpc_prot.c: Likewise.
8601         * sunrpc/rpc_thread.c: Likewise.
8602         * sunrpc/rtime.c: Likewise.
8603         * sunrpc/svc.c: Likewise.
8604         * sunrpc/svc_auth.c: Likewise.
8605         * sunrpc/svc_raw.c: Likewise.
8606         * sunrpc/svc_run.c: Likewise.
8607         * sunrpc/svc_tcp.c: Likewise.
8608         * sunrpc/svc_udp.c: Likewise.
8609         * sunrpc/svc_unix.c: Likewise.
8610         * sunrpc/svcauth_des.c: Likewise.
8611         * sunrpc/xcrypt.c: Likewise.
8612         * sunrpc/xdr.c: Likewise.
8613         * sunrpc/xdr_array.c: Likewise.
8614         * sunrpc/xdr_float.c: Likewise.
8615         * sunrpc/xdr_intXX_t.c: Likewise.
8616         * sunrpc/xdr_mem.c: Likewise.
8617         * sunrpc/xdr_rec.c: Likewise.
8618         * sunrpc/xdr_ref.c: Likewise.
8619         * sunrpc/xdr_sizeof.c: Likewise.
8620         * sunrpc/xdr_stdio.c: Likewise.
8621
8622 2012-05-10  Roland McGrath  <roland@hack.frob.com>
8623
8624         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
8625         change.  Update copyright years.
8626
8627 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
8628
8629         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
8630
8631 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
8632             Joseph Myers  <joseph@codesourcery.com>
8633             Paul Pluzhnikov  <ppluzhnikov@google.com>
8634
8635         [BZ #14012]
8636         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
8637         requiring rpcgen.
8638         [cross-compiling] (extra-libs): Likewise.
8639         [cross-compiling] (extra-libs-others): Likewise.
8640         [cross-compiling] (librpcsvc-routines): Likewise.
8641         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
8642         [cross-compiling] (omit-deps): Likewise.
8643         (sunrpc-CPPFLAGS): New variable.
8644         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
8645         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
8646         (cross-rpcgen-objs): New variable.
8647         (extra-objs): Append $(cross-rpcgen-objs).
8648         ($(cross-rpcgen-objs)): New rule.
8649         ($(objpfx)cross-rpcgen): Likewise.
8650         (rpcgen-cmd): Define to use $(built-program-file).  Expand
8651         comment.
8652         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
8653         ($(objpfx)x%.stmp): Likewise.
8654         * sunrpc/proto.h [IS_IN_build] (_): Define.
8655         [IS_IN_build] (_libc_intl_domainname): Likewise.
8656
8657 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
8658
8659         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
8660         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
8661         and R_X86_64_TPOFF64.
8662
8663 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
8664
8665         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
8666         sysdeps/unix/sysv/syscalls.list.
8667         (stime): Likewise.
8668         (utime): Likewise.
8669         * sysdeps/unix/sysv/syscalls.list: Remove file.
8670
8671 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
8672
8673         [BZ #3440]
8674         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
8675         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
8676         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
8677         (__LC_IDENTIFICATION): Make these macros useful in #if
8678         expressions, as required by C99.
8679
8680 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
8681
8682         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
8683         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
8684         after this.
8685
8686 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
8687
8688         * stdlib/longlong.h: Updated from GCC.
8689
8690 2012-05-09  Andreas Jaeger  <aj@suse.de>
8691
8692         * nscd/nscd.c (run_modes): Make named enum, reorder so that
8693         default is first entry.
8694         (run_mode): Set type.
8695         (main): Remove informal message about syslog.
8696         (options): Fix typo.
8697
8698         [BZ #14053]
8699         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
8700         to asm.
8701         (lrint): Likewise.
8702         (llrintf): Likewise.
8703         (llrint): Likewise.
8704         (rint): Likewise.
8705         (rintf): Likewise.
8706         (nearbyint): Likewise.
8707         (nearbyintf): Likewise.
8708
8709 2012-05-09  Andreas Jaeger  <aj@suse.de>
8710             Pedro Alves  <palves@redhat.com>
8711
8712         * nscd/nscd.c (run_mode): Use enum.
8713         (main): Cleanup coding style issue.
8714
8715 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
8716             Andreas Jaeger  <aj@suse.de>
8717
8718         * nscd/nscd.c (go_background): Replaced with...
8719         (run_mode): ... this.
8720         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
8721         (options): Add -F --foreground.
8722         (main): Implement it.
8723         (parse_opt): Parse it.
8724
8725 2012-05-09  Andreas Jaeger  <aj@suse.de>
8726
8727         [BZ #14083]
8728         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
8729         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
8730         -Wconversion warning.
8731         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
8732         Likewise.
8733
8734 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
8735
8736         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
8737         == 0.
8738         (LC_ALL): Use macro-int-constant.
8739         (LC_COLLATE): Likewise.
8740         (LC_CTYPE): Likewise.
8741         (LC_MESSAGES): Likewise.
8742         (LC_MONETARY): Likewise.
8743         (LC_NUMERIC): Likewise.
8744         (LC_TIME): Likewise.
8745         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
8746         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
8747         [ISO || ISO99 || ISO11] (*_t): Do not allow.
8748         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
8749         Specify type.
8750         [C99-based standards] (float_t): Expect type.
8751         [C99-based standards] (double_t): Expect type.
8752         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
8753         type.
8754         [C99-based standards] (HUGE_VALL): Likewise.
8755         [C99-based standards] (INFINITY): Likewise.
8756         [C99-based standards] (NAN): Likewise.
8757         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
8758         [C99-based standards] (FP_NAN): Likewise.
8759         [C99-based standards] (FP_NORMAL): Likewise.
8760         [C99-based standards] (FP_SUBNORMAL): Likewise.
8761         [C99-based standards] (FP_ZERO): Likewise.
8762         [C99-based standards] (FP_FAST_FMA): Use
8763         optional-macro-int-constant.  Specify type.  Require == 1.
8764         [C99-based standards] (FP_FAST_FMAF): Likewise.
8765         [C99-based standards] (FP_FAST_FMAL): Likewise.
8766         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
8767         [C99-based standards] (FP_ILOGBNAN): Likewise.
8768         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
8769         Specify type.
8770         [C99-based standards] (MATH_ERREXCEPT): Likewise.
8771         [C99-based standards] (math_errhandling): Specify type.
8772         [ISO99 || ISO11] (signgam): Do not allow.
8773         [non-C99-based standards] (copysignf): Do not allow.
8774         [non-C99-based standards] (exp2f): Likewise.
8775         [non-C99-based standards] (log2f): Likewise.
8776         [non-C99-based standards] (modff): Allow.
8777         [non-C99-based standards] (erff): Do not allow.
8778         [non-C99-based standards] (erfcf): Likewise.
8779         [non-C99-based standards] (gammaf): Likewise.
8780         [non-C99-based standards] (hypotf): Likewise.
8781         [non-C99-based standards] (j0f): Likewise.
8782         [non-C99-based standards] (j1f): Likewise.
8783         [non-C99-based standards] (jnf): Likewise.
8784         [non-C99-based standards] (lgammaf): Likewise.
8785         [non-C99-based standards] (tgammaf): Likewise.
8786         [non-C99-based standards] (y0f): Likewise.
8787         [non-C99-based standards] (y1f): Likewise.
8788         [non-C99-based standards] (ynf): Likewise.
8789         [non-C99-based standards] (isnanf): Likewise.
8790         [non-C99-based standards] (acoshf): Likewise.
8791         [non-C99-based standards] (asinhf): Likewise.
8792         [non-C99-based standards] (atanhf): Likewise.
8793         [non-C99-based standards] (cbrtf): Likewise.
8794         [non-C99-based standards] (expm1f): Likewise.
8795         [non-C99-based standards] (ilogbf): Likewise.
8796         [non-C99-based standards] (log1pf): Likewise.
8797         [non-C99-based standards] (logbf): Likewise.
8798         [non-C99-based standards] (nextafterf): Likewise.
8799         [non-C99-based standards] (remainderf): Likewise.
8800         [non-C99-based standards] (rintf): Likewise.
8801         [non-C99-based standards] (scalbf): Likewise.
8802         [non-C99-based standards] (copysignl): Likewise.
8803         [non-C99-based standards] (exp2l): Likewise.
8804         [non-C99-based standards] (log2l): Likewise.
8805         [non-C99-based standards] (modfl): Allow.
8806         [non-C99-based standards] (erfl): Do not allow.
8807         [non-C99-based standards] (erfcl): Likewise.
8808         [non-C99-based standards] (gammal): Likewise.
8809         [non-C99-based standards] (hypotl): Likewise.
8810         [non-C99-based standards] (j0l): Likewise.
8811         [non-C99-based standards] (j1l): Likewise.
8812         [non-C99-based standards] (jnl): Likewise.
8813         [non-C99-based standards] (lgammal): Likewise.
8814         [non-C99-based standards] (tgammal): Likewise.
8815         [non-C99-based standards] (y0l): Likewise.
8816         [non-C99-based standards] (y1l): Likewise.
8817         [non-C99-based standards] (ynl): Likewise.
8818         [non-C99-based standards] (isnanl): Likewise.
8819         [non-C99-based standards] (acoshl): Likewise.
8820         [non-C99-based standards] (asinhl): Likewise.
8821         [non-C99-based standards] (atanhl): Likewise.
8822         [non-C99-based standards] (cbrtl): Likewise.
8823         [non-C99-based standards] (expm1l): Likewise.
8824         [non-C99-based standards] (ilogbl): Likewise.
8825         [non-C99-based standards] (log1pl): Likewise.
8826         [non-C99-based standards] (logbl): Likewise.
8827         [non-C99-based standards] (nextafterl): Likewise.
8828         [non-C99-based standards] (remainderl): Likewise.
8829         [non-C99-based standards] (rintl): Likewise.
8830         [non-C99-based standards] (scalbl): Likewise.
8831         [ISO || ISO99 || ISO11] (*_t): Do not allow.
8832         [non-C99-based standards] (FP_*): Do not allow.
8833         [C99-based standards] (FP_*): Change to
8834         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
8835         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
8836         allow.
8837         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
8838         (SIG_ERR): Likewise.
8839         [X/Open-based standards] (SIG_HOLD): Likewise.
8840         (SIG_IGN): Likewise.
8841         (SIGABRT): Use macro-int-constant.  Specify type.  Require
8842         positive value.
8843         (SIGFPE): Likewise.
8844         (SIGILL): Likewise.
8845         (SIGINT): Likewise.
8846         (SIGSEGV): Likewise.
8847         (SIGTER): Likewise.
8848         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
8849         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
8850         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
8851         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
8852         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
8853         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
8854         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
8855         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
8856         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
8857         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
8858         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
8859         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
8860         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
8861         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
8862         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
8863         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
8864         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
8865         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
8866         [X/Open-based standards] (SIGTRAP): Likewise.
8867         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
8868         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
8869         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
8870         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
8871         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
8872         allow.
8873
8874 2012-05-08  Ian Wienand  <ianw@vmware.com>
8875
8876         [BZ #14080]
8877         * time/tzset.c (__tzset_parse_tz): Update default rules for
8878         daylight time changes in the Energy Policy Act of 2005.
8879
8880 2012-05-09  Andreas Jaeger  <aj@suse.de>
8881
8882         [BZ #13983]
8883         * elf/ldconfig.c (parse_conf): Change string to make clear that
8884         ldconfig only issued a warning if ld.so.conf does not exist.
8885
8886 2012-05-08  David S. Miller  <davem@davemloft.net>
8887
8888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
8889         movxtod instead of popping the value on the stack.
8890
8891         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8892
8893 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
8894
8895         * config.h.in: Add HAVE_ARM_PCS_VFP.
8896
8897 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
8898
8899         [BZ #13979]
8900         * include/features.h: Warn if user requests __FORTIFY_SOURCE
8901         checking but the checks are disabled for any reason.
8902
8903 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
8904
8905         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
8906         and ELF64_R_TYPE with ELFW(R_TYPE).
8907
8908 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
8909
8910         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
8911         (ulimit): Likewise.
8912
8913         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
8914         (settimeofday): Likewise.
8915
8916 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
8917
8918         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
8919         a struct th_u2 inside the union, and move tu_block/tu_code into
8920         a new th_u3 union of tu_block/tu_code inside of that.  Move
8921         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
8922         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
8923         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
8924         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
8925         (th_stuff): Change to th_u1.tu_stuff.
8926         (th_data): Define.
8927         (th_msg): Change to th_u1.th_u2.tu_data.
8928
8929 2012-05-07  David S. Miller  <davem@davemloft.net>
8930
8931         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8932
8933         [BZ #14074]
8934         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
8935         (SETUP_PIC_REG): Use it.
8936         (SETUP_PIC_REG_LEAF): Use it.
8937
8938 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
8939
8940         [BZ #13885]
8941         [BZ #13923]
8942         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
8943         USE_AS_EXPM1L.
8944         (EXPL_FINITE): Likewise.
8945         (FLDLOG): Likewise.
8946         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
8947         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
8948         e_expl.S.
8949         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
8950         USE_AS_EXPM1L.
8951         (EXPL_FINITE): Likewise.
8952         (FLDLOG): Likewise.
8953         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
8954         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
8955         e_expl.S.
8956         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
8957         test of -max_value argument for long double.
8958         * sysdeps/i386/fpu/libm-test-ulps: Update.
8959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8960
8961 2012-05-06  David S. Miller  <davem@davemloft.net>
8962
8963         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
8964         quad soft-float symbols whose references which are compiler
8965         generated.
8966         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
8967
8968 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
8969
8970         [BZ #13884]
8971         [BZ #13914]
8972         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
8973         USE_AS_EXP10L.
8974         (EXPL_FINITE): Likewise.
8975         (FLDLOG): Likewise.
8976         (c0): Likewise.
8977         (c1): Likewise.
8978         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
8979         Adjust comments for base varying.
8980         (__expl_finite): Change alias to EXPL_FINITE.
8981         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
8982         e_expl.S.
8983         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
8984         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
8985         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
8986         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
8987         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
8988         USE_AS_EXP10L.
8989         (EXPL_FINITE): Likewise.
8990         (FLDLOG): Likewise.
8991         (c0): Likewise.
8992         (c1): Likewise.
8993         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
8994         Adjust comments for base varying.
8995         (__expl_finite): Change alias to EXPL_FINITE.
8996         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
8997         tests for bugs.
8998         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8999
9000         [BZ #14064]
9001         * math/libm-test.inc (check_float_internal): Correct ulp
9002         calculation for subnormal expected results.
9003
9004 2012-05-06  Andreas Jaeger  <aj@suse.de>
9005
9006         * Makeconfig (+math-flags): New, set to -frounding-math.
9007         (+cflags): Add +math-flags so that all of glibc gets compiled with
9008         it.
9009
9010         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
9011
9012 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
9013
9014         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
9015         Disable one test.
9016
9017         [BZ #13787]
9018         [BZ #13922]
9019         [BZ #14036]
9020         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
9021         (__ieee754_expl): Allow for and saturate large arguments.
9022         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
9023         (u_threshold): Likewise.
9024         (__exp): Call __ieee754_exp before checking for overflow and
9025         underflow.
9026         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
9027         (u_threshold): Likewise.
9028         (__expf): Call __ieee754_expf before checking for overflow and
9029         underflow.
9030         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
9031         (u_threshold): Likewise.
9032         (__expl): Call __ieee754_expl before checking for overflow and
9033         underflow.
9034         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
9035         (__ieee754_expl): Allow for and saturate large arguments.
9036         * math/libm-test.inc (exp_test): Add another test.  Do not allow
9037         missing overflow exception on overflow.
9038         (expm1_test): Do not allow missing overflow exception on overflow.
9039
9040         * sysdeps/i386/fpu/e_expl.c: Move to ...
9041         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
9042         rather than using inline asm.
9043         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
9044         * sysdeps/x86_64/fpu/e_expl.S: Copy from
9045         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
9046
9047         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
9048         (nice): Likewise.
9049         (poll): Likewise.
9050         (signal): Likewise.
9051         (time): Likewise.
9052         (times): Likewise.
9053
9054 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
9055
9056         * sysdeps/unix/syscalls.list (adjtime): Add entry from
9057         sysdeps/unix/common/syscalls.list.
9058         (fchmod): Likewise.
9059         (fchown): Likewise.
9060         (ftruncate): Likewise.
9061         (getrusage): Likewise.
9062         (gettimeofday): Likewise.
9063         (setpgid): Likewise.
9064         (setregid): Likewise.
9065         (setreuid): Likewise.
9066         (sigaction): Likewise.
9067         (truncate): Likewise.
9068         (vhangup): Likewise.
9069         * sysdeps/unix/common/syscalls.list: Remove file.
9070         * sysdeps/unix/bsd/Implies: Don't include unix/common.
9071         * sysdeps/unix/sysv/linux/Implies: Likewise.
9072
9073 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
9074
9075         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
9076         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
9077         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
9078         Moved to ...
9079         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9080         Here.
9081         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
9082         to ...
9083         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
9084         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
9085         to ...
9086         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
9087         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
9088         to ...
9089         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
9090         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
9091         to ...
9092         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
9093         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
9094         to ...
9095         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
9096         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
9097         to ...
9098         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
9099         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
9100         to ...
9101         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
9102         Here.
9103         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
9104         to ...
9105         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
9106         Here.
9107         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
9108         to ...
9109         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
9110         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
9111         Moved to ...
9112         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
9113         Here.
9114         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
9115         to ...
9116         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
9117
9118 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
9119
9120         * sysdeps/unix/common/bits/dirent.h: Remove file.
9121         * sysdeps/unix/common/bits/fcntl.h: Likewise.
9122
9123         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
9124         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
9125         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
9126         * sysdeps/unix/bsd/isatty.c: Likewise.
9127         * sysdeps/unix/bsd/tcdrain.c: Likewise.
9128         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
9129         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
9130
9131 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9132
9133         [BZ #13563]
9134         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
9135         long double comparison inaccuracies.
9136         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9137         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9138
9139 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
9140
9141         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
9142         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
9143
9144 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
9145
9146         [BZ #14049]
9147         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
9148         nonzero digits before rounding a hex value.
9149         * stdlib/tst-strtod.c (tests): Add another test.
9150
9151 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9152
9153         * sysdeps/s390/fpu/libm-test-ulps: Update.
9154
9155 2012-05-03  Andreas Jaeger  <aj@suse.de>
9156
9157         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
9158         does not get optimized out.
9159         (malloc_opt_barrier): New.
9160
9161 2012-05-03  Andreas Jaeger  <aj@suse.de>
9162             Roland McGrath  <roland@hack.frob.com>
9163
9164         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
9165         intermediate file deletion.
9166         (generated): Add .symlist files.
9167
9168 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
9169
9170         [BZ #13775]
9171         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
9172         Redirect under this condition.
9173         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9174         [__USE_GNU] (__dprintf_chk): Not under this condition.
9175         [__USE_GNU] (__vdprintf_chk): Likewise.
9176         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
9177         under this condition.
9178         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9179         [__USE_XOPEN2K8] (dprintf): Define under this condition.
9180         [__USE_XOPEN2K8] (vdprintf): Likewise.
9181         [__USE_GNU] (__dprintf_chk): Not under this condition.
9182         [__USE_GNU] (__vdprintf_chk): Likewise.
9183         [__USE_GNU] (dprintf): Likewise.
9184         [__USE_GNU] (vdprintf): Likewise.
9185
9186 2012-05-03  Roland McGrath  <roland@hack.frob.com>
9187
9188         * elf/Makefile (common-generated): Set this instead of generated for
9189         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
9190         $(all-built-dso)-derived lists.
9191
9192 2012-05-03  Andreas Jaeger  <aj@suse.de>
9193
9194         * sysdeps/i386/fpu/libm-test-ulps: Update.
9195
9196         * FAQ: Removed.
9197         * FAQ.in: Likewise.
9198         * scripts/gen-FAQ.pl: Likewise.
9199         * manual/install.texi (Installation): Point to online location of
9200         FAQ.
9201         * Makefile (files-for-dist): Remove FAQ.
9202         (FAQ): Remove.
9203
9204 2012-05-02  Allan McRae  <allan@archlinux.org>
9205
9206         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
9207         (LDFLAGS-reldepmod5.so): Likewise.
9208         (LDFLAGS-reldep6mod1.so): Likewise.
9209         (LDFLAGS-reldep6mod4.so): Likewise.
9210         (LDFLAGS-reldep8mod3.so): Likewise.
9211         (LDFLAGS-unload4mod1.so): Likewise.
9212         (LDFLAGS-unload4mod2.so): Likewise.
9213         (LDFLAGS-tst-initorder): Likewise.
9214         (LDFLAGS-tst-initordera2.so): Likewise.
9215         (LDFLAGS-tst-initordera3.so): Likewise.
9216         (LDFLAGS-tst-initordera4.so): Likewise.
9217         (LDFLAGS-tst-initorderb2.so): Likewise.
9218         (LDFLAGS-noload): Likewise.
9219         (LDFLAGS-next): Likewise.
9220         (LDFLAGS-order2mod1.so): Likewise.
9221         (LDFLAGS-order2mod2.so): Likewise.
9222         (LDFLAGS-tst-initorder2): Likewise.
9223         (LDFLAGS-tst-initorder2a.so): Likewise.
9224         (LDFLAGS-tst-initorder2b.so): Likewise.
9225         (LDFLAGS-tst-initorder2c.so): Likewise.
9226         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
9227
9228 2012-05-02  David S. Miller  <davem@davemloft.net>
9229
9230         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9231
9232 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
9233
9234         [BZ #14055]
9235         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
9236
9237 2012-05-02  Andreas Jaeger  <aj@suse.de>
9238
9239         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
9240         since we manipulate rounding mode.
9241         (CPPFLAGS-test-idouble.c): Likewise.
9242         (CPPFLAGS-test-ifloat.c): Likewise.
9243         (CFLAGS-test-ldouble.c): Likewise.
9244         (CFLAGS-test-double.c): Likewise.
9245         (CFLAGS-test-float.c): Likewise.
9246         (CFLAGS-test-misc.c): Likewise.
9247         (CFLAGS-test-test-fenv.c): Likewise.
9248
9249 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9250
9251         [BZ #2550]
9252         [BZ #2570]
9253         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
9254         comparisons to determine direction to adjust input.
9255
9256 2012-05-01  Roland McGrath  <roland@hack.frob.com>
9257
9258         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
9259         output to the target.
9260
9261         * scripts/localplt.awk: New file.
9262         * elf/Makefile ($(objpfx)check-localplt): Target removed.
9263         (check-localplt-CFLAGS): Variable removed.
9264         ($(all-built-dso:=.jmprel)): New static pattern rule.
9265         (generated): Add those targets.
9266         (localplt-built-dso): New variable.
9267         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
9268
9269         * elf/check-localplt.c: File removed.
9270
9271         * scripts/check-execstack.awk: New file.
9272         * elf/Makefile ($(objpfx)check-execstack): Target removed.
9273         (check-execstack-CFLAGS): Variable removed.
9274         ($(objpfx)check-execstack.h): Target removed.
9275         ($(objpfx)execstack-default): New target.
9276         (generated): Add that instead of check-execstack.h.
9277         ($(all-built-dso:=.phdr)): New static pattern rule.
9278         (generated): Add those targets.
9279         * elf/check-execstack.c: File removed.
9280
9281         * scripts/check-textrel.awk: New file.
9282         * elf/Makefile ($(objpfx)check-textrel): Target removed.
9283         (check-textrel-CFLAGS): Variable removed.
9284         (all-built-dso): Use := to define.o
9285         ($(all-built-dso:=.dyn)): New static pattern rule.
9286         (generated): Add those targets.
9287         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
9288         * config.make.in (READELF): New substituted variable.
9289         * elf/check-textrel.c: File removed.
9290
9291 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
9292
9293         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9294         allow.
9295         * conform/data/ctype.h-data [C99-based standards] (isblank):
9296         Expect function.
9297         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
9298         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
9299         [ISO || ISO99 || ISO11] (*_t): Do not allow.
9300         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
9301         Specify type.  Require positive value.
9302         (EILSEQ): Likewise.
9303         (ERANGE): Likewise.
9304         [ISO || POSIX] (EILSEQ): Do not expect.
9305         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
9306         Specify type.  Require positive value.
9307         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
9308         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
9309         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
9310         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
9311         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
9312         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
9313         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
9314         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
9315         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
9316         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
9317         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
9318         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
9319         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
9320         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
9321         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
9322         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
9323         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
9324         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
9325         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
9326         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
9327         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
9328         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
9329         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
9330         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
9331         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
9332         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
9333         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
9334         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
9335         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
9336         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
9337         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
9338         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
9339         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
9340         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
9341         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
9342         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
9343         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
9344         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
9345         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
9346         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
9347         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
9348         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
9349         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
9350         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
9351         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
9352         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
9353         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
9354         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
9355         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
9356         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
9357         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
9358         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
9359         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
9360         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
9361         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
9362         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
9363         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
9364         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
9365         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
9366         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
9367         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
9368         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
9369         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
9370         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
9371         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
9372         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
9373         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
9374         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
9375         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
9376         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
9377         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
9378         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
9379         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
9380         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
9381         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
9382         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
9383         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
9384         Require >= 2.
9385         (FLT_ROUNDS): Expect as macro, not constant.
9386         (FLT_MANT_DIG): Use macro-int-constant.
9387         (DBL_MANT_DIG): Likewise.
9388         (LDBL_MANT_DIG): Likewise.
9389         (FLT_DIG): Likewise.
9390         (DBL_DIG): Likewise.
9391         (LDBL_DIG): Likewise.
9392         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
9393         (DBL_MIN_EXP): Likewise.
9394         (LDBL_MIN_EXP): Likewise.
9395         (FLT_MAX_EXP): Use macro-int-constant.
9396         (DBL_MAX_EXP): Likewise.
9397         (LDBL_MAX_EXP): Likewise.
9398         (FLT_MAX_10_EXP): Likewise.
9399         (DBL_MAX_10_EXP): Likewise.
9400         (LDBL_MAX_10_EXP): Likewise.
9401         (FLT_MAX): Use macro-constant.
9402         (DBL_MAX): Likewise.
9403         (LDBL_MAX): Likewise.
9404         (FLT_EPSILON): Use macro-constant.  Give upper bound.
9405         (DBL_EPSILON): Likewise.
9406         (LDBL_EPSILON): Likewise.
9407         (FLT_MIN): Likewise.
9408         (DBL_MIN): Likewise.
9409         (LDBL_MIN): Likewise.
9410         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
9411         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
9412         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
9413         [ISO11] (FLT_HAS_SUBNORM): Likewise.
9414         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
9415         [ISO11] (DBL_DECIMAL_DIG): Likewise.
9416         [ISO11] (FLT_DECIMAL_DIG): Likewise.
9417         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
9418         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
9419         [ISO11] (FLT_TRUE_MIN): Likewise.
9420         [ISO11] (LDBL_TRUE_MIN): Likewise.
9421         [ISO || ISO99 || ISO11] (*_t): Do not allow.
9422         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
9423         (SCHAR_MIN): Use macro-int-constant.  Specify type.
9424         (SCHAR_MAX): Likewise.
9425         (UCHAR_MAX): Likewise.
9426         (CHAR_MIN): Likewise.
9427         (CHAR_MAX): Likewise.
9428         (MB_LEN_MAX): Use macro-int-constant.
9429         (SHRT_MIN): Use macro-int-constant.  Specify type.
9430         (SHRT_MAX): Likewise.
9431         (USHRT_MAX): Likewise.
9432         (INT_MAX): Likewise.
9433         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
9434         bound negative.
9435         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
9436         bound with "U".
9437         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
9438         bound with "L".
9439         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
9440         bound negative.  Suffix upper bound with "L".
9441         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
9442         bound with "UL".
9443         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
9444         Specify type.
9445         [C99-based standards] (LLONG_MAX): Likewise.
9446         [C99-based standards] (ULLONG_MAX): Likewise.
9447         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
9448         == 0.
9449         [ISO11] (max_align_t): Require type.
9450         [ISO || ISO99 || ISO11] (*_t): Do not allow.
9451
9452         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
9453         from $CFLAGS, without defining away __attribute__ calls.
9454         (checknamespace): Use $CFLAGS_namespace.
9455
9456         * conform/conformtest.pl (@keywords): Only include C99 keywords
9457         for standards based on C99 or C11.
9458
9459         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
9460         Disable tests.
9461         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
9462         UNIX98]: Likewise.
9463
9464         * conform/conformtest.pl: Handle "macro-int-constant" and test for
9465         usability of symbols in #if.
9466
9467         * conform/conformtest.pl: If macro or constant types start
9468         "promoted:", expect the symbol to be of the following type
9469         promoted by the integer promotions.
9470
9471         * conform/conformtest.pl: Parse all "constant" and "macro" lines
9472         in one place.  Also handle "macro-constant".
9473
9474         * conform/conformtest.pl: Only accept expected macro values with
9475         "==".  Parse all "macro" lines in one place.
9476         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
9477
9478         * conform/conformtest.pl: Handle braced types on "constant" lines
9479         instead of handling "typed-constant".
9480         * conform/data/signal.h-data: Use "constant" instead of
9481         "typed-constant".
9482
9483         * conform/conformtest.pl: Handle "optional-" at start of lines in
9484         one place rather than duplicating several cases.  Handle each
9485         format of "macro" line with initial "optional-".
9486
9487         * conform/conformtest.pl: Only accept expected constant or
9488         optional-constant values with "==".  Parse all "constant" lines in
9489         one place.  Parse all "optional-constant" lines in one place.
9490         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
9491         * conform/data/fmtmsg.h-data: Likewise.
9492         * conform/data/netinet/in.h-data: Likewise.
9493         * conform/data/tar.h-data: Likewise.
9494         * conform/data/limits.h-data: Use "==" form on "constant" and
9495         "optional-constant" lines.
9496
9497         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
9498         Use -std=c99 for XOPEN2K.
9499         (@knownproblems): Remove.
9500         (newtoken): Don't check %isknown.
9501
9502         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
9503         Do not expect macro.
9504         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
9505         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
9506         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
9507         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
9508         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
9509         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
9510         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
9511         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
9512         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
9513         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
9514         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
9515         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
9516         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
9517         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
9518         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
9519         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
9520         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
9521         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
9522         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
9523         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
9524         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
9525         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
9526         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
9527         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
9528         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
9529         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
9530         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
9531         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
9532         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
9533         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
9534         [XPG3] (acosh): Likewise.
9535         [XPG3] (asinh): Likewise.
9536         [XPG3] (atanh): Likewise.
9537         [XPG3] (cbrt): Likewise.
9538         [XPG3] (expm1): Likewise.
9539         [XPG3] (ilogb): Likewise.
9540         [XPG3] (log1p): Likewise.
9541         [XPG3] (logb): Likewise.
9542         [XPG3] (nextafter): Likewise.
9543         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
9544         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
9545         [XPG3] (remainder): Likewise.
9546         [XPG3] (rint): Likewise.
9547         [XPG3 || XPG4 || UNIX98] (round): Likewise.
9548         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
9549         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
9550         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
9551         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
9552         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
9553         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
9554         [UNIX98 || XOPEN2K] (scalb): Expect.
9555         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
9556         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
9557         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
9558         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
9559         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
9560         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
9561         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
9562         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
9563         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
9564         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
9565         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
9566         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
9567         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
9568         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
9569         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
9570         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
9571         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
9572         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
9573         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
9574         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
9575         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
9576         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
9577         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
9578         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
9579         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
9580         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
9581         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
9582         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
9583         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
9584         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
9585         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
9586         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
9587         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
9588         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
9589         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
9590         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
9591         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
9592         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
9593         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
9594         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
9595         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
9596         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
9597         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
9598         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
9599         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
9600         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
9601         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
9602         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
9603         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
9604         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
9605         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
9606         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
9607         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
9608         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
9609         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
9610         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
9611         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
9612         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
9613         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
9614         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
9615         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
9616         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
9617         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
9618         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
9619         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
9620         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
9621         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
9622         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
9623         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
9624         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
9625         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
9626         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
9627         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
9628         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
9629         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
9630         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
9631         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
9632         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
9633         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
9634         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
9635         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
9636         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
9637         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
9638         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
9639         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
9640         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
9641         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
9642         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
9643         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
9644         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
9645         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
9646         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
9647         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
9648         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
9649         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
9650         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
9651         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
9652         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
9653         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
9654         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
9655         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
9656         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
9657         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
9658         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
9659         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
9660         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
9661         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
9662         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
9663         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
9664         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
9665         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
9666         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
9667         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
9668         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
9669         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
9670         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
9671         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
9672         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
9673         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
9674         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
9675         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
9676         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
9677         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
9678         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
9679         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
9680         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
9681         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
9682         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
9683         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
9684         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
9685         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
9686         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
9687         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
9688         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
9689         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
9690         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
9691         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
9692
9693         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
9694         _XOPEN_SOURCE_EXTENDED for XPG4.
9695
9696         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
9697
9698         * Makeconfig (localtime): Remove variable.
9699         (inst_localtime-file): Likewise.
9700
9701 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
9702
9703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
9704         Update.
9705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9706         Update.
9707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
9708         Update.
9709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9710         Update.
9711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
9712         Update.
9713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
9714         Update.
9715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9716         Update.
9717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
9718         Update.
9719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9720         Update.
9721
9722 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
9723
9724         [BZ #2550]
9725         [BZ #2570]
9726         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
9727         comparisons to determine direction to adjust input.
9728         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
9729         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
9730         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
9731         Likewise.
9732         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
9733         Likewise.
9734         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9735         Likewise.
9736         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
9737         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
9738         Likewise.
9739         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
9740         Likewise.
9741         * math/libm-test.inc (nexttoward_test): Add more tests.
9742
9743 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
9744
9745         [BZ #14040]
9746         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
9747         in version GLIBC_2.1, not GLIBC_2.0.
9748         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
9749         Likewise.
9750
9751 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
9752
9753         [BZ #13942]
9754         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
9755         (1 - x) * (1 + x).
9756         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
9757         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
9758         * math/libm-test.inc (acos_test): Add more tests.
9759         (asin_test): Likewise.
9760         * sysdeps/i386/fpu/libm-test-ulps: Update.
9761         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9762
9763         [BZ #14034]
9764         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
9765         of square root.
9766         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
9767         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
9768         * math/libm-test.inc (acos_test_tonearest): New function.
9769         (acos_test_towardzero): Likewise.
9770         (acos_test_downward): Likewise.
9771         (acos_test_upward): Likewise.
9772         (asin_test_tonearest): Likewise.
9773         (asin_test_towardzero): Likewise.
9774         (asin_test_downward): Likewise.
9775         (asin_test_upward): Likewise.
9776         (main): Call the new functions.
9777         * sysdeps/i386/fpu/libm-test-ulps: Update.
9778         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9779
9780         [BZ #13884]
9781         [BZ #13924]
9782         * math/e_exp10.c: Include <float.h>.
9783         (__ieee754_exp10): Handle underflow here rather than multiplying
9784         large negative argument by M_LN10.
9785         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
9786         of __ieee754_expf.
9787         * math/e_exp10l.c: Include <float.h>.
9788         (__ieee754_exp10l): Handle underflow here rather than multiplying
9789         large negative argument by M_LN10l.
9790         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
9791         spurious overflow exception on underflow.
9792
9793 2012-04-29  Marek Polacek  <polacek@redhat.com>
9794
9795         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
9796         (__fortify_function): New macro.
9797         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
9798         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
9799         __extern_always_inline.
9800         * libio/bits/stdio2.h: Likewise.
9801         * libio/bits/stdio.h: Likewise.
9802         * string/string.h: Likewise.
9803         * string/bits/string3.h: Likewise.
9804         * include/stdio.h: Likewise.
9805         * stdlib/bits/stdlib.h: Likewise.
9806         * stdlib/stdlib.h: Likewise.
9807         * rt/bits/mqueue2.h: Likewise.
9808         * rt/mqueue.h: Likewise.
9809         * posix/bits/unistd.h: Likewise.
9810         * posix/unistd.h: Likewise.
9811         * io/bits/poll2.h: Likewise.
9812         * io/bits/fcntl2.h: Likewise.
9813         * io/fcntl.h: Likewise.
9814         * io/sys/poll.h: Likewise.
9815         * misc/bits/syslog.h: Likewise.
9816         * misc/bits/syslog-ldbl.h: Likewise.
9817         * misc/sys/syslog.h: Likewise.
9818         * socket/bits/socket2.h: Likewise.
9819         * socket/sys/socket.h: Likewise.
9820         * debug/tst-chk1.c: Likewise.
9821         * wcsmbs/bits/wchar2.h: Likewise.
9822         * wcsmbs/bits/wchar-ldbl.h: Likewise.
9823         * wcsmbs/wchar.h: Likewise.
9824
9825 2012-04-29  Andreas Jaeger  <aj@suse.de>
9826
9827         * Makerules (tests): Remove enable-check-abi protection.
9828         (check-abi-warn): Remove.
9829         (check-abi-%): Remove check-abi-warn usage.
9830
9831         * configure.in: Remove check-abi configure option.
9832         * configure: Regenerated.
9833         * config.make.in (enable-check-abi): Remove.
9834
9835 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
9836
9837         [BZ #14033]
9838         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
9839         double functions to double *_finite functions.
9840
9841         [BZ #13941]
9842         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
9843         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
9844         LDBL_MIN_EXP.
9845         * stdio-common/Makefile (tests): Add tst-sprintf3.
9846         * stdio-common/tst-sprintf3.c: New file.
9847
9848         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
9849         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
9850
9851 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
9852
9853         * conform/conformtest.pl: Remove duplicate typed-constant
9854         handling.
9855
9856 2012-04-28  David S. Miller  <davem@davemloft.net>
9857
9858         * Makerules (%.abilist): Add vpath on sysdep_dirs.
9859         (check-abi-%): Remove AWK script prerequisite and explicit
9860         abilist directory.
9861         (check-abi): Rewrite to just diff the symlist with the abilist.
9862         (config-tls, config-abi-config): Delete, no longer used.
9863         (update-abi-%): Remove AWK script and explicit abilist directory.
9864         (update-abi): Rewrite to simply compare and conditionally copy the
9865         symlist and the sysdep abilist file.  Remove update-abi-config
9866         checks.
9867         * abilist/ld.abilist: Remove.
9868         * abilist/libBrokenLocale.abilist: Remove.
9869         * abilist/libanl.abilist: Remove.
9870         * abilist/libcrypt.abilist: Remove.
9871         * abilist/libdl.abilist: Remove.
9872         * abilist/librt.abilist: Remove.
9873         * abilist/libthread_db.abilist: Remove.
9874         * abilist/libutil.abilist: Remove.
9875         * scripts/extract-abilist.awk: Remove.
9876         * scripts/merge-abilist.awk: Remove.
9877         * sysdeps/generic/libcidn.abilist: New file.
9878         * sysdeps/generic/libnss_compat.abilist: New file.
9879         * sysdeps/generic/libnss_db.abilist: New file.
9880         * sysdeps/generic/libnss_dns.abilist: New file.
9881         * sysdeps/generic/libnss_files.abilist: New file.
9882         * sysdeps/generic/libnss_hesiod.abilist: New file.
9883         * sysdeps/generic/libnss_nis.abilist: New file.
9884         * sysdeps/generic/libnss_nisplus.abilist: New file.
9885         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
9886         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
9887         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
9888         file.
9889         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
9890         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
9891         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
9892         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
9893         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
9894         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
9895         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
9896         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
9897         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
9898         file.
9899         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
9900         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
9901         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
9902         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
9903         file.
9904         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
9905         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
9906         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
9907         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
9908         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
9909         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
9910         file.
9911         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
9912         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
9913         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
9914         file.
9915         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
9916         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
9917         New file.
9918         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
9919         New file.
9920         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
9921         New file.
9922         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
9923         New file.
9924         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
9925         New file.
9926         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
9927         New file.
9928         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
9929         New file.
9930         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
9931         New file.
9932         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
9933         New file.
9934         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
9935         New file.
9936         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
9937         New file.
9938         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
9939         New file.
9940         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
9941         New file.
9942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
9943         file.
9944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
9945         New file.
9946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
9947         New file.
9948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
9949         file.
9950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
9951         New file.
9952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
9953         New file.
9954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
9955         file.
9956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
9957         New file.
9958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9959         New file.
9960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
9961         New file.
9962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
9963         New file.
9964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
9965         New file.
9966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
9967         New file.
9968         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
9969         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
9970         file.
9971         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
9972         New file.
9973         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
9974         file.
9975         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
9976         file.
9977         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
9978         file.
9979         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
9980         file.
9981         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
9982         file.
9983         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9984         New file.
9985         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
9986         file.
9987         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
9988         file.
9989         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
9990         New file.
9991         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
9992         file.
9993         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
9994         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
9995         file.
9996         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
9997         New file.
9998         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
9999         file.
10000         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
10001         file.
10002         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
10003         file.
10004         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
10005         file.
10006         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
10007         file.
10008         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10009         New file.
10010         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
10011         file.
10012         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
10013         file.
10014         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10015         New file.
10016         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
10017         file.
10018         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10019         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
10020         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
10021         file.
10022         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
10023         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
10024         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
10025         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
10026         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
10027         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
10028         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
10029         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
10030         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
10031         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
10032         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
10033         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
10034         file.
10035         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10036         New file.
10037         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
10038         file.
10039         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
10040         file.
10041         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
10042         file.
10043         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
10044         file.
10045         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
10046         file.
10047         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10048         New file.
10049         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10050         New file.
10051         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
10052         file.
10053         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10054         New file.
10055         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
10056         file.
10057         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
10058         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
10059         file.
10060         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10061         New file.
10062         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
10063         file.
10064         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
10065         file.
10066         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
10067         file.
10068         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
10069         file.
10070         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
10071         file.
10072         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10073         New file.
10074         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10075         New file.
10076         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
10077         file.
10078         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10079         New file.
10080         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
10081         file.
10082
10083 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
10084
10085         * conform/conformtest.pl: Fix typo in handling typed-constant from
10086         allow-header.
10087
10088 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
10089
10090         * README: Cut down references to pre-2.6 Linux kernels and
10091         Linuxthreads.  Update lists of configurations in libc and ports
10092         and sort alphabetically.  Say "or newer" with Linux kernel version
10093         requirements.
10094
10095         * config.h.in [IS_IN_build]: Allow compiling without optimization.
10096
10097 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10098
10099         [BZ #887]
10100         * math/libm-test.inc (logb_test_downward): New test to expose
10101         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
10102         rounding mode.
10103
10104 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
10105
10106         [BZ #14027]
10107         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
10108         to be done.
10109         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
10110         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
10111
10112 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
10113
10114         * sysdeps/unix/i386/brk.S: Remove file.
10115         * sysdeps/unix/i386/dl-brk.S: Likewise.
10116         * sysdeps/unix/i386/pipe.S: Likewise.
10117         * sysdeps/unix/i386/sigreturn.S: Likewise.
10118         * sysdeps/unix/i386/syscall.S: Likewise.
10119         * sysdeps/unix/i386/vfork.S: Likewise.
10120         * sysdeps/unix/i386/wait.S: Likewise.
10121
10122         * sysdeps/unix/common/tcsendbrk.c: Move to ...
10123         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
10124
10125         * configure.in (arm*-none*): Do not allow without
10126         --enable-hacker-mode.
10127         (netbsd*): Remove case setting base_os.
10128         (386bsd*): Likewise.
10129         (freebsd*): Likewise.
10130         (bsdi*): Likewise.
10131         (osf*): Likewise.
10132         (sunos*): Likewise.
10133         (ultrix*): Likewise.
10134         (newsos*): Likewise.
10135         (dynix*): Likewise.
10136         (*bsd*): Likewise.
10137         (sysv*): Likewise.
10138         (isc*): Likewise.
10139         (esix*): Likewise.
10140         (sco*): Likewise.
10141         (minix*): Likewise.
10142         (irix4*): Likewise.
10143         (irix6*): Likewise.
10144         (solaris[2-9]*): Likewise.
10145         (none): Likewise.
10146         * configure: Regenerated.
10147
10148 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10149
10150         [BZ #11521]
10151         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
10152         overflow or cancellation in calculating denominator.
10153         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
10154         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
10155         down expression to avoid unexpected rounding in newer GCCs.
10156         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
10157
10158 2012-04-26  David S. Miller  <davem@davemloft.net>
10159
10160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
10161         long-double compat symbols.
10162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
10166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10167         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
10168         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
10169         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
10170         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
10171         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
10172         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
10173         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
10174         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10175
10176 2012-04-25  David S. Miller  <davem@davemloft.net>
10177
10178         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
10179         HWCAP_* values only after the memory barriers have been defined.
10180         (atomic_full_barrier): Define.
10181         (atomic_read_barrier): Define.
10182         (atomic_write_barrier): Define.
10183
10184 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10185
10186         * shlib-versions: Add libgcc_s version information.
10187         * sysdeps/generic/libgcc_s.h: Remove.
10188         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
10189         libgcc_s.h.
10190         * sysdeps/gnu/unwind-resume.c: Likewise.
10191         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
10192
10193 2012-04-25  David S. Miller  <davem@davemloft.net>
10194
10195         * sysdeps/unix/sparc/brk.S: Delete.
10196         * sysdeps/unix/sparc/dl-brk.S: Delete.
10197         * sysdeps/unix/sparc/pipe.S: Delete.
10198         * sysdeps/unix/sparc/sysdep.S: Delete.
10199         * sysdeps/unix/sparc/sysdep.h: Delete.
10200         * sysdeps/unix/sparc/vfork.S: Delete.
10201         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
10202         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
10203         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
10204         ret_ERRVAL, r0, r1, MOVE): Define.
10205         (JUMPTARGET): Remove.
10206         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
10207         sysdeps/unix/sparc/sysdep.h
10208         (ENTRY, END): Remove.
10209         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10210
10211 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
10212
10213         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
10214         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
10215         -DIS_IN_build.
10216
10217         * timezone/README: Update upstream location and email address for
10218         tzcode and tzdata.
10219         * timezone/zdump.c: Update from tzcode 2012b.
10220         * timezone/zic.c: Likewise.
10221
10222         * configure.in (libc_cv_as_needed): Remove test.
10223         * configure: Regenerated.
10224         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
10225         conditional definition.
10226         [$(have-as-needed) != yes] (no-as-needed): Likewise.
10227         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
10228         * config.make.in (have-as-needed): Remove variable.
10229
10230 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
10231             Paul Pluzhnikov  <ppluzhnikov@google.com>
10232
10233         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
10234         strings correctly.
10235
10236 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
10237
10238         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
10239         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
10240         * sysdeps/sh/strlen.S: Likewise.
10241
10242 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
10243
10244         * sysdeps/unix/fork.S: Remove file.
10245         * sysdeps/unix/i386/fork.S: Likewise.
10246         * sysdeps/unix/sparc/fork.S: Likewise.
10247
10248         * sysdeps/unix/system.c: Remove file.
10249         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
10250
10251         * sysdeps/unix/getegid.S: Remove file.
10252         * sysdeps/unix/geteuid.S: Likewise.
10253
10254 2012-04-24  Roland McGrath  <roland@hack.frob.com>
10255
10256         * scripts/check-localplt.awk: New file.
10257         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
10258         of diff.
10259         * scripts/data/localplt-generic.data: Add a comment.
10260
10261         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
10262         NODE when __dir_mkfile failed.
10263         * sysdeps/mach/hurd/symlinkat.c: Likewise.
10264         Reported by Ludovic Courtès <ludo@gnu.org>.
10265
10266 2012-04-24  Andreas Jaeger  <aj@suse.de>
10267
10268         * Makerules (common-clean): Also remove gen-as-const-headers
10269         files.
10270
10271 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
10272
10273         * Makerules (native-compile): Do not change working directory for
10274         build.  Use $(OUTPUT_OPTION) in command.
10275         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
10276
10277 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10278
10279         [BZ #13886]
10280         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
10281         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
10282         * math/libm-test.inc (floor_test): Add more tests.
10283         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
10284
10285 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
10286
10287         * sysdeps/unix/getdents.c: Remove file.
10288         * sysdeps/unix/sysv/getdents.c: Likewise.
10289         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
10290
10291         * sysdeps/unix/syscalls.list (madvise): Add syscall from
10292         sysdeps/unix/mman/syscalls.list.
10293         (mmap): Likewise.
10294         (mprotect): Likewise.
10295         (msync): Likewise.
10296         (munmap): Likewise.
10297         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
10298         * sysdeps/unix/mman/syscalls.list: Remove.
10299         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
10300
10301         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
10302         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
10303         * configure: Regenerated.
10304         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
10305         $(libgcc_s_suffix).
10306         * config.make.in (libgcc_s_suffix): Remove variable.
10307
10308 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
10309
10310         * sysdeps/unix/sysv/gethostname.c: Move to ...
10311         * sysdeps/posix/gethostname.c: ... here.
10312
10313         * sysdeps/unix/execve.S: Remove file.
10314
10315         * sysdeps/unix/_exit.S: Remove file.
10316
10317 2012-04-23  Andreas Jaeger  <aj@suse.de>
10318
10319         [BZ #13739]
10320         * manual/Makefile: Remove make dist support, there's no
10321         need for a stand-alone documentation tar ball.
10322         (TEXI2DVI): Define always, it's not in Makeconfig.
10323         (dist): Removed.
10324         (tar-it): Removed.
10325         (edition): Removed.
10326         (glibc-doc-$(edition).tar): Removed
10327         (%.Z): Removed.
10328         (%.gz): Removed.
10329         (%.uu): Removed.
10330         (ETAGS): Remove, it's in Makeconfig.
10331         (move-if-change): Remove, it's in Makeconfig.
10332
10333 2013-04-23  Paul Eggert  <eggert@cs.ucla.edu>
10334
10335         [BZ #13970]
10336         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
10337         (strtod, strtof, strtold, strtol, strtoul, strtoq)
10338         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
10339         (strtod_l, strtof_l, strtold_l): Remove __wur.
10340         It is not necessarily an error to ignore strtol's return value.
10341         One can reliably look at the stored endptr to decide whether
10342         the number had valid syntax.
10343
10344 2012-04-21  Andreas Jaeger  <aj@suse.de>
10345
10346         [BZ #13739]
10347         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
10348
10349 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
10350
10351         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
10352         * sysdeps/unix/sysv/Versions: Remove file.
10353
10354 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
10355
10356         [BZ #13927]
10357         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10358
10359 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
10360
10361         [BZ #7064]
10362         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
10363         version from __vm86.
10364
10365 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
10366
10367         * sysdeps/unix/common/lxstat.c: Remove file.
10368         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
10369
10370         * sysdeps/unix/sysv/Makefile: Remove file.
10371
10372         * sysdeps/unix/sysv/direct.h: Remove file.
10373
10374         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
10375         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
10376         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
10377         * sysdeps/unix/sysv/bits/signum.h: Likewise.
10378         * sysdeps/unix/sysv/bits/stat.h: Likewise.
10379         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
10380         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
10381
10382         * sysdeps/unix/sysv/setrlimit.c: Remove file.
10383
10384         * sysdeps/unix/xmknod.c: Remove file.
10385         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
10386
10387         * sysdeps/unix/sysv/settimeofday.c: Remove file.
10388
10389         * sysdeps/unix/sysv/i386/time.S: Remove file.
10390
10391         * sysdeps/unix/fxstat.c: Remove file.
10392         * sysdeps/unix/xstat.c: Likewise.
10393         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
10394
10395         * sysdeps/unix/sysv/sigaction.c: Remove file.
10396
10397         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
10398         (sysdep_headers): Remove variable.
10399         [termio.h not in sysdep_headers] (generated): Likewise.
10400         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
10401         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
10402         * sysdeps/unix/sysv/tcdrain.c: Likewise.
10403         * sysdeps/unix/sysv/tcflow.c: Likewise.
10404         * sysdeps/unix/sysv/tcflush.c: Likewise.
10405         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
10406         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
10407         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
10408         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
10409         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
10410
10411         * sysdeps/unix/siglist.c: Remove file.
10412
10413         * sysdeps/unix/getppid.S: Remove file.
10414
10415         * sysdeps/unix/mkdir.c: Remove file.
10416         * sysdeps/unix/rmdir.c: Likewise.
10417
10418 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
10419
10420         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
10421         ERR_MAX value.
10422         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
10423         errlist-compat value.
10424
10425 2012-04-18  David S. Miller  <davem@davemloft.net>
10426
10427         * sysdeps/generic/memcopy.h (reg_char): Delete.
10428         * debug/strcat_chk.c: Use char, not reg_char.
10429         * debug/strcpy_chk.c: Likewise.
10430         * debug/strncat_chk.c: Likewise.
10431         * debug/strncpy_chk.c: Likewise.
10432         * string/memchr.c: Likewise.
10433         * string/memrchr.c: Likewise.
10434         * string/rawmemchr.c: Likewise.
10435         * string/strcat.c: Likewise.
10436         * string/strchr.c: Likewise.
10437         * string/strchrnul.c: Likewise.
10438         * string/strcmp.c: Likewise.
10439         * string/strcpy.c: Likewise.
10440         * string/strncat.c: Likewise.
10441         * string/strncmp.c: Likewise.
10442         * string/strncpy.c: Likewise.
10443
10444 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
10445
10446         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
10447         __builtin_memcopy is called when src and dest ranges are known to not
10448         overlap.
10449
10450 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
10451
10452         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
10453         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
10454         fwd_align_merge macro call.
10455         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
10456         bwd_align_merge macro call.
10457         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
10458
10459 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
10460
10461         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
10462         bwd_align_merge macros.
10463         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
10464         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
10465         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
10466
10467 2012-04-18  David S. Miller  <davem@davemloft.net>
10468
10469         * sysdeps/sparc/sparc64/memcopy.h: Delete.
10470
10471 2012-04-18  Andreas Jaeger  <aj@suse.de>
10472
10473         [BZ# 6794]
10474         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
10475         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
10476         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10477
10478         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
10479         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
10480         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10481
10482         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
10483         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
10484         Adjust for changed ldbl-128 files.
10485
10486         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
10487         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
10488         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10489
10490 2012-04-17  David S. Miller  <davem@davemloft.net>
10491
10492         * sysdeps/sparc/sparc32/memcopy.h: Delete.
10493
10494 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
10495
10496         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
10497         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
10498         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
10499         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
10500         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10501         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
10502
10503 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10504
10505         [BZ #6794]
10506         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
10507         * math/libm-test.inc: Add ilogb errno and exception tests.
10508         * math/w_ilogb.c: New file: ilogb wrapper.
10509         * math/w_ilogbf.c: New file: ilogbf wrapper.
10510         * math/w_ilogbl.c: New file: ilogbl wrapper.
10511         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
10512         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
10513         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
10514         exception being thrown with 0.0 as argument.
10515         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
10516         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
10517         exception being thrown with 0.0 as argument.
10518         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
10519         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
10520         exception being thrown with 0.0 as argument.
10521         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
10522         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
10523         exception being thrown with 0.0 as argument.
10524         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
10525         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
10526         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
10527         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
10528         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
10529         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
10530         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
10531         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
10532         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
10533
10534 2012-04-17  Petr Baudis  <pasky@ucw.cz>
10535
10536         * include/sys/uio.h: Change __vector to __iovec to avoid clash
10537         with altivec.
10538
10539 2012-04-16  Marek Polacek  <polacek@redhat.com>
10540
10541         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
10542
10543 2012-04-16  Marek Polacek  <polacek@redhat.com>
10544
10545         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
10546         operands of fdivp instruction.
10547
10548 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
10549
10550         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
10551         * elf/tst-auditmod3b.c: Likewise.
10552         * elf/tst-auditmod4b.c: Likewise.
10553         * elf/tst-auditmod5b.c: Likewise.
10554         * elf/tst-auditmod6b.c: Likewise.
10555         * elf/tst-auditmod6c.c: Likewise.
10556         * elf/tst-auditmod7b.c: Likewise.
10557         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
10558         * sysdeps/x86_64/preconfigure.in: Likewise.
10559         * sysdeps/x86_64/preconfigure: Regenerated.
10560
10561 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
10562
10563         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
10564         __ILP32__.
10565
10566 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
10567
10568         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10569         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
10570
10571 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
10572
10573         [BZ #13973]
10574         * locale/iso-639.def: Fix gl language name. Spotted by
10575         Yaron Shahrabani.
10576
10577 2012-04-12  Roland McGrath  <roland@hack.frob.com>
10578
10579         [BZ #2074]
10580         * libio/libio.h (__io_write_fn): Update comment.
10581
10582 2012-04-12  Petr Baudis  <pasky@ucw.cz>
10583
10584         [BZ #2074]
10585         * stdio.texi (Hook Functions): The user provided writer function
10586         is not allowed to return -1.
10587
10588 2012-04-11  David S. Miller  <davem@davemloft.net>
10589
10590         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10591
10592 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
10593
10594         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
10595         Add a leading slash to rtkaio.
10596
10597 2012-04-11  Jim Meyering  <meyering@redhat.com>
10598
10599         [BZ #11959]
10600         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
10601         It is not necessarily an error to ignore fwrite's return
10602         value.  One can reliably use ferror to test for errors after
10603         the fact.
10604
10605 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
10606
10607         * bits/types.h (__snseconds_t): New type.
10608         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
10609
10610         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
10611         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10612         (__SNSECONDS_T_TYPE): Likewise.
10613         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10614         (__SNSECONDS_T_TYPE): Likewise.
10615         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10616         (__SNSECONDS_T_TYPE): Likewise.
10617
10618 2012-04-10  Andreas Jaeger  <aj@suse.de>
10619
10620         [BZ #2636]
10621         * manual/time.texi (Processor Time): Return type of times is
10622         elapsed real time since an arbitrary point in the past.
10623         (CPU Time): Move CLK_TCK from here...
10624         (Processor Time): ...to here.  Correct description.
10625         * manual/conf.texi (Constants for Sysconf): Correct description of
10626         _SC_CLK_TCK.
10627
10628 2012-04-10  David S. Miller  <davem@davemloft.net>
10629
10630         [BZ #13967]
10631         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
10632         where the is a gap between DT_REL(A) and DT_JMPREL.
10633
10634 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
10635
10636         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
10637         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
10638         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
10639
10640 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10641
10642         * elf/dl-support.c (_dl_inhibit_cache): New variable.
10643         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
10644         (dl_main): Handle --inhibit-cache.
10645         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
10646         _dl_inhibit_cache.
10647         * elf/dl-load.c (_dl_map_object): Use it.
10648         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
10649
10650 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
10651
10652         [BZ #13872]
10653         * sysdeps/i386/fpu/e_powl.S (p78): New object.
10654         (__ieee754_powl): Saturate large exponents rather than testing for
10655         overflow of y*log2(x).
10656         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10657         * math/libm-test.inc (pow_test): Do not permit spurious overflow
10658         exceptions.
10659
10660         [BZ #11521]
10661         * math/s_ctan.c: Include <float.h>.
10662         (__ctan): Avoid internal overflow or cancellation in calculating
10663         denominator.
10664         * math/s_ctanf.c: Likewise.
10665         * math/s_ctanl.c: Likewise.
10666         * math/s_ctanh.c: Likewise.
10667         * math/s_ctanhf.c: Likewise.
10668         * math/s_ctanhl.c: Likewise.
10669         * math/libm-test.inc (ctan_test): Add more tests.
10670         (ctanh_test): Likewise.
10671         * sysdeps/i386/fpu/libm-test-ulps: Update.
10672         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10673
10674 2012-04-09  Andreas Jaeger  <aj@suse.de>
10675
10676         [BZ #6894]
10677         * manual/filesys.texi (Directory Entries): Mention that d_namlen
10678         is an optional BSD extension.
10679
10680         [BZ #10254]
10681         * manual/stdio.texi (Opening Streams): Document additional fopen
10682         parameters.
10683
10684 2012-04-09  Roland McGrath  <roland@hack.frob.com>
10685
10686         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
10687         %eax without telling the compiler.
10688
10689 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
10690
10691         [BZ # 13963]
10692         * manual/install.texi: Use sourceware.org.
10693
10694 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
10695
10696         [BZ #13873]
10697         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
10698         (__ieee754_pow): Generate overflow and underflow using huge*huge
10699         and tiny*tiny rather than just returning constant infinity or zero
10700         for large exponents.
10701         * math/libm-test.inc (pow_test): Require overflow exceptions for
10702         applicable cases of large exponents.
10703
10704         [BZ #706]
10705         * sysdeps/i386/fpu/e_pow.S (p10): New object.
10706         (__ieee754_pow): Use iterative multiplication algorithm only for
10707         integer exponents with absolute value below 1024.  Check for odd
10708         integer exponents when using algorithm for real exponents.
10709         * math/libm-test.inc (pow_test): Add more tests.
10710         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10711
10712 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
10713
10714         [BZ #13705]
10715         * math/libm-test.inc (exp_test): Do not allow overflow exception
10716         on underflow test.
10717
10718 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
10719
10720         [BZ #13705]
10721         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
10722         instead of __kernel_standard_f.
10723
10724 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
10725
10726         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
10727         * sysdeps/x86_64/memset_chk.S: Likewise.
10728
10729 2012-04-08  Andreas Jaeger  <aj@suse.de>
10730
10731         [BZ #10153]
10732         * manual/startup.texi (Environment Access): Describe return value
10733         for putenv and setenv.
10734
10735         [BZ #6895]
10736         * manual/filesys.texi (Directory Entries): Add description for
10737         DT_LNK.
10738
10739         [BZ #6890]
10740         * manual/filesys.texi (Directory Entries): Clarify that it's file
10741         system not operating system in the description of DT_UNKNOWN.
10742
10743         [BZ #6578]
10744         * manual/syslog.texi (closelog): Fix reference, it's openlog.
10745
10746 2012-04-08  Stephen Compall  <s11@member.fsf.org>
10747
10748         [BZ #6649]
10749         * manual/llio.texi (Opening and Closing Files): Add cross
10750         reference to explain mode argument.
10751
10752 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
10753
10754         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
10755         * sysdeps/x86_64/memset_chk.S: Likewise.
10756
10757 2012-04-07  David S. Miller  <davem@davemloft.net>
10758
10759         * elf/elf.h (R_SPARC_WDISP10): Define.
10760         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
10761         R_SPARC_SIZE32.
10762         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
10763         R_SPARC_SIZE64 and R_SPARC_H34.
10764
10765 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
10766
10767         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
10768         conditions and remove no longer applicable assertion.
10769
10770 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
10771
10772         * bits/byteswap.h: Include <features.h>.
10773         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
10774         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
10775
10776 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
10777
10778         * bits/byteswap.h (__bswap_16): Removed.
10779         Include <bits/byteswap-16.h> to get __bswap_16.
10780         * sysdeps/i386/bits/byteswap.h: Likewise.
10781         * sysdeps/s390/bits/byteswap.h: Likewise.
10782         * sysdeps/x86_64/bits/byteswap.h: Likewise.
10783         * bits/byteswap-16.h: New file.
10784         * sysdeps/i386/bits/byteswap-16.h: Likewise.
10785         * sysdeps/s390/bits/byteswap-16.h: Likewise.
10786         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
10787         * string/Makefile (headers): Add bits/byteswap-16.h.
10788
10789 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
10790
10791         [BZ #13895]
10792         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
10793         extra indirection.
10794         * nss/Makefile (tests-static, tests): Add tst-nss-static.
10795         * nss/tst-nss-static.c: New.
10796
10797 2012-04-06  Robert Millan  <rmh@gnu.org>
10798
10799         [BZ #6486]
10800         * manual/llio.texi (File Position Primitive): lseek
10801         refers to WHENCE when it really means OFFSET.
10802
10803 2012-04-06  Andreas Jaeger  <aj@suse.de>
10804
10805         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
10806         strncmp declarations.
10807
10808         * abilist/libc.abilist: Add __poll and __ppoll.
10809
10810 2012-04-05  David S. Miller  <davem@davemloft.net>
10811
10812         * scripts/check-local-headers.sh: Accept a host triplet in the
10813         path matched by the exclude regexp.
10814
10815         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
10816         definition.
10817         * sysdeps/powerpc/powerpc32/dl-machine.h
10818         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
10819         * sysdeps/s390/s390-32/dl-machine.h
10820         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
10821         * sysdeps/sparc/sparc32/dl-machine.h
10822         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
10823         * sysdeps/sparc/sparc64/dl-machine.h
10824         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
10825
10826         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
10827         lazy binding.
10828         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
10829         undefined symbol errors.
10830
10831         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
10832         DT_NEEDED entries.
10833
10834 2012-04-05  Michael Matz  <matz@suse.de>
10835
10836         [BZ #13592]
10837         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
10838
10839 2012-04-05  Andreas Jaeger  <aj@suse.de>
10840
10841         [BZ #13908]
10842         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
10843         comment.
10844
10845 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
10846
10847         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
10848         which ROUND is no valid rounding mode.
10849
10850 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
10851
10852         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
10853         read again.
10854         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
10855
10856 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
10857
10858         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
10859         an exception using FPU order intentionally.
10860
10861 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
10862
10863         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
10864         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
10865         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
10866         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
10867
10868 2012-04-05  Simon Josefsson  <simon@josefsson.org>
10869
10870         [BZ #12340]
10871         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
10872         EINVAL when BUFLEN is too smal.
10873
10874 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
10875
10876         [BZ #13553]
10877         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
10878         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
10879
10880 2012-04-03  Andreas Jaeger  <aj@suse.de>
10881
10882         [BZ #13938]
10883         * manual/setjmp.texi (System V contexts): Fix sentence.
10884
10885         [BZ #13926]
10886         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
10887         New macro for this case.
10888         [!__GNUC__] (__bswap_64): New inline function for this case.
10889         * sysdeps/x86_64/bits/byteswap.h: Likewise.
10890         * bits/byteswap.h: Likewise.
10891         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
10892         ull, guard with __GLIBC_HAVE_LONG_LONG.
10893
10894         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
10895         __GLIBC_HAVE_LONG_LONG.
10896
10897         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
10898         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
10899
10900 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10901
10902         [BZ #13691]
10903         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
10904         inptr and inend, rather than using last_ch.
10905
10906 2012-04-02  David S. Miller  <davem@davemloft.net>
10907
10908         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
10909         * stdio-common/printf-parse.h (read_int): Change return type to
10910         'int', return -1 on INT_MAX overflow.
10911         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
10912         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
10913         overflows INT_MAX.  Check for overflow of in-format-string precision
10914         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
10915         SIZE_MAX not INT_MAX for integer overflow test.
10916         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
10917         skip the construct in the format string but do not record anything.
10918         * stdio-common/bug22.c: Adjust to test both width/prevision
10919         INT_MAX overflow as well as total length INT_MAX overflow.  Check
10920         explicitly for proper errno values.
10921
10922 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
10923
10924         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
10925         CHAR_MAX.
10926         * string/test-strcmp.c [! WIDE]: Likewise.
10927         * time/tst-mktime2.c: Likewise for INT_MAX.
10928         * string/test-string.h: #include <sys/param.h> for MIN.
10929
10930         * csu/init-first.c (__libc_init_first): Call __ctype_init.
10931         * sysdeps/i386/init-first.c (init): Likewise.
10932         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
10933         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
10934         * sysdeps/sh/init-first.c (init): Likewise.
10935
10936 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
10937
10938         * po/ru.po: Update from translation team.
10939         * po/vi.po: Likewise.
10940
10941 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
10942
10943         * resolv/nss_dns/dns-host.c: Merge copyright years.
10944
10945 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10946
10947         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10948         Optimize memcpy with prefetch if
10949         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
10950         src, dst pointers have unequal 16 byte alignments.
10951
10952 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10953
10954         [BZ #13928]
10955         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
10956         from a CNAME entry and return the minimum ttl for the query.
10957         (gaih_getanswer_slice): Likewise.
10958
10959 2012-03-30  Jeff Law  <law@redhat.com>
10960
10961         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
10962         due to long keys.
10963         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
10964         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
10965
10966         * resolv/nss_dns/dns-host.c: Update copyright year.
10967
10968 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
10969
10970         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
10971         requests to save a system call.  Fix check that all bytes are sent.
10972
10973         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
10974         comments for sendmmsg.
10975
10976 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10977
10978         [BZ #13691]
10979         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
10980         with only 1 character between 0x0041 and 0x01b0.
10981         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
10982         * wcsmbs/tst-mbsnrtowcs.c: New file.
10983
10984 2012-03-29  David S. Miller  <davem@davemloft.net>
10985
10986         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
10987         small copies by hand.
10988
10989 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10990
10991         [BZ #13761]
10992         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
10993         _nss_compat_initgroups_dyn): Fall back to malloc/free
10994         for large group memberships.
10995
10996 2012-03-28  David S. Miller  <davem@davemloft.net>
10997
10998         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
10999         that branches into memcpy.
11000         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11001         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
11002         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11003         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
11004         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
11005         bits.
11006         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
11007         implementation too.
11008         * sysdeps/sparc/mempcpy.S: New file.
11009
11010         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
11011         the IFUNC routine in the libc case.
11012         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11013
11014         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
11015         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
11016         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
11017         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
11018         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
11019         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
11020         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
11021         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
11022
11023         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
11024         loop to 256 bytes instead of 64 bytes and fix test signedness.
11025
11026         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
11027         * sysdeps/sparc/sparc32/Makefile: rather than here...
11028         * sysdeps/sparc/sparc64/Makefile: and here.
11029
11030 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
11031
11032         * malloc/mallocbug.c: Avoid warnings about unused variables.
11033
11034 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
11035
11036         [BZ #13760]
11037         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
11038         in the right place. Discard and retry query if response is
11039         larger than input buffer size.
11040
11041 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
11042
11043         [BZ #369]
11044         [BZ #2678]
11045         [BZ #3866]
11046         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
11047         x for large integer exponent.
11048         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11049         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
11050         sign of result as needed afterwards.
11051         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11052         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
11053         result for underflowing pow the same as for overflow.
11054         (__kernel_standard_l): Handle powl overflow and underflow here
11055         rather than calling __kernel_standard.
11056         * math/libm-test.inc (pow_test): Add more tests.
11057
11058         [BZ #3868]
11059         [BZ #13879]
11060         [BZ #13910]
11061         [BZ #13911]
11062         [BZ #13912]
11063         [BZ #13913]
11064         [BZ #13915]
11065         [BZ #13916]
11066         [BZ #13917]
11067         [BZ #13918]
11068         [BZ #13919]
11069         [BZ #13920]
11070         [BZ #13921]
11071         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
11072         * sysdeps/ieee754/k_standard.c: Include <float.h>.
11073         (__kernel_standard_l): New function.
11074         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
11075         __kernel_standard.
11076         * math/w_acosl.c (__acosl): Likewise.
11077         * math/w_asinl.c (__asinl): Likewise.
11078         * math/w_atan2l.c (__atan2l): Likewise.
11079         * math/w_atanhl.c (__atanhl): Likewise.
11080         * math/w_coshl.c (__coshl): Likewise.
11081         * math/w_exp10l.c (__exp10l): Likewise.
11082         * math/w_exp2l.c (__exp2l): Likewise.
11083         * math/w_fmodl.c (__fmodl): Likewise.
11084         * math/w_hypotl.c (__hypotl): Likewise.
11085         * math/w_j0l.c (__j0l, __y0l): Likewise.
11086         * math/w_j1l.c (__j1l, __y1l): Likewise.
11087         * math/w_jnl.c (__jnl, __ynl): Likewise.
11088         * math/w_lgammal.c (__lgammal): Likewise.
11089         * math/w_log10l.c (__log10l): Likewise.
11090         * math/w_log2l.c (__log2l): Likewise.
11091         * math/w_logl.c (__logl): Likewise.
11092         * math/w_powl.c (__powl): Likewise.
11093         * math/w_remainderl.c (__remainderl): Likewise.
11094         * math/w_scalbl.c (sysv_scalbl): Likewise.
11095         * math/w_sinhl.c (__sinhl): Likewise.
11096         * math/w_sqrtl.c (__sqrtl): Likewise.
11097         * math/w_tgammal.c (__tgammal): Likewise.
11098         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
11099         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
11100         * math/libm-test.inc (acos_test): Add more tests.
11101         (acosh_test): Likewise.
11102         (asin_test): Likewise.
11103         (atanh_test): Likewise.
11104         (exp_test): Likewise.
11105         (exp10_test): Likewise.
11106         (exp2_test): Likewise.
11107         (expm1_test): Likewise.
11108         (lgamma_test): Likewise.
11109         (log_test): Likewise.
11110         (log10_test): Likewise.
11111         (log1p_test): Likewise.
11112         (log2_test): Likewise.
11113         (pow_test): Do not allow some spurious overflow exceptions.
11114         (sqrt_test): Add more tests.
11115         (tgamma_test): Likewise.
11116         (y0_test): Likewise.
11117         (y1_test): Likewise.
11118         (yn_test): Likewise.
11119
11120 2012-03-27  Anton Blanchard  <anton@samba.org>
11121
11122         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
11123         MAP_HUGETLB.
11124         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11125         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11126         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11127
11128 2012-03-27  David S. Miller  <davem@davemloft.net>
11129
11130         * conform/Makefile: Run run-conformtest.sh using $(BASH).
11131
11132         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
11133         have-as-vis3 check.
11134
11135 2012-03-27  Andreas Jaeger  <aj@suse.de>
11136
11137         * sysdeps/x86_64/elf/configure.in: Moved to ...
11138         * sysdeps/x86_64/configure.in: ... here.
11139         * sysdeps/x86_64/elf/start.S: Moved to ...
11140         * sysdeps/x86_64/start.S: ... here.
11141         * sysdeps/x86_64/elf/configure: Delete.
11142
11143         * sysdeps/x86_64/configure.in: Merge contents from
11144         sysdeps/i386/configure.in (without i686 check).
11145
11146         * sysdeps/i386/elf/Versions: Merge into ...
11147         * sysdeps/i386/Versions: ... this.
11148         * sysdeps/i386/elf/Versions: Delete file.
11149         * sysdeps/i386/elf/start.S: Moved to ...
11150         * sysdeps/i386/start.S: ...here.
11151         * sysdeps/i386/elf/configure.in: Merge into...
11152         * sysdeps/i386/configure.in: ...here.
11153         * sysdeps/i386/elf/configure.in: Delete file.
11154         * sysdeps/i386/elf/configure: Delete file.
11155
11156         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
11157         * debug/backtracesyms.c: ... here.
11158         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
11159         * debug/backtracesymsfd.c: ... here.
11160         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
11161         * sysdeps/generic/ifunc-sel.h: ... here.
11162
11163         * sysdeps/unix/i386/start.c: Delete file.
11164         * sysdeps/unix/sparc/start.c: Delete file.
11165         * sysdeps/unix/start.c: Delete file.
11166
11167         * sysdeps/sh/elf/configure.in: Moved to ...
11168         * sysdeps/sh/configure.in: ... here.
11169         * sysdeps/sh/elf/start.S: Moved to ...
11170         * sysdeps/sh/start.S: ... here.
11171         * sysdeps/sh/elf/configure: Delete file.
11172
11173         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
11174         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
11175         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
11176         * sysdeps/powerpc/powerpc64/entry.h: ... here.
11177         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
11178         * sysdeps/powerpc/powerpc64/start.S: here.
11179         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
11180         * sysdeps/powerpc/powerpc64/Makefile: ... this.
11181         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
11182         * sysdeps/powerpc/powerpc64/configure.in: ... this.
11183         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
11184
11185         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
11186         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
11187         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
11188         * sysdeps/powerpc/powerpc32/start.S: ... here.
11189         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
11190         * sysdeps/powerpc/powerpc32/configure.in: ... this.
11191         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
11192
11193         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
11194         * sysdeps/powerpc/ifunc-sel.h: ... here.
11195         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
11196         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
11197
11198         * sysdeps/sparc/elf/configure.in: Moved to ...
11199         * sysdeps/sparc/configure.in: ... here.
11200         * sysdeps/sparc/elf/configure: Delete file.
11201         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
11202         * sysdeps/sparc/sparc32/start.S: ... here.
11203         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
11204         * sysdeps/sparc/sparc64/start.S: ... here.
11205         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
11206         * sysdeps/sparc/sparc32/Makefile: ... this.
11207         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
11208         * sysdeps/sparc/sparc64/Makefile: ... this.
11209
11210         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
11211         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
11212         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
11213         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
11214         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
11215         * sysdeps/s390/s390-32/setjmp.S: ... here.
11216         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
11217         * sysdeps/s390/s390-32/configure.in: ... here.
11218         * sysdeps/s390/s390-32/elf/configure: Delete file.
11219         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
11220         * sysdeps/s390/s390-32/start.S: ... here.
11221
11222         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
11223         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
11224         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
11225         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
11226         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
11227         * sysdeps/s390/s390-64/setjmp.S: ... here.
11228         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
11229         * sysdeps/s390/s390-64/configure.in: ... here
11230         * sysdeps/s390/s390-64/elf/configure: Delete file.
11231         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
11232         * sysdeps/s390/s390-64/start.S: ... here.
11233         * sysdeps/s390/s390-64/elf/configure: Delete.
11234
11235         * configure.in: Remove support for elf directories in sysdeps.
11236
11237         * configure: Regenerated.
11238         * sysdeps/i386/configure: Regenerated.
11239         * sysdeps/powerpc/powerpc32/configure: Regenerated.
11240         * sysdeps/powerpc/powerpc64/configure: Regenerated.
11241         * sysdeps/s390/s390-32/configure: Regenerated.
11242         * sysdeps/s390/s390-64/configure: Regenerated.
11243         * sysdeps/sh/configure: Regenerated.
11244         * sysdeps/sparc/configure: Regenerated.
11245         * sysdeps/x86_64/configure: Regenerated.
11246
11247 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
11248
11249         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11250
11251         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
11252         denormal result into account.
11253
11254 2012-03-25  Roland McGrath  <roland@hack.frob.com>
11255
11256         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
11257         Reported by Allan McRae <allan@archlinux.org>.
11258
11259 2012-03-23  Jeff Law  <law@redhat.com>
11260
11261         * nss/getnssent.c (__nss_getent): Fix typo.
11262
11263 2012-03-23  David S. Miller  <davem@davemloft.net>
11264
11265         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11266
11267 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
11268
11269         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
11270         to pad to uint64_t for each field.
11271         (dl_tls_index): Replace unsigned long with uint64_t.
11272
11273 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
11274         Paul Pluzhnikov  <ppluzhnikov@google.com>
11275
11276         [BZ #6528]
11277         * grp/Makefile (otherlibs): Don't set it.
11278         * inet/Makefile (otherlibs): Likewise.
11279         * login/Makefile (otherlibs): Likewise.
11280         * nscd/Makefile (otherlibs): Likewise.
11281         * posix/Makefile (otherlibs): Likewise.
11282         * pwd/Makefile (otherlibs): Likewise.
11283         * rt/Makefile (otherlibs): Likewise.
11284         * sunrpc/Makefile (otherlibs): Likewise.
11285         * nss/Makefile (otherlibs): Likewise.
11286         Add libnss_files to routines and static-only-routines.
11287         ($(objpfx)getent): Remove rule.
11288         * resolv/Makefile: Add libnss_dns and libresolv to routines and
11289         static-only-routines.
11290
11291 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
11292
11293         [BZ #13892]
11294         * math/s_cexp.c: Include <float.h>.
11295         (__cexp): Handle exp result overflowing not necessarily
11296         overflowing both real and imaginary parts of result.
11297         * math/s_cexpf.c: Likewise.
11298         * math/s_cexpl.c: Likewise.
11299         * math/libm-test.inc (cexp_test): Add more tests.
11300         * sysdeps/i386/fpu/libm-test-ulps: Update.
11301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11302
11303 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
11304
11305         * include/link.h (ELFW): New macro.
11306         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
11307         Replace ELF64_R_TYPE with ELFW(R_TYPE).
11308
11309 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
11310
11311         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
11312         with uint64_t.
11313
11314 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
11315
11316         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
11317         declaration.
11318         (struct La_x32_retval): Likewise.
11319
11320 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
11321
11322         * sysdeps/x86_64/preconfigure.in: New file.
11323         * sysdeps/x86_64/preconfigure: New generated file.
11324
11325 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
11326
11327         [BZ #13824]
11328         * math/e_exp2l.c: Include <float.h>.
11329         (__ieee754_exp2l): Handle overflow and underflow cases
11330         separately.  Only pass fractional part of argument to
11331         __ieee754_expl.
11332         * math/libm-test.inc (exp2_test): Add more tests.
11333
11334         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
11335         negating x to take absolute value.
11336         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
11337         Likewise.
11338         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11339         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
11340         Likewise.
11341         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
11342         computing low part if x was negated.
11343         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11344
11345 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
11346
11347         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
11348         la_x32_gnu_pltexit.
11349         (pltexit): Cast int_retval to ptrdiff_t.
11350         * elf/tst-auditmod3b.c: Likewise.
11351         * elf/tst-auditmod4b.c: Likewise.
11352         * elf/tst-auditmod5b.c: Likewise.
11353         * elf/tst-auditmod6b.c: Likewise.
11354         * elf/tst-auditmod6c.c: Likewise.
11355         * elf/tst-auditmod7b.c: Likewise.
11356
11357         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
11358         and x32_gnu_pltexit.
11359
11360         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
11361         __ELF_NATIVE_CLASS.
11362         (La_x32_regs): New macro.
11363         (La_x32_retval): Likewise.
11364         (la_x32_gnu_pltenter): New function prototype.
11365         (la_x32_gnu_pltexit): Likewise.
11366
11367 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
11368
11369         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
11370         exponent.
11371
11372         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11373
11374         * configure.in (libc_cv_cc_nofma): Check for option to disable
11375         generation of FMA instructions.
11376         * configure: Regenerate.
11377         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
11378         * sysdeps/ieee754/dbl-64/Makefile: New file.
11379         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
11380         Remove brandred-fma4.
11381         (CFLAGS-brandred-fma4.c): Remove.
11382         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
11383         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
11384         define.
11385         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
11386         define.
11387
11388 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
11389
11390         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
11391         LLONG_MAX != LONG_MAX.
11392         (_itoa_word): Use _ITOA_WORD_TYPE on value.
11393         (_fitoa_word): Likewise.
11394         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
11395         LLONG_MAX != LONG_MAX.
11396         * stdio-common/_itowa.h: Include <_itoa.h>.
11397         (_itowa_word): Use _ITOA_WORD_TYPE on value.
11398         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
11399         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
11400         only if not defined.
11401         (_ITOA_WORD_TYPE): Likewise.
11402         (_itoa_word): Use _ITOA_WORD_TYPE on value.
11403         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
11404
11405 2012-03-21  David S. Miller  <davem@davemloft.net>
11406
11407         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11408
11409 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
11410
11411         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
11412         of x86_64 when setting libc_cv_slibdir, libdir and
11413         libc_cv_localedir.
11414         * sysdeps/unix/sysv/linux/configure: Regenerated.
11415
11416 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
11417
11418         * manual/lang.texi (Old Varargs): Remove section.
11419         (How Variadic): Update menu.
11420         (va_start): Do not mention varargs.h.
11421
11422 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
11423             Joseph Myers  <joseph@codesourcery.com>
11424
11425         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
11426         link test.
11427         * configure: Regenerated.
11428
11429 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
11430
11431         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
11432         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
11433         conformtest.pl
11434
11435 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
11436
11437         * NOTES: Remove.
11438         * Makefile (files-for-dist): Remove NOTES.
11439         (NOTES): Remove rule.
11440         * README: Don't refer to NOTES.
11441         * manual/creature.texi: Don't include macros.texi.
11442         * manual/intro.texi (creature.texi): Remove comment referring to
11443         NOTES.
11444
11445         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
11446         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
11447         * configure: Regenerated.
11448         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
11449         LIBC_TRY_CC_OPTION.
11450         (libc_cv_as_i686): Likewise.
11451         (libc_cv_cc_avx): Likewise.
11452         (libc_cv_cc_sse2avx): Likewise.
11453         (libc_cv_cc_fma4): Likewise.
11454         (libc_cv_cc_novzeroupper): Likewise.
11455         * sysdeps/i386/configure: Regenerated.
11456
11457         [BZ #13883]
11458         * sysdeps/i386/fpu/s_cexp.S: Remove.
11459         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11460         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11461         * math/libm-test.inc (cexp_test): Add more tests.
11462         * sysdeps/i386/fpu/libm-test-ulps: Update.
11463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11464
11465 2012-03-21  Allan McRae  <allan@archlinux.org>
11466
11467         * timezone/Makefile: Do not install iso3166.tab and zone.tab
11468
11469 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
11470
11471         [BZ #13871]
11472         * math/w_exp2.c: Do not include <float.h>.
11473         (o_threshold, u_threshold): Remove.
11474         (__exp2): Calculate result before checking finiteness and calling
11475         __kernel_standard.
11476         * math/w_exp2f.c: Likewise.
11477         * math/w_exp2l.c: Likewise.
11478         * math/libm-test.inc (exp2_test): Require overflow exception for
11479         1e6 input.
11480
11481         [BZ #3866]
11482         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
11483         range of signed 64-bit integers before using fistpll.  Remove
11484         checks for whether integers fit in mantissa bits.
11485         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
11486         the range of signed 32-bit integers before using fistpl.  Remove
11487         checks for whether integers fit in mantissa bits.
11488         * sysdeps/i386/fpu/e_powl.S (p64): New object.
11489         (__ieee754_powl): Test for y outside the range of signed 64-bit
11490         integers before using fistpll.  Reduce 64-bit values to 63-bit
11491         ones as needed.
11492         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
11493         divide-by-zero is raised for zero to large negative powers.
11494         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
11495         (__ieee754_powl): Test for y outside the range of signed 64-bit
11496         integers before using fistpll.  Reduce 64-bit values to 63-bit
11497         ones as needed.
11498         * math/libm-test.inc (pow_test): Add more tests.
11499
11500 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
11501
11502         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
11503         <stdio-common/_itoa.h>.
11504         * debug/segfault.c: Likewise.
11505         * elf/dl-cache.c: Likewise.
11506         * elf/dl-minimal.c: Likewise.
11507         * elf/dl-misc.c: Likewise.
11508         * elf/dl-sysdep.c: Likewise.
11509         * elf/dl-version.c: Likewise.
11510         * elf/rtld.c: Likewise.
11511         * hurd/hurdsock.c: Likewise.
11512         * hurd/lookup-retry.c: Likewise.
11513         * malloc/malloc.c: Likewise.
11514         * malloc/mtrace.c: Likewise.
11515         * nscd/nscd_getgr_r.c: Likewise.
11516         * nscd/nscd_getpw_r.c: Likewise.
11517         * nscd/nscd_getserv_r.c: Likewise.
11518         * posix/getopt_init.c: Likewise.
11519         * posix/wordexp.c: Likewise.
11520         * stdio-common/_itoa.c: Likewise.
11521         * stdio-common/printf_fphex.c: Likewise.
11522         * stdio-common/vfprintf.c: Likewise.
11523         * string/_strerror.c: Likewise.
11524         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
11525         * sysdeps/i386/i686/hp-timing.h: Likewise.
11526         * sysdeps/mach/_strerror.c: Likewise.
11527         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
11528         * sysdeps/mach/hurd/sethostid.c: Likewise.
11529         * sysdeps/mach/hurd/xmknodat.c: Likewise.
11530         * sysdeps/mach/xpg-strerror.c: Likewise.
11531         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11532         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11533         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
11534         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
11535         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11536         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
11537         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
11538         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
11539         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
11540         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
11541         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
11542         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11543         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
11544         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
11545         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
11546         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
11547         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
11548         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
11549         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
11550         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
11551         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
11552
11553         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
11554
11555         * stdio-common/_itoa.h: Moved to ...
11556         * sysdeps/generic/_itoa.h: Here.
11557
11558         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
11559
11560         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
11561         instead of "_itoa.h" and "_itowa.h".
11562         * stdio-common/vfprintf.: Likewise.
11563
11564 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
11565
11566         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
11567         <bits/wordsize.h>.
11568         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
11569         (__signbit): Likwise.
11570         (llrintf): Likwise.
11571         (llrint): Likwise.
11572
11573 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
11574
11575         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
11576         __WORDSIZE != 64.
11577
11578 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
11579
11580         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
11581         OVERFLOW_EXCEPTION_OK.
11582         * math/libm-test.inc ("Philosophy"): Update comment about
11583         exception testing.
11584         (OVERFLOW_EXCEPTION): Define.
11585         (OVERFLOW_EXCEPTION_OK): Likewise.
11586         (INVALID_EXCEPTION_OK): Renumber.
11587         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11588         (IGNORE_ZERO_INF_SIGN): Likewise.
11589         (test_exceptions): Handle FE_OVERFLOW.
11590         (exp10_test): Expect overflow exceptions.
11591         (exp2_test): Likewise.
11592         (expm1_test): Likewise.
11593         (nextafter_test): Likewise.
11594         (pow_test): Likewise.
11595         (scalbn_test): Likewise.
11596         (scalbln_test): Likewise.
11597
11598 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
11599
11600         * sysdeps/x86_64/bits/atomic.h
11601         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
11602         64bit integer.
11603         (atomic_exchange_acq): Likewise.
11604         (__arch_exchange_and_add_body): Likewise.
11605         (__arch_add_body): Likewise.
11606         (atomic_add_negative): Likewise.
11607         (atomic_add_zero): Likewise.
11608
11609 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
11610
11611         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
11612         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
11613
11614 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
11615
11616         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
11617         Check __x86_64__ instead of __WORDSIZE.
11618
11619 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
11620
11621         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
11622
11623 2012-03-19  David S. Miller  <davem@davemloft.net>
11624
11625         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11626
11627         * sysdeps/sparc/fpu/fenv_private.h: New file.
11628         * sysdeps/sparc/fpu/math_private.h: Use it.
11629         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
11630         Remove.
11631         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
11632         (libc_feholdexcept_setroundl): Remove.
11633         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
11634         Remove.
11635         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
11636         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
11637
11638 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
11639
11640         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
11641         int64_t instead of long int.
11642         (INSERT_WORDS64): Likwise.
11643
11644 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
11645
11646         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
11647         _Unwind_GetCFA return to _Unwind_Ptr first.
11648
11649 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
11650
11651         [BZ #13629]
11652         * math/s_clog.c: Include <float.h>.
11653         (__clog): Scale large or subnormal inputs.
11654         * math/s_clogf.c: Likewise.
11655         * math/s_clogl.c: Likewise.
11656         * math/s_clog10.c: Include <float.h>.
11657         (M_LOG10_2): Define.
11658         (__clog10): Scale large or subnormal inputs.
11659         * math/s_clog10f.c: Likewise.
11660         * math/s_clog10l.c: Likewise.
11661         * math/libm-test.inc (clog_test): Add more tests.
11662         (clog10_test): Likewise.
11663         * sysdeps/i386/fpu/libm-test-ulps: Update.
11664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11665
11666         [BZ #11451]
11667         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
11668         x and y.
11669         * math/libm-test.inc (atan2_test): Add another test.
11670
11671         * Makerules (common-objdir-compile): Remove.
11672         * sysdeps/unix/Makefile (config-generated): Do not add
11673         $(unix-generated) to variable.
11674         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
11675         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
11676         Remove rule.
11677         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
11678         Likewise.
11679         [generic bits/local_lim.h] (before-compile): Do not append to
11680         variable.
11681         [generic bits/local_lim.h] (common-generated): Likewise.
11682         [generic sys/param.h] (before-compile): Do not append to variable.
11683         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
11684         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
11685         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
11686         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
11687         include.
11688         [generic sys/param.h] (sys/param.h-includes): Remove variable.
11689         [generic sys/param.h] (sys/param.h-includes): Remove rule.
11690         [generic sys/param.h] ($(addprefix
11691         $(common-objpfx),$(sys/param.h-includes))): Likewise.
11692         [generic sys/param.h] (common-generated): Do not append to
11693         variable.
11694         [generic sys/param.h] (sysdep_headers): Likewise.
11695         [generic bits/errno.h] (before-compile): Do not append to
11696         variable.
11697         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
11698         rule.
11699         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
11700         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
11701         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
11702         [generic bits/errno.h] (common-generated): Do not append to
11703         variable.
11704         [generic bits/ioctls.h] (before-compile): Do not append to
11705         variable.
11706         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
11707         rule.
11708         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
11709         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
11710         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
11711         rule.
11712         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
11713         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
11714         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
11715         [generic bits/ioctls.h] (common-generated): Do not append to
11716         variable.
11717         [generic sys/syscall.h] (syscall.h): Remove variable.
11718         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
11719         rule.
11720         [generic sys/syscall.h] (before-compile): Do not append to
11721         variable.
11722         [generic sys/syscall.h] (common-generated): Likewise.
11723         * sysdeps/unix/errnos-tmpl.c: Remove file.
11724         * sysdeps/unix/errnos.awk: Likewise.
11725         * sysdeps/unix/ioctls-tmpl.c: Likewise.
11726         * sysdeps/unix/ioctls.awk: Likewise.
11727         * sysdeps/unix/mk-local_lim.c: Likewise.
11728         * sysdeps/unix/snarf-ioctls: Likewise.
11729
11730 2012-03-19  Richard Henderson  <rth@twiddle.net>
11731
11732         * sysdeps/i386/fpu/fenv_private.h: New file.
11733         * sysdeps/i386/fpu/math_private.h: Use it.
11734         (math_opt_barrier, math_force_eval): Remove.
11735         (libc_feholdexcept_setround_53bit): Remove.
11736         (libc_feupdateenv_53bit): Remove.
11737         * sysdeps/x86_64/fpu/math_private.h: Likewise.
11738         (math_opt_barrier, math_force_eval): Remove.
11739         (libc_feholdexcept): Remove.
11740         (libc_feholdexcept_setround): Remove.
11741         (libc_fetestexcept, libc_fesetenv): Remove.
11742         (libc_feupdateenv_test): Remove.
11743         (libc_feupdateenv, libc_feholdsetround): Remove.
11744         (libc_feresetround): Remove.
11745
11746         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
11747         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
11748
11749         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
11750         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
11751         (libc_feupdateenv_testl): New.
11752         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
11753         (libc_feupdateenv_testf): New.
11754         (libc_feupdateenv): Use libc_feupdateenv_test.
11755         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
11756         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
11757
11758         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
11759         (libc_feholdsetroundf, libc_feholdsetroundl): New.
11760         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
11761         (libc_feresetround_noex): New.
11762         (libc_feresetround_noexf): New.
11763         (libc_feresetround_noexl): New.
11764         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
11765         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
11766         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
11767         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
11768         SET_RESTORE_ROUND.
11769         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11770         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
11771         (__cos): Likewise.
11772         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
11773         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
11774         SET_RESTORE_ROUND_NOEX.
11775         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
11776         SET_RESTORE_ROUND_NOEXF.
11777         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
11778         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
11779         (libc_feholdsetroundf): New.
11780         (libc_feresetround, libc_feresetroundf): New.
11781
11782         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
11783         (libc_feholdexcept_setround_53bit): Convert from macro to function.
11784         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
11785
11786         * sysdeps/generic/math_private.h: Include <fenv.h>.
11787         (default_libc_feholdexcept): New.
11788         (default_libc_feholdexcept_setround): New.
11789         (default_libc_fesetenv, default_libc_feupdateenv): New.
11790         (libc_feholdexcept): Only define if undefined.
11791         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
11792         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
11793         (libc_feholdexcept_setroundl): Likewise.
11794         (libc_feholdexcept_setround_53bit): Likewise.
11795         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
11796         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
11797         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
11798         (libc_feupdateenv_53bit): Likewise.
11799         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
11800         (libc_feholdexcept): Convert from macro to inline function.
11801         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
11802         (libc_fesetenv, libc_feupdateenv): Likewise.
11803
11804         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
11805         not previously defined.
11806         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
11807         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
11808         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
11809         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
11810         * sysdeps/ieee754/flt-32/math_private.h: New file.
11811         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
11812         math_private.h below SET_FLOAT_WORD.
11813         (__isnan, __isinf_ns, __finite): Remove.
11814         (__isnanf, __isinf_nsf, __finitef): Remove.
11815
11816 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
11817
11818         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11819
11820 2012-03-17  David S. Miller  <davem@davemloft.net>
11821
11822         [BZ #6471]
11823         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
11824         for 2.16.
11825
11826 2012-03-16  David S. Miller  <davem@davemloft.net>
11827
11828         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
11829         warnings.
11830
11831         [BZ #6471]
11832         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
11833         properly.
11834         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
11835         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
11836         sysdep_routines when subdir is sysvipc.
11837         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
11838         __getshmlba helper.
11839
11840         * sysdeps/sparc/fpu/libm-test/ulps: Update.
11841
11842 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
11843
11844         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
11845         [__LP64__].
11846
11847 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
11848
11849         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
11850         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
11851         (__lround): Renamed to ...
11852         (__llround): This.  Replace long int with long long int.
11853         Define lround functions as aliases of llround functions.
11854         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
11855
11856 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
11857
11858         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
11859         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
11860         adresses to uintptr_t.  Replace "long int" and "unsigned long
11861         int" with "greg_t" on va_arg.
11862
11863 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
11864
11865         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
11866         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
11867
11868         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
11869         Move e_machine check before EI_CLASS check.  Handle x32
11870         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
11871         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
11872         SKIP_EM_IA_64 and include
11873         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
11874
11875         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
11876         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
11877         (add_system_dir): New macro.
11878
11879         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
11880         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
11881
11882 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
11883
11884         [BZ #2551]
11885         [BZ #2552]
11886         [BZ #2553]
11887         [BZ #2554]
11888         [BZ #2562]
11889         [BZ #2563]
11890         [BZ #2565]
11891         [BZ #2566]
11892         [BZ #2576]
11893         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
11894         (y0): Likewise.
11895         * math/w_j0f.c (j0f): Likewise.
11896         (y0f): Likewise.
11897         * math/w_j0l.c (__j0l): Likewise.
11898         (__y0l): Likewise.
11899         * math/w_j1.c (j1): Likewise.
11900         (y1): Likewise.
11901         * math/w_j1f.c (j1f): Likewise.
11902         (y1f): Likewise.
11903         * math/w_j1l.c (__j1l): Likewise.
11904         (__y1l): Likewise.
11905         * math/w_jn.c (jn): Likewise.
11906         (yn): Likewise.
11907         * math/w_jnf.c (jnf): Likewise.
11908         (ynf): Likewise.
11909         * math/w_jnl.c (__jnl): Likewise.
11910         (__ynl): Likewise.
11911         * math/libm-test.inc (j0_test): Add more tests.
11912         (j1_test): Likewise.
11913         (jn_test): Likewise.  Add trailing semicolon to existing test.
11914         (y0_test): Likewise.
11915         (y1_test): Likewise.
11916         * sysdeps/i386/fpu/libm-test-ulps: Update.
11917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11918
11919         [BZ #13851]
11920         [BZ #13854]
11921         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
11922         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
11923         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
11924         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
11925         (__tanl): Set errno for infinite argument.
11926         * sysdeps/i386/fpu/mptan.c: Remove.
11927         * sysdeps/i386/fpu/s_tan.S: Likewise.
11928         * sysdeps/i386/fpu/s_tanl.S: Likewise.
11929         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
11930         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
11931         * math/libm-test.inc (tan_test): Add more tests and enable more
11932         tests for double and long double.
11933         * sysdeps/i386/fpu/libm-test-ulps: Update.
11934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11935
11936 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
11937
11938         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
11939         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
11940
11941 2012-03-16  Roland McGrath  <roland@hack.frob.com>
11942
11943         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
11944         * configure.in: Use it for both main tree and add-ons.
11945         * configure: Regenerated.
11946
11947 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
11948
11949         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
11950
11951 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
11952
11953         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
11954         in comment.
11955
11956         [BZ #13851]
11957         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
11958         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
11959         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
11960         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
11961         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
11962         infinite argument.
11963         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
11964         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
11965         != 0 for prec == 2.
11966         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
11967         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
11968         * sysdeps/i386/fpu/s_cosl.S: Likewise.
11969         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
11970         * sysdeps/i386/fpu/s_sinl.S: Likewise.
11971         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
11972         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
11973         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
11974         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
11975         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
11976         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
11977         * math/libm-test.inc (cos_test): Add more tests and enable more
11978         tests for long double.
11979         (sin_test): Likewise.
11980         (sincos_test): Likewise.
11981         * sysdeps/i386/fpu/libm-test-ulps: Update.
11982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11983
11984 2012-03-16  David S. Miller  <davem@davemloft.net>
11985
11986         * sysdeps/sparc/fpu/math_private.h: New file.
11987
11988 2012-03-15  David S. Miller  <davem@davemloft.net>
11989
11990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
11991         file.
11992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
11993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
11994         file.
11995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
11996         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
11997         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
11998         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
11999         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
12000         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
12001         sysdep routines.
12002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12003
12004         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
12005         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
12006
12007         * sysdeps/sparc/sparc-ifunc.h: New file.
12008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
12009         sparc-ifunc.h
12010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
12011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
12012         Likewise.
12013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
12014         Likewise.
12015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
12016         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
12017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12018         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12019         Likewise.
12020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
12022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
12024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
12025         Likewise.
12026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
12027         Likewise.
12028         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
12030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
12031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
12032         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12033         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12034         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
12035         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
12036         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12037         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12038         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
12039         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
12040         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
12041         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
12042         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
12043         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
12044         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
12045         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
12046         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
12047         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
12048         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
12049         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
12050         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
12051         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
12052
12053 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
12054
12055         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
12056         scaling.
12057         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12058
12059 2012-03-15  Andreas Jaeger  <aj@suse.de>
12060
12061         [BZ #13852]
12062         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
12063         ieee754/flt-32 implementation for sin, cos and sincos.
12064         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
12065         * sysdeps/i386/fpu/s_cosf.S: Likewise.
12066         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
12067         * sysdeps/i386/fpu/s_sinf.S: Likewise.
12068         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
12069         ieee754/flt-32 implementation for tan.
12070
12071         * math/libm-test.inc (cos_test): Enable some large input tests for
12072         float as well
12073         (sin_test): Likewise.
12074         (sincos_test): Likewise.
12075         (tan_test): Add tests for large input.
12076
12077         * sysdeps/i386/fpu/libm-test-ulps: Update.
12078
12079 2012-03-15  Andreas Jaeger  <aj@suse.de>
12080
12081         [BZ #13658]
12082         * math/libm-test.inc (cos_test): Add more test cases.
12083         (sin_test): Likewise.
12084         (sincos_test): Likewise.
12085
12086 2012-03-15  Andreas Jaeger  <aj@suse.de>
12087
12088         [BZ #13837]
12089         * math/libm-test.inc (cos_test): Add a test case for large input
12090         value.
12091         (sin_test): Likewise.
12092         (sincos_test): Likewise.
12093
12094 2012-03-15  Andreas Jaeger  <aj@suse.de>,
12095         Joseph Myers  <joseph@codesourcery.com>
12096
12097         [BZ #13658]
12098         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
12099         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
12100         * sysdeps/i386/fpu/branred.c: Likewise.
12101         * sysdeps/i386/fpu/dosincos.c: Likewise.
12102         * sysdeps/i386/fpu/mpa.c: Likewise.
12103         * sysdeps/i386/fpu/s_cos.S: Likewise.
12104         * sysdeps/i386/fpu/s_sin.S: Likewise.
12105         * sysdeps/i386/fpu/s_sincos.S: Likewise.
12106         * sysdeps/i386/fpu/sincos32.c: Likewise.
12107
12108         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
12109         Define.
12110         (libc_feupdateenv_53bit): Define.
12111         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
12112         Define.
12113         (libc_feupdateenv_53bit): Define.
12114
12115         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
12116         53 bit (without extend i386 double precision).
12117
12118         * math/libm-test.inc (sincos_test): Add tests for large input.
12119         (sin): Likewise.
12120         (cos): Likewise.
12121
12122         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12123
12124 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
12125
12126         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12127
12128 2012-03-15  David S. Miller  <davem@davemloft.net>
12129
12130         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
12131         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
12132         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
12133         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
12134         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
12135         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
12136         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
12137         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
12138         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
12139         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
12140         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
12141         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
12142         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
12143         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
12144         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
12145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
12146         file.
12147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
12148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
12149         file.
12150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
12151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
12152         file.
12153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
12154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
12155         file.
12156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
12157         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
12158         fmin/fmax sysdep routines.
12159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12160
12161 2012-03-14  David S. Miller  <davem@davemloft.net>
12162
12163         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
12164         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
12165         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
12166         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
12167         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
12168         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
12169         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
12170         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
12171         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
12172         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
12173         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
12174         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
12175         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
12176         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
12177         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
12178         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
12179         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
12180         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
12181         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
12182         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
12183         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
12184         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
12185         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
12186         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
12187         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
12188         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
12189         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
12190         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
12191         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
12192         routines.
12193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
12194         file.
12195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
12196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
12197         file.
12198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
12199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
12200         file.
12201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
12202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
12203         file.
12204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
12205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
12206         file.
12207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
12208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
12209         file.
12210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
12211         file.
12212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
12213         file.
12214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
12215         file.
12216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
12217         New file.
12218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
12219         file.
12220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
12221         file.
12222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
12223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
12224         file.
12225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
12226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
12227         file.
12228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
12229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
12230         file.
12231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
12232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
12233         VIS3 routines.
12234
12235         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
12236         New file.
12237
12238         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12239
12240         * sysdeps/sparc/configure.in: New file.
12241         * sysdeps/sparc/configure: Generate.
12242         * configure.in (libc_cv_sparc_as_vis3): Substitute.
12243         * configure: Regenerate.
12244         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
12245         * config.make.in (have-as-vis3): New.
12246         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
12247         available use -Av9d instead of -Av9a.
12248         * sysdeps/sparc/sparc64/Makefile: Likewise.
12249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
12250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
12251         New file.
12252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
12253         file.
12254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
12255         New file.
12256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
12257         file.
12258         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
12259         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
12260         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
12261         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
12262         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
12263
12264         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
12265         fzeros/fnegs to load 0x80000000 into a float register instead of
12266         using the stack.
12267         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
12268
12269 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
12270
12271         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12272         bits/syscall.h.
12273         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
12274         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
12275         ($(inst_includedir)/bits/syscall.h): Remove rule.
12276         ($(objpfx)bits/syscall.d): Include instead of
12277         $(objpfx)syscall-list.d.
12278         (generated): Change syscall-list.h and syscall-list.d to
12279         bits/syscall.h and bits/syscall.d.
12280
12281 2012-03-14  Roland McGrath  <roland@hack.frob.com>
12282
12283         [BZ #13846]
12284         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
12285
12286 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
12287
12288         [BZ #13841]
12289         * math/s_csqrt.c: Include <float.h>.
12290         (__csqrt): Scale large or subnormal inputs.
12291         * math/s_csqrtf.c: Likewise.
12292         * math/s_csqrtl.c: Likewise.
12293         * math/libm-test.inc (csqrt_test): Add more tests.
12294         * sysdeps/i386/fpu/libm-test-ulps: Update.
12295         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12296
12297         [BZ #13840]
12298         * math/libm-test.inc (hypot_test): Add more tests.
12299
12300 2012-03-13  David S. Miller  <davem@davemloft.net>
12301
12302         [BZ #13840]
12303         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
12304         double-precision for the calculation instead of scaling.
12305
12306 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
12307
12308         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
12309         manipulate bits before adding and subtracting TWO52[sx].
12310         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
12311         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
12312         Likewise.
12313         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
12314
12315 2012-03-13  David S. Miller  <davem@davemloft.net>
12316
12317         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
12318         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
12319         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
12320         rtld-global-offsets.h
12321         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12322
12323         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
12324         large parameters.
12325
12326         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
12327
12328         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
12329         'err' in the ifdef scope in which it is actually used.
12330
12331         * nss/nss_db/db-init.c: Include string.h
12332
12333 2012-03-12  David S. Miller  <davem@davemloft.net>
12334
12335         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
12336         masking out of the most significant byte of random value used.
12337         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12338         Fix coding style in previous change.
12339
12340         * sysdeps/unix/sysv/linux/kernel-features.h
12341         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
12342         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
12343         expression.
12344         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
12345         later.
12346
12347 2012-03-11  David S. Miller  <davem@davemloft.net>
12348
12349         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
12350         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
12351         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
12352         for 'resultvar' otherwise things get truncated on 64-bit.
12353
12354         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12355         Fix masking out of the most significant byte of random value used.
12356
12357         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12358
12359 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
12360
12361         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12362
12363 2012-03-09  David S. Miller  <davem@davemloft.net>
12364
12365         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
12366         variables with appropriate CPP guards.
12367         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
12368         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
12369         on resulting framesize and the management of the outregs buffer for pltexit.
12370         Preserve floating point return values across _dl_call_pltexit call.
12371         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
12372         framesize and the management of the outregs buffer for pltexit.
12373         Preserve floating point return values across _dl_call_pltexit
12374         call.
12375         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
12376         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
12377         (print_exit): Fix format string for return register value.
12378
12379 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
12380
12381         * sunrpc/Makefile (others): Add rpcgen.
12382         ($(objpfx)rpcgen): Remove special build rule and dependency on
12383         libc.
12384         * sunrpc/rpcgen.c: New file.
12385
12386 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
12387
12388         [BZ #13673]
12389         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
12390         * stdio-common/bug-vfprintf-nargs.c: Likewise.
12391         * sysdeps/i386/crti.S: Likewise.
12392         * sysdeps/i386/crtn.S: Likewise.
12393         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
12394         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
12395         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
12396         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
12397         * sysdeps/sh/crti.S: Likewise.
12398         * sysdeps/sh/crtn.S: Likewise.
12399         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
12400
12401         [BZ #13673]
12402         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
12403         with URL.
12404         * locale/programs/locfile-kw.gperf: Likewise.
12405         * locale/programs/charmap-kw.h: Regenerated.
12406         * locale/programs/locfile-kw.h: Likewise.
12407
12408         [BZ #13673]
12409         * intl/plural.y: Replace FSF snail mail address with URL.
12410         * intl/plural.c: Regenerated.
12411
12412 2012-03-09  Richard Henderson  <rth@twiddle.net>
12413
12414         * include/math_private.h: Remove file.
12415         * math/math_private.h: Move file ...
12416         * sysdeps/generic/math_private.h: ... here.
12417
12418         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
12419         * sysdeps/powerpc/fpu/math_private.h: Likewise.
12420         * sysdeps/x86_64/fpu/math_private.h: Likewise.
12421
12422         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
12423         and <math_private.h>.
12424         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
12425         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
12426         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12427         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12428         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12429         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
12430         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12431         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12432         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12433         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12434         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12435         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12436         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12437         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12438         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12439         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12440         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12441         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12442         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12443         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12444         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12445         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12446         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12447         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12448         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12449         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12450         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12451         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12452         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12453         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12454         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12455         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12456         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12457         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12458         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12459         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12460         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12461         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12462         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12463         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12464         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
12465         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12466         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
12467         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12468         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12469         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12470         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12471         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12472         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12473         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12474         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12475         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
12476         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12477         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12478         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12479         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12480         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12481         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12482         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12483         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
12484         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12485         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12486         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12487         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12488         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
12489         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12490         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12491         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12492         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
12493         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
12494         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
12495         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12496         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
12497         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12498         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
12499         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
12500         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
12501         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12502         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
12503         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
12504         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
12505         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
12506         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
12507         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12508         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12509         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
12510         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
12511         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
12512         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
12513         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12514         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12515         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
12516         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12517         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12518         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
12519         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
12520         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12521         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12522         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12523         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12524         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
12525         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
12526         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
12527         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
12528         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12529         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
12530         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12531         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
12532         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12533         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12534         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12535         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12536         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12537         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12538         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
12539         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12540         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12541         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12542         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12543         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12544         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12545         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12546         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12547         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
12548         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12549         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12550         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
12551         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
12552         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12553         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12554         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
12555         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12556         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12557         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12558         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
12559         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12560         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12561         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12562         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
12563         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12564         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12565         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12566         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12567         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
12568         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
12569         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12570         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12571         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12572         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
12573         * sysdeps/ieee754/k_standard.c: Likewise.
12574         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
12575         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12576         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12577         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12578         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12579         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12580         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12581         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12582         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12583         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12584         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12585         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12586         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12587         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12588         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12589         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12590         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12591         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12592         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12593         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
12594         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
12595         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
12596         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12597         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12598         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12599         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
12600         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12601         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12602         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12603         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12604         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12605         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12606         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12607         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12608         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12609         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12610         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
12611         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
12612         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
12613         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12614         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12615         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12616         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12617         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12618         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12619         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12620         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12621         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12622         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12623         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12624         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12625         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12626         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12627         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
12628         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12629         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12630         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
12631         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
12632         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12633         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12634         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12635         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12636         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12637         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
12638         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12639         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12640         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
12641         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12642         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
12643         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
12644         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12645         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12646         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
12647         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
12648         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
12649         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12650         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
12651         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
12652         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12653         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12654         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12655         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12656         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12657         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12658         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
12659         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12660         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
12661         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
12662         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12663         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12664         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
12665         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
12666         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
12667         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12668         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12669         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
12670         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
12671         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
12672         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
12673         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
12674         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
12675         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12676         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12677         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12678         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
12679         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12680         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12681         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
12682         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
12683         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
12684         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12685         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
12686         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
12687         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12688         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
12689         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12690         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
12691         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12692         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12693         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12694         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12695         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
12696         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12697         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12698         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12699         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
12700         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12701         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12702         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
12703         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12704         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12705         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12706         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12707         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12708         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
12709         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
12710         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
12711         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12712         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12713         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
12714         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
12715         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12716         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
12717         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
12718         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
12719         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12720         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12721         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12722         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12723         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
12724         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12725         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12726         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12727         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12728         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
12729         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
12730         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
12731         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12732         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
12733         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12734         * sysdeps/ieee754/s_lib_version.c: Likewise.
12735         * sysdeps/ieee754/s_matherr.c: Likewise.
12736         * sysdeps/ieee754/s_signgam.c: Likewise.
12737         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12738         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12739         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
12740         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
12741         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
12742         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12743         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
12744         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
12745         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
12746         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
12747         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12748         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
12749         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
12750         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12751         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
12752         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
12753         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12754         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
12755         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12756         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12757         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12758
12759 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
12760
12761         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
12762         * sunrpc/rpc_main.c: Likewise.
12763         * sunrpc/rpc_svcout.c: Likewise.
12764
12765 2012-03-09  David S. Miller  <davem@davemloft.net>
12766
12767         * include/math_private.h: New file.
12768
12769 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
12770
12771         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
12772         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
12773         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
12774         from <bits/socket_type.h>.
12775         (enum __socket_type): Don't define here.
12776         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
12777         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12778         bits/socket_type.h.
12779
12780         [BZ #13566]
12781         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
12782         checking __USE_GNU.
12783
12784         * Makerules ($(inst_includedir)/%.h): New rule.
12785         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
12786         (install-others): Remove variable setting.
12787         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
12788
12789 2012-03-08  Richard Henderson  <rth@twiddle.net>
12790
12791         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
12792         from macro to inline function; merge with the
12793         !__LIBC_INTERNAL_MATH_INLINES version.
12794         (__ieee754_sqrtf): Likewise.
12795
12796         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
12797         to inline function.
12798         (__rintf, __floor, __floorf): Likewise.
12799
12800         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
12801         macro to inline function.
12802         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
12803
12804         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
12805         not <math/math_private.h>.
12806
12807 2012-03-08  David S. Miller  <davem@davemloft.net>
12808
12809         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
12810         copyright year.
12811         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
12812
12813 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
12814
12815         * resolv/gai_misc.c (handle_requests): Fix struct timespec
12816         normalization.
12817         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
12818         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
12819
12820 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
12821
12822         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
12823         be defined individually, they must be defined as a block.  Define
12824         S for printing a string instead of hidint the different by using a
12825         macro for adding the 'l'.
12826         * stdio-common/tst-fphex-wide.c: Adjust.
12827
12828 2012-03-07  Marek Polacek  <polacek@redhat.com>
12829
12830         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
12831
12832 2012-03-08  Marek Polacek  <polacek@redhat.com>
12833
12834         [BZ #13806]
12835         * stdio-common/Makefile (tests): Add tst-fphex-wide.
12836         * stdio-common/tst-fphex.c: Define a few macros to make the
12837         test reusable.  Use them.
12838         * stdio-common/tst-fphex-wide.c: New file.
12839
12840 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
12841
12842         [BZ #6911]
12843         * manual/macros.texi (gnusystems): New macro.
12844         (nongnusystems): Likewise.
12845         (gnulinuxhurdsystems): Likewise.
12846         (gnuhurdsystems): Likewise..
12847         (gnulinuxsystems): Likewise.
12848         * manual/charset.texi: Use new macros or @theglibc{} to refer to
12849         variants of the GNU system, not "GNU system".
12850         * manual/conf.texi: Likewise.
12851         * manual/errno.texi: Likewise.  Update example of errno macro
12852         expansion.
12853         * manual/filesys.texi: Likewise.
12854         (getumask): Document as specific to GNU/Hurd.
12855         * manual/install.texi: Likewise.  Reword some references to
12856         GNU/Linux.
12857         * manual/intro.texi: Likewise.
12858         * manual/io.texi: Likewise.
12859         (File Name Portability): Detail which constraints are inapplicable
12860         to all GNU systems and which are only inapplicable to GNU/Hurd.
12861         * manual/job.texi: Likewise.
12862         * manual/llio.texi: Likewise.
12863         (O_NOCTTY): Document as present on GNU/Linux.
12864         * manual/maint.texi: Likewise.
12865         * manual/memory.texi: Likewise.
12866         * manual/pattern.texi: Likewise.
12867         * manual/pipe.texi: Likewise.
12868         * manual/process.texi: Likewise.
12869         * manual/resource.texi: Likewise.
12870         (RUSAGE_CHILDREN): Remove statement about specifying a particular
12871         child on GNU/Hurd.
12872         * manual/setjmp.texi: Likewise.
12873         * manual/signal.texi: Likewise.
12874         * manual/startup.texi: Likewise.
12875         * manual/stdio.texi: Likewise.
12876         * manual/terminal.texi: Likewise.
12877         (ONLCR): Document as POSIX.
12878         (OXTABS): Document availability on GNU/Linux as XTABS.
12879         (ONOEOT): Document availability separately from other bits.
12880         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
12881         * manual/time.texi: Likewise.
12882         * manual/users.texi: Likewise.
12883         * INSTALL: Regenerated.
12884         * sysdeps/gnu/errlist.c: Regenerated.
12885
12886         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
12887         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
12888         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
12889         puts.
12890         * configure: Regenerated.
12891
12892 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
12893
12894         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
12895         default includes instead of AC_HEADER_CHECK.
12896         * sysdeps/i386/configure: Regenerated.
12897
12898         [BZ #10716]
12899         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
12900         * math/s_cacoshf.c (__cacoshf): Likewise.
12901         * math/s_cacoshl.c (__cacoshl): Likewise.
12902         * math/s_casinh.c (__casinh): Set signs of result from argument.
12903         * math/s_casinhf.c (__casinhf): Likewise.
12904         * math/s_casinhl.c (__casinhl): Likewise.
12905         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
12906         (casinh_test): Add more tests.
12907         * sysdeps/i386/fpu/libm-test-ulps: Update.
12908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12909
12910 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
12911
12912         * po/zh_TW.po: Update from translation team.
12913
12914         * login/Makefile (distribute): Remove variable.
12915         * catgets/Makefile: Likewise.
12916         * mach/Makefile: Likewise.
12917         * malloc/Makefile: Likewise.
12918         * misc/Makefile: Likewise.
12919         * iconv/Makefile: Likewise.
12920         * nscd/Makefile: Likewise.
12921         * hurd/Makefile: Likewise.
12922         * manual/Makefile: Likewise.
12923         * locale/Makefile: Likewise.
12924         * intl/Makefile: Likewise.
12925         * conform/Makefile: Likewise.
12926         * nss/Makefile: Likewise.
12927         * time/Makefile: Likewise.
12928         * soft-fp/Makefile: Likewise.
12929         * dirent/Makefile: Likewise.
12930         * gmon/Makefile: Likewise.
12931         * po/Makefile: Likewise.
12932         * rt/Makefile: Likewise.
12933         * socket/Makefile: Likewise.
12934         * math/Makefile: Likewise.
12935         * signal/Makefile: Likewise.
12936         * debug/Makefile: Likewise.
12937         * elf/Makefile: Likewise.
12938         * timezone/Makefile: Likewise.
12939         * stdlib/Makefile: Likewise.
12940         * iconvdata/Makefile: Likewise.
12941         * sunrpc/Makefile: Likewise.
12942         * io/Makefile: Likewise.
12943         * argp/Makefile: Likewise.
12944         * inet/Makefile: Likewise.
12945         * hesiod/Makefile: Likewise.
12946         * grp/Makefile: Likewise.
12947         * csu/Makefile: Likewise.
12948         * wctype/Makefile: Likewise.
12949         * crypt/Makefile: Likewise.
12950         * libio/Makefile: Likewise.
12951         * string/Makefile: Likewise.
12952         * nis/Makefile: Likewise.
12953         * resolv/Makefile: Likewise.
12954         * stdio-common/Makefile: Likewise.
12955         * wcsmbs/Makefile: Likewise.
12956         * dlfcn/Makefile: Likewise.
12957         * posix/Makefile: Likewise.
12958
12959         [BZ #6959]
12960         * timezone/Makefile: Don't install timezone files, just the programs
12961         and scripts.
12962
12963 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
12964
12965         * nss/databases.def: Add missing gshadow entry.
12966
12967         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
12968
12969 2012-03-06  Marek Polacek  <polacek@redhat.com>
12970
12971         [BZ #13726]
12972         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
12973         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
12974         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
12975         * stdio-common/tst-long-dbl-fphex.c: New file.
12976
12977 2012-03-06  David S. Miller  <davem@davemloft.net>
12978
12979         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12980         (set_obp_int): New function.
12981         (get_obp_int): New function.
12982         (__get_clockfreq_via_dev_openprom): Likewise.
12983         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
12984         Avoid unused variable warnings on 'val' and use builtin_expect.
12985         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
12986         __builtin_expect.
12987         (INLINE_CLONE_SYSCALL): Likewise.
12988
12989 2012-03-05  David S. Miller  <davem@davemloft.net>
12990
12991         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12992
12993 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
12994
12995         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12996
12997         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
12998         only for |x| >= 40.
12999         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13000
13001 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
13002
13003         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
13004         Replace gettimeofday with __vdso_gettimeofday.
13005
13006         * sysdeps/unix/sysv/linux/x86_64/init-first.c
13007         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
13008         __vdso_clock_gettime and __vdso_getcpu.
13009
13010         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
13011         time with __vdso_time.
13012
13013 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
13014
13015         * manual/lang.texi (size_t): Note types to which size_t may be
13016         equivalent with the GNU C Library, but do not describe when
13017         differences between them are significant.
13018
13019 2012-03-05  Andreas Jaeger  <aj@suse.de>
13020
13021         * sysdeps/i386/fpu/libm-test-ulps: Update.
13022
13023 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
13024
13025         [BZ #3976]
13026         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
13027         (__ieee754_pow): Save and restore rounding mode and use
13028         round-to-nearest for main computations.
13029         * math/libm-test.inc (pow_test_tonearest): New function.
13030         (pow_test_towardzero): Likewise.
13031         (pow_test_downward): Likewise.
13032         (pow_test_upward): Likewise.
13033         (main): Call the new functions.
13034         * sysdeps/i386/fpu/libm-test-ulps: Update.
13035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13036
13037         [BZ #3976]
13038         * math/libm-test.inc (cosh_test_tonearest): New function.
13039         (cosh_test_towardzero): Likewise.
13040         (cosh_test_downward): Likewise.
13041         (cosh_test_upward): Likewise.
13042         (sinh_test_tonearest): Likewise.
13043         (sinh_test_towardzero): Likewise.
13044         (sinh_test_downward): Likewise.
13045         (sinh_test_upward): Likewise.
13046         (main): Call the new functions.
13047         * sysdeps/i386/fpu/libm-test-ulps: Update.
13048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13049
13050 2012-03-05  Tom de Vries  <tom@codesourcery.com>
13051
13052         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
13053         default stack guard is set in last bytes.
13054         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
13055
13056 2012-03-05  Kees Cook  <keescook@chromium.org>
13057
13058         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
13059
13060         [BZ #13656]
13061         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
13062         possibly allocate from heap instead of stack.
13063         * stdio-common/bug-vfprintf-nargs.c: New file.
13064         * stdio-common/Makefile (tests): Add nargs overflow test.
13065
13066 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
13067
13068         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13069
13070 2012-03-03  Marek Polacek  <polacek@redhat.com>
13071
13072         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
13073         * math/math_private.h: Likewise.
13074         * stdlib/tst-strtod.c: Likewise.
13075         * sysdeps/i386/i486/bits/atomic.h: Likewise.
13076         * sysdeps/x86_64/bits/atomic.h: Likewise.
13077
13078 2012-03-02  David S. Miller  <davem@davemloft.net>
13079
13080         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
13081         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
13082         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
13083         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
13084         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
13085         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
13086         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
13087         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
13088
13089 2012-03-02  Roland McGrath  <roland@hack.frob.com>
13090
13091         [BZ #13792]
13092         * manual/examples/README: New file, says the example source files
13093         can be used under GPL>=2.
13094         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
13095         line containing just "*/".
13096         * manual/examples/add.c: Add copyright header (GPL>=2).
13097         * manual/examples/argp-ex1.c: Likewise.
13098         * manual/examples/argp-ex2.c: Likewise.
13099         * manual/examples/argp-ex3.c: Likewise.
13100         * manual/examples/argp-ex4.c: Likewise.
13101         * manual/examples/atexit.c: Likewise.
13102         * manual/examples/db.c: Likewise.
13103         * manual/examples/dir.c: Likewise.
13104         * manual/examples/dir2.c: Likewise.
13105         * manual/examples/execinfo.c: Likewise.
13106         * manual/examples/filecli.c: Likewise.
13107         * manual/examples/filesrv.c: Likewise.
13108         * manual/examples/fmtmsgexpl.c: Likewise.
13109         * manual/examples/genpass.c: Likewise.
13110         * manual/examples/inetcli.c: Likewise.
13111         * manual/examples/inetsrv.c: Likewise.
13112         * manual/examples/isockad.c: Likewise.
13113         * manual/examples/longopt.c: Likewise.
13114         * manual/examples/memopen.c: Likewise.
13115         * manual/examples/memstrm.c: Likewise.
13116         * manual/examples/mkfsock.c: Likewise.
13117         * manual/examples/mkisock.c: Likewise.
13118         * manual/examples/mygetpass.c: Likewise.
13119         * manual/examples/pipe.c: Likewise.
13120         * manual/examples/popen.c: Likewise.
13121         * manual/examples/rprintf.c: Likewise.
13122         * manual/examples/search.c: Likewise.
13123         * manual/examples/select.c: Likewise.
13124         * manual/examples/setjmp.c: Likewise.
13125         * manual/examples/sigh1.c: Likewise.
13126         * manual/examples/sigusr.c: Likewise.
13127         * manual/examples/stpcpy.c: Likewise.
13128         * manual/examples/strdupa.c: Likewise.
13129         * manual/examples/strftim.c: Likewise.
13130         * manual/examples/strncat.c: Likewise.
13131         * manual/examples/subopt.c: Likewise.
13132         * manual/examples/swapcontext.c: Likewise.
13133         * manual/examples/termios.c: Likewise.
13134         * manual/examples/testopt.c: Likewise.
13135         * manual/examples/testpass.c: Likewise.
13136         * manual/examples/timeval_subtract.c: Likewise.
13137
13138         [BZ #13792]
13139         * manual/time.texi (Elapsed Time): Move timeval_subtract example
13140         function to ...
13141         * manual/timeval_subtract.c.texi: ... here, new file.
13142
13143 2012-03-02  David S. Miller  <davem@davemloft.net>
13144
13145         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
13146
13147 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
13148
13149         [BZ #3976]
13150         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
13151         (__sin): Save and restore rounding mode and use round-to-nearest
13152         for all computations.
13153         (__cos): Save and restore rounding mode and use round-to-nearest
13154         for all computations.
13155         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
13156         <fenv.h>.
13157         (tan): Save and restore rounding mode and use round-to-nearest for
13158         all computations.
13159         * math/libm-test.inc (cos_test_tonearest): New function.
13160         (cos_test_towardzero): Likewise.
13161         (cos_test_downward): Likewise.
13162         (cos_test_upward): Likewise.
13163         (sin_test_tonearest): Likewise.
13164         (sin_test_towardzero): Likewise.
13165         (sin_test_downward): Likewise.
13166         (sin_test_upward): Likewise.
13167         (tan_test_tonearest): Likewise.
13168         (tan_test_towardzero): Likewise.
13169         (tan_test_downward): Likewise.
13170         (tan_test_upward): Likewise.
13171         (main): Call the new functions.
13172         * sysdeps/i386/fpu/libm-test-ulps: Update.
13173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13174
13175         [BZ #10135]
13176         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
13177         small n, then large n, before computing and testing k+n.
13178         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13179         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
13180         Likewise.
13181         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
13182         Likewise.
13183         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
13184         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
13185         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
13186         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
13187         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13188         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13189         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
13190         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
13191         * math/libm-test.inc (scalbn_test): Add more tests.
13192         (scalbln_test): Likewise.
13193
13194         * manual/filesys.texi (mode_t): Describe constraints on size and
13195         signedness, not exact equivalence to a particular type.
13196         (ino_t): Likewise.
13197         (ino64_t): Likewise.
13198         (dev_t): Likewise.
13199         (nlink_t): Likewise.
13200         (blkcnt_t): Likewise.
13201         (blkcnt64_t): Likewise.
13202         * manual/llio.texi (off_t): Likewise.
13203
13204         [BZ #3976]
13205         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
13206         (__ieee754_exp): Save and restore rounding mode and use
13207         round-to-nearest for all computations.
13208         * math/libm-test.inc (exp_test_tonearest): New function.
13209         (exp_test_towardzero): Likewise.
13210         (exp_test_downward): Likewise.
13211         (exp_test_upward): Likewise.
13212         (main): Call the new functions.
13213         * sysdeps/i386/fpu/libm-test-ulps: Update.
13214         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13215
13216 2012-03-01  Chris Demetriou  <cgd@google.com>
13217
13218         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
13219         have predictable order.
13220
13221 2012-03-01  David S. Miller  <davem@davemloft.net>
13222
13223         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
13224
13225         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
13226         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
13227         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
13228         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
13229
13230         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
13231         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
13232         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
13233         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
13234         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
13235         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
13236         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
13237         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
13238         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
13239
13240         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13241
13242         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
13243         * sysdeps/sparc/fpu/libm-test-ulps: to here.
13244         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
13245
13246         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
13247         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13248         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
13249         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
13250         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
13251         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
13252         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
13253         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13254         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
13255         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
13256         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
13257         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
13258         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13259         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
13260         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13261         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13262         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
13263         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
13264         * sysdeps/sparc/elf/configure: Regenerated.
13265
13266 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
13267
13268         * configure.in (AS, LD): Require binutils 2.20 or later.
13269         * configure: Regenerated.
13270         * manual/install.texi (Tools for Compilation): Give binutils 2.20
13271         as required minimum version.
13272         * INSTALL: Regenerated.
13273
13274         [BZ #2541]
13275         [BZ #4108]
13276         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
13277         before squaring exponent.
13278         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
13279         bottom long double and 27 bits of top long double before squaring
13280         exponent.
13281         * math/libm-test.inc (erfc_test): Add more tests.
13282         * sysdeps/i386/fpu/libm-test-ulps: Update.
13283         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13285
13286 2012-03-01  Kai Tietz  <ktietz@redhat.com>
13287
13288         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
13289         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
13290         containing bit-fields.
13291         * soft-fp/extended.h (_FP_UNION_E): Likewise.
13292         * soft-fp/single.h (_FP_UNION_S): Likewise.
13293         * soft-fp/double.h (_FP_UNION_D): Likewise.
13294
13295 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
13296
13297         [BZ #13786]
13298         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
13299         not include ../strcmp.S.
13300         [USE_AS_STRNCASECMP_L]: Likewise.
13301         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
13302         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
13303         * sysdeps/i386/i686/multiarch/strncase_l-c.c
13304         (__strncasecmp_l_ia32): Define as alias to
13305         __strncasecmp_l_nonascii.
13306
13307         [BZ #5794]
13308         * math/libm-test.inc (expm1_test): Add test for bug 5794.
13309         * sysdeps/i386/fpu/libm-test-ulps: Update.
13310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13311
13312         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
13313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13314
13315 2012-02-29  Jeff Law  <law@redhat.com>
13316
13317         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
13318         out of bounds read.
13319
13320 2012-02-29  Marek Polacek  <polacek@redhat.com>
13321
13322         [BZ #13706]
13323         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
13324         * elf/Makefile: Add rules to run tst-unused-dep.out.
13325
13326 2012-02-28  David S. Miller  <davem@davemloft.net>
13327
13328         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
13329         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
13330         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
13331         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
13332         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
13333         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
13334
13335 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
13336
13337         * math/libm-test.inc (llround_test): Move one test from
13338         lround_test.  Use TEST_f_L in moved test.
13339         (lround_test): Move misplaced test to llround_test.  Add testcase
13340         from bug 2561.
13341
13342 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
13343
13344         * sysdeps/x86_64/fpu/e_expf.S: New file.
13345         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
13346
13347 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
13348
13349         [BZ #13637]
13350         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
13351         of remain_len that may cause incomplete multi-byte character and
13352         false match.
13353         * posix/bug-regex33.c: New file.
13354         * posix/Makefile (tests): Add bug-regex33.
13355
13356 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
13357
13358         * manual/macros.texi: New file.
13359         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
13360         * manual/libc.texinfo: Include macros.texi.
13361         * manual/creatute.texi: Likewise.
13362         * manual/install.texi: Likewise.
13363         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
13364         @glibcadj{} in references to the GNU C Library.
13365         * manual/charset.texi: Likewise.
13366         * manual/conf.texi: Likewise.
13367         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
13368         when not using those macros.
13369         * manual/creature.texi: Likewise.
13370         * manual/crypt.texi: Likewise.
13371         * manual/errno.texi: Likewise.
13372         * manual/filesys.texi: Likewise.
13373         * manual/header.texi: Likewise.
13374         * manual/install.texi: Likewise.
13375         * manual/intro.texi: Likewise.
13376         * manual/io.texi: Likewise.
13377         * manual/job.texi: Likewise.
13378         * manual/lang.texi: Likewise.
13379         * manual/libc.texiinfo: Likewise.
13380         * manual/llio.texi: Likewise.
13381         * manual/locale.texi: Likewise.
13382         * manual/maint.texi: Likewise.
13383         * manual/math.texi: Likewise.
13384         * manual/memory.texi: Likewise.
13385         * manual/message.texi: Likewise.
13386         * manual/nss.texi: Likewise.
13387         * manual/pattern.texi: Likewise.
13388         * manual/process.texi: Likewise.
13389         * manual/resource.texi: Likewise.
13390         * manual/search.texi: Likewise.
13391         * manual/setjmp.texi: Likewise.
13392         * manual/signal.texi: Likewise.
13393         * manual/socket.texi: Likewise.
13394         * manual/startup.texi: Likewise.
13395         * manual/stdio.texi: Likewise.
13396         * manual/string.texi: Likewise.
13397         * manual/sysinfo.texi: Likewise.
13398         * manual/syslog.texi: Likewise.
13399         * manual/terminal.texi: Likewise.
13400         * manual/time.texi: Likewise.
13401         * manual/users.texi: Likewise.
13402         * INSTALL: Regenerated.
13403         * NOTES: Regenerated.
13404         * sysdeps/gnu/errlist.c: Regenerated.
13405
13406 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
13407
13408         * include/dirent.h: Include <dirstream.h> before
13409         <dirent/dirent.h>.
13410
13411 2012-02-28  David S. Miller  <davem@davemloft.net>
13412
13413         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
13414         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
13415         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
13416         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
13417
13418 2012-02-27  David S. Miller  <davem@davemloft.net>
13419
13420         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
13421         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
13422         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
13423         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
13424
13425         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
13426         frame pointer instead of stack pointer relative arg slot.
13427         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
13428         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
13429         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
13430
13431 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
13432
13433         [BZ #3992]
13434         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
13435
13436 2012-02-27  David S. Miller  <davem@davemloft.net>
13437
13438         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
13439         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
13440         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
13441         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
13442         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
13443         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
13444         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
13445         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
13446
13447 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
13448
13449         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
13450         later.  Allow versions 5-9.
13451         * configure: Regenerated.
13452         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
13453         required minimum version and 4.6 as recommended version.  Do not
13454         mention bugs in GCC 2.7 and 2.8.
13455         * INSTALL: Regenerated.
13456
13457 2012-02-27  David S. Miller  <davem@davemloft.net>
13458
13459         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
13460         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
13461         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
13462         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
13463         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
13464         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
13465         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
13466         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
13467
13468         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
13469         manipulate bits before adding and subtracting TWO112[sx].
13470         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
13471
13472 2012-02-27  Roland McGrath  <roland@hack.frob.com>
13473
13474         [BZ #13775]
13475         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
13476         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
13477         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
13478         being in POSIX, because they are in 1003.1-2008.
13479
13480         * rt/tst-aio.c: Include <fcntl.h>.
13481         * rt/tst-aio7.c: Likewise.
13482         * rt/tst-aio64.c: Likewise.
13483
13484         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
13485
13486 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
13487
13488         * manual/install.texi (--with-headers): Describe headers as
13489         interface headers, not private headers.
13490         (Specific advice for GNU/Linux systems): Describe use of headers
13491         from "make headers_install", not private headers from older
13492         kernels.
13493         * INSTALL: Regenerated.
13494         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
13495         Change to 2.6.19.
13496         * sysdeps/unix/sysv/linux/configure: Regenerated.
13497
13498         * manual/llio.texi (fclean): Remove documentation.
13499
13500         * manual/Makefile (libc-texi-generated): New variable.  Include
13501         version.texi.
13502         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
13503         $(libc-texi-generated), not duplicated list of files.
13504         (version.texi, stamp-version): New rules.
13505         (realclean): Remove $(libc-texi-generated), not individual files
13506         from that list.  Do not remove dir-add.texinfo.
13507         * manual/libc.texinfo: Comment out uses of edition numbers and
13508         references to printed manual.  Remove last-updated dates.
13509         (EDITION): Comment out.
13510         (ISBN): Likewise.
13511         (VERSION, UPDATED): Remove.
13512         (version.texi): Include.
13513
13514 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
13515
13516         * sysdeps/posix/spawni.c: Include <signal.h>.
13517         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
13518         * sysdeps/pthread/aio_fsync.c: Likewise.
13519
13520 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
13521
13522         * conform/Makefile (tests): Run only when not cross-compiling and
13523         when fast-check is not defined.
13524
13525         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
13526         * conform/data/limits.h-data: Fixes for POSIX2008.
13527         * conform/run-conformtest.sh: Run all tests.
13528         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
13529         headers.
13530         * include/bits/dlfcn.h: Likewise.
13531         * include/langinfo.h: Likewise.
13532         * include/monetary.h: Likewise.
13533         * include/sys/poll.h: Likewise.
13534
13535         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
13536         for __USE_GNU.
13537         * posix/spawn.h: Define __need_sigset_t.
13538         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
13539         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
13540         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
13541         to get sigevent_t only.
13542         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
13543         only for __USE_GNU.
13544         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13545         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13546         process_vm_writev only for __USE_GNU.
13547         * termios/termios.h: Declare tcgetsid also for POSIX2008.
13548
13549         * conform/Makefile: For now ignore errors from run-conformtest.
13550         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
13551         POSIX to avoid namespace pollution.  Don't prepend headers.
13552         * conform/data/aio.h-data: Fixes for POSIX testing.
13553         * conform/data/fcntl.h-data: Likewise.
13554         * conform/data/glob.h-data: Likewise.
13555         * conform/data/grp.h-data: Likewise.
13556         * conform/data/pthread.h-data: Likewise.
13557         * conform/data/pwd.h-data: Likewise.
13558         * conform/data/signal.h-data: Likewise.
13559         * conform/data/spawn.h-data: Likewise.
13560         * conform/data/stdio.h-data: Likewise.
13561         * conform/data/stdlib.h-data: Likewise.
13562         * conform/data/stropts.h-data: Likewise.
13563         * conform/data/sys/mman.h-data: Likewise.
13564         * conform/data/sys/stat.h-data: Likewise.
13565         * conform/data/sys/types.h-data: Likewise.
13566         * conform/data/sys/wait.h-data: Likewise.
13567         * conform/data/time.h-data: Likewise.
13568         * conform/data/unistd.h-data: Likewise.
13569         * conform/data/utime.h-data: Likewise.
13570
13571         * io/sys/stat.h: fchmod was always in POSIX.
13572         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
13573         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
13574         * rt/aio.h: Define __need_timespec before including <time.h>.
13575         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
13576         struct.  Add forward declaration of pthread_attr_t and use it in
13577         sigevent.
13578         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13579         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13580         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
13581         always remove CLK_TCK definition.
13582
13583 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
13584
13585         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
13586
13587 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
13588
13589         * conform/run-conformtest.sh: New file.
13590         * conform/Makefile: Run run-conformtest for tests.
13591         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
13592         support.
13593
13594         * conform/data/uchar.h-data: New file.
13595         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
13596         * conform/data/arpa/inet.h-data: Likewise.
13597         * conform/data/assert.h-data: Likewise.
13598         * conform/data/complex.h-data: Likewise.
13599         * conform/data/cpio.h-data: Likewise.
13600         * conform/data/ctype.h-data: Likewise.
13601         * conform/data/dirent.h-data: Likewise.
13602         * conform/data/dlfcn.h-data: Likewise.
13603         * conform/data/errno.h-data: Likewise.
13604         * conform/data/fcntl.h-data: Likewise.
13605         * conform/data/float.h-data: Likewise.
13606         * conform/data/fmtmsg.h-data: Likewise.
13607         * conform/data/fnmatch.h-data: Likewise.
13608         * conform/data/ftw.h-data: Likewise.
13609         * conform/data/glob.h-data: Likewise.
13610         * conform/data/grp.h-data: Likewise.
13611         * conform/data/iconv.h-data: Likewise.
13612         * conform/data/inttypes.h-data: Likewise.
13613         * conform/data/langinfo.h-data: Likewise.
13614         * conform/data/libgen.h-data: Likewise.
13615         * conform/data/limits.h-data: Likewise.
13616         * conform/data/locale.h-data: Likewise.
13617         * conform/data/math.h-data: Likewise.
13618         * conform/data/monetary.h-data: Likewise.
13619         * conform/data/mqueue.h-data: Likewise.
13620         * conform/data/ndbm.h-data: Likewise.
13621         * conform/data/net/if.h-data: Likewise.
13622         * conform/data/netdb.h-data: Likewise.
13623         * conform/data/netinet/in.h-data: Likewise.
13624         * conform/data/nl_types.h-data: Likewise.
13625         * conform/data/poll.h-data: Likewise.
13626         * conform/data/pthread.h-data: Likewise.
13627         * conform/data/pwd.h-data: Likewise.
13628         * conform/data/regex.h-data: Likewise.
13629         * conform/data/sched.h-data: Likewise.
13630         * conform/data/search.h-data: Likewise.
13631         * conform/data/semaphore.h-data: Likewise.
13632         * conform/data/setjmp.h-data: Likewise.
13633         * conform/data/signal.h-data: Likewise.
13634         * conform/data/spawn.h-data: Likewise.
13635         * conform/data/stdarg.h-data: Likewise.
13636         * conform/data/stdio.h-data: Likewise.
13637         * conform/data/stdlib.h-data: Likewise.
13638         * conform/data/string.h-data: Likewise.
13639         * conform/data/strings.h-data: Likewise.
13640         * conform/data/stropts.h-data: Likewise.
13641         * conform/data/sys/ipc.h-data: Likewise.
13642         * conform/data/sys/mman.h-data: Likewise.
13643         * conform/data/sys/msg.h-data: Likewise.
13644         * conform/data/sys/resource.h-data: Likewise.
13645         * conform/data/sys/select.h-data: Likewise.
13646         * conform/data/sys/sem.h-data: Likewise.
13647         * conform/data/sys/shm.h-data: Likewise.
13648         * conform/data/sys/socket.h-data: Likewise.
13649         * conform/data/sys/stat.h-data: Likewise.
13650         * conform/data/sys/statvfs.h-data: Likewise.
13651         * conform/data/sys/time.h-data: Likewise.
13652         * conform/data/sys/timeb.h-data: Likewise.
13653         * conform/data/sys/times.h-data: Likewise.
13654         * conform/data/sys/types.h-data: Likewise.
13655         * conform/data/sys/uio.h-data: Likewise.
13656         * conform/data/sys/un.h-data: Likewise.
13657         * conform/data/sys/utsname.h-data: Likewise.
13658         * conform/data/sys/wait.h-data: Likewise.
13659         * conform/data/syslog.h-data: Likewise.
13660         * conform/data/tar.h-data: Likewise.
13661         * conform/data/termios.h-data: Likewise.
13662         * conform/data/utime.h-data: Likewise.
13663         * conform/data/utmpx.h-data: Likewise.
13664         * conform/data/varargs.h-data: Likewise.
13665         * conform/data/wchar.h-data: Likewise.
13666         * conform/data/wctype.h-data: Likewise.
13667         * conform/data/wordexp.h-data: Likewise.
13668
13669         * include/stropts.h: New file.
13670         * include/uchar.h: New file.
13671         * include/aio.h: Changes to allow conformtest.pl to use the headers.
13672         * include/assert.h: Likewise.
13673         * include/ctype.h: Likewise.
13674         * include/dirent.h: Likewise.
13675         * include/dlfcn.h: Likewise.
13676         * include/fcntl.h: Likewise.
13677         * include/fnmatch.h: Likewise.
13678         * include/glob.h: Likewise.
13679         * include/grp.h: Likewise.
13680         * include/libio.h: Likewise.
13681         * include/locale.h: Likewise.
13682         * include/math.h: Likewise.
13683         * include/net/if.h: Likewise.
13684         * include/netdb.h: Likewise.
13685         * include/netinet/in.h: Likewise.
13686         * include/pthread.h: Likewise.
13687         * include/pwd.h: Likewise.
13688         * include/regex.h: Likewise.
13689         * include/sched.h: Likewise.
13690         * include/search.h: Likewise.
13691         * include/setjmp.h: Likewise.
13692         * include/signal.h: Likewise.
13693         * include/stdio.h: Likewise.
13694         * include/stdlib.h: Likewise.
13695         * include/string.h: Likewise.
13696         * include/sys/cdefs.h: Likewise.
13697         * include/sys/mman.h: Likewise.
13698         * include/sys/msg.h: Likewise.
13699         * include/sys/resource.h: Likewise.
13700         * include/sys/select.h: Likewise.
13701         * include/sys/socket.h: Likewise.
13702         * include/sys/stat.h: Likewise.
13703         * include/sys/statvfs.h: Likewise.
13704         * include/sys/time.h: Likewise.
13705         * include/sys/times.h: Likewise.
13706         * include/sys/uio.h: Likewise.
13707         * include/sys/utsname.h: Likewise.
13708         * include/sys/wait.h: Likewise.
13709         * include/termios.h: Likewise.
13710         * include/time.h: Likewise.
13711         * include/ulimit.h: Likewise.
13712         * include/unistd.h: Likewise.
13713         * include/utime.h: Likewise.
13714         * include/wchar.h: Likewise.
13715         * include/wctype.h: Likewise.
13716         * include/wordexp.h: Likewise.
13717
13718         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
13719
13720         * time/time.h: TIME_UTC must be a macro.
13721         Make timespec_get available for ISO C11 only as well.
13722
13723 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
13724
13725         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
13726         Reported by Peng Haitao <penght@cn.fujitsu.com>.
13727
13728 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
13729
13730         * configure.in: Use -o not -a in test for unsupported multi-arch.
13731
13732 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
13733
13734         * manual/texinfo.tex: Update to version 2012-01-19.16.
13735
13736 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
13737
13738         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
13739
13740 2012-02-24  Roland McGrath  <roland@hack.frob.com>
13741
13742         [BZ #13738]
13743         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
13744         * manual/fdl-1.3.texi: New file.
13745         * manual/fdl-1.1.texi: File removed.
13746
13747         [BZ #13738]
13748         * manual/libc.texinfo (FDL_VERSION): New @set.
13749         Use it for mention of FDL in cover text.
13750         (Documentation License): Use it in @include file name.
13751
13752 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
13753             Roland McGrath  <roland@hack.frob.com>
13754
13755         [BZ #5461]
13756         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
13757         not LONG_LONG_MAX and LONG_LONG_MIN.
13758         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
13759         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
13760         name.
13761         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
13762
13763 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
13764
13765         [BZ #2547]
13766         [BZ #11365]
13767         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
13768         manipulate bits before adding and subtracting TWO23[sx].
13769         * math/libm-test.inc (nearbyint_test): Add more tests.
13770
13771 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
13772
13773         [BZ #2548]
13774         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
13775         bits before adding and subtracting TWO23[sx].
13776         * math/libm-test.inc (rint_test): Add more tests.
13777         (rint_test_tonearest): Likewise.
13778         (rint_test_towardzero): Likewise.
13779         (rint_test_downward): Likewise.
13780         (rint_test_upward: Likewise.
13781
13782 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
13783
13784         [BZ #10110]
13785         * include/stdc-predef.h: New file.  Extracted from features.h.
13786         * include/features.h: Include stdc-predef.h.
13787         * Makefile (headers): Add stdc-predef.h.
13788         * CONFORMANCE (Compiler limitations): Update.
13789
13790 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
13791
13792         * manual/libc.texinfo (VERSION, UPDATED): Revert.
13793
13794 2012-02-21  David S. Miller  <davem@davemloft.net>
13795
13796         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
13797         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
13798
13799 2012-02-20  David S. Miller  <davem@davemloft.net>
13800
13801         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
13802         using a normal save/restore sequence, rather than allocating a
13803         dummy stack frame just to store a frame pointer and restore.
13804         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
13805
13806 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
13807
13808         * manual/install.texi: Fix stray word in line-wrapped comment.
13809
13810 2012-02-20  David S. Miller  <davem@davemloft.net>
13811
13812         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
13813         both binutils and gcc support GOTDATA.
13814
13815         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
13816         "rd %pc" in the PIC register setup sequences.
13817
13818         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
13819         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
13820         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
13821         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
13822         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
13823         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
13824         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13825         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
13826         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
13827         (SYSCALL_ERROR_HANDLER): Likewise.
13828         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
13829         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13830         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
13831         (SYSCALL_ERROR_HANDLER): Likewise.
13832
13833         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
13834         (HAVE_GCC_GOTDATA): New.
13835         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
13836         relocation support in both binutils and gcc.
13837         * sysdeps/sparc/elf/configure: Regenerate.
13838
13839         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
13840         * sysdeps/sparc/sparc32/elf/configure: Delete.
13841         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
13842         * sysdeps/sparc/sparc64/elf/configure: Delete.
13843         * sysdeps/sparc/elf/configure.in: New file.
13844         * sysdeps/sparc/elf/configure: Generate.
13845
13846         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
13847         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
13848         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
13849         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
13850         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
13851
13852 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
13853
13854         * manual/install.texi: Do not mention specific glibc version
13855         numbers.
13856         * manual/libc.texinfo (VERSION, UPDATED): Update.
13857         (@copying): Use @copyright{} and range of years.
13858
13859 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
13860
13861         [BZ #13695]
13862         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
13863         [crti.S not in sysdirs] (generated): Do not append.
13864         [crti.S not in sysdirs] (omit-deps): Likewise.
13865         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
13866         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
13867         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
13868         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
13869         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
13870         Likewise.
13871         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
13872         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
13873         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
13874         * csu/defs.awk: Remove file.
13875         * sysdeps/generic/initfini.c: Likewise.
13876         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
13877         variable.
13878         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
13879         Likewise.
13880
13881 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
13882
13883         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
13884         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
13885         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
13886         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
13887         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13888         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
13889         <bits/epoll.h>.
13890         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
13891         (__EPOLL_PACKED): Define to empty if not defined by
13892         <bits/epoll.h>.
13893         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
13894         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13895         bits/epoll.h.
13896
13897 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
13898
13899         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
13900         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
13901         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
13902         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
13903         <bits/timerfd.h>.
13904         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
13905         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13906         bits/timerfd.h.
13907
13908 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
13909
13910         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
13911         in C locale.
13912         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13913         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13914         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
13915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13916
13917 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
13918
13919         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13920         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
13921
13922 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
13923
13924         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
13925         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
13926         defined.
13927         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
13928         Likewise.
13929         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
13930         entry for 2.16.
13931
13932 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
13933
13934         * math/w_acos.c: Use non-signaling floating-point comparisons.
13935         * math/w_acosf.c: Likewise.
13936         * math/w_acosh.c: Likewise.
13937         * math/w_acoshf.c: Likewise.
13938         * math/w_acoshl.c: Likewise.
13939         * math/w_acosl.c: Likewise.
13940         * math/w_asin.c: Likewise.
13941         * math/w_asinf.c: Likewise.
13942         * math/w_asinl.c: Likewise.
13943         * math/w_atanh.c: Likewise.
13944         * math/w_atanhf.c: Likewise.
13945         * math/w_atanhl.c: Likewise.
13946         * math/w_exp2.c: Likewise.
13947         * math/w_exp2f.c: Likewise.
13948         * math/w_exp2l.c: Likewise.
13949         * math/w_j0.c: Likewise.
13950         * math/w_j0f.c: Likewise.
13951         * math/w_j0l.c: Likewise.
13952         * math/w_j1.c: Likewise.
13953         * math/w_j1f.c: Likewise.
13954         * math/w_j1l.c: Likewise.
13955         * math/w_jn.c: Likewise.
13956         * math/w_jnf.c: Likewise.
13957         * math/w_log.c: Likewise.
13958         * math/w_log10.c: Likewise.
13959         * math/w_log10f.c: Likewise.
13960         * math/w_log10l.c: Likewise.
13961         * math/w_log2.c: Likewise.
13962         * math/w_log2f.c: Likewise.
13963         * math/w_log2l.c: Likewise.
13964         * math/w_logf.c: Likewise.
13965         * math/w_logl.c: Likewise.
13966         * math/w_sqrt.c: Likewise.
13967         * math/w_sqrtf.c: Likewise.
13968         * math/w_sqrtl.c: Likewise.
13969         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13970         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
13971         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13972         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13973         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13974
13975 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
13976
13977         [BZ #9739]
13978         * manual/string.texi (strnlen): Use correct parameter name in
13979         equivalent expression.
13980
13981 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
13982
13983         [BZ #11174]
13984         * manual/users.texi (seteuid): Consistently use neweuid for
13985         argument name.
13986
13987 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
13988
13989         [BZ #13704]
13990         * manual/nss.texi (Services in the NSS configuration): Correct
13991         list of services in example configuration file.
13992
13993 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
13994
13995         [BZ #11322]
13996         * manual/arith.texi: Remove statements about negative zero
13997         behaving identically to zero.
13998
13999 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
14000
14001         [BZ #5993]
14002         * manual/install.texi: Do not document upgrading from libc5.
14003
14004 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
14005
14006         [BZ #4596]
14007         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
14008
14009 2012-02-18  David S. Miller  <davem@davemloft.net>
14010
14011         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
14012         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
14013         %o7 across the call.
14014         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
14015         instead.
14016         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
14017         SETUP_PIC_REG_LEAF.
14018         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14019         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
14020         * sysdeps/sparc/crtn.S: Likewise.
14021
14022 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
14023
14024         * aout/Makefile: Remove.
14025
14026 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
14027
14028         [BZ #13058]
14029         * manual/examples/argp-ex1.c (main): Format definition in GNU
14030         style.
14031         * manual/examples/argp-ex2.c (main): Likewise.
14032         * manual/examples/argp-ex3.c (main): Likewise.
14033         * manual/examples/argp-ex4.c (main): Likewise.
14034         * manual/examples/longopt.c (main): Use new-style prototype
14035         definition.
14036         * manual/examples/strncat.c (main): Specify return type and use
14037         (void) for arguments.
14038         * manual/examples/subopt.c (main): Use char **argv argument.
14039
14040 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
14041
14042         [BZ #5077]
14043         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
14044         rounding modes.
14045
14046 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
14047
14048         [BZ #6907]
14049         * manual/string.texi (strchr): Change when strchrnul is
14050         recommended.
14051
14052 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
14053
14054         [BZ #174]
14055         * manual/locale.texi (setlocale): Document LOCPATH.
14056
14057 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
14058
14059         [BZ #10210]
14060         * manual/process.texi (execle): Move @dots{} before last argument.
14061
14062 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
14063
14064         [BZ #12047]
14065         * manual/charset.texi (Generic Charset Conversion): Fix typo
14066         (LC_TYPE -> LC_CTYPE).
14067
14068 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
14069
14070         [BZ #5805]
14071         * manual/arith.texi (scalbn): Use @var{} on parameter names.
14072         (scalbnf): Likewise.
14073         (scalbnl): Likewise.
14074         (scalbln): Likewise.
14075         (scalblnf): Likewise.
14076         (scalblnl): Likewise.
14077         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
14078         (vwarnx): Likewise.
14079         (verr): Likewise.
14080         (verrx): Likewise.
14081         * manual/filesys.texi (telldir): Use braces around return type.
14082         * manual/llio.texi (mmap): Add space after comma.
14083         (mmap64): Likewise.
14084         * manual/math.texi (jn): Use @var{} on parameter names.
14085         (jnf): Likewise.
14086         (jnl): Likewise.
14087         (yn): Likewise.
14088         (ynf): Likewise.
14089         (ynl): Likewise.
14090         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
14091         line.
14092         * manual/resource.texi (ulimit): Use @dots{} instead of literal
14093         "...".
14094         (sched_get_priority_min): Remove semicolon on @deftypefun line.
14095         (sched_get_priority_max): Likewise.
14096         * manual/signal.texi (sigvec): Add space after comma.
14097         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
14098         names.
14099         (if_indextoname): Likewise.
14100         (if_freenameindex): Likewise.
14101         (sendto): Use ',' instead of '.' in prototype.
14102         * manual/startup.texi (syscall): Use @dots{} instead of literal
14103         "...".
14104         * manual/stdio.texi (__fpending): Separate initial words of
14105         paragraph from @deftypefun line.
14106         * manual/syslog.texi (syslog): Use @dots{} instead of literal
14107         "...".
14108         (vsyslog): Use @var{} on parameter names.
14109         * manual/terminal.texi (stty): Use @var{} on parameter names.
14110         * manual/users.texi (getutmp): Use @var{} on parameter names.
14111         (getutmpx): Likewise.
14112
14113 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
14114
14115         [BZ #6884]
14116         * manual/stdio.texi (fopen): Fix typos in description of
14117         ",ccs=STRING".
14118
14119 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
14120
14121         [BZ #4026]
14122         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
14123         get clock_id definition.
14124
14125 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
14126
14127         [BZ #4822]
14128         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
14129         (madvise): Cast every argument to void on its own.
14130
14131 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
14132
14133         [BZ #9902]
14134         * manual/startup.texi (Exit Status): Fix typo.
14135
14136 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
14137
14138         [BZ #10140]
14139         * manual/examples/argp-ex1.c: Include <stdlib.h>.
14140         * manual/examples/argp-ex2.c: Likewise.
14141         * manual/examples/argp-ex3.c: Likewise.
14142
14143 2012-02-16  Richard Henderson  <rth@redhat.com>
14144
14145         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
14146         * sysdeps/s390/s390-32/initfini.c: Remove.
14147         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
14148         * sysdeps/s390/s390-64/initfini.c: Remove.
14149
14150 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14151
14152         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
14153         compiler output for sysdeps/generic/initfini.c.
14154         * sysdeps/sh/elf/initfini.c: Remove file.
14155
14156 2012-02-16  David S. Miller  <davem@davemloft.net>
14157
14158         [BZ #11494]
14159         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
14160
14161         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
14162         * sysdeps/sparc/crti.S: New file.
14163         * sysdeps/sparc/crtn.S: New file.
14164         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
14165         * sysdeps/sparc/sparc64/Makefile: Likewise.
14166
14167 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
14168
14169         [BZ #3335]
14170         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
14171
14172 2012-02-15  Roland McGrath  <roland@hack.frob.com>
14173
14174         [BZ #4822]
14175         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
14176
14177         * mach/devstream.c (cookie_io_functions_t): Macro removed.
14178         (write, read, close): Likewise.
14179         Patch by Aurelien Jarno <aurelien@aurel32.net>.
14180
14181 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
14182
14183         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
14184         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
14185         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
14186         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
14187         <bits/signalfd.h>.
14188         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
14189         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14190         bits/signalfd.h.
14191
14192 2012-02-14  Marek Polacek  <polacek@redhat.com>
14193
14194         * sysdeps/x86_64/crti.S: New file.
14195         * sysdeps/x86_64/crtn.S: New file.
14196         * sysdeps/x86_64/elf/initfini.c: Remove file.
14197
14198 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
14199
14200         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
14201         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
14202         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
14203         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
14204         <bits/inotify.h>.
14205         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
14206         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14207         bits/inotify.h.
14208
14209 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
14210
14211         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
14212         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
14213         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
14214         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
14215         <bits/eventfd.h>.
14216         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
14217         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14218         bits/eventfd.h.
14219
14220 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
14221
14222         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
14223         __feraiseexcept instead of feraiseexcept.
14224
14225         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
14226         nanosleep invocations.
14227         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
14228         strings, and add error checking for a nanosleep invocations.
14229
14230 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
14231
14232         Replace FSF snail mail address with URLs, as per GNU coding standards.
14233         Most of the snail mail addresses were wrong anyway, and omitting
14234         them makes the source code easier to maintain.  Almost all of the
14235         changes are to license notices and to locale LC_IDENTIFICATION
14236         addresses, except for this one:
14237         * manual/libc.texinfo: In "Published by", give the FSF's URL,
14238         not its snail mail address.
14239
14240 2012-02-09  Richard Henderson  <rth@twiddle.net>
14241
14242         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
14243         of kernel-features.h.
14244
14245         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
14246
14247 2012-02-08  Marek Polacek  <polacek@redhat.com>
14248
14249         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
14250         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
14251         * sysdeps/gnu/_G_config.h: Likewise.
14252         * sysdeps/generic/_G_config.h: Likewise.
14253
14254 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
14255
14256         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
14257         tests.
14258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14259
14260         * sysdeps/powerpc/powerpc32/crti.S: New file.
14261         * sysdeps/powerpc/powerpc32/crtn.S: New file.
14262         * sysdeps/powerpc/powerpc64/crti.S: New file.
14263         * sysdeps/powerpc/powerpc64/crtn.S: New file.
14264
14265         * Makeconfig (have-initfini): Don't set.
14266         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
14267         * configure.in (nopic_initfini): Don't substitute.
14268         * config.h.in (HAVE_INITFINI): Don't #undef.
14269         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
14270         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
14271
14272 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
14273
14274         Support crti.S and crtn.S provided directly by architectures.
14275         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
14276         [crti.S in sysdirs] (omit-deps): Likewise.
14277         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
14278         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
14279         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
14280         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
14281         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
14282         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
14283         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
14284         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
14285         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
14286         compiler output for sysdeps/generic/initfini.c.
14287         * sysdeps/i386/elf/Makefile: Remove file.
14288         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
14289
14290 2012-02-07  Marek Polacek  <polacek@redhat.com>
14291
14292         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
14293         * sysdeps/gnu/_G_config.h: Likewise.
14294         * sysdeps/mach/hurd/_G_config.h: Likewise.
14295
14296 2012-02-07  Marek Polacek  <polacek@redhat.com>
14297
14298         * math/Makefile (tests): Add tst-CMPLX2.
14299         * math/tst-CMPLX2.c: New file.
14300
14301 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
14302
14303         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14304
14305         * math/libm-test.inc (jn_test): Add missing L suffix.
14306
14307 2012-02-06  Marek Polacek  <polacek@redhat.com>
14308
14309         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
14310         * sysdeps/i386/fpu/e_powf.S: Likewise.
14311         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14312         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
14313         * sysdeps/i386/fpu/e_acosh.S: Likewise.
14314         * sysdeps/i386/fpu/e_pow.S: Likewise.
14315         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14316         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14317         * sysdeps/i386/fpu/s_expm1.S: Likewise.
14318         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14319         * sysdeps/i386/fpu/e_log2.S: Likewise.
14320         * sysdeps/i386/fpu/e_log2l.S: Likewise.
14321         * sysdeps/i386/fpu/e_scalb.S: Likewise.
14322         * sysdeps/i386/fpu/e_powl.S: Likewise.
14323         * sysdeps/i386/fpu/s_log1p.S: Likewise.
14324         * sysdeps/i386/fpu/e_log10f.S: Likewise.
14325         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14326         * sysdeps/i386/fpu/e_logl.S: Likewise.
14327         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14328         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
14329         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14330         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14331         * sysdeps/i386/fpu/e_log2f.S: Likewise.
14332         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14333         * sysdeps/i386/fpu/e_log.S: Likewise.
14334         * sysdeps/i386/fpu/s_cexp.S: Likewise.
14335         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14336         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
14337         * sysdeps/i386/fpu/e_logf.S: Likewise.
14338         * sysdeps/i386/fpu/e_log10l.S: Likewise.
14339         * sysdeps/i386/fpu/e_atanh.S: Likewise.
14340         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
14341         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14342         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
14343         * sysdeps/i386/fpu/e_log10.S: Likewise.
14344         * sysdeps/i386/fpu/s_frexp.S: Likewise.
14345         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14346         * sysdeps/i386/fpu/s_asinh.S: Likewise.
14347         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14348         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14349         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14350         * sysdeps/i386/asm-syntax.h: Likewise.
14351         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14352         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14353         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14354         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
14355         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
14356         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14357         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14358         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14359         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14360         * sysdeps/powerpc/sysdep.h: Likewise.
14361         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
14362         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14363
14364 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
14365
14366         [BZ #411]
14367         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
14368
14369 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
14370
14371         * sysdeps/i386/sysdep.h: Include <features.h>.
14372         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
14373         version.
14374
14375 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
14376
14377         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
14378         Define.
14379         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
14380         LOAD_PIC_REG_STR.
14381
14382 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
14383
14384         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
14385         (SETUP_PIC_REG): Use GET_PC_THUNK.
14386         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
14387         macro.
14388
14389 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
14390
14391         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
14392         for non-PIC compilation.
14393         (SETUP_PIC_REG): Add .p2align directive.
14394         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
14395         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
14396         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14397         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14398         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14399         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14400         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
14401         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14402         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14403         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14404         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14405         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14406         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14407         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14408         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14409         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14410         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14411         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14412         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14413         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14414         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14415         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14416         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14417         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14418         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14419         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14420         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14421         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14422         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14423         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14424         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14425         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14426         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14427         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14428         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14429         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14430         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14431         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14432         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14433         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14434         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14435
14436 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
14437
14438         * math/tst-CMPLX.c: Include <stdio.h>.
14439
14440 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
14441
14442         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
14443         float.
14444         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
14445         * sysdeps/sparc/bits/mathdef.h: Likewise.
14446
14447 2012-01-31  Marek Polacek  <polacek@redhat.com>
14448
14449         * libio/libio.h: Don't define _PARAMS.
14450         * locale/programs/config.h: Don't define PARAMS.
14451         * stdlib/strtol_l.c: Likewise.
14452         (__strtol_l): Remove PARAMS from the prototype.
14453
14454 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
14455
14456         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
14457         names.  Just use the correct names.  Remove unnecessary wrapper
14458         functions.
14459         * malloc/arena.c: Likewise.
14460         * malloc/hooks.c: Likewise.
14461
14462         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
14463         ARENA_TEST says not to.  Simplify test for creation of a new arena.
14464         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
14465
14466 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
14467
14468         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
14469         into tail calls.
14470         (update_get_addr): New function.
14471         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
14472         GET_ADDR_MODULE parameter.
14473
14474 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
14475
14476         * crypt/cert.c: Remove __STDC__ conditionals.
14477         * crypt/crypt-entry.c: Likewise.
14478         * crypt/crypt_util.c: Likewise.
14479         * libio/filedoalloc.c: Likewise.
14480         * libio/fileops.c: Likewise.
14481         * libio/genops.c: Likewise.
14482         * libio/iofclose.c: Likewise.
14483         * libio/iofdopen.c: Likewise.
14484         * libio/iofopen.c: Likewise.
14485         * libio/iofopen64.c: Likewise.
14486         * libio/iogetdelim.c: Likewise.
14487         * libio/iopopen.c: Likewise.
14488         * libio/obprintf.c: Likewise.
14489         * libio/oldfileops.c: Likewise.
14490         * libio/oldiofclose.c: Likewise.
14491         * libio/oldiofdopen.c: Likewise.
14492         * libio/oldiofopen.c: Likewise.
14493         * libio/oldiopopen.c: Likewise.
14494         * libio/wfiledoalloc.c: Likewise.
14495         * libio/wgenops.c: Likewise.
14496         * locale/programs/xmalloc.c: Likewise.
14497         * misc/syslog.c: Likewise.
14498         * stdio-common/xbug.c: Likewise.
14499         * string/memchr.c: Likewise.
14500         * string/memcmp.c: Likewise.
14501         * string/memrchr.c: Likewise.
14502         * string/rawmemchr.c: Likewise.
14503         * sysdeps/posix/getcwd.c: Likewise.
14504         * time/strftime_l.c: Likewise.
14505
14506 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
14507
14508         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
14509         * config.make.in (config-cflags-sse2avx): Define.
14510         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
14511         Fix typo.
14512
14513 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
14514
14515         * scripts/config.guess: Update from upstream config git repository.
14516         * scripts/config.sub: Likewise.
14517
14518 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
14519
14520         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
14521         (EM_NUM): Update.
14522         (R_TILEPRO_*, R_TILEGX_*): New macros.
14523
14524         * scripts/firstversions.awk: Fix bug in version range handling.
14525
14526         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
14527
14528         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
14529
14530         * include/sys/epoll.h: New file.
14531         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
14532         libc_hidden_def.
14533
14534 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
14535
14536         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
14537         Avoid unnecessary __WORDSIZE == 64 test.
14538         (fmaxf): Use VEX format if possible.
14539         (fmax): Likewise.
14540         (fminf): Likewise.
14541         (fmin): Likewise.
14542
14543         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
14544         * math/math_private.h: Remove libc_fegetround* and
14545         libc_fesetround*.
14546         * sysdeps/i386/configure.in: Check for -msse2avx.
14547         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
14548         also if SSE2AVX is defined.
14549         Remove libc_fegetround* and libc_fesetround*.
14550         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
14551         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
14552         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
14553         of HAS_YMM_USABLE.
14554         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14555         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14556         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14557         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14558         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14559
14560         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
14561
14562 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14563
14564         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
14565         size is not set.
14566         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
14567
14568 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
14569
14570         [BZ #13618]
14571         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
14572         relocation.
14573         * Makeconfig (libm): Define.
14574         * elf/Makefile: Add rules to build and run tst-relsort1.
14575         * elf/tst-relsort1.c: New file.
14576         * elf/tst-relsort1mod1.c: New file.
14577         * elf/tst-relsort1mod2.c: New file.
14578
14579 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
14580
14581         * math/s_ldexp.c: Remove __STDC__ conditionals.
14582         * math/s_ldexpf.c: Likewise.
14583         * math/s_ldexpl.c: Likewise.
14584         * math/s_nextafter.c: Likewise.
14585         * math/s_nexttowardf.c: Likewise.
14586         * math/s_significand.c: Likewise.
14587         * math/s_significandf.c: Likewise.
14588         * math/s_significandl.c: Likewise.
14589         * math/w_jnl.c: Likewise.
14590         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
14591         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
14592         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14593         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14594         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14595         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14596         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
14597         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14598         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14599         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14600         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14601         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14602         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14603         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
14604         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14605         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14606         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14607         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14608         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14609         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14610         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14611         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14612         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14613         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14614         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14615         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14616         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14617         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14618         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
14619         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14620         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14621         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
14622         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14623         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
14624         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
14625         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14626         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14627         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14628         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
14629         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14630         * sysdeps/ieee754/k_standard.c: Likewise.
14631         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14632         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14633         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14634         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14635         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14636         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14637         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14638         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14639         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14640         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14641         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14642         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
14643         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14644         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14645         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14646         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14647         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14648         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14649         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14650         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14651         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14652         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14653         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14654         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14655         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14656         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
14657         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14658         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14659         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14660         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14661         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14662         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
14663         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
14664         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
14665         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14666         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
14667         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
14668         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
14669         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
14670         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
14671         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
14672         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
14673         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
14674         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
14675         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
14676         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14677         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14678         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14679         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14680         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
14681         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
14682         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14683         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14684         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
14685         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14686         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
14687         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
14688         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14689         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14690         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14691         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14692         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
14693         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
14694         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14695         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14696         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14697         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14698         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
14699         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
14700         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14701         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14702         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14703         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14704         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14705         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14706         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14707         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
14708         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14709         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
14710         * sysdeps/ieee754/s_matherr.c: Likewise.
14711         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
14712         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14713         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14714         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14715
14716 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
14717
14718         * crypt/md5.h: Remove __STDC__ conditionals.
14719         * libio/libioP.h: Likewise.
14720         * locale/programs/config.h: Likewise.
14721         * sysdeps/generic/sysdep.h: Likewise.
14722         * sysdeps/i386/asm-syntax.h: Likewise.
14723         * sysdeps/s390/asm-syntax.h: Likewise.
14724         * sysdeps/unix/sysdep.h: Likewise.
14725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
14726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14727
14728 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
14729
14730         * libio/libio.h: Remove __STDC__ conditionals.
14731         * malloc/obstack.h: Likewise.
14732         * math/complex.h: Likewise.
14733         * math/math.h: Likewise.
14734         * sysdeps/generic/_G_config.h: Likewise.
14735         * sysdeps/gnu/_G_config.h: Likewise.
14736         * sysdeps/mach/hurd/_G_config.h: Likewise.
14737         * sysdeps/powerpc/bits/mathdef.h: Likewise.
14738         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
14739         * sysdeps/sparc/bits/mathdef.h: Likewise.
14740
14741 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
14742
14743         [BZ #13583]
14744         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
14745         Clean up HAS_* macros.
14746         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
14747         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
14748         possible.
14749         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
14750         HAS_AVX.
14751         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14752         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14753         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14754         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14755         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14756
14757 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
14758
14759         * elf/tst-unique3.cc (gets): Remove declaration.
14760         * elf/tst-unique3lib.cc (gets): Likewise.
14761         * elf/tst-unique3lib2.cc (gets): Likewise.
14762         * elf/tst-unique4.cc (gets): Likewise.
14763
14764 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
14765
14766         * include/stdio.h: Add C++ protection.  Add gets declarations and
14767         definitions.
14768         * debug/tst-chk1.c: Don't declare gets here.
14769         * stdio-common/tst-gets.c: Likewise.
14770
14771 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
14772
14773         * posix/glob: Remove directory.
14774
14775 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
14776
14777         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
14778
14779 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
14780
14781         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
14782         of the non-standard EPFNOSUPPORT.
14783
14784 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14785
14786         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
14787         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
14788         ANYWHERE set to 1 only on KERN_NO_SPACE error.
14789
14790 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
14791
14792         * wcsmbs/uchar.h: Test __STDC_VERSION__.
14793
14794 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
14795
14796         * nscd/aicache.c (addhstaiX): Do not cache negative results of
14797         transient errors.
14798         * nscd/grpcache.c (cache_addgr): Likewise.
14799         * nscd/hstcache.c (cache_addhst): Likewise.
14800         * nscd/initgrcache.c (addinitgroupsX): Likewise.
14801         * nscd/pwdcache.c (cache_addpw): Likewise.
14802         * nscd/servicescache.c (cache_addserv): Likewise.
14803
14804 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
14805
14806         * malloc/malloc.c: Various cleanups.
14807         * malloc/hooks.c: Likewise.
14808
14809         * stdlib/Makefile (tests): Add bug-fmtmsg1.
14810         * stdlib/bug-fmtmsg1.c: New file.
14811
14812         * stdlib/fmtmsg.c (init): Add missing unlock.
14813         Patch by Peng Haitao <penght@cn.fujitsu.com>.
14814
14815 2012-01-12  Marek Polacek  <polacek@redhat.com>
14816
14817         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
14818         and _GNU_SOURCE.
14819
14820 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
14821
14822         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
14823         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
14824         macro to ensure uniqueness of label name.
14825         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
14826         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
14827
14828 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
14829
14830         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
14831
14832         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
14833         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
14834         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14835         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
14836
14837 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
14838
14839         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
14840
14841         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
14842         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
14843         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
14844
14845         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
14846
14847         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
14848         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
14849         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14850         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
14851
14852         * math/bits/math-finite.h: Add ldexp support.
14853
14854 2012-01-10  Marek Polacek  <polacek@redhat.com>
14855
14856         * locale/programs/localedef.h (show_archive_content): Add noreturn
14857         attribute.
14858
14859 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
14860
14861         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
14862
14863 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
14864
14865         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
14866
14867         * io/Makefile (headers): Add bits/poll2.h.
14868
14869 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
14870
14871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
14872         typo #include statement.
14873
14874 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
14875
14876         * include/sys/cdefs.h: Define __attribute_alloc_size.
14877         * catgets/gencat.c: Add alloc_size attribute and apply consistently
14878         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
14879         * elf/pldd.c: Likewise.
14880         * iconv/iconv_charmap.c: Likewise.
14881         * iconv/iconvconfig.c: Likewise.
14882         * iconv/strtab.c: Likewise.
14883         * locale/programs/locale.c: Likewise.
14884         * locale/programs/localedef.h: Likewise.
14885         * locale/programs/simple-hash.c: Likewise.
14886         * nscd/nscd.h: Likewise.
14887         * nss/makedb.c: Likewise.
14888         * sysdeps/generic/ldconfig.h: Likewise.
14889         * locale/programs/localedef.c: Remove xmalloc prototype.
14890         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
14891
14892 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
14893
14894         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
14895         appropriate.
14896
14897 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
14898
14899         * math/Makefile (tests): Add tst-CMPLX.
14900         * math/tst-CMPLX.c: New file.
14901
14902         * math/complex.h (CMPLXL): Fix typo.
14903
14904         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
14905         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
14906         GLIBC_2.16.
14907         * debug/tst-chk1.c: Add poll and ppoll tests.
14908         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
14909         * include/sys/poll.h: Add hidden proto for ppoll.
14910         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
14911         * sysdeps/mach/hurd/ppoll.c: Likewise.
14912         * io/ppoll.c: Likewise.
14913         * debug/poll_chk.c: New file.
14914         * debug/ppoll_chk.c: New file.
14915         * include/bits/poll2.h: New file.
14916         * io/bits/poll2.h: New file.
14917
14918         [BZ #1350]
14919         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
14920
14921         * configure.in: static is always set to yes.  Remove.
14922         * config.make.in: Don't set build-static.
14923         * Makeconfig: Remove use of build-static.
14924         * dlfcn/Makefile: Likewise.
14925         * elf/Makefile: Likewise.
14926         * math/Makefile: Likewise.
14927         * misc/Makefile: Likewise.
14928         * nptl/Makefile: Likewise.
14929         * sysdeps/mach/hurd/Makefile: Likewise.
14930
14931         * configure.in: PWD_P is not used anymore.
14932         * config.make.in: Remove PWD_P entry.
14933
14934         * configure.in: Remove last remnants of RANLIB.
14935         No need to check for signed size_t anymore.
14936         Don't set libc_commonpagesize and libc_relro_required here for Alpha
14937         and IA-64.
14938         Remove __builtin_expect test because we require at least gcc 3.4.
14939         * aclocal.m4: Likewise.
14940
14941         * wcsmbs/mbrtoc16.c: Implement using towc function.
14942         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
14943         * wcsmbs/wcsmbsload.c: Likewise.
14944         * iconv/gconv_simple.c: Likewise.
14945         * iconv/gconv_int.h: Likewise.
14946         * iconv/gconv_builtin.h: Likewise.
14947         * iconv/iconv_prog.c: Remove CHAR16 handling.
14948
14949         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
14950
14951         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
14952
14953         * configure.in: Remove --with-elf and --enable-bounded options.
14954         Dont set base_machine for ia64.  More non-ELF conditions removed.
14955         Remove testing and setting of leading underscore information.
14956         * config.make.in (build-bounded): Set to no.
14957         * config.h.in: Remove NO_UNDERSCORES entry.
14958         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
14959         them.
14960         * csu/start.c: Remove !NO_UNDERSCORE code.
14961         * locale/localeinfo.h: Likewise.
14962         * sysdeps/generic/machine-gmon.h: Likewise.
14963         * sysdeps/generic/sysdep.h: Likewise.
14964         * sysdeps/i386/sysdep.h: Likewise.
14965         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
14966         * sysdeps/mach/sysdep.h: Likewise.
14967         * sysdeps/s390/s390-32/sysdep.h: Likewise.
14968         * sysdeps/s390/s390-64/sysdep.h: Likewise.
14969         * sysdeps/sh/sysdep.h: Likewise.
14970         * sysdeps/sparc/sparc32/alloca.S: Likewise.
14971         * sysdeps/unix/i386/sysdep.S: Likewise.
14972         * sysdeps/unix/sparc/start.c: Likewise.
14973         * sysdeps/unix/sparc/sysdep.S: Likewise.
14974         * sysdeps/unix/sparc/sysdep.h: Likewise.
14975         * sysdeps/unix/start.c: Likewise.
14976         * sysdeps/unix/x86_64/sysdep.S: Likewise.
14977         * sysdeps/x86_64/sysdep.h: Likewise.
14978
14979 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
14980
14981         [BZ #13553]
14982         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
14983         for non-gcc.
14984         * argp/argp-fmtstream.h: Use const instead __const.
14985         * argp/argp.h: Likewise.
14986         * assert/assert.h: Likewise.
14987         * bits/fenv.h: Likewise.
14988         * bits/sched.h: Likewise.
14989         * bits/sigset.h: Likewise.
14990         * bits/sigthread.h: Likewise.
14991         * catgets/nl_types.h: Likewise.
14992         * conform/data/pthread.h-data: Likewise.
14993         * crypt/crypt-private.h: Likewise.
14994         * crypt/crypt.h: Likewise.
14995         * crypt/crypt_util.c: Likewise.
14996         * ctype/ctype.h: Likewise.
14997         * debug/execinfo.h: Likewise.
14998         * debug/mbsnrtowcs_chk.c: Likewise.
14999         * debug/mbsrtowcs_chk.c: Likewise.
15000         * debug/wcsnrtombs_chk.c: Likewise.
15001         * debug/wcsrtombs_chk.c: Likewise.
15002         * debug/wcstombs_chk.c: Likewise.
15003         * dirent/dirent.h: Likewise.
15004         * dlfcn/dlfcn.h: Likewise.
15005         * elf/neededtest4.c: Likewise.
15006         * grp/grp.h: Likewise.
15007         * gshadow/gshadow.h: Likewise.
15008         * iconv/gconv.h: Likewise.
15009         * iconv/gconv_int.h: Likewise.
15010         * iconv/gconv_simple.c: Likewise.
15011         * iconv/iconv.h: Likewise.
15012         * iconv/loop.c: Likewise.
15013         * iconv/skeleton.c: Likewise.
15014         * include/aio.h: Likewise.
15015         * include/aliases.h: Likewise.
15016         * include/argz.h: Likewise.
15017         * include/arpa/inet.h: Likewise.
15018         * include/assert.h: Likewise.
15019         * include/dirent.h: Likewise.
15020         * include/dlfcn.h: Likewise.
15021         * include/execinfo.h: Likewise.
15022         * include/fcntl.h: Likewise.
15023         * include/fenv.h: Likewise.
15024         * include/glob.h: Likewise.
15025         * include/grp.h: Likewise.
15026         * include/libintl.h: Likewise.
15027         * include/mntent.h: Likewise.
15028         * include/netdb.h: Likewise.
15029         * include/pwd.h: Likewise.
15030         * include/rpc/netdb.h: Likewise.
15031         * include/sched.h: Likewise.
15032         * include/search.h: Likewise.
15033         * include/shadow.h: Likewise.
15034         * include/signal.h: Likewise.
15035         * include/stdio.h: Likewise.
15036         * include/stdlib.h: Likewise.
15037         * include/string.h: Likewise.
15038         * include/sys/socket.h: Likewise.
15039         * include/sys/stat.h: Likewise.
15040         * include/sys/statfs.h: Likewise.
15041         * include/sys/statvfs.h: Likewise.
15042         * include/sys/syslog.h: Likewise.
15043         * include/sys/time.h: Likewise.
15044         * include/sys/uio.h: Likewise.
15045         * include/time.h: Likewise.
15046         * include/unistd.h: Likewise.
15047         * include/utmp.h: Likewise.
15048         * include/wchar.h: Likewise.
15049         * include/wctype.h: Likewise.
15050         * inet/aliases.h: Likewise.
15051         * inet/arpa/inet.h: Likewise.
15052         * inet/netinet/ether.h: Likewise.
15053         * inet/netinet/in.h: Likewise.
15054         * intl/libintl.h: Likewise.
15055         * io/bits/fcntl2.h: Likewise.
15056         * io/fcntl.h: Likewise.
15057         * io/ftw.h: Likewise.
15058         * io/sys/poll.h: Likewise.
15059         * io/sys/stat.h: Likewise.
15060         * io/sys/statfs.h: Likewise.
15061         * io/sys/statvfs.h: Likewise.
15062         * io/utime.h: Likewise.
15063         * libio/bits/stdio.h: Likewise.
15064         * libio/bits/stdio2.h: Likewise.
15065         * libio/libio.h: Likewise.
15066         * libio/libioP.h: Likewise.
15067         * libio/stdio.h: Likewise.
15068         * locale/lc-ctype.c: Likewise.
15069         * locale/locale.h: Likewise.
15070         * login/utmp.h: Likewise.
15071         * malloc/arena.c: Likewise.
15072         * malloc/malloc.c: Likewise.
15073         * malloc/malloc.h: Likewise.
15074         * malloc/mcheck.c: Likewise.
15075         * malloc/mtrace.c: Likewise.
15076         * math/bits/mathcalls.h: Likewise.
15077         * math/fenv.h: Likewise.
15078         * math/math_private.h: Likewise.
15079         * misc/bits/error.h: Likewise.
15080         * misc/bits/syslog.h: Likewise.
15081         * misc/err.h: Likewise.
15082         * misc/error.h: Likewise.
15083         * misc/fstab.h: Likewise.
15084         * misc/mntent.h: Likewise.
15085         * misc/regexp.h: Likewise.
15086         * misc/search.h: Likewise.
15087         * misc/sgtty.h: Likewise.
15088         * misc/sys/mman.h: Likewise.
15089         * misc/sys/syslog.h: Likewise.
15090         * misc/sys/uio.h: Likewise.
15091         * misc/sys/xattr.h: Likewise.
15092         * misc/ttyent.h: Likewise.
15093         * nis/rpcsvc/ypclnt.h: Likewise.
15094         * nss/nss.h: Likewise.
15095         * posix/bits/unistd.h: Likewise.
15096         * posix/fnmatch.h: Likewise.
15097         * posix/glob.h: Likewise.
15098         * posix/sched.h: Likewise.
15099         * posix/spawn.h: Likewise.
15100         * posix/sys/wait.h: Likewise.
15101         * posix/unistd.h: Likewise.
15102         * posix/wordexp.h: Likewise.
15103         * pwd/pwd.h: Likewise.
15104         * resolv/netdb.h: Likewise.
15105         * resource/sys/resource.h: Likewise.
15106         * rt/aio.h: Likewise.
15107         * rt/bits/mqueue2.h: Likewise.
15108         * rt/mqueue.h: Likewise.
15109         * shadow/shadow.h: Likewise.
15110         * signal/signal.h: Likewise.
15111         * socket/send.c: Likewise.
15112         * socket/sendto.c: Likewise.
15113         * socket/sys/socket.h: Likewise.
15114         * stdio-common/printf.h: Likewise.
15115         * stdlib/bits/stdlib.h: Likewise.
15116         * stdlib/fmtmsg.h: Likewise.
15117         * stdlib/monetary.h: Likewise.
15118         * stdlib/stdlib.h: Likewise.
15119         * stdlib/ucontext.h: Likewise.
15120         * streams/stropts.h: Likewise.
15121         * string/argz.h: Likewise.
15122         * string/bits/string2.h: Likewise.
15123         * string/string.h: Likewise.
15124         * string/strings.h: Likewise.
15125         * sunrpc/rpc/auth.h: Likewise.
15126         * sunrpc/rpc/auth_des.h: Likewise.
15127         * sunrpc/rpc/clnt.h: Likewise.
15128         * sunrpc/rpc/netdb.h: Likewise.
15129         * sunrpc/rpc/pmap_clnt.h: Likewise.
15130         * sunrpc/rpc/xdr.h: Likewise.
15131         * sysdeps/generic/inttypes.h: Likewise.
15132         * sysdeps/generic/net/if.h: Likewise.
15133         * sysdeps/generic/sys/swap.h: Likewise.
15134         * sysdeps/gnu/net/if.h: Likewise.
15135         * sysdeps/gnu/utmpx.h: Likewise.
15136         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
15137         * sysdeps/i386/i486/bits/string.h: Likewise.
15138         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
15139         * sysdeps/s390/bits/string.h: Likewise.
15140         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
15141         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
15142         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
15143         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
15144         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
15145         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
15146         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
15147         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
15148         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
15149         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
15150         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
15151         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15152         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
15153         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15154         * sysdeps/unix/sysv/linux/readv.c: Likewise.
15155         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
15156         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15157         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15158         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15159         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15160         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
15161         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
15162         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
15163         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
15164         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
15165         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
15166         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
15167         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15168         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
15169         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
15170         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
15171         * sysvipc/sys/ipc.h: Likewise.
15172         * sysvipc/sys/msg.h: Likewise.
15173         * sysvipc/sys/sem.h: Likewise.
15174         * sysvipc/sys/shm.h: Likewise.
15175         * termios/termios.h: Likewise.
15176         * time/sys/time.h: Likewise.
15177         * time/time.h: Likewise.
15178         * wcsmbs/bits/wchar2.h: Likewise.
15179         * wcsmbs/uchar.h: Likewise.
15180         * wcsmbs/wchar.h: Likewise.
15181         * wctype/wctype.h: Likewise.
15182
15183         [BZ #13551]
15184         * Makeconfig: Remove all but ELF support including AIX support.
15185         * Makerules: Likewise.
15186         * config.h.in: Likewise.
15187         * config.make.in: Likewise.
15188         * configure: Likewise.
15189         * configure.in: Likewise.
15190         * csu/Makefile: Likewise.
15191         * csu/version.c: Likewise.
15192         * debug/Makefile: Likewise.
15193         * dlfcn/Makefile: Likewise.
15194         * elf/Makefile: Likewise.
15195         * extra-lib.mk: Likewise.
15196         * iconv/Makefile: Likewise.
15197         * include/libc-symbols.h: Likewise.
15198         * include/shlib-compat.h: Likewise.
15199         * resolv/Makefile: Likewise.
15200         * resolv/res_libc.c: Likewise.
15201         * rt/Makefile: Likewise.
15202         * sysdeps/i386/asm-syntax.h: Likewise.
15203         * sysdeps/i386/sysdep.h: Likewise.
15204         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15205         * sysdeps/mach/sysdep.h: Likewise.
15206         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
15207         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
15208         * sysdeps/s390/asm-syntax.h: Likewise.
15209         * sysdeps/s390/s390-32/sysdep.h: Likewise.
15210         * sysdeps/s390/s390-64/sysdep.h: Likewise.
15211         * sysdeps/sh/sysdep.h: Likewise.
15212         * sysdeps/unix/sparc/sysdep.h: Likewise.
15213         * sysdeps/wordsize-32/divdi3.c: Likewise.
15214         * sysdeps/x86_64/sysdep.h: Likewise.
15215
15216         * argp/Versions: Remove _argp_unlock_xxx.
15217
15218         [BZ #13559]
15219         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
15220         * abilist/libBrokenLocale.abilist: Likewise.
15221         * abilist/libanl.abilist: Likewise.
15222         * abilist/libc.abilist: Likewise.
15223         * abilist/libcrypt.abilist: Likewise.
15224         * abilist/libdl.abilist: Likewise.
15225         * abilist/libm.abilist: Likewise.
15226         * abilist/libnsl.abilist: Likewise.
15227         * abilist/libpthread.abilist: Likewise.
15228         * abilist/libresolv.abilist: Likewise.
15229         * abilist/librt.abilist: Likewise.
15230         * abilist/libthread_db.abilist: Likewise.
15231         * abilist/libutil.abilist: Likewise.
15232         * abilist/libnss_db.abilist: New file.
15233
15234         * scripts/abilist.awk: Add support for indirect functions.
15235
15236         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
15237
15238         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
15239
15240         * shlib-versions: Remove entries for ports architectures.
15241
15242         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
15243         files in ports.
15244         * elf/stackguard-macros.h: Remove support for IA-64.
15245         * elf/tst-auditmod1.c: Likewise.
15246         * sysdeps/generic/ldsodefs.h: Likewise.
15247
15248         * sysdeps/unix/sysv/linux/configure.in: Ports should define
15249         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
15250         configure files.
15251
15252         [BZ #13552]
15253         * configure.in: Remove --enable-omitfp support.
15254         * FAQ.in: Adjust.
15255         * config.make.in: Likewise.
15256         * Makeconfig: Likewise.
15257         * manual/install.texi: Likewise.
15258
15259         In case anyone cares, the IA-64 architecture could move to ports.
15260         * sysdeps/ia64/*: Removed.
15261         * sysdeps/unix/sysv/linux/ia64/*: Removed.
15262         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
15263
15264         [BZ #13555]
15265         * configure.in: Remove entries for unsupported architectures.
15266
15267         [BZ #13533]
15268         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
15269         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
15270         routines.
15271         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
15272         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
15273         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
15274         fall back to using wcrtomb.
15275         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
15276         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
15277         renaming.
15278         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
15279         * wcsmbs/tst-c16c32-1.c: New file.
15280
15281         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
15282         local variable.
15283
15284         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
15285
15286         * elf/tst-unique3.cc: Add explicit declaration of gets.
15287         * elf/tst-unique3lib.cc: Likewise.
15288         * elf/tst-unique3lib2.cc: Likewise.
15289         * elf/tst-unique4.cc: Likewise.
15290
15291         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
15292
15293 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
15294
15295         [BZ #13566]
15296         * assert/assert.h (static_assert): Don't define for C++.
15297         * libio/stdio.h (gets): Do declare for C++ <= C++11.
15298         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
15299
15300 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
15301
15302         * iconv/loop.c (single loop): Fix assertion in storing of
15303         remaining bytes.
15304
15305         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
15306
15307 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
15308
15309         * posix/getconf.c: Update copyright year.
15310         * nss/getent.c: Likewise.
15311         * nss/makedb.c: Likewise.
15312         * iconv/iconvconfig.c: Likewise.
15313         * iconv/iconv_prog.c: Likewise.
15314         * elf/ldconfig.c: Likewise.
15315         * elf/pldd.c: Likewise.
15316         * elf/sotruss.ksh: Likewise.
15317         * catgets/gencat.c: Likewise.
15318         * csu/version.c: Likewise.
15319         * elf/ldd.bash.in: Likewise.
15320         * elf/sprof.c (print_version): Likewise.
15321         * locale/programs/locale.c: Likewise.
15322         * locale/programs/localedef.c: Likewise.
15323         * login/programs/pt_chown.c: Likewise.
15324         * nscd/nscd.c (print_version): Likewise.
15325         * debug/xtrace.sh: Likewise.
15326         * malloc/memusage.sh: Likewise.
15327         * malloc/mtrace.pl: Likewise.
15328         * debug/catchsegv.sh: Likewise.
15329
15330 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
15331
15332         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
15333         pure attribute.
15334
15335 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
15336
15337         [BZ #13533]
15338         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
15339         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
15340         transformations.
15341         * iconv/gconv_int.h: Likewise.
15342         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
15343         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
15344         from libc for GLIBC_2.16.
15345         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
15346         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
15347         * wcsmbs/uchar.h: Really define mbstate_t.
15348         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
15349         * wcsmbs/c16rtomb.c: New file.
15350         * wcsmbs/mbrtoc16.c: New file.
15351         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
15352         for C/POSIX locale.
15353         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
15354         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
15355
15356         * wcsmbs/wchar.h: Add missing __restrict.
15357
15358 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
15359
15360         [BZ #13532]
15361         * time/Makefile (routines): Add timespec_get.
15362         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
15363         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
15364         timespec for ISO C11.
15365         * time/timespec_get.c: New file.
15366         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
15367         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
15368
15369         [BZ #13531]
15370         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
15371         * stdlib/stdlib.h: Declare aligned_alloc.
15372         * Versions.def: Add GLIBC_2.16 for libc.
15373         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
15374
15375         [BZ 13527]
15376         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
15377         ISO C11.
15378
15379         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
15380         code.
15381
15382         [BZ #13528]
15383         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
15384
15385         [BZ #13529]
15386         * assert/assert.h (static_assert): Define.
15387
15388         * version.h: Update for 2.16 development version.
15389
15390         [BZ #13526]
15391         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
15392         _ISOC11_SOURCE.
15393
15394         * version.h (RELEASE): Bump for 2.15 release.
15395         * include/features.h (__GLIBC_MINOR__): Bump to 15.
15396
15397         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
15398         Patch by Marek Polacek <mpolacek@redhat.com>.
15399
15400         * bits/byteswap.h: Protect long long constants with __extension__.
15401         * sysdeps/i386/bits/byteswap.h: Likewise.
15402         * sysdeps/ia64/bits/byteswap.h: Likewise.
15403         * sysdeps/s390/bits/byteswap.h: Likewise.
15404         * sysdeps/x86_64/bits/byteswap.h: Likewise.
15405
15406 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15407
15408         [BZ #13540]
15409         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
15410         destination buffer.
15411         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
15412
15413 2011-12-23  Marek Polacek  <polacek@redhat.com>
15414
15415         * elf/dl-addr.c (determine_info): Add inline keyword.
15416         * elf/tst-auditmod4b.c (check_avx): Likewise.
15417         * elf/tst-auditmod6b.c (check_avx): Likewise.
15418         * elf/tst-auditmod6c.c (check_avx): Likewise.
15419         * elf/tst-auditmod7b.c (check_avx): Likewise.
15420
15421 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
15422
15423         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
15424         !__SSE_MATH__.
15425
15426 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15427
15428         [BZ #13540]
15429         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
15430         processing for last bytes.
15431
15432 2011-08-06  Bruno Haible  <bruno@clisp.org>
15433
15434         [BZ #13061]
15435         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
15436         U+0385, not to U+1FEE.
15437
15438         [BZ #13062]
15439         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
15440         entry for U+00A5 U+0301.
15441
15442 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
15443
15444         [BZ #13166]
15445         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
15446         buffer for the output is too small.
15447
15448         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
15449         optimization.
15450
15451         [BZ #13185]
15452         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
15453         SSE flags if possible.
15454
15455 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15456
15457         [BZ #13540]
15458         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
15459         processing for last bytes.
15460
15461 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
15462
15463         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
15464         (syscall-list-default-options, syscall-list-default-condition)
15465         (syscall-list-includes): Define.
15466         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
15467         list of ABIs and options and #if conditions for each ABI.  Do not
15468         handle common syscalls between ABIs specially.
15469         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
15470         Remove.
15471         (syscall-list-variants, syscall-list-32bit-options)
15472         (syscall-list-32bit-condition, syscall-list-64bit-options)
15473         (syscall-list-64bit-condition): Define.
15474         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
15475         (syscall-list-variants, syscall-list-32bit-options)
15476         (syscall-list-32bit-condition, syscall-list-64bit-options)
15477         (syscall-list-64bit-condition): Define.
15478         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
15479         Remove.
15480         (syscall-list-variants, syscall-list-32bit-options)
15481         (syscall-list-32bit-condition, syscall-list-64bit-options)
15482         (syscall-list-64bit-condition): Define.
15483         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
15484         Remove.
15485         (syscall-list-variants, syscall-list-32bit-options)
15486         (syscall-list-32bit-condition, syscall-list-64bit-options)
15487         (syscall-list-64bit-condition): Define.
15488
15489 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
15490
15491         * locale/iso-639.def: Add brx entry.
15492
15493         [BZ #13328]
15494         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
15495         Proposed by Mariusz_Cukr <marcukr@op.pl>.
15496
15497         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
15498         __feraiseexcept_renamed.
15499
15500 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
15501
15502         [BZ #13538]
15503         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
15504         EPOLLET with unsigned values.
15505         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15506         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
15507
15508         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
15509         to large cancellation.
15510         * math/s_cacoshf.c: Likewise.
15511         * math/s_cacoshl.c: Likewise.
15512
15513 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
15514
15515         [BZ #13305]
15516         [BZ #12786]
15517         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
15518         * math/s_cacoshf.c: Likewise.
15519         * math/s_cacoshl.c: Likewise.
15520
15521 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
15522
15523         [BZ #13439]
15524         * iconv/gconv.h: Define __GCONV_SWAP.
15525         * iconvdata/unicode.c: The swap bit must be stored in __flags.
15526         * iconvdata/utf-16.c: Likewise.
15527         * iconvdata/utf-32.c: Likewise.
15528
15529 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
15530
15531         [BZ #13524]
15532         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
15533         numerator after shifting it by one limb.
15534
15535 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
15536
15537         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
15538         under [__USE_EXTERN_INLINES].
15539
15540 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
15541
15542         [BZ #13446]
15543         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
15544
15545 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15546
15547         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
15548         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
15549         optimized code.
15550         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
15551         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
15552         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
15553         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
15554         for strncasecmp/strncasecmp_l compilation.
15555         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
15556         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
15557
15558 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
15559
15560         [BZ #13484]
15561         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
15562         of __asm__.
15563
15564 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
15565
15566         [BZ #13506]
15567         * time/tzfile.c (__tzfile_read): Check values from file header.
15568
15569 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
15570
15571         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
15572         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
15573         * powerpc/powerpc32/dl-start.S: Likewise.
15574         * powerpc/powerpc32/elf/start.S: Likewise.
15575         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
15576         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
15577         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
15578         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
15579         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15580         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
15581         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
15582         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15583         * powerpc/powerpc32/fpu/s_round.S: Likewise.
15584         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15585         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15586         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15587         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
15588         * powerpc/powerpc32/memset.S: Likewise.
15589         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15590         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15591         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15592         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15593         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15594         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15595         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15596         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15597         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
15598         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
15599         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
15600         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15601         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15602
15603 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15604
15605         * math/libm-test.inc: Added more nearbyint tests.
15606         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
15607         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
15608         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
15609         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
15610
15611 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
15612
15613         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
15614         FD_CLOEXEC.
15615
15616 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15617
15618         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
15619         Add wcscpy-ssse3 wcscpy-c.
15620         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
15621         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
15622         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
15623         * sysdeps/x86_64/wcschr.S: New file.
15624         * sysdeps/x86_64/wcsrchr.S: New file.
15625         * string/test-strcmp.c: Remove checking of wcscmp function for
15626         wrong alignments.
15627         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
15628         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
15629         wcsrchr-sse2 wcsrchr-c.
15630         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
15631         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
15632         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
15633         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
15634         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
15635         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
15636         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
15637         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
15638         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
15639         * wcsmbc/wcschr.c (WCSCHR): New macro.
15640
15641 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15642
15643         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
15644         * wcsmbs/test-wcsrchr.c: New file.
15645         * string/test-strrchr.c: Add wcsrchr support.
15646         (WIDE): New macro.
15647         * wcsmbs/test-wcscpy.c: New file.
15648         * string/test-strcpy.c: Add wcscpy support.
15649         (WIDE): New macro.
15650
15651 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
15652
15653         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
15654         the inner loop.
15655
15656 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
15657
15658         [BZ #13472]
15659         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
15660
15661 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
15662
15663         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
15664         Minor optimizations.
15665
15666         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
15667         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
15668         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
15669
15670 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
15671
15672         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
15673         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
15674         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
15675         for gcc to avoid warnings.
15676         * inet/Makefile (tests): Add tst-checks.
15677         * inet/tst-checks.c: New file.
15678
15679         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
15680         warning.
15681
15682         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
15683         __wmemcmp_sse2.
15684
15685         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
15686         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
15687
15688         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
15689
15690 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
15691
15692         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
15693         problem.
15694
15695         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
15696
15697 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
15698
15699         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
15700         conditional on GCC version.
15701         (__arch_compare_and_exchange_val_8_acq)
15702         (__arch_compare_and_exchange_val_16_acq)
15703         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
15704         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
15705         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
15706
15707 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
15708
15709         * sysdeps/sh/backtrace.c: New file.
15710
15711 2011-12-02  Andreas Schwab  <schwab@redhat.com>
15712
15713         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
15714         parenthesis.
15715
15716 2011-12-01  Andreas Schwab  <schwab@redhat.com>
15717
15718         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
15719         falling back to utime.
15720
15721 2011-11-30  Andreas Schwab  <schwab@redhat.com>
15722
15723         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
15724         expectations for float.
15725
15726 2011-11-29  Andreas Schwab  <schwab@redhat.com>
15727
15728         * locale/weight.h (findidx): Add parameter len.
15729         * locale/weightwc.h (findidx): Likewise.
15730         * posix/fnmatch_loop.c (FCT): Adjust caller.
15731         * posix/regcomp.c (build_equiv_class): Likewise.
15732         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
15733         * posix/regexec.c (check_node_accept_bytes): Likewise.
15734         * string/strcoll_l.c (STRCOLL): Likewise.
15735         * string/strxfrm_l.c (STRXFRM): Likewise.
15736
15737 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
15738
15739         * Makefile.in: Remove CVSOPT handling.
15740         * configure.in: Remove use of AC_REVISION.
15741         * iconvdata/Makefile (distribute): No need to filter out CVS.
15742         * scripts/list-sources.sh: Remove CVS, subversion and monotone
15743         handling.
15744
15745 2011-11-16  Andreas Schwab  <schwab@redhat.com>
15746
15747         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
15748         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
15749         [USE_AS_STRNCASECMP_L]: Likewise.
15750         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
15751         NO_TLS_DIRECT_SEG_REFS.
15752         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
15753         Fix argument offsets for non-PIC.
15754         [USE_AS_STRNCASECMP_L]: Likewise.
15755         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
15756         NO_TLS_DIRECT_SEG_REFS.
15757
15758 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
15759
15760         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
15761         O_CLOEXEC.
15762         * locale/loadlocale.c (_nl_load_locale): Likewise.
15763
15764 2011-11-15  Andreas Schwab  <schwab@redhat.com>
15765
15766         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
15767         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
15768         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
15769         (SYSCALL_GETTIME): Set errno on error.
15770
15771         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
15772         count references to noai6ai_cached.
15773
15774 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
15775
15776         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
15777
15778         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
15779         FD_CLOEXEC for /proc/self/maps.
15780
15781         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
15782         FD_CLOEXEC for /proc/meminfo.
15783
15784         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
15785         gai.conf.
15786
15787         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
15788         FD_CLOEXEC for given file.
15789
15790         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
15791
15792         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
15793         FD_CLOEXEC for /etc/hosts.
15794         (_gethtent): Likewise.
15795
15796         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
15797
15798         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
15799         cancellation and set FD_CLOEXEC for /etc/netgroup.
15800
15801         * nss/nss_files/files-key.c (search): Don't allow cancellation when
15802         reading /etc/publickey.
15803
15804         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
15805         allow cancellation when reading /etc/group.
15806
15807         * nss/nss_files/files-alias.c (internal_setent): Don't allow
15808         cancellation.
15809         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
15810
15811         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
15812         when using data file.
15813
15814         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
15815
15816         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
15817         (write_nis_obj): Use "c" and "e" in fopen.
15818
15819         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
15820
15821         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
15822
15823         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
15824
15825         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
15826
15827         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
15828         locale.alias.
15829
15830         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
15831
15832         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
15833
15834         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
15835
15836         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
15837         file parsing and set FD_CLOEXEC.
15838
15839 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
15840
15841         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
15842
15843 2011-11-14  Andreas Schwab  <schwab@redhat.com>
15844
15845         * malloc/arena.c (arena_get2): Don't call reused_arena when
15846         _int_new_arena failed.
15847
15848 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
15849
15850         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
15851         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
15852         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
15853         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15854         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15855         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
15856         to compile strcasecmp and strncasecmp.
15857         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
15858         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
15859
15860         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
15861
15862 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
15863
15864         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
15865         locale-defines.sym to gen-as-const-headers.
15866         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
15867         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
15868         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
15869         to compile strcasecmp and strncasecmp.
15870         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
15871         strcasecmp_l and strncasecmp_l.
15872         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
15873         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
15874         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
15875         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
15876         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
15877         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
15878         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
15879         * sysdeps/i386/i686/multiarch/strncase.S: New file.
15880         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
15881         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
15882         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
15883
15884 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
15885
15886         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
15887         result of SYSDEP_GETTIME_CPU to retval.
15888         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
15889         parameter list to macro.  Remove trailing semicolon.  Adjust users.
15890
15891         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
15892         variable.
15893
15894         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
15895         mantissa words.
15896         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
15897
15898         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
15899         from unused variable.
15900
15901         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
15902         DWARF definitions.
15903         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
15904         for assembling.
15905
15906         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
15907         over namespaces.
15908
15909         * sunrpc/rpc_prot.c (rejected): Fix case value.
15910
15911         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
15912         unsigned long long int to avoid warnings in shift.
15913
15914         * posix/regex_internal.c (re_string_reconstruct): Actually use result
15915         of use of trans.
15916         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
15917         variable tmp.
15918
15919         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
15920         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
15921         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
15922
15923         * nis/nis_table.c (nis_list): Use variable of correct type for
15924         result of __follow_path call.
15925
15926 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15927
15928         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
15929         of math functions ceil, trunc, floor, round, and sqrt, when
15930         avaliable on the platform.
15931         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
15932         name clash.
15933         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15934         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
15935         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
15936
15937 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
15938
15939         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
15940         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
15941
15942 2011-11-11  Roland McGrath  <roland@hack.frob.com>
15943
15944         * include/unistd.h: Fix __readlink return type.
15945         Reported by Chris Metcalf <cmetcalf@tilera.com>.
15946
15947 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
15948
15949         * stdlib/ucontext.h: Undo last change for makecontext.
15950
15951 2011-11-11  Andreas Schwab  <schwab@redhat.com>
15952
15953         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
15954
15955         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
15956         * setjmp/setjmp.h: Mark functions as non-leaf.
15957         * setjmp/bits/setjmp2.h: Likewise.
15958         * stdlib/ucontext.h: Likewise.
15959
15960 2011-11-10  Andreas Schwab  <schwab@redhat.com>
15961
15962         * malloc/arena.c (_int_new_arena): Don't increment narenas.
15963         (reused_arena): Don't check arena limit.
15964         (arena_get2): Atomically check arena limit.
15965
15966 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
15967
15968         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
15969         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
15970
15971         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
15972         instructions.
15973
15974 2011-11-07  Andreas Schwab  <schwab@redhat.com>
15975
15976         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
15977         handler when locking.
15978
15979         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15980         Fix size of allocated buffer.
15981
15982 2011-11-04  Andreas Schwab  <schwab@redhat.com>
15983
15984         [BZ #10103]
15985         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
15986         declarations for long double functions.
15987         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
15988
15989         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
15990
15991 2011-11-03  Andreas Schwab  <schwab@redhat.com>
15992
15993         * nscd/nscd.c (main): Don't start AVC thread until credentials are
15994         installed.
15995
15996         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
15997         is disabled.
15998
15999 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16000
16001         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
16002
16003 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
16004
16005         * include/alloca.h (stackinfo_alloca_round): Define.
16006         (extend_alloca): Use it.
16007         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
16008         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
16009         here.
16010
16011         * scripts/check-local-headers.sh: Ignore libaudit.h.
16012
16013         * nscd/Makefile (extra-objs): Make recursively expanded.
16014
16015 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
16016
16017         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
16018         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16019
16020         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
16021         * posix/tst-rfc3484-2.c: Likewise.
16022         * posix/tst-rfc3484-3.c: Likewise.
16023
16024         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
16025         process_vm_writev.
16026         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
16027         process_vm_writev.
16028         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
16029         process_vm_writev from libc using GLIBC_2.15 version.
16030
16031         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
16032
16033 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
16034
16035         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
16036         stack usage.
16037
16038 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
16039
16040         [BZ #13367]
16041         * nss/getent.c (initgroups_keys): Show error message in case no group
16042         names are given.
16043
16044         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
16045         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
16046         __bump_nl_timestamp.
16047         * nscd/connections (nscd_init): When host database is served open
16048         netlink socket and request notification about configuration changes.
16049         (main_loop_poll): Track netlink file descriptor and bump timestamp
16050         in case data becomes available.
16051         (main_loop_epoll): Likewise.
16052         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
16053         (database_pers_head): Add extra_data fileds.
16054         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
16055         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
16056         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
16057         Adjust caller.
16058         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
16059         in6ai data, call __free_in6ai.
16060         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
16061         Add -DHAVE_NETLINK.
16062         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
16063         interface information.  Reuse previous data if netlink timestamp
16064         is not changed.
16065         (__bump_nl_timestamp): New function.
16066         (__free_in6ai): New function.
16067
16068 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
16069
16070         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
16071         close_not_cancel_no_status here.
16072         (__check_pf): Reorganize code a bit to not call close twice if OOM.
16073
16074 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
16075
16076         [BZ #13276]
16077         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
16078         return value.
16079
16080         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
16081         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
16082         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
16083
16084 2011-07-03  Andreas Jaeger  <aj@suse.de>
16085
16086         [BZ #10709]
16087         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
16088         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
16089         * math/libm-test.inc (sin_test): Add test case.
16090
16091 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
16092
16093         [BZ #13337]
16094         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
16095         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16096
16097         * elf/chroot_canon.c (chroot_canon): Cleanups.
16098
16099         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
16100
16101         [BZ #13335]
16102         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
16103         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16104
16105         * string/test-strchr.c: Make usable for strchrnul testing.
16106         * string/test-strchrnul.c: New file.
16107         * string/Makefile (strop-tests): Add strchrnul.
16108
16109         * po/it.po: Update from translation team.
16110         * po/es.po: Likewise.
16111
16112 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
16113
16114         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
16115         the three constants needed as parameters.  Drop the others.
16116         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
16117         __m128i_strloadu_tolower.
16118         Create and initialize variable zero and use it in all the places
16119         where _mm_setzero_si128 was used.
16120
16121         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
16122         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
16123         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
16124         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
16125         anymore.
16126         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
16127         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
16128         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
16129         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
16130         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
16131         __mpranred, __mptan.
16132         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
16133         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
16134         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
16135         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
16136         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
16137         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
16138         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
16139         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
16140         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
16141
16142 2011-10-28  Andreas Schwab  <schwab@redhat.com>
16143
16144         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
16145         redefine if SHARED.
16146         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
16147
16148         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
16149         wide char related routines to wcsmbs subdir.
16150
16151 2011-10-27  Andreas Schwab  <schwab@redhat.com>
16152
16153         [BZ #13344]
16154         * misc/sys/cdefs.h (__THROWNL): Define.
16155         * posix/unistd.h: Use __THREADNL instead of __THREAD
16156         for memory synchronization functions.
16157
16158 2011-10-26  Roland McGrath  <roland@hack.frob.com>
16159
16160         [BZ #13349]
16161         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
16162         doesn't exist.
16163         * manual/stdio.texi (Obstack Streams): Node removed.
16164
16165 2011-10-26  Andreas Schwab  <schwab@redhat.com>
16166
16167         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
16168         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16169         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16170
16171         * math/math_private.h (math_force_eval): Allow non-addressable
16172         arguments.
16173         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
16174
16175 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
16176
16177         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
16178         file is not needed.
16179
16180         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
16181         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
16182         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16183         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16184         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16185         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16186         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16187         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
16188         Add AVX variants.
16189         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
16190         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
16191         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
16192         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
16193         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
16194         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
16195         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
16196         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
16197         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
16198         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
16199         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
16200         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
16201         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
16202         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
16203         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
16204         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
16205         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
16206         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
16207         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
16208
16209         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
16210         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
16211
16212         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
16213         place.  Use VEX encoding when compiling for AVX.
16214
16215 2011-10-25  Andreas Schwab  <schwab@redhat.com>
16216
16217         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
16218         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16219
16220         * string/test-strchr.c (do_test): Don't generate NUL bytes.
16221
16222 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
16223
16224         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
16225         useless if() expression.
16226         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16227         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16228         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16229         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16230         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16231         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16232         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16233         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16234         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16235         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16236         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16237         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16238         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16239         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16240         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16241         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16242         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16243         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16244         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16245
16246         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
16247
16248 2011-10-25  Andreas Schwab  <schwab@redhat.com>
16249
16250         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
16251         condition.
16252         * elf/dl-fini.c (_dl_sort_fini): Likewise.
16253
16254 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
16255
16256         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
16257         .text section.  Avoid duplicate constants.
16258         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16259         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16260         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16261         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16262         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16263         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16264         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16265         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16266         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16267         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
16268         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16269         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16270         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
16271         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
16272         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
16273         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
16274         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
16275         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16276         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16277         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16278         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16279         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16280         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16281         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
16282         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
16283         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
16284         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
16285         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
16286         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
16287         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
16288         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
16289         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
16290         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16291         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
16292         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
16293         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
16294         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
16295         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
16296         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
16297         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
16298         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
16299         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
16300         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
16301         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
16302         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
16303
16304 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
16305
16306         * sysdeps/x86_64/dla.h: Move to ...
16307         * sysdeps/x86_64/fpu/dla.h: ...here.
16308         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
16309         situations.  Use __builtin_fma only for gcc 4.6 and up.
16310
16311         * config.make.in: Add have-mfma4 entry.
16312         * configure.in: Substitute libc_cv_cc_fma4.
16313         * math/Makefile (dbl-only-routines): Add sincostab.
16314         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
16315         Use __sincostab not sincos.
16316         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
16317         name is a macro.
16318         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16319         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16320         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16321         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
16322         using __copysign.
16323         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
16324         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
16325         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
16326         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
16327         and __inv.
16328         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
16329         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
16330         __copysign.
16331         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
16332         define aliases when function name is a macro.
16333         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
16334         sysdeps/ieee754/dbl-64/sincos.tbl.
16335         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
16336         fma4-enabled routines.
16337         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
16338         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
16339         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
16340         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
16341         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
16342         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
16343         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
16344         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
16345         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
16346         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
16347         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
16348         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
16349         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
16350         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
16351         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
16352         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
16353         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
16354         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
16355         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
16356         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
16357         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
16358         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
16359         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
16360         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
16361         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
16362         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
16363         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
16364         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
16365         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
16366         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
16367
16368         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
16369         rename.
16370         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16371         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16372         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16373         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16374         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16375         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16376         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16377         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16378
16379 2011-10-24  Andreas Schwab  <schwab@redhat.com>
16380
16381         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
16382
16383 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
16384
16385         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
16386
16387         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
16388         prediction.
16389         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
16390
16391         * string/strnlen.c: Don't define STRNLEN, reverse logic.
16392         Remove unused variable magic_bits.
16393         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
16394
16395         * string/strnlen.c: Define and use STRNLEN macro.
16396         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
16397         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
16398         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
16399         * wcsmbs/wcslen.c: Define and use WCSLEN.
16400         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
16401         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
16402         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
16403         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
16404         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
16405         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
16406         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
16407
16408 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16409
16410         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16411         strnlen-sse2-no-bsf.
16412         Rename strlen-no-bsf to strlen-sse2-no-bsf.
16413         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
16414         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
16415         Add strnlen support.
16416         (USE_AS_STRNLEN): New macro.
16417         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
16418         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
16419         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
16420         * sysdeps/x86_64/wcslen.S: New file.
16421
16422 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
16423
16424         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16425         XMM-moves are used for copying on small sizes.
16426
16427 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16428
16429         * wcsmbs/Makefile (strop-tests): Add wcschr.
16430         * wcsmbs/test-wcschr.c: New file.
16431         * string/test-strchr.c: Update.
16432         Add wcschr support.
16433         (WIDE): New macro.
16434
16435 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16436
16437         * wcsmbs/Makefile (strop-tests): Add wcslen.
16438         * wcsmbs/test-wcslen.c: New file.
16439         * string/test-strlen.c: Update.
16440         Add wcslen support.
16441         (WIDE): New macro.
16442
16443 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
16444
16445         * po/it.po: Update from translation team.
16446
16447 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16448
16449         * sysdeps/x86_64/wcscmp.S: Update.
16450         Fix wrong comparison semantics.
16451         wcscmp shall use signed comparison not unsigned.
16452         Don't use substraction to avoid overflow bug.
16453         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
16454         * wcsmbc/wcscmp.c: Likewise.
16455         * string/test-strcmp.c: Likewise.
16456         Add new tests to check cases with negative values.
16457
16458 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
16459
16460         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
16461         * sysdeps/x86_64/dla.h: ...here.  New file.
16462         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
16463         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16464         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16465         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16466         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16467         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16468         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16469         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16470         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16471
16472 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
16473
16474         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
16475         __ynl_finite aliases.
16476
16477 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
16478
16479         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16480
16481         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
16482         define DLA_FMA.
16483         [DLA_FMA] (EMULV): Use DLA_FMA.
16484         [DLA_FMA] (MUL12): Use EMULV.
16485         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
16486         that are not needed.
16487         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16488         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16489         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16490         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16491         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16492         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16493         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16494
16495 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
16496
16497         * math/s_nan.c: Undef __nan.
16498         * math/s_nanf.c: Undef __nanf.
16499         * math/s_nanl.c: Undef __nanl.
16500         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
16501         "math_private.h".
16502
16503 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
16504
16505         * math/s_catan.c: Add branch predictions.
16506         * math/s_catanf.c: Likewise.
16507         * math/s_catanh.c: Likewise.
16508         * math/s_catanhf.c: Likewise.
16509         * math/s_catanhl.c: Likewise.
16510         * math/s_catanl.c: Likewise.
16511         * math/s_cexp.c: Likewise.
16512         * math/s_cexpf.c: Likewise.
16513         * math/s_cexpl.c: Likewise.
16514         * math/s_clog.c: Likewise.
16515         * math/s_clog10.c: Likewise.
16516         * math/s_clog10f.c: Likewise.
16517         * math/s_clog10l.c: Likewise.
16518         * math/s_clogf.c: Likewise.
16519         * math/s_clogl.c: Likewise.
16520         * math/s_csqrt.c: Likewise.
16521         * math/s_csqrtf.c: Likewise.
16522         * math/s_csqrtl.c: Likewise.
16523         * math/s_ctanf.c: Likewise.
16524         * math/s_ctanh.c: Likewise.
16525         * math/s_ctanhf.c: Likewise.
16526         * math/s_ctanhl.c: Likewise.
16527         * math/s_ctanl.c: Likewise.
16528
16529         * math/math_private.h: Define __nan, __nanf, __nanl.
16530         * math/s_cacosh.c: Include <math_private.h>.
16531         * math/s_cacoshl.c: Likewise.
16532         * math/s_casinh.c: Likewise.
16533         * math/s_casinhf.c: Likewise.
16534         * math/s_casinhl.c: Likewise.
16535         * math/s_ccos.c: Rely entire on ccosh.
16536         * math/s_ccosf.c: Rely entire on ccoshf.
16537         * math/s_ccosl.c: Rely entirely on ccoshl.
16538         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
16539         Remove tests for FE_INVALID.
16540         * math/s_ccoshf.c: Likewise.
16541         * math/s_ccoshl.c: Likewise.
16542         * math/s_csin.c: Likewise.
16543         * math/s_csinf.c: Likewise.
16544         * math/s_csinh.c Likewise.
16545         * math/s_csinhf.c: Likewise.
16546         * math/s_csinhl.c: Likewise.
16547         * math/s_csinl.c: Likewise.
16548         * math/s_ctan.c: Likewise.
16549         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
16550         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
16551         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
16552
16553 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
16554
16555         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
16556         compilation problems.
16557
16558         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
16559         __builtin_expect.
16560
16561 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
16562
16563         * sysdeps/i386/configure.in: Test for -mfma4 option.
16564         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
16565         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
16566         COMMON_CPUID_INDEX_80000001.
16567         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
16568         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
16569         use it if FMA3 is not supported.
16570         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
16571
16572         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
16573         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
16574
16575 2011-10-20  Andreas Schwab  <schwab@redhat.com>
16576
16577         [BZ #12892]
16578         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
16579         it would create a cycle with a link time dependency.
16580
16581 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
16582
16583         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
16584         instruction.
16585         * string/Makefile (strop-tests): Add rawmemchr.
16586         * string/test-rawmemchr.c: New file.
16587
16588         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
16589         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
16590         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
16591         when compiling str{,n}casecmp and when AVX is available.  Hook up
16592         new optimized code in initializers.
16593
16594 2011-10-19  Andreas Schwab  <schwab@redhat.com>
16595
16596         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
16597         __feraiseexcept instead of feraiseexcept.
16598
16599 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
16600
16601         * math/math_private.h: Define defaults for libc_fetestexcept and
16602         libc_feupdateenv.
16603         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
16604         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
16605         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
16606         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
16607         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16608         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
16609         libc_fetestexcept and libc_feupdateenv.
16610
16611         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
16612         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
16613         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
16614         * sysdeps/x86_64/fpu/math_private.h: Define special version of
16615         libc_feholdexcept_setround.
16616
16617         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
16618         Add s_nearbyint-c and s_nearbyintf-c.
16619         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
16620         nearbyintf inlines.
16621         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
16622         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
16623         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
16624         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
16625
16626         * math/math_private.h: Define defaults for libc_fegetround,
16627         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
16628         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
16629         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
16630         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
16631         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
16632         standard functions.
16633         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16634         Remove comments and hacks for old compiler versions.
16635         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
16636         libc_fegetround, libc_fesetround, libc_feholdexcept, and
16637         libc_feholdexceptl.
16638
16639 2011-10-18  Andreas Schwab  <schwab@redhat.com>
16640
16641         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
16642         (__feraiseexcept_renamed): Add __NTH.
16643         (feraiseexcept): Add __NTH.  Rename local variables to fix
16644         namespace violations.
16645
16646 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
16647
16648         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
16649
16650         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
16651
16652         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
16653         recently added interfaces.
16654         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
16655
16656         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
16657         about macro parameter expansion.
16658
16659         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
16660         __NO_MATH_INLINES is defined.  Cleanups.
16661
16662         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
16663         and __floorf is target has SSE4.1.
16664         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
16665         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
16666         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
16667         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
16668
16669         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
16670         name.
16671         (floorf): Likewise.
16672
16673         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
16674
16675 2011-10-17  Andreas Schwab  <schwab@redhat.com>
16676
16677         * misc/sys/cdefs.h: Fix last change.
16678
16679         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
16680         database lookup.
16681
16682 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
16683
16684         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
16685
16686         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
16687         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16688         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16689         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16690         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16691         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
16692         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16693         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16694         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
16695         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
16696         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
16697         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
16698         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
16699         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
16700         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
16701         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
16702         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
16703         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
16704         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
16705         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
16706         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
16707         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
16708
16709         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
16710         ceil, ceilf, floor, floorf.
16711
16712         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
16713         Perform IRELATIVE relocations last.
16714
16715         * elf/do-rel.h: Add another parameter nrelative, replacing the
16716         local variable with the same name.  Change name of the function
16717         to end in Rel or Rela (uppercase).
16718         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
16719         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
16720         elf_dynamic_do_##reloc function.
16721
16722 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
16723
16724         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
16725         is sufficient, at least on modern CPUs.
16726
16727         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
16728
16729         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
16730         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
16731
16732         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
16733         __expl_finite.
16734         * math/bits/math-finite.h: Add entries for exp.
16735         * math/e_expl.c: Add __*_finite alias.
16736         * sysdeps/i386/fpu/e_exp.S: Likewise.
16737         * sysdeps/i386/fpu/e_expf.S: Likewise.
16738         * sysdeps/i386/fpu/e_expl.c: Likewise.
16739         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16740         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
16741         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16742         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16743         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
16744         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
16745         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
16746
16747         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
16748         is sufficient, at least on modern CPUs.
16749
16750         * ctype/ctype-info.c (__ctype_init): Define.
16751         * include/ctype.h (__ctype_init): Declare.
16752         (__ctype_b_loc): The variable is always initialized.
16753         (__ctype_toupper_loc): Likewise.
16754         (__ctype_tolower_loc): Likewise.
16755         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
16756         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
16757
16758 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
16759
16760         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
16761
16762         * configure.in: Also look in $cxxmachine/include for C++ system
16763         headers.
16764
16765 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16766
16767         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
16768         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
16769         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
16770         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
16771         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
16772         (USE_AS_WMEMCMP): New macro.
16773         Fixing indents.
16774         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
16775         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
16776         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
16777         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
16778         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16779         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
16780         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
16781         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
16782         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
16783         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
16784         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
16785         (USE_AS_WMEMCMP): New macro.
16786         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
16787         * sysdeps/string/test-memcmp.c: Update.
16788         Fix simple_wmemcmp.
16789         Add new tests.
16790         * wcsmbs/wmemcmp.c: Update.
16791         (WMEMCMP): New macro.
16792         Fix overflow bug.
16793
16794 2011-10-12  Andreas Jaeger  <aj@suse.de>
16795
16796         [BZ #13268]
16797         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
16798
16799 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
16800
16801         * libio/iofwide.c (do_length): Avoid warning.
16802
16803         * ctype/ctype.h (__isctype_f): Add missing __THROW.
16804
16805 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
16806
16807         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
16808
16809         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
16810         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
16811         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
16812         * sysdeps/i386/i686/fpu/e_log.S: New file.
16813         * sysdeps/i386/i686/fpu/e_logf.S: New file.
16814         * sysdeps/i386/i686/fpu/e_logl.S: New file.
16815
16816         * ctype/ctype.h: Add support for inlined isXXX functions when
16817         compiling C++ code.
16818
16819 2011-10-14  Andreas Schwab  <schwab@redhat.com>
16820
16821         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16822
16823         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
16824
16825 2011-10-13  Roland McGrath  <roland@hack.frob.com>
16826
16827         [BZ #13291]
16828         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
16829
16830 2011-10-13  Andreas Schwab  <schwab@redhat.com>
16831
16832         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
16833         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
16834         feraiseexcept.
16835
16836         * sysdeps/x86_64/memrchr.S: Check for zero size.
16837
16838         * string/stratcliff.c: Add memrchr tests.
16839
16840 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16841
16842         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16843         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
16844         rawmemchr-sse2 rawmemchr-sse2-bsf.
16845         * sysdeps/i386/i686/multiarch/memchr.S: New file.
16846         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
16847         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
16848         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
16849         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
16850         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
16851         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
16852         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
16853         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
16854         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
16855         * string/memrchr.c (MEMRCHR): New macro.
16856
16857 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
16858
16859         Add integration with gcc's -ffinite-math-only and optimize wrapper
16860         functions in libm.
16861         * Versions.def: Define GLIBC_2.15 version for libm.
16862         * math/Makefile (headers): Add bits/math-finite.h.
16863         * math/bits/math-finite.h: New file.
16864         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
16865         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
16866         * math/e_acoshl.c: Add __*_finite alias.
16867         * math/e_acosl.c: Likewise.
16868         * math/e_asinl.c: Likewise.
16869         * math/e_atan2l.c: Likewise.
16870         * math/e_atanhl.c: Likewise.
16871         * math/e_coshl.c: Likewise.
16872         * math/e_exp10.c: Likewise.
16873         * math/e_exp10f.c: Likewise.
16874         * math/e_exp10l.c: Likewise.
16875         * math/e_exp2l.c: Likewise.
16876         * math/e_fmodl.c: Likewise.
16877         * math/e_gammal_r.c: Likewise.
16878         * math/e_hypotl.c: Likewise.
16879         * math/e_j0l.c: Likewise.
16880         * math/e_j1l.c: Likewise.
16881         * math/e_jnl.c: Likewise.
16882         * math/e_lgammal_r.c: Likewise.
16883         * math/e_log10l.c: Likewise.
16884         * math/e_log2l.c: Likewise.
16885         * math/e_logl.c: Likewise.
16886         * math/e_powl.c: Likewise.
16887         * math/e_sinhl.c: Likewise.
16888         * math/e_sqrtl.c: Likewise.
16889         * math/e_scalb.c: Completely rewritten and optimized.
16890         * math/e_scalbf.c: Likewise.
16891         * math/e_scalbl.c: Likewise.
16892         * math/w_acos.c: Likewise.
16893         * math/w_acosf.c: Likewise.
16894         * math/w_acosl.c: Likewise.
16895         * math/w_acosh.c: Likewise.
16896         * math/w_acoshf.c: Likewise.
16897         * math/w_acoshl.c: Likewise.
16898         * math/w_asin.c: Likewise.
16899         * math/w_asinf.c: Likewise.
16900         * math/w_asinl.c: Likewise.
16901         * math/w_atan2.c: Likewise.
16902         * math/w_atan2f.c: Likewise.
16903         * math/w_atan2l.c: Likewise.
16904         * math/w_atanh.c: Likewise.
16905         * math/w_atanhf.c: Likewise.
16906         * math/w_atanhl.c: Likewise.
16907         * math/w_exp10.c: Likewise.
16908         * math/w_exp10f.c: Likewise.
16909         * math/w_exp10l.c: Likewise.
16910         * math/w_fmod.c: Likewise.
16911         * math/w_fmodf.c: Likewise.
16912         * math/w_fmodl.c: Likewise.
16913         * math/w_j0.c: Likewise.
16914         * math/w_j0f.c: Likewise.
16915         * math/w_j0l.c: Likewise.
16916         * math/w_j1.c: Likewise.
16917         * math/w_j1f.c: Likewise.
16918         * math/w_j1l.c: Likewise.
16919         * math/w_jn.c: Likewise.
16920         * math/w_jnf.c: Likewise.
16921         * math/w_log.c: Likewise.
16922         * math/w_logf.c: Likewise.
16923         * math/w_logl.c: Likewise.
16924         * math/w_log10.c: Likewise.
16925         * math/w_log10f.c: Likewise.
16926         * math/w_log10l.c: Likewise.
16927         * math/w_log2.c: Likewise.
16928         * math/w_log2f.c: Likewise.
16929         * math/w_log2l.c: Likewise.
16930         * math/w_pow.c: Likewise.
16931         * math/w_powf.c: Likewise.
16932         * math/w_powl.c: Likewise.
16933         * math/w_remainder.c: Likewise.
16934         * math/w_remainderf.c: Likewise.
16935         * math/w_remainderl.c: Likewise.
16936         * math/w_scalb.c: Likewise.
16937         * math/w_scalbf.c: Likewise.
16938         * math/w_scalbl.c: Likewise.
16939         * math/w_sqrt.c: Likewise.
16940         * math/w_sqrtf.c: Likewise.
16941         * math/w_sqrtl.c: Likewise.
16942         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
16943         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
16944         used.
16945         * math/math_private.h: Declare __kernel_standard_f.
16946         * math/w_cosh.c: Remove cruft and optimize a bit.
16947         * math/w_coshf.c: Likewise.
16948         * math/w_coshl.c: Likewise.
16949         * math/w_exp2.c: Likewise.
16950         * math/w_exp2f.c: Likewise.
16951         * math/w_exp2l.c: Likewise.
16952         * math/w_hypot.c: Likewise.
16953         * math/w_hypotf.c: Likewise.
16954         * math/w_hypotl.c: Likewise.
16955         * math/w_lgamma.c: Likewise.
16956         * math/w_lgamma_r.c: Likewise.
16957         * math/w_lgammaf.c: Likewise.
16958         * math/w_lgammaf_r.c: Likewise.
16959         * math/w_lgammal.c: Likewise.
16960         * math/w_lgammal_r.c: Likewise.
16961         * math/w_sinh.c: Likewise.
16962         * math/w_sinhf.c: Likewise.
16963         * math/w_sinhl.c: Likewise.
16964         * math/w_tgamma.c: Likewise.
16965         * math/w_tgammaf.c: Likewise.
16966         * math/w_tgammal.c: Likewise.
16967         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16968         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16969         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
16970         Minor optimizations.  Pretty printing.  Remove cruft.
16971         * sysdeps/i386/fpu/e_acosf.S: Likewise.
16972         * sysdeps/i386/fpu/e_acosh.S: Likewise.
16973         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16974         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16975         * sysdeps/i386/fpu/e_acosl.c: Likewise.
16976         * sysdeps/i386/fpu/e_asin.S: Likewise.
16977         * sysdeps/i386/fpu/e_asinf.S: Likewise.
16978         * sysdeps/i386/fpu/e_atan2.S: Likewise.
16979         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
16980         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
16981         * sysdeps/i386/fpu/e_atanh.S: Likewise.
16982         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16983         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16984         * sysdeps/i386/fpu/e_exp10.S: Likewise.
16985         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
16986         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
16987         * sysdeps/i386/fpu/e_exp2.S: Likewise.
16988         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
16989         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
16990         * sysdeps/i386/fpu/e_fmod.S: Likewise.
16991         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
16992         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
16993         * sysdeps/i386/fpu/e_hypot.S: Likewise.
16994         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
16995         * sysdeps/i386/fpu/e_log.S: Likewise.
16996         * sysdeps/i386/fpu/e_log10.S: Likewise.
16997         * sysdeps/i386/fpu/e_log10f.S: Likewise.
16998         * sysdeps/i386/fpu/e_log10l.S: Likewise.
16999         * sysdeps/i386/fpu/e_log2.S: Likewise.
17000         * sysdeps/i386/fpu/e_log2f.S: Likewise.
17001         * sysdeps/i386/fpu/e_log2l.S: Likewise.
17002         * sysdeps/i386/fpu/e_logf.S: Likewise.
17003         * sysdeps/i386/fpu/e_logl.S: Likewise.
17004         * sysdeps/i386/fpu/e_pow.S: Likewise.
17005         * sysdeps/i386/fpu/e_powf.S: Likewise.
17006         * sysdeps/i386/fpu/e_powl.S: Likewise.
17007         * sysdeps/i386/fpu/e_remainder.S: Likewise.
17008         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
17009         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
17010         * sysdeps/i386/fpu/e_scalb.S: Likewise.
17011         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17012         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17013         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
17014         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
17015         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
17016         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17017         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17018         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17019         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17020         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17021         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17022         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17023         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17024         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17025         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17026         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17027         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17028         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17029         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17030         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17031         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17032         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17033         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17034         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17035         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17036         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17037         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17038         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17039         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17040         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17041         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17042         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17043         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17044         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17045         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17046         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17047         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17048         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17049         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17050         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17051         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17052         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17053         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17054         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17055         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17056         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17057         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17058         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17059         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17060         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17061         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17062         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17063         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17064         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17065         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17066         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17067         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17068         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17069         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17070         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17071         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17072         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17073         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17074         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17075         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17076         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17077         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17078         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17079         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17080         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17081         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17082         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17083         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17084         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
17085         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17086         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17087         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17088         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17089         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17090         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17091         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17092         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
17093         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17094         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17095         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17096         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17097         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17098         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
17099         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17100         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17101         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17102         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17103         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17104         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17105         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17106         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17107         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17108         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17109         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17110         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17111         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17112         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17113         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
17114         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
17115         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
17116         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
17117         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
17118         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
17119         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
17120         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17121         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17122         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17123         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17124         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
17125         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17126         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
17127         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
17128         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
17129         (__isnanf): Likewise.
17130         (__isinf_ns): Likewise.
17131         (__isinf_nsf): Likewise.
17132         (__finite): Likewise.
17133         (__finitef): Likewise.
17134         (__ieee754_sqrt): Define as macro.
17135         (__ieee754_sqrtf): Define as macro.
17136         (__ieee754_sqrtl): Define as macro.
17137         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
17138         inlined copy.
17139         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
17140         __FINITE_MATH_ONLY__ consistent.
17141         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
17142
17143 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
17144
17145         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
17146         of rawmemchr.
17147
17148         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
17149
17150 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
17151
17152         * po/ja.po: Update from translation team.
17153
17154 2011-10-08  Roland McGrath  <roland@hack.frob.com>
17155
17156         * locale/programs/locarchive.c (prepare_address_space): New function.
17157         (create_archive, enlarge_archive, open_archive): Use it.
17158
17159         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
17160         inside [SHARED], where it is used.
17161
17162         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
17163
17164         * nss/getent.c (netgroup_keys): Remove unused variable.
17165         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17166
17167 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
17168
17169         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
17170         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
17171         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
17172         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
17173         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
17174         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
17175         * math/Makefile (libm-calls): Add s_isinf_ns.
17176         * math/divtc3.c: Use __isinf_nsl instead of isinf.
17177         * math/multc3.c: Likewise.
17178         * math/s_casin.c: Likewise.
17179         * math/s_casinf.c: Likewise.
17180         * math/s_casinl.c: Likewise.
17181         * math/s_ccos.c: Likewise.
17182         * math/s_ccosf.c: Likewise.
17183         * math/s_ccosl.c: Likewise.
17184         * math/s_ctan.c: Likewise.
17185         * math/s_ctanf.c: Likewise.
17186         * math/s_ctanh.c: Likewise.
17187         * math/s_ctanhf.c: Likewise.
17188         * math/s_ctanhl.c: Likewise.
17189         * math/s_ctanl.c: Likewise.
17190         * math/w_fmod.c: Likewise.
17191         * math/w_fmodf.c: Likewise.
17192         * math/w_fmodl.c: Likewise.
17193         * math/w_remainder.c: Likewise.
17194         * math/w_remainderf.c: Likewise.
17195         * math/w_remainderl.c: Likewise.
17196         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
17197         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
17198         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
17199         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
17200         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
17201         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
17202         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
17203         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
17204
17205         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
17206         of the number.
17207         * stdio-common/printf_fphex.c: Likewise.
17208         * stdio-common/printf_size.c: Likewise.
17209
17210         * math/e_exp10.c: Include math_private.h using <...> not "...".
17211         * math/e_exp10f.c: Likewise.
17212         * math/e_exp10l.c: Likewise.
17213         * math/e_exp2l.c: Likewise.
17214         * math/e_j0l.c: Likewise.
17215         * math/e_j1l.c: Likewise.
17216         * math/e_jnl.c: Likewise.
17217         * math/e_lgammal_r.c: Likewise.
17218         * math/e_rem_pio2l.c: Likewise.
17219         * math/e_scalb.c: Likewise.
17220         * math/e_scalbf.c: Likewise.
17221         * math/e_scalbl.c: Likewise.
17222         * math/k_cosl.c: Likewise.
17223         * math/k_sinl.c: Likewise.
17224         * math/k_tanl.c: Likewise.
17225         * math/s_cacoshf.c: Likewise.
17226         * math/s_catan.c: Likewise.
17227         * math/s_catanf.c: Likewise.
17228         * math/s_catanh.c: Likewise.
17229         * math/s_catanhf.c: Likewise.
17230         * math/s_catanhl.c: Likewise.
17231         * math/s_catanl.c: Likewise.
17232         * math/s_ccosh.c: Likewise.
17233         * math/s_ccoshf.c: Likewise.
17234         * math/s_ccoshl.c: Likewise.
17235         * math/s_cexp.c: Likewise.
17236         * math/s_cexpf.c: Likewise.
17237         * math/s_cexpl.c: Likewise.
17238         * math/s_clog.c: Likewise.
17239         * math/s_clog10.c: Likewise.
17240         * math/s_clog10f.c: Likewise.
17241         * math/s_clog10l.c: Likewise.
17242         * math/s_clogf.c: Likewise.
17243         * math/s_clogl.c: Likewise.
17244         * math/s_csin.c: Likewise.
17245         * math/s_csinf.c: Likewise.
17246         * math/s_csinh.c: Likewise.
17247         * math/s_csinhf.c: Likewise.
17248         * math/s_csinhl.c: Likewise.
17249         * math/s_csinl.c: Likewise.
17250         * math/s_csqrt.c: Likewise.
17251         * math/s_csqrtf.c: Likewise.
17252         * math/s_csqrtl.c: Likewise.
17253         * math/s_ctan.c: Likewise.
17254         * math/s_ctanf.c: Likewise.
17255         * math/s_ctanh.c: Likewise.
17256         * math/s_ctanhf.c: Likewise.
17257         * math/s_ctanhl.c: Likewise.
17258         * math/s_ctanl.c: Likewise.
17259         * math/s_ldexp.c: Likewise.
17260         * math/s_ldexpf.c: Likewise.
17261         * math/s_ldexpl.c: Likewise.
17262         * math/s_significand.c: Likewise.
17263         * math/s_significandf.c: Likewise.
17264         * math/s_significandl.c: Likewise.
17265         * math/w_acos.c: Likewise.
17266         * math/w_acosf.c: Likewise.
17267         * math/w_acosh.c: Likewise.
17268         * math/w_acoshf.c: Likewise.
17269         * math/w_acoshl.c: Likewise.
17270         * math/w_acosl.c: Likewise.
17271         * math/w_asin.c: Likewise.
17272         * math/w_asinf.c: Likewise.
17273         * math/w_asinl.c: Likewise.
17274         * math/w_atan2.c: Likewise.
17275         * math/w_atan2f.c: Likewise.
17276         * math/w_atan2l.c: Likewise.
17277         * math/w_atanh.c: Likewise.
17278         * math/w_atanhf.c: Likewise.
17279         * math/w_atanhl.c: Likewise.
17280         * math/w_cosh.c: Likewise.
17281         * math/w_coshf.c: Likewise.
17282         * math/w_coshl.c: Likewise.
17283         * math/w_dremf.c: Likewise.
17284         * math/w_exp10.c: Likewise.
17285         * math/w_exp10f.c: Likewise.
17286         * math/w_exp10l.c: Likewise.
17287         * math/w_exp2.c: Likewise.
17288         * math/w_exp2f.c: Likewise.
17289         * math/w_fmod.c: Likewise.
17290         * math/w_fmodf.c: Likewise.
17291         * math/w_fmodl.c: Likewise.
17292         * math/w_hypot.c: Likewise.
17293         * math/w_hypotf.c: Likewise.
17294         * math/w_hypotl.c: Likewise.
17295         * math/w_j0.c: Likewise.
17296         * math/w_j0f.c: Likewise.
17297         * math/w_j0l.c: Likewise.
17298         * math/w_j1.c: Likewise.
17299         * math/w_j1f.c: Likewise.
17300         * math/w_j1l.c: Likewise.
17301         * math/w_jn.c: Likewise.
17302         * math/w_jnf.c: Likewise.
17303         * math/w_jnl.c: Likewise.
17304         * math/w_lgamma.c: Likewise.
17305         * math/w_lgamma_r.c: Likewise.
17306         * math/w_lgammaf.c: Likewise.
17307         * math/w_lgammaf_r.c: Likewise.
17308         * math/w_lgammal.c: Likewise.
17309         * math/w_lgammal_r.c: Likewise.
17310         * math/w_log.c: Likewise.
17311         * math/w_log10.c: Likewise.
17312         * math/w_log10f.c: Likewise.
17313         * math/w_log10l.c: Likewise.
17314         * math/w_log2.c: Likewise.
17315         * math/w_log2f.c: Likewise.
17316         * math/w_log2l.c: Likewise.
17317         * math/w_logf.c: Likewise.
17318         * math/w_logl.c: Likewise.
17319         * math/w_pow.c: Likewise.
17320         * math/w_powf.c: Likewise.
17321         * math/w_powl.c: Likewise.
17322         * math/w_remainder.c: Likewise.
17323         * math/w_remainderf.c: Likewise.
17324         * math/w_remainderl.c: Likewise.
17325         * math/w_scalb.c: Likewise.
17326         * math/w_scalbf.c: Likewise.
17327         * math/w_scalbl.c: Likewise.
17328         * math/w_sinh.c: Likewise.
17329         * math/w_sinhf.c: Likewise.
17330         * math/w_sinhl.c: Likewise.
17331         * math/w_sqrt.c: Likewise.
17332         * math/w_sqrtf.c: Likewise.
17333         * math/w_sqrtl.c: Likewise.
17334         * math/w_tgamma.c: Likewise.
17335         * math/w_tgammaf.c: Likewise.
17336         * math/w_tgammal.c: Likewise.
17337
17338         * po/ja.po: Update from translation team.
17339
17340 2011-09-29  Andreas Jaeger  <aj@suse.de>
17341
17342         [BZ #13179]
17343         * sunrpc/netname.c (netname2host): Fix logic.
17344
17345         [BZ #6779]
17346         [BZ #6783]
17347         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
17348         correctly.
17349         * math/w_remainder.c (__remainder): Likewise.
17350         * math/w_remainderf.c (__remainderf): Likewise.
17351         * math/libm-test.inc (remainder_test): Add test cases.
17352
17353 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17354
17355         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
17356         sdiv_qrnnd.
17357
17358 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
17359
17360         * string/test-memcmp.c: Avoid unncessary #defines.
17361         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17362
17363 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17364
17365         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
17366         Use new sse2 version for core i3 - i7 as it's faster
17367         than sse42 version.
17368         (bit_Prefer_PMINUB_for_stringop): New.
17369         * sysdeps/x86_64/rawmemchr.S: Update.
17370         Replace with faster SSE2 version.
17371         * sysdeps/x86_64/memrchr.S: New file.
17372         * sysdeps/x86_64/memchr.S: Update.
17373         Replace with faster SSE2 version.
17374
17375 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
17376
17377         * elf/dl-load.c (lose): Add cast to avoid warning.
17378
17379 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
17380
17381         * po/ca.po: Update from translation team.
17382
17383         * inet/getnetgrent_r.c: Hook up nscd.
17384         * nscd/Makefile (routines): Add nscd_netgroup.
17385         (nscd-modules): Add netgroupcache.
17386         (CFLAGS-netgroupcache.c): Define.
17387         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
17388         (cache_search): Add const to second parameter.
17389         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
17390         INNETGR.
17391         (dbs): Add netgrdb entry.
17392         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
17393         (verify_persistent_db): Handle netgrdb.
17394         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
17395         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
17396         GETFDNETGR.
17397         (netgroup_response_header): Define.
17398         (innetgroup_response_header): Define.
17399         (datahead): Add netgroup_response_header and innetgroup_response_header
17400         elements.
17401         * nscd/nscd.conf: Add entries for netgroup cache.
17402         * nscd/nscd.h (dbtype): Add netgrdb.
17403         (_PATH_NSCD_NETGROUP_DB): Define.
17404         (netgroup_iov_disabled): Declare.
17405         (xmalloc, xcalloc, xrealloc): Move declarations here.
17406         (cache_search): Adjust prototype.
17407         Add netgroup-related prototypes.
17408         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
17409         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
17410         (__nscd_innetgr): Declare.
17411         * nscd/selinux.c (perms): Use access_vector_t as element type and
17412         add netgroup-related initializers.
17413         * nscd/netgroupcache.c: New file.
17414         * nscd/nscd_netgroup.c: New file.
17415         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
17416         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
17417         For four parameters use innetgr.
17418         * nss/nss_files/files-init.c: Add definition and callback for netgr.
17419         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
17420         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
17421         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
17422
17423         * nscd/connections.c (register_traced_file): Don't register file
17424         for disabled databases.
17425
17426 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
17427
17428         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
17429
17430         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
17431         from tree and freeing node.
17432
17433 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
17434
17435         * nss/nsswitch.c (__nss_database_lookup): Handle
17436         nss_parse_service_list out of memory case.
17437
17438 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
17439
17440         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
17441         out of memory case.
17442
17443 2011-10-04  Andreas Schwab  <schwab@redhat.com>
17444
17445         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
17446         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
17447         pass it down.
17448         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
17449         elf_machine_rela, elf_machine_lazy_rel.
17450         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
17451         (ELF_DYNAMIC_DO_REL): Likewise.
17452         (ELF_DYNAMIC_DO_RELA): Likewise.
17453         (ELF_DYNAMIC_RELOCATE): Likewise.
17454         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
17455         to ELF_DYNAMIC_DO_REL.
17456         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
17457         (dl_main): In trace mode always set __RTLD_NOIFUNC.
17458         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
17459         elf_machine_rela.
17460         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
17461         skip_ifunc, don't call ifunc function if non-zero.
17462         (elf_machine_rela): Likewise.
17463         (elf_machine_lazy_rel): Likewise.
17464         (elf_machine_lazy_rela): Likewise.
17465         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
17466         (elf_machine_lazy_rel): Likewise.
17467         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
17468         Likewise.
17469         (elf_machine_lazy_rel): Likewise.
17470         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17471         Likewise.
17472         (elf_machine_lazy_rel): Likewise.
17473         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
17474         (elf_machine_lazy_rel): Likewise.
17475         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
17476         (elf_machine_lazy_rel): Likewise.
17477         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17478         (elf_machine_lazy_rel): Likewise.
17479         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
17480         (elf_machine_lazy_rel): Likewise.
17481         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
17482         (elf_machine_lazy_rel): Likewise.
17483         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17484         (elf_machine_lazy_rel): Likewise.
17485
17486 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
17487
17488         * nss/nss_files/files-init.c (_nss_files_init): Use static
17489         initialization for all the *_traced_file variables.
17490
17491 2011-09-28  Andreas Schwab  <schwab@redhat.com>
17492
17493         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17494
17495 2011-09-27  Roland McGrath  <roland@hack.frob.com>
17496
17497         [BZ #13226]
17498         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
17499
17500 2011-09-27  Andreas Schwab  <schwab@redhat.com>
17501
17502         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17503         Reread the line before reparsing it.
17504
17505 2011-09-26  Andreas Schwab  <schwab@redhat.com>
17506
17507         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
17508
17509 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
17510             Maxim Kuvyrkov  <maxim@codesourcery.com>
17511             Joseph Myers  <joseph@codesourcery.com>
17512
17513         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
17514         if needed for __stack_chk_guard.
17515
17516 2011-09-19  Roland McGrath  <roland@hack.frob.com>
17517
17518         * sysdeps/posix/spawni.c (script_execute): Always define it.
17519         It will be optimized away if unused.
17520         (maybe_script_execute): New function.
17521         (__spawni): Call it.
17522
17523         * Makerules: Don't include tls.make.
17524         (config-tls): Always set to thread.
17525         * tls.make.c: File removed.
17526
17527 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
17528
17529         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
17530         * config.make.in (CPPFLAGS-config): New substituted variable.
17531
17532 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
17533
17534         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
17535
17536         [BZ #13192]
17537         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
17538         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
17539
17540 2011-09-15  Roland McGrath  <roland@hack.frob.com>
17541
17542         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
17543         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
17544         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17545         (CALL_FAIL): Likewise.
17546         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
17547         (CALL_FAIL): Macro removed.
17548         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
17549
17550 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
17551
17552         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
17553         for __FINITE_MATH_ONLY__ == 1.
17554
17555 2011-09-15  Andreas Schwab  <schwab@redhat.com>
17556
17557         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
17558         __ieee754_sqrt instead of sqrt.
17559         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
17560         __ieee754_sqrtf instead of sqrtf.
17561         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
17562         __floorf instead of floorf.
17563         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
17564         __floorf, __truncf instead of floorf, truncf.
17565
17566 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
17567
17568         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
17569
17570         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
17571         __extern_always_inline.
17572         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
17573         32-bit.
17574
17575 2011-09-14  Andreas Schwab  <schwab@redhat.com>
17576
17577         * elf/rtld.c (dl_main): Also relocate in dependency order when
17578         doing symbol dependency testing.
17579
17580 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
17581
17582         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17583         Always define `refsym'.
17584
17585 2011-09-13  Andreas Schwab  <schwab@redhat.com>
17586
17587         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
17588         (__FD_ELT): Renamed from __FDELT.
17589         * misc/bits/select2.h (__FD_ELT): Likewise.
17590         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
17591         __FD_MASK instead of __FDELT, __FDMASK.
17592         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
17593         Likewise.
17594         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
17595         Likewise.
17596
17597         * elf/Makefile (gen-ldd): Fix pattern.
17598
17599         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
17600         (init_tls): Likewise.
17601
17602 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
17603
17604         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
17605
17606 2011-09-12  Andreas Schwab  <schwab@redhat.com>
17607
17608         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
17609         `struct cmsghdr *' instead of `void *'.
17610         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
17611         Likewise.
17612
17613 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
17614
17615         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
17616         if non-absolute.
17617         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
17618         ldd_rewrite_script.
17619
17620 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
17621
17622         * configure.in: Remove --with-tls option.
17623         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
17624         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
17625         out in case it is missing.
17626         * sysdeps/ia64/elf/configure.in: Likewise.
17627         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
17628         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
17629         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
17630         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
17631         * sysdeps/sh/elf/configure.in: Likewise.
17632         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
17633         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
17634         * sysdeps/x86_64/elf/configure.in: Likewise.
17635         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
17636         * sysdeps/mach/hurd/tls.h: Likewise.
17637
17638         [BZ #13067]
17639         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
17640
17641         [BZ #13090]
17642         * configure.in: Fix use of AC_INIT.
17643
17644         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
17645
17646 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
17647
17648         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
17649         __set_errno.
17650         * malloc/hooks.c: Likewise.
17651
17652         [BZ #11929]
17653         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
17654         variables statically.
17655         (narenas): Initialize.
17656         (list_lock): Initialize.
17657         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
17658         initializtion of main_arena and list_lock.  Small cleanups.
17659         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
17660         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
17661         Add initializers to main_arena and mp_.
17662         (malloc_state): Remove pagesize member.  Change all users to use
17663         GLRO(dl_pagesize).
17664
17665         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
17666         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
17667         is always initialized.
17668
17669         * malloc/malloc.c: Removed unused configurations and dead code.
17670         * malloc/arena.c: Likewise.
17671         * malloc/hooks.c: Likewise.
17672         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
17673
17674         * include/tls.h: Removed.  USE___THREAD must always be defined.
17675         * bits/libc-tsd.h: Don't handle !USE___THREAD.
17676         * elf/dl-libc.c: Likewise.
17677         * elf/dl-tsd.c: Likewise.
17678         * include/errno.h: Likewise.
17679         * include/netdb.h: Likewise.
17680         * include/resolv.h: Likewise.
17681         * inet/herrno-loc.c: Likewise.
17682         * inet/herrno.c: Likewise.
17683         * malloc/arena.c: Likewise.
17684         * malloc/hooks.c: Likewise.
17685         * malloc/malloc.c: Likewise.
17686         * resolv/res-state.c: Likewise.
17687         * resolv/res_libc.c: Likewise.
17688         * sysdeps/i386/dl-machine.h: Likewise.
17689         * sysdeps/ia64/dl-machine.h: Likewise.
17690         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
17691         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
17692         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
17693         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
17694         * sysdeps/sh/dl-machine.h: Likewise.
17695         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17696         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17697         * sysdeps/unix/i386/sysdep.S: Likewise.
17698         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17699         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
17700         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
17701         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17702         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
17703         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17704         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
17705         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17706         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17707         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17708         * sysdeps/unix/x86_64/sysdep.S: Likewise.
17709         * sysdeps/x86_64/dl-machine.h: Likewise.
17710         * tls.make.c: Likewise.
17711
17712         * configure.in: Remove --with-__thread option.  Make tests for
17713         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
17714         tls_model attribute fail if no support is available.  Remove
17715         USE_IN_LIBIO.
17716         * Makeconfig: Adjust for dropped configure option.  All features are
17717         now mandatory.
17718         * Makerules: Likewise.
17719         * Versions.def: Likewise.
17720         * argp/argp-fmtstream.c: Likewise.
17721         * argp/argp-fmtstream.h: Likewise.
17722         * argp/argp-help.c: Likewise.
17723         * assert/assert.c: Likewise.
17724         * config.h.in: Likewise.
17725         * config.make.in: Likewise.
17726         * configure: Likewise.
17727         * configure.in: Likewise.
17728         * csu/Versions: Likewise.
17729         * csu/init.c: Likewise.
17730         * elf/tst-audit2.c: Likewise.
17731         * elf/tst-tls10.c: Likewise.
17732         * elf/tst-tls10.h: Likewise.
17733         * elf/tst-tls11.c: Likewise.
17734         * elf/tst-tls12.c: Likewise.
17735         * elf/tst-tls14.c: Likewise.
17736         * elf/tst-tlsmod11.c: Likewise.
17737         * elf/tst-tlsmod12.c: Likewise.
17738         * elf/tst-tlsmod13.c: Likewise.
17739         * elf/tst-tlsmod13a.c: Likewise.
17740         * elf/tst-tlsmod14a.c: Likewise.
17741         * elf/tst-tlsmod15b.c: Likewise.
17742         * elf/tst-tlsmod16a.c: Likewise.
17743         * elf/tst-tlsmod16b.c: Likewise.
17744         * elf/tst-tlsmod7.c: Likewise.
17745         * elf/tst-tlsmod8.c: Likewise.
17746         * elf/tst-tlsmod9.c: Likewise.
17747         * gmon/gmon.c: Likewise.
17748         * grp/fgetgrent_r.c: Likewise.
17749         * grp/putgrent.c: Likewise.
17750         * hurd/fopenport.c: Likewise.
17751         * include/libc-symbols.h: Likewise.
17752         * include/tls.h: Likewise.
17753         * intl/gettextP.h: Likewise.
17754         * intl/loadinfo.h: Likewise.
17755         * locale/global-locale.c: Likewise.
17756         * locale/localeinfo.h: Likewise.
17757         * mach/devstream.c: Likewise.
17758         * malloc/arena.c: Likewise.
17759         * malloc/set-freeres.c: Likewise.
17760         * misc/err.c: Likewise.
17761         * misc/getttyent.c: Likewise.
17762         * misc/mntent_r.c: Likewise.
17763         * posix/getopt.c: Likewise.
17764         * posix/wordexp.c: Likewise.
17765         * pwd/fgetpwent_r.c: Likewise.
17766         * resolv/Versions: Likewise.
17767         * resolv/res_hconf.c: Likewise.
17768         * shadow/fgetspent_r.c: Likewise.
17769         * shadow/putspent.c: Likewise.
17770         * stdio-common/printf_fphex.c: Likewise.
17771         * stdio-common/tmpfile.c: Likewise.
17772         * stdlib/abort.c: Likewise.
17773         * stdlib/fmtmsg.c: Likewise.
17774         * sunrpc/auth_unix.c: Likewise.
17775         * sunrpc/clnt_perr.c: Likewise.
17776         * sunrpc/clnt_tcp.c: Likewise.
17777         * sunrpc/clnt_udp.c: Likewise.
17778         * sunrpc/clnt_unix.c: Likewise.
17779         * sunrpc/openchild.c: Likewise.
17780         * sunrpc/svc_simple.c: Likewise.
17781         * sunrpc/svc_tcp.c: Likewise.
17782         * sunrpc/svc_udp.c: Likewise.
17783         * sunrpc/svc_unix.c: Likewise.
17784         * sunrpc/xdr.c: Likewise.
17785         * sunrpc/xdr_array.c: Likewise.
17786         * sunrpc/xdr_rec.c: Likewise.
17787         * sunrpc/xdr_ref.c: Likewise.
17788         * sunrpc/xdr_stdio.c: Likewise.
17789
17790 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
17791
17792         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17793
17794 2011-07-03  Andreas Jaeger  <aj@suse.de>
17795
17796         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
17797         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
17798         regenerate with gen-libm-tests.pl.
17799
17800 2010-05-12  Petr Baudis  <pasky@suse.cz>
17801
17802         [BZ #11589]
17803         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
17804         around j0() zero points by switching to j1().
17805         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17806         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17807         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17808         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17809
17810 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
17811
17812         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
17813         instead of 0.
17814         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
17815         instead of 0.                              .
17816         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17817         Patch in part by Pavel Roskin <proski@gnu.org>.
17818
17819         [BZ #13138]
17820         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
17821         realloc.
17822         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
17823         Free memory block if necessary.
17824
17825         [BZ #12847]
17826         * libio/genops.c (INTDEF): For string streams the _lock pointer can
17827         be NULL.  Don't lock in this case.
17828
17829 2011-09-09  Roland McGrath  <roland@hack.frob.com>
17830
17831         * elf/elf.h (ELFOSABI_GNU): New macro.
17832         (ELFOSABI_LINUX): Define to that.
17833
17834 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
17835
17836         * string/strncat.c (strncat): Undef the symbol in case it has been
17837         defined in bits/string.h.
17838
17839 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
17840
17841         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
17842
17843         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
17844         link map.
17845
17846 2011-08-17  Andreas Jaeger  <aj@suse.de>
17847
17848         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
17849
17850 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
17851             Ian Lance Taylor  <iant@google.com>
17852
17853         * math/libm-test.inc (lround_test): New testcase.
17854         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
17855
17856 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
17857
17858         * Makefile: Remove support for automatic cvs check-ins.
17859         * Makerules: Likewise.
17860         * config.make.in: Likewise.
17861         * configure.in: Likewise.
17862         * intl/Makefile: Likewise.
17863         * locale/Makefile: Likewise.
17864         * po/Makefile: Likewise.
17865         * posix/Makefile: Likewise.
17866         * sysdeps/gnu/Makefile: Likewise.
17867         * sysdeps/mach/hurd/Makefile: Likewise.
17868         * sysdeps/sparc/sparc32/Makefile: Likewise.
17869
17870         [BZ #13118]
17871         * posix/Makefile (bug-regex32-ENV): Define.
17872         Patch by John Stanley <jpsinthemix@verizon.net>.
17873
17874         * misc/Makefile (headers): Add bits/select2.h.
17875         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
17876         * misc/bits/select2.h: New file.
17877         * include/bits/select2.h: New file.
17878         * debug/Makefile (routines): Add fdelt_chk.
17879         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
17880         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
17881         FD_ISSET.
17882         * debug/fdelt_chk.c: New file.
17883
17884         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
17885         * wcsmbs/test-wmemcmp.c: Likewise.
17886         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
17887         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
17888
17889 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17890
17891         * string/Makefile (strop-tests): Add memcmp.
17892         * string/test-wmemcmp.c: New file.
17893         * string/test-memcmp.c: Add wmemcmp support.
17894
17895 2011-09-08  Roland McGrath  <roland@hack.frob.com>
17896
17897         [BZ #13153]
17898         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
17899         2011-07-19 change.
17900
17901         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
17902         garbage value in a __mach_port_mod_refs call in the cases of the
17903         task-self and thread-self ports.
17904
17905 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17906
17907         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
17908
17909 2011-09-08  Andreas Schwab  <schwab@redhat.com>
17910
17911         * elf/dl-load.c (lose): Check for non-null L.
17912
17913 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
17914
17915         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
17916
17917         * elf/dl-libc.c (dlerror_run): Pass back error code from
17918         dl_catch_error.
17919
17920         [BZ #13123]
17921         * elf/dl-load.c (lose): Free l_origin if it is valid.
17922
17923         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
17924         names.
17925         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
17926         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
17927         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
17928         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
17929         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
17930         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
17931
17932 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17933
17934         * sysdeps/powerpc/fpu/e_hypot.c: New file.
17935         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
17936         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
17937         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
17938         * sysdeps/powerpc/fpu/k_cosf.c: New file.
17939         * sysdeps/powerpc/fpu/k_sinf.c: New file.
17940         * sysdeps/powerpc/fpu/s_cosf.c: New file.
17941         * sysdeps/powerpc/fpu/s_sinf.c: New file.
17942         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
17943         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
17944
17945 2011-08-15  Alan Modra  <amodra@gmail.com>
17946
17947         [BZ #13092]
17948         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
17949         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
17950         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
17951         ppc_mcount to static-only-routines.
17952         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
17953         __mcount_internal.
17954         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
17955         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
17956
17957 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
17958
17959         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
17960         for finite and infinity parameters.
17961
17962 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
17963
17964         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
17965         and add nop instructions for throughput optimization.
17966         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17967
17968 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
17969
17970         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
17971         aligned copy for power7 with vector-scalar instructions.
17972         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
17973
17974 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
17975
17976         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
17977         AVX check.
17978
17979 2011-09-07  Andreas Schwab  <schwab@redhat.com>
17980
17981         [BZ #13144]
17982         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
17983         last change.
17984
17985 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
17986
17987         * sysdeps/unix/sysv/linux/x86_64/init-first.c
17988         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
17989         syscall wrapper around clock_gettime in __vdso_clock_gettime.
17990         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
17991         clock_gettime.
17992
17993 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
17994
17995         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
17996         Forgot to demangle the pointer.
17997
17998         * sysdeps/i386/sysdep.h: Define atom_text_section.
17999         * sysdeps/x86_64/sysdep.h: Likewise.
18000         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
18001         section with atom_text_section.
18002         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18003         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18004         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
18005         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
18006         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
18007
18008         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
18009         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
18010         already be defined.  Change to take two parameters and don't assign
18011         result to variable.  Adjust all users.
18012         Define INTERNAL_GETTIME if not already defined.
18013         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
18014         call.
18015         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
18016         HAVE_CLOCK_GETTIME_VSYSCALL.
18017         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
18018
18019         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
18020         gettimeofday vsyscall, just use time.
18021
18022 2011-09-06  Andreas Schwab  <schwab@redhat.com>
18023
18024         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
18025         <errno.h>.
18026
18027 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
18028
18029         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
18030         syscall on x86-64.
18031         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
18032         syscall.
18033         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
18034         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
18035         syscall if possible.
18036
18037 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
18038
18039         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
18040         e_ident.  Don't pass to find_mapsXX.
18041         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
18042
18043 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18044
18045         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18046         strchr-sse2-no-bsf strrchr-sse2-no-bsf
18047         * sysdeps/x86_64/multiarch/strchr.S: Update.
18048         Check bit_slow_BSF bit.
18049         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18050         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
18051         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
18052
18053 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
18054
18055         [BZ #13134]
18056         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
18057         before glibc 2.15.
18058         (tryshell): Define.
18059         (__spawni): Change last parameter to be flag.  Test
18060         SPAWN_XFLAGS_USE_PATH flag to use path or not.
18061         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
18062         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
18063         * posix/spawni.c: Likewise.
18064         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
18065         * posix/spawnp.c: Likewise.  Change normal version to use
18066         SPAWN_XFLAGS_USE_PATH.
18067         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
18068         SPAWN_XFLAGS_TRY_SHELL.
18069
18070         [BZ #13150]
18071         * posix/glob.h: Remove gcc 1.x support.
18072
18073         [BZ #13068]
18074         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
18075
18076 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18077
18078         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18079         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
18080         strrchr-sse2-bsf
18081         * sysdeps/i386/i686/multiarch/strchr.S: New file.
18082         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
18083         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
18084         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
18085         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
18086         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
18087
18088 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18089
18090         * sysdeps/x86_64/wcscmp.S: New file.
18091
18092         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
18093         wcscmp-c wcscmp-sse2
18094         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
18095         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
18096         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
18097         * wcsmbs/wcscmp.c: Allow renaming.
18098
18099 2011-09-05  David S. Miller  <davem@davemloft.net>
18100
18101         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
18102         stack slot, rather than the struct return pointer slot.
18103         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
18104         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
18105         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
18106         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
18107
18108 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
18109
18110         * po/ja.po: Update from translation team.
18111
18112         [BZ #13144]
18113         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
18114         kernel in 64-bit binaries.
18115
18116 2011-09-01  David S. Miller  <davem@davemloft.net>
18117
18118         * elf/elf.h (HWCAP_SPARC_*): Move to..
18119         * sysdeps/sparc/sysdep.h: this new file and add new values.
18120         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
18121         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
18122         _DL_HWCAP_COUNT to 24.
18123         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18124         entries.
18125         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
18126         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
18127         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
18128         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
18129         instead of magic constants.
18130         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18131
18132 2011-08-31  David S. Miller  <davem@davemloft.net>
18133
18134         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
18135         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
18136         Reimplement to do errno handling inline.
18137         (SYSCALL_ERROR_HANDLER): New macro.
18138         (__SYSCALL_STRING): Do not do errno handling in asm.
18139         (__CLONE_SYSCALL_STRING): Delete.
18140         (__INTERNAL_SYSCALL_STRING): Delete.
18141         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
18142         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
18143         (PSEUDO): Reimplement to do errno handling inline.
18144         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
18145         (SYSCALL_ERROR_HANDLER): New macro.
18146         (__SYSCALL_STRING): Do not do errno handling in asm.
18147         (__CLONE_SYSCALL_STRING): Delete.
18148         (__INTERNAL_SYSCALL_STRING): Delete.
18149         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
18150         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
18151         i386.
18152         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
18153         (inline_syscall*): Add 'err' argument.
18154         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
18155         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
18156         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
18157         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
18158
18159         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
18160         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18161
18162 2011-08-30  Andreas Schwab  <schwab@redhat.com>
18163
18164         * elf/rtld.c (dl_main): Relocate objects in dependency order.
18165
18166 2011-08-29  Jiri Olsa <jolsa@redhat.com>
18167
18168         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
18169         directive.
18170
18171 2011-08-24  David S. Miller  <davem@davemloft.net>
18172
18173         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
18174
18175 2011-08-24  Andreas Schwab  <schwab@redhat.com>
18176
18177         * elf/Makefile: Add rules to build and run unload8 test.
18178         * elf/unload8.c: New file.
18179         * elf/unload8mod1.c: New file.
18180         * elf/unload8mod1x.c: New file.
18181         * elf/unload8mod2.c: New file.
18182         * elf/unload8mod3.c: New file.
18183
18184         * elf/dl-close.c (_dl_close_worker): Reset private search list if
18185         it wasn't used.
18186
18187 2011-08-23  David S. Miller  <davem@davemloft.net>
18188
18189         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
18190         subtract stack bias.
18191         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
18192         %sp not %fp in calculations.
18193         (_JMPBUF_UNWINDS_ADJ): Likewise.
18194
18195         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
18196         (aio_suspend): Call it to force an exception region around the
18197         AIO_MISC_WAIT() invocation.
18198
18199 2011-08-23  Andreas Schwab  <schwab@redhat.com>
18200
18201         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
18202         backslash.
18203
18204 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
18205
18206         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
18207         protection macro.
18208         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
18209         and <dl-machine.h>.
18210         (Elf64_FuncDesc): Remove.
18211
18212 2011-08-22  David S. Miller  <davem@davemloft.net>
18213
18214         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
18215         sigaltstack check, add missing cfi directives.
18216         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
18217         missing cfi directives, and sigaltstack handling.
18218
18219 2011-08-16  Andreas Schwab  <schwab@redhat.com>
18220
18221         [BZ #11724]
18222         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
18223         object is seen twice.
18224         * elf/dl-fini.c (_dl_sort_fini): Likewise.
18225
18226         * elf/Makefile (distribute): Add tst-initorder2.c.
18227         (tests): Add tst-initorder2.
18228         (modules-names): Add tst-initorder2a tst-initorder2b
18229         tst-initorder2c tst-initorder2d.  Add rules to build them.
18230         ($(objpfx)tst-initorder2.out): New rule.
18231         * elf/tst-initorder2.c: New file.
18232         * elf/tst-initorder2.exp: New file.
18233
18234 2011-08-22  Andreas Schwab  <schwab@redhat.com>
18235
18236         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
18237
18238         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
18239         dependencies back to end of function.
18240
18241         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18242         $(elfobjdir)/ld.so.
18243
18244 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
18245
18246         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
18247         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
18248         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
18249         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
18250         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
18251         of __vdso_gettimeofday.
18252         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
18253         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
18254         attribute_hidden.
18255         (_libc_vdso_platform_setup): Remove initialization of
18256         __vdso_gettimeofday and __vdso_time.
18257
18258 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
18259
18260         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
18261         and fgetc_unlocked.
18262         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
18263         getc_unlocked.
18264
18265         * elf/dl-open.c (add_to_global): Report additions to the global scope
18266         for LD_DEBUG=scopes.
18267         (dl_open_worker): Also print scope of newly loaded dependencies.
18268         (_dl_show_scope): Indicate if there is no scope.
18269
18270         [BZ #13114]
18271         * stdio-common/Makefile (tests): Add bug24.
18272         * stdio-common/bug24.c: New file.
18273
18274 2011-08-19  Andreas Jaeger  <aj@suse.de>
18275
18276         [BZ #13114]
18277         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
18278         non-existant file when using close-on-exec mode.
18279
18280 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
18281
18282         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
18283         the very first instruction.
18284
18285         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
18286         the CFI state in the end.
18287         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
18288         inclusion of dl-trampoline.h.
18289         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
18290
18291 2011-08-19  Andreas Schwab  <schwab@redhat.com>
18292
18293         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
18294         expectations for long double.
18295
18296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
18297         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
18298
18299 2011-08-14  David S. Miller  <davem@davemloft.net>
18300
18301         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
18302         artificual limit depends upon the system page size.
18303
18304 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
18305
18306         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
18307         * resolv/Makefile: Define CFLAGS-libresolv.
18308
18309 2011-08-17  Andreas Schwab  <schwab@redhat.com>
18310
18311         * nss/makedb.c (compute_tables): Make variables used in nested
18312         function static.
18313
18314 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
18315
18316         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
18317         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
18318         if buffer was too small.
18319
18320         * elf/pldd.c (main): Attach to all threads in the process.
18321         Rewrite /proc handling to use *at functions.
18322
18323 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
18324
18325         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
18326         specifies first scope to show.
18327         (dl_open_worker): Update callers.  Move printing scope of new
18328         object to before the relocation.
18329         * elf/rtld.c (dl_main): Update _dl_show_scope call.
18330         * sysdeps/generic/ldsodefs.h: Update declaration.
18331
18332         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
18333         string for the scope number.
18334
18335 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
18336
18337         * nscd/servicescache.c (cache_addserv): Make sure written is always
18338         initialized.
18339
18340 2011-08-14  Roland McGrath  <roland@hack.frob.com>
18341
18342         * sysdeps/i386/i486/bits/atomic.h
18343         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
18344         statement expression, so as to suppress "set but not used" warning.
18345         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
18346
18347         * string/strncat.c (STRNCAT): Use prototype definition.
18348
18349         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
18350         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
18351         -Iprograms here.
18352         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
18353         (localedef-modules): Add localedef.
18354         (locale-modules): Add locale.
18355
18356         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
18357         * elf/rtld.c (dl_main): Invert order of assignment in last change,
18358         to avoid a warning.
18359
18360 2011-08-14  David S. Miller  <davem@davemloft.net>
18361
18362         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
18363         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
18364
18365 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
18366
18367         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
18368         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
18369         * elf/rtld.c (dl_main): Set l_name of vDSO.
18370         Call _dl_show_scope when DL_DEBUG_SCOPES.
18371         (process_dl_debug): Recognize scopes flag and also set it for all.
18372         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
18373         Declare _dl_show_scope.
18374
18375         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
18376         (do_dlopen): Pass caller_dlopen to dl_open.
18377         (__libc_dlopen_mode): Initialize caller_dlopen.
18378
18379         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
18380         of libc.  Make tolower call locale-independent.  Optimize a bit by
18381         using isdigit instead of isalnum.
18382         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
18383
18384 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
18385
18386         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
18387         was a dependency or dynamically loaded.
18388
18389 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
18390
18391         * intl/l10nflist.c: Allow architecture-specific pop function.
18392         * sysdeps/x86_64/l10nflist.c: New file.
18393
18394         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
18395         classification.
18396
18397 2011-08-10  Andreas Schwab  <schwab@redhat.com>
18398
18399         * include/dirent.h: Add libc_hidden_proto for scandirat and
18400         scandirat64.  Don't declare __scandirat64.
18401         * dirent/scandirat.c: Add libc_hidden_def.
18402         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
18403         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
18404
18405 2011-08-10  David S. Miller  <davem@davemloft.net>
18406
18407         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
18408         enum.
18409         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18410         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18411         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18412
18413 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
18414
18415         * Versions.def [libc]: Add GLIBC_2.15.
18416         * dirent/Makefile (routines): Add scandirat and scandirat64.
18417         * dirent/Versions [libc]: Export scandirat and scandirat64 for
18418         GLIBC_2.15.
18419         * dirent/dirent.h: Declare scandirat and scandirat64.
18420         * dirent/scandirat.c: New file.
18421         * dirent/scandirat64.c: New file.
18422         * sysdeps/wordsize-64/scandirat.c: New file.
18423         * sysdeps/wordsize-64/scandirat64.c: New file.
18424         * dirent/opendir.c: Define opendirat.
18425         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
18426         using scandirat.
18427         * dirent/scandir64.c: Adjust for scandir.c change.
18428         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
18429         __scandirat64, and __scandir_cancel_handler.
18430         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
18431         additional parameter and use openat instead of open (outside of ld.so).
18432         Add new __opendir as wrapper around __opendirat.
18433         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
18434         here without requiring old scandirat implementation.
18435
18436 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
18437
18438         * dirent/scandir.c (cancel_handler): Renamed to
18439         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
18440         defined.  Adjust users.
18441         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
18442         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
18443
18444 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
18445
18446         * string/test-string.h (IMPL): Use __STRING to expand name and then
18447         stringify it.
18448
18449         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
18450         of cleanups.
18451
18452 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18453
18454         * string/Makefile: Update.
18455         (strop-tests): Append strncat.
18456         * string/test-wcscmp.c: New file.
18457         New comprehensive test for wcscmp.
18458         * string/test-strcmp.c: Update.
18459         (WIDE): New define.
18460
18461 2011-07-22  Andreas Schwab  <schwab@redhat.com>
18462
18463         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
18464         line.
18465
18466 2011-07-26  Andreas Schwab  <schwab@redhat.com>
18467
18468         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18469         encoding to ACE if AI_IDN.
18470
18471 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
18472
18473         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
18474         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
18475
18476 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18477
18478         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
18479         Fix overflow bug in strncat.
18480         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
18481
18482         * string/test-strncat.c: Update.
18483         Add new tests for checking overflow bugs.
18484
18485 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18486
18487         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18488         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
18489         * sysdeps/i386/i686/multiarch/strcat.S: New file.
18490         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
18491         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
18492         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
18493         * sysdeps/i386/i686/multiarch/strncat.S: New file.
18494         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
18495         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
18496
18497         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
18498         (USE_AS_STRCAT): Define.
18499         Add strcat and strncat support.
18500         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18501
18502 2011-07-25  Andreas Schwab  <schwab@redhat.com>
18503
18504         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
18505         __n bigger than INT_MAX+1.
18506         (__strncmp_g): Likewise.
18507
18508 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
18509
18510         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
18511         * libio/stido.h: Likewise.
18512
18513         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
18514         (AF_NFC): Define.
18515         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
18516         (AF_NFC): Define.
18517
18518         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
18519         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18520         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18521         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18522         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18523
18524         [BZ #13021]
18525         * scripts/test-installation.pl: Don't expect libnss_test1 to be
18526         installed.
18527
18528         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
18529         typo.
18530         (_dl_x86_64_save_sse): Likewise.
18531
18532 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
18533
18534         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
18535         OSXSAVE.
18536         (_dl_x86_64_save_sse): Likewise.
18537
18538         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
18539
18540         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
18541
18542 2011-07-21  Andreas Schwab  <schwab@redhat.com>
18543
18544         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
18545         change.
18546         (_dl_x86_64_save_sse): Use correct AVX check.
18547
18548 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18549
18550         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
18551         bug in strncpy/strncat.
18552         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
18553
18554 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
18555
18556         * string/tester.c (test_strcat): Add tests for different alignments
18557         of source and destination.
18558         (test_strncat): Likewise.
18559
18560 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
18561
18562         [BZ #12852]
18563         * posix/glob.c (glob): Check passed in values before using them in
18564         expressions to avoid some overflows.
18565         (glob_in_dir): Likewise.
18566
18567         [BZ #13007]
18568         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
18569         check for AVX enablement so that we don't crash with old kernels and
18570         new hardware.
18571         * elf/tst-audit4.c: Add same checks here.
18572         * elf/tst-audit6.c: Likewise.
18573
18574         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
18575
18576 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
18577
18578         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
18579
18580 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
18581
18582         * po/cs.po: Update from translation team.
18583         * po/bg.po: Likewise.
18584
18585 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
18586
18587         * misc/sys/cdefs.h: Add support for const attribute.
18588         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
18589         to gnu_dev_{major,minor,makedev} functions.
18590
18591 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
18592
18593         * intl/dcigettext.c (get_output_charset): Add missing bracket.
18594
18595 2011-07-20  Andreas Schwab  <schwab@redhat.com>
18596
18597         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
18598         strlen results.
18599
18600 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18601
18602         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
18603         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
18604         register in order to avoid conflicts with the soft frame pointer
18605         being held in r11 when necessary.
18606         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
18607         (INTERNAL_VSYSCALL_NCS): Likewise.
18608
18609 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
18610
18611         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
18612         * elf/dl-fini.c (_dl_fini): Adjust caller.
18613         * elf/dl-close.c (_dl_close_worker): Likewise.
18614         * sysdeps/generic/ldsodefs.h: Adjust declaration.
18615
18616 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
18617
18618         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
18619         "aux_cache->nlibs < 0".
18620
18621         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
18622         in the reload-count case.
18623
18624 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18625
18626         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18627         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
18628         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
18629         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
18630         * sysdeps/x86_64/multiarch/strcat.S: New file.
18631         * sysdeps/x86_64/multiarch/strncat.S: New file.
18632         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
18633         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
18634         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
18635         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
18636         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
18637         (USE_AS_STRCAT): Define.
18638         Add strcat and strncat support.
18639         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
18640         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18641         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
18642         * string/strncat.c: Update.
18643         (USE_AS_STRNCAT): Define.
18644         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18645         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
18646         and i7.
18647         * sysdeps/x86_64/multiarch/init-arch.h
18648         (bit_Prefer_PMINUB_for_stringop): New.
18649         (index_Prefer_PMINUB_for_stringop): Likewise.
18650         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
18651         bit_Prefer_PMINUB_for_stringop.
18652
18653 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
18654
18655         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
18656         buffer64.
18657         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
18658         of casting of buffer.
18659         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
18660         buffer32 and buffer64.
18661         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
18662         writes instead of casting of buffer.
18663         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
18664         buffer32.
18665         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
18666         casting of buffer.
18667
18668 2011-07-19  Andreas Schwab  <schwab@redhat.com>
18669
18670         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
18671
18672 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
18673
18674         * nscd/nscd.c (termination_handler): Don't do anything for a database
18675         if it has not yet been initialized.
18676
18677 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
18678
18679         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
18680
18681 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
18682
18683         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
18684
18685 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
18686
18687         * po/nl.po: Update from translation team.
18688         * po/sv.po: Likewise.
18689
18690 2011-07-16  Roland McGrath  <roland@hack.frob.com>
18691
18692         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
18693         now disallowed by GCC.
18694
18695         * configure.in (use-default-link): Default to yes if a test -shared
18696         link meets our qualifications.
18697         * configure: Regenerated.
18698
18699         * config.make.in (output-format): New variable.
18700         * configure.in: Check for ld --print-output-format support.
18701         * configure: Regenerated.
18702         * Makerules ($(common-objpfx)format.lds)
18703         [$(output-format) != unknown]: Just use $(output-format),
18704         instead of the linker-script munging.
18705
18706 2011-07-14  Roland McGrath  <roland@hack.frob.com>
18707
18708         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
18709         of $(common-objpfx)shlib.lds.
18710         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
18711
18712         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
18713         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
18714
18715         * configure.in (-z relro check): Adjust test code to add a large
18716         writable data section after it.
18717         * configure: Regenerated.
18718
18719 2011-07-11  Roland McGrath  <roland@hack.frob.com>
18720
18721         * configure.in (-z relro check): Fix test code to make the variable
18722         truly const.
18723         * configure: Regenerated.
18724
18725 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
18726
18727         * nscd/nscd.h (struct traced_file): Define.
18728         (struct database_dyn): Remove inotify_descr, reset_res, and filename
18729         elements.  Add traced_files.
18730         (inotify_fd): Declare.
18731         (register_traced_file): Declare.
18732         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
18733         (inotify_fd): Export.
18734         (resolv_conf_descr): Remove.
18735         (nscd_init): Move inotify descriptor creation to main.
18736         Don't register files for notification here.
18737         (register_traced_file): New function.
18738         (invalidate_cache): Don't use reset_res to determine whether to call
18739         res_init, go through the list of registered files.
18740         (main_loop_poll): The inotify descriptors are now stored in the
18741         structures for the traced files.
18742         (main_loop_epoll): Likewise
18743         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
18744         to __nss_disable_nscd.
18745         * nscd/cache.c (prune_cache): There is no single inotify descriptor
18746         for a database anymore.  Check the records for all the registered
18747         files instead.
18748         * nss/Makefile (libnss_files-routines): Add files-init.
18749         (libnss_db-routines): Add db-init.
18750         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
18751         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
18752         * nss/nss_db/db-init.c: New file.
18753         * nss/nss_files/files-init.c: New file.
18754         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
18755         __nss_lookup_function.
18756         (__nss_lookup_function): Call nss_load_library.
18757         (nss_load_all_libraries): New function.
18758         (__nss_disable_nscd): Take parameter with callback function for files
18759         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
18760         used for the cached services.
18761         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
18762         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
18763         options for features to all the files in nscd.
18764
18765         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
18766
18767 2011-07-10  Roland McGrath  <roland@hack.frob.com>
18768
18769         * csu/elf-init.c (__libc_csu_init): Comment typo.
18770
18771 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
18772
18773         * po/pl.po: Update from translation team.
18774         * po/ja.po: Likewise.
18775         * po/ru.po: Likewise.
18776         * po/ko.po: Likewise.
18777         * po/fr.po: Likewise.
18778
18779 2011-07-09  Roland McGrath  <roland@hack.frob.com>
18780
18781         * configure.in (.ctors/.dtors header and trailer check):
18782         Use an empirical test on a built program.
18783         * configure: Regenerated.
18784
18785         * configure.in (-z relro check): Use an empirical test on a built DSO.
18786         Detect, but do not require, on ia64.
18787         * configure: Regenerated.
18788
18789         * configure.in (READELF): Find it with AC_CHECK_TOOL.
18790         Update tests that use readelf to use $READELF instead.
18791         * configure: Regenerated.
18792
18793 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
18794
18795         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
18796         if the result is not used.
18797
18798 2011-07-05  Andreas Jaeger  <aj@suse.de>
18799
18800         [BZ#9696]
18801         * stdlib/tst-strtod.c: Add testcase.
18802
18803 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
18804
18805         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
18806         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
18807         The latter has a higher limit.  Take additional parameter to pass to
18808         the new function.
18809         (__pathconf): Pass file to __statfs_link_max.
18810         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
18811         __statfs_link_max.
18812         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
18813         __statfs_link_max.
18814
18815         [BZ #12868]
18816         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
18817         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18818         Handle Lustre.
18819         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
18820         (__statfs_filesize_max): Likewise.
18821         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
18822
18823 2011-07-05  Andreas Jaeger  <aj@suse.de>
18824
18825         * resolv/res_comp.c (dn_skipname): Remove unused variable.
18826
18827 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
18828
18829         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
18830         `status' variable.
18831         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
18832         Likewise.
18833
18834 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
18835
18836         * Makefile (strop-tests): Add strncat.
18837         * string/test-strncat.c: New file.
18838
18839 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
18840
18841         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
18842
18843 2011-06-21  Andreas Jaeger  <aj@suse.de>
18844
18845         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
18846         Copy rule from iconvdata/Makefile.
18847
18848 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
18849
18850         [BZ #12922]
18851         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
18852         but no long options are defined, just return 'W'.
18853
18854 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
18855
18856         [BZ #9696]
18857         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
18858
18859 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
18860
18861         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
18862         netgroups to read.
18863         (innetgr): Likewise.
18864
18865 2011-07-05  Roland McGrath  <roland@hack.frob.com>
18866
18867         * config.make.in (install_root): Default to $(DESTDIR).
18868
18869 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
18870
18871         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
18872
18873 2011-07-02  Roland McGrath  <roland@hack.frob.com>
18874
18875         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
18876
18877         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
18878         containing directory rather than embedding absolute directory names.
18879
18880         * scripts/check-local-headers.sh: Rewritten using awk.
18881         Match by word, not by line.  Print error messages for matches.
18882         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
18883
18884         * Makerules [shlib-lds-flags empty]:
18885         ($(common-objpfx)libc_pic.opts): New target.
18886         ($(common-objpfx)libc_pic.os.clean): New target.
18887         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
18888
18889         * config.make.in (OBJCOPY): New variable.
18890         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
18891         * configure: Regenerated.
18892
18893         * config.make.in (use-default-link): New variable.
18894         * configure.in (use_default_link): Grok --with-default-link to set it.
18895         * configure: Regenerated.
18896         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
18897         (shlib-lds, shlib-lds-flags): Define to empty.
18898
18899         * Makerules (shlib-lds): New variable.
18900         (shlib-lds-flags): New variable.
18901         (build-shlib, build-moduile, build-module-asneeded): Use it.
18902         ($(common-objpfx)libc.so): Use $(shlib-lds).
18903         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
18904         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
18905
18906         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
18907         DT_FLAGS/DT_FLAGS_1 with zero flags.
18908
18909         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
18910         linker script munging.
18911
18912 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
18913
18914         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
18915         as 128-bit value.
18916         * crypt/sha512.c (sha512_process_block): Perform total addition using
18917         128-bit if possible.
18918         (__sha512_finish_ctx): Likewise.
18919         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
18920         as 64-bit value.
18921         * crypt/sha256.c (SWAP64): Define.
18922         (sha256_process_block): Perform total addition using 64-bit if
18923         possible.
18924         (__sha256_finish_ctx): Likewise.
18925
18926 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
18927
18928         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
18929         * nscd/initgrcache.c (addinitgroupsX): Likewise.
18930         * nscd/hstcache.c (cache_addhst): Likewise.
18931         * nscd/grpcache.c (cache_addgr): Likewise.
18932         * nscd/aicache.c (addhstaiX): Likewise
18933         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
18934
18935 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
18936
18937         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
18938         * nscd/initgrcache.c (addinitgroupsX): Likewise.
18939         * nscd/hstcache.c (cache_addhst): Likewise.
18940         * nscd/grpcache.c (cache_addgr): Likewise.
18941         * nscd/aicache.c (addhstaiX): Likewise
18942
18943 2011-07-01  Andreas Schwab  <schwab@redhat.com>
18944
18945         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
18946         domain only when needed.
18947
18948 2011-06-30  Andreas Schwab  <schwab@redhat.com>
18949
18950         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
18951         is always restored.
18952
18953 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
18954
18955         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
18956         are re-adding the entry.
18957         * nscd/servicescache.c (cache_addserv): Likewise.
18958
18959 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
18960
18961         * sysdeps/generic/dl-irel.h: fix protection against multiple
18962         inclusions.
18963         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
18964
18965 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
18966
18967         [BZ #12935]
18968         * malloc/memusage.sh: Fix quoting in message.
18969         * debug/xtrace.sh: Likewise.
18970
18971         * configure.in: Remove support for --experimental-malloc option, make
18972         it the default.
18973         * config.make.in: Likewise.
18974         * malloc/Makefile: Likewise.
18975
18976 2011-06-27  Andreas Schwab  <schwab@redhat.com>
18977
18978         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
18979         two-byte characters.
18980
18981 2011-06-27  Roland McGrath  <roland@hack.frob.com>
18982
18983         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
18984         AC_CACHE_CHECK invocation.
18985         * configure: Regenerated.
18986
18987         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
18988
18989 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
18990
18991         [BZ #12350]
18992         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
18993         bit from old_res_options.
18994
18995         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
18996
18997         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
18998         value type for setfct.
18999
19000 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
19001
19002         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19003         __gettimeofday instead of gettimeofday.
19004
19005 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
19006
19007         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
19008
19009 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
19010
19011         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
19012
19013         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
19014         info.
19015
19016 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
19017
19018         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19019         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19020         strcpy-sse2-unaligned strncpy-sse2-unaligned
19021         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
19022         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
19023         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
19024         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
19025         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
19026         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
19027         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
19028         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
19029         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
19030         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
19031         (STRCPY): Support SSE2 and SSSE3 versions.
19032
19033 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
19034
19035         [BZ #12874]
19036         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
19037         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
19038         kernels which artificially limit size of requests.
19039
19040 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
19041
19042         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19043         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19044         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
19045         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
19046         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
19047         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
19048         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
19049         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
19050         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
19051         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
19052         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
19053         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
19054         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
19055         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
19056         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
19057         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19058         Enable unaligned load optimization for Intel Core i3, i5 and i7
19059         processors.
19060         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
19061         Define.
19062         (index_Fast_Unaligned_Load): Define.
19063         (HAS_FAST_UNALIGNED_LOAD): Define.
19064
19065 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
19066
19067         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
19068
19069 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
19070
19071         [BZ #12907]
19072         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
19073         until it is clear that the information is realy needed.
19074         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
19075
19076 2011-06-22  Andreas Schwab  <schwab@redhat.com>
19077
19078         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
19079
19080 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
19081
19082         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19083         /sys/devices/system/cpu/online if it is usable.
19084
19085         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
19086         reading the information from the /proc filesystem to once a second.
19087
19088 2011-06-21  Andreas Jaeger  <aj@suse.de>
19089
19090         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
19091         NULL after inclusion of kernel headers.
19092
19093 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
19094
19095         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
19096         calls to internal_setent.
19097
19098         [BZ #12885]
19099         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
19100         addresses using gethostbyname4_r ignore IPv4 addresses.
19101
19102         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
19103         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
19104
19105         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
19106
19107 2011-06-20  David S. Miller  <davem@davemloft.net>
19108
19109         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
19110         inclusions.
19111         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
19112
19113         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
19114         (elf_irel): Use it.
19115         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
19116         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
19117         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
19118         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
19119         * sysdeps/x86_64/dl-irel.h: Likewise.
19120
19121         * elf/dl-runtime.c: Use elf_ifunc_invoke.
19122         * elf/dl-sym.c: Likewise.
19123
19124 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
19125
19126         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
19127         need to dereference resplen2.
19128
19129 2011-06-14  Andreas Schwab  <schwab@redhat.com>
19130
19131         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
19132
19133 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
19134
19135         * Makeconfig: Define vardbdir and inst_vardbdir.
19136         * nss/Makefile: Add rules to install db-Makefile.
19137
19138         * nss/nss_db/db-XXX.c: Cleanup.
19139
19140         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
19141         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
19142         GLIBC_PRIVATE.
19143         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
19144         * nss/makedb.c: Implement -g option to specify that value strings
19145         are generated and should not be added to table iterated over for
19146         get*ent calls.
19147         * nss/nss_db/db-initgroups.c: New file.
19148
19149         * nss/getent.c: Add support for initgroups lookups through getgrouplist
19150         interface.
19151
19152         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
19153         (internal_getgrouplist): Adjust to name change.
19154         Update use_initgroups_entry if this is not the first call.
19155         * nss/databases.def: Add initgroups entry.
19156
19157         * nss/makedb.c (compute_tables): Check result of multiple hash table
19158         sizes to minimize maximum chain length.
19159
19160 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
19161
19162         * Versions.def: Add entry for libnss_db.
19163         * shlib-versions: Likewise.
19164         * nss/Makefile: Add rules to build libnss_db.
19165         * nss/Versions: Add libnss_db information.  Organize libnss_files
19166         entries better.
19167         * nss/db-Makefile: Add gshadow support.  Change rules for the new
19168         makedb progra.  Some minor improvements to generate smaller files.
19169         * nss/nss_db/nss_db.h: Move NSS database header data structures to
19170         here from...
19171         * nss/makedb.c: ...here.
19172         Improve database format to be smaller and require less memory at
19173         runtime.
19174         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
19175         db anymore.
19176         * nss/nss_db/db-netgrp.c: Likewise.
19177         * nss/nss_db/db-open.c: Likewise.
19178         * nss/nss_files/flies-XXX.x: Adjust comments.
19179         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
19180         * nss/nss_files/files-grp.c: Likewise.
19181         * nss/nss_files/files-hosts.c: Likewise.
19182         * nss/nss_files/files-network.c: Likewise.
19183         * nss/nss_files/files-proto.c: Likewise.
19184         * nss/nss_files/files-pwd.c: Likewise.
19185         * nss/nss_files/files-rpc.c: Likewise.
19186         * nss/nss_files/files-service.c: Likewise.
19187         * nss/nss_files/files-sgrp.c: Likewise.
19188         * nss/nss_files/files-spwd.c: Likewise.
19189         * nss/nss_db/db-alias.c: Removed.
19190         * nss/nss_db/dummy-db.h: Removed.
19191
19192 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
19193
19194         * nss/makedb.c: Rewritten to not use database library.
19195         * nss/Makefile: Update to build new makedb program.
19196
19197 2011-06-14  Andreas Jaeger  <aj@suse.de>
19198
19199         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
19200         memset declaration.
19201
19202 2011-06-10  Andreas Schwab  <schwab@redhat.com>
19203
19204         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
19205         tmpbuf.
19206
19207 2011-06-10  Roland McGrath  <roland@hack.frob.com>
19208
19209         * Makerules (shlib.lds): Fail if the linker script comes out empty.
19210         * elf/Makefile ($(objpfx)ld.so): Likewise.
19211
19212         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
19213         Don't list ld.so twice in dependencies.
19214
19215         * posix/bug-regex31.c: Include <stdlib.h>.
19216
19217         * nscd/hstcache.c (cache_addhst): Remove unused variable.
19218
19219         * nis/nss_compat/compat-spwd.c
19220         (getspent_next_nss_netgr): Remove unused variable.
19221         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
19222
19223         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
19224         nonmembers" output to use the right array.
19225
19226         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
19227
19228         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
19229
19230         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
19231         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
19232         * catgets/gencat.c (read_input_file): Likewise.
19233         * locale/programs/locarchive.c (enlarge_archive): Likewise.
19234
19235         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
19236         variable definition inside #if's controlling its use.
19237
19238         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
19239
19240         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
19241
19242         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
19243
19244         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
19245         unreachable code.
19246
19247         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
19248
19249         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
19250         * configure: Regenerated.
19251
19252         * Makerules: Revert last change.
19253         * elf/Makefile: Likewise.
19254
19255 2011-06-09  Roland McGrath  <roland@hack.frob.com>
19256
19257         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
19258         * elf/Makefile ($(objpfx)librtld.os): Likewise.
19259         (reloc-link): Likewise.
19260
19261 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
19262
19263         * elf/Makefile: Add rules to build pldd.
19264         * elf/pldd.c: New file.
19265         * elf/pldd-xx.c: New file.
19266
19267 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
19268
19269         * version.h: Update for 2.15 development version.
19270
19271 2011-06-07  David S. Miller  <davem@davemloft.net>
19272
19273         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
19274         ifuncs.
19275         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
19276         elf_machine_lazy_rel): Likewise.
19277         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
19278         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
19279         elf_machine_lazy_rel): Likewise.
19280         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
19281         dl_hwcap via passed in argument.
19282         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
19283         Likewise.
19284
19285 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19286
19287         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
19288
19289 2011-06-06  Roland McGrath  <roland@hack.frob.com>
19290
19291         [BZ #12849]
19292         * manual/fdl-1.1.texi: New file, verbatim from:
19293         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
19294         * manual/lgpl-2.1.texi: New file, verbatim from:
19295         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
19296         * manual/Makefile (licenses): New variable, list those new file names.
19297         (texis): Use it.
19298         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
19299
19300         * manual/fdl.texi: File removed.
19301         * manual/lesser.texi: File removed.
19302         * manual/libc.texinfo (Copying, Documentation License):
19303         Use new @include file names, put @appendix directive before @include.
19304
19305 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
19306
19307         [BZ #12841]
19308         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
19309         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
19310         (mq_open): Add __NTH.
19311
19312 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
19313
19314         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19315         Assume Intel Core i3/i5/i7 processor if AVX is available.
19316
19317 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
19318
19319         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
19320         typo.
19321
19322 2011-05-31  Andreas Schwab  <schwab@redhat.com>
19323
19324         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
19325         memory.  Use alloca_account.  Fix memory leak when retrying.
19326
19327 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
19328
19329         * version.h (RELEASE): Bump for 2.14 release.
19330         * include/features.h (__GLIBC_MINOR__): Bump to 14.
19331
19332         * config.make.in (RANLIB): Remove entry.
19333
19334 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
19335
19336         * po/Makefile (po-sed-cmd): Add ksh to extensions.
19337         (libc.pot): Work around missing support for .ksh extension in xgettext.
19338
19339         [BZ #12684]
19340         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
19341         if both request failed.
19342         (send_dg): In case of server errors clear resplen or *resplen2.
19343
19344         [BZ #12454]
19345         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
19346         when there are multiple maps.
19347         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
19348         (_dl_fini): Remove test here.
19349
19350         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
19351
19352 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
19353
19354         [BZ #12350]
19355         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
19356         bit from old_res_options.
19357         (gaih_inet): Likewise.
19358
19359         [BZ #11099]
19360         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
19361         as signed.
19362
19363         * resolv/res_init.c (res_setoptions): Make the code more compact.
19364
19365         [BZ #11558]
19366         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
19367         set RES_USEVC.
19368
19369         [BZ #11634]
19370         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
19371
19372         * malloc/malloc.h: Mark malloc hook variables as deprecated.
19373
19374         [BZ #11781]
19375         * malloc/malloc.h: Declare malloc hook variables as volatile.
19376
19377         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
19378         in last patch.
19379
19380         [BZ #11799]
19381         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
19382         raise in the comment.
19383         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19384         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19385         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
19386
19387 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
19388
19389         [BZ #12811]
19390         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
19391         grow the buffers more if it already has to be sufficient.
19392         (build_wcs_upper_buffer): Likewise.
19393         * posix/regexec.c (check_matching): Likewise.
19394         (clean_state_log_if_needed): Likewise.
19395         (extend_buffers): Don't enlarge buffers beyond size of the input
19396         buffer.
19397         Patches mostly by Emil Wojak <emil@wojak.eu>.
19398         * posix/bug-regex32.c: New file.
19399         * posix/Makefile (tests): Add bug-regex32.
19400
19401         * locale/findlocale.c (_nl_find_locale): Return right away if
19402         _nl_explode_name failed.
19403         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
19404
19405         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
19406
19407         * debug/xtrace.sh: Unify messages.
19408         * malloc/memusage.sh: Likewise.
19409
19410         [BZ #12813]
19411         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
19412         time symbol from vDSO.  Substitute with vsyscall if not available.
19413         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
19414         __vdso_time.
19415
19416         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
19417         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
19418         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
19419         Add sendmmsg and internal_sendmmsg.
19420         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
19421         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
19422         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
19423
19424         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
19425         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
19426         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
19427
19428 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
19429
19430         [BZ #12813]
19431         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
19432         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
19433         available.
19434         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
19435         __vdso_getcpu.
19436
19437         [BZ #12814]
19438         * iconvdata/Makefile (tests): Add bug-iconv9.
19439         * iconvdata/bug-iconv9.c: New file.
19440
19441 2011-05-27  Andreas Schwab  <schwab@redhat.com>
19442
19443         [BZ #12814]
19444         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
19445
19446 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
19447
19448         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
19449         (struct user_regs_struct): Change intcs field back to cs.
19450
19451 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
19452
19453         * po/ja.po: Update from translation team.
19454
19455 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
19456
19457         [BZ #12795]
19458         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
19459         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
19460
19461 2011-05-20  Andreas Schwab  <schwab@redhat.com>
19462
19463         * stdlib/longlong.h: Update from GCC.
19464
19465 2011-05-23  Andreas Schwab  <schwab@redhat.com>
19466
19467         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
19468         parameter name.
19469         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
19470         Add parameter name.
19471         (__sysconf): Pass it down.
19472
19473 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
19474
19475         [BZ #12671]
19476         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
19477         some situations.
19478         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
19479         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
19480         add in in __libc_use_alloca calls.  Adjust callers.
19481         (glob): Use malloc in some situations.
19482
19483         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
19484         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
19485         pltexit.
19486
19487 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
19488
19489         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
19490         and CLOCK_BOOTTIME_ALARM.
19491
19492         [BZ #12782]
19493         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
19494         is returned.
19495
19496         * string/_strerror.c (__strerror_r): Print negative errors as signed
19497         numbers.
19498
19499         [BZ #12777]
19500         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
19501         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
19502         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
19503
19504         * configure.in: Fix typo in redirection and correct removal of test
19505         files in two cases.
19506
19507         [BZ #12788]
19508         * locale/setlocale.c (new_composite_name): Fix test to check for
19509         identical name of all categories.
19510
19511         [BZ #12792]
19512         * libio/filedoalloc.c (local_isatty): New function.
19513         (_IO_file_doallocate): Use local_isatty.
19514         * stdio-common/perror.c (perror): In case a new stream is used
19515         forward the stream error.
19516         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
19517         error flag.
19518
19519 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
19520
19521         [BZ #11869]
19522         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
19523         alloca.
19524         * include/alloca.h (extend_alloca_account): Define.
19525
19526         [BZ #11857]
19527         * posix/regex.h: Fix comments with documentation of user-accessible
19528         fields after compilation and describe correct free'ing of pattern
19529         after re_compile_pattern.
19530         Patch by Reuben Thomas <rrt@sc3d.org>.
19531
19532 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
19533
19534         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
19535         and -mno-altivec to prevent the compiler from using Altivec and/or
19536         VSX instructions when the corresponding registers are not available.
19537
19538 2011-05-19  Andreas Schwab  <schwab@redhat.com>
19539
19540         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
19541
19542 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
19543
19544         * libio/freopen.c (freopen): Use __dup2, not dup2.
19545         * libio/freopen64.c (freopen64): Likewise.
19546
19547 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
19548
19549         [BZ #12775]
19550         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
19551         * math/Makefile (tests): Add test-powl.
19552         (CFLAGS-test-powl.c): Define.
19553         * math/test-powl.c: New file.
19554
19555 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
19556
19557         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
19558
19559 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
19560
19561         [BZ #11837]
19562         * iconvdata/gb18030.c: Update to GB18020-2005.
19563
19564 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
19565
19566         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
19567         RE_SYNTAX_POSIX_AWK): Update to match recent development.
19568         Patch by Aharon Robbins <arnold@skeeve.com>.
19569
19570         [BZ #11892]
19571         * stdlib/putenv.c (putenv): Don't always create copy of the variable
19572         on the stack.
19573
19574         [BZ #11895]
19575         * misc/pselect.c (__pselect): Handle timeout value errors hidden
19576         through underflows.
19577
19578         [BZ #12766]
19579         * misc/error.c (error_at_line): Ensure file_name and old_file_name
19580         point to strings before performing equality test for error_one_per_line
19581         mode.
19582
19583         [BZ #11697]
19584         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
19585
19586         [BZ #11820]
19587         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
19588         (struct user_fpregs_struct): Avoid __uint*_t types.
19589
19590         [BZ #6420]
19591         * malloc/mtrace.c (tr_where): Add additional parameter to point to
19592         symbol info.  Use it instead of calling _dl_addr locally.
19593         (lock_and_info): New function.
19594         (tr_freehook): Call lock_and_info and pass symbol info as additional
19595         parameter to tr_where.
19596         (tr_mallochook): Likewise.
19597         (tr_reallochook): Likewise.
19598         (tr_memalignhook): Likewise.
19599
19600         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
19601         used and couldn't be at all thread-safe.
19602
19603 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
19604
19605         * libio/freopen.c (freopen): Don't close old file descriptor
19606         before the new one is opened.  Instead dup the new file descriptor
19607         to the old one after the new stream is created.
19608         * libio/freopen64.c (freopen64): Likewise.
19609         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
19610         * libio/fileops.c (_IO_new_file_close_it): Handle new
19611         _IO_FLAGS2_NOCLOSE flag.
19612         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
19613         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
19614         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
19615         _IO_FLAGS2_NOCLOSE flag.
19616         * include/unistd.h: Add hidden_proto for dup3.
19617         Define __have_dup3.
19618         * io/dup3.c: Define hidden symbol.
19619         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
19620
19621         [BZ #7101]
19622         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
19623         when an incomplete long option is used.
19624         * posix/tst-getopt_long1.c: New file.
19625         * posix/Makefile (tests): Add tst-getopt_long1.
19626
19627         [BZ #10138]
19628         * scripts/config.guess: Update from autoconf-2.68.
19629         * scripts/config.sub: Likewise.
19630
19631         [BZ #10157]
19632         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
19633         tests into ...
19634         (has_cpuclock): ...this.  New function.
19635         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
19636         macro here based on has_cpuclock code.
19637
19638         [BZ #10149]
19639         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19640         First byte (not low byte) is now always NUL.
19641         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
19642
19643         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19644         Use non-cancelable interfaces.
19645
19646         [BZ #9809]
19647         * locale/iso-639.def: Add entry for Sorani.
19648
19649         [BZ #11901]
19650         * include/stdlib.h: Move include protection to the right place.
19651         Define abort_msg_s.  Declare __abort_msg with it.
19652         * stdlib/abort.c (__abort_msg): Adjust type.
19653         * assert/assert.c (__assert_fail_base): New function.  Majority
19654         of code from __assert_fail.  Allocate memory for __abort_msg with
19655         mmap.
19656         (__assert_fail): Now call __assert_fail_base.
19657         * assert/assert-perr.c: Remove bulk of implementation.  Use
19658         __assert_fail_base.
19659         * include/assert.hL Declare __assert_fail_base.
19660         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
19661         mmap.
19662         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
19663
19664 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
19665
19666         [BZ #11952]
19667         [BZ #12453]
19668         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
19669         until all modules are registered in the DTV.
19670         * elf/Makefile: Add rules to build and run tst-tls19.
19671         * elf/tst-tls19.c: New file.
19672         * elf/tst-tls19mod1.c: New file.
19673         * elf/tst-tls19mod2.c: New file.
19674         * elf/tst-tls19mod3.c: New file.
19675         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
19676
19677         [BZ #12083]
19678         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
19679         correctly.
19680
19681         [BZ #12601]
19682         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
19683         two-byte sequence errors.
19684         * iconvdata/Makefile (tests): Add bug-iconv8.
19685         * iconvdata/bug-iconv8.c: New file.
19686
19687         [BZ #12626]
19688         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
19689         buf2 definition.
19690
19691         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
19692
19693         [BZ #12432]
19694         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
19695         (dummy_getcfa): New function.
19696         (init): Get _Unwind_GetCFA address, use dummy if not found.
19697         (backtrace_helper): In recursion check, also check whether CFA changes.
19698         (__backtrace): Completely initialize arg.
19699
19700         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
19701         storing incomplete byte sequence in state object.  Avoid testing for
19702         guaranteed too small input if we know there is enough data available.
19703
19704 2011-05-11  Andreas Schwab  <schwab@redhat.com>
19705
19706         * Makeconfig (+link-pie): Indent.
19707         * Rules (binaries-pie): Define if $(have-fpie) and
19708         $(build-shared).
19709         (binaries-shared): Also filter out $(binaries-pie).
19710         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
19711         * nscd/Makefile (others-pie): Add nscd.
19712         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
19713         ($(objpfx)nscd): Remove command override.
19714         * login/Makefile (others-pie): Add pt_chown.
19715         ($(objpfx)pt_chown): Remove command override.
19716         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
19717         remove command overrides.
19718
19719 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
19720
19721         * libio/tst_putwc.c: Fix error messages.
19722
19723         [BZ #12724]
19724         * libio/fileops.c (_IO_new_file_close_it): Always flush when
19725         currently writing and seek to current position when not.
19726         * libio/Makefile (tests): Add bug-fclose1.
19727         * libio/bug-fclose1.c: New file.
19728
19729 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
19730
19731         [BZ #12511]
19732         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
19733         don't set DF_1_NODELETE here.
19734         (do_lookup_x): When entering new entry test for copy relocation
19735         and if necessary set DF_1_NODELETE flag.
19736         * elf/tst-unique4.cc: New file.
19737         * elf/tst-unique4.h: New file.
19738         * elf/tst-unique4lib.cc: New file.
19739         * elf/Makefile: Add rules to build and run tst-unique4.
19740         Patch by Piotr Bury <pbury@goahead.com>.
19741
19742 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
19743
19744         [BZ #12052]
19745         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
19746
19747         [BZ #12625]
19748         * misc/mntent_r.c (addmntent): Flush the stream after the output
19749
19750         [BZ #12393]
19751         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
19752         (is_trusted_path_normalize): Skip initial colon.  Append slash
19753         to empty buffer.  Duplicate is_trusted_path code but allow
19754         constructed patch to be prefix.
19755         (is_dst): Allow $ORIGIN followed by /.
19756         (_dl_dst_substitute): Correct clearing of check_for_trusted.
19757         Correct testing of result of is_trusted_path_normalize
19758         (decompose_rpath): Fix warning.
19759
19760 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
19761
19762         [BZ #11257]
19763         * grp/initgroups.c (internal_getgrouplist): When we found the service
19764         list through the initgroups entry in nsswitch.conf do not always
19765         continue on a successful lookup.  Don't always use the
19766         __nss_group_database value if it is set.
19767         * nss/nsswitch.conf (initgroups): Change action for successful db
19768         lookup to continue for compatibility.
19769
19770 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
19771
19772         [BZ #11532]
19773         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
19774         and CP774 modules.
19775         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
19776         and CP774 modules.
19777         * iconvdata/tst-tables.sh: Likewise.
19778         * iconvdata/cp770.c: New file.
19779         * iconvdata/cp771.c: New file.
19780         * iconvdata/cp772.c: New file.
19781         * iconvdata/cp773.c: New file.
19782         * iconvdata/cp774.c: New file.
19783         * iconvdata/testdata/CP770: New file.
19784         * iconvdata/testdata/CP770..UTF8: New file.
19785         * iconvdata/testdata/CP771: New file.
19786         * iconvdata/testdata/CP771..UTF8: New file.
19787         * iconvdata/testdata/CP772: New file.
19788         * iconvdata/testdata/CP772..UTF8: New file.
19789         * iconvdata/testdata/CP773: New file.
19790         * iconvdata/testdata/CP773..UTF8: New file.
19791         * iconvdata/testdata/CP774: New file.
19792         * iconvdata/testdata/CP774..UTF8: New file.
19793
19794         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
19795         END CHARMAP line.
19796         * iconvdata/gen-8bit-gap.sh: Likewise.
19797         * iconvdata/gen-8bit.sh: Likewise.
19798
19799         * locale/iso-639.def: Add ary entry.
19800
19801         [BZ #11258]
19802         * locale/C-translit.h.in: Add U20A1 transliteration.
19803
19804         [BZ #12178]
19805         * locale/iso-639.def: Add wae entry.
19806         Patch by Kevin Bortis <bortis@translate-wae.ch>.
19807
19808         [BZ #12545]
19809         * locale/programs/localedef.c (construct_output_path): Use ssize_t
19810         for n.
19811
19812         [BZ #12711]
19813         * locale/C-translit.h.in: Add entry for U20B9.
19814         Patch by pravin.d.s@gmail.com.
19815
19816 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
19817
19818         [BZ #12713]
19819         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
19820         ENAMETOOLONG use generic getcwd.
19821         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
19822         in rtld.  Use *stat64.
19823         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
19824         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
19825         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
19826         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
19827         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
19828         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
19829         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
19830         __fstatat64 macros.
19831         * include/dirent.h: Add libc_hidden_proto for rewinddir.
19832         * dirent/rewinddir.c: Add libc_hidden_def.
19833         * sysdeps/mach/hurd/rewinddir.c: Likewise.
19834         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
19835
19836         * include/dirent.h (__alloc_dir): Add flags parameter.
19837         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
19838         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
19839         __alloc_dir.
19840         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
19841         from fdopendir if O_CLOEXEC is already set.
19842
19843 2011-03-15  Alan Modra  <amodra@gmail.com>
19844
19845         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
19846         l_tls_firstbyte_offset non-zero.  Save padding offset in
19847         l_tls_firstbyte_offset for later use.
19848         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
19849         freeing static tls block.
19850
19851 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
19852
19853         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
19854         where #ifdef was intended.  The intent is to prevent ARG_MAX from
19855         being defined by the kernel headers.
19856
19857 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
19858
19859         [BZ #12734]
19860         * resolv/resolv.h: Define RES_NOTLDQUERY.
19861         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
19862         no-tld-query and set RES_NOTLDQUERY.
19863         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
19864         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
19865         modern BIND to search name as TLD unless forbidden.
19866
19867 2011-05-07  Petr Baudis  <pasky@suse.cz>
19868             Ulrich Drepper  <drepper@gmail.com>
19869
19870         [BZ #12393]
19871         * elf/dl-load.c (fillin_rpath): Move trusted path check...
19872         (is_trusted_path): ...to here.
19873         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
19874         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
19875         using is_trusted_path_normalize() in setuid scripts.
19876
19877 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
19878
19879         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
19880         __BEGIN/__END_DECLS.
19881
19882 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
19883
19884         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
19885         NSS_STATUS_NOTFOUND if no record was found.
19886
19887 2011-05-05  Andreas Schwab  <schwab@redhat.com>
19888
19889         * sunrpc/Makefile (headers): Add rpc/netdb.h.
19890         (headers-not-in-tirpc): Remove rpc/netdb.h
19891         * resolv/netdb.h: Revert last change.
19892
19893 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
19894
19895         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
19896         circular dependency between libgcc.a and libc.a.
19897
19898 2011-05-05  Andreas Schwab  <schwab@redhat.com>
19899
19900         * resolv/netdb.h: Don't include <rpc/netdb.h>.
19901         * nis/Makefile: Don't install rpcsvc/*.
19902         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
19903         instead of <rpc/types.h>.
19904         (MAXHOSTNAMELEN): Define.
19905
19906 2011-05-03  Andreas Schwab  <schwab@redhat.com>
19907
19908         * elf/ldconfig.c (add_dir): Don't crash on empty path.
19909
19910 2011-04-28  Maciej Babinski  <mbabinski@google.com>
19911
19912         [BZ #12714]
19913         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
19914         gethostbyname4_r when IPv6 results are possible.
19915
19916 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
19917
19918         [BZ #12723]
19919         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
19920         _PC_PIPE_BUF handling.
19921
19922 2011-04-30  Bruno Haible  <bruno@clisp.org>
19923
19924         [BZ #12717]
19925         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
19926         * resolv/netdb.h (getnameinfo): Change type of flags parameter
19927         to 'int'.
19928         * inet/getnameinfo.c (getnameinfo): Likewise.
19929
19930 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
19931
19932         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
19933         to groups setting in database lookup.
19934         * nss/nsswitch.conf: Add initgroups entry.
19935
19936 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
19937
19938         [BZ #12685]
19939         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
19940         mode string.
19941         Patch by Eric Blake <eblake@redhat.com>.
19942
19943 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
19944
19945         * sunrpc/Makefile (need-export-routines): Add svc_run.
19946         (routines): Remove svc_run.
19947         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
19948         * sunrpc/clnt_perr.c (clnt_perrno): Export.
19949         * sunrpc/svc_run.c (svc_run): Likewise.
19950         * sunrpc/svc_udp.c (svcudp_create): Likewise.
19951
19952 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
19953
19954         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
19955         problem in reallocation in last patch.
19956
19957 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
19958
19959         * sunrpc/Makefile: Move inclusion of Rules.
19960
19961 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
19962
19963         * nss/nss_files/files-initgroups.c: New file.
19964         * nss/Makefile (libnss_files-routines): Add files-initgroups.
19965         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
19966         _nss_files_initgroups_dyn.
19967
19968 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
19969
19970         * elf/elf.h (R_ARM_IRELATIVE): Define.
19971
19972 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
19973
19974         * po/ru.po: Update from translation team.
19975
19976 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
19977
19978         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
19979         dependencies.
19980
19981 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
19982
19983         [BZ #12653]
19984         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
19985         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
19986         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19987         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19988         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19989
19990 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
19991
19992         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
19993         differing bytes.
19994         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19995         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19996         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19997
19998 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
19999
20000         [BZ #12420]
20001         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
20002         storing it.
20003         * stdlib/bug-getcontext.c: New file.
20004         * stdlib/Makefile: Add rules to build and run bug-getcontext.
20005
20006 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20007
20008         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
20009         instructions into .machine "z9-109".
20010         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
20011         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
20012
20013 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20014
20015         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
20016         between environment variables and auxiliary vector.
20017
20018 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
20019
20020         * Makefile: Add rules to build linkobj/libc.so.
20021         * include/libc-symbols.h: Define libc_hidden_nolink.
20022         * include/rpc/auth.h: Mark functions which are to be hidden.
20023         * include/rpc/auth_des.h: Likewise.
20024         * include/rpc/auth_unix.h: Likewise.
20025         * include/rpc/clnt.h: Likewise.
20026         * include/rpc/des_crypt.h: Likewise.
20027         * include/rpc/key_prot.h: Likewise.
20028         * include/rpc/pmap_clnt.h: Likewise.
20029         * include/rpc/pmap_prot.h: Likewise.
20030         * include/rpc/pmap_rmt.h: Likewise.
20031         * include/rpc/rpc_msg.h: Likewise.
20032         * include/rpc/svc.h: Likewise.
20033         * include/rpc/svc_auth.h: Likewise.
20034         * include/rpc/xdr.h: Likewise.
20035         * nis/Makefile: Link all DSOs against linkobj/libc.so.
20036         * nss/Makefile: Likewise.
20037         * sunrpc/Makefile: Don't install headers.  Build library with normal
20038         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
20039         * sunrpc/auth_des.c: Hide exported symbols by default, export some
20040         for the compat linking library.  Remove use of INTDEF/INTUSE.
20041         * sunrpc/auth_none.c: Likewise.
20042         * sunrpc/auth_unix.c: Likewise.
20043         * sunrpc/authdes_prot.c: Likewise.
20044         * sunrpc/authuxprot.c: Likewise.
20045         * sunrpc/clnt_gen.c: Likewise.
20046         * sunrpc/clnt_perr.c: Likewise.
20047         * sunrpc/clnt_raw.c: Likewise.
20048         * sunrpc/clnt_simp.c: Likewise.
20049         * sunrpc/clnt_tcp.c: Likewise.
20050         * sunrpc/clnt_udp.c: Likewise.
20051         * sunrpc/clnt_unix.c: Likewise.
20052         * sunrpc/des_crypt.c: Likewise.
20053         * sunrpc/des_soft.c: Likewise.
20054         * sunrpc/get_myaddr.c: Likewise.
20055         * sunrpc/key_call.c: Likewise.
20056         * sunrpc/key_prot.c: Likewise.
20057         * sunrpc/netname.c: Likewise.
20058         * sunrpc/pm_getmaps.c: Likewise.
20059         * sunrpc/pm_getport.c: Likewise.
20060         * sunrpc/pmap_clnt.c: Likewise.
20061         * sunrpc/pmap_prot.c: Likewise.
20062         * sunrpc/pmap_prot2.c: Likewise.
20063         * sunrpc/pmap_rmt.c: Likewise.
20064         * sunrpc/publickey.c: Likewise.
20065         * sunrpc/rpc_cmsg.c: Likewise.
20066         * sunrpc/rpc_common.c: Likewise.
20067         * sunrpc/rpc_dtable.c: Likewise.
20068         * sunrpc/rpc_prot.c: Likewise.
20069         * sunrpc/rpc_thread.c: Likewise.
20070         * sunrpc/rtime.c: Likewise.
20071         * sunrpc/svc.c: Likewise.
20072         * sunrpc/svc_auth.c: Likewise.
20073         * sunrpc/svc_authux.c: Likewise.
20074         * sunrpc/svc_raw.c: Likewise.
20075         * sunrpc/svc_run.c: Likewise.
20076         * sunrpc/svc_simple.c: Likewise.
20077         * sunrpc/svc_tcp.c: Likewise.
20078         * sunrpc/svc_udp.c: Likewise.
20079         * sunrpc/svc_unix.c: Likewise.
20080         * sunrpc/svcauth_des.c: Likewise.
20081         * sunrpc/xcrypt.c: Likewise.
20082         * sunrpc/xdr.c: Likewise.
20083         * sunrpc/xdr_array.c: Likewise.
20084         * sunrpc/xdr_float.c: Likewise.
20085         * sunrpc/xdr_intXX_t.c: Likewise.
20086         * sunrpc/xdr_mem.c: Likewise.
20087         * sunrpc/xdr_rec.c: Likewise.
20088         * sunrpc/xdr_ref.c: Likewise.
20089         * sunrpc/xdr_sizeof.c: Likewise.
20090         * sunrpc/xdr_stdio.c: Likewise.
20091
20092 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
20093
20094         [BZ #12650]
20095         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
20096         * sysdeps/ia64/dl-tls.h: Likewise.
20097         * sysdeps/powerpc/dl-tls.h: Likewise.
20098         * sysdeps/s390/dl-tls.h: Likewise.
20099         * sysdeps/sh/dl-tls.h: Likewise.
20100         * sysdeps/sparc/dl-tls.h: Likewise.
20101         * sysdeps/x86_64/dl-tls.h: Likewise.
20102         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
20103
20104 2011-03-14  Andreas Schwab  <schwab@redhat.com>
20105
20106         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
20107         rpath element also skip the following colon.
20108         (expand_dynamic_string_token): Add is_path parameter and pass
20109         down to DL_DST_REQUIRED and _dl_dst_substitute.
20110         (decompose_rpath): Call expand_dynamic_string_token with
20111         non-zero is_path.  Ignore empty rpaths.
20112         (_dl_map_object_from_fd): Call expand_dynamic_string_token
20113         with zero is_path.
20114
20115 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
20116
20117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
20118         Make cancelable.
20119
20120 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
20121
20122         [BZ #12655]
20123         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
20124         Patch by Filipe David Manana <fdmanana@apache.org>.
20125
20126 2011-04-07  Andreas Schwab  <schwab@redhat.com>
20127
20128         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
20129         Maintain aligned stack.
20130         (CHECK_RSP): Remove unused macro.
20131
20132 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
20133
20134         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
20135         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
20136
20137 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
20138
20139         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
20140
20141         * include/features.h: Mention __USE_XOPEN2K8 in comment.
20142
20143 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
20144
20145         [BZ #12518]
20146         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
20147         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
20148         * sysdeps/x86_64/memmove.c: New file.
20149         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
20150         (memcpy): Renamed to ...
20151         (__new_memcpy): This.
20152         (memcpy): Provide GLIBC_2_14 memcpy.
20153         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
20154         (memcpy): Provide GLIBC_2_2_5 memcpy.
20155
20156 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
20157
20158         [BZ #12631]
20159         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
20160
20161 2011-03-30  Andreas Schwab  <schwab@redhat.com>
20162
20163         * misc/syncfs.c: New file.
20164         * misc/Makefile (routines): Add syncfs.
20165         * posix/unistd.h: Declare syncfs.
20166         * sysdeps/unix/syscalls.list: Add syncfs.
20167
20168 2011-04-01  Andreas Schwab  <schwab@redhat.com>
20169
20170         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
20171         open_by_handle_at.
20172         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20173         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20174         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20175         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20176         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20177         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
20178         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20179
20180 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
20181
20182         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
20183         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20184         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
20185         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20186         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20187         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20188         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20189
20190         * io/Makefile: Compile fallocate.c, fallocate64.c, and
20191         sync_file_range.c with -fexceptions.
20192         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
20193         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
20194         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
20195         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
20196         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
20197         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
20198         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
20199         sync_file_range as cancellation point
20200         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
20201         now a wrapper around __call_sync_file_range with cancellation handling.
20202         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
20203         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
20204         function name to __call_sync_file_range.
20205         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
20206         Add call_sync_file_range.
20207
20208 2011-04-01  Andreas Schwab  <schwab@redhat.com>
20209
20210         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20211         bits/timex.h.
20212
20213 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
20214
20215         * iconv/iconv.h: Fix typo in comment.
20216         * io/fcntl.h: Likewise.
20217         * libio/stdio.h: Likewise.
20218         * posix/spawn.h: Likewise.
20219         * posix/unistd.h: Likewise.
20220         * stdlib/stdlib.h: Likewise.
20221         * time/time.h: Likewise.
20222         * wcsmbs/wchar.h: Likewise.
20223
20224         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
20225         open_by_handle): Add.
20226         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
20227         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
20228         Augment a few comments.
20229         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20230         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20231         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20232         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20233         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20234         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
20235         open_by_handle.
20236
20237         * io/fcntl.h (AT_EMPTY_PATH): Define.
20238
20239 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
20240
20241         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
20242         * sysdeps/unix/sysv/linux/bits/time.h: New file.
20243         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
20244         to...
20245         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
20246         * Versions.def: Add GLIBC_2.14.
20247         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
20248         Export.
20249
20250 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
20251
20252         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
20253         round counter.
20254         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
20255
20256 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
20257
20258         [BZ #12597]
20259         * string/test-strncmp.c (do_page_test): New function.
20260         (check2): Likewise.
20261         (test_main): Call check2.
20262         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
20263
20264 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
20265
20266         [BZ #12587]
20267         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
20268         Handle cache information in CPU leaf 4.
20269         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
20270
20271 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
20272
20273         [BZ #12583]
20274         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
20275         character representation.
20276         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
20277
20278 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
20279
20280         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
20281         END(__isnan) to END(__isnanf) to match function entry point/label
20282         EALIGN(__isnanf,...).
20283
20284 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
20285
20286         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
20287
20288 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
20289
20290         [BZ #12510]
20291         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
20292         copy from the symbol referenced in the relocation to initialize the
20293         used variable.
20294         Patch by Piotr Bury <pbury@goahead.com>.
20295         * elf/Makefile: Add rules to build and tst-unique3.
20296         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
20297         * elf/tst-unique3.cc: New file.
20298         * elf/tst-unique3.h: New file.
20299         * elf/tst-unique3lib.cc: New file.
20300         * elf/tst-unique3lib2.cc: New file.
20301
20302         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
20303
20304 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
20305
20306         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
20307         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
20308         to _start.
20309
20310 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
20311
20312         * elf/dl-load.c (_dl_map_object): If we are looking for the first
20313         to-be-loaded object along a path to loader is ld.so.
20314
20315 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
20316             Ulrich Drepper  <drepper@gmail.com>
20317
20318         * sysdeps/x86_64/memset.S: After aligning destination, code
20319         branches to different locations depending on the value of
20320         misalignment, when multiarch is enabled. Fix this.
20321
20322 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
20323
20324         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
20325         Set _x86_64_preferred_memory_instruction for AMD processsors.
20326         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20327         Set bit_Prefer_SSE_for_memop for AMD processors.
20328
20329 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
20330
20331         * libio/fmemopen.c (fmemopen): Optimize a bit.
20332
20333 2011-03-03  Andreas Schwab  <schwab@redhat.com>
20334
20335         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
20336
20337 2011-03-03  Roland McGrath  <roland@redhat.com>
20338
20339         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
20340
20341 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
20342
20343         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
20344         __bzero_ultra1 instead of __memset_ultra1.
20345
20346 2011-02-23  Andreas Schwab  <schwab@redhat.com>
20347             Ulrich Drepper  <drepper@gmail.com>
20348
20349         [BZ #12509]
20350         * include/link.h (struct link_map): Add l_orig_initfini.
20351         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
20352         returning unsuccessfully.
20353         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
20354         close of a file loaded at startup, restore the original l_initfini
20355         list.
20356         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
20357         list, store the pointer.
20358         * elf/Makefile ($(objpfx)noload-mem): New rule.
20359         (noload-ENV): Define.
20360         (tests): Add $(objpfx)noload-mem.
20361         * elf/noload.c: Include <memcheck.h>.
20362         (main): Call mtrace.  Close all opened handles.
20363
20364 2011-02-17  Andreas Schwab  <schwab@redhat.com>
20365
20366         [BZ #12454]
20367         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
20368         dependencies are missing.
20369
20370 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20371
20372         Fix __if_freereq crash: Unlike the generic version which uses free,
20373         Hurd needs munmap.
20374         * sysdeps/mach/hurd/ifreq.h: New file.
20375
20376 2011-01-27  Petr Baudis  <pasky@suse.cz>
20377             Ulrich Drepper  <drepper@gmail.com>
20378
20379         [BZ 12445]#
20380         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
20381         to extend_alloca().
20382         * stdio-common/bug23.c: New file.
20383         * stdio-common/Makefile (tests): Add bug23.
20384
20385 2010-09-28  Andreas Schwab  <schwab@redhat.com>
20386             Ulrich Drepper  <drepper@gmail.com>
20387
20388         [BZ #12489]
20389         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
20390         before performing relro protection.  At old place add assertion
20391         to make sure nothing changed.
20392
20393 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
20394             Glauber de Oliveira Costa  <glommer@gmail.com>
20395
20396         * elf/elf.h: Add new ARM TLS relocs.
20397
20398 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
20399
20400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20401         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
20402         cast from r3.
20403         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
20404         'tests' variable.
20405         * sysdeps/wordsize-64/tst-writev.c: New file.
20406
20407 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
20408
20409         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
20410         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
20411         insns in _dl_start to prevent a TOC reference before relocs are
20412         resolved.
20413
20414 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
20415
20416         [BZ #12469]
20417         * Makeconfig: Remove RANLIB definition.
20418         * Makerules: Don't use RANLIB.
20419         * aclocal.m4: Remove ranlib test.
20420         * configure.in: No need to check for ranlib.
20421         * elf/rtld-Rules: Don't use RANLIB.
20422
20423 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20424
20425         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
20426         protection macro.
20427         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
20428         inclusion protection macro.
20429
20430         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
20431         SIGRTMIN and SIGRTMAX and print information in that case only when
20432         SIGRTMIN is defined.
20433
20434 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
20435
20436         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
20437         arginfo fn returning -1.
20438
20439         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
20440         and thousands string is zero terminated.
20441
20442 2011-02-03  Andreas Schwab  <schwab@redhat.com>
20443
20444         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
20445         sysdeps/unix/sysv/linux/bits/socket.h.
20446
20447 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20448
20449         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
20450         (__CPU_COUNT): Remove old macros.
20451         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
20452         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
20453         (__CPU_ALLOC, __CPU_FREE): Add macros.
20454         (__sched_cpualloc, __sched_cpufree): Add declarations.
20455
20456 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
20457
20458         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
20459         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
20460         * nscd/aicache.c (addhstaiX): Return timeout of added value.
20461         (readdhstai): Return value of addhstaiX call.
20462         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
20463         (addgrbyX): Return value returned by cache_addgr.
20464         (readdgrbyname): Return value returned by addgrbyX.
20465         (readdgrbygid): Likewise.
20466         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
20467         (addpwbyX): Return value returned by cache_addpw.
20468         (readdpwbyname): Return value returned by addhstbyX.
20469         (readdpwbyuid): Likewise.
20470         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
20471         (addservbyX): Return value returned by cache_addserv.
20472         (readdservbyname): Return value returned by addservbyX:
20473         (readdservbyport): Likewise.
20474         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
20475         (addhstbyX): Return value returned by cache_addhst.
20476         (readdhstbyname): Return value returned by addhstbyX.
20477         (readdhstbyaddr): Likewise.
20478         (readdhstbynamev6): Likewise.
20479         (readdhstbyaddrv6): Likewise.
20480         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
20481         (readdinitgroups): Return value returned by addinitgroupsX.
20482         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
20483         (prune_cache): Keep track of timeout value of re-added entries.
20484         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
20485         * nscd/nscd.h: Adjust prototypes of readd* functions.
20486
20487 2011-02-04  Roland McGrath  <roland@redhat.com>
20488
20489         * nis/nis_server.c (nis_servstate): Use the right name for 0.
20490         (nis_stats): Likewise.
20491         * nis/nis_modify.c (nis_modify): Likewise.
20492         * nis/nis_remove.c (nis_remove): Likewise.
20493         * nis/nis_add.c (nis_add): Likewise.
20494
20495         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
20496
20497         * posix/fnmatch_loop.c: Add some consts.
20498
20499         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
20500
20501 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
20502
20503         [BZ #12460]
20504         * config.make.in (config-cflags-novzeroupper): Define.
20505         * configure.in: Substitute libc_cv_cc_novzeroupper.
20506         * elf/Makefile (AVX-CFLAGS): Define.
20507         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
20508         (CFLAGS-tst-auditmod4a.c): Likewise.
20509         (CFLAGS-tst-auditmod4b.c): Likewise.
20510         (CFLAGS-tst-auditmod6b.c): Likewise.
20511         (CFLAGS-tst-auditmod6c.c): Likewise.
20512         (CFLAGS-tst-auditmod7b.c): Likewise.
20513         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
20514
20515 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
20516
20517         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
20518         function to the callback.
20519         Patch partly by Jiri Olsa <jolsa@redhat.com>.
20520
20521 2011-02-02  Andreas Schwab  <schwab@redhat.com>
20522
20523         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
20524         of errno.
20525
20526 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
20527
20528         [BZ #11724]
20529         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
20530         of constructors.
20531         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
20532         of destructors.
20533         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
20534
20535         [BZ #11724]
20536         * elf/Makefile: Add rules to build and run new test.
20537         * elf/tst-initorder.c: New file.
20538         * elf/tst-initorder.exp: New file.
20539         * elf/tst-initordera1.c: New file.
20540         * elf/tst-initordera2.c: New file.
20541         * elf/tst-initordera3.c: New file.
20542         * elf/tst-initordera4.c: New file.
20543         * elf/tst-initorderb1.c: New file.
20544         * elf/tst-initorderb2.c: New file.
20545         * elf/tst-order-a1.c: New file.
20546         * elf/tst-order-a2.c: New file.
20547         * elf/tst-order-a3.c: New file.
20548         * elf/tst-order-a4.c: New file.
20549         * elf/tst-order-b1.c: New file.
20550         * elf/tst-order-b2.c: New file.
20551         * elf/tst-order-main.c: New file.
20552         New test case by George Gensure <werkt0@gmail.com>.
20553
20554 2010-10-01  Andreas Schwab  <schwab@redhat.com>
20555
20556         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
20557         decoding ACE if AI_CANONIDN.
20558
20559 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
20560
20561         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
20562
20563 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
20564
20565         * version.h (RELEASE): Bump for 2.13 release.
20566         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
20567
20568         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
20569
20570         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
20571         MADV_NOHUGEPAGE.
20572         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
20573         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
20574         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20575         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
20576         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20577         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
20578
20579         * posix/getconf.c: Update copyright year.
20580         * catgets/gencat.c: Likewise.
20581         * csu/version.c: Likewise.
20582         * debug/catchsegv.sh: Likewise.
20583         * debug/xtrace.sh: Likewise.
20584         * elf/ldconfig.c: Likewise.
20585         * elf/ldd.bash.in: Likewise.
20586         * elf/sprof.c (print_version): Likewise.
20587         * iconv/iconv_prog.c: Likewise.
20588         * iconv/iconvconfig.c: Likewise.
20589         * locale/programs/locale.c: Likewise.
20590         * locale/programs/localedef.c: Likewise.
20591         * malloc/memusage.sh: Likewise.
20592         * malloc/mtrace.pl: Likewise.
20593         * nscd/nscd.c (print_version): Likewise.
20594         * nss/getent.c: Likewise.
20595
20596         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
20597         PF_CAIF, and PF_ALG.
20598         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20599
20600 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
20601
20602         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
20603         (modules-names): Use them.
20604         (ifunc-test-modules, ifunc-pie-tests): Define.
20605         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
20606         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
20607         (test-extras): Likewise.
20608         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
20609         $(compile-command.c).
20610         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
20611         (all-built-dso): Define.
20612         (check-textrel.out, check-execstack.out): Depend on it.
20613
20614         * configure.in: Don't override --enable-multi-arch.
20615
20616 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
20617
20618         [BZ #6812]
20619         * nscd/hstcache.c (tryagain): Define.
20620         (cache_addhst): Return tryagain not notfound for temporary errors.
20621         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
20622         failed.
20623
20624 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
20625
20626         [BZ #10563]
20627         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
20628         to make the syscall.
20629         * sysdeps/unix/sysv/linux/setgroups.c: New file.
20630
20631         [BZ #12378]
20632         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
20633         and fall back to matching as normal character if the string ends before
20634         the matching ']' is found.  This is what POSIX requires.
20635         * posix/testfnm.c: Adjust test result.
20636         * posix/globtest.sh: Adjust test result.  Add new test.
20637         * posix/tst-fnmatch.input: Likewise.
20638         * posix/tst-fnmatch2.c: Add new test.
20639
20640 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
20641
20642         * elf/Makefile (check-execstack): Revert last change.  Depend on
20643         check-execstack.h.
20644         (check-execstack.h): New target.
20645         (generated): Add check-execstack.h.
20646         * elf/check-execstack.c: Include "check-execstack.h".
20647         (main): Revert last change.
20648         (handle_file): Return zero if GNU_STACK is absent and
20649         DEFAULT_STACK_PERMS doesn't include PF_X.
20650
20651 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
20652
20653         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
20654         in child fails because the descriptor is already closed.
20655         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
20656         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
20657         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
20658
20659         [BZ #12397]
20660         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
20661         syscall.
20662
20663         [BZ #10484]
20664         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
20665         temporary buffer used to handle multi lookups locally.
20666         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
20667
20668 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
20669
20670         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
20671         loader is ld.so.
20672
20673 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
20674
20675         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
20676         alignment for SSE2.
20677
20678 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
20679
20680         [BZ #12394]
20681         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
20682         characters.  When rounding increased number of integer digits recompute
20683         number of groups.
20684         * stdio-common/tst-grouping.c: New file.
20685         * stdio-common/Makefile: Add rules to build and run tst-grouping.
20686
20687 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
20688
20689         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
20690         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
20691
20692         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
20693         void.
20694         * bits/select.h: Likewise.
20695
20696 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
20697
20698         * po/ja.po: Update from translation team.
20699
20700 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
20701
20702         [BZ #11155]
20703         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
20704         implementation just like for lxstat, fxstatat, et al.
20705
20706 2010-12-27  Jim Meyering  <meyering@redhat.com>
20707
20708         [BZ #12348]
20709         * posix/regexec.c (build_trtable): Return failure indication upon
20710         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
20711
20712 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
20713
20714         [BZ #12201]
20715         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
20716         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
20717         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
20718         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
20719
20720         [BZ #12207]
20721         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
20722
20723         [BZ #12204]
20724         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
20725         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
20726
20727 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
20728
20729         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
20730         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
20731         script has SORT_BY_INIT_PRIORITY.
20732         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
20733         NO_CTORS_DTORS_SECTIONS is defined.
20734         * elf/soinit.c: Likewise.
20735         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
20736         NO_CTORS_DTORS_SECTIONS is defined.
20737         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
20738         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
20739         * sysdeps/sh/init-first.c: Likewise.
20740         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
20741
20742 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
20743
20744         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
20745         always use the slow path.
20746
20747 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
20748
20749         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
20750         similar rule which adds the sysdep directories to the header search in
20751         order to pick up the correct platform stackinfo.h.
20752         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
20753         perform test if it is, otherwise return successfully without testing.
20754         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
20755         DEFAULT_STACK_PERMS define in stackinfo.h.
20756         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
20757         defined in stackinfo.h.
20758         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
20759         DEFAULT_STACK_PERMS defined in stackinfo.h.
20760         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
20761         * sysdeps/ia64/stackinfo.h: Likewise.
20762         * sysdeps/s390/stackinfo.h: Likewise.
20763         * sysdeps/sh/stackinfo.h: Likewise.
20764         * sysdeps/sparc/stackinfo.h: Likewise.
20765         * sysdeps/x86_64/stackinfo.h: Likewise.
20766         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
20767         PF_X for powerpc64.  Retain PF_X for powerpc32.
20768
20769 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
20770
20771         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
20772         accurately.
20773         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
20774         GETDENTS_64BIT_ALIGNED.
20775
20776 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
20777
20778         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
20779
20780 2010-12-10  Andreas Schwab  <schwab@redhat.com>
20781
20782         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
20783         _GNU_SOURCE.
20784
20785         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
20786         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
20787         Remove __restrict.
20788         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
20789         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
20790
20791 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
20792
20793         [BZ #11655]
20794         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
20795         are initialized.
20796
20797 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
20798
20799         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
20800
20801 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
20802
20803         * po/it.po: Update from translation team.
20804
20805 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
20806
20807         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
20808         unused codes.
20809
20810 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
20811
20812         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
20813
20814 2010-11-24  Andreas Schwab  <schwab@redhat.com>
20815
20816         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
20817         specially.
20818         (gaih_getanswer_slice): Likewise.
20819
20820 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
20821
20822         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
20823
20824 2010-05-31  Petr Baudis  <pasky@suse.cz>
20825
20826         [BZ #11149]
20827         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
20828         silently even in the chroot mode.
20829
20830 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
20831
20832         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
20833         last patch a bit.  Pretty printing
20834
20835 2010-05-31  Petr Baudis <pasky@suse.cz>
20836
20837         [BZ #10085]
20838         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
20839         initialization of skip_initgroups_dyn.
20840
20841 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
20842
20843         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
20844         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
20845
20846 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
20847
20848         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
20849
20850 2010-11-11  Andreas Schwab  <schwab@redhat.com>
20851
20852         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
20853         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
20854         (tst-fnmatch-ENV): Set MALLOC_TRACE.
20855         ($(objpfx)tst-fnmatch-mem): New rule.
20856         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
20857         * posix/tst-fnmatch.c (main): Call mtrace.
20858
20859 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
20860
20861         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20862         Support Intel processor model 6 and model 0x2c.
20863
20864 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
20865
20866         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
20867           signed comparison.
20868
20869 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
20870
20871         [BZ #12205]
20872         * string/test-strncasecmp.c (check_result): New function.
20873         (do_one_test): Use it.
20874         (check1): New function.
20875         (test_main): Use it.
20876         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
20877         Support strcasecmp and strncasecmp.
20878
20879 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
20880
20881         [BZ #12194]
20882         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
20883         * sysdeps/x86_64/bits/byteswap.h: Likewise.
20884
20885 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
20886
20887         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
20888         IFUNC support.
20889         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20890         memset-x86-64.
20891         * sysdeps/x86_64/multiarch/bzero.S: New file.
20892         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
20893         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
20894         * sysdeps/x86_64/multiarch/memset.S: New file.
20895         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
20896         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20897         Set bit_Prefer_SSE_for_memop for Intel processors.
20898         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
20899         Define.
20900         (index_Prefer_SSE_for_memop): Define.
20901         (HAS_PREFER_SSE_FOR_MEMOP): Define.
20902
20903 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
20904
20905         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
20906         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
20907
20908 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
20909
20910         [BZ #12191]
20911         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
20912         (__x86_64_raw_data_cache_size_half): Likewise.
20913         (__x86_64_raw_shared_cache_size): Likewise.
20914         (__x86_64_raw_shared_cache_size_half): Likewise.
20915
20916         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
20917         (__x86_64_raw_data_cache_size_half): Likewise.
20918         (__x86_64_raw_shared_cache_size): Likewise.
20919         (__x86_64_raw_shared_cache_size_half): Likewise.
20920         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
20921         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
20922         and __x86_64_raw_shared_cache_size_half.  Round
20923         __x86_64_data_cache_size_half, __x86_64_data_cache_size
20924         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
20925         to multiple of 256 bytes.
20926
20927 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
20928
20929         [BZ #12167]
20930         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
20931         of inacessible symlinks.  Verify result of symlink before returning it.
20932         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
20933         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
20934
20935 2010-10-28  Erich Ritz  <erichritz@gmail.com>
20936
20937         * math/math.h (isinf): Fix typo in comment.
20938
20939 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
20940
20941         * po/da.po: Update from translation team.
20942
20943 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
20944
20945         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
20946         is added to the list.
20947
20948 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20949             Ulrich Drepper  <drepper@gmail.com>
20950
20951         * elf/dl-object.c (_dl_new_object): Don't append the new object to
20952         the global list here.  Move code to...
20953         (_dl_add_to_namespace_list): ...here.  New function.
20954         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
20955         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
20956         * elf/dl-load.c (lose): Don't remove the element from the list.
20957         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
20958         (_dl_map_object): Likewise.
20959
20960 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
20961
20962         [BZ #12159]
20963         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
20964         into all bytes of SSE register.
20965         Patch by Richard Li <richardpku@gmail.com>.
20966
20967 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
20968
20969         [BZ #12140]
20970         * malloc/malloc.c (_int_free): Fill correct number of bytes when
20971         perturbing.
20972
20973 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
20974
20975         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
20976         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
20977         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
20978         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
20980         submachine.
20981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
20982
20983 2010-10-22  Andreas Schwab  <schwab@redhat.com>
20984
20985         * include/dlfcn.h (__RTLD_SECURE): Define.
20986         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
20987         mode & __RTLD_SECURE instead.
20988         (open_path): Rename preloaded parameter to secure.
20989         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
20990         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
20991         * elf/dl-deps.c (openaux): Likewise.
20992         * elf/rtld.c (struct map_args): Remove is_preloaded.
20993         (map_doit): Don't use it.
20994         (dl_main): Likewise.
20995         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
20996         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
20997
20998 2010-09-09  Andreas Schwab  <schwab@redhat.com>
20999
21000         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
21001         (sysd-rules-targets): Remove duplicates.
21002         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
21003         rtld-%.$o dependency.
21004
21005 2010-10-18  Andreas Schwab  <schwab@redhat.com>
21006
21007         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
21008         _dl_map_object do it.
21009
21010 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
21011
21012         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
21013         fast fma builtins, define the macros in the C99 standard.
21014         (FP_FAST_FMAF): Likewise.
21015         (FP_FAST_FMAL): Likewise.
21016         * sysdeps/x86_64/bits/mathdef.h: Likewise.
21017
21018         * bits/mathdef.h: Update copyright year.
21019         * sysdeps/powerpc/bits/mathdef.h: Likewise.
21020
21021 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
21022
21023         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
21024         builtins, define the macros in the C99 standard.
21025         (FP_FAST_FMAF): Likewise.
21026         (FP_FAST_FMAL): Likewise.
21027         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
21028         multiply/add.
21029         (FP_FAST_FMAF): Likewise.
21030
21031 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
21032
21033         [BZ #3268]
21034         * math/libm-test.inc (fma_test): Some new testcases.
21035         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
21036         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
21037         y and infinite z.  Do multiplication by C already in long double.
21038         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
21039         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
21040         y and infinite z.  Do bitwise or of inexact bit into u.d.
21041         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
21042         * sysdeps/i386/fpu/s_fmaf.S: Removed.
21043         * sysdeps/i386/fpu/s_fma.S: Removed.
21044         * sysdeps/i386/fpu/s_fmal.S: Removed.
21045
21046 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
21047
21048         [BZ #3268]
21049         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
21050         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
21051         computation is not scheduled after fetestexcept.  Fix value
21052         of minimum denormal long double.
21053
21054 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
21055
21056         [BZ #3268]
21057         * math/libm-test.inc (fma_test): Add some more tests.
21058         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
21059         correctly.
21060
21061 2010-10-15  Andreas Schwab  <schwab@redhat.com>
21062
21063         * scripts/data/localplt-s390-linux-gnu.data: New file.
21064         * scripts/data/localplt-s390x-linux-gnu.data: New file.
21065
21066 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
21067
21068         [BZ #3268]
21069         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
21070         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
21071         instead of dbl-64.
21072         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
21073         inlines.
21074         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
21075         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
21076         if one of x and y is very large and the other is subnormal.
21077         * sysdeps/s390/fpu/s_fmaf.c: New file.
21078         * sysdeps/s390/fpu/s_fma.c: New file.
21079         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
21080         * sysdeps/powerpc/fpu/s_fma.S: New file.
21081         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
21082         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
21083         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
21084
21085 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
21086
21087         [BZ #3268]
21088         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
21089         fma tests.
21090         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
21091         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
21092         * sysdeps/i386/i686/multiarch/s_fma.c: Include
21093         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
21094         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
21095         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
21096         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
21097
21098 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
21099
21100         [BZ #12078]
21101         * posix/regcomp.c (parse_branch): One more memory leak plugged.
21102         * posix/bug-regex31.input: Add test case.
21103
21104 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
21105
21106         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
21107         * posix/bug-regex31.input: New file.
21108
21109         [BZ #12078]
21110         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
21111         (parse_sub_exp): Fix last change, use postorder.
21112
21113         * posix/bug-regex31.c: New file.
21114         * posix/Makefile: Add rules to build and run bug-regex31.
21115
21116         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
21117
21118         [BZ #12078]
21119         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
21120
21121         [BZ #12108]
21122         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
21123         to have entries in sys_siglist.
21124
21125         [BZ #12093]
21126         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
21127         be NULL.
21128
21129 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
21130
21131         [BZ #3268]
21132         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
21133         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
21134         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
21135         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
21136         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21137         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
21138         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
21139         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
21140         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
21141         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
21142         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
21143         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
21144         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
21145         * math/ftestexcept.c (fetestexcept): Likewise.
21146         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
21147         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
21148         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
21149         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
21150         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
21151         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
21152         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21153
21154 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
21155
21156         [BZ #12107]
21157         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
21158         newline.
21159
21160 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
21161
21162         * string/bug-strstr1.c: New file.
21163         * string/Makefile: Add rules to build and run bug-strstr1.
21164
21165 2010-10-05  Eric Blake  <eblake@redhat.com>
21166
21167         [BZ #12092]
21168         * string/str-two-way.h (two_way_long_needle): Always clear memory
21169         when skipping input due to the shift table.
21170
21171 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
21172
21173         [BZ #12005]
21174         * malloc/mcheck.c: Handle large requests.
21175
21176         [BZ #12077]
21177         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
21178         for strncmp and strncasecmp.
21179         * string/stratcliff.c: Add tests for strcmp and strncmp.
21180         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
21181
21182 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
21183
21184         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
21185         __set_fpscr.
21186
21187 2010-09-30  Andreas Jaeger  <aj@suse.de>
21188
21189         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
21190         (CGROUP_SUPER_MAGIC): Define.
21191         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21192         Handle btrfs and cgroup file systems.
21193         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21194         Likewise.
21195
21196 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
21197
21198         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
21199         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
21200
21201 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21202
21203         [BZ #12067]
21204         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
21205         trying to locate the ELF header.
21206
21207 2010-09-27  Andreas Schwab  <schwab@redhat.com>
21208
21209         [BZ #11611]
21210         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
21211         Mask out sign-bit copies when constructing f_fsid.
21212
21213 2010-09-24  Petr Baudis <pasky@suse.cz>
21214
21215         * debug/stack_chk_fail_local.c: Add missing licence exception.
21216         * debug/warning-nop.c: Likewise.
21217
21218 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
21219
21220         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
21221         implementing getdents64 using getdents syscall, set d_type if
21222         __ASSUME_GETDENTS32_D_TYPE.
21223
21224 2010-09-16  Andreas Schwab  <schwab@redhat.com>
21225
21226         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
21227         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
21228
21229 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
21230
21231         [BZ #12037]
21232         * posix/unistd.h: Undo change of feature selection for ftruncate from
21233         2010-01-11.
21234
21235 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
21236
21237         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
21238         detection.
21239
21240 2010-09-20  Andreas Schwab  <schwab@redhat.com>
21241
21242         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
21243         fanotify_mark.
21244         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
21245
21246 2010-09-14  Andreas Schwab  <schwab@redhat.com>
21247
21248         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
21249         variables after CHECK_SP call.
21250         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
21251
21252 2010-09-13  Andreas Schwab  <schwab@redhat.com>
21253             Ulrich Drepper  <drepper@redhat.com>
21254
21255         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
21256         re-relocationg ld.so.
21257         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
21258         _dl_init_paths call.
21259         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
21260         here anymore.
21261
21262 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
21263
21264         * resolv/res_init.c (__res_vinit): Count the default server we added.
21265
21266 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
21267             Ulrich Drepper  <drepper@redhat.com>
21268
21269         [BZ #11968]
21270         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
21271         (____longjmp_chk): Use %ebx for saving value across system call.
21272         Add unwind info.
21273
21274 2010-09-06  Andreas Schwab  <schwab@redhat.com>
21275
21276         * manual/Makefile: Don't mix pattern rules with normal rules.
21277
21278 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
21279
21280         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
21281         operation.
21282         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
21283         * libio/iofopncook.c (_IO_cookie_init): Likewise.
21284         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
21285         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
21286         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21287         Likewise.
21288
21289 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
21290
21291         [BZ #11979]
21292         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
21293         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
21294
21295 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
21296
21297         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
21298         * sysdeps/x86_64/addmul_1.S: Likewise.
21299         * sysdeps/x86_64/lshift.S: Likewise.
21300         * sysdeps/x86_64/mul_1.S: Likewise.
21301         * sysdeps/x86_64/rshift.S: Likewise.
21302         * sysdeps/x86_64/sub_n.S: Likewise.
21303         * sysdeps/x86_64/submul_1.S: Likewise.
21304
21305 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21306
21307         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
21308         Define __sched_param instead of SCHED_* and sched_param when
21309         <bits/sched.h> is included with __need_schedparam defined.
21310         * bits/sched.h [__need_schedparam]
21311         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
21312         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
21313         (__defined_schedparam): Define to 1.
21314         (__sched_param): New structure, identical to sched_param.
21315         (__need_schedparam): Undefine.
21316
21317 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
21318
21319         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
21320         (epoll_create1): Declare.
21321
21322         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
21323
21324 2010-08-31  Andreas Schwab  <schwab@redhat.com>
21325
21326         [BZ #7066]
21327         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
21328         shifting retval into place.
21329
21330 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
21331
21332         * nis/rpcsvc/nis.h: Update copyright notice.
21333         * nis/rpcsvc/nis.x: Likewise.
21334         * nis/rpcsvc/nis_callback.h: Likewise.
21335         * nis/rpcsvc/nis_callback.x: Likewise.
21336         * nis/rpcsvc/nis_object.x: Likewise.
21337         * nis/rpcsvc/nis_tags.h: Likewise.
21338         * nis/rpcsvc/yp.h: Likewise.
21339         * nis/rpcsvc/yp.x: Likewise.
21340         * nis/rpcsvc/ypupd.h: Likewise.
21341         * nis/yp_xdr.c: Likewise.
21342         * nis/ypupdate_xdr.c: Likewise.
21343
21344         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
21345         mainly the body of pmap_getport.  Add parameters to specify timeouts.
21346         (pmap_getport): Use __libc_rpc_getport.
21347         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
21348         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
21349         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
21350
21351 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
21352
21353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
21354         fanotify_mark.
21355
21356 2010-08-27  Roland McGrath  <roland@redhat.com>
21357
21358         * sysdeps/i386/i686/multiarch/Makefile
21359         (CFLAGS-varshift.c): New variable.
21360
21361 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
21362
21363         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
21364         * sysdeps/i386/i686/multiarch/varshift.c: New file.
21365
21366         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
21367
21368         * sysdeps/x86_64/strlen.S: Minimal code improvement.
21369
21370 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
21371
21372         * sysdeps/x86_64/strlen.S: Unroll the loop.
21373         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21374         strlen-sse2 strlen-sse2-bsf.
21375         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
21376         __strlen_no_bsf if bit_Slow_BSF is set.
21377         (__strlen_sse42): Removed.
21378         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
21379         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
21380
21381 2010-08-25  Roland McGrath  <roland@redhat.com>
21382
21383         * sysdeps/x86_64/multiarch/varshift.S: File removed.
21384         * sysdeps/x86_64/multiarch/varshift.c: New file.
21385         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
21386         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
21387         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
21388         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21389
21390 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
21391
21392         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21393         strlen-sse2 strlen-sse2-bsf.
21394         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
21395         __strlen_sse2_bsf if bit_Slow_BSF is unset.
21396         (__strlen_sse2): Removed.
21397         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
21398         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
21399         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
21400         bit_Slow_BSF for Atom.
21401         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
21402         (index_Slow_BSF): Define.
21403         (HAS_SLOW_BSF): Define.
21404
21405 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
21406
21407         [BZ #10851]
21408         * resolv/res_init.c (__res_vinit): When no server address at all
21409         is given default to loopback.
21410
21411 2010-08-24  Roland McGrath  <roland@redhat.com>
21412
21413         * configure.in: Remove config-name.h generation.
21414         * configure: Regenerated.
21415         * config-name.in: File removed.
21416         * scripts/config-uname.sh: New file.
21417         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
21418         ($(objdir)config-name.h): New target.
21419
21420         * sunrpc/rpc_parse.h: Avoid nested comment.
21421
21422 2010-08-24  Richard Henderson  <rth@redhat.com>
21423             Ulrich Drepper  <drepper@redhat.com>
21424             H.J. Lu  <hongjiu.lu@intel.com>
21425
21426         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
21427         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
21428         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
21429         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
21430         _mm_alignr_epi8 with _mm_loadu_si128.
21431         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
21432         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
21433         (__m128i_shift_right): Removed.
21434         * sysdeps/i386/i686/multiarch/varshift.h: New file.
21435         * sysdeps/i386/i686/multiarch/varshift.S: New file.
21436         * sysdeps/x86_64/multiarch/varshift.h: New file.
21437         * sysdeps/x86_64/multiarch/varshift.S: New file.
21438
21439 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
21440
21441         * configure.in: Move assembler checks to before sysdep dir checking.
21442
21443 2010-08-20  Petr Baudis  <pasky@suse.cz>
21444
21445         * LICENSES: Sync the sunrpc license.
21446
21447 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
21448
21449         * sunrpc/auth_des.c: Update copyright notice once again.
21450         * sunrpc/auth_none.c: Likewise.
21451         * sunrpc/auth_unix.c: Likewise.
21452         * sunrpc/authdes_prot.c: Likewise.
21453         * sunrpc/authuxprot.c: Likewise.
21454         * sunrpc/bindrsvprt.c: Likewise.
21455         * sunrpc/clnt_gen.c: Likewise.
21456         * sunrpc/clnt_perr.c: Likewise.
21457         * sunrpc/clnt_raw.c: Likewise.
21458         * sunrpc/clnt_simp.c: Likewise.
21459         * sunrpc/clnt_tcp.c: Likewise.
21460         * sunrpc/clnt_udp.c: Likewise.
21461         * sunrpc/clnt_unix.c: Likewise.
21462         * sunrpc/des_crypt.c: Likewise.
21463         * sunrpc/des_soft.c: Likewise.
21464         * sunrpc/get_myaddr.c: Likewise.
21465         * sunrpc/getrpcport.c: Likewise.
21466         * sunrpc/key_call.c: Likewise.
21467         * sunrpc/key_prot.c: Likewise.
21468         * sunrpc/openchild.c: Likewise.
21469         * sunrpc/pm_getmaps.c: Likewise.
21470         * sunrpc/pm_getport.c: Likewise.
21471         * sunrpc/pmap_clnt.c: Likewise.
21472         * sunrpc/pmap_prot.c: Likewise.
21473         * sunrpc/pmap_prot2.c: Likewise.
21474         * sunrpc/pmap_rmt.c: Likewise.
21475         * sunrpc/rpc/auth.h: Likewise.
21476         * sunrpc/rpc/auth_unix.h: Likewise.
21477         * sunrpc/rpc/clnt.h: Likewise.
21478         * sunrpc/rpc/des_crypt.h: Likewise.
21479         * sunrpc/rpc/key_prot.h: Likewise.
21480         * sunrpc/rpc/netdb.h: Likewise.
21481         * sunrpc/rpc/pmap_clnt.h: Likewise.
21482         * sunrpc/rpc/pmap_prot.h: Likewise.
21483         * sunrpc/rpc/pmap_rmt.h: Likewise.
21484         * sunrpc/rpc/rpc.h: Likewise.
21485         * sunrpc/rpc/rpc_des.h: Likewise.
21486         * sunrpc/rpc/rpc_msg.h: Likewise.
21487         * sunrpc/rpc/svc.h: Likewise.
21488         * sunrpc/rpc/svc_auth.h: Likewise.
21489         * sunrpc/rpc/types.h: Likewise.
21490         * sunrpc/rpc/xdr.h: Likewise.
21491         * sunrpc/rpc_clntout.c: Likewise.
21492         * sunrpc/rpc_cmsg.c: Likewise.
21493         * sunrpc/rpc_common.c: Likewise.
21494         * sunrpc/rpc_cout.c: Likewise.
21495         * sunrpc/rpc_dtable.c: Likewise.
21496         * sunrpc/rpc_hout.c: Likewise.
21497         * sunrpc/rpc_main.c: Likewise.
21498         * sunrpc/rpc_parse.c: Likewise.
21499         * sunrpc/rpc_parse.h: Likewise.
21500         * sunrpc/rpc_prot.c: Likewise.
21501         * sunrpc/rpc_sample.c: Likewise.
21502         * sunrpc/rpc_scan.c: Likewise.
21503         * sunrpc/rpc_scan.h: Likewise.
21504         * sunrpc/rpc_svcout.c: Likewise.
21505         * sunrpc/rpc_tblout.c: Likewise.
21506         * sunrpc/rpc_util.c: Likewise.
21507         * sunrpc/rpc_util.h: Likewise.
21508         * sunrpc/rpcinfo.c: Likewise.
21509         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
21510         * sunrpc/rpcsvc/key_prot.x: Likewise.
21511         * sunrpc/rpcsvc/klm_prot.x: Likewise.
21512         * sunrpc/rpcsvc/mount.x: Likewise.
21513         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
21514         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
21515         * sunrpc/rpcsvc/rex.x: Likewise.
21516         * sunrpc/rpcsvc/rstat.x: Likewise.
21517         * sunrpc/rpcsvc/rusers.x: Likewise.
21518         * sunrpc/rpcsvc/sm_inter.x: Likewise.
21519         * sunrpc/rpcsvc/spray.x: Likewise.
21520         * sunrpc/rpcsvc/yppasswd.x: Likewise.
21521         * sunrpc/rtime.c: Likewise.
21522         * sunrpc/svc.c: Likewise.
21523         * sunrpc/svc_auth.c: Likewise.
21524         * sunrpc/svc_authux.c: Likewise.
21525         * sunrpc/svc_raw.c: Likewise.
21526         * sunrpc/svc_run.c: Likewise.
21527         * sunrpc/svc_simple.c: Likewise.
21528         * sunrpc/svc_tcp.c: Likewise.
21529         * sunrpc/svc_udp.c: Likewise.
21530         * sunrpc/svc_unix.c: Likewise.
21531         * sunrpc/svcauth_des.c: Likewise.
21532         * sunrpc/xcrypt.c: Likewise.
21533         * sunrpc/xdr.c: Likewise.
21534         * sunrpc/xdr_array.c: Likewise.
21535         * sunrpc/xdr_float.c: Likewise.
21536         * sunrpc/xdr_mem.c: Likewise.
21537         * sunrpc/xdr_rec.c: Likewise.
21538         * sunrpc/xdr_ref.c: Likewise.
21539         * sunrpc/xdr_sizeof.c: Likewise.
21540         * sunrpc/xdr_stdio.c: Likewise.
21541
21542         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
21543         handling.
21544
21545 2010-08-19  Andreas Schwab  <schwab@redhat.com>
21546
21547         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
21548
21549 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
21550
21551         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
21552         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
21553         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
21554         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
21555         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
21556         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
21557         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
21558         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
21559         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
21560         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
21561         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
21562         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
21563         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
21564         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
21565
21566 2010-07-26  Anton Blanchard  <anton@samba.org>
21567
21568         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
21569         * malloc/arena.c (heap_trim): Likewise.
21570
21571 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
21572
21573         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
21574         here.  Not...
21575         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
21576         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
21577
21578 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
21579
21580         * sysdeps/i386/elf/Makefile: New file.
21581
21582 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
21583
21584         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
21585         from fanotify_init.
21586         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
21587         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
21588
21589 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
21590
21591         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
21592         of strncasecmp_l.
21593         * sysdeps/multiarch/strcmp.S: Likewise.
21594
21595 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
21596
21597         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
21598         strncase_l-nonascii.
21599         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
21600         Add strncase_l-ssse3.
21601         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
21602         * sysdeps/x86_64/strcmp.S: Likewise.
21603         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
21604         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
21605         * sysdeps/x86_64/strncase.S: New file.
21606         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
21607         * sysdeps/x86_64/strncase_l.S: New file.
21608         * string/Makefile (strop-tests): Add strncasecmp.
21609         * string/test-strncasecmp.c: New file.
21610
21611         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
21612         warning.
21613
21614         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
21615         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
21616
21617 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
21618
21619         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
21620
21621 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
21622
21623         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
21624         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
21625         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
21626
21627 2010-05-01  Alan Modra  <amodra@gmail.com>
21628
21629         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
21630         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
21631         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
21632         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
21633         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
21634         tidying.  Don't tail-call __sigjmp_save for static lib.
21635         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
21636         save location.
21637         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
21638         (CALL_MCOUNT): Add eh info, and nop after bl.
21639         (TAIL_CALL_SYSCALL_ERROR): New macro.
21640         (PSEUDO_RET): Use it.
21641         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
21642         Correct save location of integer regs and cr.
21643         (_dl_profile_resolve): Correct cr save location.  Delete nops
21644         after bl when SHARED.  Reduce cfi size a little by better
21645         placement of cfi directives.
21646         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
21647         make a stack frame.  Instead use parm save area as a temp.
21648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
21649         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
21650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21651         Don't make a stack frame for parent, use parm save area.
21652         Increase child stack frame to 112 bytes.  Don't save unused reg,
21653         and adjust reg usage.  Set up cfi on error recovery and
21654         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
21655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21656         (__makecontext): Add dummy nop after jump to exit.
21657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
21658         Use correct parm save area and cr save, reduce stack frame.
21659         Correct cfi for possible PSEUDO_RET frame setup.
21660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
21661         Branch to local label emitted by PSEUDO_RET rather than
21662         __syscall_error.
21663
21664 2010-08-12  Andreas Schwab  <schwab@redhat.com>
21665
21666         [BZ #11904]
21667         * locale/programs/locale.c (print_assignment): New function.
21668         (show_locale_vars): Use it.
21669
21670 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
21671
21672         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
21673         field.
21674         (struct statfs64): Likewise.
21675         (_STATFS_F_FLAGS): Define.
21676         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
21677         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21678         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
21679         (ST_VALID): Define locally.
21680         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
21681         __statvfs_getflags, use the provided value.
21682         * sysdeps/unix/sysv/linux/kernel-features.h: Define
21683         __ASSUME_STATFS_F_FLAGS.
21684
21685         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
21686
21687         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
21688         Add sys/fanotify.h.
21689         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
21690         fanotify_mask for GLIBC_2.13.
21691         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
21692         fanotify_init and fanotify_mark.
21693         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
21694         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
21695
21696         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
21697         Add prlimit.
21698         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
21699         prlimit64 for GLIBC_2.13.
21700         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
21701         prlimit64.
21702         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
21703         syscall.
21704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
21705         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
21706         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
21707         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
21708         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
21709         add prlimit alias.
21710         * sysdeps/unix/sysv/linux/prlimit.c: New file.
21711
21712         [BZ #11903]
21713         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
21714         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
21715
21716         * nss/Makefile: Add rules to build and run tst-nss-test1.
21717         * shlib-versions: Add entry for libnss_test1.
21718         * nss/nss_test1.c: New file.
21719         * nss/tst-nss-test1.c: New file.
21720
21721         * nss/nsswitch.c (__nss_database_custom): Define new variable.
21722         (__nss_configure_lookup): Set appropriate entry in
21723         __nss_configure_lookup to true.
21724         * nss/nsswitch.h: Define enum with indeces of databases in
21725         databases and __nss_database_custom arrays.  Declare
21726         __nss_database_custom.
21727         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
21728         to avoid using nscd when custom rules are installed.
21729         * nss/getXXbyYY_r.c: Likewise.
21730         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21731
21732         * nss/nss_files/files-parse.c: Whitespace fixes.
21733
21734 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
21735
21736         [BZ #11883]
21737         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
21738         * posix/fnmatch_loop.c: Likewise.
21739
21740 2010-07-17  Andi Kleen  <ak@linux.intel.com>
21741
21742         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
21743         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
21744         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
21745         * Versions.def [GLIBC_2.13]: Add.
21746
21747 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
21748
21749         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
21750         Also fail if tpwd after pwuid call is NULL.
21751
21752 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21753
21754         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
21755         when converting to ms.
21756
21757 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21758
21759         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
21760         EOPNOTSUPP errors with ENOTTY.
21761         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
21762         EOPNOTSUPP errors with ENOTTY.
21763
21764 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
21765
21766         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
21767         Add strcasecmp_l-ssse3.
21768         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
21769         strcasecmp.
21770         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
21771         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
21772         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
21773
21774 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
21775
21776         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
21777
21778         * string/Makefile (strop-tests): Add strcasecmp.
21779         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
21780         strcasecmp_l-nonascii.
21781         (gen-as-const-headers): Add locale-defines.sym.
21782         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
21783         * sysdeps/x86_64/strcasecmp.S: New file.
21784         * sysdeps/x86_64/strcasecmp_l.S: New file.
21785         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
21786         * sysdeps/x86_64/locale-defines.sym: New file.
21787         * string/test-strcasecmp.c: New file.
21788
21789         * string/test-strcasestr.c: Test both ends of the range of characters.
21790         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
21791
21792 2010-07-29  Roland McGrath  <roland@redhat.com>
21793
21794         [BZ #11856]
21795         * manual/locale.texi (Yes-or-No Questions): Fix example code.
21796
21797 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
21798
21799         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
21800         for ld.so.
21801
21802 2010-07-27  Andreas Schwab  <schwab@redhat.com>
21803
21804         * manual/memory.texi (Malloc Tunable Parameters): Document
21805         M_PERTURB.
21806
21807 2010-07-26  Roland McGrath  <roland@redhat.com>
21808
21809         [BZ #11840]
21810         * configure.in (-fgnu89-inline check): Set and substitute
21811         gnu89_inline, not libc_cv_gnu89_inline.
21812         * configure: Regenerated.
21813         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
21814
21815 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
21816
21817         * string/test-strnlen.c: New file.
21818         * string/Makefile (strop-tests): Add strnlen.
21819         * string/tester.c (test_strnlen): Add a few more test cases.
21820         * string/tst-strlen.c: Better error reporting.
21821
21822         * sysdeps/x86_64/strnlen.S: New file.
21823
21824 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
21825
21826         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
21827         lower-latency instructions.
21828
21829 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
21830
21831         * string/test-strcasestr.c: New file.
21832         * string/test-strstr.c: New file.
21833         * string/Makefile (strop-tests): Add strstr and strcasestr.
21834         * string/str-two-way.h: Don't undefine MAX.
21835         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
21836
21837 2010-07-21  Andreas Schwab  <schwab@redhat.com>
21838
21839         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21840         strcasestr-nonascii.
21841         (CFLAGS-strcasestr-nonascii.c): Define.
21842         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
21843         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
21844         Remove unused attribute.
21845
21846 2010-07-20  Roland McGrath  <roland@redhat.com>
21847
21848         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
21849         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
21850         ld.so.cache was broken.  With it, there is no way to disable dsocaps
21851         like LD_HWCAP_MASK can disable hwcaps.
21852
21853 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
21854
21855         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
21856
21857 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
21858
21859         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
21860         call in strcasestr.
21861         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
21862         __strcasestr_sse42_nonascii.
21863         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
21864         strcasestr-nonascii.c.
21865         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
21866
21867 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
21868
21869         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
21870         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
21871         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
21872         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
21873
21874 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
21875
21876         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
21877         fcntl.
21878
21879 2010-07-06  Andreas Schwab  <schwab@redhat.com>
21880
21881         [BZ #11577]
21882         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
21883         dl_signal_cerror.
21884
21885 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
21886
21887         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
21888         _PC_PIPE_BUF using F_GETPIPE_SZ.
21889
21890 2010-07-05  Roland McGrath  <roland@redhat.com>
21891
21892         * manual/arith.texi (Rounding Functions): Fix rint description
21893         implicit in round description.
21894
21895 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
21896
21897         * elf/Makefile: Fix linking for a few tests to make recent linker
21898         happy.
21899
21900 2010-06-30  Andreas Schwab  <schwab@redhat.com>
21901
21902         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
21903         $(common-objpfx)libc_nonshared.a.
21904
21905 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
21906
21907         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
21908         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
21909         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
21910         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
21911         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
21912         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
21913         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
21914         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
21915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
21916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
21917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
21918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
21919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
21920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
21921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
21922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
21923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
21924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
21925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
21926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
21927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
21928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
21929         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
21930         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
21931         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
21932         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
21933         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
21934         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
21935         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
21936         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
21937         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
21938         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
21939         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
21940         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
21941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
21942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
21943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
21944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
21945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
21946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
21947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
21948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
21949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
21950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
21951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
21952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
21953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
21954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
21955
21956 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
21957
21958         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
21959         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
21960         * string/memmove.c (memmove): Renamed to ...
21961         (MEMMOVE): ...this.  Default to memmove.
21962         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
21963         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
21964         (END_CHK): Define.
21965         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21966         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
21967         mempcpy-ssse3-back memmove-ssse3-back.
21968         * sysdeps/x86_64/multiarch/bcopy.S: New file .
21969         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
21970         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
21971         * sysdeps/x86_64/multiarch/memcpy.S: New file.
21972         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
21973         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
21974         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
21975         * sysdeps/x86_64/multiarch/memmove.c: New file.
21976         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
21977         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
21978         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
21979         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
21980         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
21981         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
21982         Define.
21983         (index_Fast_Copy_Backward): Define.
21984         (HAS_ARCH_FEATURE): Define.
21985         (HAS_FAST_REP_STRING): Define.
21986         (HAS_FAST_COPY_BACKWARD): Define.
21987
21988 2010-06-21  Andreas Schwab  <schwab@redhat.com>
21989
21990         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
21991         Restore proper fallback handling.
21992
21993 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
21994
21995         [BZ #11701]
21996         * posix/group_member.c (__group_member): Correct checking loop.
21997
21998         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
21999         OOM in getpwuid_r correctly.  Return error number when the caller
22000         should return, otherwise -1.
22001         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
22002         call returning > 0 value.
22003         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
22004
22005 2010-06-07  Andreas Schwab  <schwab@redhat.com>
22006
22007         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
22008         libc_nonshared.a from targets in modules-names.
22009
22010 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
22011
22012         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
22013         requires it.
22014
22015 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
22016
22017         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
22018         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
22019         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
22020         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
22021
22022 2010-06-02  Andreas Schwab  <schwab@redhat.com>
22023
22024         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
22025
22026 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
22027
22028         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
22029         and F_GETPIPE_SZ.
22030         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22031         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22032         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22033         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22034         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22035         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
22036
22037 2010-06-14  Roland McGrath  <roland@redhat.com>
22038
22039         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
22040
22041 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
22042
22043         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
22044         __REDIRECT followed by __THROW.
22045         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
22046         * posix/getopt.h (getopt): Likewise.
22047
22048 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
22049
22050         * hurd/lookup-at.c (__file_name_lookup_at): Accept
22051         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
22052         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
22053         in AT_FLAGS.
22054         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
22055         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
22056
22057 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
22058
22059         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
22060
22061 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
22062
22063         [BZ #11640]
22064         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22065         Properly check family and model.
22066
22067 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
22068
22069         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
22070
22071 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
22072
22073         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
22074
22075 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
22076
22077         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
22078         symbol reference.
22079
22080 2010-05-19  Andreas Schwab  <schwab@redhat.com>
22081
22082         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
22083         symbol reference.
22084
22085 2010-05-21  Andreas Schwab  <schwab@redhat.com>
22086
22087         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
22088         and internal_recvmmsg.
22089         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
22090         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
22091         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
22092         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
22093
22094         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
22095         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22096         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22097
22098 2010-05-20  Andreas Schwab  <schwab@redhat.com>
22099
22100         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
22101
22102 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
22103
22104         POWER7 optimizations.
22105         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
22106         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
22107
22108 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
22109
22110         * version.h: Update for 2.13 development version.
22111
22112 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
22113
22114         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
22115         exceptions.  Return 0.
22116
22117 2010-05-07  Roland McGrath  <roland@redhat.com>
22118
22119         * elf/ldconfig.c (main): Add a const.
22120
22121 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
22122
22123         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
22124         (args_options): Add no-idn option.
22125         (ahosts_keys_int): Add idn_flags to ai_flags.
22126         (parse_option): Handle 'i' option to clear idn_flags.
22127
22128         * malloc/malloc.c (_int_free): Possible race in the most recently
22129         added check.  Only act on the data if no current modification
22130         happened.
22131
22132 See ChangeLog.17 for earlier changes.