]> sourceware.org Git - glibc.git/blame - ChangeLog
Fix sunrpc 64-bit (especially big-endian) issues (bug 14821).
[glibc.git] / ChangeLog
CommitLineData
fb1ae1ee
JM
12012-11-09 Joseph Myers <joseph@codesourcery.com>
2
3 [BZ #14821]
4 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
5 offset in buffer as u_int32_t not u_long. Consistently use memcpy
6 for copies of such integer values.
7 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
8 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9
2c1adbcb
AJ
102012-11-09 Andreas Jaeger <aj@suse.de>
11
12 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
13 definitions and declarations that are provided by
14 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15
d0f8457e
AK
162012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17
18 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
19 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
20 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21 definition.
22
57241e26
MS
232012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24
25 * elf/elf.h: Update comment before AArch64 relocations.
26
60e8270d
DM
272012-11-07 David S. Miller <davem@davemloft.net>
28
29 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
30 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
31 (__start_context): Declare.
32 (__makecontext_ret): Delete.
33 (__makecontext): Hook up __start_context instead of
34 __makecontext_ret.
35 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
36 (sysdep_routines): Add __start_context when in stdlib.
37
0fbb0fbc
JM
382012-11-07 Joseph Myers <joseph@codesourcery.com>
39
40 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
41 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
42 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
43 hardcoded "nm".
44 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
45 (READELF): New variable. Use it instead of hardcoded "readelf".
46
eb48db7e
L
472012-11-07 H.J. Lu <hongjiu.lu@intel.com>
48
49 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
50 * sysdeps/x86/Makefile: Here.
51 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
52 * sysdeps/x86/tst-xmmymm.sh: This.
53
05bcf62a
JM
542012-11-07 Joseph Myers <joseph@codesourcery.com>
55
c4b6cf53
JM
56 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
57 expectations.
58 [UNIX98] (pthread_barrier_t): Do not expect.
59 [UNIX98] (pthread_barrierattr_t): Likewise.
60 [UNIX98] (pthread_spinlock_t): Likewise.
61 [UNIX98] (pthread_barrier_destroy): Likewise.
62 [UNIX98] (pthread_barrier_init): Likewise.
63 [UNIX98] (pthread_barrier_wait): Likewise.
64 [UNIX98] (pthread_barrierattr_destroy): Likewise.
65 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
66 [UNIX98] (pthread_barrierattr_init): Likewise.
67 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
68 [UNIX98] (pthread_getcpuclockid): Likewise.
69 [UNIX98] (pthread_mutex_timedlock): Likewise.
70 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
71 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
72 [UNIX98] (pthread_sigmask): Likewise.
73 [UNIX98] (pthread_spin_destroy): Likewise.
74 [UNIX98] (pthread_spin_init): Likewise.
75 [UNIX98] (pthread_spin_lock): Likewise.
76 [UNIX98] (pthread_spin_trylock): Likewise.
77 [UNIX98] (pthread_spin_unlock): Likewise.
78 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
79 Do not expect.
80 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
81 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
82 [XPG3 || XPG4] (pthread_cond_t): Likewise.
83 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
84 [XPG3 || XPG4] (pthread_key_t): Likewise.
85 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
86 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
87 [XPG3 || XPG4] (pthread_once_t): Likewise.
88 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
89 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
90 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
91 [XPG3 || XPG4] (pthread_t): Likewise.
92
cbe6e120
JM
93 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
94 not expect.
95 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
96
1b126443
JM
97 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
98 Change function return type to int.
99
b961a573
JM
100 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
101 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
102 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
103 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
104 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
105 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
106 [!POSIX] (posix_madvise): Likewise.
107 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
108 && !UNIX98].
109 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
110 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
111 (mode_t): Likewise.
112 (posix_mem_offset): Likewise.
113 (posix_typed_mem_get_info): Likewise.
114 (posix_typed_mem_open): Likewise.
115
9e188909
JM
116 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
117 Change condition to [XOPEN2K8].
118
05bcf62a
JM
119 * conform/conformtest.pl: Preprocess allow-header data with -x c
120 instead of from stdin.
121 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
122 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
123 [C99-based standards] (cerfc): Likewise.
124 [C99-based standards] (cexp2): Likewise.
125 [C99-based standards] (cexpm1): Likewise.
126 [C99-based standards] (clog10): Likewise.
127 [C99-based standards] (clog1p): Likewise.
128 [C99-based standards] (clog2): Likewise.
129 [C99-based standards] (clgamma): Likewise.
130 [C99-based standards] (ctgamma): Likewise.
131 [C99-based standards] (cerff): Likewise.
132 [C99-based standards] (cerfcf): Likewise.
133 [C99-based standards] (cexp2f): Likewise.
134 [C99-based standards] (cexpm1f): Likewise.
135 [C99-based standards] (clog10f): Likewise.
136 [C99-based standards] (clog1pf): Likewise.
137 [C99-based standards] (clog2f): Likewise.
138 [C99-based standards] (clgammaf): Likewise.
139 [C99-based standards] (ctgammaf): Likewise.
140 [C99-based standards] (cerfl): Likewise.
141 [C99-based standards] (cerfcl): Likewise.
142 [C99-based standards] (cexp2l): Likewise.
143 [C99-based standards] (cexpm1l): Likewise.
144 [C99-based standards] (clog10l): Likewise.
145 [C99-based standards] (clog1pl): Likewise.
146 [C99-based standards] (clog2l): Likewise.
147 [C99-based standards] (clgammal): Likewise.
148 [C99-based standards] (ctgammal): Likewise.
149 * conform/data/inttypes.h-data [C99-based standards]: Include
150 stdint.h-data. Remove all expectations for stdint.h contents.
151 [C99-based standards] (PRI*): Do not allow.
152 [C99-based standards] (SCN*): Likewise.
153 [C99-based standards] (*_t): Likewise.
154 [C99-based-standards] (PRId8): Expect macro.
155 [C99-based-standards] (PRIi8): Likewise.
156 [C99-based-standards] (PRIo8): Likewise.
157 [C99-based-standards] (PRIu8): Likewise.
158 [C99-based-standards] (PRIx8): Likewise.
159 [C99-based-standards] (PRIX8): Likewise.
160 [C99-based-standards] (SCNd8): Likewise.
161 [C99-based-standards] (SCNi8): Likewise.
162 [C99-based-standards] (SCNo8): Likewise.
163 [C99-based-standards] (SCNu8): Likewise.
164 [C99-based-standards] (SCNx8): Likewise.
165 [C99-based-standards] (PRIdLEAST8): Likewise.
166 [C99-based-standards] (PRIiLEAST8): Likewise.
167 [C99-based-standards] (PRIoLEAST8): Likewise.
168 [C99-based-standards] (PRIuLEAST8): Likewise.
169 [C99-based-standards] (PRIxLEAST8): Likewise.
170 [C99-based-standards] (PRIXLEAST8): Likewise.
171 [C99-based-standards] (SCNdLEAST8): Likewise.
172 [C99-based-standards] (SCNiLEAST8): Likewise.
173 [C99-based-standards] (SCNoLEAST8): Likewise.
174 [C99-based-standards] (SCNuLEAST8): Likewise.
175 [C99-based-standards] (SCNxLEAST8): Likewise.
176 [C99-based-standards] (PRIdFAST8): Likewise.
177 [C99-based-standards] (PRIiFAST8): Likewise.
178 [C99-based-standards] (PRIoFAST8): Likewise.
179 [C99-based-standards] (PRIuFAST8): Likewise.
180 [C99-based-standards] (PRIxFAST8): Likewise.
181 [C99-based-standards] (PRIXFAST8): Likewise.
182 [C99-based-standards] (SCNdFAST8): Likewise.
183 [C99-based-standards] (SCNiFAST8): Likewise.
184 [C99-based-standards] (SCNoFAST8): Likewise.
185 [C99-based-standards] (SCNuFAST8): Likewise.
186 [C99-based-standards] (SCNxFAST8): Likewise.
187 [C99-based-standards] (PRId16): Likewise.
188 [C99-based-standards] (PRIi16): Likewise.
189 [C99-based-standards] (PRIo16): Likewise.
190 [C99-based-standards] (PRIu16): Likewise.
191 [C99-based-standards] (PRIx16): Likewise.
192 [C99-based-standards] (PRIX16): Likewise.
193 [C99-based-standards] (SCNd16): Likewise.
194 [C99-based-standards] (SCNi16): Likewise.
195 [C99-based-standards] (SCNo16): Likewise.
196 [C99-based-standards] (SCNu16): Likewise.
197 [C99-based-standards] (SCNx16): Likewise.
198 [C99-based-standards] (PRIdLEAST16): Likewise.
199 [C99-based-standards] (PRIiLEAST16): Likewise.
200 [C99-based-standards] (PRIoLEAST16): Likewise.
201 [C99-based-standards] (PRIuLEAST16): Likewise.
202 [C99-based-standards] (PRIxLEAST16): Likewise.
203 [C99-based-standards] (PRIXLEAST16): Likewise.
204 [C99-based-standards] (SCNdLEAST16): Likewise.
205 [C99-based-standards] (SCNiLEAST16): Likewise.
206 [C99-based-standards] (SCNoLEAST16): Likewise.
207 [C99-based-standards] (SCNuLEAST16): Likewise.
208 [C99-based-standards] (SCNxLEAST16): Likewise.
209 [C99-based-standards] (PRIdFAST16): Likewise.
210 [C99-based-standards] (PRIiFAST16): Likewise.
211 [C99-based-standards] (PRIoFAST16): Likewise.
212 [C99-based-standards] (PRIuFAST16): Likewise.
213 [C99-based-standards] (PRIxFAST16): Likewise.
214 [C99-based-standards] (PRIXFAST16): Likewise.
215 [C99-based-standards] (SCNdFAST16): Likewise.
216 [C99-based-standards] (SCNiFAST16): Likewise.
217 [C99-based-standards] (SCNoFAST16): Likewise.
218 [C99-based-standards] (SCNuFAST16): Likewise.
219 [C99-based-standards] (SCNxFAST16): Likewise.
220 [C99-based-standards] (PRId32): Likewise.
221 [C99-based-standards] (PRIi32): Likewise.
222 [C99-based-standards] (PRIo32): Likewise.
223 [C99-based-standards] (PRIu32): Likewise.
224 [C99-based-standards] (PRIx32): Likewise.
225 [C99-based-standards] (PRIX32): Likewise.
226 [C99-based-standards] (SCNd32): Likewise.
227 [C99-based-standards] (SCNi32): Likewise.
228 [C99-based-standards] (SCNo32): Likewise.
229 [C99-based-standards] (SCNu32): Likewise.
230 [C99-based-standards] (SCNx32): Likewise.
231 [C99-based-standards] (PRIdLEAST32): Likewise.
232 [C99-based-standards] (PRIiLEAST32): Likewise.
233 [C99-based-standards] (PRIoLEAST32): Likewise.
234 [C99-based-standards] (PRIuLEAST32): Likewise.
235 [C99-based-standards] (PRIxLEAST32): Likewise.
236 [C99-based-standards] (PRIXLEAST32): Likewise.
237 [C99-based-standards] (SCNdLEAST32): Likewise.
238 [C99-based-standards] (SCNiLEAST32): Likewise.
239 [C99-based-standards] (SCNoLEAST32): Likewise.
240 [C99-based-standards] (SCNuLEAST32): Likewise.
241 [C99-based-standards] (SCNxLEAST32): Likewise.
242 [C99-based-standards] (PRIdFAST32): Likewise.
243 [C99-based-standards] (PRIiFAST32): Likewise.
244 [C99-based-standards] (PRIoFAST32): Likewise.
245 [C99-based-standards] (PRIuFAST32): Likewise.
246 [C99-based-standards] (PRIxFAST32): Likewise.
247 [C99-based-standards] (PRIXFAST32): Likewise.
248 [C99-based-standards] (SCNdFAST32): Likewise.
249 [C99-based-standards] (SCNiFAST32): Likewise.
250 [C99-based-standards] (SCNoFAST32): Likewise.
251 [C99-based-standards] (SCNuFAST32): Likewise.
252 [C99-based-standards] (SCNxFAST32): Likewise.
253 [C99-based-standards] (PRId64): Likewise.
254 [C99-based-standards] (PRIi64): Likewise.
255 [C99-based-standards] (PRIo64): Likewise.
256 [C99-based-standards] (PRIu64): Likewise.
257 [C99-based-standards] (PRIx64): Likewise.
258 [C99-based-standards] (PRIX64): Likewise.
259 [C99-based-standards] (SCNd64): Likewise.
260 [C99-based-standards] (SCNi64): Likewise.
261 [C99-based-standards] (SCNo64): Likewise.
262 [C99-based-standards] (SCNu64): Likewise.
263 [C99-based-standards] (SCNx64): Likewise.
264 [C99-based-standards] (PRIdLEAST64): Likewise.
265 [C99-based-standards] (PRIiLEAST64): Likewise.
266 [C99-based-standards] (PRIoLEAST64): Likewise.
267 [C99-based-standards] (PRIuLEAST64): Likewise.
268 [C99-based-standards] (PRIxLEAST64): Likewise.
269 [C99-based-standards] (PRIXLEAST64): Likewise.
270 [C99-based-standards] (SCNdLEAST64): Likewise.
271 [C99-based-standards] (SCNiLEAST64): Likewise.
272 [C99-based-standards] (SCNoLEAST64): Likewise.
273 [C99-based-standards] (SCNuLEAST64): Likewise.
274 [C99-based-standards] (SCNxLEAST64): Likewise.
275 [C99-based-standards] (PRIdFAST64): Likewise.
276 [C99-based-standards] (PRIiFAST64): Likewise.
277 [C99-based-standards] (PRIoFAST64): Likewise.
278 [C99-based-standards] (PRIuFAST64): Likewise.
279 [C99-based-standards] (PRIxFAST64): Likewise.
280 [C99-based-standards] (PRIXFAST64): Likewise.
281 [C99-based-standards] (SCNdFAST64): Likewise.
282 [C99-based-standards] (SCNiFAST64): Likewise.
283 [C99-based-standards] (SCNoFAST64): Likewise.
284 [C99-based-standards] (SCNuFAST64): Likewise.
285 [C99-based-standards] (SCNxFAST64): Likewise.
286 [C99-based-standards] (PRIdMAX): Likewise.
287 [C99-based-standards] (PRIiMAX): Likewise.
288 [C99-based-standards] (PRIoMAX): Likewise.
289 [C99-based-standards] (PRIuMAX): Likewise.
290 [C99-based-standards] (PRIxMAX): Likewise.
291 [C99-based-standards] (PRIXMAX): Likewise.
292 [C99-based-standards] (SCNdMAX): Likewise.
293 [C99-based-standards] (SCNiMAX): Likewise.
294 [C99-based-standards] (SCNoMAX): Likewise.
295 [C99-based-standards] (SCNuMAX): Likewise.
296 [C99-based-standards] (SCNxMAX): Likewise.
297 [C99-based-standards] (PRIdPTR): Likewise.
298 [C99-based-standards] (PRIiPTR): Likewise.
299 [C99-based-standards] (PRIoPTR): Likewise.
300 [C99-based-standards] (PRIuPTR): Likewise.
301 [C99-based-standards] (PRIxPTR): Likewise.
302 [C99-based-standards] (PRIXPTR): Likewise.
303 [C99-based-standards] (SCNdPTR): Likewise.
304 [C99-based-standards] (SCNiPTR): Likewise.
305 [C99-based-standards] (SCNoPTR): Likewise.
306 [C99-based-standards] (SCNuPTR): Likewise.
307 [C99-based-standards] (SCNxPTR): Likewise.
308 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
309 allow.
310 * conform/data/stdint.h-data: Update comments to clarify
311 requirements.
312 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
313 type.
314 [C99-based standards] (INT8_MAX): Likewise.
315 [C99-based standards] (INT16_MIN): Likewise.
316 [C99-based standards] (INT16_MAX): Likewise.
317 [C99-based standards] (INT32_MIN): Likewise.
318 [C99-based standards] (INT32_MAX): Likewise.
319 [C99-based standards] (INT64_MIN): Likewise.
320 [C99-based standards] (INT64_MAX): Likewise.
321 [C99-based standards] (UINT8_MAX): Likewise.
322 [C99-based standards] (UINT16_MAX): Likewise.
323 [C99-based standards] (UINT32_MAX): Likewise.
324 [C99-based standards] (UINT64_MAX): Likewise.
325 [C99-based standards] (INT_LEAST8_MIN): Likewise.
326 [C99-based standards] (INT_LEAST8_MAX): Likewise.
327 [C99-based standards] (INT_LEAST16_MIN): Likewise.
328 [C99-based standards] (INT_LEAST16_MAX): Likewise.
329 [C99-based standards] (INT_LEAST32_MIN): Likewise.
330 [C99-based standards] (INT_LEAST32_MAX): Likewise.
331 [C99-based standards] (INT_LEAST64_MIN): Likewise.
332 [C99-based standards] (INT_LEAST64_MAX): Likewise.
333 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
334 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
335 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
336 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
337 [C99-based standards] (INT_FAST8_MIN): Likewise.
338 [C99-based standards] (INT_FAST8_MAX): Likewise.
339 [C99-based standards] (INT_FAST16_MIN): Likewise.
340 [C99-based standards] (INT_FAST16_MAX): Likewise.
341 [C99-based standards] (INT_FAST32_MIN): Likewise.
342 [C99-based standards] (INT_FAST32_MAX): Likewise.
343 [C99-based standards] (INT_FAST64_MIN): Likewise.
344 [C99-based standards] (INT_FAST64_MAX): Likewise.
345 [C99-based standards] (UINT_FAST8_MAX): Likewise.
346 [C99-based standards] (UINT_FAST16_MAX): Likewise.
347 [C99-based standards] (UINT_FAST32_MAX): Likewise.
348 [C99-based standards] (UINT_FAST64_MAX): Likewise.
349 [C99-based standards] (INTPTR_MIN): Likewise.
350 [C99-based standards] (INTPTR_MAX): Likewise.
351 [C99-based standards] (UINTPTR_MAX): Likewise.
352 [C99-based standards] (INTMAX_MIN): Likewise.
353 [C99-based standards] (INTMAX_MAX): Likewise.
354 [C99-based standards] (UINTMAX_MAX): Likewise.
355 [C99-based standards] (PTRDIFF_MIN): Likewise.
356 [C99-based standards] (PTRDIFF_MAX): Likewise.
357 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
358 [C99-based standards] (SIZE_MAX): Likewise.
359 [C99-based standards] (WCHAR_MAX): Likewise.
360 [C99-based standards] (WINT_MAX): Likewise.
361 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
362 constraint on value.
363 [C99-based standards] (WCHAR_MIN): Likewise.
364 [C99-based standards] (WINT_MIN): Likewise.
365 [C99-based standards] (*_t): Allow.
366 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
367 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
368 Include math.h-data and complex.h-data. Remove all expectations
369 of math.h and complex.h contents.
370 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
371 at end of line.
372 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
373 (struct tm): Expect tag.
374 [C99-based-standards] (wcstof): Expect function.
375 [C99-based-standards] (wcstold): Likewise.
376 [C99-based-standards] (wcstoll): Likewise.
377 [C99-based-standards] (wcstoull): Likewise.
378 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
379 macro-int-constant. Specify type.
380 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
381 constraint on value.
382 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
383 Specify type.
384 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
385 Specify value.
386 [ISO C standards]: Do not allow headers.
387 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
388 wcs[abcdefghijklmnopqrstuvwxyz]*.
389 [ISO C standards] (*_t): Do not allow.
390 * conform/data/wctype.h-data [C99-based standards] (iswblank):
391 Expect function.
392 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
393 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
394 Specify type.
395 [ISO C standards]: Do not allow headers.
396 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
397 is[abcdefghijklmnopqrstuvwxyz]*.
398 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
399 to[abcdefghijklmnopqrstuvwxyz]*.
400 [ISO C standards] (*_t): Do not allow.
401 * conform/data/stdalign.h-data: New file.
402 * conform/data/stdbool.h-data: Likewise.
403 * conform/data/stdnoreturn.h-data: Likewise.
404
01f34a3b
JL
4052012-11-07 Andreas Jaeger <aj@suse.de>
406
407 [BZ #14809]
408 * sysdeps/unix/sysv/linux/sys/sysctl.h (_UAPI_LINUX_KERNEL_H)
409 (_UAPI_LINUX_TYPES_H): Starting with Linux 3.7, the include header
410 guards are changed. Only define if not yet defined, #undef back
411 after including linux/sysctl.h if defined here.
412
7514feb8
RM
4132012-11-07 Roland McGrath <roland@hack.frob.com>
414
415 [BZ #14815]
416 * manual/filesys.texi (Directory Entries): Typo fix.
417 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
418
19b2ecfc
MS
4192012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
420
421 * elf/elf.h (EM_AARCH64): New macro.
422 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
423 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
424 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
425 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
426 (R_AARCH64_TLSDESC): Likewise.
427 (NT_ARM_TLS): Likewise.
428 (NT_ARM_HW_BREAK): Likewise.
429 (NT_ARM_HW_WATCH): Likewise.
430
60e235ee
JM
4312012-11-07 Joseph Myers <joseph@codesourcery.com>
432
433 [BZ #14811]
434 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
435 (__ieee754_powl): Saturate nonzero exponents with absolute value
436 below 0x1p-79 to +/- 0x1p-79.
437 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
438 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
439 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
440 nonzero exponents with absolute value below 0x1p-32 to +/-
441 0x1p-32.
442 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
443 (__ieee754_powl): Saturate nonzero exponents with absolute value
444 below 0x1p-79 to +/- 0x1p-79.
445 * math/libm-test.inc (pow_test): Add more tests.
446
0ab234b7
AK
4472012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
448
449 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
450 _dl_s390_cap_flags with kernel. Increase string length.
451 (_dl_s390_platforms): Add z196 and zEC12.
452
45832f74
JM
4532012-11-07 Joseph Myers <joseph@codesourcery.com>
454
455 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
456 Change XOPEN21K to XOPEN2K.
457
19218757
MK
4582012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
459
460 * string/memmove.c: Use memcpy when possible.
461
c5f45721
AJ
4622012-11-06 Andreas Jaeger <aj@suse.de>
463
464 * po/eo.po: Update from translation team.
465
82477c28
JM
4662012-11-06 Joseph Myers <joseph@codesourcery.com>
467
468 [BZ #14793]
469 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
470 exponent and small x and y exponents, scale x or y up. Increase
471 by 2 the exponent used in scaling up.
472 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
473 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
474 * math/libm-test.inc (fma_test): Add more tests.
475 (fma_test_towardzero): Likewise.
476 (fma_test_downward): Likewise.
477 (fma_test_upward): Likewise.
478
99252c8c
JM
4792012-11-05 Joseph Myers <joseph@codesourcery.com>
480
acfa885f
JM
481 [BZ #14805]
482 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
483 fenv_t *.
484
99252c8c
JM
485 [BZ #14801]
486 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
487 namespace for names of struct fields.
488 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
489 fenv_t fields.
490 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
491 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
492
d6d98dea
ST
4932012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
494
495 [BZ #3665]
496 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
497
e10bb107
TS
4982012-11-04 Thomas Schwinge <thomas@codesourcery.com>
499
500 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
501 PTR_DEMANGLE.
502
503 [BZ #5246]
504 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
505 PTR_DEMANGLE.
506
a0c2940d
JM
5072012-11-04 Joseph Myers <joseph@codesourcery.com>
508
509 [BZ #14797]
510 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
511 definitely overflow as x * y not x * y + z.
512 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
513 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
514 * math/libm-test.inc (fma_test): Add more tests.
515 (fma_test_towardzero): Likewise.
516 (fma_test_downward): Likewise.
517 (fma_test_upward): Likewise.
518
b830319d
TS
5192012-11-04 Thomas Schwinge <thomas@codesourcery.com>
520
521 [BZ #157]
522
523 * include/stub-tag.h: Remove file.
524 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
525 '#include' of it.
526 * manual/maint.texi (Porting): Don't reference it.
527 * Makerules ($(objpfx)stubs): Likewise.
528 * dirent/closedir.c: Don't include <stub-tag.h>.
529 * dirent/dirfd.c: Likewise.
530 * dirent/fdopendir.c: Likewise.
531 * dirent/getdents.c: Likewise.
532 * dirent/getdents64.c: Likewise.
533 * dirent/opendir.c: Likewise.
534 * dirent/readdir.c: Likewise.
535 * dirent/readdir64.c: Likewise.
536 * dirent/readdir64_r.c: Likewise.
537 * dirent/readdir_r.c: Likewise.
538 * dirent/rewinddir.c: Likewise.
539 * dirent/seekdir.c: Likewise.
540 * dirent/telldir.c: Likewise.
541 * gmon/profil.c: Likewise.
542 * grp/setgroups.c: Likewise.
543 * inet/if_index.c: Likewise.
544 * io/access.c: Likewise.
545 * io/chdir.c: Likewise.
546 * io/chmod.c: Likewise.
547 * io/chown.c: Likewise.
548 * io/close.c: Likewise.
549 * io/dup.c: Likewise.
550 * io/dup2.c: Likewise.
551 * io/dup3.c: Likewise.
552 * io/euidaccess.c: Likewise.
553 * io/faccessat.c: Likewise.
554 * io/fchdir.c: Likewise.
555 * io/fchmod.c: Likewise.
556 * io/fchmodat.c: Likewise.
557 * io/fchown.c: Likewise.
558 * io/fchownat.c: Likewise.
559 * io/fcntl.c: Likewise.
560 * io/flock.c: Likewise.
561 * io/fstatfs.c: Likewise.
562 * io/fstatfs64.c: Likewise.
563 * io/fstatvfs.c: Likewise.
564 * io/fstatvfs64.c: Likewise.
565 * io/futimens.c: Likewise.
566 * io/fxstat.c: Likewise.
567 * io/fxstat64.c: Likewise.
568 * io/fxstatat.c: Likewise.
569 * io/fxstatat64.c: Likewise.
570 * io/getcwd.c: Likewise.
571 * io/isatty.c: Likewise.
572 * io/lchmod.c: Likewise.
573 * io/lchown.c: Likewise.
574 * io/link.c: Likewise.
575 * io/linkat.c: Likewise.
576 * io/lseek.c: Likewise.
577 * io/lseek64.c: Likewise.
578 * io/lxstat64.c: Likewise.
579 * io/mkdir.c: Likewise.
580 * io/mkdirat.c: Likewise.
581 * io/mkfifo.c: Likewise.
582 * io/mkfifoat.c: Likewise.
583 * io/open.c: Likewise.
584 * io/open64.c: Likewise.
585 * io/openat.c: Likewise.
586 * io/openat64.c: Likewise.
587 * io/pipe.c: Likewise.
588 * io/pipe2.c: Likewise.
589 * io/poll.c: Likewise.
590 * io/posix_fadvise.c: Likewise.
591 * io/posix_fadvise64.c: Likewise.
592 * io/posix_fallocate.c: Likewise.
593 * io/posix_fallocate64.c: Likewise.
594 * io/read.c: Likewise.
595 * io/readlink.c: Likewise.
596 * io/readlinkat.c: Likewise.
597 * io/rmdir.c: Likewise.
598 * io/sendfile.c: Likewise.
599 * io/sendfile64.c: Likewise.
600 * io/statfs.c: Likewise.
601 * io/statfs64.c: Likewise.
602 * io/statvfs.c: Likewise.
603 * io/statvfs64.c: Likewise.
604 * io/symlink.c: Likewise.
605 * io/symlinkat.c: Likewise.
606 * io/ttyname.c: Likewise.
607 * io/ttyname_r.c: Likewise.
608 * io/umask.c: Likewise.
609 * io/unlink.c: Likewise.
610 * io/unlinkat.c: Likewise.
611 * io/utime.c: Likewise.
612 * io/utimensat.c: Likewise.
613 * io/write.c: Likewise.
614 * io/xmknod.c: Likewise.
615 * io/xmknodat.c: Likewise.
616 * io/xstat.c: Likewise.
617 * io/xstat64.c: Likewise.
618 * login/getpt.c: Likewise.
619 * login/grantpt.c: Likewise.
620 * login/unlockpt.c: Likewise.
621 * math/e_acoshl.c: Likewise.
622 * math/e_acosl.c: Likewise.
623 * math/e_asinl.c: Likewise.
624 * math/e_atan2l.c: Likewise.
625 * math/e_atanhl.c: Likewise.
626 * math/e_coshl.c: Likewise.
627 * math/e_expl.c: Likewise.
628 * math/e_fmodl.c: Likewise.
629 * math/e_gammal_r.c: Likewise.
630 * math/e_hypotl.c: Likewise.
631 * math/e_j0l.c: Likewise.
632 * math/e_j1l.c: Likewise.
633 * math/e_jnl.c: Likewise.
634 * math/e_lgammal_r.c: Likewise.
635 * math/e_log10l.c: Likewise.
636 * math/e_log2l.c: Likewise.
637 * math/e_logl.c: Likewise.
638 * math/e_powl.c: Likewise.
639 * math/e_rem_pio2l.c: Likewise.
640 * math/e_sinhl.c: Likewise.
641 * math/e_sqrtl.c: Likewise.
642 * math/fclrexcpt.c: Likewise.
643 * math/fedisblxcpt.c: Likewise.
644 * math/feenablxcpt.c: Likewise.
645 * math/fegetenv.c: Likewise.
646 * math/fegetexcept.c: Likewise.
647 * math/fegetround.c: Likewise.
648 * math/feholdexcpt.c: Likewise.
649 * math/fesetenv.c: Likewise.
650 * math/fesetround.c: Likewise.
651 * math/feupdateenv.c: Likewise.
652 * math/fgetexcptflg.c: Likewise.
653 * math/fraiseexcpt.c: Likewise.
654 * math/fsetexcptflg.c: Likewise.
655 * math/ftestexcept.c: Likewise.
656 * math/k_cosl.c: Likewise.
657 * math/k_rem_pio2l.c: Likewise.
658 * math/k_sinl.c: Likewise.
659 * math/k_tanl.c: Likewise.
660 * math/s_asinhl.c: Likewise.
661 * math/s_atanl.c: Likewise.
662 * math/s_cbrtl.c: Likewise.
663 * math/s_erfl.c: Likewise.
664 * math/s_expm1l.c: Likewise.
665 * math/s_log1pl.c: Likewise.
666 * math/s_tanhl.c: Likewise.
667 * misc/acct.c: Likewise.
668 * misc/brk.c: Likewise.
669 * misc/chflags.c: Likewise.
670 * misc/chroot.c: Likewise.
671 * misc/fchflags.c: Likewise.
672 * misc/fgetxattr.c: Likewise.
673 * misc/flistxattr.c: Likewise.
674 * misc/fremovexattr.c: Likewise.
675 * misc/fsetxattr.c: Likewise.
676 * misc/fsync.c: Likewise.
677 * misc/ftruncate.c: Likewise.
678 * misc/futimes.c: Likewise.
679 * misc/futimesat.c: Likewise.
680 * misc/getdomain.c: Likewise.
681 * misc/getdtsz.c: Likewise.
682 * misc/gethostid.c: Likewise.
683 * misc/gethostname.c: Likewise.
684 * misc/getloadavg.c: Likewise.
685 * misc/getpagesize.c: Likewise.
686 * misc/getsysstats.c: Likewise.
687 * misc/getxattr.c: Likewise.
688 * misc/gtty.c: Likewise.
689 * misc/ioctl.c: Likewise.
690 * misc/lgetxattr.c: Likewise.
691 * misc/listxattr.c: Likewise.
692 * misc/llistxattr.c: Likewise.
693 * misc/lremovexattr.c: Likewise.
694 * misc/lsetxattr.c: Likewise.
695 * misc/lutimes.c: Likewise.
696 * misc/madvise.c: Likewise.
697 * misc/mincore.c: Likewise.
698 * misc/mlock.c: Likewise.
699 * misc/mlockall.c: Likewise.
700 * misc/mmap.c: Likewise.
701 * misc/mprotect.c: Likewise.
702 * misc/msync.c: Likewise.
703 * misc/munlock.c: Likewise.
704 * misc/munlockall.c: Likewise.
705 * misc/munmap.c: Likewise.
706 * misc/preadv.c: Likewise.
707 * misc/preadv64.c: Likewise.
708 * misc/ptrace.c: Likewise.
709 * misc/pwritev.c: Likewise.
710 * misc/pwritev64.c: Likewise.
711 * misc/readv.c: Likewise.
712 * misc/reboot.c: Likewise.
713 * misc/remap_file_pages.c: Likewise.
714 * misc/removexattr.c: Likewise.
715 * misc/revoke.c: Likewise.
716 * misc/select.c: Likewise.
717 * misc/setdomain.c: Likewise.
718 * misc/setegid.c: Likewise.
719 * misc/seteuid.c: Likewise.
720 * misc/sethostid.c: Likewise.
721 * misc/sethostname.c: Likewise.
722 * misc/setregid.c: Likewise.
723 * misc/setreuid.c: Likewise.
724 * misc/setxattr.c: Likewise.
725 * misc/sstk.c: Likewise.
726 * misc/stty.c: Likewise.
727 * misc/swapoff.c: Likewise.
728 * misc/swapon.c: Likewise.
729 * misc/sync.c: Likewise.
730 * misc/syncfs.c: Likewise.
731 * misc/syscall.c: Likewise.
732 * misc/truncate.c: Likewise.
733 * misc/ualarm.c: Likewise.
734 * misc/usleep.c: Likewise.
735 * misc/ustat.c: Likewise.
736 * misc/utimes.c: Likewise.
737 * misc/vhangup.c: Likewise.
738 * misc/writev.c: Likewise.
739 * posix/_exit.c: Likewise.
740 * posix/alarm.c: Likewise.
741 * posix/execve.c: Likewise.
742 * posix/fexecve.c: Likewise.
743 * posix/fork.c: Likewise.
744 * posix/fpathconf.c: Likewise.
745 * posix/getaddrinfo.c: Likewise.
746 * posix/getegid.c: Likewise.
747 * posix/geteuid.c: Likewise.
748 * posix/getgid.c: Likewise.
749 * posix/getgroups.c: Likewise.
750 * posix/getlogin.c: Likewise.
751 * posix/getlogin_r.c: Likewise.
752 * posix/getpgid.c: Likewise.
753 * posix/getpid.c: Likewise.
754 * posix/getppid.c: Likewise.
755 * posix/getresgid.c: Likewise.
756 * posix/getresuid.c: Likewise.
757 * posix/getsid.c: Likewise.
758 * posix/getuid.c: Likewise.
759 * posix/glob64.c: Likewise.
760 * posix/nanosleep.c: Likewise.
761 * posix/pathconf.c: Likewise.
762 * posix/pause.c: Likewise.
763 * posix/posix_madvise.c: Likewise.
764 * posix/pread.c: Likewise.
765 * posix/pread64.c: Likewise.
766 * posix/pwrite.c: Likewise.
767 * posix/pwrite64.c: Likewise.
768 * posix/sched_getaffinity.c: Likewise.
769 * posix/sched_getp.c: Likewise.
770 * posix/sched_gets.c: Likewise.
771 * posix/sched_primax.c: Likewise.
772 * posix/sched_primin.c: Likewise.
773 * posix/sched_rr_gi.c: Likewise.
774 * posix/sched_setaffinity.c: Likewise.
775 * posix/sched_setp.c: Likewise.
776 * posix/sched_sets.c: Likewise.
777 * posix/sched_yield.c: Likewise.
778 * posix/setgid.c: Likewise.
779 * posix/setlogin.c: Likewise.
780 * posix/setpgid.c: Likewise.
781 * posix/setresgid.c: Likewise.
782 * posix/setresuid.c: Likewise.
783 * posix/setsid.c: Likewise.
784 * posix/setuid.c: Likewise.
785 * posix/sleep.c: Likewise.
786 * posix/spawni.c: Likewise.
787 * posix/sysconf.c: Likewise.
788 * posix/times.c: Likewise.
789 * posix/wait.c: Likewise.
790 * posix/wait3.c: Likewise.
791 * posix/wait4.c: Likewise.
792 * posix/waitpid.c: Likewise.
793 * resolv/gai_sigqueue.c: Likewise.
794 * resource/getpriority.c: Likewise.
795 * resource/getrlimit.c: Likewise.
796 * resource/getrusage.c: Likewise.
797 * resource/nice.c: Likewise.
798 * resource/setpriority.c: Likewise.
799 * resource/setrlimit.c: Likewise.
800 * resource/ulimit.c: Likewise.
801 * rt/aio_cancel.c: Likewise.
802 * rt/aio_fsync.c: Likewise.
803 * rt/aio_read.c: Likewise.
804 * rt/aio_sigqueue.c: Likewise.
805 * rt/aio_suspend.c: Likewise.
806 * rt/aio_write.c: Likewise.
807 * rt/clock_getres.c: Likewise.
808 * rt/clock_gettime.c: Likewise.
809 * rt/clock_nanosleep.c: Likewise.
810 * rt/clock_settime.c: Likewise.
811 * rt/lio_listio.c: Likewise.
812 * rt/mq_close.c: Likewise.
813 * rt/mq_getattr.c: Likewise.
814 * rt/mq_notify.c: Likewise.
815 * rt/mq_open.c: Likewise.
816 * rt/mq_receive.c: Likewise.
817 * rt/mq_send.c: Likewise.
818 * rt/mq_setattr.c: Likewise.
819 * rt/mq_timedreceive.c: Likewise.
820 * rt/mq_timedsend.c: Likewise.
821 * rt/mq_unlink.c: Likewise.
822 * rt/shm_open.c: Likewise.
823 * rt/shm_unlink.c: Likewise.
824 * rt/timer_create.c: Likewise.
825 * rt/timer_delete.c: Likewise.
826 * rt/timer_getoverr.c: Likewise.
827 * rt/timer_gettime.c: Likewise.
828 * rt/timer_settime.c: Likewise.
829 * setjmp/__longjmp.c: Likewise.
830 * setjmp/setjmp.c: Likewise.
831 * signal/kill.c: Likewise.
832 * signal/killpg.c: Likewise.
833 * signal/raise.c: Likewise.
834 * signal/sigaction.c: Likewise.
835 * signal/sigaltstack.c: Likewise.
836 * signal/sigblock.c: Likewise.
837 * signal/sigignore.c: Likewise.
838 * signal/sigintr.c: Likewise.
839 * signal/signal.c: Likewise.
840 * signal/sigpause.c: Likewise.
841 * signal/sigpending.c: Likewise.
842 * signal/sigqueue.c: Likewise.
843 * signal/sigreturn.c: Likewise.
844 * signal/sigset.c: Likewise.
845 * signal/sigsetmask.c: Likewise.
846 * signal/sigstack.c: Likewise.
847 * signal/sigsuspend.c: Likewise.
848 * signal/sigtimedwait.c: Likewise.
849 * signal/sigvec.c: Likewise.
850 * signal/sigwait.c: Likewise.
851 * signal/sigwaitinfo.c: Likewise.
852 * signal/sysv_signal.c: Likewise.
853 * socket/accept.c: Likewise.
854 * socket/accept4.c: Likewise.
855 * socket/bind.c: Likewise.
856 * socket/connect.c: Likewise.
857 * socket/getpeername.c: Likewise.
858 * socket/getsockname.c: Likewise.
859 * socket/getsockopt.c: Likewise.
860 * socket/isfdtype.c: Likewise.
861 * socket/listen.c: Likewise.
862 * socket/recv.c: Likewise.
863 * socket/recvfrom.c: Likewise.
864 * socket/recvmsg.c: Likewise.
865 * socket/send.c: Likewise.
866 * socket/sendmsg.c: Likewise.
867 * socket/sendto.c: Likewise.
868 * socket/setsockopt.c: Likewise.
869 * socket/shutdown.c: Likewise.
870 * socket/sockatmark.c: Likewise.
871 * socket/socket.c: Likewise.
872 * socket/socketpair.c: Likewise.
873 * stdio-common/ctermid.c: Likewise.
874 * stdio-common/cuserid.c: Likewise.
875 * stdio-common/remove.c: Likewise.
876 * stdio-common/rename.c: Likewise.
877 * stdio-common/renameat.c: Likewise.
878 * stdio-common/tempname.c: Likewise.
879 * stdlib/getcontext.c: Likewise.
880 * stdlib/makecontext.c: Likewise.
881 * stdlib/setcontext.c: Likewise.
882 * stdlib/swapcontext.c: Likewise.
883 * stdlib/system.c: Likewise.
884 * streams/fattach.c: Likewise.
885 * streams/fdetach.c: Likewise.
886 * streams/getmsg.c: Likewise.
887 * streams/getpmsg.c: Likewise.
888 * streams/putmsg.c: Likewise.
889 * streams/putpmsg.c: Likewise.
890 * sysdeps/unix/bsd/getpt.c: Likewise.
891 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
892 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
893 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
895 Likewise.
896 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
897 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
898 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
899 * sysvipc/msgctl.c: Likewise.
900 * sysvipc/msgget.c: Likewise.
901 * sysvipc/msgrcv.c: Likewise.
902 * sysvipc/msgsnd.c: Likewise.
903 * sysvipc/semctl.c: Likewise.
904 * sysvipc/semget.c: Likewise.
905 * sysvipc/semop.c: Likewise.
906 * sysvipc/semtimedop.c: Likewise.
907 * sysvipc/shmat.c: Likewise.
908 * sysvipc/shmctl.c: Likewise.
909 * sysvipc/shmdt.c: Likewise.
910 * sysvipc/shmget.c: Likewise.
911 * termios/tcdrain.c: Likewise.
912 * termios/tcflow.c: Likewise.
913 * termios/tcflush.c: Likewise.
914 * termios/tcgetattr.c: Likewise.
915 * termios/tcgetpgrp.c: Likewise.
916 * termios/tcsendbrk.c: Likewise.
917 * termios/tcsetattr.c: Likewise.
918 * termios/tcsetpgrp.c: Likewise.
919 * time/adjtime.c: Likewise.
920 * time/clock.c: Likewise.
921 * time/getitimer.c: Likewise.
922 * time/gettimeofday.c: Likewise.
923 * time/setitimer.c: Likewise.
924 * time/settimeofday.c: Likewise.
925 * time/stime.c: Likewise.
926 * time/time.c: Likewise.
927
9282012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 929
a20492cf
PT
930 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
931 /usr/old/bin.
932
72e182e3
PT
933 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
934 instead of spaces.
935 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
936
fbeafede
JM
9372012-11-03 Joseph Myers <joseph@codesourcery.com>
938
5b5b04d6
JM
939 [BZ #14796]
940 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
941 FE_TONEAREST before applying Dekker multiplication and Knuth
942 addition. Clear inexact exceptions and check for exact zero
943 results afterwards.
944 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
945 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
946 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
947 * math/libm-test.inc (fma_test): Add more tests.
948 (fma_test_towardzero): Likewise.
949 (fma_test_downward): Likewise.
950 (fma_test_upward): Likewise.
951 * sysdeps/generic/math_private.h (default_libc_fesetround): New
952 function.
953 (libc_fesetround): New macro.
954 (libc_fesetroundf): Likewise.
955 (libc_fesetroundl): Likewise.
956 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
957 function.
958 (libc_fesetround_387): Likewise.
959 (libc_fesetroundf): New macro.
960 (libc_fesetround): Likewise.
961 (libc_fesetroundl): Likewise.
962 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
963 function.
964 (libc_fesetroundf): New macro.
965 (libc_fesetround): Likewise.
966 (libc_fesetroundl): Likewise.
967 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
968 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
969 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
970 libm_hidden_ver.
971 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
972 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
973 libm_hidden_def.
974 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
975 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
976 libm_hidden_ver.
977 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
978 libm_hidden_def.
979
fbeafede
JM
980 [BZ #3439]
981 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
982 integer constant usable in #if and use that to give value to enum
983 constant.
984 (FE_DIVBYZERO): Likewise.
985 (FE_UNDERFLOW): Likewise.
986 (FE_OVERFLOW): Likewise.
987 (FE_INVALID): Likewise.
988 (FE_INVALID_SNAN): Likewise.
989 (FE_INVALID_ISI): Likewise.
990 (FE_INVALID_IDI): Likewise.
991 (FE_INVALID_ZDZ): Likewise.
992 (FE_INVALID_IMZ): Likewise.
993 (FE_INVALID_COMPARE): Likewise.
994 (FE_INVALID_SOFTWARE): Likewise.
995 (FE_INVALID_SQRT): Likewise.
996 (FE_INVALID_INTEGER_CONVERSION): Likewise.
997 (FE_TONEAREST): Likewise.
998 (FE_TOWARDZERO): Likewise.
999 (FE_UPWARD): Likewise.
1000 (FE_DOWNWARD): Likewise.
1001 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
1002 (FE_DIVBYZERO): Likewise.
1003 (FE_OVERFLOW): Likewise.
1004 (FE_UNDERFLOW): Likewise.
1005 (FE_INEXACT): Likewise.
1006 (FE_TONEAREST): Likewise.
1007 (FE_DOWNWARD): Likewise.
1008 (FE_UPWARD): Likewise.
1009 (FE_TOWARDZERO): Likewise.
1010 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
1011 (FE_UNDERFLOW): Likewise.
1012 (FE_OVERFLOW): Likewise.
1013 (FE_DIVBYZERO): Likewise.
1014 (FE_INVALID): Likewise.
1015 (FE_TONEAREST): Likewise.
1016 (FE_TOWARDZERO): Likewise.
1017 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
1018 (FE_OVERFLOW): Likewise.
1019 (FE_UNDERFLOW): Likewise.
1020 (FE_DIVBYZERO): Likewise.
1021 (FE_INEXACT): Likewise.
1022 (FE_TONEAREST): Likewise.
1023 (FE_TOWARDZERO): Likewise.
1024 (FE_UPWARD): Likewise.
1025 (FE_DOWNWARD): Likewise.
1026 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
1027 (FE_DIVBYZERO): Likewise.
1028 (FE_OVERFLOW): Likewise.
1029 (FE_UNDERFLOW): Likewise.
1030 (FE_INEXACT): Likewise.
1031 (FE_TONEAREST): Likewise.
1032 (FE_DOWNWARD): Likewise.
1033 (FE_UPWARD): Likewise.
1034 (FE_TOWARDZERO): Likewise.
1035
105ca950
CM
10362012-11-02 Chris Metcalf <cmetcalf@tilera.com>
1037
1038 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
1039
a542b389
AS
10402012-11-03 Andreas Schwab <schwab@linux-m68k.org>
1041
1042 * scripts/cross-test-ssh.sh (command): Use newlines to separate
1043 commands. Quote $PWD.
1044 (blacklist_exports): Don't use remove_newlines. Replace "declare
1045 -x" by "export".
1046 (remove_newlines): Remove.
1047
f62c8abc
L
10482012-11-02 H.J. Lu <hongjiu.lu@intel.com>
1049
1050 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
1051 * stdlib/stdlib.h (atof): Moved to ...
1052 * include/bits/stdlib-float.h: Here. New file.
1053 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
1054 * stdlib/bits/stdlib-float.h: New file.
1055 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
1056 -mno-sse -mno-mmx.
1057 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
1058 <xmmintrin.h>.
1059
0155d5b2
JM
10602012-11-02 Joseph Myers <joseph@codesourcery.com>
1061
a68d0680
JM
1062 * conform/conformtest.pl (@headers): Add fenv.h.
1063 * conform/data/fenv.h-data: New file.
1064 * include/fenv.h [_ISOMAC]: Disable all contents of file except
1065 include of <math/fenv.h>.
1066
caf7f573
JM
1067 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
1068 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
1069 && !UNIX98]. Enables tests for XOPEN2K8.
1070 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
1071 POSIX2008]: Likewise.
1072
6c073ad6
JM
1073 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
1074 (struct rusage): Do not expect type or its members.
1075
0155d5b2
JM
1076 [BZ #3439]
1077 * math/math.h (FP_NAN): Define macro to integer constant usable in
1078 #if and use that to give value to enum constant.
1079 (FP_INFINITE): Likewise.
1080 (FP_ZERO): Likewise.
1081 (FP_SUBNORMAL): Likewise.
1082 (FP_NORMAL): Likewise.
1083
b5dcacb4
AS
10842012-11-02 Andreas Schwab <schwab@linux-m68k.org>
1085
1086 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
1087 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
1088 arguments.
1089
f7934be8
RM
10902012-11-02 Roland McGrath <roland@hack.frob.com>
1091
1092 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
1093 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
1094 autoconf-time if not.
1095 * configure.in: Remove AC_PREREQ.
1096
d7d08bde
TMQMF
10972012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1098
1099 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
1100 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
1101 of the internal implementation.
1102
dcdae19a
JM
11032012-11-02 Joseph Myers <joseph@codesourcery.com>
1104
1105 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
1106 except include of <misc/sys/syslog.h>.
1107
d6cffd3e
AS
11082012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1109
1110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
1111 function returns with a NULL context exit with zero.
1112
b3563932
TMQMF
11132012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1114
1115 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
1116
b288a93d
L
11172012-11-01 H.J. Lu <hongjiu.lu@intel.com>
1118
1119 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
1120 (run_program_cmd): This.
1121 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
1122 (tst_langinfo): New variable. Use it.
1123
a2421a68
SAS
11242012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
1125
1126 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
1127 floating point opcodes.
1128
6f796e1b
TS
11292012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1130
7402596b
TS
1131 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
1132 variable.
1133
d0d4f868
TS
1134 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
1135
6f796e1b
TS
1136 * sysdeps/mach/hurd/powerpc: Remove directory.
1137 * sysdeps/mach/powerpc: Likewise.
1138
4da224a2
AS
11392012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1140
1141 * scripts/check-local-headers.sh: Ignore c++ headers.
1142
341dd673
TS
11432012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1144
1145 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
1146 __libc_cleanup_region_start argument.
1147
473611b2
JM
11482012-11-01 Joseph Myers <joseph@codesourcery.com>
1149
1150 [BZ #14784]
1151 [BZ #14785]
1152 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
1153 x * y using scaling, not as x * y + z.
1154 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1155 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1156 * math/libm-test.inc (fma_test): Add more tests.
1157 (fma_test_towardzero): Likewise.
1158 (fma_test_downward): Likewise.
1159 (fma_test_upward): Likewise.
1160
4078da3d
TS
11612012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1162
1163 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
1164
903252aa
JM
11652012-10-31 Joseph Myers <joseph@codesourcery.com>
1166
1167 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
1168 New variable.
1169
cbc818d0
TS
11702012-10-31 Thomas Schwinge <thomas@codesourcery.com>
1171
1172 * rt/tst-shm.c (worker): Correct checking for mmap failure.
1173
5a03cb1e
AS
11742012-10-31 Andreas Schwab <schwab@linux-m68k.org>
1175
1176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1177 Fix sort order.
1178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1179 Likewise.
1180
90aff2ff
TMQMF
11812012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1182
1183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1184 Fix the order of the list for glibc 2.17.
1185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1186 Likewise.
1187
1818fcb7
AS
11882012-10-31 Andreas Schwab <schwab@linux-m68k.org>
1189
1190 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1191
ef82f4da
JM
11922012-10-31 Joseph Myers <joseph@codesourcery.com>
1193
16a0e2ec
JM
1194 [BZ #14610]
1195 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
1196 for low part of x being zero before using __atanl (y).
1197 * math/libm-test.inc (atan2_test): Add another test.
1198
0eb69512
JM
1199 * manual/install.texi (Configuring and compiling): Document
1200 general use of test-wrapper and test-wrapper-env.
1201 * INSTALL: Regenerated.
1202
ef82f4da
JM
1203 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
1204 (__fma): Do not extract and scale down low bits on after-rounding
1205 systems when result rounded to normal precision would have normal
1206 exponent.
1207 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
1208 (__fmal): Do not extract and scale down low bits on after-rounding
1209 systems when result rounded to normal precision would have normal
1210 exponent.
1211 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
1212 (__fmal): Do not extract and scale down low bits on after-rounding
1213 systems when result rounded to normal precision would have normal
1214 exponent.
1215 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
1216 macro.
1217 (fma_test): Add more tests.
1218 (fma_test_towardzero): Likewise.
1219 (fma_test_downward): Likewise.
1220 (fma_test_upward): Likewise.
1221
954ef0d9
L
12222012-10-30 H.J. Lu <hongjiu.lu@intel.com>
1223
1224 * sysdeps/i386/tininess.h: Renamed to ...
1225 * sysdeps/x86/tininess.h: This.
1226 * sysdeps/x86_64/tininess.h: Removed.
1227
df61ffb2
JM
12282012-10-30 Joseph Myers <joseph@codesourcery.com>
1229
1230 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
1231 input. Use $(build-program-cmd).
1232 ($(objpfx)tst-array1-static.out): Likewise.
1233 ($(objpfx)tst-array2.out): Likewise.
1234 ($(objpfx)tst-array3.out): Likewise.
1235 ($(objpfx)tst-array4.out): Likewise.
1236 ($(objpfx)tst-array5.out): Likewise.
1237 ($(objpfx)tst-array5-static.out): Likewise.
1238
01767843
CM
12392012-10-30 Chris Metcalf <cmetcalf@tilera.com>
1240
47cc1490
CM
1241 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
1242 if defined.
1243
01767843
CM
1244 * nss/nsswitch.h (nss_interface_function): Provide new
1245 macro for use with NSS functions.
1246 * grp/initgroups.c: Use new macro.
1247 * nss/getXXbyYY.c: Likewise.
1248 * nss/getXXbyYY_r.c: Likewise.
1249 * nss/getXXent.c: Likewise.
1250 * nss/getXXent_r.c: Likewise.
1251 * sysdeps/posix/getaddrinfo.c: Likewise.
1252
8321aa97
AJ
12532012-10-30 Andreas Jaeger <aj@suse.de>
1254
1255 * po/ru.po: Update Russion translation from translation project.
1256
2a27fd6d
JM
12572012-10-30 Joseph Myers <joseph@codesourcery.com>
1258
8627a232
JM
1259 [BZ #14152]
1260 [BZ #14783]
1261 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
1262 result and shift together with sticky bit instead of replicating
1263 round-to-nearest rounding.
1264 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1265 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1266 * math/libm-test.inc (fma_test): Add more tests. Do not permit
1267 missing underflow exceptions.
1268 (fma_test_towardzero): Add more tests.
1269 (fma_test_downward): Likewise.
1270 (fma_test_upward): Likewise.
1271
2a27fd6d
JM
1272 [BZ #14047]
1273 * sysdeps/generic/tininess.h: New file.
1274 * sysdeps/i386/tininess.h: Likewise.
1275 * sysdeps/sh/tininess.h: Likewise.
1276 * sysdeps/x86_64/tininess.h: Likewise.
1277 * stdlib/tst-strtod-underflow.c: Likewise.
1278 * stdlib/tst-tininess.c: Likewise.
1279 * stdlib/strtod_l.c: Include <tininess.h>.
1280 (round_and_return): Do not set errno for exact underflow cases.
1281 Force an underflow exception when setting errno for underflow.
1282 Determine underflow based on rounding to normal precision if
1283 TININESS_AFTER_ROUNDING.
1284 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
1285 ERANGE for exact underflow cases.
1286 * stdlib/Makefile (tests): Add tst-tininess and
1287 tst-strtod-underflow.
1288 ($(objpfx)tst-tininess): Use $(link-libm).
1289 ($(objpfx)tst-strtod-underflow): Likewise.
1290
e7170363
AJ
12912012-10-30 Andreas Jaeger <aj@suse.de>
1292
e5088dc6
AJ
1293 [BZ#14767]
1294 * elf/Makefile (tests): Remove conditional for have-initfini-array
1295 since this is now always required and the variable does not exist
1296 anymore.
1297 (tests-static): Likewise.
1298 (modules-names): Likewise.
1299
e7170363 1300 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
1301
1302 * elf/tst-array1.c (fini_array): Make writeable so that it can be
1303 merged with constructor/destructor.
1304 (init_array): Likewise.
1305 * elf/tst-array2dep.c (fini_array): Likewise.
1306 (init_array): Likewise.
1307
60457d8a
MF
13082012-10-29 Mike Frysinger <vapier@gentoo.org>
1309
1310 * manual/message.texi: Delete @cartouche tags.
1311
8bece752
PT
13122012-10-29 Pino Toscano <toscano.pino@tiscali.it>
1313
94ce799f
PT
1314 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
1315 EOPNOTSUPP.
1316 * sysdeps/mach/hurd/fsync.c: Likewise.
1317
8bece752
PT
1318 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
1319 [_POSIX_REALTIME_SIGNALS]: Change condition to
1320 [_POSIX_REALTIME_SIGNALS > 0].
1321
86ebe6b1
AJ
13222012-10-27 Andreas Jaeger <aj@suse.de>
1323
1324 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
1325 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
1326 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
1327 [__WORDSIZE != 64]: Likewise.
1328
54399c08
L
13292012-10-26 H.J. Lu <hongjiu.lu@intel.com>
1330
1331 * iconvdata/tst-table.sh: Remove ${SHELL}.
1332 * iconvdata/tst-tables.sh: Likewise.
1333
e2211bed
DM
13342012-10-25 David S. Miller <davem@davemloft.net>
1335
1336 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1337 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
1338 of strtoull.
1339
f303f97c
DM
1340 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
1341 ifunc-impl-list.c
1342 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1343 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
1344 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
1345 file.
1346
1e9d84cd
RM
13472012-10-25 Roland McGrath <roland@hack.frob.com>
1348
1349 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1350 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
1351 __getdirentries.
1352
df381762
JM
13532012-10-25 Joseph Myers <joseph@codesourcery.com>
1354 Jim Blandy <jimb@codesourcery.com>
1355
1356 * scripts/cross-test-ssh.sh: New file.
1357 * manual/install.texi (Configuring and compiling): Document use of
1358 cross-test-ssh.sh.
1359 * INSTALL: Regenerated.
1360
bff64913
PT
13612012-10-25 Pino Toscano <toscano.pino@tiscali.it>
1362
1363 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
1364 EOPNOTSUPP.
1365
25fe8932
JM
13662012-10-25 Joseph Myers <joseph@codesourcery.com>
1367
1368 * Makeconfig (run-program-prefix): Fix comment.
1369
cc1290d0
JM
13702012-10-24 Joseph Myers <joseph@codesourcery.com>
1371 Jim Blandy <jimb@codesourcery.com>
1372
1373 * Makeconfig (test-wrapper): New variable,
1374 (test-wrapper-env): Likewise.
1375 [$(cross-compiling) = yes && $(test-wrapper) != ""]
1376 (run-built-tests): Define to yes.
1377 (run-program-prefix): Use $(test-wrapper).
1378 (built-program-cmd): Likewise.
1379 * Rules (make-test-out): Use $(test-wrapper-env) and
1380 $(host-built-program-cmd).
1381 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
1382 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
1383 tst-pathopt.sh.
1384 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
1385 $(test-wrapper-env) to tst-rtld-load-self.sh.
1386 ($(objpfx)order2.out): Use $(test-wrapper).
1387 ($(objpfx)tst-initorder.out): Likewise.
1388 ($(objpfx)tst-initorder2.out): Likewise.
1389 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
1390 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
1391 (test_wrapper_env): New variable. Use it to run ld.so.
1392 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
1393 Use it to run ld.so.
1394 (test_wrapper_env): Likewise.
1395 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
1396 $(test-wrapper) to run-iconv-test.sh.
1397 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
1398 (ICONV): Use $test_wrapper.
1399 * posix/Makefile ($(objpfx)globtest.out): Pass
1400 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
1401 globtest.sh, not $(run-program-prefix).
1402 * posix/globtest.sh (run_via_rtld_prefix): New variable.
1403 (test_wrapper): Likewise.
1404 (test_wrapper_env): Likewise. Use it to run globtest with HOME
1405 set together with run_via_rtld_prefix.
1406 (run_program_prefix): Define in terms of test_wrapper and
1407 run_via_rtld_prefix.
1408
6e6249d0
RM
14092012-10-24 Roland McGrath <roland@hack.frob.com>
1410
1411 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
1412 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
1413 Targets removed.
1414
1415 [BZ #14743]
1416 * include/time.h: Remove librt_hidden_proto (clock_gettime).
1417 Declare __clock_getres, __clock_gettime, __clock_settime,
1418 __clock_nanosleep, and __clock_getcpuclockid.
1419 * rt/clock_gettime.c: Define __clock_gettime as an alias.
1420 Remove librt_hidden_def (clock_gettime).
1421 * sysdeps/unix/clock_gettime.c: Likewise.
1422 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
1423 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1424 * rt/clock_getres.c: Define __clock_getres as an alias.
1425 * sysdeps/posix/clock_getres.c: Likewise.
1426 * rt/clock_settime.c: Define __clock_settime as an alias.
1427 * sysdeps/unix/clock_settime.c: Likewise.
1428 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
1429 * sysdeps/unix/clock_nanosleep.c: Likewise.
1430 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1431 * rt/clock-compat.c: New file.
1432 * rt/Makefile (librt-routines): Add clock-compat and move
1433 $(clock-routines) to ...
1434 (routines): ... here, new variable.
1435 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
1436 Don't add get_clockfreq here.
1437 * rt/Versions (libc: GLIBC_2.17): New version set.
1438 Add clock_* symbols here.
1439 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
1440 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
1441 (GLIBC_2.17): Add clock_* symbols.
1442 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1443 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1444 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1446 Likewise.
1447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1448 Likewise.
1449 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1450 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
1451 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1452 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1453 * NEWS: Mention the move.
1454
1455 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1456 Use __open, __read, __close rather than their public counterparts.
1457 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1458 (__get_clockfreq_via_cpuinfo): Likewise.
1459 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
1460 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
1461
1462 * config.h.in (HAVE_IFUNC): New #undef.
1463 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
1464 was successful.
1465 * configure: Regenerated.
1466
0cae3f4b
MF
14672012-10-24 Mike Frysinger <vapier@gentoo.org>
1468
1469 * configure.in: Move READELF check to start of file.
1470 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
1471 libc_cv_asm_gnu_indirect_function in the process.
1472 * configure: Regenerated.
1473
8175a253
MF
14742012-10-24 Mike Frysinger <vapier@gentoo.org>
1475
1476 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
1477 send the output to /dev/null.
1478 (libc_cv_cc_with_libunwind): Likewise.
1479 (libc_cv_as_noexecstack): Likewise.
1480 * configure: Regenerate.
1481
0708a7d1
JM
14822012-10-24 Joseph Myers <joseph@codesourcery.com>
1483
10b40d85
JM
1484 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
1485
0708a7d1
JM
1486 * posix/globtest.sh (TMPDIR): Do not set.
1487 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
1488 (testout): Likewise.
1489
9fddec1a
AJ
14902012-10-24 Andreas Jaeger <aj@suse.de>
1491
3a8db22f
AJ
1492 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
1493 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
1494 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
1495 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
1496 posix_fadvise64, posix_fallocate64.
1497
9fddec1a
AJ
1498 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
1499 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
1500 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
1501 Likewise.
1502 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
1503 Likewise.
1504 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
1505
1506 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
1507 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
1508 <bits/fcntl-linux.h>.
1509 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
1510
1511 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
1512 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
1513 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
1514 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
1515 [__WORDSIZE != 64]: Likewise.
1516
ebfd1bbd
JM
15172012-10-23 Joseph Myers <joseph@codesourcery.com>
1518
03ac099f
JM
1519 * Makeconfig (run-built-tests): New variable.
1520 * Rules [$(cross-compiling) = yes]: Change condition to
1521 [$(run-built-tests) = no].
1522 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
1523 to [$(run-built-tests) = yes].
1524 * elf/Makefile [$(cross-compiling) = no]: Likewise
1525 * grp/Makefile [$(cross-compiling) = no]: Likewise.
1526 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
1527 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
1528 * intl/Makefile [$(cross-compiling) = no]: Likewise.
1529 * io/Makefile [$(cross-compiling) = no]: Likewise.
1530 * libio/Makefile [$(cross-compiling) = no]: Likewise.
1531 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
1532 * misc/Makefile [$(cross-compiling) = no]: Likewise.
1533 * posix/Makefile [$(cross-compiling) = no]: Likewise.
1534 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
1535 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
1536 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
1537 * string/Makefile [$(cross-compiling) = no]: Likewise.
1538
ebfd1bbd
JM
1539 * posix/Makefile ($(objpfx)globtest.out): Pass
1540 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
1541 $(rtld-installed-name).
1542 * posix/globtest.sh (elf_objpfx): Remove variable.
1543 (rtld_installed_name): Likewise.
1544 (library_path): Likewise.
1545 (run_program_prefix): New variable. Use for running globtest
1546 binary.
1547
166bca24
JB
15482012-10-23 Jim Blandy <jimb@codesourcery.com>
1549 Joseph Myers <joseph@codesourcery.com>
1550
1551 * Makeconfig (host-built-program-cmd): New variable.
1552 * elf/Makefile (tst-stackguard1-ARGS): Use
1553 $(host-built-program-cmd).
1554 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
1555 (tst-spawn-ARGS): Likewise.
1556 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
1557
88866099
JM
15582012-10-23 Joseph Myers <joseph@codesourcery.com>
1559 Jim Blandy <jimb@codesourcery.com>
1560
1561 * Makeconfig (run-via-rtld-prefix): New variable.
1562 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
1563 (built-program-cmd): Likewise.
1564
b4b4c296
AJ
15652012-10-22 Andreas Jaeger <aj@suse.de>
1566
1567 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
1568 __O_RSYNC if it exists, otherwise to O_SYNC.
1569
6fb54a22
JB
15702012-10-22 Jim Blandy <jimb@codesourcery.com>
1571 Joseph Myers <joseph@codesourcery.com>
1572
1573 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
1574 /dev/null.
1575 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
1576 from /dev/null
1577 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
1578 /dev/null.
1579
481b90b9
AJ
15802012-10-22 Andreas Jaeger <aj@suse.de>
1581
2a0e2669
AJ
1582 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
1583 Define always.
1584 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
1585
76e38f9a
AJ
1586 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1587 bits/fcntl-linux.h.
1588
7cd37b43
AJ
1589 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
1590 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
1591
481b90b9
AJ
1592 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
1593 to __O_LARGEFILE.
1594 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
1595 to __O_LARGEFILE.
1596
aba75984
JB
15972012-10-21 Jim Blandy <jimb@codesourcery.com>
1598 Joseph Myers <joseph@codesourcery.com>
1599
1600 * config.make.in (NM): New variable.
1601
88d4247f
AJ
16022012-10-21 Andreas Jaeger <aj@suse.de>
1603
1604 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
1605 definitions and declarations that are provided by
1606 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1607
f2eed205
L
16082012-10-20 H.J. Lu <hongjiu.lu@intel.com>
1609
1610 [BZ #14683]
1611 * elf/Makefile (tests-static): Add tst-leaks1-static.
1612 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
1613 ($(objpfx)tst-leaks1-static): New rule.
1614 ($(objpfx)tst-leaks1-static-mem): Likewise.
1615 (tst-leaks1-static-ENV): New macro.
1616 * elf/dl-open.c (dl_open_worker): Check the main application
1617 only if SHARED is defined.
1618 * elf/tst-leaks1-static.c: New file.
1619
335e6931
AJ
16202012-10-20 Andreas Jaeger <aj@suse.de>
1621
1622 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
1623 generic values for Linux.
1624 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
1625 and declarations that are provided by <bits/fcntl-linux.h> and
1626 include <bits/fcntl-linux.h>.
1627 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1628 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
1629
ac5c94d3
RM
16302012-10-20 Roland McGrath <roland@hack.frob.com>
1631
1632 * io/fcntl.h: Move include of <bits/types.h> to the top and
1633 include it unconditionally.
1634
de54b33a
L
16352012-10-20 H.J. Lu <hongjiu.lu@intel.com>
1636
228cfb01
L
1637 * wcsmbs/Makefile (tests-ifunc): New variable.
1638 (tests): Add $(tests-ifunc).
1639 * wcsmbs/test-wcschr-ifunc.c: New file.
1640 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
1641 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
1642 * wcsmbs/test-wcslen-ifunc.c: Likewise.
1643 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
1644 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
1645
69f07e5f
L
1646 * string/Makefile (tests-ifunc): New variable.
1647 (tests): Add $(tests-ifunc).
1648 * string/test-memccpy.c (TEST_NAME): New macro.
1649 * string/test-memchr.c (TEST_NAME): Likewise.
1650 * string/test-memcmp.c (TEST_NAME): Likewise.
1651 * string/test-memcpy.c (TEST_NAME): Likewise.
1652 * string/test-memmem.c (TEST_NAME): Likewise.
1653 * string/test-memmove.c (TEST_NAME): Likewise.
1654 * string/test-memset.c (TEST_NAME): Likewise.
1655 * string/test-rawmemchr.c (TEST_NAME): Likewise.
1656 * string/test-stpcpy.c (TEST_NAME): Likewise.
1657 * string/test-stpncpy.c (TEST_NAME): Likewise.
1658 * string/test-strcasecmp.c (TEST_NAME): Likewise.
1659 * string/test-strcasestr.c (TEST_NAME): Likewise.
1660 * string/test-strcat.c (TEST_NAME): Likewise.
1661 * string/test-strchr.c (TEST_NAME): Likewise.
1662 * string/test-strcmp.c(TEST_NAME): Likewise.
1663 * string/test-strcpy.c (TEST_NAME): Likewise.
1664 * string/test-strcspn.c (TEST_NAME): Likewise.
1665 * string/test-strlen.c (TEST_NAME): Likewise.
1666 * string/test-strncasecmp.c (TEST_NAME): Likewise.
1667 * string/test-strncmp.c (TEST_NAME): Likewise.
1668 * string/test-strncpy.c (TEST_NAME): Likewise.
1669 * string/test-strnlen.c (TEST_NAME): Likewise.
1670 * string/test-strpbrk.c (TEST_NAME): Likewise.
1671 * string/test-strrchr.c (TEST_NAME): Likewise.
1672 * string/test-strspn.c (TEST_NAME): Likewise.
1673 * string/test-strstr.c (TEST_NAME): Likewise.
1674 * string/test-bcopy-ifunc.c: New file.
1675 * string/test-bzero-ifunc.c: Likewise.
1676 * string/test-memccpy-ifunc.c: Likewise.
1677 * string/test-memchr-ifunc.c: Likewise.
1678 * string/test-memcmp-ifunc.c: Likewise.
1679 * string/test-memcpy-ifunc.c: Likewise.
1680 * string/test-memmem-ifunc.c: Likewise.
1681 * string/test-memmove-ifunc.c: Likewise.
1682 * string/test-mempcpy-ifunc.c: Likewise.
1683 * string/test-memset-ifunc.c: Likewise.
1684 * string/test-rawmemchr-ifunc.c: Likewise.
1685 * string/test-stpcpy-ifunc.c: Likewise.
1686 * string/test-stpncpy-ifunc.c: Likewise.
1687 * string/test-strcasecmp-ifunc.c: Likewise.
1688 * string/test-strcasestr-ifunc.c: Likewise.
1689 * string/test-strcat-ifunc.c: Likewise.
1690 * string/test-strchr-ifunc.c: Likewise.
1691 * string/test-strchrnul-ifunc.c: Likewise.
1692 * string/test-strcmp-ifunc.c: Likewise.
1693 * string/test-strcpy-ifunc.c: Likewise.
1694 * string/test-strcspn-ifunc.c: Likewise.
1695 * string/test-strlen-ifunc.c: Likewise.
1696 * string/test-strncasecmp-ifunc.c: Likewise.
1697 * string/test-strncat-ifunc.c: Likewise.
1698 * string/test-strncmp-ifunc.c: Likewise.
1699 * string/test-strncpy-ifunc.c: Likewise.
1700 * string/test-strnlen-ifunc.c: Likewise.
1701 * string/test-strpbrk-ifunc.c: Likewise.
1702 * string/test-strrchr-ifunc.c: Likewise.
1703 * string/test-strspn-ifunc.c: Likewise.
1704 * string/test-strstr-ifunc.c: Likewise.
1705
de54b33a
L
1706 * debug/Makefile (tests-ifunc): New variable.
1707 (tests): Add $(tests-ifunc).
1708 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
1709 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
1710 * debug/test-stpcpy_chk-ifunc.c: New file.
1711 * debug/test-strcpy_chk-ifunc.c: Likewise.
1712
88481c16
SP
17132012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1714
1715 [BZ #13601]
1716 * elf/dl-load.c (open_verify): Retry read if the entire ELF
1717 header is not read in.
1718
135948bd
JM
17192012-10-19 Joseph Myers <joseph@codesourcery.com>
1720
89f1c388
JM
1721 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
1722 script to $(SHELL) as $<. Pass $(common-objpfx) to script
1723 directly. Pass built executable to script as
1724 $(built-program-cmd).
1725 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
1726 $testprogram without using LD_LIBRARY_PATH and $ldso.
1727
e40a0d21
JM
1728 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
1729 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
1730 $(rtld-installed-name).
1731 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
1732 (rtld_installed_name): Likewise.
1733 (library_path): Likewise.
1734 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
1735 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
1736 $(run-program-prefix) to tst-tables.sh.
1737 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
1738 it to run tst-table-from and tst-table-to.
1739 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
1740 Pass it to tst-table.sh.
1741 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
1742 $(run-program-prefix) to tst-gettext.sh.
1743 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
1744 tst-translit.sh.
1745 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
1746 tst-gettext2.sh.
1747 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
1748 to run tst-gettext.
1749 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
1750 to run tst-gettext2.
1751 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
1752 to run tst-translit.
1753 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
1754 $(run-program-prefix) to tst-mtrace.sh.
1755 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
1756 to run tst-mtrace.
1757 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
1758 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
1759 $(rtld-installed-name).
1760 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
1761 (rtld_installed_name): Likewise.
1762 (run_program_prefix): New variable. Use it to run wordexp-test.
1763
728e272a
JM
1764 * Makeconfig (ARCH): Remove all definitions.
1765 (machine): Likewise.
1766 [ARCH]: Remove conditional code.
1767 [!objdir]: Give error.
1768 [!objdir] (objpfx): Remove.
1769 [!objdir] (common-objpfx): Likewise.
1770 [!objdir] (common-objdir): Likewise.
1771 * configure.in (config_makefile): Remove. Hardcode Makefile in
1772 AC_CONFIG_FILES call.
1773 * configure: Regenerated.
1774
d528cdcf
JM
1775 [BZ #13888]
1776 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
1777 or TMPDIR.
1778 (testout): Likewise.
1779
135948bd
JM
1780 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
1781 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
1782 $(rtld-installed-name).
1783 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
1784 (rtld_installed_name): Likwise.
1785 (runit): Remove function.
1786 (run_getconf): New variable, Use it for running getconf binary.
1787
38c78296
L
17882012-10-18 H.J. Lu <hongjiu.lu@intel.com>
1789
1790 [BZ #14716]
1791 * string/test-memmem.c (check_result): New function.
1792 (do_one_test): Use it.
1793 (check1): New function.
1794 (test_main): Use it.
1795
d077f65f
MT
17962012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
1797
1798 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
1799
ced52c71
JM
18002012-10-18 Joseph Myers <joseph@codesourcery.com>
1801
1802 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
1803 (_G_LSEEK64): Likewise.
1804 (_G_MMAP64): Likewise.
1805 (_G_FSTAT64): Likewise.
1806 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
1807 (_G_LSEEK64): Likewise.
1808 (_G_MMAP64): Likewise.
1809 (_G_FSTAT64): Likewise.
1810 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
1811 unconditional. Call __mmap64 directly.
1812 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
1813 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
1814 __lseek64 directly.
1815 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
1816 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
1817 __mmap64 directly.
1818 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
1819 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
1820 __lseek64 directly.
1821 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
1822 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
1823 __lseek64 directly.
1824 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
1825 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
1826 __lseek64 directly.
1827 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
1828 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
1829 __fxstat64 directly.
1830 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
1831 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
1832 unconditional.
1833 (freopen64) [!_G_OPEN64]: Remove conditional code.
1834 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
1835 unconditional.
1836 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
1837 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
1838 unconditional.
1839 (ftello64) [!_G_LSEEK64]: Remove conditional code.
1840 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
1841 unconditional.
1842 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
1843 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
1844 unconditional.
1845 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
1846 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
1847 unconditional.
1848 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
1849 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
1850 unconditional.
1851 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
1852 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
1853 unconditional.
1854 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
1855
b741de23
SP
18562012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1857
1858 [BZ #12140]
1859 * manual/memory.texi (Malloc Tunable Parameters): Add note
1860 about free list pointers overwriting some perturb bytes.
1861 Wording suggested by Roland McGrath.
1862
f9b9d9c9
JM
18632012-10-17 Joseph Myers <joseph@codesourcery.com>
1864
1865 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
1866 (lgamma_test): Likewise.
1867 (tgamma_test): Likewise.
1868
172a631a
FW
18692012-10-16 Florian Weimer <fweimer@redhat.com>
1870
1871 [BZ #14700]
1872 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
1873 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
1874
e9f37252
MK
18752012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
1876
1877 * NEWS: Mention BZ #14716.
1878 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
1879 when removing AVAILABLE1_USES_J macro.
1880
d394eb74
L
18812012-10-12 H.J. Lu <hongjiu.lu@intel.com>
1882
1883 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
1884 (__bswap_64): __uint64_t for unsigned 64-bit int.
1885
ca38dc17
AS
18862012-10-12 Andreas Schwab <schwab@linux-m68k.org>
1887
1888 * include/string.h (memmem): Declare libc hidden alias.
1889 * string/memmem.c (memmem): Define libc hidden alias.
1890 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
1891 __read, __close instead of open, read, close.
1892
9a387d1f
L
18932012-10-11 H.J. Lu <hongjiu.lu@intel.com>
1894
ac49ecaf
L
1895 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
1896 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
1897 global and hidden.
1898 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
1899 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
1900 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
1901 Likewise.
1902 (__rawmemchr_sse2): Likewise.
1903 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
1904 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
1905 (__strchr_sse2): Likewise.
1906 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
1907 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
1908 (__strcasecmp_sse2): Likewise.
1909 (__strncasecmp_sse2): Likewise.
1910 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
1911 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
1912 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
1913 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
1914 (__strrchr_sse2): Likewise.
1915 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
1916 ifunc-impl-list.c.
1917 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1918 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1919 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1920 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1921 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1922 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1923 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1924 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1925 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
1926 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
1927 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
1928 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
1929 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
1930 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
1931 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
1932 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1933 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1934 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
1935 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
1936 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
1937 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
1938 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
1939 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
1940 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
1941 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
1942 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1943 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1944 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
1945 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
1946 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1947
b090e8ea
L
1948 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
1949 global and hidden.
1950 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
1951 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
1952 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
1953 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
1954 Likewise.
1955 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
1956 Likewise.
1957 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
1958 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
1959 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
1960 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
1961 ifunc-impl-list.c.
1962 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1963 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1964 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1965 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1966 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1967 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1968 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1969 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1970 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1971 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1972 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1973 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1974 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1975 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
1976 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
1977 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1978 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
1979 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
1980 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1981 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1982 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1983 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1984 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1985 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1986 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1987 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
1988 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
1989 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
1990 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
1991 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1992 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
1993 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1994 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1995 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
1996 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1997 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1998 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1999 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2000 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2001 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2002 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
2003
11dd4af6
L
2004 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
2005 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
2006 * include/ifunc-impl-list.h: New file.
2007 * misc/ifunc-impl-list.c: Likewise.
2008 * misc/Makefile (routines): Add ifunc-impl-list.
2009 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
2010 * string/test-string.h: Include <ifunc-impl-list.h>.
2011 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
2012 impl_array): New variables.
2013 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
2014 are defined.
2015 (test_init): Call __libc_ifunc_impl_list to initialize
2016 func_list if TEST_IFUNC and TEST_NAME are defined.
2017
9a387d1f
L
2018 * string/Makefile (strop-tests): Add bcopy and bzero.
2019 * string/test-bcopy.c: New file.
2020 * string/test-bzero.c: Likewise.
2021 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
2022 defined.
2023 * string/test-memset.c: Support bzero test if TEST_BZERO is
2024 defined.
2025 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
2026 __libc_memmove.
2027 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
2028 __libc_memset.
2029 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
2030 of memset.
2031
472371b9
JM
20322012-10-10 Joseph Myers <joseph@codesourcery.com>
2033
1e4a9536
JM
2034 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
2035 * configure: Regenerated.
2036
d173d12e
JM
2037 * Makeconfig (+link-static-before-libc): Don't include
2038 $(link-static-libc).
2039
472371b9
JM
2040 * libio/libio.h (_IO_pos_t): Remove.
2041
89a3ad0b
AO
20422012-10-10 Alexandre Oliva <aoliva@redhat.com>
2043
2044 * NEWS: Add note about FIPS mode. Wording suggested by Roland
2045 McGrath.
2046
e7451425
AO
20472012-10-10 Alexandre Oliva <aoliva@redhat.com>
2048
2049 * crypt/crypt-entry.c: Include fips-private.h.
2050 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
2051 * crypt/md5c-test.c (main): Tolerate disabled MD5.
2052 * sysdeps/unix/sysv/linux/fips-private.h: New file.
2053 * sysdeps/generic/fips-private.h: New file, dummy fallback.
2054
4ba74a35
AO
20552012-10-10 Alexandre Oliva <aoliva@redhat.com>
2056
2057 * crypt/crypt-private.h: Include stdbool.h.
2058 (_ufc_setup_salt_r): Return bool.
2059 * crypt/crypt-entry.c: Include errno.h.
2060 (__crypt_r): Return NULL with EINVAL for bad salt.
2061 * crypt/crypt_util.c (bad_for_salt): New.
2062 (_ufc_setup_salt_r): Check that salt is long enough and within
2063 the specified alphabet.
2064 * crypt/badsalttest.c: New file.
2065 * crypt/Makefile (tests): Add it.
2066 ($(objpfx)badsalttest): New.
2067
f96f1242
MK
20682012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
2069
2070 * NEWS: Add entry for BZ #14602.
2071
0e8e0c1c
JM
20722012-10-09 Joseph Myers <joseph@codesourcery.com>
2073
2074 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
2075 type-generic.
2076 * math/libm-test.inc: Update comment listing what functions and
2077 macros are tested.
2078 (isgreater_test): New function.
2079 (isgreaterequal_test): Likewise.
2080 (isless_test): Likewise.
2081 (islessequal_test): Likewise.
2082 (islessgreater_test): Likewise.
2083 (isunordered_test): Likewise.
2084 (main): Call the new functions.
2085
273edc5e
RM
20862012-10-09 Roland McGrath <roland@hack.frob.com>
2087
b8493de0
RM
2088 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
2089 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
2090 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
2091 * sysdeps/i386/configure: Regenerated.
2092 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
2093 * sysdeps/mach/configure: Regenerated.
2094 * sysdeps/mach/hurd/configure: Regenerated.
2095 * sysdeps/powerpc/configure: Regenerated.
2096 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2097 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2098 * sysdeps/s390/s390-32/configure: Regenerated.
2099 * sysdeps/s390/s390-64/configure: Regenerated.
2100 * sysdeps/sh/configure: Regenerated.
2101 * sysdeps/sparc/configure: Regenerated.
2102 * sysdeps/unix/sysv/linux/configure: Regenerated.
2103 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2104 * sysdeps/x86_64/configure: Regenerated.
2105
273edc5e
RM
2106 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
2107 defined. Don't check if MAP is NULL.
2108
c8450f70
JM
21092012-10-09 Joseph Myers <joseph@codesourcery.com>
2110
2111 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
2112 (_G_stat64): Likewise.
2113 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
2114 (_G_stat64): Likewise.
2115 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
2116 instead of struct _G_stat64.
2117 * libio/fileops.c (mmap_remap_check): Likewise.
2118 (decide_maybe_mmap): Likewise.
2119 (_IO_new_file_seekoff): Likewise.
2120 (_IO_file_stat): Likewise.
2121 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
2122 _G_off64_t.
2123 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
2124 instead of struct _G_stat64.
2125 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2126
57e605ba
MK
21272012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
2128
2129 [BZ #14602]
2130 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2131 Replace with ...
2132 (CHECK_EOL): New macro.
2133 (two_way_short_needle): Check beginning of haystack for EOL. Use
2134 CHECK_EOL.
2135 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2136 Replace with CHECK_EOL.
2137 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2138 Replace with CHECK_EOL.
2139
ef1bb361
JM
21402012-10-08 Joseph Myers <joseph@codesourcery.com>
2141
2142 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
2143 type-generic.
2144 * math/libm-test.inc: Update comment listing what functions and
2145 macros are tested.
2146 (finite_test): New function.
2147 (isinf_test): Likewise.
2148 (isnan_test): Likewise.
2149 (fpclassify_test): Test subnormal input.
2150 (isfinite_test): Likewise.
2151 (isnormal_test): Likewise.
2152 (main): Call the new functions.
2153
55f11534
JN
21542012-10-08 Jonathan Nieder <jrnieder@gmail.com>
2155
2156 [BZ #14660]
2157 * Makerules (%.dynsym): Force C locale when running
2158 $(OBJDUMP) --dynamic-syms.
2159
1ab29350
AS
21602012-10-08 Andreas Schwab <schwab@linux-m68k.org>
2161
2162 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
2163 <stdint.h>.
2164
f1ecb7ef
DM
21652012-10-06 David S. Miller <davem@davemloft.net>
2166
2167 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
2168 upper 32-bits of the length value in %o2 since we use branch-on-register
2169 tests which consider the entire 64-bit register.
2170
5d41d91a
L
21712012-10-06 H.J. Lu <hongjiu.lu@intel.com>
2172
2173 * string/test-strstr.c (check2): Add a test for page boundary.
2174
3baddb72
DM
21752012-10-05 David S. Miller <davem@davemloft.net>
2176
2177 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
2178 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
2179 file.
2180 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
2181 sysdep_routines.
2182 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
2183 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
2184 and bzero when HWCAP_SPARC_CRYPTO is present.
2185
9cee5585
L
21862012-10-05 H.J. Lu <hongjiu.lu@intel.com>
2187
d7e0dab9
L
2188 [BZ #14602]
2189 * string/test-strstr.c (check2): New function.
2190 (test_main): Call check2.
2191
03759f47
L
2192 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
2193 and bug-strchr1.
2194 * string/bug-strcasestr1.c (do_test): Moved to ...
2195 * string/test-strcasestr.c (check1): Here. New function.
2196 (do_one_test): Break out result checking code into ...
2197 (check_result): This. New function.
2198 (do_one_test): Call check_result.
2199 (test_main): Call check1.
2200 * string/bug-strchr1.c (do_test): Moved to ...
2201 * string/test-strchr.c (check1): Here. New function.
2202 (do_one_test): Break out result checking code into ...
2203 (check_result): This. New function.
2204 (do_one_test): Call check_result.
2205 (test_main): Call check1.
2206 * string/bug-strstr1.c (main): Moved to ...
2207 * string/test-strchr.c (check1): Here. New function.
2208 (do_one_test): Break out result checking code into ...
2209 (check_result): This. New function.
2210 (do_one_test): Call check_result.
2211 (test_main): Call check1.
2212 * string/bug-strcasestr1.c: Removed.
2213 * string/bug-strchr1.c: Likewise.
2214 * string/bug-strstr1.c: Likewise.
2215
53cea63e
L
2216 * elf/Makefile (dl-routines): Add hwcaps.
2217 * elf/dl-support.c (_dl_important_hwcaps): Removed.
2218 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
2219 (_dl_important_hwcaps): Moved to ...
2220 * elf/dl-hwcaps.c: Here. New file.
2221 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
2222
9cee5585 2223 [BZ #14557]
bb859b06
L
2224 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
2225 if IS_IN_rtld isn't defined.
2226
9cee5585
L
2227 * elf/dl-support.c (_dl_sysinfo_map): New.
2228 Include "get-dynamic-info.h" and "setup-vdso.h".
2229 (_dl_non_dynamic_init): Call setup_vdso.
2230 * elf/dynamic-link.h: Don't include <assert.h>.
2231 (elf_get_dynamic_info): Moved to ...
2232 * elf/get-dynamic-info.h: Here. New file.
2233 * elf/dynamic-link.h: Include "get-dynamic-info.h".
2234 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
2235 * elf/setup-vdso.h: Here. New file.
2236 * elf/rtld.c: Include "setup-vdso.h".
2237 (dl_main): Call setup_vdso.
2238
23c31b76
JM
22392012-10-05 Joseph Myers <joseph@codesourcery.com>
2240
28234b07
JM
2241 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
2242 creal in comment listing functions tested. List finite, isinf,
2243 isnan, isless, islessequal, isgreater, isgreaterequal,
2244 islessgreater, isunordered, lgamma_r and pow10 as functions and
2245 macros not tested. Mention which functions not tested are aliases
2246 for other functions. Fix typo. Note that signs of NaNs are not
2247 tested.
2248
23c31b76
JM
2249 * scripts/config.guess: Update from config.git.
2250 * scripts/config.sub: Likewise.
2251
9043e228
RM
22522012-10-04 Roland McGrath <roland@hack.frob.com>
2253
2254 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
2255 * misc/madvise.c (madvise): Renamed to __madvise.
2256 Make madvise a weak alias.
2257 * include/sys/mman.h: Declare __madvise.
2258 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
2259 * sysdeps/unix/syscalls.list
2260 (madvise): Make __madvise the strong name, and madvise a weak alias.
2261 * sysdeps/unix/sysv/linux/syscalls.list
2262 (madvise, mmap): Remove redundant entries.
2263 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
2264 * malloc/malloc.c (mtrim): Likewise.
2265 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
2266
f57f8055
RM
22672012-10-03 Roland McGrath <roland@hack.frob.com>
2268
2269 * sysdeps/mach/hurd/dl-cache.c: File removed.
2270 * config.h.in (USE_LDCONFIG): New #undef.
2271 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
2272 * configure: Regenerated.
2273 * elf/Makefile (dl-routines): Add dl-cache only under
2274 [$(use-ldconfig) = yes].
2275 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
2276 cache on [USE_LDCONFIG].
2277 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
2278 [USE_LDCONFIG].
2279 * elf/rtld.c (dl_main): Likewise.
2280
5bb0c10a
PT
22812012-10-03 Pino Toscano <toscano.pino@tiscali.it>
2282
2283 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
2284 _SC_LEVEL4_CACHE_LINESIZE.
2285
010188c6
RM
22862012-10-03 Roland McGrath <roland@hack.frob.com>
2287
2288 * sysdeps/unix/bsd/confstr.h: File removed.
2289
b6c5ec07
AO
22902012-10-02 Alexandre Oliva <aoliva@redhat.com>
2291
2292 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
2293 sys/sdt-config.h.
2294
408223d4
RM
22952012-10-02 Roland McGrath <roland@hack.frob.com>
2296
2297 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
2298 Make 'mapoff' field ElfW(Off) rather than off_t.
2299
bb9510dc
DL
23002012-10-02 Dmitry V. Levin <ldv@altlinux.org>
2301
fc997c6e
DL
2302 * nscd/Makefile: Remove nscd-cflags and all its users.
2303 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
2304 (CFLAGS-nonlib): Add compiler flags for nscd modules.
2305
bb9510dc
DL
2306 [BZ #10631]
2307 * malloc.c (malloc_printerr): Clarify error message.
2308
05699367
L
23092012-10-02 H.J. Lu <hongjiu.lu@intel.com>
2310
2311 [BZ #14648]
2312 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2313 Set bit_FMA_Usable if FMA is supported.
2314 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
2315 macro.
2316 (bit_FMA4_Usable): Updated.
2317 (index_FMA_Usable): New macro.
2318 (CPUID_FMA): Likewise
2319 (HAS_FMA): Defined with bit_FMA_Usable.
2320
51367701
RM
23212012-10-01 Roland McGrath <roland@hack.frob.com>
2322
2323 * bits/types.h (__swblk_t): Type removed.
2324 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
2325 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
2326 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2327 (__SWBLK_T_TYPE): Likewise.
2328 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2329 (__SWBLK_T_TYPE): Likewise.
2330 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2331 (__SWBLK_T_TYPE): Likewise.
2332 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2333 (__SWBLK_T_TYPE): Likewise.
2334
4d57bf63 23352012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 2336 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
2337
2338 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
2339 (xdr_mapname): Use YPMAXMAP as maxsize.
2340 (xdr_peername): Use YPMAXPEER as maxsize.
2341 (xdr_keydat): Use YPAXRECORD as maxsize.
2342 (xdr_valdat): Use YPMAXRECORD as maxsize.
2343
93c65d43
RM
23442012-10-01 Roland McGrath <roland@hack.frob.com>
2345
497a03d6
RM
2346 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
2347
93c65d43
RM
2348 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
2349 * csu/init-first.c: ... here.
2350 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
2351 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
2352 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
2353 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2354 * sysdeps/i386/init-first.c: File removed.
2355 * sysdeps/sh/init-first.c: File removed.
2356
bec749fd
JM
23572012-10-01 Joseph Myers <joseph@codesourcery.com>
2358
2359 [BZ #14645]
2360 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
2361 if x * y might underflow to zero and z is zero.
2362 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2363 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2364 * math/libm-test.inc (min_subnorm_value): New variable.
2365 (fma_test): Add more tests.
2366 (fma_test_towardzero): Likewise.
2367 (fma_test_downward): Likewise
2368 (fma_test_upward): Likewise.
2369 (initialize): Set min_subnorm_value.
2370
8ec5b013
JM
23712012-09-29 Joseph Myers <joseph@codesourcery.com>
2372
2373 [BZ #14638]
2374 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
2375 0 + 0.
2376 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
2377 mode for addition resulting in exact zero.
2378 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
2379 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
2380 exact 0 + 0.
2381 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2382 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2383 * math/libm-test.inc (fma_test): Add more tests.
2384 (fma_test_towardzero): New function.
2385 (fma_test_downward): Likewise.
2386 (fma_test_upward): Likewise.
2387 (main): Call the new functions.
2388
b1fa802e
DM
23892012-09-28 David S. Miller <davem@davemloft.net>
2390
2391 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
2392
d3b9fd9e
RM
23932012-09-28 Roland McGrath <roland@hack.frob.com>
2394
ea4d37b3
RM
2395 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
2396 instead of SIGALRM.
2397
ac51c949
RM
2398 * sysdeps/gnu/_G_config.h: Moved to ...
2399 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
2400 * sysdeps/mach/hurd/_G_config.h: Moved to ...
2401 * sysdeps/generic/_G_config.h: ... here.
2402
28c195f7
RM
2403 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
2404
848917f9
RM
2405 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
2406
6bacf05b
RM
2407 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
2408 Conditionalize target on [libnss_test1.so-version].
2409
91363dbb
RM
2410 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
2411
cc87f7d8
RM
2412 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
2413 (elfobjdir): Move out of conditionals.
2414
b1c608fe
RM
2415 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
2416 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
2417 (__nss_lookup_function): Conditionalize label remove_from_tree on
2418 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 2419
1d9a6d96
DM
24202012-09-28 David S. Miller <davem@davemloft.net>
2421
2422 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
2423 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
2424 file.
2425 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
2426 sysdep_routines.
2427 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
2428 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
2429 when HWCAP_SPARC_CRYPTO is present.
2430
72581615
PT
24312012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2432
2433 * io/tst-mknodat.c: Create a FIFO instead of a socket.
2434
715a900c
JL
24352012-09-28 Andreas Schwab <schwab@linux-m68k.org>
2436
2437 [BZ #6530]
2438 * stdio-common/vfprintf.c (process_string_arg): Revert
2439 2000-07-22 change.
2440
24412011-09-28 Jonathan Nieder <jrnieder@gmail.com>
2442
2443 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
2444 for testcase.
2445 * stdio-common/tst-sprintf.c: Include <locale.h>
2446 (main): Test sprintf's handling of incomplete multibyte
2447 characters.
2448
9bac1d86
L
24492012-09-28 H.J. Lu <hongjiu.lu@intel.com>
2450
2451 * elf/dl-runtime.c (VERSYMIDX): Removed.
2452 * elf/dl-version.c (VERSYMIDX): Likewise.
2453 * elf/do-rel.h (VERSYMIDX): Likewise.
2454 (VALIDX): Likewise.
2455 * elf/dynamic-link.h (VERSYMIDX): Likewise.
2456 * elf/rtld.c (VALIDX): Likewise.
2457 (ADDRIDX): Likewise.
9bac1d86
L
2458 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
2459 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
2460 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
2461 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
2462 (VALIDX): Likewise.
2463 (ADDRIDX): Likewise.
9bac1d86 2464
b31606c0
PT
24652012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2466
2467 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
2468
11541177
JL
24692012-09-28 Dmitry V. Levin <ldv@altlinux.org>
2470
2471 [BZ #11438]
2472 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
2473 to global scope.
2474 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
2475 addresses are in the same scope as 192.0.2/24.
2476 * posix/gai.conf: Document new scope table defaults.
2477
adb26fae
SP
24782012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2479
2480 [BZ #5298]
2481 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
2482 for ftell. Compute offsets from write pointers instead.
2483 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2484
4573c6b0
SP
24852012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2486
2487 [BZ #14543]
2488 * libio/Makefile (tests): New test case tst-fseek.
2489 * libio/tst-fseek.c: New test case to verify that fseek/ftell
2490 combination works in wide mode.
2491 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
2492 state when the external buffer state changes.
2493
aa9bbfe6
DM
24942012-09-27 David S. Miller <davem@davemloft.net>
2495
2496 [BZ #14376]
2497 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
2498 pass reloc->r_addend in as the 'high' argument to
2499 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
2500
784421e7
DM
2501 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2502
c39bc8b8
PT
25032012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2504
2505 * rt/tst-aio2.c: Include <pthread.h>.
2506 * rt/tst-aio3.c: Likewise.
2507
1ccc2399
SE
25082012-09-27 Steve Ellcey <sellcey@mips.com>
2509
2510 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
2511
31ed4153
L
25122012-09-27 H.J. Lu <hongjiu.lu@intel.com>
2513
25f5f885
L
2514 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
2515 contents on [SHARED].
31ed4153 2516
b7bfe116
MP
25172012-09-26 Marek Polacek <polacek@redhat.com>
2518
2519 [BZ #14530]
2520 [BZ #13741]
2521 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
2522 for C++ and GCC <4.3 as well as for non GCC compilers.
2523
43c4edba
MT
25242012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
2525
2526 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2527
6a1bf82f
RM
25282012-09-25 Roland McGrath <roland@hack.frob.com>
2529
2530 * Makefile.in (all, install): Declare with .PHONY.
2531 Reported by Michael Hope <michael.hope@linaro.org>.
2532
8ad11b9a
TMQMF
25332012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2534
2535 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
2536 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
2537 system header.
2538 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
2539 Likewise.
2540 (sydep_routines): Add the new and the internal functions.
2541 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
2542 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
2543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
2544 (GLIBC_2.17): Add the new function.
2545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2546 (GLIBC_2.17): Likewise.
2547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
2548 (GLIBC_2.17): Likewise.
2549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
2550 (GLIBC_2.17): Likewise.
2551 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
2552
7e2fca8d
AM
25532012-09-25 Alan Modra <amodra@gmail.com>
2554
2555 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
2556 Add release barrier before setting once_control to say
2557 initialisation is done. Add hints on lwarx. Use macro in
2558 place of isync.
2559 (clear_once_control): Add release barrier.
2560
b87c4b24
JM
25612012-09-25 Joseph Myers <joseph@codesourcery.com>
2562
d032e0d2
JM
2563 [BZ #13629]
2564 * math/s_clog.c (__clog): Handle more values close to |z| = 1
2565 specially.
2566 * math/s_clog10.c (__clog10): Likewise.
2567 * math/s_clog10f.c (__clog10f): Likewise.
2568 * math/s_clog10l.c (__clog10l): Likewise.
2569 * math/s_clogf.c (__clogf): Likewise.
2570 * math/s_clogl.c (__clogl): Likewise.
2571 * math/Makefile (libm-calls): Add x2y2m1.
2572 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
2573 (__x2y2m1): Likewise.
2574 (__x2y2m1l): Likewise.
2575 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
2576 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
2577 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2578 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
2579 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
2580 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
2581 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
2582 * sysdeps/i386/fpu/libm-test-ulps: Update.
2583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2584
b87c4b24
JM
2585 [BZ #14621]
2586 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
2587 int as type of variable DEPTH.
2588 (glob): Use size_t instead of int as type of variables NEWCOUNT
2589 and OLD_PATHC.
2590
6d3bf199
LD
25912012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2592
22bf5c17
LD
2593 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
2594 Add s_sincosf-sse2.
2595 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
2596 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
2597 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
2598 macros for using routine as __sincosf_ia32.
2599 Use macro for function declaration and weak_alias.
2600 * sysdeps/i386/fpu/libm-test-ulps: Update.
2601
2602 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
2603 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2604
2605 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
2606 subnormal argument.
2607 * math/s_cexpf.c (__cexpf): Likewise.
2608 * math/s_csinf.c (__csinf): Likewise.
2609 * math/s_csinhf.c (__csinhf): Likewise.
2610 * math/s_ctanf.c (__ctanf): Likewise.
2611 * math/s_ctanhf.c (__ctanhf): Likewise.
2612 * math/s_ccosh.c (__ccoshf): Likewise.
2613 * math/s_cexp.c (__cexpl): Likewise.
2614 * math/s_csin.c (__csin): Likewise.
2615 * math/s_csinh.c (__csinh): Likewise.
2616 * math/s_ctan.c (__ctan): Likewise.
2617 * math/s_ctanh.c (ctanh): Likewise.
2618 * math/s_ccoshl.c (__ccoshl): Likewise.
2619 * math/s_cexpl.c (__cexpl): Likewise.
2620 * math/s_csinl.c (__csinl): Likewise.
2621 * math/s_csinhl.c (__csinhl): Likewise.
2622 * math/s_ctanl.c (__ctanl): Likewise.
2623 * math/s_ctanhl.c (__ctanhl): Likewise.
2624
203e5603
JM
26252012-09-25 Joseph Myers <joseph@codesourcery.com>
2626
2627 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
2628 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
2629 (_IO_off_t): Define to __off_t, not _G_off_t.
2630 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
2631 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
2632 (_IO_wint_t): Define to wint_t, not _G_wint_t.
2633 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
2634 type of __dummy and __dummy2 fields.
2635 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
2636 (_G_ssize_t): Likewise.
2637 (_G_off_t): Likewise.
2638 (_G_pid_t): Likewise.
2639 (_G_uid_t): Likewise.
2640 (_G_wchar_t): Likewise.
2641 (_G_wint_t): Likewise.
2642 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
2643 (_G_ssize_t): Likewise.
2644 (_G_off_t): Likewise.
2645 (_G_pid_t): Likewise.
2646 (_G_uid_t): Likewise.
2647 (_G_wchar_t): Likewise.
2648 (_G_wint_t): Likewise.
2649 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
2650 (_G_ssize_t): Likewise.
2651 (_G_off_t): Likewise.
2652 (_G_pid_t): Likewise.
2653 (_G_uid_t): Likewise.
2654 (_G_wchar_t): Likewise.
2655 (_G_wint_t): Likewise.
2656
9fab36eb
SP
26572012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2658
2659 * malloc/arena.c: Include malloc-sysdep.h.
2660 (shrink_heap): Use check_may_shrink_heap to decide if madvise
2661 is sufficient to shrink the heap or an unmap is needed.
2662 * sysdeps/generic/malloc-sysdep.h: New file. Define
2663 new function check_may_shrink_heap.
2664 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
2665 new function check_may_shrink_heap.
2666
2b4f00d1
SP
26672012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2668
2669 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
2670 comments.
2671
9a9028b1
DL
26722012-09-24 Dmitry V. Levin <ldv@altlinux.org>
2673
57c69bef
DL
2674 * catgets/test-gencat.sh: Add "set -e".
2675 * elf/tst-pathopt.sh: Likewise.
2676 * grp/tst_fgetgrent.sh: Likewise.
2677 * iconvdata/run-iconv-test.sh: Likewise.
2678 * intl/tst-gettext.sh: Likewise.
2679 * intl/tst-gettext2.sh: Likewise.
2680 * intl/tst-gettext4.sh: Likewise.
2681 * intl/tst-gettext6.sh: Likewise.
2682 * intl/tst-translit.sh: Likewise.
2683 * io/ftwtest-sh: Likewise.
2684 * libio/test-freopen.sh: Likewise.
2685 * malloc/tst-mtrace.sh: Likewise.
2686 * posix/globtest.sh: Likewise.
2687 * posix/tst-getconf.sh: Likewise.
2688 * posix/wordexp-tst.sh: Likewise.
2689 * stdio-common/tst-printf.sh: Likewise.
2690 * stdio-common/tst-unbputc.sh: Likewise.
2691 * stdlib/tst-fmtmsg.sh: Likewise.
2692 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
2693 * catgets/Makefile: Do not specify -e option when running
2694 testsuite shell scripts.
2695 * elf/Makefile: Likewise.
2696 * grp/Makefile: Likewise.
2697 * iconvdata/Makefile: Likewise.
2698 * intl/Makefile: Likewise.
2699 * io/Makefile: Likewise.
2700 * libio/Makefile: Likewise.
2701 * malloc/Makefile: Likewise.
2702 * posix/Makefile: Likewise.
2703 * stdio-common/Makefile: Likewise.
2704 * stdlib/Makefile: Likewise.
2705 * sysdeps/x86_64/Makefile: Likewise.
2706
9a9028b1
DL
2707 * io/ftwtest-sh: Add copyright header.
2708 * posix/globtest.sh: Likewise.
2709 * posix/tst-getconf.sh: Likewise.
2710 * posix/wordexp-tst.sh: Likewise.
2711 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
2712
ced6f16e
L
27132012-09-24 H.J. Lu <hongjiu.lu@intel.com>
2714
94b32c39
L
2715 [BZ #13679]
2716 * Makeconfig (+link): Defined as $(+link-static) if
2717 $(build-shared) isn't yes.
2718 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
2719 isn't yes.
2720 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
2721
189e935b
L
2722 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
2723
ced6f16e
L
2724 [BZ #14562]
2725 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
2726 new chunk size with MALLOC_ALIGN_MASK.
2727
a9f8e53a
JM
27282012-09-24 Joseph Myers <joseph@codesourcery.com>
2729
2730 [BZ #5044]
2731 * stdio-common/printf_fphex.c: Include <stdbool.h> and
2732 <rounding-mode.h>.
2733 (__printf_fphex): Determine rounding using get_rounding_mode and
2734 round_away.
2735 * stdio-common/tst-printf-round.c (struct hex_test): New
2736 structure.
2737 (hex_tests): New variable.
2738 (test_hex_in_one_mode): New function.
2739 (do_test): Also run tests for hex float output.
2740
43153109
JM
27412012-09-21 Joseph Myers <joseph@codesourcery.com>
2742
2743 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
2744 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
2745 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
2746 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
2747 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
2748 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
2749 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
2750 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
2751
8a26625d
JM
27522012-09-20 Joseph Myers <joseph@codesourcery.com>
2753
2754 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
2755 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
2756 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
2757 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
2758
f3fd569c
DL
27592012-09-19 Dmitry V. Levin <ldv@altlinux.org>
2760
2761 [BZ #14579]
2762 * elf/rtld.c (dl_main): Limit the check for self loading to normal
2763 mode only.
2764 * elf/tst-rtld-load-self.sh: New test.
2765 * elf/Makefile: Run it.
2766
63bbedd4
JM
27672012-09-18 Joseph Myers <joseph@codesourcery.com>
2768
2769 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
2770 (tst-writev-ENV): Remove.
2771 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
2772
626f8b6a
CM
27732012-09-17 Chris Metcalf <cmetcalf@tilera.com>
2774
2775 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
2776
b7aaa4d6
JM
27772012-09-17 Joseph Myers <joseph@codesourcery.com>
2778
2779 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
2780 unconditional.
2781 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
2782 Likewise.
2783 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
2784 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
2785 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
2786 Likewise.
2787
65513990
L
27882012-09-14 H.J. Lu <hongjiu.lu@intel.com>
2789
2790 [BZ #14587]
2791 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
2792 * config.make.in (have-cpp-asm-debuginfo): Removed.
2793 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
2794 * configure: Regenerated.
2795
784761be
JM
27962012-09-14 Joseph Myers <joseph@codesourcery.com>
2797
2798 [BZ #5044]
2799 * stdio-common/printf_fp.c: Include <stdbool.h> and
2800 <rounding-mode.h>.
2801 (___printf_fp): Determine rounding using get_rounding_mode and
2802 round_away.
2803 * stdio-common/tst-printf-round.c: New file.
2804 * stdio-common/Makefile (tests): Add tst-printf-round.
2805 (link-libm): New variable.
2806 ($(objpfx)tst-printf-round): Depend in $(link-libm).
2807
9503345f
L
28082012-09-13 H.J. Lu <hongjiu.lu@intel.com>
2809
2810 [BZ #14576]
2811 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
2812 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
2813 Likewise.
2814 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
2815 Likewise.
2816
ad35fc00
JM
28172012-09-13 Joseph Myers <joseph@codesourcery.com>
2818
2819 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
2820 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
2821 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
2822 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
2823
6c9b0f68
JM
28242012-09-12 Joseph Myers <joseph@codesourcery.com>
2825
2826 [BZ #14518]
2827 * include/rounding-mode.h: New file.
2828 * sysdeps/generic/get-rounding-mode.h: Likewise.
2829 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
2830 * stdlib/strtod_l.c: Include <rounding-mode.h>.
2831 (MAX_VALUE): New macro.
2832 (MIN_VALUE): Likewise.
2833 (overflow_value): New function.
2834 (underflow_value): Likewise.
2835 (round_and_return): Use overflow_value and underflow_value to
2836 determine return values in overflow and underflow cases. Use
2837 round_away to determine rounding depending on rounding mode.
2838 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
2839 determine return values in overflow and underflow cases.
2840 * stdlib/tst-strtod-round.c: Include <fenv.h>.
2841 (struct test_results): New structure.
2842 (struct test): Use struct test_results to store expected results
2843 for all rounding modes.
2844 (TEST): Include expected results for all rounding modes.
2845 (test_in_one_mode): New function.
2846 (do_test): Use test_in_one_mode to compute and check results.
2847 Check results for all rounding modes.
2848 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
2849 $(link-libm).
2850
19fcedd5
AM
28512012-12-09 Allan McRae <allan@archlinux.org>
2852
1e9d84cd 2853 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 2854
8bbfd2f1
JM
28552012-09-11 Joseph Myers <joseph@codesourcery.com>
2856
2857 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
2858 (_G_int32_t): Likewise.
2859 (_G_uint16_t): Likewise.
2860 (_G_uint32_t): Likewise.
2861 (_G_HAVE_BOOL): Likewise.
2862 (_G_HAVE_ATEXIT): Likewise.
2863 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
2864 (_G_HAVE_IO_FILE_OPEN): Likewise.
2865 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
2866 (_G_int32_t): Likewise.
2867 (_G_uint16_t): Likewise.
2868 (_G_uint32_t): Likewise.
2869 (_G_HAVE_BOOL): Likewise.
2870 (_G_HAVE_ATEXIT): Likewise.
2871 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
2872 (_G_HAVE_IO_FILE_OPEN): Likewise.
2873 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
2874 (_G_int32_t): Likewise.
2875 (_G_uint16_t): Likewise.
2876 (_G_uint32_t): Likewise.
2877 (_G_HAVE_BOOL): Likewise.
2878 (_G_HAVE_ATEXIT): Likewise.
2879 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
2880 (_G_HAVE_IO_FILE_OPEN): Likewise.
2881
b1dc5912
L
28822012-09-11 H.J. Lu <hongjiu.lu@intel.com>
2883
2884 * csu/libc-tls.c: Update copyright years.
2885
0e886ef9
JM
28862012-09-10 Joseph Myers <joseph@codesourcery.com>
2887
28361c5e
JM
2888 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
2889 [!_G_USING_THUNKS]: Remove conditional code.
2890 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
2891 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
2892
0e886ef9
JM
2893 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
2894 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
2895 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
2896 (_G_VTABLE_LABEL_PREFIX): Likewise.
2897 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
2898 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
2899 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
2900 (_G_VTABLE_LABEL_PREFIX): Likewise.
2901 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
2902 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
2903 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
2904 (_G_VTABLE_LABEL_PREFIX): Likewise.
2905 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
2906
bcba7aa2
L
29072012-09-10 H.J. Lu <hongjiu.lu@intel.com>
2908
2909 * libio/Makefile: Include ../Makeconfig before tests.
2910 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
2911 only if $(build-shared) is yes.
2912
06585ee8
L
2913 * iconv/gconv_db.c: Update copyright years.
2914
80ccd52c
LD
29152012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2916
2917 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
2918 unwind info if defined PIC. Fix special cases description.
2919 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
2920
2921 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
2922 DP_HI_MASK entry.
2923 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
2924
691bc9c1
L
29252012-09-07 H.J. Lu <hongjiu.lu@intel.com>
2926
3d9b46b3
L
2927 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
2928
de2139a9
L
2929 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
2930 is NULL.
2931
5ca78dd0
L
2932 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
2933 (LDLIBS-tst-chk4): This.
2934 (LDFLAGS-tst-chk5): Renamed to ...
2935 (LDLIBS-tst-chk5): This.
2936 (LDFLAGS-tst-chk6): Renamed to ...
2937 (LDLIBS-tst-chk6): This.
2938 (LDFLAGS-tst-lfschk4): Renamed to ...
2939 (LDLIBS-tst-lfschk4): This.
2940 (LDFLAGS-tst-lfschk5): Renamed to ...
2941 (LDLIBS-tst-lfschk5): This.
2942 (LDFLAGS-tst-lfschk6): Renamed to ...
2943 (LDLIBS-tst-lfschk6): This.
2944
691bc9c1
L
2945 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
2946 on $(common-objpfx)soversions.mk.
2947
65cafb1c
JM
29482012-09-07 Joseph Myers <joseph@codesourcery.com>
2949
2950 [BZ #10014]
2951 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
2952 example host name.
2953
c78ab094
SP
29542012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
2955
2956 * malloc/arena.c (arena_get_retry): New function that gets
2957 another arena for the caller to try its request on.
2958 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
2959 current arena cannot fulfill the request.
2960 (__libc_memalign): Likewise.
2961 (__libc_memalign): Likewise.
2962 (__libc_pvalloc): Likewise.
2963 (__libc_calloc): Likewise.
2964
01f49f59
JT
29652012-09-05 John Tobey <john.tobey@gmail.com>
2966
2967 [BZ #13542]
2968 * manual/arith.texi (Operations on Complex): Fix description
2969 of carg branch cut.
2970
4c23fed5
JM
29712012-09-06 Joseph Myers <joseph@codesourcery.com>
2972
1d3c8572
JM
2973 [BZ #10014]
2974 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
2975 host name.
2976
4c23fed5
JM
2977 [BZ #10038]
2978 * manual/memory.texi (Memory): Make order of menu items match
2979 order of sections.
2980
04570aaa
L
29812012-09-06 H.J. Lu <hongjiu.lu@intel.com>
2982
2983 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
2984 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
2985 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
2986
b80af2f4
L
29872012-09-06 H.J. Lu <hongjiu.lu@intel.com>
2988
2989 * csu/libc-tls.c (static_dtv): Renamed to ...
2990 (_dl_static_dtv): This. Make it global.
2991 (_dl_initial_dtv): Removed.
2992 (__libc_setup_tls): Updated.
2993 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
2994 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
2995 DL_INITIAL_DTV.
2996
2abe9f15
PM
29972012-09-06 Petr Machata <pmachata@redhat.com>
2998
2999 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
3000 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
3001 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
3002 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
3003
0948c3af
L
30042012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3005
3006 [BZ #14545]
3007 * csu/libc-tls.c (_dl_initial_dtv): New variable.
3008 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
3009 freeing dtv[-1].
3010
a5055ad1
L
30112012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3012
3013 [BZ #14544]
3014 * Makeconfig (link-static-before-libc): Replace $(+prector)
3015 with $(+prectorT).
3016 (link-static-after-libc): Replace $(+postctor) with
3017 $(+postctorT).
3018 (link-bounded): Replace $(+prector)/$(+postctor) with
3019 $(+prectorT)/$(+postctorT).
3020 (+prectorT): New macro.
3021 (+postctorT): Likewise.
3022
ed8c2ecd
JM
30232012-09-06 Joseph Myers <joseph@codesourcery.com>
3024
3025 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
3026 (round_str): Handle values above the maximum for IBM long double
3027 as inexact.
3028 * stdlib/tst-strtod-round.c (tests): Regenerated.
3029
14c996c8
AK
30302012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3031
3032 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
3033 assembler flag.
3034 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
3035 zarch_nohighgprs around the zarch optimized routines.
3036 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3037 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3038 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
3039 for zarch.
3040
430d6ce6
DM
30412012-09-05 David S. Miller <davem@davemloft.net>
3042
3043 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3044
ff04dda4
DM
3045 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
3046 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
3047 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
3048 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
3049 entries.
3050
24d4e01b
AO
30512012-09-05 Alexandre Oliva <aoliva@redhat.com>
3052
3053 * malloc/arena.c: Fold copyright years.
3054 * malloc/mcheck.c, malloc/memusage.c: Likewise.
3055
61d58174
AO
30562012-09-05 Alexandre Oliva <aoliva@redhat.com>
3057
3058 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
3059
20196a5e
AO
30602012-09-05 Alexandre Oliva <aoliva@redhat.com>
3061
3062 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
3063
5c447383
AO
30642012-09-05 Alexandre Oliva <aoliva@redhat.com>
3065
3066 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
3067 change internal state upon failure.
3068
fad64255
AO
30692012-09-05 Alexandre Oliva <aoliva@redhat.com>
3070
3071 * malloc/mcheck.c (mcheck_check_all): Fix typo.
3072 * malloc/memusage.c (mmap): Likewise.
3073 (mmap64, mremap): Likewise. Adjust name in comment.
3074
1ffb8c90
SP
30752012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3076
3077 * libio/fileops.c: Fix typos in comments.
3078 * libio/oldfileops.c: Likewise.
3079 * libio/wfileops.c: Likewise.
3080
6ef9cc37
SP
30812012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3082
3083 [BZ #1349]
3084 * malloc/Makefile (tests): Add tst-malloc-usable test case.
3085 (tst-malloc-usable-ENV): Set environment for test case.
3086 * malloc/hooks.c (malloc_check_get_size): New function to get
3087 requested size.
3088 * malloc/malloc.c (musable): Use malloc_check_get_size.
3089 * malloc/tst-malloc-usable.c: New test case.
3090
4d038ae3
AS
30912012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3092
3093 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
3094
c4e85184
AM
30952012-09-05 Allan McRae <allan@archlinux.org>
3096
b9dafc56 3097 [BZ #13966]
c4e85184
AM
3098 * configure.in (CXX_SYSINCLUDES): Use compiler output to
3099 determine header location.
3100 * configure: Regenerated.
3101
e1343020
AS
31022012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3103
3104 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
3105 float format.
3106 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
3107 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
3108 format.
e1343020
AS
3109 (test): Regenerate.
3110
0a9f1987
DM
31112012-09-04 David S. Miller <davem@davemloft.net>
3112
3113 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
3114 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
3115 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
3116
29237804
FW
31172012-09-04 Florian Weimer <fweimer@redhat.com>
3118
3119 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
3120 failures.
3121
edb3cb88
FW
3122 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
3123
60160d83
JM
31242012-09-04 Joseph Myers <joseph@codesourcery.com>
3125
3126 [BZ #9914]
3127 * libio/iogetdelim.c: Include <limits.h>.
3128 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
3129 + len + 1 would overflow.
3130
bcd6c8dc
AJ
31312012-09-03 Andreas Jaeger <aj@suse.de>
3132
3133 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3134 * sysdeps/i386/fpu/libm-test-ulps: Update.
3135
4ffffbd2
LD
31362012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3137
3138 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3139 Add s_sinf-sse2, s_conf-sse2.
3140
3141 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
3142 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
3143 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
3144 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
3145
3146 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
3147 for using routine as __sinf_ia32.
3148 Use macro for function declaration and weak_alias.
3149 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
3150 for using routine as __cosf_ia32.
3151 Use macro for function declaration and weak_alias.
3152
3153 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
3154 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
3155
3156 * sysdeps/x86_64/fpu/s_sinf.S: New file.
3157 * sysdeps/x86_64/fpu/s_cosf.S: New file.
3158 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3159
3160 * math/libm-test.inc (cos_test): Add more test cases.
3161 (sin_test): Likewise.
3162 (sincos_test): Likewise.
3163
511fa286
AK
31642012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3165
3166 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
3167 (IFUNC_RESOLVE): Make pointers to the specialized implementations
3168 hidden.
3169 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3170
5f30cfec
L
31712012-09-02 H.J. Lu <hongjiu.lu@intel.com>
3172
3173 [BZ #14538]
3174 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
3175 first element of the GOT.
3176 (elf_machine_load_address): Return the difference between
3177 the runtime address of _DYNAMIC and elf_machine_dynamic ().
3178
0786794f
AM
31792012-09-01 Allan McRae <allan@archlinux.org>
3180
5f30cfec
L
3181 [BZ #13412]
3182 * configure.in (AWK): Require gawk version 3.0 or later.
3183 * configure: Regenerated.
0786794f 3184
26889eac
JM
31852012-09-01 Joseph Myers <joseph@codesourcery.com>
3186
3187 * sysdeps/unix/sysv/linux/kernel-features.h
3188 (__ASSUME_POSIX_CPU_TIMERS): Remove.
3189 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3190 [__NR_clock_getres]: Make code unconditional.
3191 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
3192 (clock_getcpuclockid): Remove code left unreachable by removal of
3193 conditionals.
3194 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
3195 code unconditional.
3196 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3197 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3198 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
3199 Make code unconditional.
3200 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3201 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3202 * sysdeps/unix/sysv/linux/clock_settime.c
3203 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
3204 conditional code.
3205 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
3206 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3207
d22e28b0
L
32082012-08-29 H.J. Lu <hongjiu.lu@intel.com>
3209
3210 [BZ #14476]
3211 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
3212 scripts/test-installation.pl.
3213
3214 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
3215 and $ld_so_version if it is set.
3216
050af9c4
SP
32172012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3218
3219 [BZ #14516]
3220 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
3221 failure if reading from procfs failed.
3222 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
3223
ad845c0b
JM
32242012-08-27 Joseph Myers <joseph@codesourcery.com>
3225
3226 * sysdeps/unix/sysv/linux/kernel-features.h
3227 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
3228 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
3229 Remove conditional code.
3230 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3231 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
3232 Remove conditional code.
3233 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3234 * sysdeps/unix/sysv/linux/i386/fxstat.c
3235 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3236 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3237 * sysdeps/unix/sysv/linux/i386/fxstatat.c
3238 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3239 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3240 * sysdeps/unix/sysv/linux/i386/lxstat.c
3241 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3242 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3243 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
3244 Remove conditional code.
3245 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3246 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
3247 Remove conditional code.
3248 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3249 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
3250 <kernel-features.h>.
3251 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
3252 Remove.
3253 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
3254 Remove conditional code.
3255 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3256 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
3257 Remove conditional.
3258
5dbf56af
MF
32592012-08-27 Mike Frysinger <vapier@gentoo.org>
3260
3261 [BZ #5400]
3262 * NEWS: Add fixed bug number.
3263
d6e70f43
JM
32642012-08-27 Joseph Myers <joseph@codesourcery.com>
3265
7efb4737
JM
3266 [BZ #14519]
3267 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
3268 underflowing exponent in case of negative sign.
3269 * stdlib/tst-strtod-round-data: Add more tests.
3270 * stdlib/tst-strtod-round.c (tests): Regenerated.
3271
af92131a
JM
3272 [BZ #3479]
3273 * stdlib/strtod_l.c (NDIG): Remove.
3274 (HEXNDIG): Likewise.
3275 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
3276 smallest representable value.
3277 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
3278 lie within an exact representation of 1/2 ulp of the result.
3279 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
3280 unconditionally.
3281 (TENS_P9_IDX): Define unconditionally.
3282 (TENS_P9_SIZE): Likewise.
3283 (TENS_P10_IDX): Likewise.
3284 (TENS_P10_SIZE): Likewise.
3285 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
3286 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
3287 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
3288 entries for 10^2^13 and 10^2^14.
3289 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
3290 (TENS_P13_IDX): Define.
3291 (TENS_P13_SIZE): Likewise.
3292 (TENS_P14_IDX): Likewise.
3293 (TENS_P14_SIZE): Likewise.
3294 (_fpioconst_pow10): Change array size to
3295 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
3296 unconditional.
3297 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
3298 1024]: Add entries for 10^2^13 and 10^2^14.
3299 [LAST_POW10 > _LAST_POW10]: Remove #error.
3300 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
3301 (_fpioconst_pow10): Change array size to
3302 FPIOCONST_POW10_ARRAY_SIZE.
3303 * stdlib/gen-fpioconst.c: New file.
3304 * stdlib/gen-tst-strtod-round.c: Likewise.
3305 * stdlib/tst-strtod-round-data: Likewise.
3306 * stdlib/tst-strtod-round.c: Likewise.
3307 * stdlib/Makefile (tests): Add tst-strtod-round.
3308
d6e70f43
JM
3309 [BZ #14459]
3310 * stdlib/strtod_l.c: Include <stdint.h>.
3311 (NDEBUG): Do not define.
3312 (round_and_return): Change EXPONENT parameter to type intmax_t.
3313 Rearrange calculations to avoid internal overflow possibilities.
3314 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
3315 Rearrange calculations to avoid internal overflow possibilities.
3316 Assert that number fits inside MPNSIZE limbs.
3317 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
3318 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
3319 calculations and add assertions to avoid internal overflow
3320 possibilities. Add casts to avoid signed/unsigned operations.
3321 * stdlib/tst-strtod-overflow.c: New file.
3322 * stdlib/Makefile (tests): Add tst-strtod-overflow.
3323
1f529f7d
MP
33242012-08-25 Marek Polacek <polacek@redhat.com>
3325
3326 * time/time.h: Fix some typos in comments.
3327
59a629f1
RM
33282012-08-23 Roland McGrath <roland@hack.frob.com>
3329
3330 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
3331 * posix/tst-rfc3484-2.c: Likewise.
3332 * posix/tst-rfc3484-3.c: Likewise.
3333
d3bafbc9
SM
33342012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
3335
3336 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
3337 (EF_ARM_ABI_FLOAT_HARD): Likewise.
3338
4efcc022
JM
33392012-08-23 Joseph Myers <joseph@codesourcery.com>
3340
3341 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
3342 #include of fxstatat64.c.
3343
3cc3ef96
RM
33442012-08-22 Roland McGrath <roland@hack.frob.com>
3345
f04e2132
RM
3346 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
3347 * shadow/getspent_r.c: Likewise.
3348 * shadow/getspnam.c: Likewise.
3349 * shadow/getspnam_r.c: Likewise.
3350 * gshadow/getsgent.c: Likewise.
3351 * gshadow/getsgent_r.c: Likewise.
3352 * gshadow/getsgnam.c: Likewise.
3353 * gshadow/getsgnam_r.c: Likewise.
3354 * inet/getnetbyad.c: Likewise.
3355 * inet/getnetbyad_r.c: Likewise.
3356 * inet/getnetbynm.c: Likewise.
3357 * inet/getnetbynm_r.c: Likewise.
3358 * inet/getnetent.c: Likewise.
3359 * inet/getnetent_r.c: Likewise.
3360 * inet/getproto.c: Likewise.
3361 * inet/getproto_r.c: Likewise.
3362 * inet/getprtent.c: Likewise.
3363 * inet/getprtent_r.c: Likewise.
3364 * inet/getprtname.c: Likewise.
3365 * inet/getprtname_r.c: Likewise.
3366 * inet/getrpcbyname.c: Likewise.
3367 * inet/getrpcbyname_r.c: Likewise.
3368 * inet/getrpcbynumber.c: Likewise.
3369 * inet/getrpcbynumber_r.c: Likewise.
3370 * inet/getrpcent.c: Likewise.
3371 * inet/getrpcent_r.c: Likewise.
3372 * inet/getaliasent.c: Likewise.
3373 * inet/getaliasent_r.c: Likewise.
3374 * inet/getaliasname.c: Likewise.
3375 * inet/getaliasname_r.c: Likewise.
3376 * nscd/getgrgid_r.c: Likewise.
3377 * nscd/getgrnam_r.c: Likewise.
3378 * nscd/gethstbyad_r.c: Likewise.
3379 * nscd/gethstbynm3_r.c: Likewise.
3380 * nscd/getpwnam_r.c: Likewise.
3381 * nscd/getpwuid_r.c: Likewise.
3382 * nscd/getsrvbynm_r.c: Likewise.
3383 * nscd/getsrvbypt_r.c: Likewise.
3384 * nscd/gai.c: Likewise.
3385
c53d909c
RM
3386 * configure.in (build_nscd): New substituted variable, set
3387 by --disable-build-nscd and defaults to $use_nscd.
3388 * configure: Regenerated.
3389 * config.make.in (build-nscd): New substituted variable.
3390 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
3391 Change conditional to require [$(build-nscd) = yes] as well.
3392 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
3393
3cc3ef96
RM
3394 [BZ# 13696]
3395 * configure.in (use_nscd): New substituted variable, set by
3396 --disable-nscd. If enabled, define USE_NSCD.
3397 * configure: Regenerated.
3398 * config.h.in: Add USE_NSCD.
3399 * config.make.in (use-nscd): New substituted variable.
3400 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
3401 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
3402 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
3403 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
3404 (CFLAGS-getgrnam_r.c): Likewise.
3405 (CFLAGS-initgroups.c): Likewise.
3406 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
3407 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
3408 Variables removed.
3409 * inet/getnetgrent_r.c
3410 (nscd_setnetgrent): New function, broken out of ...
3411 (setnetgrent): ... here. Call it.
3412 (innetgr): Conditionalize nscd bits on [USE_NSCD].
3413 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
3414 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
3415 * nscd/Makefile (routines, aux): Move definitions after include of
3416 Makeconfig. Conditionalize on [$(use-nscd) != no].
3417 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
3418 Conditionalize on [USE_NSCD].
3419 (is_nscd, nscd_init_cb): Likewise.
3420 (nss_load_library): Conditionalize init callback on [USE_NSCD].
3421 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
3422 * nss/nss_db/db-init.c: Likewise.
3423 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
3424 [USE_NSCD].
3425 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
3426 (make_request): Use it.
3427 (cache_valid_p): New function.
3428 (__check_pf): Use it.
3429 * NEWS: Add item for --disable-nscd.
3430
07e51550
DL
34312012-08-22 Dmitry V. Levin <ldv@altlinux.org>
3432
3433 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
3434 to support sed >= 4.2.1-20-ga9bf076.
3435 * configure: Regenerated.
3436
35a5b08b
RM
34372012-08-22 Roland McGrath <roland@hack.frob.com>
3438
3439 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
3440 Conditionalize whole body on [IREL].
3441
8479f23a
JL
34422012-08-22 Jeff Law <law@redhat.com>
3443
3444 [BZ #14505]
3445 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
3446 if the family is PF_UNSPEC.
3447
48da0b21
MF
34482012-08-22 Mike Frysinger <vapier@gentoo.org>
3449
3450 * Makerules (lib-version): Rename from V.
3451 (install-lib-nosubdir): Change V to lib-version.
3452
15d0da8c
WS
34532012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
3454
3455 [BZ #14252]
3456 * powerpc32/power6/wcschr.c: New file.
3457 * powerpc32/power6/wcscpy.c: New file.
3458 * powerpc32/power6/wcsrchr.c: New file.
3459 * powerpc64/power6/wcschr.c: New file.
3460 * powerpc64/power6/wcscpy.c: New file.
3461 * powerpc64/power6/wcsrchr.c: New file.
3462
bcca0895
MK
34632012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
3464
3465 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
3466 (two_way_short_needle): Use it.
5a4aaa33
RM
3467 * string/strstr.c (AVAILABLE1_USES_J): Define.
3468 * string/strcasestr.c: Likewise.
99677e57
MK
3469
3470 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
3471 array references.
3472 * string/strcasestr.c (TOLOWER): Make side-effect safe.
3473
400726de
MK
3474 [BZ #11607]
3475 * NEWS: Add an entry.
3476 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
3477 define their defaults.
3478 (two_way_short_needle): Detect end-of-string on-the-fly.
3479 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
3480 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
3481 * string/bug-strcasestr1.c: New test.
3482 * string/Makefile: Run it.
3483
20a71f2c
MK
34842012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
3485
3486 [BZ #11607]
3487 * string/str-two-way.h (two_way_short_needle): Optimize matching of
3488 the first character.
3489
21ad0558
RM
34902012-08-21 Roland McGrath <roland@hack.frob.com>
3491
3492 * csu/elf-init.c (__libc_csu_irel): Function removed.
3493 * csu/libc-start.c (apply_irel): New function.
3494 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
3495
0e1d9911
JM
34962012-08-21 Joseph Myers <joseph@codesourcery.com>
3497
3498 * sysdeps/unix/sysv/linux/kernel-features.h
3499 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
3500 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
3501 <kernel-features.h>.
3502 [__NR_fadvise64_64]: Make code unconditional.
3503 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
3504 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
3505 !__NR_fadvise64_64)]: Likewise.
3506 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
3507 !__NR_fadvise64_64))]: Likewise.
3508 [__NR_fadvise64]: Make code unconditional.
3509 [!__NR_fadvise64]: Remove conditional code.
3510 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
3511 <kernel-features.h>.
3512 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3513 unconditional.
3514 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3515 conditional code.
3516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
3517 not include <kernel-features.h>.
3518 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3519 unconditional.
3520 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3521 conditional code.
3522 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
3523 include <kernel-features.h>.
3524 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3525 unconditional.
3526 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3527 conditional code.
3528
14a50c9d
WS
35292012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
3530
3531 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
3532 slight instruction rearrangements per scrollpipe analysis.
3533 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3534
c0f4faf0
RM
35352012-08-20 Roland McGrath <roland@hack.frob.com>
3536
696da859
RM
3537 * manual/syslog.texi (syslog; vsyslog, closelog):
3538 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
3539 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
3540
c0f4faf0
RM
3541 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
3542 DSOCAPS to match condition on defining it.
3543
348363b2
JM
35442012-08-20 Joseph Myers <joseph@codesourcery.com>
3545
a35cbf28
JM
3546 * sysdeps/unix/sysv/linux/kernel-features.h
3547 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
3548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
3549 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3550 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
3552 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3553 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
3555 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3556 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3557
445f7ecd
JM
3558 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
3559 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
3560
348363b2
JM
3561 * sysdeps/unix/sysv/linux/kernel-features.h
3562 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
3563 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
3564 unconditional.
3565 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3566 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
3567 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
3568 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3569 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
3570 Make code unconditional.
3571 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3572 (__mmap64) [!__NR_mmap2]: Likewise.
3573 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
3574 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
3575 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3576 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
3577 [__NR_mmap2]: Make code unconditional.
3578 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3579 (__mmap64) [!__NR_mmap2]: Likewise.
3580
bc5bc0e5
AK
35812012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3582
3583 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
3584
88d506de
AJ
35852012-08-18 Andreas Jaeger <aj@suse.de>
3586
3587 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
3588
493387d2
MF
35892012-08-18 Mike Frysinger <vapier@gentoo.org>
3590
3591 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
3592 * include/unistd.h (__have_sock_cloexec): Likewise.
3593 (__have_pipe2): Likewise.
3594 (__have_dup3): Likewise.
3595
a277af22
MF
35962012-08-18 Mike Frysinger <vapier@gentoo.org>
3597
3598 [BZ #9685]
3599 * include/unistd.h (__have_pipe2): Change define into an extern int.
3600 (__have_dup3): Likewise.
3601 * socket/have_sock_cloexec.c: Include fcntl.h.
3602 (__have_pipe2): New variable.
3603 (__have_dup3): Likewise.
3604
fdab8fd3
MF
36052012-08-17 Mike Frysinger <vapier@gentoo.org>
3606
3607 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
3608
31035e80
MP
36092012-08-17 Marek Polacek <polacek@redhat.com>
3610
3611 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
3612 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
3613
3bd9e993
RM
36142012-08-17 Roland McGrath <roland@hack.frob.com>
3615
c91c505f
RM
3616 * configure.in: Add AC_SUBST for sysheaders.
3617 * configure: Regenerated.
3618 * config.make.in (sysheaders): New substituted variable.
3619
7c6f9d53
RM
3620 * sysdeps/unix/mkfifo.c: Moved ...
3621 * sysdeps/posix/mkfifo.c: ... here.
3622 * sysdeps/unix/mkfifoat.c: Moved ...
3623 * sysdeps/posix/mkfifoat.c: ... here.
3624
3625 * sysdeps/unix/utime.c: Moved ...
3626 * sysdeps/posix/utime.c: ... here.
3627
3628 * sysdeps/unix/time.c: Moved ...
3629 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
3630 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
3631 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
3632
3633 * sysdeps/unix/nice.c: Moved ...
3634 * sysdeps/posix/nice.c: ... here.
3635
3636 * sysdeps/unix/alarm.c: Moved ...
3637 * sysdeps/posix/alarm.c: ... here.
3638
3bd9e993
RM
3639 * intl/Makefile ($(codeset_mo)): Depend on the input file.
3640
d1f09384
JL
36412012-08-17 Jeff Law <law@redhat.com>
3642
3643 * intl/Makefile (codeset_mo): New variable.
3644 ($(codeset_mo)): New target.
3645 (tst-codeset.out): Depend on that. Remove explicit rule.
3646 (tst-gettext3.out, tst-gettext5.out): Likewise.
3647 (LOCPATH-ENV, tst-codeset-ENV): New variables.
3648 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
3649 * intl/tst-codeset.sh: Remove.
3650 * intl/tst-gettext3.sh: Likewise.
3651 * intl/tst-gettext5.sh: Likewise.
3652
2ae1ae5c
RM
36532012-08-17 Roland McGrath <roland@hack.frob.com>
3654
c31fdb83
RM
3655 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
3656 * sysdeps/unix/syscalls.list: ... here.
3657
a0844057
RM
3658 * sysdeps/posix/getaddrinfo.c
3659 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
3660 (gaiconf_init, gaiconf_reload): Use them.
3661 [!_STATBUF_ST_NSEC]
3662 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
3663 Define using time_t rather than struct timespec.
3664
750c1f2a
RM
3665 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
3666 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
3667 Macros removed.
3668 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
3669 [!NO_THREADS].
3670 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
3671 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
3672 Likewise.
3673
2ae1ae5c
RM
3674 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
3675 __libc_cleanup_push argument.
3676
e66a42f5
RM
3677 * bits/param.h: New file.
3678 * misc/sys/param.h: New file.
3679 * include/sys/param.h: New file.
3680 * misc/Makefile (headers): Add bits/param.h.
3681 * sysdeps/generic/sys/param.h: File removed.
3682 * sysdeps/unix/sysv/linux/bits/param.h: New file.
3683 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
3684 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 3685 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 3686
b7c08a66
RM
3687 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
3688 last change.
3689
b2e1c562
RM
3690 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
3691 [_IO_MTSAFE_IO].
3692 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
3693 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
3694 New macros.
3695
c75ccd4c
RM
3696 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
3697 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
3698 rather than -D_IO_MTSAFE_IO conditionally.
3699 * stdio-common/Makefile (CPPFLAGS): Likewise.
3700 * wcsmbs/Makefile (CPPFLAGS): Likewise.
3701 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
3702 Use $(libio-mtsafe).
3703 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
3704 of -D_IO_MTSAFE_IO.
3705 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
3706 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
3707 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
3708 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
3709 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
3710 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
3711 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
3712 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
3713 (CFLAGS-fread_u_chk.c): Likewise.
3714 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
3715 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
3716 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
3717 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
3718 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
3719 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
3720 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
3721 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
3722 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
3723
3724 * libio/Makefile: Test [$(libc-reentrant) = yes]
3725 instead of [$(filter %REENTRANT, $(defines)) nonempty].
3726
3727 * Makeconfig
3728 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
3729 * sysdeps/pthread/configure: File removed.
3730 * sysdeps/pthread/Makeconfig: New file.
3731 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
3732 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
3733
d9195db8
GB
37342012-08-16 Gary Benson <gbenson@redhat.com>
3735
3736 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
3737 unmapping the first object in a namespace.
3738
86466cd9
RM
37392012-08-16 Roland McGrath <roland@hack.frob.com>
3740
3741 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
3742 (__internal_setnetgrent): ... this. Add internal_function to
3743 definition. Add libc_hidden_def.
3744 (setnetgrent): Update caller.
3745 (internal_endnetgrent): Renamed to ...
3746 (__internal_endnetgrent): ... this. Add internal_function to
3747 definition. Add libc_hidden_def.
3748 (endnetgrent): Update caller.
3749 (internal_getnetgrent_r): Renamed to ...
3750 (__internal_getnetgrent_r): ... this. Add internal_function to
3751 definition. Add libc_hidden_def.
3752 (__getnetgrent_r): Update caller.
3753 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
3754
c3c8283c
JM
37552012-08-16 Joseph Myers <joseph@codesourcery.com>
3756
3757 * stdlib/longlong.h: Update from GCC.
3758
db1ee0a8
RM
37592012-08-16 Roland McGrath <roland@hack.frob.com>
3760
3761 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
3762 on _QL, which is set by umul_ppmm but never used.
3763 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
3764 variables, which are set by GMP macros but never used.
3765 * stdio-common/_itowa.c (_itowa): Likewise.
3766 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
3767 * stdlib/mod_1.c (mpn_mod_1): Likewise.
3768
30f69637
CD
37692012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
3770
3771 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
3772 struct La_sh_regs is not constant.
3773 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
3774 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
3775 and struct La_sparc64_regs are not constant.
3776
93a78ac4
JM
37772012-08-16 Joseph Myers <joseph@codesourcery.com>
3778
3779 * sysdeps/unix/sysv/linux/kernel-features.h
3780 (__ASSUME_POSIX_TIMERS): Remove.
3781 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3782 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3783 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
3784 Make code unconditional.
3785 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3786 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
3787 Make code unconditional.
3788 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3789 * sysdeps/unix/sysv/linux/clock_nanosleep.c
3790 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
3791 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3792 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
3793 Make code unconditional.
3794 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3795 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
3796 (__libc_missing_posix_timers): Remove.
3797
dd924cd7
RM
37982012-08-15 Roland McGrath <roland@hack.frob.com>
3799
4b4f2771
RM
3800 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
3801 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
3802
601c888b
RM
3803 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
3804
176790a7
RM
3805 * elf/dl-sym.c: Include <stdlib.h>.
3806
329bc018
RM
3807 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
3808 constants, which avoids warnings in 32-bit builds.
3809
e04e272d
RM
3810 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
3811 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
3812
952bf94a
RM
3813 * misc/lseek.c: File moved to ...
3814 * io/lseek.c: ... here.
3815
7c99b50a
RM
3816 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
3817
dd924cd7
RM
3818 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
3819 shifting LEN more than 31 bits at once.
3820
b3f479a8
LD
38212012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3822
3823 [BZ #14195]
8c4ae0d4
RM
3824 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
3825 segmentation fault for a case of two empty input strings.
b3f479a8
LD
3826 * string/test-strncasecmp.c (check1): Renamed to...
3827 (bz12205): ...this.
3828 (bz14195): Add new testcase for two empty input strings and N > 0.
3829 (test_main): Call new testcase, adapt for renamed function.
3830
9c55864e
AJ
38312012-08-15 Andreas Jaeger <aj@suse.de>
3832
3833 [BZ #14090]
3834 * crypt/md5test2.c: New test, based on test supplied by Serge
3835 Belyshev <belyshev@depni.sinp.msu.ru>.
3836 * crypt/Makefile (xtests): Add md5test-giant..
3837 * crypt/Makefile ($(objpfx)md5test-giant): Add.
3838
02dcb6c5
PE
38392012-08-15 Paul Eggert <eggert@cs.ucla.edu>
3840
3841 [BZ #14090]
3842 * crypt/md5.c (md5_process_block): Don't assume the buffer
3843 length is less than 2**32.
3844 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
3845 length is less than 2**64.
3846
a3f95dcc
RM
38472012-08-15 Roland McGrath <roland@hack.frob.com>
3848
be75d758
RM
3849 * string/str-two-way.h: Include <sys/param.h>.
3850 (MAX): Macro removed.
3851
7312ca90
RM
3852 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
3853 Move #define and #undef of memmove to just before and after
3854 including <string.h>.
3855
9a0a5486
RM
3856 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
3857 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
3858 and after including <string.h>. Move declarations of
3859 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
3860 to before #include "string/memmove.c".
3861
67cc348d
RM
3862 * include/dirent.h: Declare __getdirentries.
3863
a3f95dcc
RM
3864 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
3865 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
3866
ca98e171
MF
38672012-08-14 Mike Frysinger <vapier@gentoo.org>
3868
3869 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
3870 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
3871 * sysdeps/i386/configure: Regenerated.
3872 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
3873 STABS_CURRENT_FILE, and STABS_FUN.
3874 (END): Remove call to STABS_FUN_END.
3875 (STABS_CURRENT_FILE1): Delete.
3876 (STABS_CURRENT_FILE): Likewise.
3877 (STABS_FUN): Likewise.
3878 (STABS_FUN_END): Likewise.
3879 (STABS_FUN2): Likewise.
3880 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
3881 * sysdeps/x86_64/configure: Regenerated.
3882
5908bf46
RM
38832012-08-14 Roland McGrath <roland@hack.frob.com>
3884
3885 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 3886 * elf/dl-lookup.c: Likewise.
5908bf46 3887
f2c05b9e
JM
38882012-08-14 Joseph Myers <joseph@codesourcery.com>
3889
3890 * sysdeps/unix/sysv/linux/kernel-features.h
3891 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
3892 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
3893 unconditionally.
3894 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
3895 unconditionally.
3896 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
3897 condition on __ASSUME_CLONE_THREAD_FLAGS.
3898
e11f5155
AJ
38992012-08-14 Andreas Jaeger <aj@suse.de>
3900
3901 * sysdeps/i386/fpu/libm-test-ulps: Update.
3902
51a9ba86
MK
39032012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
3904
2fdd4f78
AJ
3905 * include/atomic.h (atomic_exchange_and_add): Split into ...
3906 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
3907 New atomic macros.
51a9ba86 3908
ba6cba9e
MT
39092012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
3910
3911 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3912
42443a47
JL
39132012-08-13 Jeff Law <law@redhat.com>
3914
3915 * manual/stdio.texi (snprintf): Clarify handling of the trailing
3916 null byte in the output string.
3917
121dce05
JM
39182012-08-10 Joseph Myers <joseph@codesourcery.com>
3919
3920 * sysdeps/unix/sysv/linux/kernel-features.h
3921 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
3922 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
3923 (__ASSUME_ARG_MAX_STACK_BASED): Define.
3924 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
3925 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
3926 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
3927 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
3928
bf51f568
JL
39292012-08-09 Jeff Law <law@redhat.com>
3930
3931 [BZ #13939]
3932 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
3933 When avoid_arena is set, don't retry in the that arena. Pick the
3934 next one, whatever it might be.
3935 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
3936 (arena_lock): Pass in new parameter to arena_get2.
3937 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
3938 arena_get2.
3939 (__libc_malloc): Unify retrying after main arena failure with
3940 __libc_memalign version.
3941 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
3942
f85fa270
L
39432012-08-09 H.J. Lu <hongjiu.lu@intel.com>
3944
3945 [BZ #14166]
3946 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
3947 to __redirect_strstr.
3948 (__strstr_sse42): Use typeof __redirect_strstr.
3949 (__strstr_ia32): Likewise.
3950 (__libc_strstr): New prototype.
3951 (strstr): Renamed to ...
3952 (__libc_strstr): This.
3953 (strstr): New strong alias of __libc_strstr.
3954 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
3955 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
3956 __redirect_time.
3957 Include <time.h>.
3958 (__libc_time): New prototype.
3959 (time_ifunc): Replace time with __libc_time.
3960 (time): New strong alias and hidden definition of __libc_time.
3961 (__GI_time): Remove strong alias.
3962 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
3963 Include <stddef.h>.
3964 (memmove): Redefined to __redirect_memmove.
3965 (__memmove_sse2): Use typeof __redirect_memmove.
3966 (__memmove_ssse3): Likewise.
3967 (__memmove_ssse3_back): Likewise.
3968 (__libc_memmove): New prototype.
3969 (memmove): Renamed to ...
3970 (__libc_memmove): This.
3971 (memmove): New strong alias of __libc_memmove.
3972
33b4a91e
MS
39732012-08-08 Mark Salter <msalter@redhat.com>
3974
3975 * elf/elf.h
3976 (R_MN10300_TLS_GD): Define.
3977 (R_MN10300_TLS_LD): Likewise.
3978 (R_MN10300_TLS_LDO): Likewise.
3979 (R_MN10300_TLS_GOTIE): Likewise.
3980 (R_MN10300_TLS_IE): Likewise.
3981 (R_MN10300_TLS_LE): Likewise.
3982 (R_MN10300_TLS_DTPMOD): Likewise.
3983 (R_MN10300_TLS_DTPOFF): Likewise.
3984 (R_MN10300_TLS_TPOFF): Likewise.
3985 (R_MN10300_SYM_DIFF): Likewise.
3986 (R_MN10300_ALIGN): Likewise.
3987 (R_MN10300_NUM): Update.
3988
b36137f1
JM
39892012-08-08 Joseph Myers <joseph@codesourcery.com>
3990
3991 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
3992 Remove.
3993
cdd915fd
RM
39942012-08-08 Roland McGrath <roland@hack.frob.com>
3995
a2433aac
RM
3996 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
3997
cdd915fd
RM
3998 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
3999 sysdeps/unix -> sysdeps/posix move.
4000 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4001
bf9b740a
AM
40022012-08-07 Allan McRae <allan@archlinux.org>
4003
4004 [BZ #14303]
4005 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
4006 (SUNOS_CPP): Likewise.
4007 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
4008 not found.
4009 (open_input): Call CPP using execvp.
4010
93df14ee
JM
40112012-08-07 Joseph Myers <joseph@codesourcery.com>
4012
4013 * sysdeps/unix/sysv/linux/kernel-features.h
4014 (__ASSUME_PROT_GROWSUPDOWN): Remove.
4015 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4016 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4017 (__ASSUME_WAITID_SYSCALL): Likewise.
4018 * sysdeps/unix/sysv/linux/dl-execstack.c
4019 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
4020 code unconditional.
4021 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
4022 conditional code.
4023 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
4024 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
4025 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
4026 code.
4027 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
4028 unconditional.
4029 [__ASSUME_WAITID_SYSCALL]: Likewise.
4030 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
4031
d34689de
RM
40322012-08-07 Roland McGrath <roland@hack.frob.com>
4033
a281decc
RM
4034 * sysdeps/unix/closedir.c: Renamed to ...
4035 * sysdeps/posix/closedir.c: ... here.
4036 * sysdeps/unix/dirfd.c: Renamed to ...
4037 * sysdeps/posix/dirfd.c: ... here.
4038 * sysdeps/unix/dirstream.h: Renamed to ...
4039 * sysdeps/posix/dirstream.h: ... here.
4040 * sysdeps/unix/fdopendir.c: Renamed to ...
4041 * sysdeps/posix/fdopendir.c: ... here.
4042 * sysdeps/unix/opendir.c: Renamed to ...
4043 * sysdeps/posix/opendir.c: ... here.
4044 * sysdeps/unix/readdir.c: Renamed to ...
4045 * sysdeps/posix/readdir.c: ... here.
4046 * sysdeps/unix/readdir_r.c: Renamed to ...
4047 * sysdeps/posix/readdir_r.c: ... here.
4048 * sysdeps/unix/rewinddir.c: Renamed to ...
4049 * sysdeps/posix/rewinddir.c: ... here.
4050 * sysdeps/unix/seekdir.c: Renamed to ...
4051 * sysdeps/posix/seekdir.c: ... here.
4052 * sysdeps/unix/telldir.c: Renamed to ...
4053 * sysdeps/posix/telldir.c: ... here.
4054 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
4055 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
4056 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
4057 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
4058
22895b47
RM
4059 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
4060 * bits/fcntl.h: ... here.
4061
707a53b6
RM
4062 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
4063 not 0.
4064 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
4065 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
4066 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
4067 (struct flock): Move l_start, l_len to the beginning.
4068 Use __pid_t for l_pid.
4069 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
4070 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
4071 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
4072 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
4073 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
4074 [__USE_LARGEFILE64] (struct flock64): New type.
4075 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
4076
f0bd3e25
RM
4077 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
4078 * bits/dirent.h: ... here.
4079
d34689de
RM
4080 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
4081 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
4082
6dad2c06
JM
40832012-08-07 Joseph Myers <joseph@codesourcery.com>
4084
4085 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4086 Change from 2.6.0 to 2.6.16.
4087 * sysdeps/unix/sysv/linux/configure: Regenerated.
4088 * sysdeps/unix/sysv/linux/kernel-features.h
4089 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
4090 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
4091 version.
4092 (__ASSUME_UTIMES): Likewise.
4093 (__ASSUME_CLONE_STOPPED): Remove.
4094 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
4095 architectures, not kernel version.
4096 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
4097 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4098 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4099 (__ASSUME_WAITID_SYSCALL): Likewise.
4100 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
4101 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
4102 * README: State 2.6.16 as minimum Linux kernel version. Do not
4103 refer to older versions.
4104
03af9520
RM
41052012-08-06 Roland McGrath <roland@hack.frob.com>
4106
8e49df1d
RM
4107 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
4108 Define alphasort64 as an alias.
4109 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
4110 Define versionsort64 as an alias.
4111 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
4112 Define scandir64 as an alias.
4113 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
4114 Define scandirat64 as an alias.
4115 * dirent/alphasort64.c (alphasort64):
4116 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
4117 * dirent/versionsort64.c: Likewise.
4118 * dirent/scandir64.c: Likewise.
4119 * dirent/scandirat64.c: Likewise.
4120 * sysdeps/wordsize-64/alphasort.c: File removed.
4121 * sysdeps/wordsize-64/alphasort64.c: File removed.
4122 * sysdeps/wordsize-64/scandir.c: File removed.
4123 * sysdeps/wordsize-64/scandir64.c: File removed.
4124 * sysdeps/wordsize-64/scandirat.c: File removed.
4125 * sysdeps/wordsize-64/scandirat64.c: File removed.
4126 * sysdeps/wordsize-64/versionsort.c: File removed.
4127 * sysdeps/wordsize-64/versionsort64.c: File removed.
4128 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
4129 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
4130 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
4131 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
4132 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
4133 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
4134 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
4135 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
4136
4137 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
4138 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4139 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
4140 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4141 [defined __arch64__ || defined __sparcv9]
4142 (__INO_T_MATCHES_INO64_T): New macro.
4143 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4144 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
4145 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
4146 * sysdeps/unix/sysv/linux/bits/dirent.h
4147 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
4148 (_DIRENT_MATCHES_DIRENT64): New macro.
4149
03af9520
RM
4150 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
4151 Define lockf64 as an alias.
4152 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
4153 Define fseeko64 as an alias.
4154 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
4155 Define ftello64 as an alias.
4156 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
4157 Define _IO_fgetpos64 and fgetpos64 as aliases.
4158 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
4159 Define _IO_fsetpos64 and fsetpos64 as aliases.
4160 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
4161 Conditionalize body on this.
4162 * libio/fseeko64.c: Likewise.
4163 * libio/ftello64.c: Likewise.
4164 * libio/iofgetpos64.c: Likewise.
4165 * libio/iofsetpos64.c: Likewise.
4166 * sysdeps/wordsize-64/lockf.c: File removed.
4167 * sysdeps/wordsize-64/lockf64.c: File removed.
4168 * sysdeps/wordsize-64/fseeko.c: File removed.
4169 * sysdeps/wordsize-64/fseeko64.c: File removed.
4170 * sysdeps/wordsize-64/ftello.c: File removed.
4171 * sysdeps/wordsize-64/ftello64.c: File removed.
4172 * sysdeps/wordsize-64/iofgetpos.c: File removed.
4173 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
4174 * sysdeps/wordsize-64/iofsetpos.c: File removed.
4175 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
4176 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
4177 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
4178 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
4179 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
4180 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
4181 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
4182 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
4183 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
4184 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
4185 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
4186
4187 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4188 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4189 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
4190 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4191 [defined __arch64__ || defined __sparcv9]
4192 (__OFF_T_MATCHES_OFF64_T): New macro.
4193 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4194 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4195 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4196 (__OFF_T_MATCHES_OFF64_T): New macro.
4197
c5757acd
L
41982012-08-06 H.J. Lu <hongjiu.lu@intel.com>
4199
4200 * stdlib/secure-getenv.c (__secure_getenv): Replace
4201 GLIBC_2_16 with GLIBC_2_17.
4202
3a31811e
L
42032012-08-06 H.J. Lu <hongjiu.lu@intel.com>
4204
4205 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
4206 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4207
faa2bccb
DM
42082012-08-03 David S. Miller <davem@davemloft.net>
4209
4210 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4211
85fe1997
JM
42122012-08-03 Joseph Myers <joseph@codesourcery.com>
4213
4214 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
4215 Remove.
4216 (__ASSUME_CORRECT_SI_PID): Likewise.
4217 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
4218 (__ASSUME_TMPFS_NAME): Likewise.
4219 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
4220 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
4221 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
4222 (HAVE_AUX_SECURE): Make definition unconditional.
4223 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
4224 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
4225
4f75b7a0
RM
42262012-08-03 Roland McGrath <roland@hack.frob.com>
4227
4228 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
4229 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
4230 * sysdeps/mach/hurd/eloop-threshold.h: New file.
4231 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4232 __eloop_threshold instead of SYMLOOP_MAX.
4233
4234 * sysdeps/generic/eloop-threshold.h: New file.
4235 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
4236 of MAXSYMLINKS.
4237 * elf/chroot_canon.c (chroot_canon): Likewise.
4238
7aab07e4
JM
42392012-08-03 Joseph Myers <joseph@codesourcery.com>
4240
4241 [BZ #13717]
4242 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4243 Change to 2.6.0 everywhere.
4244 * sysdeps/unix/sysv/linux/configure: Regenerated.
4245 * sysdeps/unix/sysv/linux/kernel-features.h
4246 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
4247 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
4248 kernel versions.
4249 (__ASSUME_POSIX_TIMERS): Define unconditionally.
4250 (__ASSUME_FUTEX_REQUEUE): Remove.
4251 (__ASSUME_STATFS64): Define unconditionally.
4252 (__ASSUME_AT_SECURE): Likewise.
4253 (__ASSUME_CORRECT_SI_PID): Likewise.
4254 (__ASSUME_TGKILL): Define without depending on kernel version for
4255 i386.
4256 (__ASSUME_UTIMES): Likewise.
4257 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
4258 kernel version.
4259 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
4260 (__ASSUME_TMPFS_NAME): Likewise.
4261 * README: Update reference to Linux kernel versions.
4262
b67e9372
MP
42632012-08-02 Marek Polacek <polacek@redhat.com>
4264
1f529f7d 4265 [BZ# 14150]
b67e9372
MP
4266 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
4267 libc_cv_asm_type_prefix with %.
4268 * configure: Regenerated.
d2441631
RM
4269 * include/libc-symbols.h: Remove comment about
4270 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
4271 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
4272 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
4273 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
4274 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
4275 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
4276 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
4277 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
4278 * elf/tst-unique2mod1.c: Likewise.
4279 * elf/tst-unique1mod2.c: Likewise.
4280 * elf/tst-unique1mod1.c: Likewise.
4281 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
4282 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
4283 Replace ASM_TYPE_DIRECTIVE with .type.
4284 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4285 * sysdeps/i386/sysdep.h: Likewise.
4286 * sysdeps/x86_64/sysdep.h: Likewise.
4287 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
4288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
4289 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 4290 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
4291 * sysdeps/powerpc/powerpc32/sysdep.h:
4292 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
4293 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
4294 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4295 * sysdeps/i386/fpu/e_powf.S: Likewise.
4296 * sysdeps/i386/fpu/e_expl.S: Likewise.
4297 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4298 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4299 * sysdeps/i386/fpu/e_pow.S: Likewise.
4300 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4301 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4302 * sysdeps/i386/fpu/s_expm1.S: Likewise.
4303 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4304 * sysdeps/i386/fpu/e_log2.S: Likewise.
4305 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4306 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4307 * sysdeps/i386/fpu/e_powl.S: Likewise.
4308 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4309 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4310 * sysdeps/i386/fpu/e_logl.S: Likewise.
4311 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4312 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4313 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4314 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4315 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4316 * sysdeps/i386/fpu/e_log.S: Likewise.
4317 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4318 * sysdeps/i386/fpu/e_logf.S: Likewise.
4319 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4320 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4321 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4322 * sysdeps/i386/fpu/e_log10.S: Likewise.
4323 * sysdeps/i386/fpu/s_frexp.S: Likewise.
4324 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4325 * sysdeps/i386/fpu/s_asinh.S: Likewise.
4326 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4327 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4328 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
4329 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4330 * sysdeps/i386/i686/strtok.S: Likewise.
4331 * sysdeps/i386/i386-mcount.S: Likewise.
4332 * sysdeps/i386/strtok.S: Likewise.
4333 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
4334 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4335 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4336 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4337 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4338 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4339 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4340 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4341 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4342 * sysdeps/x86_64/_mcount.S: Likewise.
4343 * sysdeps/x86_64/strtok.S: Likewise.
4344 * sysdeps/sh/_mcount.S: Likewise.
4345
2747bf9a
RM
43462012-08-01 Roland McGrath <roland@hack.frob.com>
4347
4348 * libio/iofopen.c: Include <fcntl.h>.
4349 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
4350 (_IO_fopen64, fopen64): Define as aliases.
4351 * libio/iofopen64.c: Include <fcntl.h>.
4352 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
4353 Conditionalize body on this.
4354 * sysdeps/wordsize-64/iofopen.c: File removed.
4355 * sysdeps/wordsize-64/iofopen64.c: File removed.
4356
3fb791b8
MP
43572012-08-01 Marek Polacek <polacek@redhat.com>
4358
4359 * libc/Makeconfig: Use elf in place of binfmt-subdir.
4360 Use dlfcn directly instead of a variable.
4361 (binfmt-subdir): Do not define.
4362 (dlfcn): Likewise.
4363
a9f1039f
JM
43642012-08-01 Joseph Myers <joseph@codesourcery.com>
4365
23bddc06
JM
4366 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
4367 Remove all definitions.
4368 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
4369 <kernel-features.h>.
4370 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
4371 (miss_F_GETOWN_EX): Remove all definitions.
4372 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
4373 macro definition.
4374 [!__ASSUME_FCNTL64]: Remove conditional code.
4375 [__ASSUME_FCNTL64]: Make code unconditional.
4376 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
4377 <kernel-features.h>.
4378 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
4379 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
4380 (lockf64) [__NR_fcntl64]: Make code unconditional.
4381 (lockf64) [__ASSUME_FCNTL64]: Likewise.
4382
a9f1039f
JM
4383 * sysdeps/unix/sysv/linux/kernel-features.h
4384 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
4385 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
4386 Make code unconditional.
4387 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4388 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
4390 [__NR_vfork]: Make code unconditional.
4391 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4392 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
4394 [__NR_vfork]: Make code unconditional.
4395 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4396 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4397
09c0ee5f
RM
43982012-08-01 Roland McGrath <roland@hack.frob.com>
4399
48aec5b9
RM
4400 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
4401 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
4402
cd97c966
RM
4403 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4404 Define mkstemp64 as an alias.
3f55550c
RM
4405 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4406 Define mkstemps64 as an alias.
cd97c966
RM
4407 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4408 Define mkostemp64 as an alias.
b8625cfc
RM
4409 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4410 Define mkostemps64 as an alias.
cd97c966
RM
4411 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
4412 Conditionalize body on this.
4413 * misc/mkostemp64.c: Likewise.
b8625cfc 4414 * misc/mkostemps64.c: Likewise.
3f55550c 4415 * misc/mkstemps64.c: Likewise.
cd97c966
RM
4416 * sysdeps/wordsize-64/mkstemp64.c: File removed.
4417 * sysdeps/wordsize-64/mkostemp64.c: File removed.
4418 * sysdeps/wordsize-64/mkostemp.c: File removed.
4419 * sysdeps/wordsize-64/mkstemp.c: File removed.
4420 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
4421 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
4422 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
4423 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
4424
09c0ee5f
RM
4425 [BZ #14138]
4426 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
4427 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
4428 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
4429 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
4430
4431 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
4432 compat_symbol macros from <shlib-compat.h> rather than the underlying
4433 default_symbol_version and symbol_version macros, so that DEFAULT
4434 lines in shlib-versions are respected.
4435 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
4436
7e66ee51
FW
44372012-08-01 Florian Weimer <fweimer@redhat.com>
4438
4439 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
4440 Declare with warn_unused_result.
4441 (setgid, setregid, setegid, setresgid): Likewise.
4442 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
4443 Likewise.
4444 * WUR-REPORT: Remove set*id functions.
4445
d2a54255
PT
44462012-07-31 Pino Toscano <toscano.pino@tiscali.it>
4447
4448 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
4449
7ecdb005
RM
44502012-07-31 Roland McGrath <roland@hack.frob.com>
4451
789bd351
RM
4452 * include/sys/socket.h (__libc_accept, __libc_accept4):
4453 Add attribute_hidden.
4454 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
4455
40ce302d
RM
4456 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
4457 use of PTR_MANGLE.
4458 * inet/getnetgrent_r.c (setup): Likewise.
4459
7ecdb005
RM
4460 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
4461
e2eabb2c
DM
44622012-07-31 David S. Miller <davem@davemloft.net>
4463
4464 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4465
d0419dbf
JM
44662012-07-31 Joseph Myers <joseph@codesourcery.com>
4467
4468 [BZ #13629]
4469 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
4470 value between 1.0 and 2.0 and smaller part has absolute value less
4471 than 1.0.
4472 * math/s_clog10.c (__clog10): Likewise.
4473 * math/s_clog10f.c (__clog10f): Likewise.
4474 * math/s_clog10l.c (__clog10l): Likewise.
4475 * math/s_clogf.c (__clogf): Likewise.
4476 * math/s_clogl.c (__clogl): Likewise.
4477 * math/libm-test.inc (clog_test): Add more tests.
4478 (clog10_test): Likewise.
4479 * sysdeps/i386/fpu/libm-test-ulps: Update.
4480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4481
2bc13872
FW
44822012-07-31 Florian Weimer <fweimer@redhat.com>
4483
4484 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
4485 Exit with zero in case no suitable GID is found, and write a
4486 message to standard error.
4487
bea9b193
RM
44882012-07-30 Roland McGrath <roland@hack.frob.com>
4489
4490 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
4491 rather than to 1.
4492 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
4493 (MAXPATHLEN): Removed.
4494 (NOGROUP, NODEV): New macros.
4495 (setbit, clrbit, isset, isclr): New macros.
4496 (howmany, roundup, powerof2): New macros.
4497 (DEV_BSIZE): New macro.
4498
4499 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
4500 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
4501
4502 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
4503 definition on [!__NO_LONG_DOUBLE_MATH].
4504
4505 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
4506 PTR_MANGLE and PTR_DEMANGLE.
4507
4508 * socket/accept4.c (accept4): Rename to __libc_accept4.
4509 Define accept4 as a weak alias.
4510
4511 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
4512 on [_DIRENT_HAVE_D_TYPE].
4513 * io/ftw.c (ftw_dir): Likewise.
4514
4515 * io/xmknod.c (__xmknod): Don't check PATH for being null.
4516
4517 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
4518
4519 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
4520 Use the BSD numbers rather than the arbitrary ones we had.
4521 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
4522 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
4523 (SIGXCPU, SIGXFSZ): New macros.
4524 (_NSIG): Now 32.
4525
4526 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
4527 initializer on [_LIBC_REENTRANT].
4528
4529 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
4530 definitions inside [_POSIX_MAPPED_FILES].
4531
4532 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
4533
4534 * dirent/opendir.c: Include <fcntl.h>.
4535
4536 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
4537 (__libc_getspecific): Likewise.
4538 (__libc_key_create): Likewise.
4539
4540 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
4541 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
4542 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
4543 (tmpfile64): Define as alias.
4544 * sysdeps/wordsize-64/tmpfile.c: File removed.
4545 * sysdeps/wordsize-64/tmpfile64.c: File removed.
4546 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
4547 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
4548
4549 * stdio-common/vfscanf.c: Include <stdbool.h>.
4550 * nss/makedb.c: Likewise.
4551 * stdio-common/_i18n_number.h: Likewise.
4552 * argp/argp-help.c: Likewise.
4553 * posix/wordexp.c: Likewise.
4554 * sysdeps/posix/spawni.c: Likewise.
4555 * nss/nss_files/files-initgroups.c: Likewise.
4556 * stdio-common/reg-modifier.c: Include <stdlib.h>.
4557 * nss/nss_files/files-initgroups.c: Likewise.
4558 * nss/nss_db/db-netgrp.c: Likewise.
4559 * nss/nss_db/db-initgroups.c: Likewise.
4560 * io/fchmodat.c: Include <sys/stat.h>.
4561
4562 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
4563 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
4564
4565 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
4566 [HAVE_MMAP].
4567
4568 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
4569 Add multiple inclusion protection.
4570
e5abc686
DM
45712012-07-27 David S. Miller <davem@davemloft.net>
4572
4573 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4574
815e6fa3
GB
45752012-07-27 Gary Benson <gbenson@redhat.com>
4576
4577 [BZ #14298]
4578 * elf/rtld.c: Include <stap-probe.h>.
4579 (dl_main): Added static probes "init_start" and "init_complete".
4580 * elf/dl-load.c: Include <stap-probe.h>.
4581 (lose): Take new parameter "nsid".
4582 Added static probe "map_failed".
4583 (_dl_map_object_from_fd): Pass namespace id to lose.
4584 Added static probe "map_start".
4585 (open_verify): Pass namespace id to lose.
4586 * elf/dl-open.c: Include <stap-probe.h>.
4587 (dl_open_worker) Added static probes "map_complete", "reloc_start"
4588 and "reloc_complete".
4589 * elf/dl-close.c: Include <stap-probe.h>.
4590 (_dl_close_worker): Added static probes "unmap_start" and
4591 "unmap_complete".
4592 * elf/rtld-debugger-interface.txt: New file documenting the above.
4593
9f98c16c
RM
45942012-07-26 Roland McGrath <roland@hack.frob.com>
4595
4596 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
4597 rather than a string variable.
4598 * sunrpc/rpc_main.c (h_output): Likewise.
4599 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
4600
f3c22df3
PT
46012012-07-26 Pino Toscano <toscano.pino@tiscali.it>
4602
4603 * inet/check_native.c: New file.
4604
3129cfc6
JM
46052012-07-26 Joseph Myers <joseph@codesourcery.com>
4606
da865e95
JM
4607 [BZ #13629]
4608 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
4609 if larger part has absolute value 1.0.
4610 * math/s_clog10.c (__clog10): Likewise.
4611 * math/s_clog10f.c (__clog10f): Likewise.
4612 * math/s_clog10l.c (__clog10l): Likewise.
4613 * math/s_clogf.c (__clogf): Likewise.
4614 * math/s_clogl.c (__clogl): Likewise.
4615 * math/libm-test.inc (clog_test): Add more tests.
4616 (clog10_test): Likewise.
4617 * sysdeps/i386/fpu/libm-test-ulps: Update.
4618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4619
3129cfc6
JM
4620 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
4621 (pltexit): Likewise.
4622 (La_regs): Likewise.
4623 (La_retval): Likewise.
4624 (int_retval): Likewise.
4625 Update #error for removed macros to refer only to definitions in
4626 tst-audit.h.
4627 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
4628 macro.
4629 (pltexit): Likewise.
4630 (La_regs): Likewise.
4631 (La_retval): Likewise.
4632 (int_retval): Likewise.
4633 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
4634 macro.
4635 (pltexit): Likewise.
4636 (La_regs): Likewise.
4637 (La_retval): Likewise.
4638 (int_retval): Likewise.
4639 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
4640 macro.
4641 (pltexit): Likewise.
4642 (La_regs): Likewise.
4643 (La_retval): Likewise.
4644 (int_retval): Likewise.
4645 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
4646 macro.
4647 (pltexit): Likewise.
4648 (La_regs): Likewise.
4649 (La_retval): Likewise.
4650 (int_retval): Likewise.
4651 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
4652 macro.
4653 (pltexit): Likewise.
4654 (La_regs): Likewise.
4655 (La_retval): Likewise.
4656 (int_retval): Likewise.
4657 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
4658 macro.
4659 (pltexit): Likewise.
4660 (La_regs): Likewise.
4661 (La_retval): Likewise.
4662 (int_retval): Likewise.
4663 * sysdeps/generic/tst-audit.h: Update comment to refer only to
4664 macro definitions in tst-audit.h.
4665 * sysdeps/i386/tst-audit.h: New file.
4666 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
4667 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
4668 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
4669 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
4670 * sysdeps/sh/tst-audit.h: Likewise.
4671 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
4672 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
4673 * sysdeps/x86_64/tst-audit.h: Likewise.
4674
bfc07087
AJ
46752012-07-26 Andreas Jaeger <aj@suse.de>
4676
b1b2aaf8
AJ
4677 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
4678 ptrace.
4679
4680 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
4681 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
4682 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
4683 PTRACE_O_MASK.
4684 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
4685 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
4686 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
4687
bfc07087
AJ
4688 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
4689 value.
4690
4691 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
4692 _sigsys.
4693 (si_call_addr, si_syscall, si_arch): Define new macro.
4694 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
4695 _sigsys.
4696 (si_call_addr, si_syscall, si_arch): Define new marcro.
4697 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
4698 _sigsys.
4699 (si_call_addr, si_syscall, si_arch): Define new macro.
4700 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
4701 _sigsys.
4702 (si_call_addr, si_syscall, si_arch): Define new macro.
4703
89b4b02f
JM
47042012-07-25 Joseph Myers <joseph@codesourcery.com>
4705
4706 [BZ #13717]
4707 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4708 Change to 2.4.21 where previously 2.4.1.
4709 * sysdeps/unix/sysv/linux/configure: Regenerated.
4710 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
4711 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
4712 Linux kernel version.
4713 (__ASSUME_STD_AUXV): Remove.
4714 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
4715 kernel version.
4716 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
4717 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
4718 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
4719 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
4720 (__ASSUME_NETLINK_SUPPORT): Likewise.
4721 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
4722 (__no_netlink_support): Remove conditional definition.
4723 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
4724 Remove.
4725 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
4726 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
4727 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
4728 (if_nameindex_ioctl): Remove.
4729 (if_nameindex_netlink): Do not handle __no_netlink_support.
4730 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
4731 code.
4732 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
4733 Remove conditional code.
4734 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
4735 code.
4736 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
4737 unconditional.
4738 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
4739 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
4740 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
4741 Remove.
4742 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
4743 [!__ASSUME_STD_AUXV]: Remove conditional code.
4744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
4745 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
4746 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
4747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
4748 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
4749 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
4750 code.
4751 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
4752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4753 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
4754 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
4755 conditional code.
4756 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
4757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
4758 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
4759 code.
4760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4761 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
4762 conditional code.
4763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
4764 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
4765 code unconditional.
4766 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4767 conditional code.
4768 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4769 unconditional.
4770 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4771 conditional code.
4772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4773 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4774 unconditional.
4775 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4776 conditional code.
4777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
4778 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
4779 code unconditional.
4780 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4781 conditional code.
4782 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4783 unconditional.
4784 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4785 conditional code.
4786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
4787 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
4788 code unconditional.
4789 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4790 conditional code.
4791 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4792 unconditional.
4793 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4794 conditional code.
4795
842a39cd
AS
47962012-07-25 Andreas Schwab <schwab@linux-m68k.org>
4797
4798 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
4799 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
4800 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4801 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
4802 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
4803 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
4804 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4805 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
4806 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
4807 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
4808 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
4809 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
4810 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
4811 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
4812 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
4813 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
4814 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
4815 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
4816 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
4817 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
4818 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
4819 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
4820 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4821
84b3fd84
FW
48222012-07-25 Florian Weimer <fweimer@redhat.com>
4823
4824 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
4825 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
4826 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
4827 Introduce __libc_secure_getenv.
0c7936d5
FW
4828 * stdlib/Versions (2.17): Add secure_getenv
4829 (GLIBC_PRIVATE): Add __libc_secure_getenv.
4830 * stdlib/secure-getenv.c: Rename __secure_getenv to
4831 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
4832 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
4833 * stdlib/tst-secure-getenv.c: New.
4834 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
4835 * manual/startup.texi (Environment Access): Document
4836 secure_getenv.
84b3fd84
FW
4837 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
4838 __libc_secure_getenv.
4839 * inet/ruserpass.c (ruserpass): Likewise.
4840 * malloc/mtrace.c (mtrace): Likewise.
4841 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 4842 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
4843 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
4844 * sysdeps/posix/tempname.c: Likewise. Evaluate
4845 HAVE_SECURE_GETENV.
4846 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 4847 __secure_getenv to __libc_secure_getenv.
84b3fd84 4848 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
4849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4850 Likewise.
4851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4852 Likewise.
4853 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
4854 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
4855 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
4856 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
4857 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
4858 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
4859 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 4860
56e49b71
JM
48612012-07-25 Joseph Myers <joseph@codesourcery.com>
4862
4863 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
4864 (struct La_i86_retval): Likewise.
4865 (struct La_x86_64_regs): Likewise.
4866 (struct La_x86_64_retval): Likewise.
4867 (struct La_x32_regs): Likewise.
4868 (struct La_x32_retval): Likewise.
4869 (struct La_ppc32_regs): Likewise.
4870 (struct La_ppc32_retval): Likewise.
4871 (struct La_ppc64_regs): Likewise.
4872 (struct La_ppc64_retval): Likewise.
4873 (struct La_sh_regs): Likewise.
4874 (struct La_sh_retval): Likewise.
4875 (struct La_s390_32_regs): Likewise.
4876 (struct La_s390_32_retval): Likewise.
4877 (struct La_s390_64_regs): Likewise.
4878 (struct La_s390_64_retval): Likewise.
4879 (struct La_sparc32_regs): Likewise.
4880 (struct La_sparc32_retval): Likewise.
4881 (struct La_sparc64_regs): Likewise.
4882 (struct La_sparc64_retval): Likewise.
4883 (struct audit_ifaces): Remove architecture-specific pltenter and
4884 pltexit members.
4885 * sysdeps/i386/ldsodefs.h: New file.
4886 * sysdeps/powerpc/ldsodefs.h: Likewise.
4887 * sysdeps/s390/ldsodefs.h: Likewise.
4888 * sysdeps/sh/ldsodefs.h: Likewise.
4889 * sysdeps/sparc/ldsodefs.h: Likewise.
4890 * sysdeps/x86_64/ldsodefs.h: Likewise.
4891
354691b7
MP
48922012-07-25 Marek Polacek <polacek@redhat.com>
4893
4894 [BZ #6808]
4895 * math/libm-test.inc (yn_test): Add another test.
4896 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
4897 to ERANGE when the result is +-Inf.
4898 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
4899 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
4900 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
4901 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
4902
bf9e2071
JM
49032012-07-24 Joseph Myers <joseph@codesourcery.com>
4904
4905 * conform/data/time.h-data (NULL): Use macro-constant. Require
4906 equal to 0.
4907 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
4908 clock_t.
4909 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
4910
57633811
TS
49112012-07-23 Thomas Schwinge <thomas@codesourcery.com>
4912
4913 * configure.in <sysdeps resolving>: Correct printing
4914 Implies_before.
4915 * configure: Regenerate.
4916
c23c33b0
TS
49172012-07-22 Thomas Schwinge <thomas@codesourcery.com>
4918
4919 * math/w_ilogb.c: Include <limits.h>.
4920 * math/w_ilogbl.c: Likewise.
4921
b5982523
JM
49222012-07-20 Joseph Myers <joseph@codesourcery.com>
4923
4924 * manual/lang.texi (__va_copy): Document primarily as ISO C99
4925 va_copy. Document allowing for unavailable va_copy only as
4926 pre-C99 compatibility.
4927 * manual/string.texi (Copying and Concatenation): Use va_copy
4928 instead of __va_copy in concat example.
4929
ac4ea442
PT
49302012-07-20 Pino Toscano <toscano.pino@tiscali.it>
4931
4932 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
4933 (__sendto): Use create_address_port. Initialize APORT and deallocate
4934 it if not null.
4935
f98eafbd
PT
4936 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
4937 with O_NOLINK passed to __file_name_lookup.
4938
898c7aab
PT
4939 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
4940 with O_NOLINK passed to __file_name_lookup.
4941
0ced335a
PT
4942 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
4943 negative N or less than NGIDS.
4944
b3404dbd
PT
4945 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
4946 type to string_t. Set ERANGE as errno and return it if NAME is not big
4947 enough. Use memcpy instead of strncpy.
4948
0f48659e
JM
49492012-07-20 Joseph Myers <joseph@codesourcery.com>
4950
4951 * elf/Makefile (check-data): Remove.
4952 (localplt.data): New vpath directive.
4953 ($(objpfx)check-localplt.out): Use localplt.data from vpath
4954 instead of $(check-data).
4955 * scripts/data/localplt-generic.data: Move to ...
4956 * sysdeps/generic/localplt.data: ... here.
4957 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
4958 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
4959 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
4960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
4961 ... here.
4962 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
4963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
4964 ... here.
4965 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
4966 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
4967 ... here.
4968 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
4969 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
4970 ... here.
4971 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
4972 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
4973 ... here.
4974 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
4975 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
4976 ... here.
4977
d37cbdaa
AZ
49782012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4979
4980 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
4981 PPC32 and PPC64 files.
4982 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
4983 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
4984
46f85fc2
AK
49852012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4986
4987 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
4988 __makecontext_ret to ...
4989 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
4990 ... here and call exit if uc_link is NULL. New file.
4991 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
4992 __makecontext_ret.S.
4993 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
4994 __makecontext_ret to ...
4995 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
4996 ... here and call exit if uc_link is NULL. New file.
4997 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
4998 __makecontext_ret.S.
4999
08f43f9b
AK
50002012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5001
5002 * elf/elf.h (R_390_IRELATIVE): New definition.
5003 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
5004 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
5005 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
5006 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5007 (elf_machine_lazy_rel): Likewise.
5008 * sysdeps/s390/dl-irel.h: New file.
5009 * sysdeps/s390/s390-64/memcpy.S: New asm code.
5010 * sysdeps/s390/s390-64/memset.S: New asm code.
5011 * sysdeps/s390/s390-64/memcmp.S: New asm code.
5012 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
5013 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
5014 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
5015 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
5016 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
5017 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
5018 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
5019 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
5020 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
5021 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
5022 * sysdeps/s390/s390-32/memcpy.S: New asm code.
5023 * sysdeps/s390/s390-32/memset.S: New asm code.
5024 * sysdeps/s390/s390-32/memcmp.S: New asm code.
5025
3b05db33
MP
50262012-07-17 Marek Polacek <polacek@redhat.com>
5027
5028 [BZ #14349]
5029 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
5030 * sysdeps/s390/s390-64/configure.in: Likewise.
5031 * sysdeps/sparc/configure.in: Likewise.
5032 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
5033 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
5034 * sysdeps/i386/configure.in: Likewise.
5035 * sysdeps/x86_64/configure.in: Likewise.
5036 * sysdeps/sh/configure.in: Likewise.
5037 * sysdeps/s390/s390-32/configure: Regenerated.
5038 * sysdeps/s390/s390-64/configure: Likewise.
5039 * sysdeps/x86_64/configure: Likewise.
5040 * sysdeps/sh/configure: Likewise.
5041 * sysdeps/powerpc/powerpc64/configure: Likewise.
5042 * sysdeps/powerpc/powerpc32/configure: Likewise.
5043 * sysdeps/sparc/configure: Likwise.
5044 * sysdeps/i386/configure: Likewise.
5045
a66877c6
MP
5046 * elf/dl-open.c: Comment fixes.
5047
cfc82fd8
JM
50482012-07-17 Joseph Myers <joseph@codesourcery.com>
5049
bd29910a
JM
5050 * Makefile [CXX] (check-data): Remove.
5051 [CXX] (c++-types.data): New vpath directive.
5052 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
5053 vpath. Do not allow for C++ type data being missing.
5054 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
5055 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
5056 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
5057 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
5058 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
5059 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
5060 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
5061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5062 ... here.
5063 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
5064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5065 ... here.
5066 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
5067 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
5068 ... here.
5069 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
5070 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
5071 ... here.
5072 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
5073 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
5074 ... here.
5075 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
5076 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
5077 ... here.
5078 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
5079 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
5080 ... here.
5081 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
5082 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
5083
cfc82fd8
JM
5084 * elf/tls-macros.h (TLS_LE): Move architecture-specific
5085 definitions to architecture-specific files.
5086 (TLS_IE): Likewise.
5087 (TLS_LD): Likewise.
5088 (TLS_GD): Likewise.
5089 * sysdeps/i386/tls-macros.h: New file.
5090 * sysdeps/powerpc/tls-macros.h: Likewise.
5091 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
5092 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
5093 * sysdeps/sh/tls-macros.h: Likewise.
5094 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
5095 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
5096 * sysdeps/x86_64/tls-macros.h: Likewise.
5097
f7db3170
TS
50982012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5099
07cbfc23
TS
5100 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
5101 zero value for regular exit case.
5102
f7db3170
TS
5103 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
5104 (__start_context): Preserve zero value for regular exit case.
5105
dc97c227
TS
51062012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5107 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5108
5109 * manual/setjmp.texi (setcontext): Clarify normal process
5110 termination when uc_link is the null pointer.
5111 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
5112 exit call.
5113
d0cd7d02
AS
51142012-07-16 Andreas Schwab <schwab@linux-m68k.org>
5115
5116 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
5117 preprocessor. Test for each exception mask separately.
5118
dd318934
AJ
51192012-07-16 Andreas Jaeger <aj@suse.de>
5120
5121 * po/ru.po: Update from translation team.
5122
8048311a
JM
51232012-07-15 Joseph Myers <joseph@codesourcery.com>
5124
5125 * conform/data/string.h-data (NULL): Use macro-constant. Require
5126 equal to 0.
5127 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5128 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5129 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
5130 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
5131 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5132
b637d46e
AJ
51332012-07-13 Andreas Jaeger <aj@suse.de>
5134
5135 * po/fr.po: Update from translation team.
5136
541428fe
MP
51372012-07-12 Marek Polacek <polacek@redhat.com>
5138
5139 [BZ #14173]
5140 * math/libm-test.inc (yn_test): Add test for BZ #14173.
5141 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
5142 loop condition.
5143
ec332e94
JM
51442012-07-12 Joseph Myers <joseph@codesourcery.com>
5145
5146 [BZ #13717]
5147 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5148 Change to 2.4.1 where previously 2.4.0.
5149 * sysdeps/unix/sysv/linux/configure: Regenerated.
5150 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
5151 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
5152 version.
5153 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
5154 (__ASSUME_AT_CLKTCK): Remove.
5155 (__ASSUME_AT_PAGESIZE): Likewise.
5156 (__ASSUME_AT_XID): Likewise.
5157 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
5158 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
5159 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
5160 unconditionally.
5161 (HAVE_AUX_PAGESIZE): Likewise.
5162 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
5163 [__ASSUME_AT_CLKTCK]: Make code unconditional.
5164 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
5165
7b6e99be
JB
51662012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
5167
5168 [BZ #14307]
5169 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
5170 the temporary buffer used to invoke __gethostbyname2_r,
5171 __gethostbyaddr_r and gethostbyname4_r to make room for struct
5172 host_data / struct gaih_addrtuple.
5173 * resolv/nss_dns/dns-host.c (global scope): Move definition of
5174 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
5175 header file nss/nsswitch.h.
5176 * nss/nsswitch.h (global scope): Add definition of implementation
5177 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
5178 resolv/nss_dns/dns-host.c).
5179
608404eb
AJ
51802012-07-11 Andreas Jaeger <aj@suse.de>
5181
5182 * po/fr.po: Update from translation team.
5183
71220aca
AJ
5184 * po/sv.po: Update from translation team
5185 * po/fr.po: Another update from translation team.
5186
28cfe843
AZ
51872012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5188
5189 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
5190 for subnormals or multiply small sinh result by itself.
5191 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5192 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5193
6b90f981
DM
51942012-07-11 David S. Miller <davem@davemloft.net>
5195
5196 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5197
c6825772
AS
51982012-07-10 Andreas Schwab <schwab@linux-m68k.org>
5199
5200 [BZ #14347]
5201 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
5202 (INTERNAL_MARK): Shift it here.
5203
7b8e0d49
MP
52042012-07-10 Marek Polacek <polacek@redhat.com>
5205
5206 [BZ #14151]
5207 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
5208 libc_cv_asm_global_directive with .globl.
5209 * configure: Regenerated.
5210 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
5211 with .globl.
5212 * sysdeps/i386/configure: Regenerated.
5213 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
5214 with .globl.
5215 * sysdeps/x86_64/configure: Regenerated.
5216 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
5217 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
5218 * elf/tst-unique2mod2.c: Likewise.
5219 * elf/tst-unique2mod1.c: Likewise.
5220 * elf/tst-unique1mod2.c: Likewise.
5221 * elf/tst-unique1mod1.c: Likewise.
5222 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5223 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5224 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5225 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5226 * sysdeps/mach/sysdep.h: Likewise.
5227 * sysdeps/i386/sysdep.h: Likewise.
5228 * sysdeps/i386/i386-mcount.S: Likewise.
5229 * sysdeps/x86_64/_mcount.S: Likewise.
5230 * sysdeps/x86_64/sysdep.h: Likewise.
5231 * sysdeps/sh/_mcount.S: Likewise.
5232 * sysdeps/sh/sysdep.h: Likewise.
5233 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
5234 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
5235 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
5236 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5237 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
5238 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
5239 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
5240 * locale/localeinfo.h: Likewise.
5241 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
5242 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
5243
6c55cda3
RM
52442012-07-09 Roland McGrath <roland@hack.frob.com>
5245
5246 [BZ #14336]
5247 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
5248 system".
5249 * manual/message.texi (The Uniforum approach): Likewise.
5250 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
5251 (glibc iconv Implementation): Likewise.
5252
638a572e
JM
52532012-07-09 Joseph Myers <joseph@codesourcery.com>
5254
5255 [BZ #14337]
5256 * math/s_clog.c (__clog): Avoid scaling a value down where that
5257 could result in underflow.
5258 * math/s_clog10.c (__clog10): Likewise.
5259 * math/s_clog10f.c (__clog10f): Likewise.
5260 * math/s_clog10l.c (__clog10l): Likewise.
5261 * math/s_clogf.c (__clogf): Likewise.
5262 * math/s_clogl.c (__clogl): Likewise.
5263 * math/libm-test.inc (clog_test): Add more tests.
5264 (clog10_test): Likewise.
5265 * sysdeps/i386/fpu/libm-test-ulps: Update.
5266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5267
261f4859
AS
52682012-07-06 Andreas Schwab <schwab@linux-m68k.org>
5269
0abaf3e4
AS
5270 [BZ #14283]
5271 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
5272 by 7 not 8 to examine high bit of fractional part.
5273
261f4859
AS
5274 [BZ #14042]
5275 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
5276 for call to __mcount_internal.
5277 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
5278 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
5279 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
5280
f17ac40d
JM
52812012-07-06 Joseph Myers <joseph@codesourcery.com>
5282
9ad63c23
JM
5283 [BZ #14154]
5284 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
5285 approximation for values within 0x1p-13f of an odd multiple of
5286 pi/4.
5287 * math/libm-test.inc (tan_test): Do not allow spurious underflow
5288 exception. Add more tests.
5289 * sysdeps/i386/fpu/libm-test-ulps: Update.
5290
f17ac40d
JM
5291 [BZ #6778]
5292 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
5293 inputs and return -1 for them. Do not check for +Inf in case not
5294 reachable for +Inf.
5295 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5296 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
5297 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
5298 and return -1 for them. Do not check for +Inf in case not
5299 reachable for +Inf.
5300 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
5301 define.
5302 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
5303 and return -1 for them. Do not check for +Inf in case not
5304 reachable for +Inf.
5305 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
5306 spurious underflow.
5307 * sysdeps/i386/fpu/libm-test-ulps: Update.
5308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5309
fb21f89b
MF
53102012-07-06 Mike Frysinger <vapier@gentoo.org>
5311
5312 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
5313
cdfe2c5e
JM
53142012-07-05 Joseph Myers <joseph@codesourcery.com>
5315
5316 [BZ #14157]
5317 [BZ #14331]
5318 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
5319 could result in spurious underflow. Scale down values above
5320 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
5321 * math/s_csqrtf.c (__csqrtf): Likewise.
5322 * math/s_csqrtl.c (__csqrtl): Likewise.
5323 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
5324 spurious underflow.
5325 * sysdeps/i386/fpu/libm-test-ulps: Update.
5326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5327
70d35b67
AS
53282012-07-04 Andreas Schwab <schwab@linux-m68k.org>
5329
704bc459
AS
5330 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
5331 xopen-msg.sed.
5332 * catgets/xopen-msg.awk: New file.
5333 * catgets/xopen-msg.sed: Removed.
5334
70d35b67
AS
5335 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
5336 po2text.sed.
5337 * intl/po2test.awk: New file.
5338 * intl/po2test.sed: Removed.
5339
ca61cf32
JM
53402012-07-04 Joseph Myers <joseph@codesourcery.com>
5341
5342 [BZ #14328]
5343 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
5344 or multiply small sinh result by itself.
5345 * math/s_ctanf.c (__ctanf): Likewise.
5346 * math/s_ctanh.c (__ctanh): Likewise.
5347 * math/s_ctanhf.c (__ctanhf): Likewise.
5348 * math/s_ctanhl.c (__ctanhl): Likewise.
5349 * math/s_ctanl.c (__ctanl): Likewise.
5350 * math/libm-test.inc (ctan_test_tonearest): New function.
5351 (ctan_test_towardzero): Likewise.
5352 (ctan_test_downward): Likewise.
5353 (ctan_test_upward): Likewise.
5354 (ctanh_test_tonearest): Likewise.
5355 (ctanh_test_towardzero): Likewise.
5356 (ctanh_test_downward): Likewise.
5357 (ctanh_test_upward): Likewise.
5358 (main): Call these new functions.
5359 * sysdeps/i386/fpu/libm-test-ulps: Update.
5360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5361
ca48a46a
MF
53622012-07-03 Mike Frysinger <vapier@gentoo.org>
5363
5364 * .gitignore: Delete /ports entry.
5365
9d63d37d
AJ
53662012-07-03 Andreas Jaeger <aj@suse.de>
5367
5368 * po/bg.po: Update from translation team.
5369 * po/cs.po: Likewise.
5370 * po/de.po: Likewise.
5371 * po/hr.po: Likewise.
5372 * po/nl.pl: Likewise.
5373 * po/pl.po: Likewise.
5374 * po/vi.po: Likewise.
5375
370ca3d2
JM
53762012-07-03 Joseph Myers <joseph@codesourcery.com>
5377
95f5a9a8
JM
5378 * Makeconfig [!+link] (+link-before-libc): New variable.
5379 [!+link] (+link-after-libc): Likewise.
5380 [!+link] (+link-tests): Likewise.
5381 [!+link] (+link): Define in terms of $(+link-before-libc) and
5382 $(+link-after-libc).
5383 [!+link-static] (+link-static-before-libc): New variable.
5384 [!+link-static] (+link-static-after-libc): Likewise.
5385 [!+link-static] (+link-static-tests): Likewise.
5386 [!+link-static] (+link-static): Define in terms of
5387 $(+link-static-before-libc) and $(+link-static-after-libc).
5388 [build-shared] (link-libc-before-gnulib): New variable.
5389 [build-shared] (link-libc-tests): Likewise.
5390 [build-shared] (link-libc): Define in terms of
5391 $(link-libc-before-gnulib).
5392 [!build-shared] (link-libc-tests): New variable.
5393 (link-libc-static-tests): New variable.
5394 [!gnulib] (gnulib-arch): New variable.
5395 [!gnulib] (gnulib-tests): Likewise.
5396 [!gnulib] (static-gnulib-arch): Likewise.
5397 [!gnulib] (static-gnulib-tests): Likewise.
5398 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
5399 Define with "=" instead of ":=".
5400 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
5401 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
5402 * Rules (binaries-all-notests): New variable.
5403 (binaries-all-tests): Likewise.
5404 (binaries-static-notests): Likewise.
5405 (binaries-static-tests): Likewise.
5406 (binaries-all): Define using $(binaries-all-notests) and
5407 $(binaries-all-tests).
5408 (binaries-static): Define using $(binaries-static-notests) and
5409 $(binaries-static-tests).
5410 (binaries-shared-tests): New variable.
5411 (binaries-shared-notests): Likewise.
5412 (binaries-shared): Remove variable.
5413 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
5414 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
5415 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
5416 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
5417 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
5418 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
5419 * elf/Makefile (sln-modules): New variable.
5420 (extra-objs): Add $(sln-modules:=.o).
5421 (ldconfig-modules): Add static-stubs.
5422 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
5423 * elf/static-stubs.c: New file.
5424
7a845b2c
JM
5425 [BZ #14283]
5426 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
5427 by 7 not 8 to examine high bit of fractional part. Use volatile
5428 variables when splitting into final array of floats if
5429 __FLT_EVAL_METHOD__ != 0.
5430 * math/libm-test.inc (cos_test): Add another test.
5431 (sin_test): Likewise.
5432 * sysdeps/i386/fpu/libm-test-ulps: Update.
5433
e2283f38
JM
5434 [BZ #14273]
5435 * math/libm-test.inc (cosh_test): Add more tests.
5436
370ca3d2
JM
5437 * version.h (RELEASE): Set to "development".
5438 (VERSION): Set to "2.16.90".
5439
ee9247c3
CD
54402012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
5441
5442 * NEWS: Update copyright. Remove last-updated date.
5443 Mention math library bug fixes and timezone data changes.
5444 * README: Mention GNU/Hurd, x32, and HPPA support status.
5445
4648c381
TS
54462012-06-28 Thomas Schwinge <thomas@codesourcery.com>
5447
5448 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
5449
aac78a43
AJ
54502012-06-27 Andreas Jaeger <aj@suse.de>
5451
5452 * manual/contrib.texi (Contributors): Add Samuel Thibault.
5453
ed3dbfad
AJ
54542012-06-25 Andreas Jaeger <aj@suse.de>
5455
5456 * sysdeps/s390/fpu/libm-test-ulps: Update.
5457
4d0ee855
AS
54582012-06-23 Andreas Schwab <schwab@linux-m68k.org>
5459 Thomas Schwinge <thomas@codesourcery.com>
5460
5461 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
5462 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
5463 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
5464 fanotify_mark.
5465
af1bce34
TS
54662012-06-23 Thomas Schwinge <thomas@codesourcery.com>
5467
a9fa33ba
TS
5468 * sysdeps/mach/start.c: Remove file.
5469 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
5470 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
5471 * sysdeps/sh/init-first.c: Likewise.
5472
58f902b8
TS
5473 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
5474 registers for frame unwinding purposes, add CFI directives.
5475 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
5476 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
5477 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
5478 Likewise.
5479
1518f58b
TS
5480 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
5481 __fortify_fail returning.
5482 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
5483
db9b5059
TS
5484 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
5485 sysdeps/sh/____longjmp_chk.S.
5486 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
5487 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
5488 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
5489 (gen-as-const-headers): Append sigaltstack-offsets.sym.
5490
967705fe
TS
5491 * sysdeps/sh/abort-instr.h: New file.
5492 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
5493 process in case exit returns.
5494
a9def8c4
TS
5495 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
5496 initialize the GOT register before use.
5497
2a649725
TS
5498 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
5499 calculation of ARGC > 4.
5500
af1bce34
TS
5501 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
5502 meaningful names to some local labels.
5503
d230f50a
KK
55042012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5505 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5506
5507 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
5508 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
5509 (__arch_compare_and_exchange_val_16_acq): Likewise.
5510 (__arch_compare_and_exchange_val_32_acq): Likewise.
5511 (atomic_exchange_and_add): Fix gUSA sequence.
5512 (atomic_add): Likewise.
5513 (atomic_add_negative): Likewise.
5514 (atomic_add_zero): Likewise.
5515 (atomic_bit_test_set): Likewise.
5516
0479b305
AS
55172012-06-22 Andreas Schwab <schwab@redhat.com>
5518
5519 [BZ #13579]
5520 * include/link.h (struct link_map): Add l_free_initfini.
5521 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
5522 l_initfini.
5523 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
5524 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
5525 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
5526 set.
5527
0e3933b9
CD
55282012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
5529
5530 * configure.in: Use AC_LANG_SOURCE.
5531 * configure: Regenerate.
5532
4248b1b1
RM
55332012-06-22 Roland McGrath <roland@hack.frob.com>
5534
5535 * configure.in (libc_cv_localstatedir): New substituted variable.
5536 * configure: Regenerated.
5537 * config.make.in (localstatedir): New variable, substituted from
5538 libc_cv_localstatedir.
5539 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
5540 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
5541 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
5542 * sysdeps/gnu/configure: Regenerated.
5543
006dd861
JL
55442012-06-21 Jeff Law <law@redhat.com>
5545
5546 [BZ #14277]
5547 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
5548 free. Simplify list management for _LIBC case.
5549
79662d42
JM
55502012-06-21 Joseph Myers <joseph@codesourcery.com>
5551
b7abb4bf
JM
5552 [BZ #14273]
5553 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
5554 Clear sign bit of 64-bit integer value before comparing against
5555 overflow value.
5556
79662d42
JM
5557 * sysdeps/mach/configure: Regenerated.
5558
1f150908
L
55592012-06-21 H.J. Lu <hongjiu.lu@intel.com>
5560
5561 [BZ #14278]
5562 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
5563
28363bbf
JL
55642012-06-21 Jeff Law <law@redhat.com>
5565
5566 [BZ #13882]
5567 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
5568 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 5569 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
5570 * elf/dl-open.c (dl_open_worker): Likewise.
5571
09615db4
CD
55722012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
5573
5574 * scripts/list-sources.sh: Scan PORTS for translations.
5575 * po/libc.pot: Regenerated.
5576
2174c6dd
AJ
55772012-06-21 Andreas Jaeger <aj@suse.de>
5578
5579 [BZ #12194]
5580 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
5581 warning.
5582 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
5583 * bits/byteswap-16.h (__bswap_16): Likewise.
5584 * bits/byteswap.h (__bswap_constant_16): Likewise.
5585
3ee947b1
L
55862012-06-18 H.J. Lu <hongjiu.lu@intel.com>
5587
5588 [BZ #14117]
a2f34833
L
5589 * sysdeps/i386/fpu_control.h: Removed.
5590 * sysdeps/x86_64/fpu_control.h: Moved to ...
5591 * sysdeps/x86/fpu_control.h: Here.
5592
3ee947b1
L
5593 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
5594 (_FPU_SETCW): Likewise.
5595
ed1825f8
L
55962012-06-15 H.J. Lu <hongjiu.lu@intel.com>
5597
25f1282a
L
5598 [BZ #14117]
5599 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
5600 * sysdeps/x86/fpu/bits/mathinline.h: This.
5601 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
5602
ed1825f8
L
5603 [BZ #14050]
5604 [BZ #14117]
5605 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
5606 functions if __x86_64__ is defined.
5607
36d54b74
CLT
56082012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
5609
5610 * string/endian.h: Add !__ASSEMBLER__ condition for including
5611 conversion interfaces.
5612
10285c21
JM
56132012-06-15 Joseph Myers <joseph@codesourcery.com>
5614
5615 [BZ #14241]
5616 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
5617 of ABS(x) in calculating zero to negative powers other than odd
5618 integers.
5619 * math/libm-test.inc (pow_test): Add more tests.
5620
06c5abbd
AJ
56212012-06-15 Andreas Jaeger <aj@suse.de>
5622
5623 * manual/contrib.texi (Contributors): Update entry of Liubov
5624 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
5625 Machado Filho.
5626
a3aeac40
CH
56272012-06-15 Cyril Hrubis <metan@ucw.cz>
5628
5629 * string/string.h: Add __wur to GNU version of strerror_r.
5630
49bdf4c1
L
56312012-06-14 H.J. Lu <hongjiu.lu@intel.com>
5632
5633 [BZ #14229]
5634 * string/Makefile (tests): Add tst-strtok_r.
5635 * string/tst-strtok_r.c: New file.
5636 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
5637 RAX_LP/RDX_LP on SAVE_PTR.
5638
834f9b8d
RM
56392012-06-14 Roland McGrath <roland@hack.frob.com>
5640
5641 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
5642
75fa1921
JM
56432012-06-14 Joseph Myers <joseph@codesourcery.com>
5644
5645 * libm_test.inc (csqrt_test): Allow more spurious underflow
5646 exceptions.
5647 (j0_test): Likewise.
5648 (j1_test): Likewise.
5649 (y0_test): Likewise.
5650 (y1_test): Likewise.
5651
771766df
CD
56522012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
5653
5654 * po/Makefile (libc.pot): Use UTF-8 charset.
5655
ceb9e56b
PP
56562012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
5657
5658 [BZ #14210]
5659 Suppress sign-conversion warning from FD_SET.
5660 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
5661 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
5662 not unsigned long int.
5663 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
5664
ddb28975
L
56652012-06-12 H.J. Lu <hongjiu.lu@intel.com>
5666
5667 [BZ #14050]
5668 [BZ #14117]
5669 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
5670 __extern_always_inline instead of __extern_inline.
5671 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
5672 (__signbit): Likewise.
5673 (__signbitl): Support C++ namespace.
5674 (lrintf): New inline function.
5675 (lrint): Likewise.
5676 (llrintf): Likewise.
5677 (llrint): Likewise.
5678 (fmaxf): Likewise.
5679 (fmax): Likewise.
5680 (fminf): Likewise.
5681 (fmin): Likewise.
5682 (rint): Likewise.
5683 (rintf): Likewise.
5684 (ceil): Likewise.
5685 (ceilf): Likewise.
5686 (floor): Likewise.
5687 (floorf): Likewise.
5688 (nearbyint): Likewise.
5689 (nearbyintf): Likewise.
5690
d7b4fb26
TS
56912012-06-12 Thomas Schwinge <thomas@codesourcery.com>
5692
5693 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
5694 non-default versions.
5695
eb55f5c2
RM
56962012-06-11 Roland McGrath <roland@hack.frob.com>
5697
5698 [BZ #14218]
5699 * manual/argp.texi (Argp): Reword argp_parse description slightly.
5700
366af02c
TS
57012012-06-09 Thomas Schwinge <thomas@codesourcery.com>
5702
99ff6e5c
TS
5703 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
5704 (FE_UPWARD, FE_DOWNWARD): Don't define.
5705 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
5706 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
5707
366af02c
TS
5708 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
5709 reading it.
5710 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
5711 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
5712
793ea851
KK
57132012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5714
5715 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
5716 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
5717 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
5718 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
5719
a728a38f
L
57202012-06-06 H.J. Lu <hongjiu.lu@intel.com>
5721
5722 [BZ #14117]
c08010c7
L
5723 * sysdeps/i386/fpu/bits/fenv.h: Removed.
5724 * sysdeps/i386/fpu/Implies: New file.
5725 * sysdeps/x86_64/fpu/Implies: Likewise.
5726 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
5727 * sysdeps/x86/fpu/bits/fenv.h: This.
5728
a728a38f
L
5729 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
5730 __SSE_MATH__.
5731
6e230d11
SP
57322012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5733
5734 [BZ #14134]
5735 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
5736 character 0xffff that matches the last element of the
5737 conversion table.
5738
1b671feb
AZ
57392012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5740
5741 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
5742 fmodl commit.
5743
6043738b
AZ
57442012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5745
5746 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
5747 values higher than 25.6283.
5748
34ae0b32
AZ
57492012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5750
5751 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
5752 subnormal exponent extraction and add some __builtin_expect.
5753 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
5754 Fix for subnormal mantissa calculation.
5755
1214ec8f
MF
57562012-06-04 Mike Frysinger <vapier@gentoo.org>
5757
5758 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
5759 cpu2 is -1 and errno is not ENOSYS.
5760
f3d1f93c
L
57612012-06-04 H.J. Lu <hongjiu.lu@intel.com>
5762
5763 [BZ #14117]
0e4a3cd7
L
5764 * sysdeps/i386/i486/bits/string.h: Renamed to ...
5765 * sysdeps/x86/bits/string.h: This.
5766 * sysdeps/x86_64/bits/string.h: Removed.
5767
6704c645
L
5768 * sysdeps/i386/i486/bits/string.h: Define inline functions only
5769 if not compiling for x86-64, but compiling for >= i486.
5770
48495318
L
5771 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
5772 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
5773
14adcbfc
L
5774 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
5775 New macro from Linux kernel 3.4.0.
5776 (FP_XSTATE_MAGIC2): Likewise.
5777 (FP_XSTATE_MAGIC2_SIZE): Likewise.
5778 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
5779 (struct _fpx_sw_bytes): New struct.
5780 (struct _xsave_hdr): Likewise.
5781 (struct _ymmh_state): Likewise.
5782 (struct _xstate): Likewise.
5783
68e408ab
L
5784 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
5785 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
5786 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
5787 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
5788 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
5789 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
5790
f3d1f93c
L
5791 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
5792 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
5793 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
5794 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
5795 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
5796 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
5797
d9dc34cd
TMQMF
57982012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5799
5800 [BZ #13743]
5801 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
5802 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
5803 (sysdep_headers): Include sys/platform/ppc.h.
5804 * sysdeps/powerpc/test-gettimebase.c: Test for
5805 __ppc_get_timebase() to catch future ISA opcode/insn changes.
5806 * manual/Makefile (appendices): Include platform.texi.
5807 * manual/contrib.texi (Contributors): Update @node pointers.
5808 * manual/maint.texi (Maintenance): Likewise.
5809 (Platform): New node.
5810 * manual/platform.texi: New file. Document the new features.
5811
4af3879c
SP
58122012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5813 Jakub Jelinek <jakub@redhat.com>
5814
5815 [BZ #14188]
5816 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
5817 where __builtin_expect is unavailable.
5818
2fd6ff13
DM
58192012-06-03 David S. Miller <davem@davemloft.net>
5820
5821 * stdlib/longlong.h: Updated from GCC.
5822
173f7220
AS
58232012-06-02 Andreas Schwab <schwab@linux-m68k.org>
5824
5825 [BZ #14042]
5826 * sysdeps/powerpc/powerpc32/mcount.c: New file.
5827 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
5828 __mcount_internal.
5829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
5830 (GLIBC_2.16): Likewise.
5831
f34a1c6f
L
58322012-06-01 H.J. Lu <hongjiu.lu@intel.com>
5833
5834 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
5835
88a4576f
JM
58362012-06-01 Joseph Myers <joseph@codesourcery.com>
5837
ea32bcdd
JM
5838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
5839 (default-abi): New variable.
5840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
5841 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
5842 variable.
5843 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
5844 Likewise.
5845 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
5846 Likewise.
5847 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
5848 Likewise.
5849
88a4576f
JM
5850 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
5851 definition. Document in comment.
5852
402fe938
DM
58532012-06-01 David S. Miller <davem@davemloft.net>
5854
5855 * stdlib/longlong.h: Updated from GCC.
5856
3553723f
L
58572012-06-01 H.J. Lu <hongjiu.lu@intel.com>
5858
5859 [BZ #14117]
3bd872c4
L
5860 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
5861 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
5862 sys/debugreg.h sys/io.h here.
5863 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
5864 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
5865 sys/io.h.
5866 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
5867 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
5868 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
5869 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
5870 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
5871 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
5872
3553723f
L
5873 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
5874 Define only if __x86_64__ is defined.
5875
4842e4fe
JM
58762012-06-01 Joseph Myers <joseph@codesourcery.com>
5877
c5bfe3d5
JM
5878 [BZ #14048]
5879 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
5880 Use int64_t for variable i.
5881 * math/libm-test.inc (fmod_test): Add more tests.
5882
4842e4fe
JM
5883 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
5884 z computation is not scheduled after fetestexcept.
5885 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
5886 Use math_force_eval instead of asm to ensure calculation scheduled
5887 before exception test.
5888 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
5889 Ensure a1 + u.d computation is not scheduled after fetestexcept.
5890
efb73488
AJ
58912012-06-01 Aurelien Jarno <aurelien@aurel32.net>
5892
5893 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
5894 computation is not scheduled after fetestexcept.
5895
29bcce7c
L
58962012-06-01 H.J. Lu <hongjiu.lu@intel.com>
5897
5898 [BZ #14117]
5899 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
5900 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
5901
73a68f94
AZ
59022012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5903
5904 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
5905 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
5906
67b6df78
L
59072012-05-31 H.J. Lu <hongjiu.lu@intel.com>
5908
edf2933a 5909 [BZ #14117]
ebc64a18
L
5910 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
5911 <bits/wordsize.h>.
5912 (__WCHAR_MIN): Support __WORDSIZE == 64.
5913 (__WCHAR_MAX): Likewise.
5914
edf2933a
L
5915 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
5916 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
5917
57c6cf40
L
5918 [BZ #14183]
5919 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
5920 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
5921
67b6df78 5922 [BZ #14117]
8eb6281e
L
5923 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
5924 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
5925
aac639f4
L
5926 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
5927 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
5928
67b6df78
L
5929 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
5930 Defined to 1 if __x86_64__ isn't defined.
5931 (_STAT_VER_LINUX_OLD): New.
5932 (st_atime): Remove duplicate.
5933 (st_mtime): Likewise.
5934 (st_ctime): Likewise.
5935
1c2cfe81
DM
59362012-05-31 David S. Miller <davem@davemloft.net>
5937
5938 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
5939 entries.
5940
5be8418c
AS
59412012-06-01 Andreas Schwab <schwab@linux-m68k.org>
5942
e7725326
AS
5943 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
5944 gen-libm-test.pl.
5945
5be8418c
AS
5946 [BZ #14132]
5947 * elf/dl-reloc.c: Include <_itoa.h>.
5948 (_dl_reloc_bad_type): Remove use of INTUSE.
5949 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
5950 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
5951 * stdio-common/psiginfo.c (psiginfo): Likewise.
5952 * stdio-common/psignal.c (psignal): Likewise.
5953 * string/strsignal.c (strsignal): Likewise.
5954 * include/signal.h (_sys_siglist): Declare hidden proto.
5955 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
5956 INTVARDEF with libc_hidden_data_def.
5957 * stdio-common/itoa-udigits.c: Likewise.
5958 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
5959 (_itoa_lower_digits_internal): Remove declaration.
5960 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
5961 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
5962 (_sys_sigabbrev_internal): Remove aliases.
5963 (_sys_siglist): Define hidden alias.
5964
507352f1
MT
59652012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
5966
5967 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5968 bits/sysctl.h.
5969
42bbb1c3
L
59702012-05-31 H.J. Lu <hongjiu.lu@intel.com>
5971
5972 [BZ #14117]
6bd784b6
L
5973 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
5974 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
5975
8bca20f0
L
5976 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
5977 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
5978 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
5979 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
5980 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
5981 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
5982
f9e890a9
L
5983 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
5984 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
5985 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
5986
471101a1
L
5987 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
5988 with __addr.
5989 (insw): Likewise.
5990 (insl): Likewise.
5991 (outsb): Likewise.
5992 (outsw): Likewise.
5993 (outsl): Likewise.
5994
6451c862
L
5995 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
5996 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
5997 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
5998
a254b8c9
L
5999 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
6000 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
6001 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
6002 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
6003 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
6004 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
6005
b8dfdd92
L
6006 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
6007 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
6008
578cd270
L
6009 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
6010 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
6011
de662f5f
L
6012 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
6013 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
6014 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
6015
25653439
L
6016 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
6017 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
6018 to ...
6019 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
6020
6bad24a0
L
6021 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
6022 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
6023 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
6024
42bbb1c3
L
6025 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
6026 for x86-64.
6027 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
6028
2d10d547
JM
60292012-05-31 Joseph Myers <joseph@codesourcery.com>
6030
6031 * math/math.h (M_El): Use two more decimal places.
6032 (M_LOG2El): Likewise.
6033 (M_LOG10El): Likewise.
6034 (M_LN2l): Likewise.
6035 (M_LN10l): Likewise.
6036 (M_PIl): Likewise.
6037 (M_PI_2l): Likewise.
6038 (M_PI_4l): Likewise.
6039 (M_1_PIl): Likewise.
6040 (M_2_PIl): Likewise.
6041 (M_2_SQRTPIl): Likewise.
6042 (M_SQRT2l): Likewise.
6043 (M_SQRT1_2l): Likewise.
6044
f230c29b
DM
60452012-05-31 David S. Miller <davem@davemloft.net>
6046
6047 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
6048 values between float registers.
6049 * sysdeps/sparc/sparc64/memset.S: Likewise.
6050 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6051
fed806c3
MF
60522012-05-31 Mike Frysinger <vapier@gentoo.org>
6053
6054 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
6055 -D_FORTIFY_SOURCE=1.
6056 (CPPFLAGS-tst-longjmp_chk.c): Define.
6057 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
6058 (CPPFLAGS-tst-longjmp_chk2.c): Define.
6059 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
6060 CFLAGS-tst-wchar-h.c.
6061
30917259
MP
60622012-05-31 Marek Polacek <polacek@redhat.com>
6063
6064 [BZ #14132]
6065 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
6066 __endmntent_internal): Remove declaration.
6067 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
6068 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
6069 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
6070
1c58d5dc
DM
60712012-05-30 David S. Miller <davem@davemloft.net>
6072
6073 * sysdeps/sparc/sparc32/soft-fp/q_util.c
6074 (___Q_simulate_exceptions): Use real FP ops rather than writing
6075 into the %fsr.
6076 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
6077 Likewise.
6078
7dc00e0d
L
60792012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6080
6081 [BZ #14117]
0bd53985
L
6082 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
6083 * sysdeps/x86/bits/xtitypes.h: This.
6084
3a257e66
L
6085 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
6086 * sysdeps/x86/bits/wordsize.h: This.
6087
62f62904
L
6088 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
6089 * sysdeps/x86/bits/huge_vall.h: This.
6090
404fe9d9
L
6091 * sysdeps/i386/bits/select.h: Removed.
6092 * sysdeps/x86_64/bits/select.h: Renamed to ...
6093 * sysdeps/x86/bits/select.h: This.
6094
d48d0446
L
6095 * sysdeps/i386/bits/setjmp.h: Removed.
6096 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
6097 * sysdeps/x86/bits/setjmp.h: This.
6098
7dc00e0d
L
6099 * sysdeps/i386/bits/mathdef.h: Removed.
6100 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
6101 * sysdeps/x86/bits/mathdef.h: This.
6102
03277f8f
AS
61032012-05-30 Andreas Schwab <schwab@linux-m68k.org>
6104
6105 [BZ #14132]
6106 * include/sys/socket.h (__connect_internal)
6107 (__libc_sa_len_internal): Remove declaration.
6108 (__connect, __libc_sa_len): Declare hidden_proto.
6109 (SA_LEN): Remove use of INTUSE.
6110 * socket/connect.c: Add libc_hidden_def.
6111 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
6112 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
6113 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
6114 alias.
6115 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6116 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6117 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
6118 of adding _internal alias.
6119
13764867
L
61202012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6121
6122 [BZ #14117]
6bd97696
L
6123 * sysdeps/i386/bits/link.h: Removed.
6124 * sysdeps/i386/bits/linkmap.h: Likewise.
6125 * sysdeps/x86_64/bits/link.h: Renamed to ...
6126 * sysdeps/x86/bits/link.h: This.
6127 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
6128 * sysdeps/x86/bits/linkmap.h: This.
6129
f726f0bb
L
6130 * sysdeps/i386/bits/endian.h: Removed.
6131 * sysdeps/x86_64/bits/endian.h: Renamed to ...
6132 * sysdeps/x86/bits/endian.h: This.
6133
13764867
L
6134 * sysdeps/i386/bits/byteswap.h: Removed.
6135 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6136 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
6137 * sysdeps/x86/bits/byteswap.h: This.
6138 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
6139 * sysdeps/x86/bits/byteswap-16.h: This.
6140 * sysdeps/i386/Implies: Add x86.
6141 * sysdeps/x86_64/Implies: Likewise.
6142
ae251b0b
DM
61432012-05-30 David S. Miller <davem@davemloft.net>
6144
6145 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
6146 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
6147 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6148 (FP_TRAPPING_EXCEPTIONS): Define.
6149 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6150 (FP_TRAPPING_EXCEPTIONS): Define.
6151 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
6152 subnormals only when inexact has been signalled or underflow
6153 exceptions are enabled.
6154 (_FP_PACK_CANONICAL): Likewise.
6155
d5c90867
L
61562012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6157
6158 [BZ #14183]
6159 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
6160 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
6161
63f1549e
RH
61622012-05-30 Richard Henderson <rth@twiddle.net>
6163
8d8f2279
RH
6164 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
6165 with #ifndef NOT_IN_libc.
6166
63f1549e
RH
6167 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
6168 marked to avoid plt entry.
6169
0ab0291b
L
61702012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6171
6172 [BZ #14112]
6173 * Makeconfig (default-abi): New macro.
6174 (abi-includes): Likewise.
6175 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
6176 $(abi-$(default-abi)-lib-soname) for soname if defined.
6177 ($(common-objpfx)gnu/lib-names.stmp): Generate from
6178 abi-variants.
6179 * Makefile (installed-stubs): Likewise.
6180 * include/stubs-biarch.h: Removed.
6181 * scripts/lib-names.awk: Only handle one library at a time.
6182 * scripts/soversions.awk: Remove WORDSIZE support.
6183 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
6184 entries.
6185 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
6186 Removed.
6187 (syscall-list-default-condition): Likewise.
6188 (syscall-list-default-condition): Likewise.
6189 (syscall-list-includes): Likewise.
6190 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
6191 syscall-list-* with abi-*. Handle undefined abi-variants.
6192 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
6193 * sysdeps/unix/sysv/linux/i386/Implies: New file.
6194 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
6195 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
6196 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
6197 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
6198 Removed.
6199 (syscall-list-32-options): Likewise.
6200 (syscall-list-32-condition): Likewise.
6201 (syscall-list-64-options): Likewise.
6202 (syscall-list-64-condition): Likewise.
6203 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
6204 macro.
6205 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
6206 Renamed to ...
6207 (abi-*): This.
6208 (abi-64-ld-soname): New macro.
6209 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
6210 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
6211 Renamed to ...
6212 (abi-*): This.
6213 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
6214 * sysdeps/x86_64/x32/shlib-versions: Likewise.
6215
4da0431d
JM
62162012-05-30 Joseph Myers <joseph@codesourcery.com>
6217
3a85279c
JM
6218 * sysdeps/unix/sysv/linux/kernel-features.h
6219 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
6220 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
6221 include <kernel-features.h>.
6222 [!__NR_ftruncate64]: Remove conditional code.
6223 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6224 [__NR_ftruncate64]: Make code unconditional.
6225 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6226 * sysdeps/unix/sysv/linux/truncate64.c: Do not
6227 include <kernel-features.h>.
6228 [!__NR_ftruncate64]: Remove conditional code.
6229 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6230 [__NR_ftruncate64]: Make code unconditional.
6231 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
6233 include <kernel-features.h>.
6234 [!__NR_ftruncate64]: Remove conditional code.
6235 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6236 [__NR_ftruncate64]: Make code unconditional.
6237 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
6239 include <kernel-features.h>.
6240 [!__NR_ftruncate64]: Remove conditional code.
6241 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6242 [__NR_ftruncate64]: Make code unconditional.
6243 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6244
4da0431d
JM
6245 * configure.in (libc_cv_fpie): Weaken to a compile test using
6246 LIBC_TRY_CC_OPTION.
6247 * configure: Regenerated.
6248
11ef492c
AK
62492012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6250
6251 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
6252 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
6253 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
6254 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6255 Refreshed.
6256 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
6257 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
6258 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
6259 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
6260 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
6261 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6262 Refreshed.
6263
d66ef399
DM
62642012-05-27 David S. Miller <davem@davemloft.net>
6265
6266 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
6267 (___Q_zero): New.
6268 (__Q_simulate_exceptions): Return void. Change to simulate
6269 exceptions by writing into the %fsr.
6270 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
6271 (__Qp_handle_exceptions): Likewise.
6272 (numbers): Delete.
6273 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
6274 __Qp_handle_exceptions.
6275 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
6276 __Qp_handle_exceptions.
6277 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
6278 as unused and give dummy FP_RND_NEAREST initializer.
6279 (FP_INHIBIT_RESULTS): Define.
6280 (___Q_simulate_exceptions): Update declaration.
6281 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
6282 formatting.
6283 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
6284 as unused and give dummy FP_RND_NEAREST initializer.
6285 (__Qp_handle_exceptions): Update declaration.
6286 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
6287 formatting.
6288
04fb54b5
TS
62892012-05-27 Thomas Schwinge <thomas@codesourcery.com>
6290
6291 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
6292 the temporary FPU control word.
6293 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6294 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
6295 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
6296 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6297 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6298 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
6299 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
6300 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6301 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6302 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
6303 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6304
3f99608f
KK
63052012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6306
6307 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
6308 fields.
6309
65a4de4e
CLT
63102012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
6311
6312 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
6313 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
6314 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
6315 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
6316 Likewise.
6317 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
6318 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
6319 Likewise.
6320
15749d40
UD
63212012-05-27 Ulrich Drepper <drepper@gmail.com>
6322
6323 * po/h.po: Update from translation team.
6324
25dbcb27
AS
63252012-05-26 Andreas Schwab <schwab@linux-m68k.org>
6326
3d3f8e55
AS
6327 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
6328
25dbcb27
AS
6329 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
6330 handling of denormals.
6331 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6332 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
6333 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6334 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6335 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6336 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
6337 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
6338 Likewise.
6339
7ad47a80 63402012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
6341
6342 [BZ #14152]
6343 * math/libm-test.inc (fma_test): Don't always expect underflow
6344 exception.
6345
9c6ea9fa
SP
63462012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6347
6348 [BZ #12416]
6349 * elf/tst-execstack.c: Include stackinfo.h.
6350 (do_test): Adjust test case to ensure that pthread_getattr_np
6351 behaviour remains the same after marking stack executable.
6352
a8239222
JM
63532012-05-25 Joseph Myers <joseph@codesourcery.com>
6354
6355 * sysdeps/unix/sysv/linux/kernel-features.h
6356 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
6357 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
6358 kernel-features.h.
6359 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
6360 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
6361 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
6362 kernel-features.h.
6363 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
6364 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
6365
918b5606
L
63662012-05-25 H.J. Lu <hongjiu.lu@intel.com>
6367
6368 * configure.in: Define the default includes to being none.
6369 * configure: Regenerated.
6370
3a097cc7
RM
63712012-05-25 Roland McGrath <roland@hack.frob.com>
6372
8422c9a5
RM
6373 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
6374 * sysdeps/x86_64/setjmp.S: Likewise.
6375 * sysdeps/i386/bsd-setjmp.S: Likewise.
6376 * sysdeps/i386/bsd-_setjmp.S: Likewise.
6377 * sysdeps/i386/setjmp.S: Likewise.
6378 * sysdeps/i386/__longjmp.S: Likewise.
6379 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
6380 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
6381
3a097cc7
RM
6382 * include/stap-probe.h: New file.
6383 * configure.in: Handle --enable-systemtap.
6384 * configure: Regenerated.
6385 * config.h.in (USE_STAP_PROBE): New #undef.
6386 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
6387 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
6388 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
6389
21708942
JM
63902012-05-25 Joseph Myers <joseph@codesourcery.com>
6391
6392 [BZ #13717]
6393 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
6394 to 2.4.0 where earlier.
6395 * sysdeps/unix/sysv/linux/configure: Regenerated.
6396 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
6405 [__ASSUME_32BITUIDS]: Make code unconditional.
6406 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
6407 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
6408 <kernel-features.h>.
6409 [__ASSUME_32BITUIDS]: Make code unconditional.
6410 [!__ASSUME_32BITUIDS]: Remove conditional code.
6411 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
6412 <kernel-features.h>.
6413 [__ASSUME_32BITUIDS]: Make code unconditional.
6414 [!__ASSUME_32BITUIDS]: Remove conditional code.
6415 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
6416 <kernel-features.h>.
6417 [__ASSUME_32BITUIDS]: Make code unconditional.
6418 [!__ASSUME_32BITUIDS]: Remove conditional code.
6419 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
6420 <kernel-features.h>.
6421 [__ASSUME_32BITUIDS]: Make code unconditional.
6422 [!__ASSUME_32BITUIDS]: Remove conditional code.
6423 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
6424 <kernel-features.h>.
6425 [__ASSUME_32BITUIDS]: Make code unconditional.
6426 [!__ASSUME_32BITUIDS]: Remove conditional code.
6427 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
6428 <kernel-features.h>.
6429 [__ASSUME_32BITUIDS]: Make code unconditional.
6430 [!__ASSUME_32BITUIDS]: Remove conditional code.
6431 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
6432 <kernel-features.h>.
6433 [__ASSUME_32BITUIDS]: Make code unconditional.
6434 [!__ASSUME_32BITUIDS]: Remove conditional code.
6435 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
6436 <kernel-features.h>.
6437 [__ASSUME_32BITUIDS]: Make code unconditional.
6438 [!__ASSUME_32BITUIDS]: Remove conditional code.
6439 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
6440 <kernel-features.h>.
6441 [__ASSUME_32BITUIDS]: Make code unconditional.
6442 [!__ASSUME_32BITUIDS]: Remove conditional code.
6443 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
6444 <kernel-features.h>.
6445 [__ASSUME_32BITUIDS]: Make code unconditional.
6446 [!__ASSUME_32BITUIDS]: Remove conditional code.
6447 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
6448 <kernel-features.h>.
6449 [__NR_setresgid] (__setresgid): Do not declare.
6450 [__ASSUME_32BITUIDS]: Make code unconditional.
6451 [!__ASSUME_32BITUIDS]: Remove conditional code.
6452 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
6453 <kernel-features.h>.
6454 [__NR_setresuid] (__setresuid): Do not declare.
6455 [__ASSUME_32BITUIDS]: Make code unconditional.
6456 [!__ASSUME_32BITUIDS]: Remove conditional code.
6457 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
6458 <kernel-features.h>.
6459 [__ASSUME_32BITUIDS]: Make code unconditional.
6460 [!__ASSUME_32BITUIDS]: Remove conditional code.
6461 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
6462 <kernel-features.h>.
6463 [__ASSUME_32BITUIDS]: Make code unconditional.
6464 [!__ASSUME_32BITUIDS]: Remove conditional code.
6465 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
6466 <kernel-features.h>.
6467 [__ASSUME_32BITUIDS]: Make code unconditional.
6468 [!__ASSUME_32BITUIDS]: Remove conditional code.
6469 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
6470 <kernel-features.h>.
6471 [__ASSUME_32BITUIDS]: Make code unconditional.
6472 [!__ASSUME_32BITUIDS]: Remove conditional code.
6473 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
6474 <kernel-features.h>.
6475 [__ASSUME_32BITUIDS]: Make code unconditional.
6476 [!__ASSUME_32BITUIDS]: Remove conditional code.
6477 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
6478 <kernel-features.h>.
6479 [__ASSUME_32BITUIDS]: Make code unconditional.
6480 [!__ASSUME_32BITUIDS]: Remove conditional code.
6481 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
6482 <kernel-features.h>.
6483 [__ASSUME_32BITUIDS]: Make code unconditional.
6484 [!__ASSUME_32BITUIDS]: Remove conditional code.
6485 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
6486 <kernel-features.h>.
6487 [__ASSUME_32BITUIDS]: Make code unconditional.
6488 [!__ASSUME_32BITUIDS]: Remove conditional code.
6489 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
6490 <kernel-features.h>.
6491 [__ASSUME_32BITUIDS]: Make code unconditional.
6492 [!__ASSUME_32BITUIDS]: Remove conditional code.
6493 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
6494 <kernel-features.h>.
6495 [__ASSUME_32BITUIDS]: Make code unconditional.
6496 [!__ASSUME_32BITUIDS]: Remove conditional code.
6497 * sysdeps/unix/sysv/linux/kernel-features.h
6498 (__ASSUME_SETRESUID_SYSCALL): Remove.
6499 (__ASSUME_SETRESGID_SYSCALL): Likewise.
6500 (__ASSUME_32BITUIDS): Likewise.
6501 (__ASSUME_LDT_WORKS): Likewise.
6502 (__ASSUME_O_DIRECTORY): Likewise.
6503 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
6504 architecture but not kernel version.
6505 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6506 (__ASSUME_MMAP2_SYSCALL): Likewise.
6507 (__ASSUME_STAT64_SYSCALL): Likewise.
6508 (__ASSUME_IPC64): Likewise.
6509 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
6510 <kernel-features.h>.
6511 [__ASSUME_32BITUIDS]: Make code unconditional.
6512 [!__ASSUME_32BITUIDS]: Remove conditional code.
6513 * sysdeps/unix/sysv/linux/opendir.c: Do not include
6514 <kernel-features.h>.
6515 [__ASSUME_O_DIRECTORY]: Make code unconditional.
6516 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
6517 132096]: Remove conditional code.
6518 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
6519 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
6520 <kernel-features.h>.
6521 [__ASSUME_32BITUIDS]: Make code unconditional.
6522 [!__ASSUME_32BITUIDS]: Remove conditional code.
6523 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
6524 <kernel-features.h>.
6525 [__ASSUME_32BITUIDS]: Make code unconditional.
6526 [!__ASSUME_32BITUIDS]: Remove conditional code.
6527 * sysdeps/unix/sysv/linux/setegid.c: Do not include
6528 <kernel-features.h>.
6529 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
6530 unconditional.
6531 (__setresgid): Do not declare.
6532 [__ASSUME_32BITUIDS]: Make code unconditional.
6533 [!__ASSUME_32BITUIDS]: Remove conditional code.
6534 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
6535 <kernel-features.h>.
6536 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
6537 unconditional.
6538 (__setresuid): Do not declare.
6539 [__ASSUME_32BITUIDS]: Make code unconditional.
6540 [!__ASSUME_32BITUIDS]: Remove conditional code.
6541 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
6542 <kernel-features.h>.
6543 [__ASSUME_32BITUIDS]: Make code unconditional.
6544 [!__ASSUME_32BITUIDS]: Remove conditional code.
6545 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
6546 <kernel-features.h>.
6547 [__ASSUME_32BITUIDS]: Make code unconditional.
6548 [!__ASSUME_32BITUIDS]: Remove conditional code.
6549
a386f1cc
RH
65502012-05-25 Richard Henderson <rth@twiddle.net>
6551
6552 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
6553 dl_hwcap to ifunc resolver.
6554 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
6555 elf_ifunc_invoke.
6556 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
6557 dl_hwcap to ifunc resolver.
6558 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
6559
b6550497
JM
65602012-05-24 Joseph Myers <joseph@codesourcery.com>
6561
6562 [BZ #14153]
6563 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
6564 for |x| <= 2**-26, not 2**-57.
6565 * math/libm-test.inc (acos_test): Do not allow spurious underflow
6566 exception.
6567
b0bc23a1
JL
65682012-05-24 Jeff Law <law@redhat.com>
6569
6570 * stdio-common/Makefile (tests): Add bug25.
6571 * stdio-common/bug25.c: New test.
6572
347c92e9
L
65732012-05-24 H.J. Lu <hongjiu.lu@intel.com>
6574
6575 [BZ #13576]
6576 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
6577 multiple of MALLOC_ALIGNMENT in size.
6578 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
6579
6bcc8b3f
JM
65802012-05-24 Joseph Myers <joseph@codesourcery.com>
6581
6582 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
6583 Require >= 256.
6584 (FILENAME_MAX): Use macro-int-constant.
6585 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
6586 (_IOFBF): Use macro-int-constant.
6587 (_IOLBF): Likewise.
6588 (_IONBF): Likewise.
6589 (SEEK_CUR): Likewise.
6590 (SEEK_END): Likewise.
6591 (SEEK_SET): Likewise.
6592 (TMP_MAX): Likewise.
6593 (EOF): Use macro-int-constant. Require < 0.
6594 (NULL): Use macro-constant. Require == 0.
6595 (stdin): Require type to be FILE *.
6596 (stdout): Likewise.
6597 (stderr): Likewise.
6598 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
6599 macro-int-constant.
6600 (EXIT_SUCCESS): Likewise.
6601 (NULL): Use macro-constant. Require == 0.
6602 (RAND_MAX): Use macro-int-constant.
6603 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
6604 [C99-based standards] (strtof): Require function.
6605 [C99-based standards] (strtold): Likewise.
6606 [C99-based standards] (strtoll): Likewise.
6607 [C99-based standards] (strtoull): Likewise.
6608 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6609 [ISO || ISO99 || ISO11] (limits.h): Likewise.
6610 [ISO || ISO99 || ISO11] (math.h): Likewise.
6611 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
6612 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6613 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6614
d18ea0c5
AS
66152012-05-24 Andreas Schwab <schwab@linux-m68k.org>
6616
6617 [BZ #14132]
56d25bb8
AS
6618 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
6619 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
6620 * intl/dgettext.c (DCGETTEXT): Likewise.
6621 * intl/gettext.c (DCGETTEXT): Likewise.
6622 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
6623 * posix/regex_internal.h (gettext): Likewise.
6624 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
6625 Remove declaration.
6626 * include/argz.h (__argz_count_internal)
6627 (__argz_stringify_internal): Remove declaration.
6628 (__argz_count, __argz_stringify): Declare hidden proto.
6629 * intl/dcgettext.c: Remove use of INTDEF.
6630 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
6631 * string/argz-stringify.c: Likewise.
6632 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
6633 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
6634 Declare hidden proto.
d18ea0c5
AS
6635 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
6636 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
6637 Declare hidden proto.
6638 * include/stdio.h (__asprintf_internal): Don't declare.
6639 (__asprintf): Don't define as macro. Declare hidden proto.
6640 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
6641 (__fsetlocking): Declare hidden proto.
6642 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
6643 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
6644 hidden proto.
6645 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
6646 (_IO_setlinebuf): Remove use of INTUSE.
6647 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
6648 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
6649 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
6650 Remove declaration.
6651 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
6652 (_IO_do_flush): Remove use of INTUSE.
6653 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
6654 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
6655 (_IO_adjust_column, _IO_least_wmarker)
6656 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
6657 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
6658 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
6659 (_IO_default_doallocate, _IO_wdefault_doallocate)
6660 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
6661 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
6662 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
6663 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
6664 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
6665 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
6666 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
6667 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
6668 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
6669 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
6670 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
6671 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
6672 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
6673 proto.
6674 (_IO_flush_all_internal, _IO_adjust_column_internal)
6675 (_IO_default_uflow_internal, _IO_default_finish_internal)
6676 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
6677 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
6678 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
6679 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
6680 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
6681 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
6682 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
6683 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
6684 (_IO_file_close_internal, _IO_file_close_it_internal)
6685 (_IO_file_underflow_internal, _IO_file_overflow_internal)
6686 (_IO_file_init_internal, _IO_file_attach_internal)
6687 (_IO_file_fopen_internal, _IO_file_read_internal)
6688 (_IO_file_sync_internal, _IO_file_seek_internal)
6689 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
6690 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
6691 (_IO_str_underflow_internal, _IO_str_overflow_internal)
6692 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
6693 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
6694 (_IO_list_all_internal, _IO_link_in_internal)
6695 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
6696 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
6697 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
6698 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
6699 (_IO_do_write_internal, _IO_padn_internal)
6700 (_IO_getline_info_internal, _IO_getline_internal)
6701 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
6702 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
6703 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
6704 (_IO_vfscanf_internal, _IO_vfprintf_internal)
6705 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
6706 (_IO_init_internal, _IO_un_link_internal): Don't declare.
6707 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
6708 with libc_hidden_ver, remove use of INTUSE.
6709 * libio/genops.c: Likewise.
6710 * libio/freopen.c: Likewise.
6711 * libio/freopen64.c: Likewise.
6712 * libio/iofclose.c: Likewise.
6713 * libio/iofdopen.c: Likewise.
6714 * libio/iofflush.c: Likewise.
6715 * libio/iofflush_u.c: Likewise.
6716 * libio/iofgets.c: Likewise.
6717 * libio/iofgets_u.c: Likewise.
6718 * libio/iofopen.c: Likewise.
6719 * libio/iofopncook.c: Likewise.
6720 * libio/iofread.c: Likewise.
6721 * libio/iofread_u.c: Likewise.
6722 * libio/ioftell.c: Likewise.
6723 * libio/iofwrite.c: Likewise.
6724 * libio/iogetline.c: Likewise.
6725 * libio/iogets.c: Likewise.
6726 * libio/iogetwline.c: Likewise.
6727 * libio/iopadn.c: Likewise.
6728 * libio/iopopen.c: Likewise.
6729 * libio/ioseekoff.c: Likewise.
6730 * libio/ioseekpos.c: Likewise.
6731 * libio/iosetbuffer.c: Likewise.
6732 * libio/iosetvbuf.c: Likewise.
6733 * libio/ioungetc.c: Likewise.
6734 * libio/ioungetwc.c: Likewise.
6735 * libio/iovdprintf.c: Likewise.
6736 * libio/iovsprintf.c: Likewise.
6737 * libio/iovsscanf.c: Likewise.
6738 * libio/memstream.c: Likewise.
6739 * libio/obprintf.c: Likewise.
6740 * libio/oldfileops.c: Likewise.
6741 * libio/oldiofclose.c: Likewise.
6742 * libio/oldiofdopen.c: Likewise.
6743 * libio/oldiofopen.c: Likewise.
6744 * libio/oldiopopen.c: Likewise.
6745 * libio/oldstdfiles.c: Likewise.
6746 * libio/putc.c: Likewise.
6747 * libio/setbuf.c: Likewise.
6748 * libio/setlinebuf.c: Likewise.
6749 * libio/stdfiles.c: Likewise.
6750 * libio/strops.c: Likewise.
6751 * libio/vasprintf.c: Likewise.
6752 * libio/vscanf.c: Likewise.
6753 * libio/vsnprintf.c: Likewise.
6754 * libio/vswprintf.c: Likewise.
6755 * libio/wfiledoalloc.c: Likewise.
6756 * libio/wfileops.c: Likewise.
6757 * libio/wgenops.c: Likewise.
6758 * libio/wmemstream.c: Likewise.
6759 * libio/wstrops.c: Likewise.
6760 * libio/__fpurge.c: Likewise.
6761 * libio/__fsetlocking.c: Likewise.
6762 * assert/assert.c: Likewise.
6763 * debug/fgets_chk.c: Likewise.
6764 * debug/fgets_u_chk.c: Likewise.
6765 * debug/fread_chk.c: Likewise.
6766 * debug/fread_u_chk.c: Likewise.
6767 * debug/gets_chk.c: Likewise.
6768 * debug/obprintf_chk.c: Likewise.
6769 * debug/vasprintf_chk.c: Likewise.
6770 * debug/vdprintf_chk.c: Likewise.
6771 * debug/vsnprintf_chk.c: Likewise.
6772 * debug/vsprintf_chk.c: Likewise.
6773 * malloc/mtrace.c: Likewise.
6774 * misc/error.c: Likewise.
6775 * misc/syslog.c: Likewise.
6776 * stdio-common/asprintf.c: Likewise.
6777 * stdio-common/fxprintf.c: Likewise.
6778 * stdio-common/getw.c: Likewise.
6779 * stdio-common/isoc99_fscanf.c: Likewise.
6780 * stdio-common/isoc99_scanf.c: Likewise.
6781 * stdio-common/isoc99_vfscanf.c: Likewise.
6782 * stdio-common/isoc99_vscanf.c: Likewise.
6783 * stdio-common/isoc99_vsscanf.c: Likewise.
6784 * stdio-common/printf-prs.c: Likewise.
6785 * stdio-common/printf_fp.c: Likewise.
6786 * stdio-common/printf_fphex.c: Likewise.
6787 * stdio-common/printf_size.c: Likewise.
6788 * stdio-common/putw.c: Likewise.
6789 * stdio-common/scanf.c: Likewise.
6790 * stdio-common/sprintf.c: Likewise.
6791 * stdio-common/tmpfile.c: Likewise.
6792 * stdio-common/vfprintf.c: Likewise.
6793 * stdio-common/vfscanf.c: Likewise.
6794 * stdlib/strfmon_l.c: Likewise.
6795 * sunrpc/openchild.c: Likewise.
6796 * sunrpc/xdr_stdio.c: Likewise.
6797 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
6798 * sysdeps/mach/hurd/tmpfile.c: Likewise.
6799
d6c33fda
RM
68002012-05-24 Roland McGrath <roland@hack.frob.com>
6801
c1487492
RM
6802 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
6803
6804 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
6805 in the third column, to generate for the shared library an IFUNC
6806 that uses _dl_vdso_vsym.
6807 * Makerules (COMPILE.c, compile-stdin.c): New variables.
6808 * Makeconfig (object-suffixes-noshared): New variable.
6809
6810 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
6811 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
6812 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
6813 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
6814
d6c33fda
RM
6815 [BZ #14132]
6816 * include/sys/time.h (__gettimeofday): Remove macro.
6817 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
6818 * time/gettimeofday.c (__gettimeofday): Remove #undef.
6819 Remove INTDEF.
6820 (__gettimeofday): Add libc_hidden_def.
6821 (gettimeofday): Add libc_hidden_weak.
6822 * sysdeps/mach/gettimeofday.c: Likewise.
6823 * sysdeps/posix/gettimeofday.c: Likewise.
6824 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
6825 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
6826 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
6827 (__gettimeofday_internal): Remove strong_alias.
6828 (__gettimeofday): Add libc_hidden_def.
6829 (gettimeofday): Add libc_hidden_weak.
6830 * sysdeps/unix/syscalls.list (gettimeofday):
6831 Remove __gettimeofday_internal alias.
6832
b5a2bbe6
L
68332012-05-24 Daniel Jacobowitz <drow@false.org>
6834 H.J. Lu <hongjiu.lu@intel.com>
6835
6836 [BZ #12495]
6837 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
6838 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
6839 (largebin_index_32_big): New.
6840 (largebin_index): Use it for 16-byte alignment.
6841 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
6842 correction with front_misalign.
6843
cfba4fda
L
68442012-05-24 H.J. Lu <hongjiu.lu@intel.com>
6845
7f907421
L
6846 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
6847 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
6848 Likewise.
6849 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
6850 Likewise.
6851 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6852 Likewise.
6853 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
6854 Likewise.
6855 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
6856 Likewise.
6857 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
6858 Likewise.
6859 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
6860 Likewise.
6861 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6862 Likewise.
6863 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
6864 Likewise.
6865 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
6866 Likewise.
6867 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
6868 Likewise.
6869 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
6870 Likewise.
6871
cfba4fda
L
6872 * scripts/data/c++-types-x32-linux-gnu.data: New file.
6873 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
6874
80bad0cc
JM
68752012-05-24 Joseph Myers <joseph@codesourcery.com>
6876
7a25eb06
JM
6877 [BZ #10846]
6878 [BZ #14036]
6879 * math/libm-test.inc (exp_test): Add test from bug 14036.
6880 (pow_test): Add test from bug 10846.
6881
795405f9
JM
6882 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
6883 and other flags.
6884 (special_function): Do not include flags in test name.
6885 (parse_args): Likewise.
6886 * sysdeps/i386/fpu/libm-test-ulps: Update.
6887 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6888 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6889 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6891
80bad0cc
JM
6892 * math/gen-libm-test.pl (%beautify): Add entries for underflow
6893 exceptions.
6894 * math/libm-test.inc ("Philosophy"): Update comment about
6895 exception testing.
6896 (UNDERFLOW_EXCEPTION): New macro.
6897 (UNDERFLOW_EXCEPTION_OK): Likewise.
6898 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
6899 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
6900 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
6901 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
6902 (INVALID_EXCEPTION_OK): Update value.
6903 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6904 (OVERFLOW_EXCEPTION_OK): Likewise.
6905 (IGNORE_ZERO_INF_SIGN): Likewise.
6906 (test_exceptions): Handle underflow exceptions.
6907 (acos_test): Update for underflow exception expectations.
6908 (cexp_test): Likewise.
6909 (clog_test): Likewise.
6910 (clog10_test): Likewise.
6911 (csqrt_test): Likewise.
6912 (ctan_test): Likewise.
6913 (ctanh_test): Likewise.
6914 (exp_test): Likewise.
6915 (exp10_test): Likewise.
6916 (exp2_test): Likewise.
6917 (expm1_test): Likewise.
6918 (fma_test): Likewise.
6919 (j0_test): Likewise.
6920 (jn_test): Likewise.
6921 (nexttoward_test): Likewise.
6922 (pow_test): Likewise.
6923 (scalbn_test): Likewise.
6924 (scalbln_test): Likewise.
6925 (tan_test): Likewise.
6926 (y1_test): Likewise.
6927 * sysdeps/i386/fpu/libm-test-ulps: Update.
6928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6929
9e0e3d0b
DM
69302012-05-23 David S. Miller <davem@davemloft.net>
6931
6932 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
6933 (__libc_sigaction): Remove unused local variables.
6934
ccd0a08f
L
69352012-05-23 H.J. Lu <hongjiu.lu@intel.com>
6936
6937 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
6938
62bdf9a6
PE
69392012-05-23 Paul Eggert <eggert@cs.ucla.edu>
6940
f8591f80
PE
6941 mktime: avoid signed integer overflow
6942 * time/mktime.c (__mktime_internal): Do not mishandle the case
6943 where diff == INT_MIN.
6944
94c7d826
PE
6945 mktime: simplify computation of average
6946 * time/mktime.c (ranged_convert): Use new time_t_avg function
6947 instead of rolling our own (probably-slower) code.
6948
ce73d683
PE
6949 mktime: do not assume signed right shift propagates sign bit
6950 * time/mktime.c (isdst_differ): New static function.
6951 (__mktime_internal): No need to normalize tm_isdst now.
6952 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
6953 tm_isdst values.
6954
72a22e59
PE
6955 mktime: merge another wrapv change from gnulib
6956 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
6957 from some compilers.
6958
68605433
PE
6959 mktime: remove incorrect attempt at unusual arithmetics
6960 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
6961 The code didn't really work on such machines anyway.
6962 (TYPE_MINIMUM): Assume two's complement.
6963 (twos_complement_arithmetic): Verify that long_int and time_t
6964 are two's complement (or unsigned, in the latter case).
6965
03cf7fe3
PE
6966 mktime: check signed shifts on long_int and time_t, too
6967 * time/mktime.c (SHR): Check that shifts work as desired
6968 on the types long_int and time_t too, as SHR is used on
6969 such types.
6970
f04dfbc2
PE
6971 mktime: do not assume 'long' is wide enough
6972 * time/mktime.c (verify): Move decl up.
6973 (long_int): New type.
6974 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
6975 to remove assumption in the code that 'long' is wide enough to
6976 store year values. This assumption is not true on x32 and on
6977 some non-glibc platforms.
6978
62bdf9a6
PE
6979 mktime: merge wrapv change from gnulib
6980 * time/mktime.c (WRAPV): New macro.
6981 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
6982 (guess_time_tm, __mktime_internal): Do not assume that signed
6983 integer overflow wraps around; modern compilers generate code
6984 where this assumption is no longer valid.
6985
5e292e4f
L
69862012-05-23 H.J. Lu <hongjiu.lu@intel.com>
6987
6988 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
6989 Replace "jmp L(pseudo_end)" with "ret".
6990 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
6991 Likewise.
6992
8caf8c87
AJ
69932012-05-23 Andreas Jaeger <aj@suse.de>
6994
6995 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
6996 * sysdeps/unix/sysv/linux/poll.c: Remove file.
6997
1a09dc56
AJ
69982012-05-23 Andreas Jaeger <aj@suse.de>
6999 Maximilian Attems <max@stro.at>
7000
7001 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
7002 New macros.
7003
1c87aba0
L
70042012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7005
7006 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
7007 code so that pseudo_end is just ret and the stack pointer is
7008 correct also for static library in error case.
7009
40e45bd5
JM
70102012-05-23 Joseph Myers <joseph@codesourcery.com>
7011
c2670533
JM
7012 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
7013 move to syscalls.list.
7014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7018
40e45bd5
JM
7019 * manual/install.texi (Running make install): Do not mention Linux
7020 kernel version for which pt_chown is not needed.
7021 (Linux): Do not mention problems with nscd with 2.0 kernels.
7022 * INSTALL: Regenerated.
7023
be08eda5
AJ
70242012-05-23 Andreas Jaeger <aj@suse.de>
7025
7026 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
7027 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
7028 macro.
7029 * sysdeps/unix/sysv/linux/s390/bits/mman.h
7030 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7031 * sysdeps/unix/sysv/linux/sh/bits/mman.h
7032 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7033 * sysdeps/unix/sysv/linux/i386/bits/mman.h
7034 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7035 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
7036 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7037 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
7038 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7039 * sysdeps/unix/sysv/linux/bits/in.h
7040 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
7041
a6a056bb
RM
70422012-05-22 Roland McGrath <roland@hack.frob.com>
7043
7044 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
7045 (PREPARE_VERSION): Just use assert instead, it will be elided
7046 under [NDEBUG] anyway.
7047
c9009328
L
70482012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7049
7050 * sysdeps/unix/sysv/linux/Makefile: Include
7051 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 7052 (sysdep_routines): Remove sysctl.
c9009328
L
7053 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
7054 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
7055 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
7056 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
7057 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
7058
73338355
AJ
70592012-05-22 Andreas Jaeger <aj@suse.de>
7060
7061 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
7062 that pseudo_end is just ret and the stack pointer is correct also
7063 for static library in error case.
7064
d44638b0
PP
70652012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
7066
7067 [BZ #14122]
7068 * nss/nsswitch.c (defconfig_entries): New variable.
7069 (__nss_database_lookup): Don't leak defconfig entries.
7070 (nss_parse_service_list): Don't leak on error paths.
7071 (free_database_entries): New function.
7072 (free_defconfig): New function.
7073 (free_mem): Move common code to free_database_entries.
7074
31a39bd8
L
70752012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7076
da0331a8
L
7077 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
7078 Add arch_prctl.
7079 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
7080
31a39bd8
L
7081 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7082 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
7083 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
7084 New macro.
7085 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
7086 (INTERNAL_SYSCALL_TYPES): Likewise.
7087 (LOAD_ARGS_TYPES_[1-6]): Likewise.
7088 (LOAD_REGS_TYPES_[1-6]): Likewise.
7089 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
7090 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
7091
45470df3
AZ
70922012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7093
7094 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
7095 copysignl for GLIBC_2_0.
7096 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
7097 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
7098 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
7099 logbl for GLIBC_2_0.
7100 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
7101 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
7102
98a61bcb
L
71032012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7104
a4f6e481
L
7105 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
7106 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7107
f63d5db6
L
7108 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7109 Use "neg %eax".
7110
98a61bcb
L
7111 * time/mktime.c: Update copyright years.
7112
95770f14
PE
71132012-05-22 Paul Eggert <eggert@cs.ucla.edu>
7114
6226efbd
PE
7115 mktime: merge comment-quoting-style change from gnulib
7116 * time/mktime.c: Quote 'like this' in comments.
7117 The GNU coding standards suggest that we no longer quote `like this',
7118 as "`" and "'" are typically rendered asymmetrically nowadays.
7119 The typical gnulib style is to quote 'like this' when quoting
7120 code, and "like this" when quoting English.
7121
b99e4f78
PE
7122 * time/mktime.c (compile-command): Add "-I.".
7123
643e01e6
PE
7124 mktime: merge mktime-internal.h change from gnulib
7125 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
7126
2554247d
PE
7127 mktime: merge time_r change from gnulib
7128 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
7129
826dd0ab
PE
7130 mktime: merge DEBUG change from gnulib
7131 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
7132 case system <time.h> has a #define.
7133
bd83aabe
PE
7134 mktime: merge <sys/types.h> change from gnulib
7135 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
7136 since <time.t> is now guaranteed to define time_t.
7137
95770f14
PE
7138 mktime: merge HAVE_CONFIG_H change from gnulib
7139 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
7140
5e1a27a9
L
71412012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7142
0e44a77e
L
7143 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7144 Use "neg %eax".
7145
5e1a27a9
L
7146 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
7147 __rlim_t cast.
7148 (struct rusage): Use anonymous union to pad each field to
7149 __syscall_slong_t.
7150
46259bec
DM
71512012-05-21 David S. Miller <davem@davemloft.net>
7152
7153 * Makefules (o-iterator): Remove .s cases.
7154 (compile-command.s): Delete.
7155 (COMPILE.s): Delete.
7156 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
7157
59f0c22e
JM
71582012-05-21 Joseph Myers <joseph@codesourcery.com>
7159
7160 * configure.in (libc_cv_predef_stack_protector): Only consider
7161 "foobar" and "__stack_chk_fail" lines in libc_undefs.
7162 * configure: Regenerated.
7163
20c07380
L
71642012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7165
bbb3154b
L
7166 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7167 New macro. Use R*LP on int and pointer.
7168 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
7169 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
7170 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
7171 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
7172
20c07380
L
7173 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
7174 [__WORDSIZE_TIME64_COMPAT32] instead of
7175 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
7176 (struct utmp): Likewise.
7177 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
7178 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
7179 Renamed to ...
7180 (__WORDSIZE_TIME64_COMPAT32): This.
7181 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
7182 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
7183 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
7184 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
7185 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
7186 (__WORDSIZE_TIME64_COMPAT32): New macro.
7187
d8d1017e
AJ
71882012-05-21 Andreas Jaeger <aj@suse.de>
7189
7190 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
7191 only if [SHARED]. Add prototype for __wcschr_ia32.
7192
6c7fb145
RM
71932012-05-21 Roland McGrath <roland@hack.frob.com>
7194
7195 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
7196 of %rbp unmolested in the jmp_buf while mangling the low bits.
7197 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
7198 unmolested high bits of %rbp while demangling the low bits.
7199 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7200
66274218
AJ
72012012-05-21 Andreas Jaeger <aj@suse.de>
7202
07c58f8f
AJ
7203 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
7204 * sunrpc/svc_simple.c: Use it for registerrpc.
7205 * sunrpc/xcrypt.c: Use it for passwd2des.
7206
66274218
AJ
7207 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
7208
61f65140
L
72092012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7210
7211 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
7212 Don't define if [__SYSCALL_WORDSIZE != 32].
7213 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
7214 New macro.
7215
5fefb436
AJ
72162012-05-21 Bruno Haible <bruno@clisp.org>
7217 Andreas Jaeger <aj@suse.de>
7218
7219 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
7220 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
7221 inptr and inend for must_buffer_ch.
7222 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
7223 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
7224 * stdio-common/Makefile (tests): Remove bug15.
7225 (bug15-ENV): Remove macro.
7226 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
7227 anymore.
7228
d8e272ab
AJ
72292012-05-19 Andreas Jaeger <aj@suse.de>
7230 Roland McGrath <roland@hack.frob.com>
7231
7232 * manual/contrib.texi: Completely rewritten. It contains now an
7233 alphabetical list of contributors and their contributions.
7234
4a56a162
RH
72352012-05-21 Richard Henderson <rth@twiddle.net>
7236
7237 * misc/getauxval.c (__getauxval): Use unsigned long int.
7238 * misc/sys/auxv.h: Include <sys/cdefs.h>.
7239 (getauxval): Use unsigned long int.
7240
d024d23c
L
72412012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7242
7243 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7244
cbc00a03
RM
72452012-05-21 Roland McGrath <roland@hack.frob.com>
7246
7247 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
7248 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
7249 __alignof__ (long double).
7250
478143fa
AZ
72512012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7252
7253 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7254
c7683a6d
RH
72552012-05-20 Richard Henderson <rth@twiddle.net>
7256
7257 * misc/getauxval.c: New file.
7258 * misc/sys/auxv.h: New file.
7259 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
7260 (routines): Add getauxval.
7261 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
7262 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
7263 * elf/dl-sysdep.c (_dl_auxv): Remove.
7264 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
7265 * elf/dl-support.c (_dl_auxv): New variable.
7266 (_dl_aux_init): Initialize it.
7267 * manual/startup.texi (Auxiliary Vector): New node.
7268 * sysdeps/generic/bits/hwcap.h: New file.
7269 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
7270 * sysdeps/powerpc/sysdep.h: ... here. Include it.
7271 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
7272 * sysdeps/sparc/sysdep.h: ... here. Include it.
7273 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
7274 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
7275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7276 Update.
c7683a6d
RH
7277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
7278 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
7279 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
7280 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
7281 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
7282 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
7283 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
7284 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
7285
a6f1845d
AZ
72862012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7287
7288 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7289
cbcbe830
DM
72902012-05-19 David S. Miller <davem@davemloft.net>
7291
7292 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7293
e0b16cc2
JM
72942012-05-19 Joseph Myers <joseph@codesourcery.com>
7295
7296 [BZ #14123]
7297 * math/s_ccosh.c: Include <float.h>
7298 (__ccosh): Avoid internal overflow calculating sinh and cosh
7299 values before multiplying by sin and cos values.
7300 * math/s_ccoshf.c: Likewise.
7301 * math/s_ccoshl.c: Likewise.
7302 * math/s_csin.c: Likewise.
7303 * math/s_csinf.c: Likewise.
7304 * math/s_csinl.c: Likewise.
7305 * math/s_csinh.c: Likewise.
7306 * math/s_csinhf.c: Likewise.
7307 * math/s_csinhl.c: Likewise.
7308 * math/libm-test.inc (ccos_test): Add more tests.
7309 (ccosh_test): Likewise.
7310 (csin_test): Likewise.
7311 (csinh_test): Likewise.
7312 * sysdeps/i386/fpu/libm-test-ulps: Update.
7313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7314
6ad13e08
L
73152012-05-19 H.J. Lu <hongjiu.lu@intel.com>
7316
f66f0ce8
L
7317 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
7318 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
7319
6ad13e08
L
7320 * sysdeps/x86_64/x32/_itoa.h: Add comment.
7321
b1d072a7
JM
73222012-05-19 Joseph Myers <joseph@codesourcery.com>
7323
7324 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
7325 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
7326 * sysdeps/powerpc/soft-fp/Versions: Likewise.
7327 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
7328 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
7329 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
7330 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
7331 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
7332 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
7333 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
7334 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
7335 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
7336 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
7337 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
7338 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
7339 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
7340 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
7341 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
7342 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
7343 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
7344 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
7345 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
7346 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
7347 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
7348 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
7349 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
7350 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
7351 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
7352 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
7353 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
7354 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
7355
9eae47cb
AJ
73562012-05-18 Andreas Jaeger <aj@suse.de>
7357
7358 * csu/.gitignore: Delete.
7359
bb07f69f
L
73602012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7361
7362 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
7363 (timex): Use __syscall_slong_t.
7364
e6bdb741
AJ
73652012-05-18 Andreas Jaeger <aj@suse.de>
7366 Carlos O'Donell <carlos_odonell@mentor.com>
7367
7368 * manual/install.texi (Configuring and compiling): Update
7369 description about files modified in the source directory.
d6c33fda 7370 * INSTALL: Regenerated.
e6bdb741 7371
1b74487e
L
73722012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7373
7374 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
7375 value. Use "or" to set return value to -1.
7376 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
7377 negate return value.
7378
a88b64b9
TMQMF
73792012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7380
7381 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
7382 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
7383 failure if the compiler has Graphite support disabled.
7384 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
7385 Likewise.
7386 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
7387 CFLAGS-memmove.c): Likewise.
7388 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
7389 Likewise.
7390
3707636e
L
73912012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7392
610b8622
L
7393 * sysdeps/x86_64/x32/_itoa.h: New file.
7394
7cd195df
L
7395 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
7396 getdents system call only if kernel and user dirents have the
7397 same d_ino and d_off.
7398
94b07d20
L
7399 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7400 LLONG_MAX != LONG_MAX.
7401 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7402 (_fitoa_word): Likewise.
7403
18298070
L
7404 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
7405 years.
7406 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
7407 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
7408 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
7409
553c7ea4
L
7410 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
7411 include <bits/wordsize.h>. Check __x86_64__ instead of
7412 __WORDSIZE.
7413 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
7414 if __x86_64__ is defined. Use anonymous union on fpstate.
7415
3707636e
L
7416 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
7417 anonymous union.
7418
b53ef01a
AS
74192012-05-18 Andreas Schwab <schwab@linux-m68k.org>
7420
37fb1dc0
AS
7421 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
7422 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
7423 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
7424 Refer to _rtld_local_ro instead of _rtld_global_ro.
7425 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
7426 Likewise.
7427 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
7428 Likewise.
7429 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
7430 Likewise.
7431 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
7432 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
7433 of _rtld_global, and rtld_progname instead of _dl_argv[0].
7434
b53ef01a
AS
7435 * sysdeps/powerpc/powerpc32/dl-machine.c
7436 (__elf_machine_runtime_setup) [PROF]: Don't reference
7437 _dl_prof_resolve.
7438
7a185db2
AJ
74392012-05-18 Andreas Jaeger <aj@suse.de>
7440
7441 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
7442 function only available for GCCs before 3.4 since GCC 3.4
7443 introduced a builtin.
7444 (lrint): Likewise.
7445 (llrintf): Likewise.
7446 (llrint): Likewise.
7447 (fmaxf): Likewise.
7448 (fmax): Likewise.
7449 (fminf): Likewise.
7450 (fmin): Likewise.
7451 (rint): Likewise.
7452 (rintf): Likewise.
7453 (nearbyint): Likewise.
7454 (nearbyintf): Likewise.
7455 (ceil): Likewise.
7456 (ceilf): Likewise.
7457 (floor): Likewise.
7458 (floorf): Likewise.
7459
3e5aef87
L
74602012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7461
428bd707
L
7462 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
7463 on both fields and cast pointer to __syscall_ulong_t.
7464
3e5aef87
L
7465 * bits/types.h (__fsword_t): New type.
7466 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
7467 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
7468 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7469 (__FSWORD_T_TYPE): Likewise.
7470 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7471 (__FSWORD_T_TYPE): Likewise.
7472 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7473 (__FSWORD_T_TYPE): Likewise.
7474 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
7475 (__FSWORD_T_TYPE): Likewise.
7476 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
7477 __SWORD_TYPE with __fsword_t.
7478 (statfs64): Likewise.
7479
1ba7c3dc
DM
74802012-05-17 David S. Miller <davem@davemloft.net>
7481
7482 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
7483
59910343
AJ
74842012-05-17 Andreas Jaeger <aj@suse.de>
7485
7486 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
7487 warning.
7488
2e4c1e9e
L
74892012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7490
7491 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
7492
de7f5ce7
AJ
74932012-05-17 Andreas Jaeger <aj@suse.de>
7494
7495 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
7496 when it is used.
7497
286abc3d
CM
74982012-05-17 Chris Metcalf <cmetcalf@tilera.com>
7499
7500 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
7501
477cc68e
L
75022012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7503
7504 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
7505 * sysdeps/x86_64/tst-mallocalign1.c: New file.
7506
1a0994f5
CD
75072012-05-17 Andreas Jaeger <aj@suse.de>
7508 Carlos O'Donell <carlos_odonell@mentor.com>
7509
7510 [BZ #14059]
7511 * sysdeps/x86_64/multiarch/init-arch.h
7512 (bit_YMM_Usable): Rename to...
7513 (bit_AVX_Usable): ... this.
7514 (bit_FMA4_Usable): New macro.
7515 (bit_XMM_state): New macro.
7516 (bit_YMM_state): New macro.
7517 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
7518 [__ASSEMBLER__] (index_AVX_Usable): ... this.
7519 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
7520 (CPUID_OSXSAVE): New macro.
7521 (CPUID_AVX): New macro.
7522 (CPUID_FMA4): New macro.
7523 (index_YMM_Usable): Rename to...
7524 (index_AVX_Usable): ... this.
7525 (HAS_AVX): Use HAS_ARCH_FEATURE.
7526 (HAS_FMA4): Likewise.
7527 (HAS_YMM_USABLE): Remove.
7528 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7529 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
7530 are present.
7531 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
7532 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
7533 * sysdeps/x86_64/multiarch/Makefile: Likewise.
7534 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
7535 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
7536
0af797de
CM
75372012-05-17 Chris Metcalf <cmetcalf@tilera.com>
7538
7539 * math/libm-test.c: Support platforms without multiple rounding modes.
7540 * math/bug-nextafter.c: Support platforms without FP exceptions.
7541 * math/bug-nexttoward.c: Likewise.
7542 * math/test-fenv.c: Likewise.
7543 * math/test-misc.c: Likewise.
7544 * stdlib/bug-getcontext.c: Likewise.
7545
e39745ff
AJ
75462012-05-17 Andreas Jaeger <aj@suse.de>
7547
7548 * manual/examples/search.c (critter_cmp): Change signature to
7549 avoid warnings.
7550 * manual/string.texi (Collation Functions): Likewise.
7551
48970aba
L
75522012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7553
7554 * bits/types.h: Fold copyright years.
7555 * bits/typesizes.h: Likewise.
7556 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
7557 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7558 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
7559 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
7560 * time/time.h: Likewise.
7561
bedee953
PP
75622012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
7563
7564 [BZ #208]
7565 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
7566 in instead of returning them. Return void.
7567 (__libc_mallinfo): Accumulate over all arenas.
7568 (__malloc_stats): Adjust for change in int_mallinfo interface.
7569
61653dfb
RM
75702012-05-16 Roland McGrath <roland@hack.frob.com>
7571
30b99d79
RM
7572 [BZ #10375]
7573 * configure.in (NM): Add AC_CHECK_TOOL for it.
7574 (libc_extra_cflags): New substituted variable.
7575 Check for -fstack-protector being used implicitly.
7576 * configure: Regenerated.
7577 * config.make.in (config-extra-cflags): New variable,
7578 gets @libc_extra_cflags@.
7579 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
7580
61653dfb
RM
7581 [BZ #10375]
7582 * configure.in: Check for _FORTIFY_SOURCE being predefined.
7583 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
7584 * configure: Regenerated.
7585 * config.make.in (CPPUNDEFS): New substituted variable.
7586 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
7587 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
7588 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
7589
661768bb
L
75902012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7591
7592 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
7593 (mq_attr): Use __syscall_slong_t.
7594
d4261567
L
75952012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7596
7597 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
7598 Check __x86_64__ instead of __WORDSIZE.
7599 (_STAT_VER_LINUX): Likewise.
7600 (stat): Check __x86_64__ instead of __WORDSIZE. Use
7601 __syscall_ulong_t and __syscall_slong_t.
7602 (stat64): Likewise.
7603
cf3ff365
L
76042012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7605
7606 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
7607
76cf3e4d
L
76082012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7609
7610 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
7611
a637753a
L
76122012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7613
7614 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
7615 __syscall_ulong_t.
7616
d5e05119
L
7617 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
7618 include <bits/wordsize.h>. Check __x86_64__ instead of
7619 __WORDSIZE.
7620 (greg_t): Use "__extension__ long long int" if __x86_64__ is
7621 defined.
7622 (mcontext_t): Replace "unsigned long" with "unsigned long long".
7623
f62ee380
L
7624 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
7625 include <bits/wordsize.h>. Check __x86_64__ instead of
7626 __WORDSIZE.
7627 (user_regs_struct): Use "__extension__ unsigned long long"
7628 instead of "unsigned long" if __x86_64__ is defined.
7629 (user): Likewise. Pad after pointer field if __ILP32__ is
7630 defined.
7631
4e124ced
JM
76322012-05-16 Joseph Myers <joseph@codesourcery.com>
7633
6a3951a0
JM
7634 * configure.in (makeinfo): Require version 4.5 or later. Allow
7635 versions 5 to 9.
7636 * configure: Regenerated.
7637 * manual/install.texi (texinfo): Increase version requirement to
7638 4.5 or later.
7639 * INSTALL: Regenerated.
7640
4e124ced
JM
7641 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
7642
953ca31a
L
76432012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7644
7645 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
7646
617aca05
L
7647 * sysdeps/x86_64/x32/ffs.c: New file.
7648
5762f7ae
L
7649 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
7650 __syscall_ulong_t.
7651 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
7652 defined. Use __syscall_ulong_t.
7653 (shminfo): Use __syscall_ulong_t.
7654 (shm_info): Likewise.
7655
a26b6856
L
7656 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
7657 __syscall_ulong_t.
7658
cb2b9ef7
L
7659 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
7660 <bits/wordsize.h>.
7661 (msgqnum_t): Use __syscall_ulong_t.
7662 (msglen_t): Likewise.
7663 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
7664 __syscall_ulong_t.
7665
34683bb0
L
7666 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
7667 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7668
84a68786
L
7669 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
7670
48baa5f1
L
7671 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
7672 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
7673
180be88b
L
7674 * sysvipc/sys/msg.h (msgbuf): Replace long int with
7675 __syscall_slong_t.
7676
5e90c8ad
L
7677 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
7678 include <bits/wordsize.h>. Check __x86_64__ instead of
7679 __WORDSIZE.
7680
23dfb58b
L
7681 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
7682 "unsigned long long int" if __x86_64__ is defined.
7683 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
7684
ce5d54b0
L
7685 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
7686 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7687 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
7688
13dc9eac
L
7689 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
7690 <stdint.h>.
7691 (GET_PC): Cast to uintptr_t first.
7692 (GET_FRAME): Likewise.
7693 (GET_STACK): Likewise.
7694
a7895d15
L
7695 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
7696 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
7697 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
7698 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
7699 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
7700 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
7701 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
7702 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
7703 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
7704 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
7705 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
7706 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
7707 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
7708 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
7709 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
7710 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
7711 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
7712 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
7713 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
7714 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
7715 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
7716 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
7717 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
7718 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
7719 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
7720 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
7721 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
7722 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
7723 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
7724
656416c9
AS
77252012-05-16 Andreas Schwab <schwab@linux-m68k.org>
7726
5bd66283
AS
7727 * Makerules (+depfiles): Also collect depfiles from .oS in
7728 $(extra-objs).
7729 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
7730 .oS, $(libnldbl-routines)).
7731
656416c9
AS
7732 * Makerules (native-compile-mkdep-flags): Define.
7733 * sunrpc/Makefile (extra-objs): Add $(addprefix
7734 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
7735 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
7736 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
7737 calling $(make-target-directory).
7738
a46f2169
L
77392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7740
7741 * bits/types.h (__snseconds_t): Removed.
7742 * time/time.h (struct timespec): Replace __snseconds_t with
7743 __syscall_slong_t.
7744 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
7745 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
7746 Likewise.
7747 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7748 (__SNSECONDS_T_TYPE): Likewise.
7749 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7750 (__SNSECONDS_T_TYPE): Likewise.
7751 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7752 (__SNSECONDS_T_TYPE): Likewise.
7753
6af6528b
L
77542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7755
7756 * sysdeps/mach/hurd/bits/typesizes.h
7757 (__SYSCALL_SLONG_TYPE): New macro.
7758 (__SYSCALL_ULONG_TYPE): Likewise.
7759
de986b56
L
77602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7761
7762 * bits/types.h (__syscall_slong_t): New type.
7763 (__syscall_ulong_t): Likewise.
7764
7765 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
7766 (__SYSCALL_ULONG_TYPE): Likewise.
7767 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7768 (__SYSCALL_SLONG_TYPE): Likewise.
7769 (__SYSCALL_ULONG_TYPE): Likewise.
7770 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7771 (__SYSCALL_SLONG_TYPE): Likewise.
7772 (__SYSCALL_ULONG_TYPE): Likewise.
7773 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7774 (__SYSCALL_SLONG_TYPE): Likewise.
7775 (__SYSCALL_ULONG_TYPE): Likewise.
7776
85736dc7
L
77772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7778
7779 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
7780 Add sigaltstack-offsets.sym.
7781 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
7782 <sigaltstack-offsets.h>.
7783 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
7784 longjmp_msg pointer.
7785 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
7786 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
7787 signal stack.
7788 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
7789
cc03b296
JM
77902012-05-15 Joseph Myers <joseph@codesourcery.com>
7791
a9538892
JM
7792 * elf/stackguard-macros.h: Remove file.
7793 * sysdeps/generic/stackguard-macros.h: New file.
7794 * sysdeps/i386/stackguard-macros.h: Likewise.
7795 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
7796 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
7797 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
7798 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
7799 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
7800 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
7801 * sysdeps/x86_64/stackguard-macros.h: Likewise.
7802 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
7803 <elf/stackguard-macros.h>.
7804
cc03b296
JM
7805 [BZ #14109]
7806 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
7807 __aligned__ in attribute.
7808 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
7809 (gregset_t): Likewise.
7810
93171016
L
78112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7812
7813 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
7814 * sysdeps/x86_64/64/Implies-after: Here. New file.
7815 * sysdeps/x86_64/x32/Implies-after: New file.
7816
d86813a0
L
78172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7818
7819 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
7820 and access return value for _dl_profile_fixup. Use R10_LP to
7821 load frame size.
7822
2953ec75
L
78232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7824
7825 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
7826
3b550e9e
L
78272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7828
7829 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
7830 * sysdeps/x86_64/x32/sysdep.h: New file.
7831
eda41706
L
78322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7833
7834 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
7835 * sysdeps/x86_64/setjmp.S: Likewise.
7836
9ea01d93
AZ
78372012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7838
7839 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
7840 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
7841 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
7842 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
7843 remove unused global constant.
7844
02a91938
CM
78452012-05-15 Chris Metcalf <cmetcalf@tilera.com>
7846
7847 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
7848 include of <not-cancel.h>.
7849
6540185f
RM
78502012-05-15 Roland McGrath <roland@hack.frob.com>
7851
7852 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
7853
509072a0
AJ
78542012-05-15 Jeff Law <law@redhat.com>
7855 Andreas Jaeger <aj@suse.de>
7856
7857 [BZ #13594]
7858 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
7859 out from...
7860 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
7861 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
7862 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
7863 code changing __hst_map_handle.map.
7864
ba75122d
RM
78652012-05-15 Roland McGrath <roland@hack.frob.com>
7866
7867 * configure.in (sysnames): Look for Implies-before and Implies-after
7868 files.
7869 * configure: Regenerated.
7870
890d8bd8
L
78712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7872
7873 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
7874 8-byte data alignment with LP_SIZE alignment.
7875
f6ee6623
L
78762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7877
7878 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
7879 into R10_LP.
7880
ea2626f6
L
78812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7882
7883 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
7884
085f715e
L
78852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7886
7887 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
7888 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
7889 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
7890 Likewise.
7891 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
7892
be8498fc
L
78932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7894
7895 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
7896 (stackinfo_sub_sp): Likewise.
7897
70bc83b9
L
78982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7899
7900 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
7901 RAX_LP.
7902
9bc0b730
L
79032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7904
7905 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
7906 into R*_LP.
7907
6d2850e7
L
79082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7909
7910 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
7911 sizes into R*_LP.
7912
3cb84561
L
79132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7914
7915 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
7916
54e2ed81
L
79172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7918
7919 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
7920 into R11_LP and load __x86_64_shared_cache_size_half into
7921 R8_LP.
7922
8a17f349
L
79232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7924
7925 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
7926 R8_LP.
7927
777b1eea
AZ
79282012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7929
7930 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
7931 logb for POWER7.
7932 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
7933 logbf for POWER7.
7934 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
7935 logbl for POWER7.
7936 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
7937 powerpc32/power7/fpu/s_logb.c via #include.
7938 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
7939 powerpc32/power7/fpu/s_logbf.c via #include.
7940 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
7941 powerpc32/power7/fpu/s_logbl.c via #include.
7942
d20d4ac2
JM
79432012-05-15 Joseph Myers <joseph@codesourcery.com>
7944
7945 * README.libm: Remove file.
7946
6cdef1ab
L
79472012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7948
7949 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
7950 count for x32. Use R*_LP and omit operand-size suffix.
7951
0b254d8f
L
79522012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7953
7954 * shlib-versions: Move x86_64-.*-linux.* entries to ...
7955 * sysdeps/x86_64/64/shlib-versions: Here. New file.
7956 * sysdeps/x86_64/x32/shlib-versions: New file.
7957
ceb809dc
RM
79582012-05-14 Roland McGrath <roland@hack.frob.com>
7959
7960 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
7961 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
7962 Use _dl_fatal_printf instead.
7963
37f1abd4
JM
79642012-05-14 Joseph Myers <joseph@codesourcery.com>
7965
7966 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
7967 set if not set by the user. Do not allow for being unset.
7968 * sysdeps/unix/sysv/linux/configure: Regenerated.
7969
11de3a33
L
79702012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7971
7972 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
7973 the `q' suffix from lea and replace .quad with ASM_ADDR.
7974
e02f153a
L
79752012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7976
7977 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
7978 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
7979 instead of $17.
7980 (PTR_DEMANGLE): Likewise.
7981
520ae0fd
L
79822012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7983
7984 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
7985 (LP_OP): Likewise.
7986 (ASM_ADDR): Likewise.
7987 (RAX_LP): Likewise.
7988 (RBP_LP): Likewise.
7989 (RBX_LP): Likewise.
7990 (RCX_LP): Likewise.
7991 (RDI_LP): Likewise.
7992 (RSI_LP): Likewise.
7993 (RSP_LP): Likewise.
7994 (R8_LP): Likewise.
7995 (R9_LP): Likewise.
7996 (R10_LP): Likewise.
7997 (R10_LP): Likewise.
7998 (R11_LP): Likewise.
7999 (R12_LP): Likewise.
8000 (R13_LP): Likewise.
8001 (R14_LP): Likewise.
8002 (R15_LP): Likewise.
8003
b985be81
L
80042012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8005
8006 * sysdeps/x86_64/x32/dl-machine.h: New file.
8007
6a4888ff
AJ
80082012-05-14 Andreas Jaeger <aj@suse.de>
8009
8010 * manual/Makefile (subdir): Remove export of subdir.
8011 (all): Remove target.
8012 (.PHONY): Remove all from list.
8013 (mkinstalldirs): Remove.
8014 (.PHONY): Remove installdirs from list.
8015 ($(inst_infodir)/libc.info): Use make-target-directory.
8016 (installdirs): Remove.
8017 (subdir_%): Remove.
8018 (glibc-targets): Remove.
8019 (lib): Remove.
8020 (stubs): Remove.
8021 ($(objpfx)stubs ../po/manual.pot): Remove.
8022 ($(objpfx)stamp%): Remove.
8023 (make-target-directory): Remove.
8024 (subdir_install): Remove.
8025 (routines): Remove.
8026 (aux): Remove.
8027 (sources): Remove.
8028 (objects): Remove.
8029 (headers): Remove.
8030
8031 [BZ #13750]
8032 * manual/.gitignore: Remove, it's not needed anymore.
8033 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
8034 all files in it.
8035 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
8036 directory.
8037 (texis): Renamed to $(objpfx)texis.
8038 (texis-path): New, contains path to generated files.
8039 (chapters.%): Use texis-path for complete path, add extra argument
8040 libc-texinfo.sh.
8041 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
8042 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
8043 (summary,texi, stamp-summary): Use complete path of
8044 files. Generate files in build dir.
8045 (dir-add.texi): Build in build dir.
8046 (libm-err.texi,stamp-libm-err): Likewise.
8047 (version.texi, stamp-version): Likewise.
8048 (.%c.texi): Likewise.
8049 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
8050 (mostlyclean): Remove target.
8051 (realclean): Remove target.
8052 (generated): Add new variable with contents from mostlyclean and
8053 realclean, remove entries duplicated in common-mostlyclean, add
8054 stamp-libm-err and stamp-version.
8055 (generated-dirs): Add libc directory.
8056 ($(inst_infodir)/libc.info): Install files from build dir.
8057
8058 * manual/install.texi (Configuring and compiling): Adjust since
8059 the info files are not part of the tar ball anymore.
8060
7ac77294
AJ
80612012-05-14 Andreas Jaeger <aj@suse.de>
8062
8063 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
8064 variable.
8065
ffb7875d
JM
80662012-05-14 Joseph Myers <joseph@codesourcery.com>
8067
8068 [BZ #13717]
8069 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8070 to 2.2.0 where earlier.
8071 * sysdeps/unix/sysv/linux/configure: Regenerated.
8072 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
8073 Remove conditional code.
8074 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
8075 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
8076 Remove conditional code.
8077 [!__NR_lchown]: Likewise.
8078 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8079 [__NR_lchown]: Likewise.
8080 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
8081 comment referencing __ASSUME_LCHOWN_SYSCALL.
8082 * sysdeps/unix/sysv/linux/i386/sigaction.c
8083 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8084 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8085 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
8086 Remove conditional code.
8087 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
8088 (__protocol_available): Remove #if 0 code.
8089 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
8090 conditional code.
8091 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
8092 * sysdeps/unix/sysv/linux/kernel-features.h
8093 (__ASSUME_GETCWD_SYSCALL): Don't define.
8094 (__ASSUME_REALTIME_SIGNALS): Likewise.
8095 (__ASSUME_PREAD_SYSCALL): Likewise.
8096 (__ASSUME_PWRITE_SYSCALL): Likewise.
8097 (__ASSUME_POLL_SYSCALL): Likewise.
8098 (__ASSUME_LCHOWN_SYSCALL): Likewise.
8099 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
8100 non-SPARC.
8101 (__ASSUME_SIOCGIFNAME): Don't define.
8102 (__ASSUME_MSG_NOSIGNAL): Likewise.
8103 (__ASSUME_SENDFILE): Define unconditionally.
8104 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
8105 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
8106 conditional code.
8107 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
8108 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
8109 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8110 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8111 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
8112 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8113 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
8115 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8116 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8118 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8119 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
8121 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8122 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
8124 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8125 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
8127 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8128 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
8130 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8131 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
8133 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8134 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
8136 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8137 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8138 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
8139 Remove conditional code.
8140 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8141 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8142 Remove conditional code.
8143 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8144 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
8145 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
8146 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8147 Remove conditional code.
8148 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8149 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
8150 Remove conditional code.
8151 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8152 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
8153 Remove conditional code.
8154 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8155 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8156 Remove conditional code.
8157 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8158 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8159 Remove conditional code.
8160 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8161 * sysdeps/unix/sysv/linux/sh/pwrite64.c
8162 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8163 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8164 * sysdeps/unix/sysv/linux/sigaction.c
8165 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8166 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8167 * sysdeps/unix/sysv/linux/sigpending.c
8168 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8169 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8170 * sysdeps/unix/sysv/linux/sigprocmask.c
8171 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8172 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8173 * sysdeps/unix/sysv/linux/sigsuspend.c
8174 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8175 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8176 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8177 (__libc_missing_rt_sigs): Remove.
8178 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
8179 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
8180 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
8181 Remove conditional code.
8182 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
8183 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
8184 return 1.
8185 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
8186 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
8187 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
8188 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
8189
1bfb7291
AJ
81902012-05-14 Andreas Jaeger <aj@suse.de>
8191
caae5a81
AJ
8192 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
8193 it's not used in glibc.
8194 (__coshm1): Likewise.
8195 (__acosh1p): Likewise.
8196 (__sgn): Likewise.
8197
1bfb7291
AJ
8198 * manual/string.texi (Copying and Concatenation): Add missing
8199 variable in concat example.
8200 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
8201
c044d724
L
82022012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8203
144c5467 8204 [BZ #14103]
c044d724
L
8205 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
8206 __builtin_clzl with __builtin_clzll.
8207
2523c62b
L
82082012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8209
8210 [BZ #14104]
8211 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
8212 libc_freeres_ptr.
8213
d7bb4c42
LD
82142012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8215
8216 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
8217 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
8218 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
8219 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
8220
9dc4e1fb
MF
82212012-05-14 Mike Frysinger <vapier@gentoo.org>
8222
8223 * NEWS: Update ia64 info.
8224
c7df0112
AS
82252012-05-12 Andreas Schwab <schwab@linux-m68k.org>
8226
8227 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
8228 used as bcopy.
8229
dc70356c
TS
82302012-05-12 Thomas Schwinge <thomas@codesourcery.com>
8231
8232 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
8233 * sysdeps/unix/syscalls.list (dup3): Likewise.
8234 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
8235 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
8236
9fb1a21f
L
82372012-05-11 H.J. Lu <hongjiu.lu@intel.com>
8238
8239 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
8240 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
8241
4822a2a5
L
82422012-05-11 H.J. Lu <hongjiu.lu@intel.com>
8243
8244 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
8245 thread pointer.
8246 (TLS_IE): Use mov/add instead of movq/addq to load thread
8247 pointer.
8248 (TLS_GD_PREFIX): New.
8249 (TLS_GD): Use it.
8250
842b81d6
DM
82512012-05-11 David S. Miller <davem@davemloft.net>
8252
8253 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
8254 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
8255 (_FPU_SETCW): Likewise.
8256
1cf463cd
L
82572012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8258
8259 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
8260 is 32-byte aligned.
8261
60cc4a18
AS
82622012-05-11 Andreas Schwab <schwab@linux-m68k.org>
8263
8264 [BZ #11837]
8265 * iconvdata/gb18030.c: Update tables.
8266 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
8267 characters specially.
8268 (BODY for TO_LOOP): Add encoding of missing ranges.
8269
febb44a4
TS
82702012-05-11 Thomas Schwinge <thomas@codesourcery.com>
8271
8272 [BZ #13673]
8273 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
8274 * sysdeps/mach/hurd/dup3.c: Likewise.
8275 * sysdeps/mach/hurd/readlinkat.c: Likewise.
8276 * sysdeps/powerpc/memmove.c:: Likewise.
8277
0a10fb9e
L
82782012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8279
8280 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
8281 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
8282
df8a552f
L
82832012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8284
8285 * elf/elf.h (R_X86_64_RELATIVE64): New.
8286 (R_X86_64_NUM): Updated.
8287 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8288 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
8289 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
8290 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
8291 tst-quad1pie tst-quad2pie
8292 (modules-names): Add tst-quadmod1 tst-quadmod2.
8293 ($(objpfx)tst-quad1): New dependency.
8294 ($(objpfx)tst-quad2): Likewise.
8295 ($(objpfx)tst-quad1pie): Likewise.
8296 ($(objpfx)tst-quad2pie): Likewise.
8297 * sysdeps/x86_64/tst-quad1.c: New file.
8298 * sysdeps/x86_64/tst-quad1pie.c: New file.
8299 * sysdeps/x86_64/tst-quad2.c: Likewise.
8300 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
8301 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
8302 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
8303 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
8304 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
8305
f34d6f84
ST
83062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8307
f42d41d1
ST
8308 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
8309 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
8310 * streams/stropts.h (t_scalar_t): Define type.
8311
3c3571fc
ST
8312 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
8313 (_PATH_PRESERVE): Set to "/var/lib".
8314 (_PATH_RWHODIR): Set to "/var/spool/rwho".
8315
61f06bd3
ST
8316 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
8317 instead of int.
8318
918d4d71
ST
8319 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
8320 if __dir_mkfile succeeded.
8321
f34d6f84
ST
8322 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
8323 checking for _hurd_dtablesize. Unlock it right after having
8324 finished _hurd_dtable allocation.
8325
10589b4a
TS
83262012-05-10 Thomas Schwinge <thomas@schwinge.name>
8327
674cdbc7
TS
8328 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
8329 * sysdeps/mach/hurd/configure: Regenerated.
8330 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
8331 special-casing to...
8332 * sysdeps/gnu/configure.in: ... this new file.
8333 * sysdeps/unix/sysv/linux/configure: Regenerated.
8334 * sysdeps/gnu/configure: New generated file.
8335
8e41b99f
TS
8336 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
8337 for Linux: use nsec instead of usec, as well as:
8338 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
8339 members of type struct timespec.
8340 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
8341 New macros.
8342 (struct stat64): Likewise.
8343 (_STATBUF_ST_NSEC): New macro.
8344 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
8345
10589b4a
TS
8346 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
8347 __strtoul_internal rather than strtoul.
8348
63643c85
PT
83492012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8350
8351 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
8352 and reject them.
8353
3faebe6a
ST
83542012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8355
8356 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
8357 which preserves existing values.
8358 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
8359
c6474b07
PT
83602012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8361
8362 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
8363 TIMEOUT values. Return EINVAL for NFDS values either negative or
8364 greater than FD_SETSIZE.
8365
1043890b
ST
83662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8367
8368 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
8369 allocated, call __vm_protect to finish enabling the existing space, and
8370 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
8371 allocate the remainder.
8372
37ed8b9b
PT
83732012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8374
8375 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
8376 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
8377
db653660
ST
83782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8379
37ed8b9b
PT
8380 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
8381 sysdeps/mach/hurd/readlink.c.
b29d4053 8382
db653660
ST
8383 * posix/tst-sysconf.c (posix_options): Only use
8384 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
8385 _POSIX_SYNCHRONIZED_IO when they are defined
8386 * sysdeps/mach/hurd/bits/posix_opt.h:
8387 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
8388 (_XOPEN_REALTIME): Undefine macro.
8389 (_XOPEN_REALTIME_THREADS): Undefine macro.
8390 (_XOPEN_SHM): Undefine macro.
8391 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
8392 macro to -1.
8393 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
8394 macro to -1.
8395 (_POSIX_ASYNC_IO): Undefine macro.
8396 (_POSIX_PRIORITIZED_IO): Undefine macro.
8397 (_POSIX_SPIN_LOCKS): Define macro to -1.
8398
ee16e894
ST
8399 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
8400 SA_NODEFER, SA_RESETHAND.
8401 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
8402 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
8403 F_DUPFD_CLOEXEC.
8404
6103ae3b
TS
84052012-05-10 Thomas Schwinge <thomas@schwinge.name>
8406
8407 * elf/Makefile (pldd-modules): Define unconditionally.
8408
80b4e5f3
TS
84092012-05-10 Thomas Schwinge <thomas@schwinge.name>
8410
8411 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
8412
edadcbd6
ST
84132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8414
8415 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
8416 Return ENOENT when name is empty.
8417 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
8418
80694780
TS
84192012-05-10 Thomas Schwinge <thomas@schwinge.name>
8420
1792c087
TS
8421 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
8422
80694780
TS
8423 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
8424
6b645f0d
ST
84252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8426
80694780
TS
8427 Fix mlock in all cases except non-readable pages.
8428 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
8429 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 8430
6b645f0d
ST
8431 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
8432 (__mkdir): When path is `/', just fail with EEXIST.
8433 * sysdeps/mach/hurd/mkdirat.c: Likewise.
8434
e468f8a3
TS
84352012-05-10 Thomas Schwinge <thomas@schwinge.name>
8436
8437 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
8438 <sys/uio.h> (for writev).
8439 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
8440 and <sys/param.h> (for MIN).
8441
a4186cff
PT
84422012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8443
8444 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
8445 REQUESTED_TIME. Properly set the remaining time and return EINTR
8446 if interrupted.
8447
510bbf14
TS
84482012-05-10 Thomas Schwinge <thomas@schwinge.name>
8449
8450 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
8451 Depend on against $(link-rpcuserlibs).
8452
5d5722e8
ST
84532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8454
a4186cff
PT
8455 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
8456 (__libc_stack_end): Do not use attribute_relro.
8457 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
8458 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 8459 to libthread-provided value.
a4186cff
PT
8460 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
8461 attribute_relro.
5d5722e8 8462
37233df9
TS
84632012-05-10 Thomas Schwinge <thomas@schwinge.name>
8464
be971a2b
TS
8465 [BZ #3748]
8466 * bits/libc-lock.h (__libc_once_get): New macro.
8467 * sysdeps/mach/bits/libc-lock.h: Likewise.
8468 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
8469 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
8470 instead of using implementation details.
8471
37233df9
TS
8472 * libio/fileops.c: Unconditionally include <kernel-features.h>.
8473 * libio/freopen.c: Likewise.
8474 * libio/freopen64.c: Likewise.
8475 * misc/syslog.c: Likewise.
8476 * nscd/connections.c: Likewise.
8477 * nscd/netgroupcache.c: Likewise.
8478 * sysdeps/posix/getcwd.c: Likewise.
8479
38de94a5
RM
84802012-05-10 Roland McGrath <roland@hack.frob.com>
8481
8482 * math/w_ilogbf.c: Add #include <limits.h>.
8483
67530489
ST
84842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8485
a4186cff 8486 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
8487 path instead of returning without unlocking.
8488
67530489
ST
8489 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
8490 immediate-write ioctls.
8491 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
8492
5aa3a74a
TS
84932012-05-10 Thomas Schwinge <thomas@schwinge.name>
8494
18bad2ae
TS
8495 * sysdeps/mach/hurd/i386/init-first.c (init): Use
8496 __builtin_frame_address instead of making assumptions about the
8497 location of the return address relative to DATA. Force early load of
8498 the return address.
8499 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
8500 __builtin_frame_address.
8501
5aa3a74a
TS
8502 dup3 for GNU Hurd.
8503 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
8504 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
8505 implement dup3 and do some further code clean-ups.
8506 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
8507 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
8508
ecd0de9a
ST
85092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8510
cd9fa985
ST
8511 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
8512
a4186cff
PT
8513 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
8514 HURD_CRITICAL_END around holding _hurd_dtable_lock.
8515 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
8516 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
8517 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
8518 d->port.lock.
802ca5a5 8519
a4186cff
PT
8520 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
8521 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
8522 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 8523
bcf55240
TS
85242012-05-10 Thomas Schwinge <thomas@schwinge.name>
8525
6960eb42
TS
8526 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
8527 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
8528 definitions.
8529
eb43375f
TS
8530 accept4 for GNU Hurd.
8531 * include/sys/socket.h (__libc_accept4): New prototype.
8532 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
8533 to implement __libc_accept4.
8534 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
8535 __libc_accept4.
8536 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
8537
bcf55240
TS
8538 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
8539 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
8540 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
8541 signal-defines.sym.
8542
6178c55b
ST
85432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8544
a4186cff 8545 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 8546
6f080c2f
TS
85472012-05-10 Thomas Schwinge <thomas@schwinge.name>
8548
8549 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
8550 assertion on O_CLOEXEC flag.
8551 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
8552 * hurd/intern-fd.c: Likewise.
8553 * hurd/port2fd.c: Likewise.
8554
bcfe3a54
ST
85552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8556
8557 [BZ #3906]
8558 * bits/in.h (IPV6_PKTINFO): Define new macro.
8559 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
8560
89c9aa49
AZ
85612012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8562
8563 [BZ #13954]
8564 [BZ #13955]
8565 [BZ #13956]
8566 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
8567 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8568 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
8569 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
8570 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8571 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
8572 * math/libm-test.inc (logb_test) : Additional logb tests.
8573
021db4be
AJ
85742012-05-09 Andreas Schwab <schwab@linux-m68k.org>
8575 Andreas Jaeger <aj@suse.de>
8576
8577 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
8578 * configure: Regenerated.
8579 * config.h.in (LINK_OBSOLETE_RPC): New macro.
8580 * config.make.in (link-obsolete-rpc): New substituted variable.
8581 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
8582 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
8583 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
8584 (shared-only-routines): Don't set it under [link-obsolete-rpc],
8585 so that libc.a contains the symbols.
8586 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
8587 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
8588 * sunrpc/auth_none.c: Likewise.
8589 * sunrpc/auth_unix.c: Likewise.
8590 * sunrpc/authdes_prot.c: Likewise.
8591 * sunrpc/authuxprot.c: Likewise.
8592 * sunrpc/clnt_gen.c: Likewise.
8593 * sunrpc/clnt_perr.c: Likewise.
8594 * sunrpc/clnt_raw.c: Likewise.
8595 * sunrpc/clnt_simp.c: Likewise.
8596 * sunrpc/clnt_tcp.c: Likewise.
8597 * sunrpc/clnt_udp.c: Likewise.
8598 * sunrpc/clnt_unix.c: Likewise.
8599 * sunrpc/des_crypt.c: Likewise.
8600 * sunrpc/des_soft.c: Likewise.
8601 * sunrpc/get_myaddr.c: Likewise.
8602 * sunrpc/key_call.c: Likewise.
8603 * sunrpc/key_prot.c: Likewise.
8604 * sunrpc/netname.c: Likewise.
8605 * sunrpc/pm_getmaps.c: Likewise.
8606 * sunrpc/pm_getport.c: Likewise.
8607 * sunrpc/pmap_clnt.c: Likewise.
8608 * sunrpc/pmap_prot.c: Likewise.
8609 * sunrpc/pmap_prot2.c: Likewise.
8610 * sunrpc/pmap_rmt.c: Likewise.
8611 * sunrpc/publickey.c: Likewise.
8612 * sunrpc/rpc_cmsg.c: Likewise.
8613 * sunrpc/rpc_common.c: Likewise.
8614 * sunrpc/rpc_dtable.c: Likewise.
8615 * sunrpc/rpc_prot.c: Likewise.
8616 * sunrpc/rpc_thread.c: Likewise.
8617 * sunrpc/rtime.c: Likewise.
8618 * sunrpc/svc.c: Likewise.
8619 * sunrpc/svc_auth.c: Likewise.
8620 * sunrpc/svc_raw.c: Likewise.
8621 * sunrpc/svc_run.c: Likewise.
8622 * sunrpc/svc_tcp.c: Likewise.
8623 * sunrpc/svc_udp.c: Likewise.
8624 * sunrpc/svc_unix.c: Likewise.
8625 * sunrpc/svcauth_des.c: Likewise.
8626 * sunrpc/xcrypt.c: Likewise.
8627 * sunrpc/xdr.c: Likewise.
8628 * sunrpc/xdr_array.c: Likewise.
8629 * sunrpc/xdr_float.c: Likewise.
8630 * sunrpc/xdr_intXX_t.c: Likewise.
8631 * sunrpc/xdr_mem.c: Likewise.
8632 * sunrpc/xdr_rec.c: Likewise.
8633 * sunrpc/xdr_ref.c: Likewise.
8634 * sunrpc/xdr_sizeof.c: Likewise.
8635 * sunrpc/xdr_stdio.c: Likewise.
8636
b5c086a2
RM
86372012-05-10 Roland McGrath <roland@hack.frob.com>
8638
8639 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
8640 change. Update copyright years.
8641
6d74dd09
JM
86422012-05-10 Joseph Myers <joseph@codesourcery.com>
8643
8644 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
8645
28e72501
MK
86462012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
8647 Joseph Myers <joseph@codesourcery.com>
8648 Paul Pluzhnikov <ppluzhnikov@google.com>
8649
8650 [BZ #14012]
8651 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
8652 requiring rpcgen.
8653 [cross-compiling] (extra-libs): Likewise.
8654 [cross-compiling] (extra-libs-others): Likewise.
8655 [cross-compiling] (librpcsvc-routines): Likewise.
8656 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
8657 [cross-compiling] (omit-deps): Likewise.
8658 (sunrpc-CPPFLAGS): New variable.
8659 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
8660 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
8661 (cross-rpcgen-objs): New variable.
8662 (extra-objs): Append $(cross-rpcgen-objs).
8663 ($(cross-rpcgen-objs)): New rule.
8664 ($(objpfx)cross-rpcgen): Likewise.
8665 (rpcgen-cmd): Define to use $(built-program-file). Expand
8666 comment.
8667 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
8668 ($(objpfx)x%.stmp): Likewise.
8669 * sunrpc/proto.h [IS_IN_build] (_): Define.
8670 [IS_IN_build] (_libc_intl_domainname): Likewise.
8671
c8c59454
L
86722012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8673
8674 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
8675 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
8676 and R_X86_64_TPOFF64.
8677
6f27cd16
JM
86782012-05-10 Joseph Myers <joseph@codesourcery.com>
8679
8680 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
8681 sysdeps/unix/sysv/syscalls.list.
8682 (stime): Likewise.
8683 (utime): Likewise.
8684 * sysdeps/unix/sysv/syscalls.list: Remove file.
8685
02467e1c
PE
86862012-05-10 Paul Eggert <eggert@cs.ucla.edu>
8687
8688 [BZ #3440]
8689 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
8690 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
8691 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
8692 (__LC_IDENTIFICATION): Make these macros useful in #if
8693 expressions, as required by C99.
8694
da392631
AS
86952012-05-10 Andreas Schwab <schwab@linux-m68k.org>
8696
8697 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
8698 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
8699 after this.
8700
8115f29b
L
87012012-05-09 H.J. Lu <hongjiu.lu@intel.com>
8702
8703 * stdlib/longlong.h: Updated from GCC.
8704
bdd74070
AJ
87052012-05-09 Andreas Jaeger <aj@suse.de>
8706
edfe0dbe
AJ
8707 * nscd/nscd.c (run_modes): Make named enum, reorder so that
8708 default is first entry.
8709 (run_mode): Set type.
8710 (main): Remove informal message about syslog.
8711 (options): Fix typo.
8712
bcfe3a54
ST
8713 [BZ #14053]
8714 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 8715 to asm.
bcfe3a54
ST
8716 (lrint): Likewise.
8717 (llrintf): Likewise.
8718 (llrint): Likewise.
8719 (rint): Likewise.
8720 (rintf): Likewise.
8721 (nearbyint): Likewise.
8722 (nearbyintf): Likewise.
bdd74070 8723
91d8d69e
AJ
87242012-05-09 Andreas Jaeger <aj@suse.de>
8725 Pedro Alves <palves@redhat.com>
8726
8727 * nscd/nscd.c (run_mode): Use enum.
8728 (main): Cleanup coding style issue.
8729
bb90b80b
AJ
87302012-05-09 Alexandre Oliva <aoliva@redhat.com>
8731 Andreas Jaeger <aj@suse.de>
8732
bcfe3a54
ST
8733 * nscd/nscd.c (go_background): Replaced with...
8734 (run_mode): ... this.
bb90b80b 8735 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
8736 (options): Add -F --foreground.
8737 (main): Implement it.
8738 (parse_opt): Parse it.
bb90b80b 8739
1a4b75a1
AJ
87402012-05-09 Andreas Jaeger <aj@suse.de>
8741
8742 [BZ #14083]
8743 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
8744 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
8745 -Wconversion warning.
8746 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
8747 Likewise.
8748
b1cc2472
JM
87492012-05-09 Joseph Myers <joseph@codesourcery.com>
8750
8751 * conform/data/locale.h-data (NULL): Use macro-constant. Require
8752 == 0.
8753 (LC_ALL): Use macro-int-constant.
8754 (LC_COLLATE): Likewise.
8755 (LC_CTYPE): Likewise.
8756 (LC_MESSAGES): Likewise.
8757 (LC_MONETARY): Likewise.
8758 (LC_NUMERIC): Likewise.
8759 (LC_TIME): Likewise.
8760 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
8761 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
8762 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8763 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
8764 Specify type.
8765 [C99-based standards] (float_t): Expect type.
8766 [C99-based standards] (double_t): Expect type.
8767 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
8768 type.
8769 [C99-based standards] (HUGE_VALL): Likewise.
8770 [C99-based standards] (INFINITY): Likewise.
8771 [C99-based standards] (NAN): Likewise.
8772 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
8773 [C99-based standards] (FP_NAN): Likewise.
8774 [C99-based standards] (FP_NORMAL): Likewise.
8775 [C99-based standards] (FP_SUBNORMAL): Likewise.
8776 [C99-based standards] (FP_ZERO): Likewise.
8777 [C99-based standards] (FP_FAST_FMA): Use
8778 optional-macro-int-constant. Specify type. Require == 1.
8779 [C99-based standards] (FP_FAST_FMAF): Likewise.
8780 [C99-based standards] (FP_FAST_FMAL): Likewise.
8781 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
8782 [C99-based standards] (FP_ILOGBNAN): Likewise.
8783 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
8784 Specify type.
8785 [C99-based standards] (MATH_ERREXCEPT): Likewise.
8786 [C99-based standards] (math_errhandling): Specify type.
8787 [ISO99 || ISO11] (signgam): Do not allow.
8788 [non-C99-based standards] (copysignf): Do not allow.
8789 [non-C99-based standards] (exp2f): Likewise.
8790 [non-C99-based standards] (log2f): Likewise.
8791 [non-C99-based standards] (modff): Allow.
8792 [non-C99-based standards] (erff): Do not allow.
8793 [non-C99-based standards] (erfcf): Likewise.
8794 [non-C99-based standards] (gammaf): Likewise.
8795 [non-C99-based standards] (hypotf): Likewise.
8796 [non-C99-based standards] (j0f): Likewise.
8797 [non-C99-based standards] (j1f): Likewise.
8798 [non-C99-based standards] (jnf): Likewise.
8799 [non-C99-based standards] (lgammaf): Likewise.
8800 [non-C99-based standards] (tgammaf): Likewise.
8801 [non-C99-based standards] (y0f): Likewise.
8802 [non-C99-based standards] (y1f): Likewise.
8803 [non-C99-based standards] (ynf): Likewise.
8804 [non-C99-based standards] (isnanf): Likewise.
8805 [non-C99-based standards] (acoshf): Likewise.
8806 [non-C99-based standards] (asinhf): Likewise.
8807 [non-C99-based standards] (atanhf): Likewise.
8808 [non-C99-based standards] (cbrtf): Likewise.
8809 [non-C99-based standards] (expm1f): Likewise.
8810 [non-C99-based standards] (ilogbf): Likewise.
8811 [non-C99-based standards] (log1pf): Likewise.
8812 [non-C99-based standards] (logbf): Likewise.
8813 [non-C99-based standards] (nextafterf): Likewise.
8814 [non-C99-based standards] (remainderf): Likewise.
8815 [non-C99-based standards] (rintf): Likewise.
8816 [non-C99-based standards] (scalbf): Likewise.
8817 [non-C99-based standards] (copysignl): Likewise.
8818 [non-C99-based standards] (exp2l): Likewise.
8819 [non-C99-based standards] (log2l): Likewise.
8820 [non-C99-based standards] (modfl): Allow.
8821 [non-C99-based standards] (erfl): Do not allow.
8822 [non-C99-based standards] (erfcl): Likewise.
8823 [non-C99-based standards] (gammal): Likewise.
8824 [non-C99-based standards] (hypotl): Likewise.
8825 [non-C99-based standards] (j0l): Likewise.
8826 [non-C99-based standards] (j1l): Likewise.
8827 [non-C99-based standards] (jnl): Likewise.
8828 [non-C99-based standards] (lgammal): Likewise.
8829 [non-C99-based standards] (tgammal): Likewise.
8830 [non-C99-based standards] (y0l): Likewise.
8831 [non-C99-based standards] (y1l): Likewise.
8832 [non-C99-based standards] (ynl): Likewise.
8833 [non-C99-based standards] (isnanl): Likewise.
8834 [non-C99-based standards] (acoshl): Likewise.
8835 [non-C99-based standards] (asinhl): Likewise.
8836 [non-C99-based standards] (atanhl): Likewise.
8837 [non-C99-based standards] (cbrtl): Likewise.
8838 [non-C99-based standards] (expm1l): Likewise.
8839 [non-C99-based standards] (ilogbl): Likewise.
8840 [non-C99-based standards] (log1pl): Likewise.
8841 [non-C99-based standards] (logbl): Likewise.
8842 [non-C99-based standards] (nextafterl): Likewise.
8843 [non-C99-based standards] (remainderl): Likewise.
8844 [non-C99-based standards] (rintl): Likewise.
8845 [non-C99-based standards] (scalbl): Likewise.
8846 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8847 [non-C99-based standards] (FP_*): Do not allow.
8848 [C99-based standards] (FP_*): Change to
8849 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
8850 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
8851 allow.
8852 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
8853 (SIG_ERR): Likewise.
8854 [X/Open-based standards] (SIG_HOLD): Likewise.
8855 (SIG_IGN): Likewise.
8856 (SIGABRT): Use macro-int-constant. Specify type. Require
8857 positive value.
8858 (SIGFPE): Likewise.
8859 (SIGILL): Likewise.
8860 (SIGINT): Likewise.
8861 (SIGSEGV): Likewise.
8862 (SIGTER): Likewise.
8863 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
8864 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
8865 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
8866 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
8867 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
8868 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
8869 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
8870 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
8871 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
8872 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
8873 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
8874 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
8875 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
8876 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
8877 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
8878 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
8879 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
8880 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
8881 [X/Open-based standards] (SIGTRAP): Likewise.
8882 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
8883 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
8884 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
8885 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
8886 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
8887 allow.
8888
b9f1922d
IW
88892012-05-08 Ian Wienand <ianw@vmware.com>
8890
8891 [BZ #14080]
8892 * time/tzset.c (__tzset_parse_tz): Update default rules for
8893 daylight time changes in the Energy Policy Act of 2005.
8894
1db86e88
AJ
88952012-05-09 Andreas Jaeger <aj@suse.de>
8896
8897 [BZ #13983]
8898 * elf/ldconfig.c (parse_conf): Change string to make clear that
8899 ldconfig only issued a warning if ld.so.conf does not exist.
8900
dee4a4e3
DM
89012012-05-08 David S. Miller <davem@davemloft.net>
8902
ee0db190
DM
8903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
8904 movxtod instead of popping the value on the stack.
8905
dee4a4e3
DM
8906 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8907
6a43ec98
CD
89082012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
8909
8910 * config.h.in: Add HAVE_ARM_PCS_VFP.
8911
05c2c961
RMG
89122012-05-08 Roland Mc Grath <roland@hack.frob.com>
8913
bcfe3a54
ST
8914 [BZ #13979]
8915 * include/features.h: Warn if user requests __FORTIFY_SOURCE
8916 checking but the checks are disabled for any reason.
05c2c961 8917
4b30f61a
L
89182012-05-08 H.J. Lu <hongjiu.lu@intel.com>
8919
8920 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
8921 and ELF64_R_TYPE with ELFW(R_TYPE).
8922
eee2bc67
JM
89232012-05-08 Joseph Myers <joseph@codesourcery.com>
8924
7ea5391a
JM
8925 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
8926 (ulimit): Likewise.
8927
eee2bc67
JM
8928 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
8929 (settimeofday): Likewise.
8930
abb66a67
MF
89312012-05-08 Mike Frysinger <vapier@gentoo.org>
8932
8933 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
8934 a struct th_u2 inside the union, and move tu_block/tu_code into
8935 a new th_u3 union of tu_block/tu_code inside of that. Move
8936 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
8937 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
8938 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
8939 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
8940 (th_stuff): Change to th_u1.tu_stuff.
8941 (th_data): Define.
8942 (th_msg): Change to th_u1.th_u2.tu_data.
8943
7f18b530
DM
89442012-05-07 David S. Miller <davem@davemloft.net>
8945
05760585
DM
8946 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8947
7f18b530
DM
8948 [BZ #14074]
8949 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
8950 (SETUP_PIC_REG): Use it.
8951 (SETUP_PIC_REG_LEAF): Use it.
8952
495fd99f
JM
89532012-05-07 Joseph Myers <joseph@codesourcery.com>
8954
8955 [BZ #13885]
8956 [BZ #13923]
8957 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
8958 USE_AS_EXPM1L.
8959 (EXPL_FINITE): Likewise.
8960 (FLDLOG): Likewise.
8961 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
8962 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
8963 e_expl.S.
8964 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
8965 USE_AS_EXPM1L.
8966 (EXPL_FINITE): Likewise.
8967 (FLDLOG): Likewise.
8968 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
8969 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
8970 e_expl.S.
8971 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
8972 test of -max_value argument for long double.
8973 * sysdeps/i386/fpu/libm-test-ulps: Update.
8974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8975
6693d694
DM
89762012-05-06 David S. Miller <davem@davemloft.net>
8977
8978 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
8979 quad soft-float symbols whose references which are compiler
8980 generated.
8981 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
8982
6c23e11c
JM
89832012-05-06 Joseph Myers <joseph@codesourcery.com>
8984
d8b82cad
JM
8985 [BZ #13884]
8986 [BZ #13914]
8987 * sysdeps/i386/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 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
8997 e_expl.S.
8998 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
8999 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
9000 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9001 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
9002 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9003 USE_AS_EXP10L.
9004 (EXPL_FINITE): Likewise.
9005 (FLDLOG): Likewise.
9006 (c0): Likewise.
9007 (c1): Likewise.
9008 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
9009 Adjust comments for base varying.
9010 (__expl_finite): Change alias to EXPL_FINITE.
9011 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
9012 tests for bugs.
9013 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9014
6c23e11c
JM
9015 [BZ #14064]
9016 * math/libm-test.inc (check_float_internal): Correct ulp
9017 calculation for subnormal expected results.
9018
29ba805c
AJ
90192012-05-06 Andreas Jaeger <aj@suse.de>
9020
9021 * Makeconfig (+math-flags): New, set to -frounding-math.
9022 (+cflags): Add +math-flags so that all of glibc gets compiled with
9023 it.
9024
9025 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
9026
7b17aeda
JM
90272012-05-05 Joseph Myers <joseph@codesourcery.com>
9028
5779f134
JM
9029 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
9030 Disable one test.
9031
41498f4d
JM
9032 [BZ #13787]
9033 [BZ #13922]
9034 [BZ #14036]
9035 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
9036 (__ieee754_expl): Allow for and saturate large arguments.
9037 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
9038 (u_threshold): Likewise.
9039 (__exp): Call __ieee754_exp before checking for overflow and
9040 underflow.
9041 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
9042 (u_threshold): Likewise.
9043 (__expf): Call __ieee754_expf before checking for overflow and
9044 underflow.
9045 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
9046 (u_threshold): Likewise.
9047 (__expl): Call __ieee754_expl before checking for overflow and
9048 underflow.
9049 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
9050 (__ieee754_expl): Allow for and saturate large arguments.
9051 * math/libm-test.inc (exp_test): Add another test. Do not allow
9052 missing overflow exception on overflow.
9053 (expm1_test): Do not allow missing overflow exception on overflow.
9054
6698b8bf
JM
9055 * sysdeps/i386/fpu/e_expl.c: Move to ...
9056 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
9057 rather than using inline asm.
9058 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
9059 * sysdeps/x86_64/fpu/e_expl.S: Copy from
9060 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
9061
7b17aeda
JM
9062 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
9063 (nice): Likewise.
9064 (poll): Likewise.
9065 (signal): Likewise.
9066 (time): Likewise.
9067 (times): Likewise.
9068
f7c85819
JM
90692012-05-04 Joseph Myers <joseph@codesourcery.com>
9070
9071 * sysdeps/unix/syscalls.list (adjtime): Add entry from
9072 sysdeps/unix/common/syscalls.list.
9073 (fchmod): Likewise.
9074 (fchown): Likewise.
9075 (ftruncate): Likewise.
9076 (getrusage): Likewise.
9077 (gettimeofday): Likewise.
9078 (setpgid): Likewise.
9079 (setregid): Likewise.
9080 (setreuid): Likewise.
9081 (sigaction): Likewise.
9082 (truncate): Likewise.
9083 (vhangup): Likewise.
9084 * sysdeps/unix/common/syscalls.list: Remove file.
9085 * sysdeps/unix/bsd/Implies: Don't include unix/common.
9086 * sysdeps/unix/sysv/linux/Implies: Likewise.
9087
336270d0
L
90882012-05-04 H.J. Lu <hongjiu.lu@intel.com>
9089
9090 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
9091 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
9092 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
9093 Moved to ...
9094 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9095 Here.
9096 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
9097 to ...
9098 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
9099 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
9100 to ...
9101 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
9102 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
9103 to ...
9104 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
9105 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
9106 to ...
9107 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
9108 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
9109 to ...
9110 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
9111 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
9112 to ...
9113 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
9114 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
9115 to ...
9116 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
9117 Here.
9118 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
9119 to ...
9120 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
9121 Here.
9122 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
9123 to ...
9124 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
9125 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
9126 Moved to ...
9127 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
9128 Here.
9129 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
9130 to ...
9131 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
9132
d128e450
JM
91332012-05-04 Joseph Myers <joseph@codesourcery.com>
9134
fa8ee516
JM
9135 * sysdeps/unix/common/bits/dirent.h: Remove file.
9136 * sysdeps/unix/common/bits/fcntl.h: Likewise.
9137
d128e450
JM
9138 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
9139 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
9140 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
9141 * sysdeps/unix/bsd/isatty.c: Likewise.
9142 * sysdeps/unix/bsd/tcdrain.c: Likewise.
9143 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
9144 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
9145
ff8faaf0 91462012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 9147
62881be4 9148 [BZ #13563]
31dc8730
AZ
9149 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
9150 long double comparison inaccuracies.
9151 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9152 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9153
6fef930c
AS
91542012-05-04 Andreas Schwab <schwab@linux-m68k.org>
9155
9156 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
9157 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
9158
8f203e6c
JM
91592012-05-04 Joseph Myers <joseph@codesourcery.com>
9160
9161 [BZ #14049]
9162 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
9163 nonzero digits before rounding a hex value.
9164 * stdlib/tst-strtod.c (tests): Add another test.
9165
5197d9c2
AK
91662012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9167
9168 * sysdeps/s390/fpu/libm-test-ulps: Update.
9169
f0c1dedf
AJ
91702012-05-03 Andreas Jaeger <aj@suse.de>
9171
9172 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
9173 does not get optimized out.
9174 (malloc_opt_barrier): New.
9175
a65ef2ae 91762012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 9177 Roland McGrath <roland@hack.frob.com>
a65ef2ae 9178
2b942cb7 9179 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 9180 intermediate file deletion.
2b942cb7 9181 (generated): Add .symlist files.
a65ef2ae 9182
54b71e02
JM
91832012-05-03 Joseph Myers <joseph@codesourcery.com>
9184
9185 [BZ #13775]
9186 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
9187 Redirect under this condition.
9188 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9189 [__USE_GNU] (__dprintf_chk): Not under this condition.
9190 [__USE_GNU] (__vdprintf_chk): Likewise.
9191 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
9192 under this condition.
9193 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9194 [__USE_XOPEN2K8] (dprintf): Define under this condition.
9195 [__USE_XOPEN2K8] (vdprintf): Likewise.
9196 [__USE_GNU] (__dprintf_chk): Not under this condition.
9197 [__USE_GNU] (__vdprintf_chk): Likewise.
9198 [__USE_GNU] (dprintf): Likewise.
9199 [__USE_GNU] (vdprintf): Likewise.
9200
d3dfcc41
RM
92012012-05-03 Roland McGrath <roland@hack.frob.com>
9202
9203 * elf/Makefile (common-generated): Set this instead of generated for
9204 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
9205 $(all-built-dso)-derived lists.
9206
7ac30cc5
AJ
92072012-05-03 Andreas Jaeger <aj@suse.de>
9208
0c51e550
AJ
9209 * sysdeps/i386/fpu/libm-test-ulps: Update.
9210
7ac30cc5
AJ
9211 * FAQ: Removed.
9212 * FAQ.in: Likewise.
9213 * scripts/gen-FAQ.pl: Likewise.
9214 * manual/install.texi (Installation): Point to online location of
9215 FAQ.
9216 * Makefile (files-for-dist): Remove FAQ.
9217 (FAQ): Remove.
9218
d4c2917f
AM
92192012-05-02 Allan McRae <allan@archlinux.org>
9220
9221 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
9222 (LDFLAGS-reldepmod5.so): Likewise.
9223 (LDFLAGS-reldep6mod1.so): Likewise.
9224 (LDFLAGS-reldep6mod4.so): Likewise.
9225 (LDFLAGS-reldep8mod3.so): Likewise.
9226 (LDFLAGS-unload4mod1.so): Likewise.
9227 (LDFLAGS-unload4mod2.so): Likewise.
9228 (LDFLAGS-tst-initorder): Likewise.
9229 (LDFLAGS-tst-initordera2.so): Likewise.
9230 (LDFLAGS-tst-initordera3.so): Likewise.
9231 (LDFLAGS-tst-initordera4.so): Likewise.
9232 (LDFLAGS-tst-initorderb2.so): Likewise.
9233 (LDFLAGS-noload): Likewise.
9234 (LDFLAGS-next): Likewise.
9235 (LDFLAGS-order2mod1.so): Likewise.
9236 (LDFLAGS-order2mod2.so): Likewise.
9237 (LDFLAGS-tst-initorder2): Likewise.
9238 (LDFLAGS-tst-initorder2a.so): Likewise.
9239 (LDFLAGS-tst-initorder2b.so): Likewise.
9240 (LDFLAGS-tst-initorder2c.so): Likewise.
9241 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
9242
d77f993f
DM
92432012-05-02 David S. Miller <davem@davemloft.net>
9244
9245 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9246
171a70b4
PP
92472012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
9248
9249 [BZ #14055]
9250 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
9251
0be196ad
AJ
92522012-05-02 Andreas Jaeger <aj@suse.de>
9253
9254 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
9255 since we manipulate rounding mode.
9256 (CPPFLAGS-test-idouble.c): Likewise.
9257 (CPPFLAGS-test-ifloat.c): Likewise.
9258 (CFLAGS-test-ldouble.c): Likewise.
9259 (CFLAGS-test-double.c): Likewise.
9260 (CFLAGS-test-float.c): Likewise.
9261 (CFLAGS-test-misc.c): Likewise.
9262 (CFLAGS-test-test-fenv.c): Likewise.
9263
4f9d04aa
AZ
92642012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9265
2b942cb7
RM
9266 [BZ #2550]
9267 [BZ #2570]
9268 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
9269 comparisons to determine direction to adjust input.
4f9d04aa 9270
82a79e7d
RM
92712012-05-01 Roland McGrath <roland@hack.frob.com>
9272
f5a01ca9
RM
9273 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
9274 output to the target.
9275
90fe4186
RM
9276 * scripts/localplt.awk: New file.
9277 * elf/Makefile ($(objpfx)check-localplt): Target removed.
9278 (check-localplt-CFLAGS): Variable removed.
9279 ($(all-built-dso:=.jmprel)): New static pattern rule.
9280 (generated): Add those targets.
9281 (localplt-built-dso): New variable.
9282 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
9283
9284 * elf/check-localplt.c: File removed.
9285
82397ed6
RM
9286 * scripts/check-execstack.awk: New file.
9287 * elf/Makefile ($(objpfx)check-execstack): Target removed.
9288 (check-execstack-CFLAGS): Variable removed.
9289 ($(objpfx)check-execstack.h): Target removed.
9290 ($(objpfx)execstack-default): New target.
9291 (generated): Add that instead of check-execstack.h.
9292 ($(all-built-dso:=.phdr)): New static pattern rule.
9293 (generated): Add those targets.
9294 * elf/check-execstack.c: File removed.
9295
82a79e7d
RM
9296 * scripts/check-textrel.awk: New file.
9297 * elf/Makefile ($(objpfx)check-textrel): Target removed.
9298 (check-textrel-CFLAGS): Variable removed.
9299 (all-built-dso): Use := to define.o
9300 ($(all-built-dso:=.dyn)): New static pattern rule.
9301 (generated): Add those targets.
9302 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
9303 * config.make.in (READELF): New substituted variable.
9304 * elf/check-textrel.c: File removed.
9305
62fde54f 93062012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 9307
615605c9
JM
9308 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9309 allow.
9310 * conform/data/ctype.h-data [C99-based standards] (isblank):
9311 Expect function.
9312 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
9313 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
9314 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9315 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
9316 Specify type. Require positive value.
9317 (EILSEQ): Likewise.
9318 (ERANGE): Likewise.
9319 [ISO || POSIX] (EILSEQ): Do not expect.
9320 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
9321 Specify type. Require positive value.
9322 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
9323 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
9324 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
9325 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
9326 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
9327 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
9328 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
9329 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
9330 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
9331 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
9332 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
9333 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
9334 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
9335 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
9336 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
9337 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
9338 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
9339 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
9340 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
9341 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
9342 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
9343 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
9344 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
9345 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
9346 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
9347 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
9348 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
9349 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
9350 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
9351 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
9352 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
9353 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
9354 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
9355 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
9356 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
9357 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
9358 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
9359 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
9360 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
9361 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
9362 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
9363 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
9364 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
9365 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
9366 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
9367 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
9368 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
9369 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
9370 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
9371 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
9372 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
9373 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
9374 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
9375 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
9376 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
9377 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
9378 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
9379 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
9380 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
9381 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
9382 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
9383 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
9384 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
9385 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
9386 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
9387 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
9388 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
9389 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
9390 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
9391 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
9392 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
9393 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
9394 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
9395 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
9396 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
9397 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
9398 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
9399 Require >= 2.
9400 (FLT_ROUNDS): Expect as macro, not constant.
9401 (FLT_MANT_DIG): Use macro-int-constant.
9402 (DBL_MANT_DIG): Likewise.
9403 (LDBL_MANT_DIG): Likewise.
9404 (FLT_DIG): Likewise.
9405 (DBL_DIG): Likewise.
9406 (LDBL_DIG): Likewise.
9407 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
9408 (DBL_MIN_EXP): Likewise.
9409 (LDBL_MIN_EXP): Likewise.
9410 (FLT_MAX_EXP): Use macro-int-constant.
9411 (DBL_MAX_EXP): Likewise.
9412 (LDBL_MAX_EXP): Likewise.
9413 (FLT_MAX_10_EXP): Likewise.
9414 (DBL_MAX_10_EXP): Likewise.
9415 (LDBL_MAX_10_EXP): Likewise.
9416 (FLT_MAX): Use macro-constant.
9417 (DBL_MAX): Likewise.
9418 (LDBL_MAX): Likewise.
9419 (FLT_EPSILON): Use macro-constant. Give upper bound.
9420 (DBL_EPSILON): Likewise.
9421 (LDBL_EPSILON): Likewise.
9422 (FLT_MIN): Likewise.
9423 (DBL_MIN): Likewise.
9424 (LDBL_MIN): Likewise.
9425 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
9426 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
9427 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
9428 [ISO11] (FLT_HAS_SUBNORM): Likewise.
9429 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
9430 [ISO11] (DBL_DECIMAL_DIG): Likewise.
9431 [ISO11] (FLT_DECIMAL_DIG): Likewise.
9432 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
9433 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
9434 [ISO11] (FLT_TRUE_MIN): Likewise.
9435 [ISO11] (LDBL_TRUE_MIN): Likewise.
9436 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9437 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
9438 (SCHAR_MIN): Use macro-int-constant. Specify type.
9439 (SCHAR_MAX): Likewise.
9440 (UCHAR_MAX): Likewise.
9441 (CHAR_MIN): Likewise.
9442 (CHAR_MAX): Likewise.
9443 (MB_LEN_MAX): Use macro-int-constant.
9444 (SHRT_MIN): Use macro-int-constant. Specify type.
9445 (SHRT_MAX): Likewise.
9446 (USHRT_MAX): Likewise.
9447 (INT_MAX): Likewise.
9448 (INT_MIN): Use macro-int-constant. Specify type. Make upper
9449 bound negative.
9450 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
9451 bound with "U".
9452 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
9453 bound with "L".
9454 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
9455 bound negative. Suffix upper bound with "L".
9456 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
9457 bound with "UL".
9458 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
9459 Specify type.
9460 [C99-based standards] (LLONG_MAX): Likewise.
9461 [C99-based standards] (ULLONG_MAX): Likewise.
9462 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
9463 == 0.
9464 [ISO11] (max_align_t): Require type.
9465 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9466
c9140a62
JM
9467 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
9468 from $CFLAGS, without defining away __attribute__ calls.
9469 (checknamespace): Use $CFLAGS_namespace.
9470
9af0bf29
JM
9471 * conform/conformtest.pl (@keywords): Only include C99 keywords
9472 for standards based on C99 or C11.
9473
343222a2
JM
9474 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
9475 Disable tests.
9476 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
9477 UNIX98]: Likewise.
9478
661f8cf0
JM
9479 * conform/conformtest.pl: Handle "macro-int-constant" and test for
9480 usability of symbols in #if.
9481
ee74b9cb
JM
9482 * conform/conformtest.pl: If macro or constant types start
9483 "promoted:", expect the symbol to be of the following type
9484 promoted by the integer promotions.
62fde54f 9485
aafc49b3
JM
9486 * conform/conformtest.pl: Parse all "constant" and "macro" lines
9487 in one place. Also handle "macro-constant".
9488
fefdf574
JM
9489 * conform/conformtest.pl: Only accept expected macro values with
9490 "==". Parse all "macro" lines in one place.
9491 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
9492
f2d922fe
JM
9493 * conform/conformtest.pl: Handle braced types on "constant" lines
9494 instead of handling "typed-constant".
9495 * conform/data/signal.h-data: Use "constant" instead of
9496 "typed-constant".
9497
d22956c9
JM
9498 * conform/conformtest.pl: Handle "optional-" at start of lines in
9499 one place rather than duplicating several cases. Handle each
9500 format of "macro" line with initial "optional-".
9501
028e2e38
JM
9502 * conform/conformtest.pl: Only accept expected constant or
9503 optional-constant values with "==". Parse all "constant" lines in
9504 one place. Parse all "optional-constant" lines in one place.
9505 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
9506 * conform/data/fmtmsg.h-data: Likewise.
9507 * conform/data/netinet/in.h-data: Likewise.
9508 * conform/data/tar.h-data: Likewise.
9509 * conform/data/limits.h-data: Use "==" form on "constant" and
9510 "optional-constant" lines.
9511
1b8f2850
JM
9512 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
9513 Use -std=c99 for XOPEN2K.
9514 (@knownproblems): Remove.
9515 (newtoken): Don't check %isknown.
9516
a05a144b
JM
9517 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
9518 Do not expect macro.
9519 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
9520 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
9521 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
9522 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
9523 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
9524 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
9525 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
9526 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
9527 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
9528 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
9529 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
9530 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
9531 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
9532 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
9533 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
9534 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
9535 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
9536 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
9537 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
9538 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
9539 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
9540 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
9541 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
9542 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
9543 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
9544 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
9545 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
9546 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
9547 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
9548 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
9549 [XPG3] (acosh): Likewise.
9550 [XPG3] (asinh): Likewise.
9551 [XPG3] (atanh): Likewise.
9552 [XPG3] (cbrt): Likewise.
9553 [XPG3] (expm1): Likewise.
9554 [XPG3] (ilogb): Likewise.
9555 [XPG3] (log1p): Likewise.
9556 [XPG3] (logb): Likewise.
9557 [XPG3] (nextafter): Likewise.
9558 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
9559 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
9560 [XPG3] (remainder): Likewise.
9561 [XPG3] (rint): Likewise.
9562 [XPG3 || XPG4 || UNIX98] (round): Likewise.
9563 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
9564 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
9565 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
9566 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
9567 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
9568 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
9569 [UNIX98 || XOPEN2K] (scalb): Expect.
9570 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
9571 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
9572 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
9573 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
9574 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
9575 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
9576 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
9577 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
9578 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
9579 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
9580 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
9581 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
9582 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
9583 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
9584 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
9585 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
9586 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
9587 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
9588 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
9589 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
9590 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
9591 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
9592 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
9593 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
9594 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
9595 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
9596 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
9597 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
9598 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
9599 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
9600 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
9601 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
9602 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
9603 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
9604 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
9605 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
9606 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
9607 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
9608 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
9609 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
9610 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
9611 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
9612 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
9613 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
9614 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
9615 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
9616 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
9617 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
9618 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
9619 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
9620 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
9621 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
9622 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
9623 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
9624 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
9625 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
9626 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
9627 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
9628 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
9629 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
9630 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
9631 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
9632 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
9633 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
9634 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
9635 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
9636 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
9637 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
9638 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
9639 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
9640 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
9641 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
9642 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
9643 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
9644 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
9645 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
9646 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
9647 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
9648 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
9649 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
9650 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
9651 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
9652 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
9653 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
9654 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
9655 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
9656 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
9657 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
9658 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
9659 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
9660 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
9661 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
9662 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
9663 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
9664 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
9665 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
9666 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
9667 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
9668 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
9669 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
9670 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
9671 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
9672 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
9673 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
9674 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
9675 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
9676 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
9677 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
9678 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
9679 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
9680 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
9681 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
9682 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
9683 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
9684 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
9685 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
9686 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
9687 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
9688 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
9689 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
9690 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
9691 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
9692 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
9693 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
9694 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
9695 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
9696 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
9697 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
9698 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
9699 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
9700 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
9701 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
9702 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
9703 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
9704 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
9705 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
9706 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
9707
73c5ebe3
JM
9708 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
9709 _XOPEN_SOURCE_EXTENDED for XPG4.
9710
39c33b6c
JM
9711 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
9712
62fde54f
JM
9713 * Makeconfig (localtime): Remove variable.
9714 (inst_localtime-file): Likewise.
9715
0741d64c
AS
97162012-05-01 Andreas Schwab <schwab@linux-m68k.org>
9717
9718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
9719 Update.
9720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9721 Update.
9722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
9723 Update.
9724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9725 Update.
9726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
9727 Update.
9728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
9729 Update.
9730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9731 Update.
9732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
9733 Update.
9734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9735 Update.
9736
7cb029ee
JM
97372012-05-01 Joseph Myers <joseph@codesourcery.com>
9738
9739 [BZ #2550]
9740 [BZ #2570]
9741 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
9742 comparisons to determine direction to adjust input.
9743 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
9744 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
9745 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
9746 Likewise.
9747 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
9748 Likewise.
9749 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9750 Likewise.
9751 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
9752 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
9753 Likewise.
9754 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
9755 Likewise.
9756 * math/libm-test.inc (nexttoward_test): Add more tests.
9757
412bd966
AS
97582012-05-01 Andreas Schwab <schwab@linux-m68k.org>
9759
9760 [BZ #14040]
9761 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
9762 in version GLIBC_2.1, not GLIBC_2.0.
9763 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
9764 Likewise.
9765
9568c0c2
JM
97662012-04-30 Joseph Myers <joseph@codesourcery.com>
9767
adfbc8ac
JM
9768 [BZ #13942]
9769 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
9770 (1 - x) * (1 + x).
9771 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
9772 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
9773 * math/libm-test.inc (acos_test): Add more tests.
9774 (asin_test): Likewise.
9775 * sysdeps/i386/fpu/libm-test-ulps: Update.
9776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9777
5ba3cc69
JM
9778 [BZ #14034]
9779 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
9780 of square root.
9781 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
9782 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
9783 * math/libm-test.inc (acos_test_tonearest): New function.
9784 (acos_test_towardzero): Likewise.
9785 (acos_test_downward): Likewise.
9786 (acos_test_upward): Likewise.
9787 (asin_test_tonearest): Likewise.
9788 (asin_test_towardzero): Likewise.
9789 (asin_test_downward): Likewise.
9790 (asin_test_upward): Likewise.
9791 (main): Call the new functions.
9792 * sysdeps/i386/fpu/libm-test-ulps: Update.
9793 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9794
9568c0c2
JM
9795 [BZ #13884]
9796 [BZ #13924]
9797 * math/e_exp10.c: Include <float.h>.
9798 (__ieee754_exp10): Handle underflow here rather than multiplying
9799 large negative argument by M_LN10.
9800 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
9801 of __ieee754_expf.
9802 * math/e_exp10l.c: Include <float.h>.
9803 (__ieee754_exp10l): Handle underflow here rather than multiplying
9804 large negative argument by M_LN10l.
9805 * math/libm-test.inc (exp10_test): Add another test. Do not allow
9806 spurious overflow exception on underflow.
9807
5ac3ea17
MP
98082012-04-29 Marek Polacek <polacek@redhat.com>
9809
9810 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
9811 (__fortify_function): New macro.
9812 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
9813 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
9814 __extern_always_inline.
9815 * libio/bits/stdio2.h: Likewise.
9816 * libio/bits/stdio.h: Likewise.
9817 * string/string.h: Likewise.
9818 * string/bits/string3.h: Likewise.
9819 * include/stdio.h: Likewise.
9820 * stdlib/bits/stdlib.h: Likewise.
9821 * stdlib/stdlib.h: Likewise.
9822 * rt/bits/mqueue2.h: Likewise.
9823 * rt/mqueue.h: Likewise.
9824 * posix/bits/unistd.h: Likewise.
9825 * posix/unistd.h: Likewise.
9826 * io/bits/poll2.h: Likewise.
9827 * io/bits/fcntl2.h: Likewise.
9828 * io/fcntl.h: Likewise.
9829 * io/sys/poll.h: Likewise.
9830 * misc/bits/syslog.h: Likewise.
9831 * misc/bits/syslog-ldbl.h: Likewise.
9832 * misc/sys/syslog.h: Likewise.
9833 * socket/bits/socket2.h: Likewise.
9834 * socket/sys/socket.h: Likewise.
9835 * debug/tst-chk1.c: Likewise.
9836 * wcsmbs/bits/wchar2.h: Likewise.
9837 * wcsmbs/bits/wchar-ldbl.h: Likewise.
9838 * wcsmbs/wchar.h: Likewise.
9839
ecf0ebfb
AJ
98402012-04-29 Andreas Jaeger <aj@suse.de>
9841
9842 * Makerules (tests): Remove enable-check-abi protection.
9843 (check-abi-warn): Remove.
9844 (check-abi-%): Remove check-abi-warn usage.
9845
9846 * configure.in: Remove check-abi configure option.
9847 * configure: Regenerated.
9848 * config.make.in (enable-check-abi): Remove.
9849
6d5c57fa
AS
98502012-04-28 Andreas Schwab <schwab@linux-m68k.org>
9851
24c5d07e 9852 [BZ #14033]
ded5180a
AS
9853 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
9854 double functions to double *_finite functions.
9855
7e0d315d
AS
9856 [BZ #13941]
9857 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
9858 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
9859 LDBL_MIN_EXP.
9860 * stdio-common/Makefile (tests): Add tst-sprintf3.
9861 * stdio-common/tst-sprintf3.c: New file.
9862
6d5c57fa
AS
9863 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
9864 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
9865
0749ff8b
JM
98662012-04-28 Joseph Myers <joseph@codesourcery.com>
9867
9868 * conform/conformtest.pl: Remove duplicate typed-constant
9869 handling.
9870
8dbd5d7b
DM
98712012-04-28 David S. Miller <davem@davemloft.net>
9872
9873 * Makerules (%.abilist): Add vpath on sysdep_dirs.
9874 (check-abi-%): Remove AWK script prerequisite and explicit
9875 abilist directory.
9876 (check-abi): Rewrite to just diff the symlist with the abilist.
9877 (config-tls, config-abi-config): Delete, no longer used.
9878 (update-abi-%): Remove AWK script and explicit abilist directory.
9879 (update-abi): Rewrite to simply compare and conditionally copy the
9880 symlist and the sysdep abilist file. Remove update-abi-config
9881 checks.
9882 * abilist/ld.abilist: Remove.
9883 * abilist/libBrokenLocale.abilist: Remove.
9884 * abilist/libanl.abilist: Remove.
9885 * abilist/libcrypt.abilist: Remove.
9886 * abilist/libdl.abilist: Remove.
9887 * abilist/librt.abilist: Remove.
9888 * abilist/libthread_db.abilist: Remove.
9889 * abilist/libutil.abilist: Remove.
9890 * scripts/extract-abilist.awk: Remove.
9891 * scripts/merge-abilist.awk: Remove.
9892 * sysdeps/generic/libcidn.abilist: New file.
9893 * sysdeps/generic/libnss_compat.abilist: New file.
9894 * sysdeps/generic/libnss_db.abilist: New file.
9895 * sysdeps/generic/libnss_dns.abilist: New file.
9896 * sysdeps/generic/libnss_files.abilist: New file.
9897 * sysdeps/generic/libnss_hesiod.abilist: New file.
9898 * sysdeps/generic/libnss_nis.abilist: New file.
9899 * sysdeps/generic/libnss_nisplus.abilist: New file.
9900 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
9901 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
9902 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
9903 file.
9904 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
9905 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
9906 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
9907 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
9908 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
9909 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
9910 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
9911 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
9912 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
9913 file.
9914 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
9915 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
9916 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
9917 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
9918 file.
9919 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
9920 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
9921 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
9922 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
9923 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
9924 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
9925 file.
9926 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
9927 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
9928 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
9929 file.
9930 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
9931 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
9932 New file.
9933 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
9934 New file.
9935 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
9936 New file.
9937 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
9938 New file.
9939 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
9940 New file.
9941 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
9942 New file.
9943 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
9944 New file.
9945 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
9946 New file.
9947 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
9948 New file.
9949 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
9950 New file.
9951 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
9952 New file.
9953 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
9954 New file.
9955 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
9956 New file.
9957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
9958 file.
9959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
9960 New file.
9961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
9962 New file.
9963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
9964 file.
9965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
9966 New file.
9967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
9968 New file.
9969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
9970 file.
9971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
9972 New file.
9973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9974 New file.
9975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
9976 New file.
9977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
9978 New file.
9979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
9980 New file.
9981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
9982 New file.
9983 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
9984 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
9985 file.
9986 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
9987 New file.
9988 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
9989 file.
9990 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
9991 file.
9992 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
9993 file.
9994 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
9995 file.
9996 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
9997 file.
9998 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9999 New file.
10000 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
10001 file.
10002 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
10003 file.
10004 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10005 New file.
10006 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
10007 file.
10008 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
10009 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
10010 file.
10011 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10012 New file.
10013 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
10014 file.
10015 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
10016 file.
10017 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
10018 file.
10019 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
10020 file.
10021 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
10022 file.
10023 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10024 New file.
10025 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
10026 file.
10027 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
10028 file.
10029 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10030 New file.
10031 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
10032 file.
10033 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10034 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
10035 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
10036 file.
10037 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
10038 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
10039 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
10040 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
10041 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
10042 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
10043 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
10044 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
10045 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
10046 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
10047 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
10048 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
10049 file.
10050 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10051 New file.
10052 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
10053 file.
10054 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
10055 file.
10056 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
10057 file.
10058 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
10059 file.
10060 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
10061 file.
10062 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10063 New file.
10064 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10065 New file.
10066 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
10067 file.
10068 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10069 New file.
10070 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
10071 file.
10072 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
10073 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
10074 file.
10075 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10076 New file.
10077 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
10078 file.
10079 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
10080 file.
10081 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
10082 file.
10083 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
10084 file.
10085 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
10086 file.
10087 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10088 New file.
10089 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10090 New file.
10091 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
10092 file.
10093 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10094 New file.
10095 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
10096 file.
10097
41d73a1b
JM
100982012-04-28 Joseph Myers <joseph@codesourcery.com>
10099
10100 * conform/conformtest.pl: Fix typo in handling typed-constant from
10101 allow-header.
10102
28aeeda4
JM
101032012-04-27 Joseph Myers <joseph@codesourcery.com>
10104
adae8f5e
JM
10105 * README: Cut down references to pre-2.6 Linux kernels and
10106 Linuxthreads. Update lists of configurations in libc and ports
10107 and sort alphabetically. Say "or newer" with Linux kernel version
10108 requirements.
10109
28aeeda4
JM
10110 * config.h.in [IS_IN_build]: Allow compiling without optimization.
10111
a462cb63
RA
101122012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10113
10114 [BZ #887]
10115 * math/libm-test.inc (logb_test_downward): New test to expose
10116 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
10117 rounding mode.
10118
6ad3493e
JM
101192012-04-27 Joseph Myers <joseph@codesourcery.com>
10120
10121 [BZ #14027]
10122 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
10123 to be done.
10124 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
10125 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
10126
2ce4f015
JM
101272012-04-26 Joseph Myers <joseph@codesourcery.com>
10128
5aeb141a
JM
10129 * sysdeps/unix/i386/brk.S: Remove file.
10130 * sysdeps/unix/i386/dl-brk.S: Likewise.
10131 * sysdeps/unix/i386/pipe.S: Likewise.
10132 * sysdeps/unix/i386/sigreturn.S: Likewise.
10133 * sysdeps/unix/i386/syscall.S: Likewise.
10134 * sysdeps/unix/i386/vfork.S: Likewise.
10135 * sysdeps/unix/i386/wait.S: Likewise.
10136
7143acae
JM
10137 * sysdeps/unix/common/tcsendbrk.c: Move to ...
10138 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
10139
2ce4f015
JM
10140 * configure.in (arm*-none*): Do not allow without
10141 --enable-hacker-mode.
10142 (netbsd*): Remove case setting base_os.
10143 (386bsd*): Likewise.
10144 (freebsd*): Likewise.
10145 (bsdi*): Likewise.
10146 (osf*): Likewise.
10147 (sunos*): Likewise.
10148 (ultrix*): Likewise.
10149 (newsos*): Likewise.
10150 (dynix*): Likewise.
10151 (*bsd*): Likewise.
10152 (sysv*): Likewise.
10153 (isc*): Likewise.
10154 (esix*): Likewise.
10155 (sco*): Likewise.
10156 (minix*): Likewise.
10157 (irix4*): Likewise.
10158 (irix6*): Likewise.
10159 (solaris[2-9]*): Likewise.
10160 (none): Likewise.
10161 * configure: Regenerated.
10162
0ac229c8
AZ
101632012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10164
10165 [BZ #11521]
10166 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
10167 overflow or cancellation in calculating denominator.
10168 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
10169 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
10170 down expression to avoid unexpected rounding in newer GCCs.
10171 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
10172
33f244f4
DM
101732012-04-26 David S. Miller <davem@davemloft.net>
10174
10175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
10176 long-double compat symbols.
10177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
10181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10182 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
10183 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
10184 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
10185 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
10186 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
10187 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
10188 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
10189 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10190
cfa1f3e8
DM
101912012-04-25 David S. Miller <davem@davemloft.net>
10192
10193 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
10194 HWCAP_* values only after the memory barriers have been defined.
10195 (atomic_full_barrier): Define.
10196 (atomic_read_barrier): Define.
10197 (atomic_write_barrier): Define.
10198
6e236b92
SP
101992012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10200
10201 * shlib-versions: Add libgcc_s version information.
10202 * sysdeps/generic/libgcc_s.h: Remove.
10203 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
10204 libgcc_s.h.
10205 * sysdeps/gnu/unwind-resume.c: Likewise.
10206 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
10207
aab39a09
DM
102082012-04-25 David S. Miller <davem@davemloft.net>
10209
10210 * sysdeps/unix/sparc/brk.S: Delete.
10211 * sysdeps/unix/sparc/dl-brk.S: Delete.
10212 * sysdeps/unix/sparc/pipe.S: Delete.
10213 * sysdeps/unix/sparc/sysdep.S: Delete.
10214 * sysdeps/unix/sparc/sysdep.h: Delete.
10215 * sysdeps/unix/sparc/vfork.S: Delete.
10216 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
10217 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
10218 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
10219 ret_ERRVAL, r0, r1, MOVE): Define.
10220 (JUMPTARGET): Remove.
10221 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
10222 sysdeps/unix/sparc/sysdep.h
10223 (ENTRY, END): Remove.
10224 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10225
a3cc4f48
JM
102262012-04-25 Joseph Myers <joseph@codesourcery.com>
10227
2ed8cda2
JM
10228 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
10229 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
10230 -DIS_IN_build.
10231
35d76d59
JM
10232 * timezone/README: Update upstream location and email address for
10233 tzcode and tzdata.
10234 * timezone/zdump.c: Update from tzcode 2012b.
10235 * timezone/zic.c: Likewise.
10236
a3cc4f48
JM
10237 * configure.in (libc_cv_as_needed): Remove test.
10238 * configure: Regenerated.
10239 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
10240 conditional definition.
10241 [$(have-as-needed) != yes] (no-as-needed): Likewise.
10242 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
10243 * config.make.in (have-as-needed): Remove variable.
10244
ceab42c3
SP
102452012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10246 Paul Pluzhnikov <ppluzhnikov@google.com>
10247
10248 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
10249 strings correctly.
10250
3ce2865f
CLT
102512012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
10252
10253 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
10254 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
10255 * sysdeps/sh/strlen.S: Likewise.
10256
f37e0d68
JM
102572012-04-24 Joseph Myers <joseph@codesourcery.com>
10258
ae186e9a
JM
10259 * sysdeps/unix/fork.S: Remove file.
10260 * sysdeps/unix/i386/fork.S: Likewise.
10261 * sysdeps/unix/sparc/fork.S: Likewise.
10262
b96914af
JM
10263 * sysdeps/unix/system.c: Remove file.
10264 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
10265
f37e0d68
JM
10266 * sysdeps/unix/getegid.S: Remove file.
10267 * sysdeps/unix/geteuid.S: Likewise.
10268
87ef29ca
RM
102692012-04-24 Roland McGrath <roland@hack.frob.com>
10270
83bcd236
RM
10271 * scripts/check-localplt.awk: New file.
10272 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
10273 of diff.
10274 * scripts/data/localplt-generic.data: Add a comment.
10275
87ef29ca
RM
10276 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
10277 NODE when __dir_mkfile failed.
10278 * sysdeps/mach/hurd/symlinkat.c: Likewise.
10279 Reported by Ludovic Courtès <ludo@gnu.org>.
10280
e5a6e567
AJ
102812012-04-24 Andreas Jaeger <aj@suse.de>
10282
10283 * Makerules (common-clean): Also remove gen-as-const-headers
10284 files.
10285
c1820385
JM
102862012-04-24 Joseph Myers <joseph@codesourcery.com>
10287
10288 * Makerules (native-compile): Do not change working directory for
10289 build. Use $(OUTPUT_OPTION) in command.
10290 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
10291
94e02fc4
AZ
102922012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10293
10294 [BZ #13886]
10295 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
10296 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
10297 * math/libm-test.inc (floor_test): Add more tests.
10298 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
10299
3a533ca3
JM
103002012-04-24 Joseph Myers <joseph@codesourcery.com>
10301
940ab4b3
JM
10302 * sysdeps/unix/getdents.c: Remove file.
10303 * sysdeps/unix/sysv/getdents.c: Likewise.
10304 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
10305
90e037bd
JM
10306 * sysdeps/unix/syscalls.list (madvise): Add syscall from
10307 sysdeps/unix/mman/syscalls.list.
10308 (mmap): Likewise.
10309 (mprotect): Likewise.
10310 (msync): Likewise.
10311 (munmap): Likewise.
10312 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
10313 * sysdeps/unix/mman/syscalls.list: Remove.
10314 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
10315
3a533ca3
JM
10316 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
10317 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
10318 * configure: Regenerated.
10319 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
10320 $(libgcc_s_suffix).
10321 * config.make.in (libgcc_s_suffix): Remove variable.
10322
1ad743de
JM
103232012-04-23 Joseph Myers <joseph@codesourcery.com>
10324
4ad451e2
JM
10325 * sysdeps/unix/sysv/gethostname.c: Move to ...
10326 * sysdeps/posix/gethostname.c: ... here.
10327
5e37ce39
JM
10328 * sysdeps/unix/execve.S: Remove file.
10329
1ad743de
JM
10330 * sysdeps/unix/_exit.S: Remove file.
10331
4e681b5b
AJ
103322012-04-23 Andreas Jaeger <aj@suse.de>
10333
10334 [BZ #13739]
10335 * manual/Makefile: Remove make dist support, there's no
10336 need for a stand-alone documentation tar ball.
10337 (TEXI2DVI): Define always, it's not in Makeconfig.
10338 (dist): Removed.
10339 (tar-it): Removed.
10340 (edition): Removed.
10341 (glibc-doc-$(edition).tar): Removed
10342 (%.Z): Removed.
10343 (%.gz): Removed.
10344 (%.uu): Removed.
10345 (ETAGS): Remove, it's in Makeconfig.
10346 (move-if-change): Remove, it's in Makeconfig.
10347
c0baea34
PE
103482013-04-23 Paul Eggert <eggert@cs.ucla.edu>
10349
10350 [BZ #13970]
10351 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
10352 (strtod, strtof, strtold, strtol, strtoul, strtoq)
10353 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
10354 (strtod_l, strtof_l, strtold_l): Remove __wur.
10355 It is not necessarily an error to ignore strtol's return value.
10356 One can reliably look at the stored endptr to decide whether
10357 the number had valid syntax.
10358
7c0616fa
AJ
103592012-04-21 Andreas Jaeger <aj@suse.de>
10360
803cb6b7 10361 [BZ #13739]
7c0616fa
AJ
10362 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
10363
b0fe253f
JM
103642012-04-21 Joseph Myers <joseph@codesourcery.com>
10365
10366 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
10367 * sysdeps/unix/sysv/Versions: Remove file.
10368
8280f22d
MT
103692012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
10370
10371 [BZ #13927]
10372 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10373
75ce411f 103742012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
10375
10376 [BZ #7064]
10377 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
10378 version from __vm86.
10379
097d59fa
JM
103802012-04-20 Joseph Myers <joseph@codesourcery.com>
10381
a90f3bcb
JM
10382 * sysdeps/unix/common/lxstat.c: Remove file.
10383 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
10384
edc7ea78
JM
10385 * sysdeps/unix/sysv/Makefile: Remove file.
10386
cb78c221
JM
10387 * sysdeps/unix/sysv/direct.h: Remove file.
10388
efa6a45f
JM
10389 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
10390 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
10391 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
10392 * sysdeps/unix/sysv/bits/signum.h: Likewise.
10393 * sysdeps/unix/sysv/bits/stat.h: Likewise.
10394 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
10395 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
10396
9c9f2d0c
JM
10397 * sysdeps/unix/sysv/setrlimit.c: Remove file.
10398
4541c83b
JM
10399 * sysdeps/unix/xmknod.c: Remove file.
10400 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
10401
f5d153a0
JM
10402 * sysdeps/unix/sysv/settimeofday.c: Remove file.
10403
aa746595
JM
10404 * sysdeps/unix/sysv/i386/time.S: Remove file.
10405
cce5905e
JM
10406 * sysdeps/unix/fxstat.c: Remove file.
10407 * sysdeps/unix/xstat.c: Likewise.
10408 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
10409
37fa3841
JM
10410 * sysdeps/unix/sysv/sigaction.c: Remove file.
10411
ff1962a3
JM
10412 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
10413 (sysdep_headers): Remove variable.
10414 [termio.h not in sysdep_headers] (generated): Likewise.
10415 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
10416 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
10417 * sysdeps/unix/sysv/tcdrain.c: Likewise.
10418 * sysdeps/unix/sysv/tcflow.c: Likewise.
10419 * sysdeps/unix/sysv/tcflush.c: Likewise.
10420 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
10421 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
10422 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
10423 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
10424 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
10425
e7740d31
JM
10426 * sysdeps/unix/siglist.c: Remove file.
10427
ee06f18b
JM
10428 * sysdeps/unix/getppid.S: Remove file.
10429
097d59fa
JM
10430 * sysdeps/unix/mkdir.c: Remove file.
10431 * sysdeps/unix/rmdir.c: Likewise.
10432
ff3d51ec
AS
104332012-04-19 Andreas Schwab <schwab@linux-m68k.org>
10434
10435 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
10436 ERR_MAX value.
10437 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
10438 errlist-compat value.
10439
50f81fd7
DM
104402012-04-18 David S. Miller <davem@davemloft.net>
10441
10442 * sysdeps/generic/memcopy.h (reg_char): Delete.
10443 * debug/strcat_chk.c: Use char, not reg_char.
10444 * debug/strcpy_chk.c: Likewise.
10445 * debug/strncat_chk.c: Likewise.
10446 * debug/strncpy_chk.c: Likewise.
10447 * string/memchr.c: Likewise.
10448 * string/memrchr.c: Likewise.
10449 * string/rawmemchr.c: Likewise.
10450 * string/strcat.c: Likewise.
10451 * string/strchr.c: Likewise.
10452 * string/strchrnul.c: Likewise.
10453 * string/strcmp.c: Likewise.
10454 * string/strcpy.c: Likewise.
10455 * string/strncat.c: Likewise.
10456 * string/strncmp.c: Likewise.
10457 * string/strncpy.c: Likewise.
10458
8ff41c46
WS
104592012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10460
10461 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
10462 __builtin_memcopy is called when src and dest ranges are known to not
10463 overlap.
10464
6b652f46
WS
104652012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10466
10467 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
10468 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
10469 fwd_align_merge macro call.
10470 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
10471 bwd_align_merge macro call.
10472 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
10473
b282631e
WS
104742012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10475
10476 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
10477 bwd_align_merge macros.
10478 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
10479 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
10480 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
10481
95aa737c
DM
104822012-04-18 David S. Miller <davem@davemloft.net>
10483
10484 * sysdeps/sparc/sparc64/memcopy.h: Delete.
10485
7a99a614
AJ
104862012-04-18 Andreas Jaeger <aj@suse.de>
10487
10488 [BZ# 6794]
10489 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
10490 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
10491 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10492
10493 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
10494 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
10495 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10496
10497 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
10498 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
10499 Adjust for changed ldbl-128 files.
10500
10501 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
10502 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
10503 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10504
e5270c23
DM
105052012-04-17 David S. Miller <davem@davemloft.net>
10506
10507 * sysdeps/sparc/sparc32/memcopy.h: Delete.
10508
fb5e92c9
AS
105092012-04-17 Andreas Schwab <schwab@linux-m68k.org>
10510
10511 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
10512 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
10513 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
10514 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
10515 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10516 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
10517
76da7265
AZ
105182012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10519
10520 [BZ #6794]
10521 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
10522 * math/libm-test.inc: Add ilogb errno and exception tests.
10523 * math/w_ilogb.c: New file: ilogb wrapper.
10524 * math/w_ilogbf.c: New file: ilogbf wrapper.
10525 * math/w_ilogbl.c: New file: ilogbl wrapper.
10526 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
10527 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
10528 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
10529 exception being thrown with 0.0 as argument.
10530 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
10531 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
10532 exception being thrown with 0.0 as argument.
10533 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
10534 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
10535 exception being thrown with 0.0 as argument.
10536 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
10537 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
10538 exception being thrown with 0.0 as argument.
10539 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
10540 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 10541 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
10542 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
10543 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
10544 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
10545 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
10546 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
10547 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
10548
0396e69d
PB
105492012-04-17 Petr Baudis <pasky@ucw.cz>
10550
10551 * include/sys/uio.h: Change __vector to __iovec to avoid clash
10552 with altivec.
10553
750b5926
MP
105542012-04-16 Marek Polacek <polacek@redhat.com>
10555
10556 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
10557
751728a1
MP
105582012-04-16 Marek Polacek <polacek@redhat.com>
10559
10560 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
10561 operands of fdivp instruction.
10562
34a27407
L
105632012-04-13 H.J. Lu <hongjiu.lu@intel.com>
10564
10565 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
10566 * elf/tst-auditmod3b.c: Likewise.
10567 * elf/tst-auditmod4b.c: Likewise.
10568 * elf/tst-auditmod5b.c: Likewise.
10569 * elf/tst-auditmod6b.c: Likewise.
10570 * elf/tst-auditmod6c.c: Likewise.
10571 * elf/tst-auditmod7b.c: Likewise.
10572 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
10573 * sysdeps/x86_64/preconfigure.in: Likewise.
10574 * sysdeps/x86_64/preconfigure: Regenerated.
10575
7e73e17d
L
105762012-04-13 H.J. Lu <hongjiu.lu@intel.com>
10577
10578 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
10579 __ILP32__.
10580
c7a6ab72
AB
105812012-04-13 Antoine Balestrat <merkil33@gmail.com>
10582
10583 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10584 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
10585
a9e8e0e0
CL
105862012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
10587
10588 [BZ #13973]
10589 * locale/iso-639.def: Fix gl language name. Spotted by
10590 Yaron Shahrabani.
10591
ec98af7d
RM
105922012-04-12 Roland McGrath <roland@hack.frob.com>
10593
10594 [BZ #2074]
10595 * libio/libio.h (__io_write_fn): Update comment.
10596
247c3ede
PB
105972012-04-12 Petr Baudis <pasky@ucw.cz>
10598
10599 [BZ #2074]
10600 * stdio.texi (Hook Functions): The user provided writer function
10601 is not allowed to return -1.
10602
55939d6d
DM
106032012-04-11 David S. Miller <davem@davemloft.net>
10604
10605 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10606
90020f5a
MF
106072012-04-11 Mike Frysinger <vapier@gentoo.org>
10608
10609 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
10610 Add a leading slash to rtkaio.
10611
288f9098
JM
106122012-04-11 Jim Meyering <meyering@redhat.com>
10613
90020f5a
MF
10614 [BZ #11959]
10615 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
10616 It is not necessarily an error to ignore fwrite's return
10617 value. One can reliably use ferror to test for errors after
10618 the fact.
288f9098 10619
4be2b570
L
106202012-04-10 H.J. Lu <hongjiu.lu@intel.com>
10621
10622 * bits/types.h (__snseconds_t): New type.
10623 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
10624
10625 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
10626 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10627 (__SNSECONDS_T_TYPE): Likewise.
10628 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10629 (__SNSECONDS_T_TYPE): Likewise.
10630 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10631 (__SNSECONDS_T_TYPE): Likewise.
10632
288f9098 106332012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
10634
10635 [BZ #2636]
10636 * manual/time.texi (Processor Time): Return type of times is
10637 elapsed real time since an arbitrary point in the past.
10638 (CPU Time): Move CLK_TCK from here...
10639 (Processor Time): ...to here. Correct description.
10640 * manual/conf.texi (Constants for Sysconf): Correct description of
10641 _SC_CLK_TCK.
10642
d7dd4413
DM
106432012-04-10 David S. Miller <davem@davemloft.net>
10644
10645 [BZ #13967]
10646 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
10647 where the is a gap between DT_REL(A) and DT_JMPREL.
10648
b46068fc
L
106492012-04-10 H.J. Lu <hongjiu.lu@intel.com>
10650
10651 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
10652 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
10653 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
10654
73d65cc3
SP
106552012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10656
10657 * elf/dl-support.c (_dl_inhibit_cache): New variable.
10658 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
10659 (dl_main): Handle --inhibit-cache.
10660 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
10661 _dl_inhibit_cache.
10662 * elf/dl-load.c (_dl_map_object): Use it.
10663 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
10664
bcc8d661
JM
106652012-04-09 Joseph Myers <joseph@codesourcery.com>
10666
8f9a2fae
JM
10667 [BZ #13872]
10668 * sysdeps/i386/fpu/e_powl.S (p78): New object.
10669 (__ieee754_powl): Saturate large exponents rather than testing for
10670 overflow of y*log2(x).
10671 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10672 * math/libm-test.inc (pow_test): Do not permit spurious overflow
10673 exceptions.
10674
bcc8d661
JM
10675 [BZ #11521]
10676 * math/s_ctan.c: Include <float.h>.
10677 (__ctan): Avoid internal overflow or cancellation in calculating
10678 denominator.
10679 * math/s_ctanf.c: Likewise.
10680 * math/s_ctanl.c: Likewise.
10681 * math/s_ctanh.c: Likewise.
10682 * math/s_ctanhf.c: Likewise.
10683 * math/s_ctanhl.c: Likewise.
10684 * math/libm-test.inc (ctan_test): Add more tests.
10685 (ctanh_test): Likewise.
10686 * sysdeps/i386/fpu/libm-test-ulps: Update.
10687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10688
823fbbb4
AJ
106892012-04-09 Andreas Jaeger <aj@suse.de>
10690
03879793
AJ
10691 [BZ #6894]
10692 * manual/filesys.texi (Directory Entries): Mention that d_namlen
10693 is an optional BSD extension.
10694
823fbbb4
AJ
10695 [BZ #10254]
10696 * manual/stdio.texi (Opening Streams): Document additional fopen
10697 parameters.
10698
8de131cb
RM
106992012-04-09 Roland McGrath <roland@hack.frob.com>
10700
10701 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
10702 %eax without telling the compiler.
10703
c0ed9d7d
CD
107042012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
10705
10706 [BZ # 13963]
10707 * manual/install.texi: Use sourceware.org.
10708
c483f6b4
JM
107092012-04-09 Joseph Myers <joseph@codesourcery.com>
10710
d7dd9453
JM
10711 [BZ #13873]
10712 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
10713 (__ieee754_pow): Generate overflow and underflow using huge*huge
10714 and tiny*tiny rather than just returning constant infinity or zero
10715 for large exponents.
10716 * math/libm-test.inc (pow_test): Require overflow exceptions for
10717 applicable cases of large exponents.
10718
c483f6b4
JM
10719 [BZ #706]
10720 * sysdeps/i386/fpu/e_pow.S (p10): New object.
10721 (__ieee754_pow): Use iterative multiplication algorithm only for
10722 integer exponents with absolute value below 1024. Check for odd
10723 integer exponents when using algorithm for real exponents.
10724 * math/libm-test.inc (pow_test): Add more tests.
10725 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10726
d2de7579
JM
107272012-04-08 Joseph Myers <joseph@codesourcery.com>
10728
10729 [BZ #13705]
10730 * math/libm-test.inc (exp_test): Do not allow overflow exception
10731 on underflow test.
10732
f77f1232
AJ
107332012-04-08 Aurelien Jarno <aurelien@aurel32.net>
10734
10735 [BZ #13705]
10736 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
10737 instead of __kernel_standard_f.
10738
3884932b
MF
107392012-04-08 Mike Frysinger <vapier@gentoo.org>
10740
10741 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
10742 * sysdeps/x86_64/memset_chk.S: Likewise.
10743
54472e9c
AJ
107442012-04-08 Andreas Jaeger <aj@suse.de>
10745
6ab0fbfc
AJ
10746 [BZ #10153]
10747 * manual/startup.texi (Environment Access): Describe return value
10748 for putenv and setenv.
10749
61efba8c
AJ
10750 [BZ #6895]
10751 * manual/filesys.texi (Directory Entries): Add description for
10752 DT_LNK.
10753
95c3f29a
AJ
10754 [BZ #6890]
10755 * manual/filesys.texi (Directory Entries): Clarify that it's file
10756 system not operating system in the description of DT_UNKNOWN.
10757
54472e9c
AJ
10758 [BZ #6578]
10759 * manual/syslog.texi (closelog): Fix reference, it's openlog.
10760
624254b1
SC
107612012-04-08 Stephen Compall <s11@member.fsf.org>
10762
10763 [BZ #6649]
10764 * manual/llio.texi (Opening and Closing Files): Add cross
10765 reference to explain mode argument.
10766
1e4920e0
MF
107672012-04-07 Mike Frysinger <vapier@gentoo.org>
10768
10769 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
10770 * sysdeps/x86_64/memset_chk.S: Likewise.
10771
5ed848f3
DM
107722012-04-07 David S. Miller <davem@davemloft.net>
10773
10774 * elf/elf.h (R_SPARC_WDISP10): Define.
10775 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
10776 R_SPARC_SIZE32.
10777 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
10778 R_SPARC_SIZE64 and R_SPARC_H34.
10779
96154cd8
CD
107802012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
10781
10782 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
10783 conditions and remove no longer applicable assertion.
10784
9904dc47
L
107852012-04-06 H.J. Lu <hongjiu.lu@intel.com>
10786
10787 * bits/byteswap.h: Include <features.h>.
10788 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
10789 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
10790
f8887d0a
L
107912012-04-06 H.J. Lu <hongjiu.lu@intel.com>
10792
10793 * bits/byteswap.h (__bswap_16): Removed.
10794 Include <bits/byteswap-16.h> to get __bswap_16.
10795 * sysdeps/i386/bits/byteswap.h: Likewise.
10796 * sysdeps/s390/bits/byteswap.h: Likewise.
10797 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10798 * bits/byteswap-16.h: New file.
10799 * sysdeps/i386/bits/byteswap-16.h: Likewise.
10800 * sysdeps/s390/bits/byteswap-16.h: Likewise.
10801 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
10802 * string/Makefile (headers): Add bits/byteswap-16.h.
10803
62470f60
PP
108042012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10805
10806 [BZ #13895]
10807 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
10808 extra indirection.
10809 * nss/Makefile (tests-static, tests): Add tst-nss-static.
10810 * nss/tst-nss-static.c: New.
10811
4dad7bab
RM
108122012-04-06 Robert Millan <rmh@gnu.org>
10813
10814 [BZ #6486]
10815 * manual/llio.texi (File Position Primitive): lseek
10816 refers to WHENCE when it really means OFFSET.
10817
e9142a17
AJ
108182012-04-06 Andreas Jaeger <aj@suse.de>
10819
2c040eff
AJ
10820 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
10821 strncmp declarations.
10822
e9142a17
AJ
10823 * abilist/libc.abilist: Add __poll and __ppoll.
10824
ff9f1c5f
DM
108252012-04-05 David S. Miller <davem@davemloft.net>
10826
dcd2ae90
DM
10827 * scripts/check-local-headers.sh: Accept a host triplet in the
10828 path matched by the exclude regexp.
10829
993eb054
DM
10830 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
10831 definition.
10832 * sysdeps/powerpc/powerpc32/dl-machine.h
10833 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
10834 * sysdeps/s390/s390-32/dl-machine.h
10835 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
10836 * sysdeps/sparc/sparc32/dl-machine.h
10837 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
10838 * sysdeps/sparc/sparc64/dl-machine.h
10839 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
10840
ff9f1c5f
DM
10841 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
10842 lazy binding.
48e2e132 10843 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
10844 undefined symbol errors.
10845
48e2e132 10846 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
10847 DT_NEEDED entries.
10848
e80d6f94
MM
108492012-04-05 Michael Matz <matz@suse.de>
10850
10851 [BZ #13592]
10852 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
10853
349fa79f
AJ
108542012-04-05 Andreas Jaeger <aj@suse.de>
10855
10856 [BZ #13908]
10857 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
10858 comment.
10859
f402708f
KK
108602012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10861
10862 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
10863 which ROUND is no valid rounding mode.
10864
2ecccfc9
KK
108652012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10866
10867 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
10868 read again.
10869 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
10870
8a53f50f
KK
108712012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10872
10873 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
10874 an exception using FPU order intentionally.
10875
108762012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10877
10878 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
10879 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
10880 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
10881 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
10882
d653abb7
SJ
108832012-04-05 Simon Josefsson <simon@josefsson.org>
10884
10885 [BZ #12340]
10886 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
10887 EINVAL when BUFLEN is too smal.
10888
c3b1bf7d
TS
108892012-04-05 Thomas Schwinge <thomas@codesourcery.com>
10890
10891 [BZ #13553]
10892 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
10893 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
10894
b1aa60f3
AJ
108952012-04-03 Andreas Jaeger <aj@suse.de>
10896
c3b1bf7d 10897 [BZ #13938]
67f60a26
AJ
10898 * manual/setjmp.texi (System V contexts): Fix sentence.
10899
b1aa60f3
AJ
10900 [BZ #13926]
10901 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
10902 New macro for this case.
10903 [!__GNUC__] (__bswap_64): New inline function for this case.
10904 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10905 * bits/byteswap.h: Likewise.
10906 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
10907 ull, guard with __GLIBC_HAVE_LONG_LONG.
10908
10909 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
10910 __GLIBC_HAVE_LONG_LONG.
10911
10912 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
10913 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
10914
39c59c35
TMQMF
109152012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10916
10917 [BZ #13691]
10918 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
10919 inptr and inend, rather than using last_ch.
10920
135ffda8
DM
109212012-04-02 David S. Miller <davem@davemloft.net>
10922
10923 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
10924 * stdio-common/printf-parse.h (read_int): Change return type to
10925 'int', return -1 on INT_MAX overflow.
10926 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
10927 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
10928 overflows INT_MAX. Check for overflow of in-format-string precision
10929 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
10930 SIZE_MAX not INT_MAX for integer overflow test.
10931 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
10932 skip the construct in the format string but do not record anything.
10933 * stdio-common/bug22.c: Adjust to test both width/prevision
10934 INT_MAX overflow as well as total length INT_MAX overflow. Check
10935 explicitly for proper errno values.
10936
228c019e
TS
109372012-04-02 Thomas Schwinge <thomas@codesourcery.com>
10938
302cadd3
TS
10939 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
10940 CHAR_MAX.
10941 * string/test-strcmp.c [! WIDE]: Likewise.
10942 * time/tst-mktime2.c: Likewise for INT_MAX.
10943 * string/test-string.h: #include <sys/param.h> for MIN.
10944
228c019e
TS
10945 * csu/init-first.c (__libc_init_first): Call __ctype_init.
10946 * sysdeps/i386/init-first.c (init): Likewise.
10947 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
10948 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
10949 * sysdeps/sh/init-first.c (init): Likewise.
10950
cfa633f5
UD
109512012-04-01 Ulrich Drepper <drepper@gmail.com>
10952
10953 * po/ru.po: Update from translation team.
d1635ef8 10954 * po/vi.po: Likewise.
cfa633f5 10955
6cd0a5ea
SP
109562012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10957
10958 * resolv/nss_dns/dns-host.c: Merge copyright years.
10959
4b43400f
LD
109602012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10961
10962 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10963 Optimize memcpy with prefetch if
10964 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
10965 src, dst pointers have unequal 16 byte alignments.
10966
48c41d04
SP
109672012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10968
10969 [BZ #13928]
10970 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
10971 from a CNAME entry and return the minimum ttl for the query.
10972 (gaih_getanswer_slice): Likewise.
10973
b8dc394d
JL
109742012-03-30 Jeff Law <law@redhat.com>
10975
10976 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
10977 due to long keys.
10978 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
10979 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
10980
2f5a5ed0
JL
10981 * resolv/nss_dns/dns-host.c: Update copyright year.
10982
1d39e359
UD
109832012-03-30 Ulrich Drepper <drepper@gmail.com>
10984
c030f70c 10985 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 10986 requests to save a system call. Fix check that all bytes are sent.
c030f70c 10987
1d39e359
UD
10988 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
10989 comments for sendmmsg.
10990
109912012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
10992
10993 [BZ #13691]
10994 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
10995 with only 1 character between 0x0041 and 0x01b0.
10996 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
10997 * wcsmbs/tst-mbsnrtowcs.c: New file.
10998
20fde227
DM
109992012-03-29 David S. Miller <davem@davemloft.net>
11000
11001 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
11002 small copies by hand.
11003
984a4237
JL
110042012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11005
11006 [BZ #13761]
11007 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
11008 _nss_compat_initgroups_dyn): Fall back to malloc/free
11009 for large group memberships.
11010
18c9d62b
DM
110112012-03-28 David S. Miller <davem@davemloft.net>
11012
88d85d4f
DM
11013 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
11014 that branches into memcpy.
11015 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11016 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
11017 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11018 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
11019 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
11020 bits.
11021 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
11022 implementation too.
11023 * sysdeps/sparc/mempcpy.S: New file.
11024
e5aa83e1
DM
11025 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
11026 the IFUNC routine in the libc case.
11027 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11028
88570753
DM
11029 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
11030 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
11031 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
11032 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
11033 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
11034 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
11035 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
11036 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
11037
249d7567
DM
11038 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
11039 loop to 256 bytes instead of 64 bytes and fix test signedness.
11040
18c9d62b
DM
11041 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
11042 * sysdeps/sparc/sparc32/Makefile: rather than here...
11043 * sysdeps/sparc/sparc64/Makefile: and here.
11044
05f3d1f6
UD
110452012-03-28 Ulrich Drepper <drepper@gmail.com>
11046
11047 * malloc/mallocbug.c: Avoid warnings about unused variables.
11048
86ae07a8
JL
110492012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11050
11051 [BZ #13760]
11052 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
11053 in the right place. Discard and retry query if response is
11054 larger than input buffer size.
11055
41bf21a1
JM
110562012-03-28 Joseph Myers <joseph@codesourcery.com>
11057
d6270972
JM
11058 [BZ #369]
11059 [BZ #2678]
11060 [BZ #3866]
11061 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
11062 x for large integer exponent.
11063 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11064 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
11065 sign of result as needed afterwards.
11066 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11067 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
11068 result for underflowing pow the same as for overflow.
11069 (__kernel_standard_l): Handle powl overflow and underflow here
11070 rather than calling __kernel_standard.
11071 * math/libm-test.inc (pow_test): Add more tests.
11072
414fca03 11073 [BZ #3868]
41bf21a1
JM
11074 [BZ #13879]
11075 [BZ #13910]
11076 [BZ #13911]
11077 [BZ #13912]
11078 [BZ #13913]
11079 [BZ #13915]
11080 [BZ #13916]
11081 [BZ #13917]
11082 [BZ #13918]
11083 [BZ #13919]
11084 [BZ #13920]
11085 [BZ #13921]
11086 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
11087 * sysdeps/ieee754/k_standard.c: Include <float.h>.
11088 (__kernel_standard_l): New function.
11089 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
11090 __kernel_standard.
11091 * math/w_acosl.c (__acosl): Likewise.
11092 * math/w_asinl.c (__asinl): Likewise.
11093 * math/w_atan2l.c (__atan2l): Likewise.
11094 * math/w_atanhl.c (__atanhl): Likewise.
11095 * math/w_coshl.c (__coshl): Likewise.
11096 * math/w_exp10l.c (__exp10l): Likewise.
11097 * math/w_exp2l.c (__exp2l): Likewise.
11098 * math/w_fmodl.c (__fmodl): Likewise.
11099 * math/w_hypotl.c (__hypotl): Likewise.
11100 * math/w_j0l.c (__j0l, __y0l): Likewise.
11101 * math/w_j1l.c (__j1l, __y1l): Likewise.
11102 * math/w_jnl.c (__jnl, __ynl): Likewise.
11103 * math/w_lgammal.c (__lgammal): Likewise.
11104 * math/w_log10l.c (__log10l): Likewise.
11105 * math/w_log2l.c (__log2l): Likewise.
11106 * math/w_logl.c (__logl): Likewise.
11107 * math/w_powl.c (__powl): Likewise.
11108 * math/w_remainderl.c (__remainderl): Likewise.
11109 * math/w_scalbl.c (sysv_scalbl): Likewise.
11110 * math/w_sinhl.c (__sinhl): Likewise.
11111 * math/w_sqrtl.c (__sqrtl): Likewise.
11112 * math/w_tgammal.c (__tgammal): Likewise.
11113 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
11114 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
11115 * math/libm-test.inc (acos_test): Add more tests.
11116 (acosh_test): Likewise.
11117 (asin_test): Likewise.
11118 (atanh_test): Likewise.
11119 (exp_test): Likewise.
11120 (exp10_test): Likewise.
11121 (exp2_test): Likewise.
11122 (expm1_test): Likewise.
11123 (lgamma_test): Likewise.
11124 (log_test): Likewise.
11125 (log10_test): Likewise.
11126 (log1p_test): Likewise.
11127 (log2_test): Likewise.
11128 (pow_test): Do not allow some spurious overflow exceptions.
11129 (sqrt_test): Add more tests.
11130 (tgamma_test): Likewise.
11131 (y0_test): Likewise.
11132 (y1_test): Likewise.
11133 (yn_test): Likewise.
11134
dd62fda6
AB
111352012-03-27 Anton Blanchard <anton@samba.org>
11136
11137 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
11138 MAP_HUGETLB.
11139 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11140 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11141 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11142
1e3cdfda
AJ
111432012-03-27 David S. Miller <davem@davemloft.net>
11144
b855ab85
DM
11145 * conform/Makefile: Run run-conformtest.sh using $(BASH).
11146
1e3cdfda
AJ
11147 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
11148 have-as-vis3 check.
11149
111502012-03-27 Andreas Jaeger <aj@suse.de>
11151
11152 * sysdeps/x86_64/elf/configure.in: Moved to ...
11153 * sysdeps/x86_64/configure.in: ... here.
11154 * sysdeps/x86_64/elf/start.S: Moved to ...
11155 * sysdeps/x86_64/start.S: ... here.
11156 * sysdeps/x86_64/elf/configure: Delete.
11157
11158 * sysdeps/x86_64/configure.in: Merge contents from
11159 sysdeps/i386/configure.in (without i686 check).
11160
11161 * sysdeps/i386/elf/Versions: Merge into ...
11162 * sysdeps/i386/Versions: ... this.
11163 * sysdeps/i386/elf/Versions: Delete file.
11164 * sysdeps/i386/elf/start.S: Moved to ...
11165 * sysdeps/i386/start.S: ...here.
11166 * sysdeps/i386/elf/configure.in: Merge into...
11167 * sysdeps/i386/configure.in: ...here.
11168 * sysdeps/i386/elf/configure.in: Delete file.
11169 * sysdeps/i386/elf/configure: Delete file.
11170
11171 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
11172 * debug/backtracesyms.c: ... here.
11173 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
11174 * debug/backtracesymsfd.c: ... here.
11175 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
11176 * sysdeps/generic/ifunc-sel.h: ... here.
11177
11178 * sysdeps/unix/i386/start.c: Delete file.
11179 * sysdeps/unix/sparc/start.c: Delete file.
11180 * sysdeps/unix/start.c: Delete file.
11181
11182 * sysdeps/sh/elf/configure.in: Moved to ...
11183 * sysdeps/sh/configure.in: ... here.
11184 * sysdeps/sh/elf/start.S: Moved to ...
11185 * sysdeps/sh/start.S: ... here.
11186 * sysdeps/sh/elf/configure: Delete file.
11187
11188 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
11189 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
11190 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
11191 * sysdeps/powerpc/powerpc64/entry.h: ... here.
11192 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
11193 * sysdeps/powerpc/powerpc64/start.S: here.
11194 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
11195 * sysdeps/powerpc/powerpc64/Makefile: ... this.
11196 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
11197 * sysdeps/powerpc/powerpc64/configure.in: ... this.
11198 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
11199
11200 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
11201 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
11202 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
11203 * sysdeps/powerpc/powerpc32/start.S: ... here.
11204 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
11205 * sysdeps/powerpc/powerpc32/configure.in: ... this.
11206 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
11207
11208 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
11209 * sysdeps/powerpc/ifunc-sel.h: ... here.
11210 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
11211 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
11212
11213 * sysdeps/sparc/elf/configure.in: Moved to ...
11214 * sysdeps/sparc/configure.in: ... here.
11215 * sysdeps/sparc/elf/configure: Delete file.
11216 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
11217 * sysdeps/sparc/sparc32/start.S: ... here.
11218 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
11219 * sysdeps/sparc/sparc64/start.S: ... here.
11220 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
11221 * sysdeps/sparc/sparc32/Makefile: ... this.
11222 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
11223 * sysdeps/sparc/sparc64/Makefile: ... this.
11224
11225 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
11226 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
11227 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
11228 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
11229 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
11230 * sysdeps/s390/s390-32/setjmp.S: ... here.
11231 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
11232 * sysdeps/s390/s390-32/configure.in: ... here.
11233 * sysdeps/s390/s390-32/elf/configure: Delete file.
11234 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
11235 * sysdeps/s390/s390-32/start.S: ... here.
11236
11237 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
11238 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
11239 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
11240 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
11241 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
11242 * sysdeps/s390/s390-64/setjmp.S: ... here.
11243 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
11244 * sysdeps/s390/s390-64/configure.in: ... here
11245 * sysdeps/s390/s390-64/elf/configure: Delete file.
11246 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
11247 * sysdeps/s390/s390-64/start.S: ... here.
11248 * sysdeps/s390/s390-64/elf/configure: Delete.
11249
11250 * configure.in: Remove support for elf directories in sysdeps.
11251
11252 * configure: Regenerated.
11253 * sysdeps/i386/configure: Regenerated.
11254 * sysdeps/powerpc/powerpc32/configure: Regenerated.
11255 * sysdeps/powerpc/powerpc64/configure: Regenerated.
11256 * sysdeps/s390/s390-32/configure: Regenerated.
11257 * sysdeps/s390/s390-64/configure: Regenerated.
11258 * sysdeps/sh/configure: Regenerated.
11259 * sysdeps/sparc/configure: Regenerated.
11260 * sysdeps/x86_64/configure: Regenerated.
11261
a3f61311
AS
112622012-03-26 Andreas Schwab <schwab@linux-m68k.org>
11263
c876e002
AS
11264 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11265
a3f61311
AS
11266 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
11267 denormal result into account.
11268
ac4c54f0
RM
112692012-03-25 Roland McGrath <roland@hack.frob.com>
11270
11271 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
11272 Reported by Allan McRae <allan@archlinux.org>.
11273
6a9b9c02
JL
112742012-03-23 Jeff Law <law@redhat.com>
11275
11276 * nss/getnssent.c (__nss_getent): Fix typo.
11277
4c42a0c1
DM
112782012-03-23 David S. Miller <davem@davemloft.net>
11279
11280 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11281
1532c7ac
L
112822012-03-23 H.J. Lu <hongjiu.lu@intel.com>
11283
11284 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
11285 to pad to uint64_t for each field.
11286 (dl_tls_index): Replace unsigned long with uint64_t.
11287
3ff42526
PP
112882012-03-23 Daniel Jacobowitz <dmj@google.com>
11289 Paul Pluzhnikov <ppluzhnikov@google.com>
11290
11291 [BZ #6528]
11292 * grp/Makefile (otherlibs): Don't set it.
11293 * inet/Makefile (otherlibs): Likewise.
11294 * login/Makefile (otherlibs): Likewise.
11295 * nscd/Makefile (otherlibs): Likewise.
11296 * posix/Makefile (otherlibs): Likewise.
11297 * pwd/Makefile (otherlibs): Likewise.
11298 * rt/Makefile (otherlibs): Likewise.
11299 * sunrpc/Makefile (otherlibs): Likewise.
11300 * nss/Makefile (otherlibs): Likewise.
11301 Add libnss_files to routines and static-only-routines.
11302 ($(objpfx)getent): Remove rule.
11303 * resolv/Makefile: Add libnss_dns and libresolv to routines and
11304 static-only-routines.
11305
7c69cd14
JM
113062012-03-22 Joseph Myers <joseph@codesourcery.com>
11307
11308 [BZ #13892]
11309 * math/s_cexp.c: Include <float.h>.
11310 (__cexp): Handle exp result overflowing not necessarily
11311 overflowing both real and imaginary parts of result.
11312 * math/s_cexpf.c: Likewise.
11313 * math/s_cexpl.c: Likewise.
11314 * math/libm-test.inc (cexp_test): Add more tests.
11315 * sysdeps/i386/fpu/libm-test-ulps: Update.
11316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11317
81b035fe
L
113182012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11319
11320 * include/link.h (ELFW): New macro.
11321 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
11322 Replace ELF64_R_TYPE with ELFW(R_TYPE).
11323
1da7940c
L
113242012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11325
11326 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
11327 with uint64_t.
11328
b749dbb9
L
113292012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11330
11331 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
11332 declaration.
11333 (struct La_x32_retval): Likewise.
11334
2ff87f3f
L
113352012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11336
11337 * sysdeps/x86_64/preconfigure.in: New file.
11338 * sysdeps/x86_64/preconfigure: New generated file.
11339
c0df8e69
JM
113402012-03-22 Joseph Myers <joseph@codesourcery.com>
11341
48e44791
JM
11342 [BZ #13824]
11343 * math/e_exp2l.c: Include <float.h>.
11344 (__ieee754_exp2l): Handle overflow and underflow cases
11345 separately. Only pass fractional part of argument to
11346 __ieee754_expl.
11347 * math/libm-test.inc (exp2_test): Add more tests.
11348
c0df8e69
JM
11349 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
11350 negating x to take absolute value.
11351 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
11352 Likewise.
11353 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11354 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
11355 Likewise.
11356 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
11357 computing low part if x was negated.
11358 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11359
c8e43ba7
L
113602012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11361
11362 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
11363 la_x32_gnu_pltexit.
11364 (pltexit): Cast int_retval to ptrdiff_t.
11365 * elf/tst-auditmod3b.c: Likewise.
11366 * elf/tst-auditmod4b.c: Likewise.
11367 * elf/tst-auditmod5b.c: Likewise.
11368 * elf/tst-auditmod6b.c: Likewise.
11369 * elf/tst-auditmod6c.c: Likewise.
11370 * elf/tst-auditmod7b.c: Likewise.
11371
11372 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
11373 and x32_gnu_pltexit.
11374
11375 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
11376 __ELF_NATIVE_CLASS.
11377 (La_x32_regs): New macro.
11378 (La_x32_retval): Likewise.
11379 (la_x32_gnu_pltenter): New function prototype.
11380 (la_x32_gnu_pltexit): Likewise.
11381
7998fa78
AS
113822012-03-21 Andreas Schwab <schwab@linux-m68k.org>
11383
dcb33988
AS
11384 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
11385 exponent.
11386
233fc563
AS
11387 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11388
7998fa78
AS
11389 * configure.in (libc_cv_cc_nofma): Check for option to disable
11390 generation of FMA instructions.
11391 * configure: Regenerate.
11392 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
11393 * sysdeps/ieee754/dbl-64/Makefile: New file.
11394 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
11395 Remove brandred-fma4.
11396 (CFLAGS-brandred-fma4.c): Remove.
11397 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
11398 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
11399 define.
11400 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
11401 define.
11402
8e95c99a
L
114032012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11404
11405 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
11406 LLONG_MAX != LONG_MAX.
11407 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11408 (_fitoa_word): Likewise.
11409 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
11410 LLONG_MAX != LONG_MAX.
11411 * stdio-common/_itowa.h: Include <_itoa.h>.
11412 (_itowa_word): Use _ITOA_WORD_TYPE on value.
11413 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
11414 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
11415 only if not defined.
11416 (_ITOA_WORD_TYPE): Likewise.
11417 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11418 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
11419
6f4db457
DM
114202012-03-21 David S. Miller <davem@davemloft.net>
11421
11422 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11423
7785fe5a
L
114242012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11425
11426 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
11427 of x86_64 when setting libc_cv_slibdir, libdir and
11428 libc_cv_localedir.
11429 * sysdeps/unix/sysv/linux/configure: Regenerated.
11430
4535cd55
JM
114312012-03-21 Joseph Myers <joseph@codesourcery.com>
11432
11433 * manual/lang.texi (Old Varargs): Remove section.
11434 (How Variadic): Update menu.
11435 (va_start): Do not mention varargs.h.
11436
17228132
TS
114372012-03-21 Thomas Schwinge <thomas@codesourcery.com>
11438 Joseph Myers <joseph@codesourcery.com>
11439
11440 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
11441 link test.
11442 * configure: Regenerated.
11443
8149f976
TS
114442012-03-21 Thomas Schwinge <thomas@codesourcery.com>
11445
05f3d1f6
UD
11446 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
11447 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
11448 conformtest.pl
8149f976 11449
1a4ac776
JM
114502012-03-21 Joseph Myers <joseph@codesourcery.com>
11451
be22ce65
JM
11452 * NOTES: Remove.
11453 * Makefile (files-for-dist): Remove NOTES.
11454 (NOTES): Remove rule.
11455 * README: Don't refer to NOTES.
11456 * manual/creature.texi: Don't include macros.texi.
11457 * manual/intro.texi (creature.texi): Remove comment referring to
11458 NOTES.
11459
40b601fb
JM
11460 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
11461 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
11462 * configure: Regenerated.
11463 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
11464 LIBC_TRY_CC_OPTION.
11465 (libc_cv_as_i686): Likewise.
11466 (libc_cv_cc_avx): Likewise.
11467 (libc_cv_cc_sse2avx): Likewise.
11468 (libc_cv_cc_fma4): Likewise.
11469 (libc_cv_cc_novzeroupper): Likewise.
11470 * sysdeps/i386/configure: Regenerated.
11471
1a4ac776
JM
11472 [BZ #13883]
11473 * sysdeps/i386/fpu/s_cexp.S: Remove.
11474 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11475 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11476 * math/libm-test.inc (cexp_test): Add more tests.
11477 * sysdeps/i386/fpu/libm-test-ulps: Update.
11478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11479
a458e7fe
AM
114802012-03-21 Allan McRae <allan@archlinux.org>
11481
11482 * timezone/Makefile: Do not install iso3166.tab and zone.tab
11483
0cb7efc5
JM
114842012-03-21 Joseph Myers <joseph@codesourcery.com>
11485
11486 [BZ #13871]
11487 * math/w_exp2.c: Do not include <float.h>.
11488 (o_threshold, u_threshold): Remove.
11489 (__exp2): Calculate result before checking finiteness and calling
11490 __kernel_standard.
11491 * math/w_exp2f.c: Likewise.
11492 * math/w_exp2l.c: Likewise.
11493 * math/libm-test.inc (exp2_test): Require overflow exception for
11494 1e6 input.
2460d3aa
JM
11495
11496 [BZ #3866]
11497 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
11498 range of signed 64-bit integers before using fistpll. Remove
11499 checks for whether integers fit in mantissa bits.
11500 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
11501 the range of signed 32-bit integers before using fistpl. Remove
11502 checks for whether integers fit in mantissa bits.
11503 * sysdeps/i386/fpu/e_powl.S (p64): New object.
11504 (__ieee754_powl): Test for y outside the range of signed 64-bit
11505 integers before using fistpll. Reduce 64-bit values to 63-bit
11506 ones as needed.
11507 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
11508 divide-by-zero is raised for zero to large negative powers.
11509 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
11510 (__ieee754_powl): Test for y outside the range of signed 64-bit
11511 integers before using fistpll. Reduce 64-bit values to 63-bit
11512 ones as needed.
11513 * math/libm-test.inc (pow_test): Add more tests.
11514
eb96ffb0
L
115152012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11516
11517 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
11518 <stdio-common/_itoa.h>.
11519 * debug/segfault.c: Likewise.
11520 * elf/dl-cache.c: Likewise.
11521 * elf/dl-minimal.c: Likewise.
11522 * elf/dl-misc.c: Likewise.
11523 * elf/dl-sysdep.c: Likewise.
11524 * elf/dl-version.c: Likewise.
11525 * elf/rtld.c: Likewise.
11526 * hurd/hurdsock.c: Likewise.
11527 * hurd/lookup-retry.c: Likewise.
11528 * malloc/malloc.c: Likewise.
11529 * malloc/mtrace.c: Likewise.
11530 * nscd/nscd_getgr_r.c: Likewise.
11531 * nscd/nscd_getpw_r.c: Likewise.
11532 * nscd/nscd_getserv_r.c: Likewise.
11533 * posix/getopt_init.c: Likewise.
11534 * posix/wordexp.c: Likewise.
11535 * stdio-common/_itoa.c: Likewise.
11536 * stdio-common/printf_fphex.c: Likewise.
11537 * stdio-common/vfprintf.c: Likewise.
11538 * string/_strerror.c: Likewise.
11539 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
11540 * sysdeps/i386/i686/hp-timing.h: Likewise.
11541 * sysdeps/mach/_strerror.c: Likewise.
11542 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
11543 * sysdeps/mach/hurd/sethostid.c: Likewise.
11544 * sysdeps/mach/hurd/xmknodat.c: Likewise.
11545 * sysdeps/mach/xpg-strerror.c: Likewise.
11546 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11547 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11548 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
11549 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
11550 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11551 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
11552 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
11553 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
11554 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
11555 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
11556 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
11557 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11558 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
11559 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
11560 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
11561 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
11562 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
11563 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
11564 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
11565 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
11566 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
11567
11568 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
11569
11570 * stdio-common/_itoa.h: Moved to ...
11571 * sysdeps/generic/_itoa.h: Here.
11572
11573 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
11574
11575 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
11576 instead of "_itoa.h" and "_itowa.h".
11577 * stdio-common/vfprintf.: Likewise.
11578
d1af992d
L
115792012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11580
11581 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
11582 <bits/wordsize.h>.
11583 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
11584 (__signbit): Likwise.
11585 (llrintf): Likwise.
11586 (llrint): Likwise.
11587
114883e0
L
115882012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11589
11590 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
11591 __WORDSIZE != 64.
11592
c135cc1b
JM
115932012-03-20 Joseph Myers <joseph@codesourcery.com>
11594
11595 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
11596 OVERFLOW_EXCEPTION_OK.
11597 * math/libm-test.inc ("Philosophy"): Update comment about
11598 exception testing.
11599 (OVERFLOW_EXCEPTION): Define.
11600 (OVERFLOW_EXCEPTION_OK): Likewise.
11601 (INVALID_EXCEPTION_OK): Renumber.
11602 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11603 (IGNORE_ZERO_INF_SIGN): Likewise.
11604 (test_exceptions): Handle FE_OVERFLOW.
11605 (exp10_test): Expect overflow exceptions.
11606 (exp2_test): Likewise.
11607 (expm1_test): Likewise.
11608 (nextafter_test): Likewise.
11609 (pow_test): Likewise.
11610 (scalbn_test): Likewise.
11611 (scalbln_test): Likewise.
11612
95443d88
L
116132012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11614
11615 * sysdeps/x86_64/bits/atomic.h
11616 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
11617 64bit integer.
11618 (atomic_exchange_acq): Likewise.
11619 (__arch_exchange_and_add_body): Likewise.
11620 (__arch_add_body): Likewise.
11621 (atomic_add_negative): Likewise.
11622 (atomic_add_zero): Likewise.
11623
490df6c4
L
116242012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11625
c2722551 11626 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
11627 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
11628
5e52b189
L
116292012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11630
11631 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
11632 Check __x86_64__ instead of __WORDSIZE.
11633
a9879d4c
L
116342012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11635
11636 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
11637
5df98260
DM
116382012-03-19 David S. Miller <davem@davemloft.net>
11639
e1497744
DM
11640 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11641
5df98260
DM
11642 * sysdeps/sparc/fpu/fenv_private.h: New file.
11643 * sysdeps/sparc/fpu/math_private.h: Use it.
11644 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
11645 Remove.
11646 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
11647 (libc_feholdexcept_setroundl): Remove.
11648 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
11649 Remove.
11650 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
11651 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
11652
b4c35121
L
116532012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11654
11655 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
11656 int64_t instead of long int.
11657 (INSERT_WORDS64): Likwise.
11658
56965fd7
L
116592012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11660
11661 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
11662 _Unwind_GetCFA return to _Unwind_Ptr first.
11663
83d1aec8
JM
116642012-03-19 Joseph Myers <joseph@codesourcery.com>
11665
1897ad44
JM
11666 [BZ #13629]
11667 * math/s_clog.c: Include <float.h>.
11668 (__clog): Scale large or subnormal inputs.
11669 * math/s_clogf.c: Likewise.
11670 * math/s_clogl.c: Likewise.
11671 * math/s_clog10.c: Include <float.h>.
11672 (M_LOG10_2): Define.
11673 (__clog10): Scale large or subnormal inputs.
11674 * math/s_clog10f.c: Likewise.
11675 * math/s_clog10l.c: Likewise.
11676 * math/libm-test.inc (clog_test): Add more tests.
11677 (clog10_test): Likewise.
11678 * sysdeps/i386/fpu/libm-test-ulps: Update.
11679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11680
7726d6a9
JM
11681 [BZ #11451]
11682 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
11683 x and y.
11684 * math/libm-test.inc (atan2_test): Add another test.
11685
83d1aec8
JM
11686 * Makerules (common-objdir-compile): Remove.
11687 * sysdeps/unix/Makefile (config-generated): Do not add
11688 $(unix-generated) to variable.
11689 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
11690 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
11691 Remove rule.
11692 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
11693 Likewise.
11694 [generic bits/local_lim.h] (before-compile): Do not append to
11695 variable.
11696 [generic bits/local_lim.h] (common-generated): Likewise.
11697 [generic sys/param.h] (before-compile): Do not append to variable.
11698 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
11699 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
11700 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
11701 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
11702 include.
11703 [generic sys/param.h] (sys/param.h-includes): Remove variable.
11704 [generic sys/param.h] (sys/param.h-includes): Remove rule.
11705 [generic sys/param.h] ($(addprefix
11706 $(common-objpfx),$(sys/param.h-includes))): Likewise.
11707 [generic sys/param.h] (common-generated): Do not append to
11708 variable.
11709 [generic sys/param.h] (sysdep_headers): Likewise.
11710 [generic bits/errno.h] (before-compile): Do not append to
11711 variable.
11712 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
11713 rule.
11714 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
11715 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
11716 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
11717 [generic bits/errno.h] (common-generated): Do not append to
11718 variable.
11719 [generic bits/ioctls.h] (before-compile): Do not append to
11720 variable.
11721 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
11722 rule.
11723 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
11724 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
11725 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
11726 rule.
11727 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
11728 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
11729 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
11730 [generic bits/ioctls.h] (common-generated): Do not append to
11731 variable.
11732 [generic sys/syscall.h] (syscall.h): Remove variable.
11733 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
11734 rule.
11735 [generic sys/syscall.h] (before-compile): Do not append to
11736 variable.
11737 [generic sys/syscall.h] (common-generated): Likewise.
11738 * sysdeps/unix/errnos-tmpl.c: Remove file.
11739 * sysdeps/unix/errnos.awk: Likewise.
11740 * sysdeps/unix/ioctls-tmpl.c: Likewise.
11741 * sysdeps/unix/ioctls.awk: Likewise.
11742 * sysdeps/unix/mk-local_lim.c: Likewise.
11743 * sysdeps/unix/snarf-ioctls: Likewise.
11744
4851a949
RH
117452012-03-19 Richard Henderson <rth@twiddle.net>
11746
bd37f2ee
RH
11747 * sysdeps/i386/fpu/fenv_private.h: New file.
11748 * sysdeps/i386/fpu/math_private.h: Use it.
11749 (math_opt_barrier, math_force_eval): Remove.
11750 (libc_feholdexcept_setround_53bit): Remove.
11751 (libc_feupdateenv_53bit): Remove.
11752 * sysdeps/x86_64/fpu/math_private.h: Likewise.
11753 (math_opt_barrier, math_force_eval): Remove.
11754 (libc_feholdexcept): Remove.
11755 (libc_feholdexcept_setround): Remove.
11756 (libc_fetestexcept, libc_fesetenv): Remove.
11757 (libc_feupdateenv_test): Remove.
11758 (libc_feupdateenv, libc_feholdsetround): Remove.
11759 (libc_feresetround): Remove.
11760
d0adc922
RH
11761 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
11762 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
11763
0fe0f1f8
RH
11764 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
11765 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
11766 (libc_feupdateenv_testl): New.
11767 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
11768 (libc_feupdateenv_testf): New.
11769 (libc_feupdateenv): Use libc_feupdateenv_test.
11770 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
11771 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
11772
eb92c487
RH
11773 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
11774 (libc_feholdsetroundf, libc_feholdsetroundl): New.
11775 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
11776 (libc_feresetround_noex): New.
11777 (libc_feresetround_noexf): New.
11778 (libc_feresetround_noexl): New.
11779 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
11780 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
11781 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
11782 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
11783 SET_RESTORE_ROUND.
11784 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11785 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
11786 (__cos): Likewise.
11787 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
11788 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
11789 SET_RESTORE_ROUND_NOEX.
11790 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
11791 SET_RESTORE_ROUND_NOEXF.
11792 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
11793 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
11794 (libc_feholdsetroundf): New.
11795 (libc_feresetround, libc_feresetroundf): New.
11796
7d2e8012
RH
11797 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
11798 (libc_feholdexcept_setround_53bit): Convert from macro to function.
11799 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
11800
b4dabbb4
RH
11801 * sysdeps/generic/math_private.h: Include <fenv.h>.
11802 (default_libc_feholdexcept): New.
11803 (default_libc_feholdexcept_setround): New.
11804 (default_libc_fesetenv, default_libc_feupdateenv): New.
11805 (libc_feholdexcept): Only define if undefined.
11806 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
11807 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
11808 (libc_feholdexcept_setroundl): Likewise.
11809 (libc_feholdexcept_setround_53bit): Likewise.
11810 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
11811 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
11812 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
11813 (libc_feupdateenv_53bit): Likewise.
11814 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
11815 (libc_feholdexcept): Convert from macro to inline function.
11816 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
11817 (libc_fesetenv, libc_feupdateenv): Likewise.
11818
4851a949
RH
11819 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
11820 not previously defined.
11821 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
11822 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
11823 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
11824 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
11825 * sysdeps/ieee754/flt-32/math_private.h: New file.
11826 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
11827 math_private.h below SET_FLOAT_WORD.
11828 (__isnan, __isinf_ns, __finite): Remove.
11829 (__isnanf, __isinf_nsf, __finitef): Remove.
11830
e79d442e
AS
118312012-03-18 Andreas Schwab <schwab@linux-m68k.org>
11832
11833 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11834
90b80344
DM
118352012-03-17 David S. Miller <davem@davemloft.net>
11836
11837 [BZ #6471]
11838 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
11839 for 2.16.
11840
edc21804
DM
118412012-03-16 David S. Miller <davem@davemloft.net>
11842
77e927af
DM
11843 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
11844 warnings.
11845
374976dd
DM
11846 [BZ #6471]
11847 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
11848 properly.
11849 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
11850 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
11851 sysdep_routines when subdir is sysvipc.
11852 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
11853 __getshmlba helper.
11854
edc21804
DM
11855 * sysdeps/sparc/fpu/libm-test/ulps: Update.
11856
473c3ef3
L
118572012-03-16 H.J. Lu <hongjiu.lu@intel.com>
11858
11859 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
11860 [__LP64__].
11861
eb0f39b6
L
118622012-03-16 H.J. Lu <hongjiu.lu@intel.com>
11863
11864 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
11865 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
11866 (__lround): Renamed to ...
11867 (__llround): This. Replace long int with long long int.
11868 Define lround functions as aliases of llround functions.
11869 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
11870
6b6cd74b
L
118712012-03-16 H.J. Lu <hongjiu.lu@intel.com>
11872
11873 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
11874 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
11875 adresses to uintptr_t. Replace "long int" and "unsigned long
11876 int" with "greg_t" on va_arg.
11877
f1a77b01
L
118782012-03-16 H.J. Lu <hongjiu.lu@intel.com>
11879
11880 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
11881 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
11882
11883 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
11884 Move e_machine check before EI_CLASS check. Handle x32
11885 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
11886 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
11887 SKIP_EM_IA_64 and include
11888 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
11889
11890 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
11891 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
11892 (add_system_dir): New macro.
11893
11894 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
11895 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
11896
11b90b9f
JM
118972012-03-16 Joseph Myers <joseph@codesourcery.com>
11898
c36e1d23
JM
11899 [BZ #2551]
11900 [BZ #2552]
11901 [BZ #2553]
11902 [BZ #2554]
11903 [BZ #2562]
11904 [BZ #2563]
11905 [BZ #2565]
11906 [BZ #2566]
11907 [BZ #2576]
11908 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
11909 (y0): Likewise.
11910 * math/w_j0f.c (j0f): Likewise.
11911 (y0f): Likewise.
11912 * math/w_j0l.c (__j0l): Likewise.
11913 (__y0l): Likewise.
11914 * math/w_j1.c (j1): Likewise.
11915 (y1): Likewise.
11916 * math/w_j1f.c (j1f): Likewise.
11917 (y1f): Likewise.
11918 * math/w_j1l.c (__j1l): Likewise.
11919 (__y1l): Likewise.
11920 * math/w_jn.c (jn): Likewise.
11921 (yn): Likewise.
11922 * math/w_jnf.c (jnf): Likewise.
11923 (ynf): Likewise.
11924 * math/w_jnl.c (__jnl): Likewise.
11925 (__ynl): Likewise.
11926 * math/libm-test.inc (j0_test): Add more tests.
11927 (j1_test): Likewise.
11928 (jn_test): Likewise. Add trailing semicolon to existing test.
11929 (y0_test): Likewise.
11930 (y1_test): Likewise.
11931 * sysdeps/i386/fpu/libm-test-ulps: Update.
11932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11933
11b90b9f
JM
11934 [BZ #13851]
11935 [BZ #13854]
11936 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
11937 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
11938 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
11939 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
11940 (__tanl): Set errno for infinite argument.
11941 * sysdeps/i386/fpu/mptan.c: Remove.
11942 * sysdeps/i386/fpu/s_tan.S: Likewise.
11943 * sysdeps/i386/fpu/s_tanl.S: Likewise.
11944 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
11945 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
11946 * math/libm-test.inc (tan_test): Add more tests and enable more
11947 tests for double and long double.
11948 * sysdeps/i386/fpu/libm-test-ulps: Update.
11949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11950
6a1bd2a1
JK
119512012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11952
11953 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
11954 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
11955
10a803e0
RM
119562012-03-16 Roland McGrath <roland@hack.frob.com>
11957
11958 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
11959 * configure.in: Use it for both main tree and add-ons.
11960 * configure: Regenerated.
11961
f196c7f7
L
119622012-03-16 H.J. Lu <hongjiu.lu@intel.com>
11963
11964 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
11965
8848d99d
JM
119662012-03-16 Joseph Myers <joseph@codesourcery.com>
11967
96cbe7f4
JM
11968 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
11969 in comment.
11970
8848d99d
JM
11971 [BZ #13851]
11972 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
11973 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
11974 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
11975 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
11976 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
11977 infinite argument.
11978 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
11979 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
11980 != 0 for prec == 2.
11981 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
11982 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
11983 * sysdeps/i386/fpu/s_cosl.S: Likewise.
11984 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
11985 * sysdeps/i386/fpu/s_sinl.S: Likewise.
11986 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
11987 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
11988 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
11989 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
11990 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
11991 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
11992 * math/libm-test.inc (cos_test): Add more tests and enable more
11993 tests for long double.
11994 (sin_test): Likewise.
11995 (sincos_test): Likewise.
11996 * sysdeps/i386/fpu/libm-test-ulps: Update.
11997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11998
dd7f4703
DM
119992012-03-16 David S. Miller <davem@davemloft.net>
12000
12001 * sysdeps/sparc/fpu/math_private.h: New file.
12002
006f1daa
DM
120032012-03-15 David S. Miller <davem@davemloft.net>
12004
c0c83bc8
DM
12005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
12006 file.
e6a62e18 12007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
12008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
12009 file.
e6a62e18
DM
12010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
12011 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
12012 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
12013 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
12014 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
12015 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
12016 sysdep routines.
12017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12018
88cb87d9
DM
12019 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
12020 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
12021
006f1daa 12022 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
12023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
12024 sparc-ifunc.h
006f1daa 12025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
12026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
12027 Likewise.
12028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
12029 Likewise.
006f1daa
DM
12030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
12031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
12032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
12033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12034 Likewise.
006f1daa
DM
12035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
12037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
12039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
12040 Likewise.
12041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
12042 Likewise.
006f1daa
DM
12043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
12045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
12046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
12047 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12048 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12049 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
12050 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
12051 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12052 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12053 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
12054 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
12055 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
12056 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
12057 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
12058 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
12059 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
12060 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
12061 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
12062 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
12063 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
12064 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
12065 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
12066 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
12067
11e0098e
AS
120682012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12069
12070 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
12071 scaling.
12072 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12073
e85b09d0
AJ
120742012-03-15 Andreas Jaeger <aj@suse.de>
12075
12076 [BZ #13852]
12077 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
12078 ieee754/flt-32 implementation for sin, cos and sincos.
12079 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
12080 * sysdeps/i386/fpu/s_cosf.S: Likewise.
12081 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
12082 * sysdeps/i386/fpu/s_sinf.S: Likewise.
12083 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
12084 ieee754/flt-32 implementation for tan.
12085
12086 * math/libm-test.inc (cos_test): Enable some large input tests for
12087 float as well
12088 (sin_test): Likewise.
12089 (sincos_test): Likewise.
12090 (tan_test): Add tests for large input.
12091
12092 * sysdeps/i386/fpu/libm-test-ulps: Update.
12093
81c64153
AJ
120942012-03-15 Andreas Jaeger <aj@suse.de>
12095
12096 [BZ #13658]
12097 * math/libm-test.inc (cos_test): Add more test cases.
12098 (sin_test): Likewise.
12099 (sincos_test): Likewise.
12100
7bbfa5c6
AJ
121012012-03-15 Andreas Jaeger <aj@suse.de>
12102
12103 [BZ #13837]
12104 * math/libm-test.inc (cos_test): Add a test case for large input
12105 value.
12106 (sin_test): Likewise.
12107 (sincos_test): Likewise.
12108
121092012-03-15 Andreas Jaeger <aj@suse.de>,
12110 Joseph Myers <joseph@codesourcery.com>
12111
12112 [BZ #13658]
0671f479 12113 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
12114 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
12115 * sysdeps/i386/fpu/branred.c: Likewise.
12116 * sysdeps/i386/fpu/dosincos.c: Likewise.
12117 * sysdeps/i386/fpu/mpa.c: Likewise.
12118 * sysdeps/i386/fpu/s_cos.S: Likewise.
12119 * sysdeps/i386/fpu/s_sin.S: Likewise.
12120 * sysdeps/i386/fpu/s_sincos.S: Likewise.
12121 * sysdeps/i386/fpu/sincos32.c: Likewise.
12122
12123 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
12124 Define.
12125 (libc_feupdateenv_53bit): Define.
12126 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
12127 Define.
12128 (libc_feupdateenv_53bit): Define.
12129
12130 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
12131 53 bit (without extend i386 double precision).
12132
12133 * math/libm-test.inc (sincos_test): Add tests for large input.
12134 (sin): Likewise.
12135 (cos): Likewise.
12136
12137 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12138
9cad04ea
AS
121392012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12140
12141 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12142
f7062b9a
DM
121432012-03-15 David S. Miller <davem@davemloft.net>
12144
12145 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
12146 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
12147 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
12148 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
12149 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
12150 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
12151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
12152 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
12153 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
12154 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
12155 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
12156 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
12157 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
12158 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
12159 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
12160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
12161 file.
f7062b9a 12162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
12163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
12164 file.
f7062b9a 12165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
12166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
12167 file.
f7062b9a 12168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
12169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
12170 file.
f7062b9a
DM
12171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
12172 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
12173 fmin/fmax sysdep routines.
12174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12175
7bd951ff
DM
121762012-03-14 David S. Miller <davem@davemloft.net>
12177
559398ab
DM
12178 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
12179 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
12180 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
12181 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
12182 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
12183 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
12184 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
12185 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
12186 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
12187 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
12188 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
12189 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
12190 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
12191 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
12192 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
12193 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
12194 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
12195 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
12196 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
12197 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
12198 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
12199 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
12200 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
12201 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
12202 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
12203 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
12204 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
12205 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
12206 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
12207 routines.
12208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
12209 file.
559398ab 12210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
12211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
12212 file.
559398ab 12213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
12214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
12215 file.
559398ab 12216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
12217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
12218 file.
559398ab 12219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
12220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
12221 file.
559398ab 12222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
12223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
12224 file.
12225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
12226 file.
12227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
12228 file.
12229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
12230 file.
12231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
12232 New file.
12233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
12234 file.
12235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
12236 file.
559398ab 12237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
12238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
12239 file.
559398ab 12240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
12241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
12242 file.
559398ab 12243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
12244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
12245 file.
559398ab 12246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
12247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
12248 VIS3 routines.
559398ab
DM
12249
12250 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
12251 New file.
12252
5a1c1e32
DM
12253 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12254
eae47a36
DM
12255 * sysdeps/sparc/configure.in: New file.
12256 * sysdeps/sparc/configure: Generate.
12257 * configure.in (libc_cv_sparc_as_vis3): Substitute.
12258 * configure: Regenerate.
12259 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
12260 * config.make.in (have-as-vis3): New.
12261 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
12262 available use -Av9d instead of -Av9a.
12263 * sysdeps/sparc/sparc64/Makefile: Likewise.
12264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
12265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
12266 New file.
12267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
12268 file.
12269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
12270 New file.
12271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
12272 file.
eae47a36
DM
12273 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
12274 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
12275 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
12276 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
12277 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
12278
c0c83bc8
DM
12279 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
12280 fzeros/fnegs to load 0x80000000 into a float register instead of
12281 using the stack.
7bd951ff
DM
12282 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
12283
bd951ccb
JM
122842012-03-14 Joseph Myers <joseph@codesourcery.com>
12285
12286 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12287 bits/syscall.h.
12288 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
12289 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
12290 ($(inst_includedir)/bits/syscall.h): Remove rule.
12291 ($(objpfx)bits/syscall.d): Include instead of
12292 $(objpfx)syscall-list.d.
12293 (generated): Change syscall-list.h and syscall-list.d to
12294 bits/syscall.h and bits/syscall.d.
12295
bb4e6db2
RM
122962012-03-14 Roland McGrath <roland@hack.frob.com>
12297
12298 [BZ #13846]
12299 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
12300
aa4a2ae1
JM
123012012-03-14 Joseph Myers <joseph@codesourcery.com>
12302
e456826d
JM
12303 [BZ #13841]
12304 * math/s_csqrt.c: Include <float.h>.
12305 (__csqrt): Scale large or subnormal inputs.
12306 * math/s_csqrtf.c: Likewise.
12307 * math/s_csqrtl.c: Likewise.
12308 * math/libm-test.inc (csqrt_test): Add more tests.
12309 * sysdeps/i386/fpu/libm-test-ulps: Update.
12310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12311
aa4a2ae1
JM
12312 [BZ #13840]
12313 * math/libm-test.inc (hypot_test): Add more tests.
12314
7c10fd35
DM
123152012-03-13 David S. Miller <davem@davemloft.net>
12316
12317 [BZ #13840]
12318 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
12319 double-precision for the calculation instead of scaling.
12320
f453b98b
JM
123212012-03-13 Joseph Myers <joseph@codesourcery.com>
12322
12323 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
12324 manipulate bits before adding and subtracting TWO52[sx].
12325 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
12326 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
12327 Likewise.
12328 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
12329
09a3453f
DM
123302012-03-13 David S. Miller <davem@davemloft.net>
12331
8e59da90
DM
12332 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
12333 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
12334 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
12335 rtld-global-offsets.h
12336 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12337
2a8ab7f2
DM
12338 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
12339 large parameters.
12340
10f62770
DM
12341 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
12342
5f0bdb18
DM
12343 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
12344 'err' in the ifdef scope in which it is actually used.
12345
09a3453f
DM
12346 * nss/nss_db/db-init.c: Include string.h
12347
b4b2eb5e
DM
123482012-03-12 David S. Miller <davem@davemloft.net>
12349
98bb2f1c
DM
12350 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
12351 masking out of the most significant byte of random value used.
12352 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12353 Fix coding style in previous change.
12354
b4b2eb5e
DM
12355 * sysdeps/unix/sysv/linux/kernel-features.h
12356 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
12357 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
12358 expression.
12359 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
12360 later.
12361
6e226b09
DM
123622012-03-11 David S. Miller <davem@davemloft.net>
12363
a1bcbd40
DM
12364 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
12365 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
12366 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
12367 for 'resultvar' otherwise things get truncated on 64-bit.
12368
cb9d6174
DM
12369 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12370 Fix masking out of the most significant byte of random value used.
12371
6e226b09
DM
12372 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12373
058c132d
AS
123742012-03-10 Andreas Schwab <schwab@linux-m68k.org>
12375
12376 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12377
2d2cd515
DM
123782012-03-09 David S. Miller <davem@davemloft.net>
12379
12380 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
12381 variables with appropriate CPP guards.
12382 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
12383 frame pointer, not the stack pointer. Correct layout comments. Fix test
12384 on resulting framesize and the management of the outregs buffer for pltexit.
12385 Preserve floating point return values across _dl_call_pltexit call.
12386 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
12387 framesize and the management of the outregs buffer for pltexit.
12388 Preserve floating point return values across _dl_call_pltexit
12389 call.
12390 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
12391 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
12392 (print_exit): Fix format string for return register value.
12393
9a07f9d0
JM
123942012-03-10 Joseph Myers <joseph@codesourcery.com>
12395
12396 * sunrpc/Makefile (others): Add rpcgen.
12397 ($(objpfx)rpcgen): Remove special build rule and dependency on
12398 libc.
12399 * sunrpc/rpcgen.c: New file.
12400
547b5e30
PE
124012012-03-09 Paul Eggert <eggert@cs.ucla.edu>
12402
c524201a
PE
12403 [BZ #13673]
12404 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
12405 * stdio-common/bug-vfprintf-nargs.c: Likewise.
12406 * sysdeps/i386/crti.S: Likewise.
12407 * sysdeps/i386/crtn.S: Likewise.
12408 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
12409 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
12410 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
12411 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
12412 * sysdeps/sh/crti.S: Likewise.
12413 * sysdeps/sh/crtn.S: Likewise.
12414 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
12415
7b6235f2
PE
12416 [BZ #13673]
12417 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
12418 with URL.
12419 * locale/programs/locfile-kw.gperf: Likewise.
12420 * locale/programs/charmap-kw.h: Regenerated.
12421 * locale/programs/locfile-kw.h: Likewise.
12422
547b5e30
PE
12423 [BZ #13673]
12424 * intl/plural.y: Replace FSF snail mail address with URL.
12425 * intl/plural.c: Regenerated.
12426
5f0a5dae
RH
124272012-03-09 Richard Henderson <rth@twiddle.net>
12428
12429 * include/math_private.h: Remove file.
12430 * math/math_private.h: Move file ...
12431 * sysdeps/generic/math_private.h: ... here.
12432
b8c03620
RH
12433 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
12434 * sysdeps/powerpc/fpu/math_private.h: Likewise.
12435 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12436
4e234f5d 12437 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
12438 and <math_private.h>.
12439 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
12440 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
12441 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12442 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12443 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12444 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
12445 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12446 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12447 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12448 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12449 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12450 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12451 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12452 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12453 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12454 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12455 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12456 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12457 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12458 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12459 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12460 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12461 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12462 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12463 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12464 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12465 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12466 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12467 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12468 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12469 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12470 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12471 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12472 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12473 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12474 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12475 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12476 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12477 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12478 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12479 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
12480 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12481 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
12482 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12483 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12484 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12485 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12486 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12487 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12488 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12489 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12490 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
12491 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12492 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12493 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12494 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12495 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12496 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12497 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12498 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
12499 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12500 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12501 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12502 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12503 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
12504 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12505 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12506 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12507 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
12508 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
12509 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
12510 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12511 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
12512 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12513 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
12514 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
12515 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
12516 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12517 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
12518 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
12519 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
12520 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
12521 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
12522 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12523 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12524 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
12525 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
12526 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
12527 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
12528 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12529 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12530 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
12531 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12532 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12533 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
12534 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
12535 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12536 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12537 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12538 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12539 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
12540 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
12541 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
12542 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
12543 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12544 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
12545 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12546 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
12547 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12548 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12549 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12550 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12551 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12552 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12553 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
12554 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12555 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12556 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12557 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12558 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12559 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12560 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12561 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12562 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
12563 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12564 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12565 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
12566 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
12567 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12568 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12569 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
12570 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12571 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12572 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12573 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
12574 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12575 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12576 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12577 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
12578 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12579 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12580 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12581 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12582 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
12583 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
12584 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12585 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12586 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12587 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
12588 * sysdeps/ieee754/k_standard.c: Likewise.
12589 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
12590 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12591 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12592 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12593 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12594 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12595 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12596 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12597 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12598 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12599 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12600 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12601 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12602 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12603 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12604 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12605 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12606 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12607 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12608 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
12609 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
12610 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
12611 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12612 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12613 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12614 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
12615 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12616 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12617 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12618 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12619 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12620 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12621 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12622 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12623 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12624 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12625 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
12626 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
12627 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
12628 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12629 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12630 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12631 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12632 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12633 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12634 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12635 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12636 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12637 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12638 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12639 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12640 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12641 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12642 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
12643 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12644 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12645 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
12646 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
12647 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12648 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12649 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12650 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12651 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12652 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
12653 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12654 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12655 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
12656 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12657 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
12658 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
12659 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12660 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12661 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
12662 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
12663 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
12664 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12665 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
12666 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
12667 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12668 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12669 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12670 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12671 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12672 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12673 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
12674 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12675 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
12676 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
12677 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12678 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12679 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
12680 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
12681 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
12682 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12683 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12684 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
12685 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
12686 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
12687 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
12688 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
12689 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
12690 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12691 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12692 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12693 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
12694 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12695 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12696 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
12697 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
12698 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
12699 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12700 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
12701 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
12702 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12703 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
12704 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12705 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
12706 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12707 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12708 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12709 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12710 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
12711 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12712 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12713 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12714 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
12715 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12716 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12717 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
12718 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12719 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12720 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12721 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12722 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12723 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
12724 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
12725 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
12726 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12727 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12728 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
12729 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
12730 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12731 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
12732 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
12733 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
12734 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12735 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12736 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12737 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12738 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
12739 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12740 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12741 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12742 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12743 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
12744 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
12745 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
12746 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12747 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
12748 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12749 * sysdeps/ieee754/s_lib_version.c: Likewise.
12750 * sysdeps/ieee754/s_matherr.c: Likewise.
12751 * sysdeps/ieee754/s_signgam.c: Likewise.
12752 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12753 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12754 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
12755 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
12756 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
12757 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12758 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
12759 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
12760 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
12761 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
12762 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12763 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
12764 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
12765 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12766 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
12767 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
12768 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12769 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
12770 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12771 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12772 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 12773
1991fa03
JM
127742012-03-09 Joseph Myers <joseph@codesourcery.com>
12775
12776 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
12777 * sunrpc/rpc_main.c: Likewise.
12778 * sunrpc/rpc_svcout.c: Likewise.
12779
60d6f5a6
DM
127802012-03-09 David S. Miller <davem@davemloft.net>
12781
12782 * include/math_private.h: New file.
12783
4962050e
JM
127842012-03-09 Joseph Myers <joseph@codesourcery.com>
12785
02a6f887
JM
12786 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
12787 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
12788 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
12789 from <bits/socket_type.h>.
12790 (enum __socket_type): Don't define here.
12791 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
12792 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12793 bits/socket_type.h.
12794
c6e013c1
JM
12795 [BZ #13566]
12796 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
12797 checking __USE_GNU.
12798
4962050e
JM
12799 * Makerules ($(inst_includedir)/%.h): New rule.
12800 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
12801 (install-others): Remove variable setting.
12802 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
12803
38842f45
RH
128042012-03-08 Richard Henderson <rth@twiddle.net>
12805
67bb6da6
RH
12806 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
12807 from macro to inline function; merge with the
12808 !__LIBC_INTERNAL_MATH_INLINES version.
12809 (__ieee754_sqrtf): Likewise.
12810
15194b4b
RH
12811 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
12812 to inline function.
12813 (__rintf, __floor, __floorf): Likewise.
12814
64e21ede
RH
12815 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
12816 macro to inline function.
12817 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
12818
38842f45
RH
12819 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
12820 not <math/math_private.h>.
12821
c64bf5fe
DM
128222012-03-08 David S. Miller <davem@davemloft.net>
12823
12824 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
12825 copyright year.
12826 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
12827
82d86f28
TS
128282012-03-08 Thomas Schwinge <thomas@codesourcery.com>
12829
12830 * resolv/gai_misc.c (handle_requests): Fix struct timespec
12831 normalization.
12832 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
12833 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
12834
aea5d727
UD
128352012-03-08 Ulrich Drepper <drepper@gmail.com>
12836
12837 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
12838 be defined individually, they must be defined as a block. Define
12839 S for printing a string instead of hidint the different by using a
12840 macro for adding the 'l'.
12841 * stdio-common/tst-fphex-wide.c: Adjust.
12842
70bca0a3
MP
128432012-03-07 Marek Polacek <polacek@redhat.com>
12844
12845 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
12846
65b81130
MP
128472012-03-08 Marek Polacek <polacek@redhat.com>
12848
12849 [BZ #13806]
12850 * stdio-common/Makefile (tests): Add tst-fphex-wide.
12851 * stdio-common/tst-fphex.c: Define a few macros to make the
12852 test reusable. Use them.
12853 * stdio-common/tst-fphex-wide.c: New file.
12854
07037eeb
JM
128552012-03-08 Joseph Myers <joseph@codesourcery.com>
12856
a7a93d50
JM
12857 [BZ #6911]
12858 * manual/macros.texi (gnusystems): New macro.
12859 (nongnusystems): Likewise.
12860 (gnulinuxhurdsystems): Likewise.
12861 (gnuhurdsystems): Likewise..
12862 (gnulinuxsystems): Likewise.
12863 * manual/charset.texi: Use new macros or @theglibc{} to refer to
12864 variants of the GNU system, not "GNU system".
12865 * manual/conf.texi: Likewise.
12866 * manual/errno.texi: Likewise. Update example of errno macro
12867 expansion.
12868 * manual/filesys.texi: Likewise.
12869 (getumask): Document as specific to GNU/Hurd.
12870 * manual/install.texi: Likewise. Reword some references to
12871 GNU/Linux.
12872 * manual/intro.texi: Likewise.
12873 * manual/io.texi: Likewise.
12874 (File Name Portability): Detail which constraints are inapplicable
12875 to all GNU systems and which are only inapplicable to GNU/Hurd.
12876 * manual/job.texi: Likewise.
12877 * manual/llio.texi: Likewise.
12878 (O_NOCTTY): Document as present on GNU/Linux.
12879 * manual/maint.texi: Likewise.
12880 * manual/memory.texi: Likewise.
12881 * manual/pattern.texi: Likewise.
12882 * manual/pipe.texi: Likewise.
12883 * manual/process.texi: Likewise.
12884 * manual/resource.texi: Likewise.
12885 (RUSAGE_CHILDREN): Remove statement about specifying a particular
12886 child on GNU/Hurd.
12887 * manual/setjmp.texi: Likewise.
12888 * manual/signal.texi: Likewise.
12889 * manual/startup.texi: Likewise.
12890 * manual/stdio.texi: Likewise.
12891 * manual/terminal.texi: Likewise.
12892 (ONLCR): Document as POSIX.
12893 (OXTABS): Document availability on GNU/Linux as XTABS.
12894 (ONOEOT): Document availability separately from other bits.
12895 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
12896 * manual/time.texi: Likewise.
12897 * manual/users.texi: Likewise.
12898 * INSTALL: Regenerated.
12899 * sysdeps/gnu/errlist.c: Regenerated.
12900
07037eeb
JM
12901 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
12902 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
12903 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
12904 puts.
12905 * configure: Regenerated.
12906
d1d3431a
JM
129072012-03-07 Joseph Myers <joseph@codesourcery.com>
12908
af6a1e37
JM
12909 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
12910 default includes instead of AC_HEADER_CHECK.
12911 * sysdeps/i386/configure: Regenerated.
12912
d1d3431a
JM
12913 [BZ #10716]
12914 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
12915 * math/s_cacoshf.c (__cacoshf): Likewise.
12916 * math/s_cacoshl.c (__cacoshl): Likewise.
12917 * math/s_casinh.c (__casinh): Set signs of result from argument.
12918 * math/s_casinhf.c (__casinhf): Likewise.
12919 * math/s_casinhl.c (__casinhl): Likewise.
12920 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
12921 (casinh_test): Add more tests.
12922 * sysdeps/i386/fpu/libm-test-ulps: Update.
12923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12924
482ff4da
UD
129252012-03-07 Ulrich Drepper <drepper@gmail.com>
12926
872fda05
UD
12927 * po/zh_TW.po: Update from translation team.
12928
a4300c7a
UD
12929 * login/Makefile (distribute): Remove variable.
12930 * catgets/Makefile: Likewise.
12931 * mach/Makefile: Likewise.
12932 * malloc/Makefile: Likewise.
12933 * misc/Makefile: Likewise.
12934 * iconv/Makefile: Likewise.
12935 * nscd/Makefile: Likewise.
12936 * hurd/Makefile: Likewise.
12937 * manual/Makefile: Likewise.
12938 * locale/Makefile: Likewise.
12939 * intl/Makefile: Likewise.
12940 * conform/Makefile: Likewise.
12941 * nss/Makefile: Likewise.
12942 * time/Makefile: Likewise.
12943 * soft-fp/Makefile: Likewise.
12944 * dirent/Makefile: Likewise.
12945 * gmon/Makefile: Likewise.
12946 * po/Makefile: Likewise.
12947 * rt/Makefile: Likewise.
12948 * socket/Makefile: Likewise.
12949 * math/Makefile: Likewise.
12950 * signal/Makefile: Likewise.
12951 * debug/Makefile: Likewise.
12952 * elf/Makefile: Likewise.
12953 * timezone/Makefile: Likewise.
12954 * stdlib/Makefile: Likewise.
12955 * iconvdata/Makefile: Likewise.
12956 * sunrpc/Makefile: Likewise.
12957 * io/Makefile: Likewise.
12958 * argp/Makefile: Likewise.
12959 * inet/Makefile: Likewise.
12960 * hesiod/Makefile: Likewise.
12961 * grp/Makefile: Likewise.
12962 * csu/Makefile: Likewise.
12963 * wctype/Makefile: Likewise.
12964 * crypt/Makefile: Likewise.
12965 * libio/Makefile: Likewise.
12966 * string/Makefile: Likewise.
12967 * nis/Makefile: Likewise.
12968 * resolv/Makefile: Likewise.
12969 * stdio-common/Makefile: Likewise.
12970 * wcsmbs/Makefile: Likewise.
12971 * dlfcn/Makefile: Likewise.
12972 * posix/Makefile: Likewise.
12973
3b7c4e74 12974 [BZ #6959]
482ff4da
UD
12975 * timezone/Makefile: Don't install timezone files, just the programs
12976 and scripts.
12977
f72ed77d
UD
129782012-03-06 Ulrich Drepper <drepper@gmail.com>
12979
a000466f
UD
12980 * nss/databases.def: Add missing gshadow entry.
12981
f72ed77d
UD
12982 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
12983
a53b7a4e
MP
129842012-03-06 Marek Polacek <polacek@redhat.com>
12985
12986 [BZ #13726]
12987 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
12988 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
12989 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
12990 * stdio-common/tst-long-dbl-fphex.c: New file.
12991
e9258400
DM
129922012-03-06 David S. Miller <davem@davemloft.net>
12993
12994 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12995 (set_obp_int): New function.
12996 (get_obp_int): New function.
12997 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
12998 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
12999 Avoid unused variable warnings on 'val' and use builtin_expect.
13000 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
13001 __builtin_expect.
e9258400
DM
13002 (INLINE_CLONE_SYSCALL): Likewise.
13003
3bd2c723
DM
130042012-03-05 David S. Miller <davem@davemloft.net>
13005
13006 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13007
bbb78d03
AS
130082012-03-05 Andreas Schwab <schwab@linux-m68k.org>
13009
884c5db4
AS
13010 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13011
bbb78d03
AS
13012 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
13013 only for |x| >= 40.
13014 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13015
1c9f702a 130162012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
13017
13018 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
13019 Replace gettimeofday with __vdso_gettimeofday.
13020
7be16f82
RM
13021 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13022 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
13023 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
13024
13025 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
13026 time with __vdso_time.
13027
ed58a00f
JM
130282012-03-05 Joseph Myers <joseph@codesourcery.com>
13029
13030 * manual/lang.texi (size_t): Note types to which size_t may be
13031 equivalent with the GNU C Library, but do not describe when
13032 differences between them are significant.
13033
30ee4ced
AJ
130342012-03-05 Andreas Jaeger <aj@suse.de>
13035
13036 * sysdeps/i386/fpu/libm-test-ulps: Update.
13037
b7cd39e8
JM
130382012-03-05 Joseph Myers <joseph@codesourcery.com>
13039
13040 [BZ #3976]
13041 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
13042 (__ieee754_pow): Save and restore rounding mode and use
13043 round-to-nearest for main computations.
13044 * math/libm-test.inc (pow_test_tonearest): New function.
13045 (pow_test_towardzero): Likewise.
13046 (pow_test_downward): Likewise.
13047 (pow_test_upward): Likewise.
13048 (main): Call the new functions.
13049 * sysdeps/i386/fpu/libm-test-ulps: Update.
13050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
13051
13052 [BZ #3976]
13053 * math/libm-test.inc (cosh_test_tonearest): New function.
13054 (cosh_test_towardzero): Likewise.
13055 (cosh_test_downward): Likewise.
13056 (cosh_test_upward): Likewise.
13057 (sinh_test_tonearest): Likewise.
13058 (sinh_test_towardzero): Likewise.
13059 (sinh_test_downward): Likewise.
13060 (sinh_test_upward): Likewise.
13061 (main): Call the new functions.
13062 * sysdeps/i386/fpu/libm-test-ulps: Update.
13063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13064
6c6a98c9
TV
130652012-03-05 Tom de Vries <tom@codesourcery.com>
13066
13067 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
13068 default stack guard is set in last bytes.
13069 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
13070
21bb2d2e 130712012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 13072
21bb2d2e 13073 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 13074
21bb2d2e
AJ
13075 [BZ #13656]
13076 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
13077 possibly allocate from heap instead of stack.
13078 * stdio-common/bug-vfprintf-nargs.c: New file.
13079 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 13080
c6922934
AS
130812012-03-03 Andreas Schwab <schwab@linux-m68k.org>
13082
13083 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13084
bc957d53
MP
130852012-03-03 Marek Polacek <polacek@redhat.com>
13086
13087 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
13088 * math/math_private.h: Likewise.
13089 * stdlib/tst-strtod.c: Likewise.
13090 * sysdeps/i386/i486/bits/atomic.h: Likewise.
13091 * sysdeps/x86_64/bits/atomic.h: Likewise.
13092
6358490d
DM
130932012-03-02 David S. Miller <davem@davemloft.net>
13094
13095 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
13096 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
13097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
13098 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
13099 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
13100 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
13101 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
13102 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
13103
01ae168d
RM
131042012-03-02 Roland McGrath <roland@hack.frob.com>
13105
d9a17c07
RM
13106 [BZ #13792]
13107 * manual/examples/README: New file, says the example source files
13108 can be used under GPL>=2.
13109 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
13110 line containing just "*/".
13111 * manual/examples/add.c: Add copyright header (GPL>=2).
13112 * manual/examples/argp-ex1.c: Likewise.
13113 * manual/examples/argp-ex2.c: Likewise.
13114 * manual/examples/argp-ex3.c: Likewise.
13115 * manual/examples/argp-ex4.c: Likewise.
13116 * manual/examples/atexit.c: Likewise.
13117 * manual/examples/db.c: Likewise.
13118 * manual/examples/dir.c: Likewise.
13119 * manual/examples/dir2.c: Likewise.
13120 * manual/examples/execinfo.c: Likewise.
13121 * manual/examples/filecli.c: Likewise.
13122 * manual/examples/filesrv.c: Likewise.
13123 * manual/examples/fmtmsgexpl.c: Likewise.
13124 * manual/examples/genpass.c: Likewise.
13125 * manual/examples/inetcli.c: Likewise.
13126 * manual/examples/inetsrv.c: Likewise.
13127 * manual/examples/isockad.c: Likewise.
13128 * manual/examples/longopt.c: Likewise.
13129 * manual/examples/memopen.c: Likewise.
13130 * manual/examples/memstrm.c: Likewise.
13131 * manual/examples/mkfsock.c: Likewise.
13132 * manual/examples/mkisock.c: Likewise.
13133 * manual/examples/mygetpass.c: Likewise.
13134 * manual/examples/pipe.c: Likewise.
13135 * manual/examples/popen.c: Likewise.
13136 * manual/examples/rprintf.c: Likewise.
13137 * manual/examples/search.c: Likewise.
13138 * manual/examples/select.c: Likewise.
13139 * manual/examples/setjmp.c: Likewise.
13140 * manual/examples/sigh1.c: Likewise.
13141 * manual/examples/sigusr.c: Likewise.
13142 * manual/examples/stpcpy.c: Likewise.
13143 * manual/examples/strdupa.c: Likewise.
13144 * manual/examples/strftim.c: Likewise.
13145 * manual/examples/strncat.c: Likewise.
13146 * manual/examples/subopt.c: Likewise.
13147 * manual/examples/swapcontext.c: Likewise.
13148 * manual/examples/termios.c: Likewise.
13149 * manual/examples/testopt.c: Likewise.
13150 * manual/examples/testpass.c: Likewise.
13151 * manual/examples/timeval_subtract.c: Likewise.
13152
01ae168d
RM
13153 [BZ #13792]
13154 * manual/time.texi (Elapsed Time): Move timeval_subtract example
13155 function to ...
13156 * manual/timeval_subtract.c.texi: ... here, new file.
13157
49efa33d
DM
131582012-03-02 David S. Miller <davem@davemloft.net>
13159
13160 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
13161
28afd92d
JM
131622012-03-02 Joseph Myers <joseph@codesourcery.com>
13163
804360ed
JM
13164 [BZ #3976]
13165 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
13166 (__sin): Save and restore rounding mode and use round-to-nearest
13167 for all computations.
13168 (__cos): Save and restore rounding mode and use round-to-nearest
13169 for all computations.
13170 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
13171 <fenv.h>.
13172 (tan): Save and restore rounding mode and use round-to-nearest for
13173 all computations.
13174 * math/libm-test.inc (cos_test_tonearest): New function.
13175 (cos_test_towardzero): Likewise.
13176 (cos_test_downward): Likewise.
13177 (cos_test_upward): Likewise.
13178 (sin_test_tonearest): Likewise.
13179 (sin_test_towardzero): Likewise.
13180 (sin_test_downward): Likewise.
13181 (sin_test_upward): Likewise.
13182 (tan_test_tonearest): Likewise.
13183 (tan_test_towardzero): Likewise.
13184 (tan_test_downward): Likewise.
13185 (tan_test_upward): Likewise.
13186 (main): Call the new functions.
13187 * sysdeps/i386/fpu/libm-test-ulps: Update.
13188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13189
a6d06d7b
JM
13190 [BZ #10135]
13191 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
13192 small n, then large n, before computing and testing k+n.
13193 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13194 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
13195 Likewise.
13196 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
13197 Likewise.
13198 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
13199 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
13200 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
13201 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
13202 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13203 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13204 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
13205 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
13206 * math/libm-test.inc (scalbn_test): Add more tests.
13207 (scalbln_test): Likewise.
13208
07e12bb3
JM
13209 * manual/filesys.texi (mode_t): Describe constraints on size and
13210 signedness, not exact equivalence to a particular type.
13211 (ino_t): Likewise.
13212 (ino64_t): Likewise.
13213 (dev_t): Likewise.
13214 (nlink_t): Likewise.
13215 (blkcnt_t): Likewise.
13216 (blkcnt64_t): Likewise.
13217 * manual/llio.texi (off_t): Likewise.
13218
28afd92d
JM
13219 [BZ #3976]
13220 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
13221 (__ieee754_exp): Save and restore rounding mode and use
13222 round-to-nearest for all computations.
13223 * math/libm-test.inc (exp_test_tonearest): New function.
13224 (exp_test_towardzero): Likewise.
13225 (exp_test_downward): Likewise.
13226 (exp_test_upward): Likewise.
13227 (main): Call the new functions.
13228 * sysdeps/i386/fpu/libm-test-ulps: Update.
13229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13230
b1eeb65d
CD
132312012-03-01 Chris Demetriou <cgd@google.com>
13232
13233 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
13234 have predictable order.
13235
53362a4b
DM
132362012-03-01 David S. Miller <davem@davemloft.net>
13237
3c969083
DM
13238 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
13239
759707de
DM
13240 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
13241 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
13242 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
13243 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
13244
dfdb8ff2
DM
13245 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
13246 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
13247 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
13248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
13249 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
13250 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
13251 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
13252 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
13253 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
13254
ead89f96
DM
13255 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13256
7f66bd07
DM
13257 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
13258 * sysdeps/sparc/fpu/libm-test-ulps: to here.
13259 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
13260
53362a4b
DM
13261 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
13262 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13263 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
13264 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
13265 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
13266 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
13267 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
13268 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13269 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
13270 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
13271 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
13272 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
13273 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13274 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
13275 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13276 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13277 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
13278 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
13279 * sysdeps/sparc/elf/configure: Regenerated.
13280
7b1902cb
JM
132812012-03-01 Joseph Myers <joseph@codesourcery.com>
13282
bec039bc
JM
13283 * configure.in (AS, LD): Require binutils 2.20 or later.
13284 * configure: Regenerated.
13285 * manual/install.texi (Tools for Compilation): Give binutils 2.20
13286 as required minimum version.
13287 * INSTALL: Regenerated.
13288
7b1902cb
JM
13289 [BZ #2541]
13290 [BZ #4108]
13291 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
13292 before squaring exponent.
13293 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
13294 bottom long double and 27 bits of top long double before squaring
13295 exponent.
13296 * math/libm-test.inc (erfc_test): Add more tests.
13297 * sysdeps/i386/fpu/libm-test-ulps: Update.
13298 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13300
f775c276
KT
133012012-03-01 Kai Tietz <ktietz@redhat.com>
13302
13303 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
13304 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
13305 containing bit-fields.
13306 * soft-fp/extended.h (_FP_UNION_E): Likewise.
13307 * soft-fp/single.h (_FP_UNION_S): Likewise.
13308 * soft-fp/double.h (_FP_UNION_D): Likewise.
13309
5b8a4d4a
JM
133102012-02-29 Joseph Myers <joseph@codesourcery.com>
13311
0bab47b6
JM
13312 [BZ #13786]
13313 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
13314 not include ../strcmp.S.
13315 [USE_AS_STRNCASECMP_L]: Likewise.
13316 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
13317 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
13318 * sysdeps/i386/i686/multiarch/strncase_l-c.c
13319 (__strncasecmp_l_ia32): Define as alias to
13320 __strncasecmp_l_nonascii.
13321
0fcad3e2
JM
13322 [BZ #5794]
13323 * math/libm-test.inc (expm1_test): Add test for bug 5794.
13324 * sysdeps/i386/fpu/libm-test-ulps: Update.
13325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13326
5b8a4d4a
JM
13327 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
13328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13329
8fdceb2e
JL
133302012-02-29 Jeff Law <law@redhat.com>
13331
13332 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
13333 out of bounds read.
13334
1f393a11
MP
133352012-02-29 Marek Polacek <polacek@redhat.com>
13336
13337 [BZ #13706]
13338 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
13339 * elf/Makefile: Add rules to run tst-unused-dep.out.
13340
8847f037
DM
133412012-02-28 David S. Miller <davem@davemloft.net>
13342
13343 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
13344 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
13345 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
13346 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
13347 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
13348 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
13349
169d7f11
JM
133502012-02-29 Joseph Myers <joseph@codesourcery.com>
13351
13352 * math/libm-test.inc (llround_test): Move one test from
13353 lround_test. Use TEST_f_L in moved test.
13354 (lround_test): Move misplaced test to llround_test. Add testcase
13355 from bug 2561.
13356
39adf059
UD
133572012-02-28 Ulrich Drepper <drepper@gmail.com>
13358
13359 * sysdeps/x86_64/fpu/e_expf.S: New file.
13360 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
13361
71b5d1c5
SB
133622012-02-28 Stanislav Brabec <sbrabec@suse.cz>
13363
13364 [BZ #13637]
13365 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
13366 of remain_len that may cause incomplete multi-byte character and
13367 false match.
13368 * posix/bug-regex33.c: New file.
13369 * posix/Makefile (tests): Add bug-regex33.
13370
1f77f049
JM
133712012-02-28 Joseph Myers <joseph@codesourcery.com>
13372
13373 * manual/macros.texi: New file.
13374 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
13375 * manual/libc.texinfo: Include macros.texi.
13376 * manual/creatute.texi: Likewise.
13377 * manual/install.texi: Likewise.
13378 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
13379 @glibcadj{} in references to the GNU C Library.
13380 * manual/charset.texi: Likewise.
13381 * manual/conf.texi: Likewise.
13382 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
13383 when not using those macros.
13384 * manual/creature.texi: Likewise.
13385 * manual/crypt.texi: Likewise.
13386 * manual/errno.texi: Likewise.
13387 * manual/filesys.texi: Likewise.
13388 * manual/header.texi: Likewise.
13389 * manual/install.texi: Likewise.
13390 * manual/intro.texi: Likewise.
13391 * manual/io.texi: Likewise.
13392 * manual/job.texi: Likewise.
13393 * manual/lang.texi: Likewise.
13394 * manual/libc.texiinfo: Likewise.
13395 * manual/llio.texi: Likewise.
13396 * manual/locale.texi: Likewise.
13397 * manual/maint.texi: Likewise.
13398 * manual/math.texi: Likewise.
13399 * manual/memory.texi: Likewise.
13400 * manual/message.texi: Likewise.
13401 * manual/nss.texi: Likewise.
13402 * manual/pattern.texi: Likewise.
13403 * manual/process.texi: Likewise.
13404 * manual/resource.texi: Likewise.
13405 * manual/search.texi: Likewise.
13406 * manual/setjmp.texi: Likewise.
13407 * manual/signal.texi: Likewise.
13408 * manual/socket.texi: Likewise.
13409 * manual/startup.texi: Likewise.
13410 * manual/stdio.texi: Likewise.
13411 * manual/string.texi: Likewise.
13412 * manual/sysinfo.texi: Likewise.
13413 * manual/syslog.texi: Likewise.
13414 * manual/terminal.texi: Likewise.
13415 * manual/time.texi: Likewise.
13416 * manual/users.texi: Likewise.
13417 * INSTALL: Regenerated.
13418 * NOTES: Regenerated.
d40c5d54 13419 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 13420
450bf206
AS
134212012-02-28 Andreas Schwab <schwab@linux-m68k.org>
13422
13423 * include/dirent.h: Include <dirstream.h> before
13424 <dirent/dirent.h>.
13425
741a235b
DM
134262012-02-28 David S. Miller <davem@davemloft.net>
13427
13428 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
13429 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
13430 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
13431 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
13432
d6b5aa58
DM
134332012-02-27 David S. Miller <davem@davemloft.net>
13434
1aff59a3
DM
13435 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
13436 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
13437 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
13438 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
13439
d6b5aa58
DM
13440 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
13441 frame pointer instead of stack pointer relative arg slot.
13442 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
13443 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
13444 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
13445
433f48bf
CD
134462012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
13447
13448 [BZ #3992]
13449 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
13450
d674b76d
DM
134512012-02-27 David S. Miller <davem@davemloft.net>
13452
13453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
13454 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
13455 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
13456 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
13457 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
13458 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
13459 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
13460 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
13461
0e7727f7
JM
134622012-02-27 Joseph Myers <joseph@codesourcery.com>
13463
13464 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
13465 later. Allow versions 5-9.
43be4ca2 13466 * configure: Regenerated.
0e7727f7
JM
13467 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
13468 required minimum version and 4.6 as recommended version. Do not
13469 mention bugs in GCC 2.7 and 2.8.
43be4ca2 13470 * INSTALL: Regenerated.
0e7727f7 13471
a78bc654
DM
134722012-02-27 David S. Miller <davem@davemloft.net>
13473
428d5830
DM
13474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
13475 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
13476 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
13477 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
13478 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
13479 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
13480 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
13481 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
13482
a78bc654
DM
13483 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
13484 manipulate bits before adding and subtracting TWO112[sx].
13485 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
13486
4579f81c
RM
134872012-02-27 Roland McGrath <roland@hack.frob.com>
13488
36c8acb4
RM
13489 [BZ #13775]
13490 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
13491 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
13492 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
13493 being in POSIX, because they are in 1003.1-2008.
13494
84ad622b
RM
13495 * rt/tst-aio.c: Include <fcntl.h>.
13496 * rt/tst-aio7.c: Likewise.
13497 * rt/tst-aio64.c: Likewise.
13498
4579f81c
RM
13499 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
13500
abd923db
JM
135012012-02-27 Joseph Myers <joseph@codesourcery.com>
13502
13503 * manual/install.texi (--with-headers): Describe headers as
13504 interface headers, not private headers.
13505 (Specific advice for GNU/Linux systems): Describe use of headers
13506 from "make headers_install", not private headers from older
13507 kernels.
43be4ca2 13508 * INSTALL: Regenerated.
abd923db
JM
13509 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
13510 Change to 2.6.19.
13511 * sysdeps/unix/sysv/linux/configure: Regenerated.
13512
6664049b
JM
13513 * manual/llio.texi (fclean): Remove documentation.
13514
bb8b6697
JM
13515 * manual/Makefile (libc-texi-generated): New variable. Include
13516 version.texi.
13517 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
13518 $(libc-texi-generated), not duplicated list of files.
13519 (version.texi, stamp-version): New rules.
13520 (realclean): Remove $(libc-texi-generated), not individual files
13521 from that list. Do not remove dir-add.texinfo.
13522 * manual/libc.texinfo: Comment out uses of edition numbers and
13523 references to printed manual. Remove last-updated dates.
13524 (EDITION): Comment out.
13525 (ISBN): Likewise.
13526 (VERSION, UPDATED): Remove.
13527 (version.texi): Include.
13528
12e5c3b9
AS
135292012-02-27 Andreas Schwab <schwab@linux-m68k.org>
13530
13531 * sysdeps/posix/spawni.c: Include <signal.h>.
13532 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
13533 * sysdeps/pthread/aio_fsync.c: Likewise.
13534
4efeffc1 135352012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 13536
ba63ba08
UD
13537 * conform/Makefile (tests): Run only when not cross-compiling and
13538 when fast-check is not defined.
13539
d94a4670
UD
13540 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
13541 * conform/data/limits.h-data: Fixes for POSIX2008.
13542 * conform/run-conformtest.sh: Run all tests.
13543 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
13544 headers.
13545 * include/bits/dlfcn.h: Likewise.
13546 * include/langinfo.h: Likewise.
13547 * include/monetary.h: Likewise.
13548 * include/sys/poll.h: Likewise.
13549
13550 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
13551 for __USE_GNU.
13552 * posix/spawn.h: Define __need_sigset_t.
13553 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
13554 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
13555 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
13556 to get sigevent_t only.
13557 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
13558 only for __USE_GNU.
13559 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13560 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13561 process_vm_writev only for __USE_GNU.
13562 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
13563
13564 * conform/Makefile: For now ignore errors from run-conformtest.
13565 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
13566 POSIX to avoid namespace pollution. Don't prepend headers.
13567 * conform/data/aio.h-data: Fixes for POSIX testing.
13568 * conform/data/fcntl.h-data: Likewise.
13569 * conform/data/glob.h-data: Likewise.
13570 * conform/data/grp.h-data: Likewise.
13571 * conform/data/pthread.h-data: Likewise.
13572 * conform/data/pwd.h-data: Likewise.
13573 * conform/data/signal.h-data: Likewise.
13574 * conform/data/spawn.h-data: Likewise.
13575 * conform/data/stdio.h-data: Likewise.
13576 * conform/data/stdlib.h-data: Likewise.
13577 * conform/data/stropts.h-data: Likewise.
13578 * conform/data/sys/mman.h-data: Likewise.
13579 * conform/data/sys/stat.h-data: Likewise.
13580 * conform/data/sys/types.h-data: Likewise.
13581 * conform/data/sys/wait.h-data: Likewise.
13582 * conform/data/time.h-data: Likewise.
13583 * conform/data/unistd.h-data: Likewise.
13584 * conform/data/utime.h-data: Likewise.
13585
13586 * io/sys/stat.h: fchmod was always in POSIX.
13587 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
13588 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
13589 * rt/aio.h: Define __need_timespec before including <time.h>.
13590 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
13591 struct. Add forward declaration of pthread_attr_t and use it in
13592 sigevent.
13593 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13594 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13595 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
13596 always remove CLK_TCK definition.
13597
c20105c3
AS
135982012-02-26 Andreas Schwab <schwab@linux-m68k.org>
13599
13600 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
13601
7a270350
UD
136022012-02-25 Ulrich Drepper <drepper@gmail.com>
13603
31341567
UD
13604 * conform/run-conformtest.sh: New file.
13605 * conform/Makefile: Run run-conformtest for tests.
13606 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
13607 support.
13608
13609 * conform/data/uchar.h-data: New file.
13610 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
13611 * conform/data/arpa/inet.h-data: Likewise.
13612 * conform/data/assert.h-data: Likewise.
13613 * conform/data/complex.h-data: Likewise.
13614 * conform/data/cpio.h-data: Likewise.
13615 * conform/data/ctype.h-data: Likewise.
13616 * conform/data/dirent.h-data: Likewise.
13617 * conform/data/dlfcn.h-data: Likewise.
13618 * conform/data/errno.h-data: Likewise.
13619 * conform/data/fcntl.h-data: Likewise.
13620 * conform/data/float.h-data: Likewise.
13621 * conform/data/fmtmsg.h-data: Likewise.
13622 * conform/data/fnmatch.h-data: Likewise.
13623 * conform/data/ftw.h-data: Likewise.
13624 * conform/data/glob.h-data: Likewise.
13625 * conform/data/grp.h-data: Likewise.
13626 * conform/data/iconv.h-data: Likewise.
13627 * conform/data/inttypes.h-data: Likewise.
13628 * conform/data/langinfo.h-data: Likewise.
13629 * conform/data/libgen.h-data: Likewise.
13630 * conform/data/limits.h-data: Likewise.
13631 * conform/data/locale.h-data: Likewise.
13632 * conform/data/math.h-data: Likewise.
13633 * conform/data/monetary.h-data: Likewise.
13634 * conform/data/mqueue.h-data: Likewise.
13635 * conform/data/ndbm.h-data: Likewise.
13636 * conform/data/net/if.h-data: Likewise.
13637 * conform/data/netdb.h-data: Likewise.
13638 * conform/data/netinet/in.h-data: Likewise.
13639 * conform/data/nl_types.h-data: Likewise.
13640 * conform/data/poll.h-data: Likewise.
13641 * conform/data/pthread.h-data: Likewise.
13642 * conform/data/pwd.h-data: Likewise.
13643 * conform/data/regex.h-data: Likewise.
13644 * conform/data/sched.h-data: Likewise.
13645 * conform/data/search.h-data: Likewise.
13646 * conform/data/semaphore.h-data: Likewise.
13647 * conform/data/setjmp.h-data: Likewise.
13648 * conform/data/signal.h-data: Likewise.
13649 * conform/data/spawn.h-data: Likewise.
13650 * conform/data/stdarg.h-data: Likewise.
13651 * conform/data/stdio.h-data: Likewise.
13652 * conform/data/stdlib.h-data: Likewise.
13653 * conform/data/string.h-data: Likewise.
13654 * conform/data/strings.h-data: Likewise.
13655 * conform/data/stropts.h-data: Likewise.
13656 * conform/data/sys/ipc.h-data: Likewise.
13657 * conform/data/sys/mman.h-data: Likewise.
13658 * conform/data/sys/msg.h-data: Likewise.
13659 * conform/data/sys/resource.h-data: Likewise.
13660 * conform/data/sys/select.h-data: Likewise.
13661 * conform/data/sys/sem.h-data: Likewise.
13662 * conform/data/sys/shm.h-data: Likewise.
13663 * conform/data/sys/socket.h-data: Likewise.
13664 * conform/data/sys/stat.h-data: Likewise.
13665 * conform/data/sys/statvfs.h-data: Likewise.
13666 * conform/data/sys/time.h-data: Likewise.
13667 * conform/data/sys/timeb.h-data: Likewise.
13668 * conform/data/sys/times.h-data: Likewise.
13669 * conform/data/sys/types.h-data: Likewise.
13670 * conform/data/sys/uio.h-data: Likewise.
13671 * conform/data/sys/un.h-data: Likewise.
13672 * conform/data/sys/utsname.h-data: Likewise.
13673 * conform/data/sys/wait.h-data: Likewise.
13674 * conform/data/syslog.h-data: Likewise.
13675 * conform/data/tar.h-data: Likewise.
13676 * conform/data/termios.h-data: Likewise.
13677 * conform/data/utime.h-data: Likewise.
13678 * conform/data/utmpx.h-data: Likewise.
13679 * conform/data/varargs.h-data: Likewise.
13680 * conform/data/wchar.h-data: Likewise.
13681 * conform/data/wctype.h-data: Likewise.
13682 * conform/data/wordexp.h-data: Likewise.
13683
13684 * include/stropts.h: New file.
13685 * include/uchar.h: New file.
13686 * include/aio.h: Changes to allow conformtest.pl to use the headers.
13687 * include/assert.h: Likewise.
13688 * include/ctype.h: Likewise.
13689 * include/dirent.h: Likewise.
13690 * include/dlfcn.h: Likewise.
13691 * include/fcntl.h: Likewise.
13692 * include/fnmatch.h: Likewise.
13693 * include/glob.h: Likewise.
13694 * include/grp.h: Likewise.
13695 * include/libio.h: Likewise.
13696 * include/locale.h: Likewise.
13697 * include/math.h: Likewise.
13698 * include/net/if.h: Likewise.
13699 * include/netdb.h: Likewise.
13700 * include/netinet/in.h: Likewise.
13701 * include/pthread.h: Likewise.
13702 * include/pwd.h: Likewise.
13703 * include/regex.h: Likewise.
13704 * include/sched.h: Likewise.
13705 * include/search.h: Likewise.
13706 * include/setjmp.h: Likewise.
13707 * include/signal.h: Likewise.
13708 * include/stdio.h: Likewise.
13709 * include/stdlib.h: Likewise.
13710 * include/string.h: Likewise.
13711 * include/sys/cdefs.h: Likewise.
13712 * include/sys/mman.h: Likewise.
13713 * include/sys/msg.h: Likewise.
13714 * include/sys/resource.h: Likewise.
13715 * include/sys/select.h: Likewise.
13716 * include/sys/socket.h: Likewise.
13717 * include/sys/stat.h: Likewise.
13718 * include/sys/statvfs.h: Likewise.
13719 * include/sys/time.h: Likewise.
13720 * include/sys/times.h: Likewise.
13721 * include/sys/uio.h: Likewise.
13722 * include/sys/utsname.h: Likewise.
13723 * include/sys/wait.h: Likewise.
13724 * include/termios.h: Likewise.
13725 * include/time.h: Likewise.
13726 * include/ulimit.h: Likewise.
13727 * include/unistd.h: Likewise.
13728 * include/utime.h: Likewise.
13729 * include/wchar.h: Likewise.
13730 * include/wctype.h: Likewise.
13731 * include/wordexp.h: Likewise.
13732
13733 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
13734
7a270350
UD
13735 * time/time.h: TIME_UTC must be a macro.
13736 Make timespec_get available for ISO C11 only as well.
13737
7724defc
UD
137382012-02-24 Ulrich Drepper <drepper@gmail.com>
13739
13740 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
13741 Reported by Peng Haitao <penght@cn.fujitsu.com>.
13742
6b1d1d46
JM
137432012-02-24 Joseph Myers <joseph@codesourcery.com>
13744
13745 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 13746
0f8bbd69
JM
137472012-02-24 Joseph Myers <joseph@codesourcery.com>
13748
13749 * manual/texinfo.tex: Update to version 2012-01-19.16.
13750
66ab80bc
JM
137512012-02-24 Joseph Myers <joseph@codesourcery.com>
13752
13753 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
13754
74981cc5
RM
137552012-02-24 Roland McGrath <roland@hack.frob.com>
13756
ee968201
RM
13757 [BZ #13738]
13758 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
13759 * manual/fdl-1.3.texi: New file.
13760 * manual/fdl-1.1.texi: File removed.
13761
74981cc5
RM
13762 [BZ #13738]
13763 * manual/libc.texinfo (FDL_VERSION): New @set.
13764 Use it for mention of FDL in cover text.
13765 (Documentation License): Use it in @include file name.
13766
7bb764bc
JM
137672012-02-22 Joseph Myers <joseph@codesourcery.com>
13768 Roland McGrath <roland@hack.frob.com>
13769
13770 [BZ #5461]
13771 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
13772 not LONG_LONG_MAX and LONG_LONG_MIN.
13773 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
13774 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
13775 name.
13776 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
13777
6cbeae47
JM
137782012-02-22 Joseph Myers <joseph@codesourcery.com>
13779
13780 [BZ #2547]
13781 [BZ #11365]
13782 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
13783 manipulate bits before adding and subtracting TWO23[sx].
13784 * math/libm-test.inc (nearbyint_test): Add more tests.
13785
fe45ce09
JM
137862012-02-22 Joseph Myers <joseph@codesourcery.com>
13787
13788 [BZ #2548]
13789 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
13790 bits before adding and subtracting TWO23[sx].
13791 * math/libm-test.inc (rint_test): Add more tests.
13792 (rint_test_tonearest): Likewise.
13793 (rint_test_towardzero): Likewise.
13794 (rint_test_downward): Likewise.
13795 (rint_test_upward: Likewise.
13796
ff3b3d82
JM
137972012-02-22 Joseph Myers <joseph@codesourcery.com>
13798
13799 [BZ #10110]
13800 * include/stdc-predef.h: New file. Extracted from features.h.
13801 * include/features.h: Include stdc-predef.h.
13802 * Makefile (headers): Add stdc-predef.h.
13803 * CONFORMANCE (Compiler limitations): Update.
13804
ef0aab35
JM
138052012-02-22 Joseph Myers <joseph@codesourcery.com>
13806
13807 * manual/libc.texinfo (VERSION, UPDATED): Revert.
13808
58639409
DM
138092012-02-21 David S. Miller <davem@davemloft.net>
13810
13811 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
13812 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
13813
c0e70b25
DM
138142012-02-20 David S. Miller <davem@davemloft.net>
13815
13816 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
13817 using a normal save/restore sequence, rather than allocating a
13818 dummy stack frame just to store a frame pointer and restore.
13819 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
13820
fb06851d
JM
138212012-02-21 Joseph Myers <joseph@codesourcery.com>
13822
13823 * manual/install.texi: Fix stray word in line-wrapped comment.
13824
7a8b71c3
DM
138252012-02-20 David S. Miller <davem@davemloft.net>
13826
d510c123
DM
13827 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
13828 both binutils and gcc support GOTDATA.
13829
0722d7c2
DM
13830 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
13831 "rd %pc" in the PIC register setup sequences.
13832
3d2b3019
DM
13833 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
13834 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
13835 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
13836 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
13837 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
13838 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
13839 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13840 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
13841 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
13842 (SYSCALL_ERROR_HANDLER): Likewise.
13843 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
13844 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13845 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
13846 (SYSCALL_ERROR_HANDLER): Likewise.
13847
c80098a9
DM
13848 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
13849 (HAVE_GCC_GOTDATA): New.
13850 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
13851 relocation support in both binutils and gcc.
13852 * sysdeps/sparc/elf/configure: Regenerate.
13853
3a2545a0
DM
13854 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
13855 * sysdeps/sparc/sparc32/elf/configure: Delete.
13856 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
13857 * sysdeps/sparc/sparc64/elf/configure: Delete.
13858 * sysdeps/sparc/elf/configure.in: New file.
13859 * sysdeps/sparc/elf/configure: Generate.
13860
7a8b71c3
DM
13861 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
13862 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
13863 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
13864 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
13865 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
13866
f1e86fca
JM
138672012-02-21 Joseph Myers <joseph@codesourcery.com>
13868
13869 * manual/install.texi: Do not mention specific glibc version
13870 numbers.
13871 * manual/libc.texinfo (VERSION, UPDATED): Update.
13872 (@copying): Use @copyright{} and range of years.
13873
0e7dfaef
JM
138742012-02-21 Joseph Myers <joseph@codesourcery.com>
13875
13876 [BZ #13695]
13877 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
13878 [crti.S not in sysdirs] (generated): Do not append.
13879 [crti.S not in sysdirs] (omit-deps): Likewise.
13880 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
13881 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
13882 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
13883 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
13884 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
13885 Likewise.
13886 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
13887 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
13888 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
13889 * csu/defs.awk: Remove file.
13890 * sysdeps/generic/initfini.c: Likewise.
13891 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
13892 variable.
13893 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
13894 Likewise.
13895
599af3ca
JM
138962012-02-20 Joseph Myers <joseph@codesourcery.com>
13897
13898 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
13899 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
13900 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
13901 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
13902 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13903 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
13904 <bits/epoll.h>.
13905 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
13906 (__EPOLL_PACKED): Define to empty if not defined by
13907 <bits/epoll.h>.
13908 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
13909 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13910 bits/epoll.h.
13911
0e499750
JM
139122012-02-20 Joseph Myers <joseph@codesourcery.com>
13913
13914 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
13915 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
13916 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
13917 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
13918 <bits/timerfd.h>.
13919 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
13920 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13921 bits/timerfd.h.
13922
5ad91f6e
JM
139232012-02-20 Joseph Myers <joseph@codesourcery.com>
13924
13925 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
13926 in C locale.
13927 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13928 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13929 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
13930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13931
06b99b02
AJ
139322012-02-20 Aurelien Jarno <aurelien@aurel32.net>
13933
13934 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13935 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
13936
7638c0fd
AS
139372012-02-19 Andreas Schwab <schwab@linux-m68k.org>
13938
13939 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
13940 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
13941 defined.
13942 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
13943 Likewise.
13944 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
13945 entry for 2.16.
13946
92221550
AJ
139472012-02-19 Aurelien Jarno <aurelien@aurel32.net>
13948
13949 * math/w_acos.c: Use non-signaling floating-point comparisons.
13950 * math/w_acosf.c: Likewise.
13951 * math/w_acosh.c: Likewise.
13952 * math/w_acoshf.c: Likewise.
13953 * math/w_acoshl.c: Likewise.
13954 * math/w_acosl.c: Likewise.
13955 * math/w_asin.c: Likewise.
13956 * math/w_asinf.c: Likewise.
13957 * math/w_asinl.c: Likewise.
13958 * math/w_atanh.c: Likewise.
13959 * math/w_atanhf.c: Likewise.
13960 * math/w_atanhl.c: Likewise.
13961 * math/w_exp2.c: Likewise.
13962 * math/w_exp2f.c: Likewise.
13963 * math/w_exp2l.c: Likewise.
13964 * math/w_j0.c: Likewise.
13965 * math/w_j0f.c: Likewise.
13966 * math/w_j0l.c: Likewise.
13967 * math/w_j1.c: Likewise.
13968 * math/w_j1f.c: Likewise.
13969 * math/w_j1l.c: Likewise.
13970 * math/w_jn.c: Likewise.
13971 * math/w_jnf.c: Likewise.
13972 * math/w_log.c: Likewise.
13973 * math/w_log10.c: Likewise.
13974 * math/w_log10f.c: Likewise.
13975 * math/w_log10l.c: Likewise.
13976 * math/w_log2.c: Likewise.
13977 * math/w_log2f.c: Likewise.
13978 * math/w_log2l.c: Likewise.
13979 * math/w_logf.c: Likewise.
13980 * math/w_logl.c: Likewise.
13981 * math/w_sqrt.c: Likewise.
13982 * math/w_sqrtf.c: Likewise.
13983 * math/w_sqrtl.c: Likewise.
13984 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13985 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
13986 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13987 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13988 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13989
ebaf36eb
JM
139902012-02-19 Joseph Myers <joseph@codesourcery.com>
13991
13992 [BZ #9739]
13993 * manual/string.texi (strnlen): Use correct parameter name in
13994 equivalent expression.
13995
71c254a6
JM
139962012-02-19 Joseph Myers <joseph@codesourcery.com>
13997
13998 [BZ #11174]
13999 * manual/users.texi (seteuid): Consistently use neweuid for
14000 argument name.
14001
16d2c631
JM
140022012-02-19 Joseph Myers <joseph@codesourcery.com>
14003
14004 [BZ #13704]
14005 * manual/nss.texi (Services in the NSS configuration): Correct
14006 list of services in example configuration file.
14007
cd837b09
NB
140082012-02-19 Nick Bowler <nbowler@draconx.ca>
14009
14010 [BZ #11322]
14011 * manual/arith.texi: Remove statements about negative zero
14012 behaving identically to zero.
14013
02c4bbad
JM
140142012-02-18 Joseph Myers <joseph@codesourcery.com>
14015
14016 [BZ #5993]
14017 * manual/install.texi: Do not document upgrading from libc5.
14018
366842e7
JM
140192012-02-18 Joseph Myers <joseph@codesourcery.com>
14020
14021 [BZ #4596]
14022 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
14023
dd54084d
DM
140242012-02-18 David S. Miller <davem@davemloft.net>
14025
14026 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
14027 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
14028 %o7 across the call.
14029 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
14030 instead.
14031 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
14032 SETUP_PIC_REG_LEAF.
14033 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14034 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
14035 * sysdeps/sparc/crtn.S: Likewise.
14036
2bcc53a3
UD
140372012-02-17 Ulrich Drepper <drepper@gmail.com>
14038
14039 * aout/Makefile: Remove.
14040
09c093b5
RK
140412012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
14042
14043 [BZ #13058]
14044 * manual/examples/argp-ex1.c (main): Format definition in GNU
14045 style.
14046 * manual/examples/argp-ex2.c (main): Likewise.
14047 * manual/examples/argp-ex3.c (main): Likewise.
14048 * manual/examples/argp-ex4.c (main): Likewise.
14049 * manual/examples/longopt.c (main): Use new-style prototype
14050 definition.
14051 * manual/examples/strncat.c (main): Specify return type and use
14052 (void) for arguments.
14053 * manual/examples/subopt.c (main): Use char **argv argument.
14054
2ee633a2
JM
140552012-02-17 Joseph Myers <joseph@codesourcery.com>
14056
14057 [BZ #5077]
14058 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
14059 rounding modes.
14060
0520adde
FB
140612012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
14062
14063 [BZ #6907]
14064 * manual/string.texi (strchr): Change when strchrnul is
14065 recommended.
14066
3f4081cd
DGM
140672012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
14068
14069 [BZ #174]
14070 * manual/locale.texi (setlocale): Document LOCPATH.
14071
d1b10e78
JM
140722012-02-17 Joseph Myers <joseph@codesourcery.com>
14073
14074 [BZ #10210]
14075 * manual/process.texi (execle): Move @dots{} before last argument.
14076
79c6869c
PB
140772012-02-17 Paul Bolle <pebolle@tiscali.nl>
14078
14079 [BZ #12047]
14080 * manual/charset.texi (Generic Charset Conversion): Fix typo
14081 (LC_TYPE -> LC_CTYPE).
14082
cc6e48bc
NB
140832012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
14084
14085 [BZ #5805]
14086 * manual/arith.texi (scalbn): Use @var{} on parameter names.
14087 (scalbnf): Likewise.
14088 (scalbnl): Likewise.
14089 (scalbln): Likewise.
14090 (scalblnf): Likewise.
14091 (scalblnl): Likewise.
14092 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
14093 (vwarnx): Likewise.
14094 (verr): Likewise.
14095 (verrx): Likewise.
14096 * manual/filesys.texi (telldir): Use braces around return type.
14097 * manual/llio.texi (mmap): Add space after comma.
14098 (mmap64): Likewise.
14099 * manual/math.texi (jn): Use @var{} on parameter names.
14100 (jnf): Likewise.
14101 (jnl): Likewise.
14102 (yn): Likewise.
14103 (ynf): Likewise.
14104 (ynl): Likewise.
14105 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
14106 line.
14107 * manual/resource.texi (ulimit): Use @dots{} instead of literal
14108 "...".
14109 (sched_get_priority_min): Remove semicolon on @deftypefun line.
14110 (sched_get_priority_max): Likewise.
14111 * manual/signal.texi (sigvec): Add space after comma.
14112 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
14113 names.
14114 (if_indextoname): Likewise.
14115 (if_freenameindex): Likewise.
14116 (sendto): Use ',' instead of '.' in prototype.
14117 * manual/startup.texi (syscall): Use @dots{} instead of literal
14118 "...".
14119 * manual/stdio.texi (__fpending): Separate initial words of
14120 paragraph from @deftypefun line.
14121 * manual/syslog.texi (syslog): Use @dots{} instead of literal
14122 "...".
14123 (vsyslog): Use @var{} on parameter names.
14124 * manual/terminal.texi (stty): Use @var{} on parameter names.
14125 * manual/users.texi (getutmp): Use @var{} on parameter names.
14126 (getutmpx): Likewise.
14127
5b23062f
JM
141282012-02-17 Joseph Myers <joseph@codesourcery.com>
14129
14130 [BZ #6884]
14131 * manual/stdio.texi (fopen): Fix typos in description of
14132 ",ccs=STRING".
14133
8dee4833
AJ
141342012-02-17 Aurelien Jarno <aurelien@aurel32.net>
14135
14136 [BZ #4026]
14137 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
14138 get clock_id definition.
14139
9078ce93
TS
141402012-02-17 Thomas Schwinge <thomas@schwinge.name>
14141
14142 [BZ #4822]
14143 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
14144 (madvise): Cast every argument to void on its own.
14145
3835c55f
JM
141462012-02-17 Joseph Myers <joseph@codesourcery.com>
14147
14148 [BZ #9902]
14149 * manual/startup.texi (Exit Status): Fix typo.
14150
35c47e37
JM
141512012-02-17 Joseph Myers <joseph@codesourcery.com>
14152
14153 [BZ #10140]
14154 * manual/examples/argp-ex1.c: Include <stdlib.h>.
14155 * manual/examples/argp-ex2.c: Likewise.
14156 * manual/examples/argp-ex3.c: Likewise.
14157
e3b69ca7
RH
141582012-02-16 Richard Henderson <rth@redhat.com>
14159
14160 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
14161 * sysdeps/s390/s390-32/initfini.c: Remove.
14162 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
14163 * sysdeps/s390/s390-64/initfini.c: Remove.
14164
df83af67
KK
141652012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14166
14167 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
14168 compiler output for sysdeps/generic/initfini.c.
14169 * sysdeps/sh/elf/initfini.c: Remove file.
14170
f63f3380
DM
141712012-02-16 David S. Miller <davem@davemloft.net>
14172
fb59b3a4
DM
14173 [BZ #11494]
14174 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
14175
f63f3380
DM
14176 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
14177 * sysdeps/sparc/crti.S: New file.
14178 * sysdeps/sparc/crtn.S: New file.
14179 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
14180 * sysdeps/sparc/sparc64/Makefile: Likewise.
14181
df6a4a4a
MF
141822012-02-15 Mike Frysinger <vapier@gentoo.org>
14183
6dd8f3dc 14184 [BZ #3335]
df6a4a4a
MF
14185 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
14186
1cac7236
RM
141872012-02-15 Roland McGrath <roland@hack.frob.com>
14188
d2c736f8
RM
14189 [BZ #4822]
14190 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
14191
1cac7236
RM
14192 * mach/devstream.c (cookie_io_functions_t): Macro removed.
14193 (write, read, close): Likewise.
14194 Patch by Aurelien Jarno <aurelien@aurel32.net>.
14195
8e475601
JM
141962012-02-15 Joseph Myers <joseph@codesourcery.com>
14197
14198 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
14199 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
14200 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
14201 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
14202 <bits/signalfd.h>.
14203 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
14204 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14205 bits/signalfd.h.
14206
ed656b40
MP
142072012-02-14 Marek Polacek <polacek@redhat.com>
14208
14209 * sysdeps/x86_64/crti.S: New file.
14210 * sysdeps/x86_64/crtn.S: New file.
14211 * sysdeps/x86_64/elf/initfini.c: Remove file.
14212
2a979d3a
JM
142132012-02-13 Joseph Myers <joseph@codesourcery.com>
14214
14215 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
14216 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
14217 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
14218 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
14219 <bits/inotify.h>.
14220 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
14221 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14222 bits/inotify.h.
14223
2a418ac3
JM
142242012-02-13 Joseph Myers <joseph@codesourcery.com>
14225
14226 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
14227 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
14228 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
14229 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
14230 <bits/eventfd.h>.
14231 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
14232 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14233 bits/eventfd.h.
14234
fb779be7
TS
142352012-02-10 Thomas Schwinge <thomas@codesourcery.com>
14236
e19e83c5
RM
14237 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
14238 __feraiseexcept instead of feraiseexcept.
7c35ffed 14239
fb779be7
TS
14240 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
14241 nanosleep invocations.
14242 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
14243 strings, and add error checking for a nanosleep invocations.
14244
59ba27a6
PE
142452012-02-09 Paul Eggert <eggert@cs.ucla.edu>
14246
14247 Replace FSF snail mail address with URLs, as per GNU coding standards.
14248 Most of the snail mail addresses were wrong anyway, and omitting
14249 them makes the source code easier to maintain. Almost all of the
14250 changes are to license notices and to locale LC_IDENTIFICATION
14251 addresses, except for this one:
14252 * manual/libc.texinfo: In "Published by", give the FSF's URL,
14253 not its snail mail address.
14254
57b957eb
RH
142552012-02-09 Richard Henderson <rth@twiddle.net>
14256
af850b1c
RH
14257 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
14258 of kernel-features.h.
14259
57b957eb
RH
14260 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
14261
6b73181a
MP
142622012-02-08 Marek Polacek <polacek@redhat.com>
14263
14264 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
14265 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
14266 * sysdeps/gnu/_G_config.h: Likewise.
14267 * sysdeps/generic/_G_config.h: Likewise.
14268
26ecc33a
AS
142692012-02-08 Andreas Schwab <schwab@linux-m68k.org>
14270
6c6dbc63
AS
14271 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
14272 tests.
14273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14274
e216c012
AS
14275 * sysdeps/powerpc/powerpc32/crti.S: New file.
14276 * sysdeps/powerpc/powerpc32/crtn.S: New file.
14277 * sysdeps/powerpc/powerpc64/crti.S: New file.
14278 * sysdeps/powerpc/powerpc64/crtn.S: New file.
14279
26ecc33a
AS
14280 * Makeconfig (have-initfini): Don't set.
14281 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
14282 * configure.in (nopic_initfini): Don't substitute.
14283 * config.h.in (HAVE_INITFINI): Don't #undef.
14284 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
14285 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
14286
3add8e13
JM
142872012-02-08 Joseph Myers <joseph@codesourcery.com>
14288
14289 Support crti.S and crtn.S provided directly by architectures.
14290 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
14291 [crti.S in sysdirs] (omit-deps): Likewise.
14292 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
14293 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
14294 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
14295 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
14296 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
14297 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
14298 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
14299 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
14300 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
14301 compiler output for sysdeps/generic/initfini.c.
14302 * sysdeps/i386/elf/Makefile: Remove file.
14303 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
14304
a22f12b4
MP
143052012-02-07 Marek Polacek <polacek@redhat.com>
14306
14307 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
14308 * sysdeps/gnu/_G_config.h: Likewise.
14309 * sysdeps/mach/hurd/_G_config.h: Likewise.
14310
148cf100
MP
143112012-02-07 Marek Polacek <polacek@redhat.com>
14312
14313 * math/Makefile (tests): Add tst-CMPLX2.
14314 * math/tst-CMPLX2.c: New file.
14315
cfdc0dd7
AS
143162012-02-07 Andreas Schwab <schwab@linux-m68k.org>
14317
84ba42c4
AS
14318 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14319
cfdc0dd7
AS
14320 * math/libm-test.inc (jn_test): Add missing L suffix.
14321
622c86f4
MP
143222012-02-06 Marek Polacek <polacek@redhat.com>
14323
14324 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
14325 * sysdeps/i386/fpu/e_powf.S: Likewise.
14326 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14327 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
14328 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14329 * sysdeps/i386/fpu/e_pow.S: Likewise.
14330 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14331 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14332 * sysdeps/i386/fpu/s_expm1.S: Likewise.
14333 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14334 * sysdeps/i386/fpu/e_log2.S: Likewise.
14335 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14336 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14337 * sysdeps/i386/fpu/e_powl.S: Likewise.
14338 * sysdeps/i386/fpu/s_log1p.S: Likewise.
14339 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14340 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14341 * sysdeps/i386/fpu/e_logl.S: Likewise.
14342 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14343 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
14344 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14345 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14346 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14347 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14348 * sysdeps/i386/fpu/e_log.S: Likewise.
14349 * sysdeps/i386/fpu/s_cexp.S: Likewise.
14350 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14351 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
14352 * sysdeps/i386/fpu/e_logf.S: Likewise.
14353 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14354 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14355 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
14356 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14357 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
14358 * sysdeps/i386/fpu/e_log10.S: Likewise.
14359 * sysdeps/i386/fpu/s_frexp.S: Likewise.
14360 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14361 * sysdeps/i386/fpu/s_asinh.S: Likewise.
14362 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14363 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14364 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14365 * sysdeps/i386/asm-syntax.h: Likewise.
14366 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14367 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14368 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14369 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
14370 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
14371 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14372 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14373 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14374 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14375 * sysdeps/powerpc/sysdep.h: Likewise.
14376 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
14377 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14378
d4a54ac6
JM
143792012-02-06 Joseph Myers <joseph@codesourcery.com>
14380
14381 [BZ #411]
14382 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
14383
314054ea
JM
143842012-02-06 Joseph Myers <joseph@codesourcery.com>
14385
14386 * sysdeps/i386/sysdep.h: Include <features.h>.
14387 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
14388 version.
14389
d8e0ca50
JM
143902012-02-05 Joseph Myers <joseph@codesourcery.com>
14391
14392 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
14393 Define.
14394 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
14395 LOAD_PIC_REG_STR.
14396
b1da7dd9
JM
143972012-02-03 Joseph Myers <joseph@codesourcery.com>
14398
14399 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
14400 (SETUP_PIC_REG): Use GET_PC_THUNK.
14401 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
14402 macro.
14403
9a1d9254
JM
144042012-02-03 Joseph Myers <joseph@codesourcery.com>
14405
14406 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
14407 for non-PIC compilation.
14408 (SETUP_PIC_REG): Add .p2align directive.
14409 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
14410 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
14411 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14412 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14413 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14414 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14415 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
14416 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14417 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14418 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14419 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14420 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14421 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14422 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14423 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14424 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14425 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14426 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14427 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14428 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14429 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14430 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14431 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14432 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14433 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14434 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14435 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14436 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14437 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14438 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14439 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14440 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14441 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14442 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14443 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14444 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14445 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14446 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14447 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14448 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14449 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14450
65dc3b75
JM
144512012-02-03 Joseph Myers <joseph@codesourcery.com>
14452
14453 * math/tst-CMPLX.c: Include <stdio.h>.
14454
d55bf177
JM
144552012-01-31 Joseph Myers <joseph@codesourcery.com>
14456
14457 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
14458 float.
14459 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
14460 * sysdeps/sparc/bits/mathdef.h: Likewise.
14461
69db4f8f
MP
144622012-01-31 Marek Polacek <polacek@redhat.com>
14463
14464 * libio/libio.h: Don't define _PARAMS.
14465 * locale/programs/config.h: Don't define PARAMS.
14466 * stdlib/strtol_l.c: Likewise.
14467 (__strtol_l): Remove PARAMS from the prototype.
14468
41b81892
UD
144692012-01-31 Ulrich Drepper <drepper@gmail.com>
14470
3b49edc0
UD
14471 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
14472 names. Just use the correct names. Remove unnecessary wrapper
14473 functions.
14474 * malloc/arena.c: Likewise.
14475 * malloc/hooks.c: Likewise.
14476
41b81892
UD
14477 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
14478 ARENA_TEST says not to. Simplify test for creation of a new arena.
14479 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
14480
27a25b6e
UD
144812012-01-30 Ulrich Drepper <drepper@gmail.com>
14482
14483 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
14484 into tail calls.
14485 (update_get_addr): New function.
14486 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
14487 GET_ADDR_MODULE parameter.
14488
c8a89e7d
JM
144892012-01-30 Joseph Myers <joseph@codesourcery.com>
14490
14491 * crypt/cert.c: Remove __STDC__ conditionals.
14492 * crypt/crypt-entry.c: Likewise.
14493 * crypt/crypt_util.c: Likewise.
14494 * libio/filedoalloc.c: Likewise.
14495 * libio/fileops.c: Likewise.
14496 * libio/genops.c: Likewise.
14497 * libio/iofclose.c: Likewise.
14498 * libio/iofdopen.c: Likewise.
14499 * libio/iofopen.c: Likewise.
14500 * libio/iofopen64.c: Likewise.
14501 * libio/iogetdelim.c: Likewise.
14502 * libio/iopopen.c: Likewise.
14503 * libio/obprintf.c: Likewise.
14504 * libio/oldfileops.c: Likewise.
14505 * libio/oldiofclose.c: Likewise.
14506 * libio/oldiofdopen.c: Likewise.
14507 * libio/oldiofopen.c: Likewise.
14508 * libio/oldiopopen.c: Likewise.
14509 * libio/wfiledoalloc.c: Likewise.
14510 * libio/wgenops.c: Likewise.
14511 * locale/programs/xmalloc.c: Likewise.
14512 * misc/syslog.c: Likewise.
14513 * stdio-common/xbug.c: Likewise.
14514 * string/memchr.c: Likewise.
14515 * string/memcmp.c: Likewise.
14516 * string/memrchr.c: Likewise.
14517 * string/rawmemchr.c: Likewise.
14518 * sysdeps/posix/getcwd.c: Likewise.
14519 * time/strftime_l.c: Likewise.
14520
3b100462
JM
145212012-01-30 Joseph Myers <joseph@codesourcery.com>
14522
14523 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
14524 * config.make.in (config-cflags-sse2avx): Define.
14525 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
14526 Fix typo.
14527
607998af
CM
145282012-01-29 Chris Metcalf <cmetcalf@tilera.com>
14529
14530 * scripts/config.guess: Update from upstream config git repository.
14531 * scripts/config.sub: Likewise.
14532
3601428f
CM
145332012-01-28 Chris Metcalf <cmetcalf@tilera.com>
14534
3ac8b282
CM
14535 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
14536 (EM_NUM): Update.
14537 (R_TILEPRO_*, R_TILEGX_*): New macros.
14538
e034841e
CM
14539 * scripts/firstversions.awk: Fix bug in version range handling.
14540
540d7568
CM
14541 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
14542
3601428f
CM
14543 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
14544
463de862
CM
14545 * include/sys/epoll.h: New file.
14546 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
14547 libc_hidden_def.
14548
73139a76
UD
145492012-01-28 Ulrich Drepper <drepper@gmail.com>
14550
96bc5b45
UD
14551 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
14552 Avoid unnecessary __WORDSIZE == 64 test.
14553 (fmaxf): Use VEX format if possible.
14554 (fmax): Likewise.
14555 (fminf): Likewise.
14556 (fmin): Likewise.
14557
56f6f6a2
UD
14558 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
14559 * math/math_private.h: Remove libc_fegetround* and
14560 libc_fesetround*.
14561 * sysdeps/i386/configure.in: Check for -msse2avx.
14562 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
14563 also if SSE2AVX is defined.
14564 Remove libc_fegetround* and libc_fesetround*.
14565 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
14566 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
14567 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
14568 of HAS_YMM_USABLE.
14569 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14570 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14571 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14572 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14573 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14574
73139a76
UD
14575 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
14576
d73f93a4
AZ
145772012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14578
14579 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
14580 size is not set.
14581 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
14582
6ee65ed6
UD
145832012-01-27 Ulrich Drepper <drepper@gmail.com>
14584
14585 [BZ #13618]
14586 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
14587 relocation.
14588 * Makeconfig (libm): Define.
14589 * elf/Makefile: Add rules to build and run tst-relsort1.
14590 * elf/tst-relsort1.c: New file.
14591 * elf/tst-relsort1mod1.c: New file.
14592 * elf/tst-relsort1mod2.c: New file.
14593
8db21882
JM
145942012-01-27 Joseph Myers <joseph@codesourcery.com>
14595
14596 * math/s_ldexp.c: Remove __STDC__ conditionals.
14597 * math/s_ldexpf.c: Likewise.
14598 * math/s_ldexpl.c: Likewise.
14599 * math/s_nextafter.c: Likewise.
14600 * math/s_nexttowardf.c: Likewise.
14601 * math/s_significand.c: Likewise.
14602 * math/s_significandf.c: Likewise.
14603 * math/s_significandl.c: Likewise.
14604 * math/w_jnl.c: Likewise.
14605 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
14606 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
14607 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14608 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14609 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14610 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14611 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
14612 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14613 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14614 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14615 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14616 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14617 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14618 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
14619 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14620 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14621 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14622 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14623 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14624 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14625 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14626 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14627 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14628 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14629 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14630 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14631 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14632 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14633 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
14634 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14635 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14636 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
14637 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14638 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
14639 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
14640 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14641 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14642 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14643 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
14644 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14645 * sysdeps/ieee754/k_standard.c: Likewise.
14646 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14647 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14648 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14649 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14650 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14651 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14652 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14653 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14654 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14655 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14656 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14657 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
14658 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14659 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14660 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14661 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14662 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14663 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14664 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14665 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14666 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14667 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14668 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14669 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14670 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14671 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
14672 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14673 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14674 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14675 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14676 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14677 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
14678 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
14679 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
14680 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14681 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
14682 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
14683 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
14684 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
14685 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
14686 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
14687 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
14688 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
14689 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
14690 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
14691 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14692 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14693 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14694 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14695 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
14696 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
14697 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14698 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14699 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
14700 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14701 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
14702 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
14703 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14704 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14705 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14706 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14707 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
14708 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
14709 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14710 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14711 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14712 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14713 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
14714 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
14715 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14716 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14717 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14718 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14719 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14720 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14721 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14722 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
14723 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14724 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
14725 * sysdeps/ieee754/s_matherr.c: Likewise.
14726 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
14727 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14728 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14729 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14730
965a54a4
JM
147312012-01-26 Joseph Myers <joseph@codesourcery.com>
14732
14733 * crypt/md5.h: Remove __STDC__ conditionals.
14734 * libio/libioP.h: Likewise.
14735 * locale/programs/config.h: Likewise.
14736 * sysdeps/generic/sysdep.h: Likewise.
14737 * sysdeps/i386/asm-syntax.h: Likewise.
14738 * sysdeps/s390/asm-syntax.h: Likewise.
14739 * sysdeps/unix/sysdep.h: Likewise.
14740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
14741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14742
7071ad79
JM
147432012-01-26 Joseph Myers <joseph@codesourcery.com>
14744
14745 * libio/libio.h: Remove __STDC__ conditionals.
14746 * malloc/obstack.h: Likewise.
14747 * math/complex.h: Likewise.
14748 * math/math.h: Likewise.
14749 * sysdeps/generic/_G_config.h: Likewise.
14750 * sysdeps/gnu/_G_config.h: Likewise.
14751 * sysdeps/mach/hurd/_G_config.h: Likewise.
14752 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14753 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
14754 * sysdeps/sparc/bits/mathdef.h: Likewise.
14755
afc5ed09
UD
147562012-01-26 Ulrich Drepper <drepper@gmail.com>
14757
14758 [BZ #13583]
14759 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 14760 Clean up HAS_* macros.
afc5ed09 14761 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
14762 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
14763 possible.
14764 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
14765 HAS_AVX.
14766 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14767 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14768 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14769 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14770 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 14771
bdb6de1d
JM
147722012-01-25 Joseph Myers <joseph@codesourcery.com>
14773
14774 * elf/tst-unique3.cc (gets): Remove declaration.
14775 * elf/tst-unique3lib.cc (gets): Likewise.
14776 * elf/tst-unique3lib2.cc (gets): Likewise.
14777 * elf/tst-unique4.cc (gets): Likewise.
14778
b15549e6
UD
147792012-01-24 Ulrich Drepper <drepper@gmail.com>
14780
14781 * include/stdio.h: Add C++ protection. Add gets declarations and
14782 definitions.
14783 * debug/tst-chk1.c: Don't declare gets here.
14784 * stdio-common/tst-gets.c: Likewise.
14785
a037381f
JM
147862012-01-24 Joseph Myers <joseph@codesourcery.com>
14787
14788 * posix/glob: Remove directory.
14789
f1d4aa75
JM
147902012-01-24 Joseph Myers <joseph@codesourcery.com>
14791
14792 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
14793
81c0c964
PT
147942012-01-22 Pino Toscano <toscano.pino@tiscali.it>
14795
14796 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
14797 of the non-standard EPFNOSUPPORT.
14798
0ea698ae
ST
147992011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
14800
14801 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
14802 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
14803 ANYWHERE set to 1 only on KERN_NO_SPACE error.
14804
d220b117
UD
148052012-01-21 Ulrich Drepper <drepper@gmail.com>
14806
14807 * wcsmbs/uchar.h: Test __STDC_VERSION__.
14808
3e1aa84e
UD
148092012-01-20 Ulrich Drepper <drepper@gmail.com>
14810
14811 * nscd/aicache.c (addhstaiX): Do not cache negative results of
14812 transient errors.
14813 * nscd/grpcache.c (cache_addgr): Likewise.
14814 * nscd/hstcache.c (cache_addhst): Likewise.
14815 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14816 * nscd/pwdcache.c (cache_addpw): Likewise.
14817 * nscd/servicescache.c (cache_addserv): Likewise.
14818
400aa020
UD
148192012-01-16 Ulrich Drepper <drepper@gmail.com>
14820
d77e7869
UD
14821 * malloc/malloc.c: Various cleanups.
14822 * malloc/hooks.c: Likewise.
14823
400aa020
UD
14824 * stdlib/Makefile (tests): Add bug-fmtmsg1.
14825 * stdlib/bug-fmtmsg1.c: New file.
14826
14827 * stdlib/fmtmsg.c (init): Add missing unlock.
14828 Patch by Peng Haitao <penght@cn.fujitsu.com>.
14829
e0a309cf
MP
148302012-01-12 Marek Polacek <polacek@redhat.com>
14831
14832 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
14833 and _GNU_SOURCE.
14834
929d11c7
WS
148352012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
14836
14837 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
14838 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
14839 macro to ensure uniqueness of label name.
14840 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
14841 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
14842
41d0e869
UD
148432012-01-11 Ulrich Drepper <drepper@gmail.com>
14844
0cc5ed3b
UD
14845 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
14846
41d0e869
UD
14847 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
14848 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
14849 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14850 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
14851
a47a831a
UD
148522012-01-10 Ulrich Drepper <drepper@gmail.com>
14853
daa891c0
UD
14854 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
14855
14856 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
14857 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
14858 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
14859
e58ef0f2
UD
14860 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
14861
a47a831a 14862 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
14863 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
14864 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 14865 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
14866
14867 * math/bits/math-finite.h: Add ldexp support.
14868
a0bfc9c7
MP
148692012-01-10 Marek Polacek <polacek@redhat.com>
14870
14871 * locale/programs/localedef.h (show_archive_content): Add noreturn
14872 attribute.
14873
d6e97a1d
UD
148742012-01-09 Ulrich Drepper <drepper@gmail.com>
14875
14876 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
14877
d5835c26
UD
148782012-01-08 Ulrich Drepper <drepper@gmail.com>
14879
e5f484c6
UD
14880 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
14881
d5835c26
UD
14882 * io/Makefile (headers): Add bits/poll2.h.
14883
d1f741e9
WS
148842011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
14885
14886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
14887 typo #include statement.
14888
ec09c1c4
UD
148892012-01-08 Ulrich Drepper <drepper@gmail.com>
14890
14891 * include/sys/cdefs.h: Define __attribute_alloc_size.
14892 * catgets/gencat.c: Add alloc_size attribute and apply consistently
14893 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
14894 * elf/pldd.c: Likewise.
14895 * iconv/iconv_charmap.c: Likewise.
14896 * iconv/iconvconfig.c: Likewise.
14897 * iconv/strtab.c: Likewise.
14898 * locale/programs/locale.c: Likewise.
14899 * locale/programs/localedef.h: Likewise.
14900 * locale/programs/simple-hash.c: Likewise.
14901 * nscd/nscd.h: Likewise.
14902 * nss/makedb.c: Likewise.
14903 * sysdeps/generic/ldconfig.h: Likewise.
14904 * locale/programs/localedef.c: Remove xmalloc prototype.
14905 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
14906
20b38e03
PP
149072012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14908
14909 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
14910 appropriate.
14911
a0da5fe1
UD
149122012-01-08 Ulrich Drepper <drepper@gmail.com>
14913
1d5a644a 14914 * math/Makefile (tests): Add tst-CMPLX.
669704fd 14915 * math/tst-CMPLX.c: New file.
1d5a644a 14916
8784a6db
UD
14917 * math/complex.h (CMPLXL): Fix typo.
14918
d9a216c0
UD
14919 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
14920 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
14921 GLIBC_2.16.
14922 * debug/tst-chk1.c: Add poll and ppoll tests.
14923 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
14924 * include/sys/poll.h: Add hidden proto for ppoll.
14925 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
14926 * sysdeps/mach/hurd/ppoll.c: Likewise.
14927 * io/ppoll.c: Likewise.
14928 * debug/poll_chk.c: New file.
14929 * debug/ppoll_chk.c: New file.
14930 * include/bits/poll2.h: New file.
14931 * io/bits/poll2.h: New file.
14932
ac097f5c
UD
14933 [BZ #1350]
14934 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
14935
2119dcfa
UD
14936 * configure.in: static is always set to yes. Remove.
14937 * config.make.in: Don't set build-static.
14938 * Makeconfig: Remove use of build-static.
14939 * dlfcn/Makefile: Likewise.
14940 * elf/Makefile: Likewise.
14941 * math/Makefile: Likewise.
14942 * misc/Makefile: Likewise.
14943 * nptl/Makefile: Likewise.
14944 * sysdeps/mach/hurd/Makefile: Likewise.
14945
121766a9
UD
14946 * configure.in: PWD_P is not used anymore.
14947 * config.make.in: Remove PWD_P entry.
14948
51a1d39c 14949 * configure.in: Remove last remnants of RANLIB.
8720d066 14950 No need to check for signed size_t anymore.
215f4bdc
UD
14951 Don't set libc_commonpagesize and libc_relro_required here for Alpha
14952 and IA-64.
3857022a 14953 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
14954 * aclocal.m4: Likewise.
14955
d3ed7225
UD
14956 * wcsmbs/mbrtoc16.c: Implement using towc function.
14957 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
14958 * wcsmbs/wcsmbsload.c: Likewise.
14959 * iconv/gconv_simple.c: Likewise.
14960 * iconv/gconv_int.h: Likewise.
14961 * iconv/gconv_builtin.h: Likewise.
14962 * iconv/iconv_prog.c: Remove CHAR16 handling.
14963
14964 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
14965
14966 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
14967
a0da5fe1
UD
14968 * configure.in: Remove --with-elf and --enable-bounded options.
14969 Dont set base_machine for ia64. More non-ELF conditions removed.
14970 Remove testing and setting of leading underscore information.
14971 * config.make.in (build-bounded): Set to no.
14972 * config.h.in: Remove NO_UNDERSCORES entry.
14973 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
14974 them.
14975 * csu/start.c: Remove !NO_UNDERSCORE code.
14976 * locale/localeinfo.h: Likewise.
14977 * sysdeps/generic/machine-gmon.h: Likewise.
14978 * sysdeps/generic/sysdep.h: Likewise.
14979 * sysdeps/i386/sysdep.h: Likewise.
14980 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
14981 * sysdeps/mach/sysdep.h: Likewise.
14982 * sysdeps/s390/s390-32/sysdep.h: Likewise.
14983 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14984 * sysdeps/sh/sysdep.h: Likewise.
14985 * sysdeps/sparc/sparc32/alloca.S: Likewise.
14986 * sysdeps/unix/i386/sysdep.S: Likewise.
14987 * sysdeps/unix/sparc/start.c: Likewise.
14988 * sysdeps/unix/sparc/sysdep.S: Likewise.
14989 * sysdeps/unix/sparc/sysdep.h: Likewise.
14990 * sysdeps/unix/start.c: Likewise.
14991 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14992 * sysdeps/x86_64/sysdep.h: Likewise.
14993
df78418a
UD
149942012-01-07 Ulrich Drepper <drepper@gmail.com>
14995
a784e502
UD
14996 [BZ #13553]
14997 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
14998 for non-gcc.
14999 * argp/argp-fmtstream.h: Use const instead __const.
15000 * argp/argp.h: Likewise.
15001 * assert/assert.h: Likewise.
15002 * bits/fenv.h: Likewise.
15003 * bits/sched.h: Likewise.
15004 * bits/sigset.h: Likewise.
15005 * bits/sigthread.h: Likewise.
15006 * catgets/nl_types.h: Likewise.
15007 * conform/data/pthread.h-data: Likewise.
15008 * crypt/crypt-private.h: Likewise.
15009 * crypt/crypt.h: Likewise.
15010 * crypt/crypt_util.c: Likewise.
15011 * ctype/ctype.h: Likewise.
15012 * debug/execinfo.h: Likewise.
15013 * debug/mbsnrtowcs_chk.c: Likewise.
15014 * debug/mbsrtowcs_chk.c: Likewise.
15015 * debug/wcsnrtombs_chk.c: Likewise.
15016 * debug/wcsrtombs_chk.c: Likewise.
15017 * debug/wcstombs_chk.c: Likewise.
15018 * dirent/dirent.h: Likewise.
15019 * dlfcn/dlfcn.h: Likewise.
15020 * elf/neededtest4.c: Likewise.
15021 * grp/grp.h: Likewise.
15022 * gshadow/gshadow.h: Likewise.
15023 * iconv/gconv.h: Likewise.
15024 * iconv/gconv_int.h: Likewise.
15025 * iconv/gconv_simple.c: Likewise.
15026 * iconv/iconv.h: Likewise.
15027 * iconv/loop.c: Likewise.
15028 * iconv/skeleton.c: Likewise.
15029 * include/aio.h: Likewise.
15030 * include/aliases.h: Likewise.
15031 * include/argz.h: Likewise.
15032 * include/arpa/inet.h: Likewise.
15033 * include/assert.h: Likewise.
15034 * include/dirent.h: Likewise.
15035 * include/dlfcn.h: Likewise.
15036 * include/execinfo.h: Likewise.
15037 * include/fcntl.h: Likewise.
15038 * include/fenv.h: Likewise.
15039 * include/glob.h: Likewise.
15040 * include/grp.h: Likewise.
15041 * include/libintl.h: Likewise.
15042 * include/mntent.h: Likewise.
15043 * include/netdb.h: Likewise.
15044 * include/pwd.h: Likewise.
15045 * include/rpc/netdb.h: Likewise.
15046 * include/sched.h: Likewise.
15047 * include/search.h: Likewise.
15048 * include/shadow.h: Likewise.
15049 * include/signal.h: Likewise.
15050 * include/stdio.h: Likewise.
15051 * include/stdlib.h: Likewise.
15052 * include/string.h: Likewise.
15053 * include/sys/socket.h: Likewise.
15054 * include/sys/stat.h: Likewise.
15055 * include/sys/statfs.h: Likewise.
15056 * include/sys/statvfs.h: Likewise.
15057 * include/sys/syslog.h: Likewise.
15058 * include/sys/time.h: Likewise.
15059 * include/sys/uio.h: Likewise.
15060 * include/time.h: Likewise.
15061 * include/unistd.h: Likewise.
15062 * include/utmp.h: Likewise.
15063 * include/wchar.h: Likewise.
15064 * include/wctype.h: Likewise.
15065 * inet/aliases.h: Likewise.
15066 * inet/arpa/inet.h: Likewise.
15067 * inet/netinet/ether.h: Likewise.
15068 * inet/netinet/in.h: Likewise.
15069 * intl/libintl.h: Likewise.
15070 * io/bits/fcntl2.h: Likewise.
15071 * io/fcntl.h: Likewise.
15072 * io/ftw.h: Likewise.
15073 * io/sys/poll.h: Likewise.
15074 * io/sys/stat.h: Likewise.
15075 * io/sys/statfs.h: Likewise.
15076 * io/sys/statvfs.h: Likewise.
15077 * io/utime.h: Likewise.
15078 * libio/bits/stdio.h: Likewise.
15079 * libio/bits/stdio2.h: Likewise.
15080 * libio/libio.h: Likewise.
15081 * libio/libioP.h: Likewise.
15082 * libio/stdio.h: Likewise.
15083 * locale/lc-ctype.c: Likewise.
15084 * locale/locale.h: Likewise.
15085 * login/utmp.h: Likewise.
15086 * malloc/arena.c: Likewise.
15087 * malloc/malloc.c: Likewise.
15088 * malloc/malloc.h: Likewise.
15089 * malloc/mcheck.c: Likewise.
15090 * malloc/mtrace.c: Likewise.
15091 * math/bits/mathcalls.h: Likewise.
15092 * math/fenv.h: Likewise.
15093 * math/math_private.h: Likewise.
15094 * misc/bits/error.h: Likewise.
15095 * misc/bits/syslog.h: Likewise.
15096 * misc/err.h: Likewise.
15097 * misc/error.h: Likewise.
15098 * misc/fstab.h: Likewise.
15099 * misc/mntent.h: Likewise.
15100 * misc/regexp.h: Likewise.
15101 * misc/search.h: Likewise.
15102 * misc/sgtty.h: Likewise.
15103 * misc/sys/mman.h: Likewise.
15104 * misc/sys/syslog.h: Likewise.
15105 * misc/sys/uio.h: Likewise.
15106 * misc/sys/xattr.h: Likewise.
15107 * misc/ttyent.h: Likewise.
15108 * nis/rpcsvc/ypclnt.h: Likewise.
15109 * nss/nss.h: Likewise.
15110 * posix/bits/unistd.h: Likewise.
15111 * posix/fnmatch.h: Likewise.
15112 * posix/glob.h: Likewise.
15113 * posix/sched.h: Likewise.
15114 * posix/spawn.h: Likewise.
15115 * posix/sys/wait.h: Likewise.
15116 * posix/unistd.h: Likewise.
15117 * posix/wordexp.h: Likewise.
15118 * pwd/pwd.h: Likewise.
15119 * resolv/netdb.h: Likewise.
15120 * resource/sys/resource.h: Likewise.
15121 * rt/aio.h: Likewise.
15122 * rt/bits/mqueue2.h: Likewise.
15123 * rt/mqueue.h: Likewise.
15124 * shadow/shadow.h: Likewise.
15125 * signal/signal.h: Likewise.
15126 * socket/send.c: Likewise.
15127 * socket/sendto.c: Likewise.
15128 * socket/sys/socket.h: Likewise.
15129 * stdio-common/printf.h: Likewise.
15130 * stdlib/bits/stdlib.h: Likewise.
15131 * stdlib/fmtmsg.h: Likewise.
15132 * stdlib/monetary.h: Likewise.
15133 * stdlib/stdlib.h: Likewise.
15134 * stdlib/ucontext.h: Likewise.
15135 * streams/stropts.h: Likewise.
15136 * string/argz.h: Likewise.
15137 * string/bits/string2.h: Likewise.
15138 * string/string.h: Likewise.
15139 * string/strings.h: Likewise.
15140 * sunrpc/rpc/auth.h: Likewise.
15141 * sunrpc/rpc/auth_des.h: Likewise.
15142 * sunrpc/rpc/clnt.h: Likewise.
15143 * sunrpc/rpc/netdb.h: Likewise.
15144 * sunrpc/rpc/pmap_clnt.h: Likewise.
15145 * sunrpc/rpc/xdr.h: Likewise.
15146 * sysdeps/generic/inttypes.h: Likewise.
15147 * sysdeps/generic/net/if.h: Likewise.
15148 * sysdeps/generic/sys/swap.h: Likewise.
15149 * sysdeps/gnu/net/if.h: Likewise.
15150 * sysdeps/gnu/utmpx.h: Likewise.
15151 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
15152 * sysdeps/i386/i486/bits/string.h: Likewise.
15153 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
15154 * sysdeps/s390/bits/string.h: Likewise.
15155 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
15156 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
15157 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
15158 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
15159 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
15160 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
15161 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
15162 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
15163 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
15164 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
15165 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
15166 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15167 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
15168 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15169 * sysdeps/unix/sysv/linux/readv.c: Likewise.
15170 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
15171 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15172 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15173 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15174 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15175 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
15176 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
15177 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
15178 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
15179 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
15180 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
15181 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
15182 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15183 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
15184 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
15185 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
15186 * sysvipc/sys/ipc.h: Likewise.
15187 * sysvipc/sys/msg.h: Likewise.
15188 * sysvipc/sys/sem.h: Likewise.
15189 * sysvipc/sys/shm.h: Likewise.
15190 * termios/termios.h: Likewise.
15191 * time/sys/time.h: Likewise.
15192 * time/time.h: Likewise.
15193 * wcsmbs/bits/wchar2.h: Likewise.
15194 * wcsmbs/uchar.h: Likewise.
15195 * wcsmbs/wchar.h: Likewise.
15196 * wctype/wctype.h: Likewise.
15197
0269750c
UD
15198 [BZ #13551]
15199 * Makeconfig: Remove all but ELF support including AIX support.
15200 * Makerules: Likewise.
15201 * config.h.in: Likewise.
15202 * config.make.in: Likewise.
15203 * configure: Likewise.
15204 * configure.in: Likewise.
15205 * csu/Makefile: Likewise.
15206 * csu/version.c: Likewise.
15207 * debug/Makefile: Likewise.
15208 * dlfcn/Makefile: Likewise.
15209 * elf/Makefile: Likewise.
15210 * extra-lib.mk: Likewise.
15211 * iconv/Makefile: Likewise.
15212 * include/libc-symbols.h: Likewise.
15213 * include/shlib-compat.h: Likewise.
15214 * resolv/Makefile: Likewise.
15215 * resolv/res_libc.c: Likewise.
15216 * rt/Makefile: Likewise.
15217 * sysdeps/i386/asm-syntax.h: Likewise.
15218 * sysdeps/i386/sysdep.h: Likewise.
15219 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15220 * sysdeps/mach/sysdep.h: Likewise.
15221 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
15222 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
15223 * sysdeps/s390/asm-syntax.h: Likewise.
15224 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15225 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15226 * sysdeps/sh/sysdep.h: Likewise.
15227 * sysdeps/unix/sparc/sysdep.h: Likewise.
15228 * sysdeps/wordsize-32/divdi3.c: Likewise.
15229 * sysdeps/x86_64/sysdep.h: Likewise.
15230
00bbd29b
UD
15231 * argp/Versions: Remove _argp_unlock_xxx.
15232
15233 [BZ #13559]
15234 * abilist/ld.abilist: Update. Adjust for removal of tls option.
15235 * abilist/libBrokenLocale.abilist: Likewise.
15236 * abilist/libanl.abilist: Likewise.
15237 * abilist/libc.abilist: Likewise.
15238 * abilist/libcrypt.abilist: Likewise.
15239 * abilist/libdl.abilist: Likewise.
15240 * abilist/libm.abilist: Likewise.
15241 * abilist/libnsl.abilist: Likewise.
15242 * abilist/libpthread.abilist: Likewise.
15243 * abilist/libresolv.abilist: Likewise.
15244 * abilist/librt.abilist: Likewise.
15245 * abilist/libthread_db.abilist: Likewise.
15246 * abilist/libutil.abilist: Likewise.
15247 * abilist/libnss_db.abilist: New file.
15248
15249 * scripts/abilist.awk: Add support for indirect functions.
15250
a2693a0e
UD
15251 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
15252
3f05895f
UD
15253 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
15254
ecb6fb48
UD
15255 * shlib-versions: Remove entries for ports architectures.
15256
664f8cb9
UD
15257 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
15258 files in ports.
15259 * elf/stackguard-macros.h: Remove support for IA-64.
15260 * elf/tst-auditmod1.c: Likewise.
15261 * sysdeps/generic/ldsodefs.h: Likewise.
15262
7ae81d88
UD
15263 * sysdeps/unix/sysv/linux/configure.in: Ports should define
15264 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
15265 configure files.
15266
bdeba135
UD
15267 [BZ #13552]
15268 * configure.in: Remove --enable-omitfp support.
15269 * FAQ.in: Adjust.
15270 * config.make.in: Likewise.
15271 * Makeconfig: Likewise.
15272 * manual/install.texi: Likewise.
15273
d75a0a62
UD
15274 In case anyone cares, the IA-64 architecture could move to ports.
15275 * sysdeps/ia64/*: Removed.
15276 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 15277 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 15278
dcc9756b
UD
15279 [BZ #13555]
15280 * configure.in: Remove entries for unsupported architectures.
15281
d3761ebc 15282 [BZ #13533]
9954432e
UD
15283 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
15284 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
15285 routines.
15286 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
15287 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
15288 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
15289 fall back to using wcrtomb.
15290 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
15291 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
15292 renaming.
15293 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
15294 * wcsmbs/tst-c16c32-1.c: New file.
15295
15296 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
15297 local variable.
15298
c3a87236
UD
15299 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
15300
28926a1b
UD
15301 * elf/tst-unique3.cc: Add explicit declaration of gets.
15302 * elf/tst-unique3lib.cc: Likewise.
15303 * elf/tst-unique3lib2.cc: Likewise.
15304 * elf/tst-unique4.cc: Likewise.
15305
df78418a
UD
15306 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
15307
8ecd6b2a
JM
153082012-01-06 Joseph Myers <joseph@codesourcery.com>
15309
15310 [BZ #13566]
15311 * assert/assert.h (static_assert): Don't define for C++.
15312 * libio/stdio.h (gets): Do declare for C++ <= C++11.
15313 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
15314
9f115170
UD
153152012-01-03 Ulrich Drepper <drepper@gmail.com>
15316
5e0d0300
UD
15317 * iconv/loop.c (single loop): Fix assertion in storing of
15318 remaining bytes.
15319
9f115170
UD
15320 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
15321
81fb02b0
UD
153222012-01-01 Ulrich Drepper <drepper@gmail.com>
15323
15324 * posix/getconf.c: Update copyright year.
15325 * nss/getent.c: Likewise.
a316c1f6 15326 * nss/makedb.c: Likewise.
81fb02b0
UD
15327 * iconv/iconvconfig.c: Likewise.
15328 * iconv/iconv_prog.c: Likewise.
15329 * elf/ldconfig.c: Likewise.
a316c1f6
UD
15330 * elf/pldd.c: Likewise.
15331 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
15332 * catgets/gencat.c: Likewise.
15333 * csu/version.c: Likewise.
15334 * elf/ldd.bash.in: Likewise.
15335 * elf/sprof.c (print_version): Likewise.
15336 * locale/programs/locale.c: Likewise.
15337 * locale/programs/localedef.c: Likewise.
a316c1f6 15338 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
15339 * nscd/nscd.c (print_version): Likewise.
15340 * debug/xtrace.sh: Likewise.
15341 * malloc/memusage.sh: Likewise.
15342 * malloc/mtrace.pl: Likewise.
15343 * debug/catchsegv.sh: Likewise.
15344
2ba92745
JJ
153452011-12-30 Jakub Jelinek <jakub@redhat.com>
15346
15347 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
15348 pure attribute.
15349
dadebdae
UD
153502011-12-24 Ulrich Drepper <drepper@gmail.com>
15351
d3761ebc 15352 [BZ #13533]
db6af3eb
UD
15353 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
15354 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
15355 transformations.
15356 * iconv/gconv_int.h: Likewise.
15357 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
15358 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
15359 from libc for GLIBC_2.16.
15360 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
15361 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
15362 * wcsmbs/uchar.h: Really define mbstate_t.
15363 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
15364 * wcsmbs/c16rtomb.c: New file.
15365 * wcsmbs/mbrtoc16.c: New file.
15366 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
15367 for C/POSIX locale.
15368 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
15369 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
15370
dadebdae
UD
15371 * wcsmbs/wchar.h: Add missing __restrict.
15372
67371b56
UD
153732011-12-23 Ulrich Drepper <drepper@gmail.com>
15374
74033a25
UD
15375 [BZ #13532]
15376 * time/Makefile (routines): Add timespec_get.
15377 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
15378 * time/time.h: Define TIME_UTC and declare timespec_get. Define
15379 timespec for ISO C11.
15380 * time/timespec_get.c: New file.
15381 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
15382 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
15383
380d7e87
UD
15384 [BZ #13531]
15385 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
15386 * stdlib/stdlib.h: Declare aligned_alloc.
15387 * Versions.def: Add GLIBC_2.16 for libc.
15388 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
15389
4e9e7a35
UD
15390 [BZ 13527]
15391 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
15392 ISO C11.
15393
380d7e87 15394 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
15395 code.
15396
03a71829
UD
15397 [BZ #13528]
15398 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
15399
839e283e
UD
15400 [BZ #13529]
15401 * assert/assert.h (static_assert): Define.
15402
ce5294e2 15403 * version.h: Update for 2.16 development version.
90fa7312 15404
8d44e150 15405 [BZ #13526]
d7809905
UD
15406 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
15407 _ISOC11_SOURCE.
15408
c0da14cd
UD
15409 * version.h (RELEASE): Bump for 2.15 release.
15410 * include/features.h (__GLIBC_MINOR__): Bump to 15.
15411
530a3249
MP
15412 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
15413 Patch by Marek Polacek <mpolacek@redhat.com>.
15414
67371b56
UD
15415 * bits/byteswap.h: Protect long long constants with __extension__.
15416 * sysdeps/i386/bits/byteswap.h: Likewise.
15417 * sysdeps/ia64/bits/byteswap.h: Likewise.
15418 * sysdeps/s390/bits/byteswap.h: Likewise.
15419 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15420
15db4de1
LD
154212011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15422
15423 [BZ #13540]
bbe315ea
LD
15424 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
15425 destination buffer.
15db4de1
LD
15426 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
15427
2b2596b1
MP
154282011-12-23 Marek Polacek <polacek@redhat.com>
15429
15430 * elf/dl-addr.c (determine_info): Add inline keyword.
15431 * elf/tst-auditmod4b.c (check_avx): Likewise.
15432 * elf/tst-auditmod6b.c (check_avx): Likewise.
15433 * elf/tst-auditmod6c.c (check_avx): Likewise.
15434 * elf/tst-auditmod7b.c (check_avx): Likewise.
15435
70c6c246
UD
154362011-12-23 Ulrich Drepper <drepper@gmail.com>
15437
15438 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
15439 !__SSE_MATH__.
15440
c044cf14
LD
154412011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15442
15db4de1 15443 [BZ #13540]
c044cf14
LD
15444 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
15445 processing for last bytes.
15446
6b13d9d9
BH
154472011-08-06 Bruno Haible <bruno@clisp.org>
15448
d455f537
BH
15449 [BZ #13061]
15450 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
15451 U+0385, not to U+1FEE.
15452
6b13d9d9
BH
15453 [BZ #13062]
15454 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
15455 entry for U+00A5 U+0301.
15456
db910efd
UD
154572011-12-22 Ulrich Drepper <drepper@gmail.com>
15458
27deeafc
UD
15459 [BZ #13166]
15460 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
15461 buffer for the output is too small.
15462
aed9d171
UD
15463 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
15464 optimization.
15465
db910efd
UD
15466 [BZ #13185]
15467 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
15468 SSE flags if possible.
15469
2bd779ae
LD
154702011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15471
e7f9dac3 15472 [BZ #13540]
2bd779ae
LD
15473 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
15474 processing for last bytes.
15475
154bfc16
JM
154762011-12-22 Joseph Myers <joseph@codesourcery.com>
15477
15478 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
15479 (syscall-list-default-options, syscall-list-default-condition)
15480 (syscall-list-includes): Define.
15481 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
15482 list of ABIs and options and #if conditions for each ABI. Do not
15483 handle common syscalls between ABIs specially.
15484 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
15485 Remove.
15486 (syscall-list-variants, syscall-list-32bit-options)
15487 (syscall-list-32bit-condition, syscall-list-64bit-options)
15488 (syscall-list-64bit-condition): Define.
15489 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
15490 (syscall-list-variants, syscall-list-32bit-options)
15491 (syscall-list-32bit-condition, syscall-list-64bit-options)
15492 (syscall-list-64bit-condition): Define.
15493 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
15494 Remove.
15495 (syscall-list-variants, syscall-list-32bit-options)
15496 (syscall-list-32bit-condition, syscall-list-64bit-options)
15497 (syscall-list-64bit-condition): Define.
15498 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
15499 Remove.
15500 (syscall-list-variants, syscall-list-32bit-options)
15501 (syscall-list-32bit-condition, syscall-list-64bit-options)
15502 (syscall-list-64bit-condition): Define.
15503
21eaf3a5
UD
155042011-12-22 Ulrich Drepper <drepper@gmail.com>
15505
16c6f992
UD
15506 * locale/iso-639.def: Add brx entry.
15507
41043168
UD
15508 [BZ #13328]
15509 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
15510 Proposed by Mariusz_Cukr <marcukr@op.pl>.
15511
21eaf3a5
UD
15512 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
15513 __feraiseexcept_renamed.
15514
e3a851a2
UD
155152011-12-21 Ulrich Drepper <drepper@gmail.com>
15516
4920765e
UD
15517 [BZ #13538]
15518 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
15519 EPOLLET with unsigned values.
15520 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15521 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
15522
e3a851a2
UD
15523 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
15524 to large cancellation.
15525 * math/s_cacoshf.c: Likewise.
15526 * math/s_cacoshl.c: Likewise.
15527
b27e24b8
RK
155282011-11-18 Richard B. Kreckel <kreckel@ginac.de>
15529
15530 [BZ #13305]
aebefeee 15531 [BZ #12786]
b27e24b8
RK
15532 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
15533 * math/s_cacoshf.c: Likewise.
15534 * math/s_cacoshl.c: Likewise.
15535
ee190f67
UD
155362011-12-21 Ulrich Drepper <drepper@gmail.com>
15537
15538 [BZ #13439]
15539 * iconv/gconv.h: Define __GCONV_SWAP.
15540 * iconvdata/unicode.c: The swap bit must be stored in __flags.
15541 * iconvdata/utf-16.c: Likewise.
15542 * iconvdata/utf-32.c: Likewise.
15543
707f25df
AS
155442011-12-21 Andreas Schwab <schwab@linux-m68k.org>
15545
15546 [BZ #13524]
15547 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
15548 numerator after shifting it by one limb.
15549
d2daaa1e
RÁE
155502011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
15551
15552 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
15553 under [__USE_EXTERN_INLINES].
15554
a4647e72
UD
155552011-12-17 Ulrich Drepper <drepper@gmail.com>
15556
15557 [BZ #13446]
15558 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
15559
f0b264f1
AZ
155602011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15561
15562 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
15563 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
15564 optimized code.
15565 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
15566 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
15567 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
15568 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
15569 for strncasecmp/strncasecmp_l compilation.
15570 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
15571 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
15572
8ef4f244
MP
155732011-12-08 Marek Polacek <mpolacek@redhat.com>
15574
15575 [BZ #13484]
15576 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
15577 of __asm__.
15578
97ac2654
UD
155792011-12-17 Ulrich Drepper <drepper@gmail.com>
15580
15581 [BZ #13506]
15582 * time/tzfile.c (__tzfile_read): Check values from file header.
15583
91d2a845
WS
155842011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
15585
15586 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
15587 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
15588 * powerpc/powerpc32/dl-start.S: Likewise.
15589 * powerpc/powerpc32/elf/start.S: Likewise.
15590 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
15591 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
15592 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
15593 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
15594 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15595 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
15596 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
15597 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15598 * powerpc/powerpc32/fpu/s_round.S: Likewise.
15599 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15600 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15601 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15602 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
15603 * powerpc/powerpc32/memset.S: Likewise.
15604 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15605 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15606 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15607 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15608 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15609 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15610 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15611 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15612 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
15613 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
15614 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
15615 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15616 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15617
a1267ba1
AZ
156182011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15619
15620 * math/libm-test.inc: Added more nearbyint tests.
15621 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
15622 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
15623 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
15624 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
15625
ad8ac1bd
RL
156262011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
15627
15628 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
15629 FD_CLOEXEC.
15630
1d3e4b61
UD
156312011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15632
15633 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
15634 Add wcscpy-ssse3 wcscpy-c.
15635 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
15636 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
15637 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
15638 * sysdeps/x86_64/wcschr.S: New file.
15639 * sysdeps/x86_64/wcsrchr.S: New file.
15640 * string/test-strcmp.c: Remove checking of wcscmp function for
15641 wrong alignments.
15642 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
15643 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
15644 wcsrchr-sse2 wcsrchr-c.
15645 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
15646 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
15647 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
15648 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
15649 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
15650 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
15651 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
15652 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
15653 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
15654 * wcsmbc/wcschr.c (WCSCHR): New macro.
15655
5b330a2d
UD
156562011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15657
15658 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
15659 * wcsmbs/test-wcsrchr.c: New file.
15660 * string/test-strrchr.c: Add wcsrchr support.
15661 (WIDE): New macro.
15662 * wcsmbs/test-wcscpy.c: New file.
15663 * string/test-strcpy.c: Add wcscpy support.
15664 (WIDE): New macro.
26428b7c 15665
f039c043
UD
156662011-12-10 Ulrich Drepper <drepper@gmail.com>
15667
15668 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
15669 the inner loop.
15670
850fb039
AS
156712011-12-06 Andreas Schwab <schwab@linux-m68k.org>
15672
15673 [BZ #13472]
15674 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
15675
4efbd5cb
UD
156762011-12-04 Ulrich Drepper <drepper@gmail.com>
15677
52ff5dd0 15678 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 15679 Minor optimizations.
52ff5dd0 15680
4efbd5cb
UD
15681 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
15682 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
15683 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
15684
8a426e12
UD
156852011-12-03 Ulrich Drepper <drepper@gmail.com>
15686
aff2453d
UD
15687 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
15688 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
15689 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
15690 for gcc to avoid warnings.
15691 * inet/Makefile (tests): Add tst-checks.
15692 * inet/tst-checks.c: New file.
15693
15694 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
15695 warning.
15696
15697 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
15698 __wmemcmp_sse2.
15699
15700 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
15701 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
15702
8a426e12
UD
15703 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
15704
9bea3473
UD
157052011-12-02 Ulrich Drepper <drepper@gmail.com>
15706
3a965496
UD
15707 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
15708 problem.
15709
9bea3473
UD
15710 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
15711
f101631b
UD
157122011-11-29 Joseph Myers <joseph@codesourcery.com>
15713
15714 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
15715 conditional on GCC version.
15716 (__arch_compare_and_exchange_val_8_acq)
15717 (__arch_compare_and_exchange_val_16_acq)
15718 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
15719 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
15720 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
15721
a98275aa
UD
157222011-12-02 Joseph Myers <joseph@codesourcery.com>
15723
15724 * sysdeps/sh/backtrace.c: New file.
15725
d4cc29a2
AS
157262011-12-02 Andreas Schwab <schwab@redhat.com>
15727
15728 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
15729 parenthesis.
15730
6257af2d
AS
157312011-12-01 Andreas Schwab <schwab@redhat.com>
15732
15733 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
15734 falling back to utime.
15735
b5f44c1a
AS
157362011-11-30 Andreas Schwab <schwab@redhat.com>
15737
15738 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
15739 expectations for float.
15740
f3a6cc0a
AS
157412011-11-29 Andreas Schwab <schwab@redhat.com>
15742
15743 * locale/weight.h (findidx): Add parameter len.
15744 * locale/weightwc.h (findidx): Likewise.
15745 * posix/fnmatch_loop.c (FCT): Adjust caller.
15746 * posix/regcomp.c (build_equiv_class): Likewise.
15747 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
15748 * posix/regexec.c (check_node_accept_bytes): Likewise.
15749 * string/strcoll_l.c (STRCOLL): Likewise.
15750 * string/strxfrm_l.c (STRXFRM): Likewise.
15751
9d65ea3a
UD
157522011-11-17 Ulrich Drepper <drepper@gmail.com>
15753
15754 * Makefile.in: Remove CVSOPT handling.
15755 * configure.in: Remove use of AC_REVISION.
15756 * iconvdata/Makefile (distribute): No need to filter out CVS.
15757 * scripts/list-sources.sh: Remove CVS, subversion and monotone
15758 handling.
15759
5583a086
AS
157602011-11-16 Andreas Schwab <schwab@redhat.com>
15761
15762 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
15763 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
15764 [USE_AS_STRNCASECMP_L]: Likewise.
15765 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
15766 NO_TLS_DIRECT_SEG_REFS.
15767 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
15768 Fix argument offsets for non-PIC.
15769 [USE_AS_STRNCASECMP_L]: Likewise.
15770 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
15771 NO_TLS_DIRECT_SEG_REFS.
15772
d62a8200
UD
157732011-11-15 Ulrich Drepper <drepper@gmail.com>
15774
9d65ea3a 15775 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
15776 O_CLOEXEC.
15777 * locale/loadlocale.c (_nl_load_locale): Likewise.
15778
09f93bd3
AS
157792011-11-15 Andreas Schwab <schwab@redhat.com>
15780
446514f9
AS
15781 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
15782 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
15783 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
15784 (SYSCALL_GETTIME): Set errno on error.
15785
09f93bd3
AS
15786 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
15787 count references to noai6ai_cached.
15788
312be3f9
UD
157892011-11-15 Ulrich Drepper <drepper@gmail.com>
15790
15791 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
15792
15793 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
15794 FD_CLOEXEC for /proc/self/maps.
15795
15796 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
15797 FD_CLOEXEC for /proc/meminfo.
15798
15799 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
15800 gai.conf.
15801
15802 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
15803 FD_CLOEXEC for given file.
15804
15805 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
15806
15807 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
15808 FD_CLOEXEC for /etc/hosts.
15809 (_gethtent): Likewise.
15810
15811 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
15812
15813 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
15814 cancellation and set FD_CLOEXEC for /etc/netgroup.
15815
15816 * nss/nss_files/files-key.c (search): Don't allow cancellation when
15817 reading /etc/publickey.
15818
15819 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
15820 allow cancellation when reading /etc/group.
15821
15822 * nss/nss_files/files-alias.c (internal_setent): Don't allow
15823 cancellation.
15824 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
15825
15826 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
15827 when using data file.
15828
15829 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
15830
15831 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
15832 (write_nis_obj): Use "c" and "e" in fopen.
15833
15834 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
15835
15836 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
15837
15838 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
15839
15840 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
15841
15842 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
15843 locale.alias.
15844
15845 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
15846
15847 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
15848
15849 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
15850
15851 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
15852 file parsing and set FD_CLOEXEC.
15853
82af0fa8
UD
158542011-11-14 Ulrich Drepper <drepper@gmail.com>
15855
15856 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
15857
a5fb313c
AS
158582011-11-14 Andreas Schwab <schwab@redhat.com>
15859
15860 * malloc/arena.c (arena_get2): Don't call reused_arena when
15861 _int_new_arena failed.
15862
6abf3465
UD
158632011-11-14 Ulrich Drepper <drepper@gmail.com>
15864
15865 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
15866 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
15867 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
15868 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15869 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15870 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
15871 to compile strcasecmp and strncasecmp.
15872 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
15873 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
15874
15875 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
15876
76e3966e
UD
158772011-11-13 Ulrich Drepper <drepper@gmail.com>
15878
15879 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
15880 locale-defines.sym to gen-as-const-headers.
15881 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
15882 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
15883 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
15884 to compile strcasecmp and strncasecmp.
15885 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
15886 strcasecmp_l and strncasecmp_l.
15887 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
15888 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
15889 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
15890 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
15891 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
15892 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
15893 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
15894 * sysdeps/i386/i686/multiarch/strncase.S: New file.
15895 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
15896 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
15897 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
15898
ab26144e
UD
158992011-11-12 Ulrich Drepper <drepper@gmail.com>
15900
7edb22ef
UD
15901 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
15902 result of SYSDEP_GETTIME_CPU to retval.
15903 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
15904 parameter list to macro. Remove trailing semicolon. Adjust users.
15905
9694fc44
UD
15906 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
15907 variable.
15908
8ad89ef8
UD
15909 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
15910 mantissa words.
15911 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
15912
0c822ef9
UD
15913 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
15914 from unused variable.
15915
874e0564
UD
15916 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
15917 DWARF definitions.
15918 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
15919 for assembling.
15920
3a2edc79
UD
15921 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
15922 over namespaces.
15923
f3c2577f
UD
15924 * sunrpc/rpc_prot.c (rejected): Fix case value.
15925
294ce126
UD
15926 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
15927 unsigned long long int to avoid warnings in shift.
15928
5e2b63c6
UD
15929 * posix/regex_internal.c (re_string_reconstruct): Actually use result
15930 of use of trans.
15931 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
15932 variable tmp.
15933
e7f4b08e
UD
15934 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
15935 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
15936 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
15937
ab26144e
UD
15938 * nis/nis_table.c (nis_list): Use variable of correct type for
15939 result of __follow_path call.
15940
8a6d5255
AZ
159412011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15942
15943 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
15944 of math functions ceil, trunc, floor, round, and sqrt, when
15945 avaliable on the platform.
15946 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
15947 name clash.
15948 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15949 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
15950 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
15951
aaddc98c
MP
159522011-10-30 Marek Polacek <mpolacek@redhat.com>
15953
15954 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
15955 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
15956
95b7042b
RM
159572011-11-11 Roland McGrath <roland@hack.frob.com>
15958
15959 * include/unistd.h: Fix __readlink return type.
15960 Reported by Chris Metcalf <cmetcalf@tilera.com>.
15961
57769839
UD
159622011-11-11 Ulrich Drepper <drepper@gmail.com>
15963
15964 * stdlib/ucontext.h: Undo last change for makecontext.
15965
edc5984d
AS
159662011-11-11 Andreas Schwab <schwab@redhat.com>
15967
98591e58
AS
15968 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
15969
edc5984d
AS
15970 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
15971 * setjmp/setjmp.h: Mark functions as non-leaf.
15972 * setjmp/bits/setjmp2.h: Likewise.
15973 * stdlib/ucontext.h: Likewise.
15974
77cdc054
AS
159752011-11-10 Andreas Schwab <schwab@redhat.com>
15976
15977 * malloc/arena.c (_int_new_arena): Don't increment narenas.
15978 (reused_arena): Don't check arena limit.
15979 (arena_get2): Atomically check arena limit.
15980
fe72eebd
UD
159812011-11-08 Ulrich Drepper <drepper@gmail.com>
15982
5f078c32
UD
15983 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
15984 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
15985
fe72eebd
UD
15986 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
15987 instructions.
15988
ae1bc2fa
AS
159892011-11-07 Andreas Schwab <schwab@redhat.com>
15990
7583a88d
AS
15991 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
15992 handler when locking.
15993
ae1bc2fa
AS
15994 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15995 Fix size of allocated buffer.
15996
10fb0bfa
AS
159972011-11-04 Andreas Schwab <schwab@redhat.com>
15998
998832a4
AS
15999 [BZ #10103]
16000 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
16001 declarations for long double functions.
16002 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
16003
10fb0bfa
AS
16004 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
16005
3d7ba52b
AS
160062011-11-03 Andreas Schwab <schwab@redhat.com>
16007
a9ae54a1
AS
16008 * nscd/nscd.c (main): Don't start AVC thread until credentials are
16009 installed.
16010
3d7ba52b
AS
16011 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
16012 is disabled.
16013
bc8db248
ST
160142011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16015
16016 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
16017
45b96dd6
AS
160182011-11-01 Andreas Schwab <schwab@linux-m68k.org>
16019
647776f6
AS
16020 * include/alloca.h (stackinfo_alloca_round): Define.
16021 (extend_alloca): Use it.
16022 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
16023 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
16024 here.
16025
d91a8b93
AS
16026 * scripts/check-local-headers.sh: Ignore libaudit.h.
16027
45b96dd6
AS
16028 * nscd/Makefile (extra-objs): Make recursively expanded.
16029
432d41ce
UD
160302011-11-01 Ulrich Drepper <drepper@gmail.com>
16031
34372fc6
UD
16032 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
16033 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16034
fadb59f8
UD
16035 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
16036 * posix/tst-rfc3484-2.c: Likewise.
16037 * posix/tst-rfc3484-3.c: Likewise.
16038
78239589
UD
16039 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
16040 process_vm_writev.
16041 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
16042 process_vm_writev.
16043 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
16044 process_vm_writev from libc using GLIBC_2.15 version.
16045
432d41ce
UD
16046 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
16047
02f9c6cf
PP
160482011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
16049
16050 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
16051 stack usage.
16052
3a2c0242
UD
160532011-10-31 Ulrich Drepper <drepper@gmail.com>
16054
f4ec4833
UD
16055 [BZ #13367]
16056 * nss/getent.c (initgroups_keys): Show error message in case no group
16057 names are given.
16058
3a2c0242
UD
16059 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
16060 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
16061 __bump_nl_timestamp.
16062 * nscd/connections (nscd_init): When host database is served open
16063 netlink socket and request notification about configuration changes.
16064 (main_loop_poll): Track netlink file descriptor and bump timestamp
16065 in case data becomes available.
16066 (main_loop_epoll): Likewise.
16067 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
16068 (database_pers_head): Add extra_data fileds.
16069 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
16070 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
16071 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
16072 Adjust caller.
16073 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
16074 in6ai data, call __free_in6ai.
16075 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
16076 Add -DHAVE_NETLINK.
16077 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
16078 interface information. Reuse previous data if netlink timestamp
16079 is not changed.
16080 (__bump_nl_timestamp): New function.
16081 (__free_in6ai): New function.
16082
636064eb
UD
160832011-10-30 Ulrich Drepper <drepper@gmail.com>
16084
16085 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
16086 close_not_cancel_no_status here.
16087 (__check_pf): Reorganize code a bit to not call close twice if OOM.
16088
9beb2334
UD
160892011-10-29 Ulrich Drepper <drepper@gmail.com>
16090
6ef76f3b
UD
16091 [BZ #13276]
16092 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
16093 return value.
16094
0ffc4f3e 16095 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
16096 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
16097 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
16098
cb95113e
UD
160992011-07-03 Andreas Jaeger <aj@suse.de>
16100
16101 [BZ #10709]
16102 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
16103 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
16104 * math/libm-test.inc (sin_test): Add test case.
16105
a1b560ff
UD
161062011-10-29 Ulrich Drepper <drepper@gmail.com>
16107
c9aaface
UD
16108 [BZ #13337]
16109 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
16110 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16111
d272e7f1
UD
16112 * elf/chroot_canon.c (chroot_canon): Cleanups.
16113
1bc33071
UD
16114 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
16115
1760874d
TJ
16116 [BZ #13335]
16117 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
16118 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16119
51d91b18
UD
16120 * string/test-strchr.c: Make usable for strchrnul testing.
16121 * string/test-strchrnul.c: New file.
16122 * string/Makefile (strop-tests): Add strchrnul.
16123
a1b560ff 16124 * po/it.po: Update from translation team.
b611fb81 16125 * po/es.po: Likewise.
a1b560ff 16126
a5b81e1f
UD
161272011-10-28 Ulrich Drepper <drepper@gmail.com>
16128
fd52bc6d
UD
16129 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
16130 the three constants needed as parameters. Drop the others.
16131 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
16132 __m128i_strloadu_tolower.
52e4b9eb
UD
16133 Create and initialize variable zero and use it in all the places
16134 where _mm_setzero_si128 was used.
fd52bc6d 16135
a5b81e1f
UD
16136 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
16137 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
16138 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
16139 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
16140 anymore.
16141 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
16142 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
16143 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
16144 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
16145 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
16146 __mpranred, __mptan.
16147 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
16148 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
16149 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
16150 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
16151 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
16152 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
16153 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
16154 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
16155 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
16156
b4343346
AS
161572011-10-28 Andreas Schwab <schwab@redhat.com>
16158
0c92d8a8
AS
16159 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
16160 redefine if SHARED.
16161 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
16162
b4343346
AS
16163 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
16164 wide char related routines to wcsmbs subdir.
16165
3871f58f
AS
161662011-10-27 Andreas Schwab <schwab@redhat.com>
16167
16168 [BZ #13344]
16169 * misc/sys/cdefs.h (__THROWNL): Define.
16170 * posix/unistd.h: Use __THREADNL instead of __THREAD
16171 for memory synchronization functions.
16172
94d44d9f
RM
161732011-10-26 Roland McGrath <roland@hack.frob.com>
16174
21b64b15 16175 [BZ #13349]
94d44d9f
RM
16176 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
16177 doesn't exist.
16178 * manual/stdio.texi (Obstack Streams): Node removed.
16179
f6ce9294
AS
161802011-10-26 Andreas Schwab <schwab@redhat.com>
16181
80479147
AS
16182 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
16183 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16184 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16185
f6ce9294
AS
16186 * math/math_private.h (math_force_eval): Allow non-addressable
16187 arguments.
16188 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
16189
618280a1
UD
161902011-10-25 Ulrich Drepper <drepper@gmail.com>
16191
e0016b11
UD
16192 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
16193 file is not needed.
16194
16195 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
16196 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
16197 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16198 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16199 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16200 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16201 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16202 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
16203 Add AVX variants.
16204 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
16205 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
16206 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
16207 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
16208 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
16209 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
16210 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
16211 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
16212 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
16213 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
16214 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
16215 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
16216 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
16217 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
16218 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
16219 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
16220 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
16221 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
16222 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
16223
16224 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
16225 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
16226
618280a1
UD
16227 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
16228 place. Use VEX encoding when compiling for AVX.
16229
37822576
AS
162302011-10-25 Andreas Schwab <schwab@redhat.com>
16231
1f1e1947
AS
16232 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
16233 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16234
37822576
AS
16235 * string/test-strchr.c (do_test): Don't generate NUL bytes.
16236
31ea014d
UD
162372011-10-25 Ulrich Drepper <drepper@gmail.com>
16238
d7826aa1 16239 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 16240 useless if() expression.
d7826aa1
UD
16241 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16242 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16243 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16244 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16245 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16246 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16247 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16248 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16249 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16250 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16251 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16252 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16253 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16254 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16255 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16256 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16257 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16258 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16259 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16260
31ea014d
UD
16261 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
16262
16437fec
AS
162632011-10-25 Andreas Schwab <schwab@redhat.com>
16264
16265 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
16266 condition.
16267 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16268
31d3cc00
UD
162692011-10-25 Ulrich Drepper <drepper@gmail.com>
16270
16271 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
16272 .text section. Avoid duplicate constants.
16273 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16274 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16275 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16276 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16277 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16278 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16279 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16280 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16281 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16282 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
16283 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16284 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16285 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
16286 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
16287 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
16288 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
16289 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
16290 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16291 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16292 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16293 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16294 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16295 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16296 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
16297 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
16298 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
16299 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
16300 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
16301 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
16302 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
16303 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
16304 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
16305 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16306 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
16307 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
16308 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
16309 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
16310 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
16311 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
16312 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
16313 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
16314 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
16315 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
16316 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
16317 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
16318
58985aa9
UD
163192011-10-24 Ulrich Drepper <drepper@gmail.com>
16320
202c9deb
UD
16321 * sysdeps/x86_64/dla.h: Move to ...
16322 * sysdeps/x86_64/fpu/dla.h: ...here.
16323 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
16324 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 16325
af968f62
UD
16326 * config.make.in: Add have-mfma4 entry.
16327 * configure.in: Substitute libc_cv_cc_fma4.
16328 * math/Makefile (dbl-only-routines): Add sincostab.
16329 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
16330 Use __sincostab not sincos.
16331 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
16332 name is a macro.
16333 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16334 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16335 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16336 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
16337 using __copysign.
16338 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
16339 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
16340 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
16341 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
16342 and __inv.
16343 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
16344 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
16345 __copysign.
16346 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
16347 define aliases when function name is a macro.
16348 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
16349 sysdeps/ieee754/dbl-64/sincos.tbl.
16350 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
16351 fma4-enabled routines.
16352 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
16353 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
16354 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
16355 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
16356 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
16357 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
16358 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
16359 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
16360 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
16361 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
16362 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
16363 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
16364 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
16365 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
16366 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
16367 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
16368 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
16369 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
16370 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
16371 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
16372 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
16373 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
16374 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
16375 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
16376 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
16377 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
16378 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
16379 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
16380 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
16381 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
16382
58985aa9
UD
16383 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
16384 rename.
16385 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16386 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16387 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16388 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16389 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16390 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16391 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16392 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16393
a201fbcf
AS
163942011-10-24 Andreas Schwab <schwab@redhat.com>
16395
16396 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
16397
fc2ee42a
LD
163982011-10-23 Ulrich Drepper <drepper@gmail.com>
16399
bb3129bd
UD
16400 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
16401
0275fff8
UD
16402 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
16403 prediction.
16404 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
16405
2fa2ae85
UD
16406 * string/strnlen.c: Don't define STRNLEN, reverse logic.
16407 Remove unused variable magic_bits.
16408 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
16409
fc2ee42a
LD
16410 * string/strnlen.c: Define and use STRNLEN macro.
16411 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
16412 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
16413 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
16414 * wcsmbs/wcslen.c: Define and use WCSLEN.
16415 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
16416 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
16417 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
16418 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
16419 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
16420 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
16421 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
16422
ce7dd29f
LD
164232011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16424
16425 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16426 strnlen-sse2-no-bsf.
16427 Rename strlen-no-bsf to strlen-sse2-no-bsf.
16428 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
16429 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
16430 Add strnlen support.
16431 (USE_AS_STRNLEN): New macro.
16432 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
16433 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
16434 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
16435 * sysdeps/x86_64/wcslen.S: New file.
16436
979c70a3
MZ
164372011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
16438
16439 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16440 XMM-moves are used for copying on small sizes.
16441
2d09f82f
LD
164422011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16443
16444 * wcsmbs/Makefile (strop-tests): Add wcschr.
16445 * wcsmbs/test-wcschr.c: New file.
16446 * string/test-strchr.c: Update.
16447 Add wcschr support.
16448 (WIDE): New macro.
16449
619fccca
LD
164502011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16451
2d09f82f 16452 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
16453 * wcsmbs/test-wcslen.c: New file.
16454 * string/test-strlen.c: Update.
16455 Add wcslen support.
16456 (WIDE): New macro.
16457
09f699ea
UD
164582011-10-23 Ulrich Drepper <drepper@gmail.com>
16459
16460 * po/it.po: Update from translation team.
16461
95584d3b
LD
164622011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16463
16464 * sysdeps/x86_64/wcscmp.S: Update.
16465 Fix wrong comparison semantics.
16466 wcscmp shall use signed comparison not unsigned.
16467 Don't use substraction to avoid overflow bug.
16468 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
16469 * wcsmbc/wcscmp.c: Likewise.
16470 * string/test-strcmp.c: Likewise.
16471 Add new tests to check cases with negative values.
16472
c8b3296b
UD
164732011-10-23 Ulrich Drepper <drepper@gmail.com>
16474
16475 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
16476 * sysdeps/x86_64/dla.h: ...here. New file.
16477 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
16478 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16479 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16480 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16481 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16482 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16483 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16484 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16485 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16486
246ad57a
AS
164872011-10-23 Andreas Schwab <schwab@linux-m68k.org>
16488
16489 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
16490 __ynl_finite aliases.
16491
a1a87169
UD
164922011-10-22 Ulrich Drepper <drepper@gmail.com>
16493
0d355eb7
UD
16494 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16495
a1a87169
UD
16496 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
16497 define DLA_FMA.
16498 [DLA_FMA] (EMULV): Use DLA_FMA.
16499 [DLA_FMA] (MUL12): Use EMULV.
16500 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
16501 that are not needed.
16502 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16503 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16504 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16505 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16506 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16507 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16508 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16509
ee2aafe0
AS
165102011-10-22 Andreas Schwab <schwab@linux-m68k.org>
16511
16512 * math/s_nan.c: Undef __nan.
16513 * math/s_nanf.c: Undef __nanf.
16514 * math/s_nanl.c: Undef __nanl.
16515 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
16516 "math_private.h".
16517
bc62c2fb
UD
165182011-10-22 Ulrich Drepper <drepper@gmail.com>
16519
77425c63
UD
16520 * math/s_catan.c: Add branch predictions.
16521 * math/s_catanf.c: Likewise.
16522 * math/s_catanh.c: Likewise.
16523 * math/s_catanhf.c: Likewise.
16524 * math/s_catanhl.c: Likewise.
16525 * math/s_catanl.c: Likewise.
16526 * math/s_cexp.c: Likewise.
16527 * math/s_cexpf.c: Likewise.
16528 * math/s_cexpl.c: Likewise.
16529 * math/s_clog.c: Likewise.
16530 * math/s_clog10.c: Likewise.
16531 * math/s_clog10f.c: Likewise.
16532 * math/s_clog10l.c: Likewise.
16533 * math/s_clogf.c: Likewise.
16534 * math/s_clogl.c: Likewise.
16535 * math/s_csqrt.c: Likewise.
16536 * math/s_csqrtf.c: Likewise.
16537 * math/s_csqrtl.c: Likewise.
16538 * math/s_ctanf.c: Likewise.
16539 * math/s_ctanh.c: Likewise.
16540 * math/s_ctanhf.c: Likewise.
16541 * math/s_ctanhl.c: Likewise.
16542 * math/s_ctanl.c: Likewise.
16543
bc62c2fb
UD
16544 * math/math_private.h: Define __nan, __nanf, __nanl.
16545 * math/s_cacosh.c: Include <math_private.h>.
16546 * math/s_cacoshl.c: Likewise.
16547 * math/s_casinh.c: Likewise.
16548 * math/s_casinhf.c: Likewise.
16549 * math/s_casinhl.c: Likewise.
16550 * math/s_ccos.c: Rely entire on ccosh.
16551 * math/s_ccosf.c: Rely entire on ccoshf.
16552 * math/s_ccosl.c: Rely entirely on ccoshl.
16553 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
16554 Remove tests for FE_INVALID.
16555 * math/s_ccoshf.c: Likewise.
16556 * math/s_ccoshl.c: Likewise.
16557 * math/s_csin.c: Likewise.
16558 * math/s_csinf.c: Likewise.
16559 * math/s_csinh.c Likewise.
16560 * math/s_csinhf.c: Likewise.
16561 * math/s_csinhl.c: Likewise.
16562 * math/s_csinl.c: Likewise.
16563 * math/s_ctan.c: Likewise.
16564 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
16565 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
16566 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
16567
8ec250a4
UD
165682011-10-21 Ulrich Drepper <drepper@gmail.com>
16569
c196fed8
UD
16570 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
16571 compilation problems.
16572
8ec250a4
UD
16573 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
16574 __builtin_expect.
16575
8d4f46c6
UD
165762011-10-20 Ulrich Drepper <drepper@gmail.com>
16577
ed72b654
UD
16578 * sysdeps/i386/configure.in: Test for -mfma4 option.
16579 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
16580 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
16581 COMMON_CPUID_INDEX_80000001.
16582 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
16583 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
16584 use it if FMA3 is not supported.
16585 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
16586
8d4f46c6
UD
16587 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
16588 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
16589
d45c60c2
AS
165902011-10-20 Andreas Schwab <schwab@redhat.com>
16591
16592 [BZ #12892]
16593 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
16594 it would create a cycle with a link time dependency.
16595
d9a4d2ab
UD
165962011-10-19 Ulrich Drepper <drepper@gmail.com>
16597
855d1560
UD
16598 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
16599 instruction.
16600 * string/Makefile (strop-tests): Add rawmemchr.
16601 * string/test-rawmemchr.c: New file.
16602
d9a4d2ab
UD
16603 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
16604 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
16605 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
16606 when compiling str{,n}casecmp and when AVX is available. Hook up
16607 new optimized code in initializers.
16608
8f3b1ffe
AS
166092011-10-19 Andreas Schwab <schwab@redhat.com>
16610
16611 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
16612 __feraiseexcept instead of feraiseexcept.
16613
d38f1dba
UD
166142011-10-18 Ulrich Drepper <drepper@gmail.com>
16615
d9a8d0ab
UD
16616 * math/math_private.h: Define defaults for libc_fetestexcept and
16617 libc_feupdateenv.
16618 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
16619 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
16620 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
16621 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
16622 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16623 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
16624 libc_fetestexcept and libc_feupdateenv.
16625
4855e3dd
UD
16626 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
16627 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
16628 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
16629 * sysdeps/x86_64/fpu/math_private.h: Define special version of
16630 libc_feholdexcept_setround.
16631
581d30e3
UD
16632 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
16633 Add s_nearbyint-c and s_nearbyintf-c.
16634 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
16635 nearbyintf inlines.
16636 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
16637 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
16638 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
16639 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
16640
d38f1dba
UD
16641 * math/math_private.h: Define defaults for libc_fegetround,
16642 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
16643 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
16644 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
16645 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
16646 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
16647 standard functions.
16648 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16649 Remove comments and hacks for old compiler versions.
16650 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
16651 libc_fegetround, libc_fesetround, libc_feholdexcept, and
16652 libc_feholdexceptl.
16653
caa6c9d8
AS
166542011-10-18 Andreas Schwab <schwab@redhat.com>
16655
16656 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
16657 (__feraiseexcept_renamed): Add __NTH.
16658 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
16659 namespace violations.
16660
97c066e6
UD
166612011-10-17 Ulrich Drepper <drepper@gmail.com>
16662
99ce7b04
UD
16663 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
16664
1004d182
UD
16665 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
16666
228a984d
UD
16667 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
16668 recently added interfaces.
16669 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
16670
c8553a6a
UD
16671 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
16672 about macro parameter expansion.
16673
ed22dcf6
UD
16674 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
16675 __NO_MATH_INLINES is defined. Cleanups.
16676
16677 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
16678 and __floorf is target has SSE4.1.
16679 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
16680 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
16681 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
16682 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
16683
b171c137
UD
16684 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
16685 name.
16686 (floorf): Likewise.
16687
97c066e6
UD
16688 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
16689
629f62ef
AS
166902011-10-17 Andreas Schwab <schwab@redhat.com>
16691
49a43d80
AS
16692 * misc/sys/cdefs.h: Fix last change.
16693
629f62ef
AS
16694 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
16695 database lookup.
16696
e453f6cd
UD
166972011-10-16 Ulrich Drepper <drepper@gmail.com>
16698
aa78043a
UD
16699 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
16700
ad0f5cad
UD
16701 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
16702 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16703 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16704 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16705 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16706 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
16707 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16708 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16709 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
16710 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
16711 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
16712 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
16713 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
16714 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
16715 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
16716 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
16717 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
16718 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
16719 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
16720 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
16721 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
16722 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
16723
16724 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
16725 ceil, ceilf, floor, floorf.
16726
16727 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
16728 Perform IRELATIVE relocations last.
16729
e453f6cd
UD
16730 * elf/do-rel.h: Add another parameter nrelative, replacing the
16731 local variable with the same name. Change name of the function
16732 to end in Rel or Rela (uppercase).
16733 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
16734 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
16735 elf_dynamic_do_##reloc function.
16736
fd5bdc09
UD
167372011-10-15 Ulrich Drepper <drepper@gmail.com>
16738
79b195b5
UD
16739 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
16740 is sufficient, at least on modern CPUs.
16741
d4a28569
UD
16742 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
16743
b61099b5
UD
16744 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
16745 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
16746
bcf01e6d
UD
16747 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
16748 __expl_finite.
16749 * math/bits/math-finite.h: Add entries for exp.
16750 * math/e_expl.c: Add __*_finite alias.
16751 * sysdeps/i386/fpu/e_exp.S: Likewise.
16752 * sysdeps/i386/fpu/e_expf.S: Likewise.
16753 * sysdeps/i386/fpu/e_expl.c: Likewise.
16754 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16755 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
16756 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16757 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16758 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
16759 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
16760 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
16761
ba1a0d59
UD
16762 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
16763 is sufficient, at least on modern CPUs.
16764
fd5bdc09
UD
16765 * ctype/ctype-info.c (__ctype_init): Define.
16766 * include/ctype.h (__ctype_init): Declare.
16767 (__ctype_b_loc): The variable is always initialized.
16768 (__ctype_toupper_loc): Likewise.
16769 (__ctype_tolower_loc): Likewise.
16770 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
16771 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
16772
7872cfb0
AS
167732011-10-15 Andreas Schwab <schwab@linux-m68k.org>
16774
b468825a
AS
16775 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
16776
7872cfb0
AS
16777 * configure.in: Also look in $cxxmachine/include for C++ system
16778 headers.
16779
be13f7bf
LD
167802011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16781
16782 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
16783 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
16784 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
16785 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
16786 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
16787 (USE_AS_WMEMCMP): New macro.
16788 Fixing indents.
16789 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
16790 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
16791 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
16792 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
16793 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16794 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
16795 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
16796 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
16797 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
16798 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
16799 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
16800 (USE_AS_WMEMCMP): New macro.
16801 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
16802 * sysdeps/string/test-memcmp.c: Update.
16803 Fix simple_wmemcmp.
16804 Add new tests.
16805 * wcsmbs/wmemcmp.c: Update.
16806 (WMEMCMP): New macro.
16807 Fix overflow bug.
16808
556a2007
AJ
168092011-10-12 Andreas Jaeger <aj@suse.de>
16810
16811 [BZ #13268]
16812 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
16813
538faaa7
UD
168142011-10-15 Ulrich Drepper <drepper@gmail.com>
16815
ab6737ff
UD
16816 * libio/iofwide.c (do_length): Avoid warning.
16817
538faaa7
UD
16818 * ctype/ctype.h (__isctype_f): Add missing __THROW.
16819
396a21b1
UD
168202011-10-14 Ulrich Drepper <drepper@gmail.com>
16821
cdf2901f
UD
16822 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
16823
38ad40ce
UD
16824 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
16825 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
16826 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
16827 * sysdeps/i386/i686/fpu/e_log.S: New file.
16828 * sysdeps/i386/i686/fpu/e_logf.S: New file.
16829 * sysdeps/i386/i686/fpu/e_logl.S: New file.
16830
396a21b1
UD
16831 * ctype/ctype.h: Add support for inlined isXXX functions when
16832 compiling C++ code.
16833
6b1f68c9
AS
168342011-10-14 Andreas Schwab <schwab@redhat.com>
16835
349290c0
AS
16836 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16837
6b1f68c9
AS
16838 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
16839
f2282d42
RM
168402011-10-13 Roland McGrath <roland@hack.frob.com>
16841
16842 [BZ #13291]
16843 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
16844
5298ffa8
AS
168452011-10-13 Andreas Schwab <schwab@redhat.com>
16846
714fad23
AS
16847 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
16848 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
16849 feraiseexcept.
16850
81dcc7fb
AS
16851 * sysdeps/x86_64/memrchr.S: Check for zero size.
16852
5298ffa8
AS
16853 * string/stratcliff.c: Add memrchr tests.
16854
951fbcec
LD
168552011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16856
16857 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16858 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
16859 rawmemchr-sse2 rawmemchr-sse2-bsf.
16860 * sysdeps/i386/i686/multiarch/memchr.S: New file.
16861 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
16862 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
16863 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
16864 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
16865 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
16866 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
16867 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
16868 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
16869 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
16870 * string/memrchr.c (MEMRCHR): New macro.
16871
0ac5ae23
UD
168722011-10-12 Ulrich Drepper <drepper@gmail.com>
16873
16874 Add integration with gcc's -ffinite-math-only and optimize wrapper
16875 functions in libm.
16876 * Versions.def: Define GLIBC_2.15 version for libm.
16877 * math/Makefile (headers): Add bits/math-finite.h.
16878 * math/bits/math-finite.h: New file.
16879 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
16880 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
16881 * math/e_acoshl.c: Add __*_finite alias.
16882 * math/e_acosl.c: Likewise.
16883 * math/e_asinl.c: Likewise.
16884 * math/e_atan2l.c: Likewise.
16885 * math/e_atanhl.c: Likewise.
16886 * math/e_coshl.c: Likewise.
16887 * math/e_exp10.c: Likewise.
16888 * math/e_exp10f.c: Likewise.
16889 * math/e_exp10l.c: Likewise.
16890 * math/e_exp2l.c: Likewise.
16891 * math/e_fmodl.c: Likewise.
16892 * math/e_gammal_r.c: Likewise.
16893 * math/e_hypotl.c: Likewise.
16894 * math/e_j0l.c: Likewise.
16895 * math/e_j1l.c: Likewise.
16896 * math/e_jnl.c: Likewise.
16897 * math/e_lgammal_r.c: Likewise.
16898 * math/e_log10l.c: Likewise.
16899 * math/e_log2l.c: Likewise.
16900 * math/e_logl.c: Likewise.
16901 * math/e_powl.c: Likewise.
16902 * math/e_sinhl.c: Likewise.
16903 * math/e_sqrtl.c: Likewise.
16904 * math/e_scalb.c: Completely rewritten and optimized.
16905 * math/e_scalbf.c: Likewise.
16906 * math/e_scalbl.c: Likewise.
16907 * math/w_acos.c: Likewise.
16908 * math/w_acosf.c: Likewise.
16909 * math/w_acosl.c: Likewise.
16910 * math/w_acosh.c: Likewise.
16911 * math/w_acoshf.c: Likewise.
16912 * math/w_acoshl.c: Likewise.
16913 * math/w_asin.c: Likewise.
16914 * math/w_asinf.c: Likewise.
16915 * math/w_asinl.c: Likewise.
16916 * math/w_atan2.c: Likewise.
16917 * math/w_atan2f.c: Likewise.
16918 * math/w_atan2l.c: Likewise.
16919 * math/w_atanh.c: Likewise.
16920 * math/w_atanhf.c: Likewise.
16921 * math/w_atanhl.c: Likewise.
16922 * math/w_exp10.c: Likewise.
16923 * math/w_exp10f.c: Likewise.
16924 * math/w_exp10l.c: Likewise.
16925 * math/w_fmod.c: Likewise.
16926 * math/w_fmodf.c: Likewise.
16927 * math/w_fmodl.c: Likewise.
16928 * math/w_j0.c: Likewise.
16929 * math/w_j0f.c: Likewise.
16930 * math/w_j0l.c: Likewise.
16931 * math/w_j1.c: Likewise.
16932 * math/w_j1f.c: Likewise.
16933 * math/w_j1l.c: Likewise.
16934 * math/w_jn.c: Likewise.
16935 * math/w_jnf.c: Likewise.
16936 * math/w_log.c: Likewise.
16937 * math/w_logf.c: Likewise.
16938 * math/w_logl.c: Likewise.
16939 * math/w_log10.c: Likewise.
16940 * math/w_log10f.c: Likewise.
16941 * math/w_log10l.c: Likewise.
16942 * math/w_log2.c: Likewise.
16943 * math/w_log2f.c: Likewise.
16944 * math/w_log2l.c: Likewise.
16945 * math/w_pow.c: Likewise.
16946 * math/w_powf.c: Likewise.
16947 * math/w_powl.c: Likewise.
16948 * math/w_remainder.c: Likewise.
16949 * math/w_remainderf.c: Likewise.
16950 * math/w_remainderl.c: Likewise.
16951 * math/w_scalb.c: Likewise.
16952 * math/w_scalbf.c: Likewise.
16953 * math/w_scalbl.c: Likewise.
16954 * math/w_sqrt.c: Likewise.
16955 * math/w_sqrtf.c: Likewise.
16956 * math/w_sqrtl.c: Likewise.
16957 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
16958 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
16959 used.
16960 * math/math_private.h: Declare __kernel_standard_f.
16961 * math/w_cosh.c: Remove cruft and optimize a bit.
16962 * math/w_coshf.c: Likewise.
16963 * math/w_coshl.c: Likewise.
16964 * math/w_exp2.c: Likewise.
16965 * math/w_exp2f.c: Likewise.
16966 * math/w_exp2l.c: Likewise.
16967 * math/w_hypot.c: Likewise.
16968 * math/w_hypotf.c: Likewise.
16969 * math/w_hypotl.c: Likewise.
16970 * math/w_lgamma.c: Likewise.
16971 * math/w_lgamma_r.c: Likewise.
16972 * math/w_lgammaf.c: Likewise.
16973 * math/w_lgammaf_r.c: Likewise.
16974 * math/w_lgammal.c: Likewise.
16975 * math/w_lgammal_r.c: Likewise.
16976 * math/w_sinh.c: Likewise.
16977 * math/w_sinhf.c: Likewise.
16978 * math/w_sinhl.c: Likewise.
16979 * math/w_tgamma.c: Likewise.
16980 * math/w_tgammaf.c: Likewise.
16981 * math/w_tgammal.c: Likewise.
16982 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16983 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16984 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
16985 Minor optimizations. Pretty printing. Remove cruft.
16986 * sysdeps/i386/fpu/e_acosf.S: Likewise.
16987 * sysdeps/i386/fpu/e_acosh.S: Likewise.
16988 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16989 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16990 * sysdeps/i386/fpu/e_acosl.c: Likewise.
16991 * sysdeps/i386/fpu/e_asin.S: Likewise.
16992 * sysdeps/i386/fpu/e_asinf.S: Likewise.
16993 * sysdeps/i386/fpu/e_atan2.S: Likewise.
16994 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
16995 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
16996 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16997 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16998 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16999 * sysdeps/i386/fpu/e_exp10.S: Likewise.
17000 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
17001 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
17002 * sysdeps/i386/fpu/e_exp2.S: Likewise.
17003 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
17004 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
17005 * sysdeps/i386/fpu/e_fmod.S: Likewise.
17006 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
17007 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
17008 * sysdeps/i386/fpu/e_hypot.S: Likewise.
17009 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
17010 * sysdeps/i386/fpu/e_log.S: Likewise.
17011 * sysdeps/i386/fpu/e_log10.S: Likewise.
17012 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17013 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17014 * sysdeps/i386/fpu/e_log2.S: Likewise.
17015 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17016 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17017 * sysdeps/i386/fpu/e_logf.S: Likewise.
17018 * sysdeps/i386/fpu/e_logl.S: Likewise.
17019 * sysdeps/i386/fpu/e_pow.S: Likewise.
17020 * sysdeps/i386/fpu/e_powf.S: Likewise.
17021 * sysdeps/i386/fpu/e_powl.S: Likewise.
17022 * sysdeps/i386/fpu/e_remainder.S: Likewise.
17023 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
17024 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
17025 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17026 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17027 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17028 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
17029 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
17030 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
17031 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17032 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17033 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17034 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17035 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17036 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17037 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17038 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17039 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17040 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17041 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17042 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17043 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17044 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17045 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17046 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17047 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17048 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17049 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17050 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17051 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17052 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17053 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17054 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17055 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17056 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17057 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17058 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17059 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17060 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17061 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17062 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17063 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17064 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17065 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17066 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17067 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17068 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17069 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17070 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17071 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17072 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17073 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17074 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17075 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17076 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17077 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17078 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17079 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17080 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17081 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17082 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17083 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17084 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17085 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17086 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17087 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17088 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17089 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17090 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17091 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17092 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17093 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17094 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17095 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17096 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17097 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17098 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17099 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
17100 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17101 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17102 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17103 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17104 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17105 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17106 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17107 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
17108 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17109 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17110 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17111 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17112 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17113 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
17114 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17115 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17116 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17117 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17118 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17119 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17120 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17121 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17122 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17123 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17124 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17125 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17126 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17127 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17128 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
17129 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
17130 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
17131 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
17132 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
17133 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
17134 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
17135 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17136 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17137 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17138 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17139 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
17140 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17141 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
17142 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
17143 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
17144 (__isnanf): Likewise.
17145 (__isinf_ns): Likewise.
17146 (__isinf_nsf): Likewise.
17147 (__finite): Likewise.
17148 (__finitef): Likewise.
17149 (__ieee754_sqrt): Define as macro.
17150 (__ieee754_sqrtf): Define as macro.
17151 (__ieee754_sqrtl): Define as macro.
17152 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
17153 inlined copy.
17154 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
17155 __FINITE_MATH_ONLY__ consistent.
17156 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
17157
12cc2fcd
AS
171582011-10-10 Andreas Schwab <schwab@linux-m68k.org>
17159
a843a204
AS
17160 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
17161 of rawmemchr.
17162
12cc2fcd
AS
17163 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
17164
c853acd5
UD
171652011-10-09 Ulrich Drepper <drepper@gmail.com>
17166
17167 * po/ja.po: Update from translation team.
17168
c658d255
RM
171692011-10-08 Roland McGrath <roland@hack.frob.com>
17170
110946e4
RM
17171 * locale/programs/locarchive.c (prepare_address_space): New function.
17172 (create_archive, enlarge_archive, open_archive): Use it.
17173
50604220
RM
17174 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
17175 inside [SHARED], where it is used.
17176
c658d255
RM
17177 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
17178
17179 * nss/getent.c (netgroup_keys): Remove unused variable.
17180 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17181
6a621eb7
UD
171822011-10-08 Ulrich Drepper <drepper@gmail.com>
17183
7edb55ce
UD
17184 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
17185 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
17186 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
17187 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
17188 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
17189 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
17190 * math/Makefile (libm-calls): Add s_isinf_ns.
17191 * math/divtc3.c: Use __isinf_nsl instead of isinf.
17192 * math/multc3.c: Likewise.
17193 * math/s_casin.c: Likewise.
17194 * math/s_casinf.c: Likewise.
17195 * math/s_casinl.c: Likewise.
17196 * math/s_ccos.c: Likewise.
17197 * math/s_ccosf.c: Likewise.
17198 * math/s_ccosl.c: Likewise.
17199 * math/s_ctan.c: Likewise.
17200 * math/s_ctanf.c: Likewise.
17201 * math/s_ctanh.c: Likewise.
17202 * math/s_ctanhf.c: Likewise.
17203 * math/s_ctanhl.c: Likewise.
17204 * math/s_ctanl.c: Likewise.
17205 * math/w_fmod.c: Likewise.
17206 * math/w_fmodf.c: Likewise.
17207 * math/w_fmodl.c: Likewise.
17208 * math/w_remainder.c: Likewise.
17209 * math/w_remainderf.c: Likewise.
17210 * math/w_remainderl.c: Likewise.
17211 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
17212 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
17213 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
17214 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
17215 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
17216 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
17217 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
17218 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
17219
187da0ae
UD
17220 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
17221 of the number.
17222 * stdio-common/printf_fphex.c: Likewise.
17223 * stdio-common/printf_size.c: Likewise.
17224
9277c064
UD
17225 * math/e_exp10.c: Include math_private.h using <...> not "...".
17226 * math/e_exp10f.c: Likewise.
17227 * math/e_exp10l.c: Likewise.
17228 * math/e_exp2l.c: Likewise.
17229 * math/e_j0l.c: Likewise.
17230 * math/e_j1l.c: Likewise.
17231 * math/e_jnl.c: Likewise.
17232 * math/e_lgammal_r.c: Likewise.
17233 * math/e_rem_pio2l.c: Likewise.
17234 * math/e_scalb.c: Likewise.
17235 * math/e_scalbf.c: Likewise.
17236 * math/e_scalbl.c: Likewise.
17237 * math/k_cosl.c: Likewise.
17238 * math/k_sinl.c: Likewise.
17239 * math/k_tanl.c: Likewise.
17240 * math/s_cacoshf.c: Likewise.
17241 * math/s_catan.c: Likewise.
17242 * math/s_catanf.c: Likewise.
17243 * math/s_catanh.c: Likewise.
17244 * math/s_catanhf.c: Likewise.
17245 * math/s_catanhl.c: Likewise.
17246 * math/s_catanl.c: Likewise.
17247 * math/s_ccosh.c: Likewise.
17248 * math/s_ccoshf.c: Likewise.
17249 * math/s_ccoshl.c: Likewise.
17250 * math/s_cexp.c: Likewise.
17251 * math/s_cexpf.c: Likewise.
17252 * math/s_cexpl.c: Likewise.
17253 * math/s_clog.c: Likewise.
17254 * math/s_clog10.c: Likewise.
17255 * math/s_clog10f.c: Likewise.
17256 * math/s_clog10l.c: Likewise.
17257 * math/s_clogf.c: Likewise.
17258 * math/s_clogl.c: Likewise.
17259 * math/s_csin.c: Likewise.
17260 * math/s_csinf.c: Likewise.
17261 * math/s_csinh.c: Likewise.
17262 * math/s_csinhf.c: Likewise.
17263 * math/s_csinhl.c: Likewise.
17264 * math/s_csinl.c: Likewise.
17265 * math/s_csqrt.c: Likewise.
17266 * math/s_csqrtf.c: Likewise.
17267 * math/s_csqrtl.c: Likewise.
17268 * math/s_ctan.c: Likewise.
17269 * math/s_ctanf.c: Likewise.
17270 * math/s_ctanh.c: Likewise.
17271 * math/s_ctanhf.c: Likewise.
17272 * math/s_ctanhl.c: Likewise.
17273 * math/s_ctanl.c: Likewise.
17274 * math/s_ldexp.c: Likewise.
17275 * math/s_ldexpf.c: Likewise.
17276 * math/s_ldexpl.c: Likewise.
17277 * math/s_significand.c: Likewise.
17278 * math/s_significandf.c: Likewise.
17279 * math/s_significandl.c: Likewise.
17280 * math/w_acos.c: Likewise.
17281 * math/w_acosf.c: Likewise.
17282 * math/w_acosh.c: Likewise.
17283 * math/w_acoshf.c: Likewise.
17284 * math/w_acoshl.c: Likewise.
17285 * math/w_acosl.c: Likewise.
17286 * math/w_asin.c: Likewise.
17287 * math/w_asinf.c: Likewise.
17288 * math/w_asinl.c: Likewise.
17289 * math/w_atan2.c: Likewise.
17290 * math/w_atan2f.c: Likewise.
17291 * math/w_atan2l.c: Likewise.
17292 * math/w_atanh.c: Likewise.
17293 * math/w_atanhf.c: Likewise.
17294 * math/w_atanhl.c: Likewise.
17295 * math/w_cosh.c: Likewise.
17296 * math/w_coshf.c: Likewise.
17297 * math/w_coshl.c: Likewise.
17298 * math/w_dremf.c: Likewise.
17299 * math/w_exp10.c: Likewise.
17300 * math/w_exp10f.c: Likewise.
17301 * math/w_exp10l.c: Likewise.
17302 * math/w_exp2.c: Likewise.
17303 * math/w_exp2f.c: Likewise.
17304 * math/w_fmod.c: Likewise.
17305 * math/w_fmodf.c: Likewise.
17306 * math/w_fmodl.c: Likewise.
17307 * math/w_hypot.c: Likewise.
17308 * math/w_hypotf.c: Likewise.
17309 * math/w_hypotl.c: Likewise.
17310 * math/w_j0.c: Likewise.
17311 * math/w_j0f.c: Likewise.
17312 * math/w_j0l.c: Likewise.
17313 * math/w_j1.c: Likewise.
17314 * math/w_j1f.c: Likewise.
17315 * math/w_j1l.c: Likewise.
17316 * math/w_jn.c: Likewise.
17317 * math/w_jnf.c: Likewise.
17318 * math/w_jnl.c: Likewise.
17319 * math/w_lgamma.c: Likewise.
17320 * math/w_lgamma_r.c: Likewise.
17321 * math/w_lgammaf.c: Likewise.
17322 * math/w_lgammaf_r.c: Likewise.
17323 * math/w_lgammal.c: Likewise.
17324 * math/w_lgammal_r.c: Likewise.
17325 * math/w_log.c: Likewise.
17326 * math/w_log10.c: Likewise.
17327 * math/w_log10f.c: Likewise.
17328 * math/w_log10l.c: Likewise.
17329 * math/w_log2.c: Likewise.
17330 * math/w_log2f.c: Likewise.
17331 * math/w_log2l.c: Likewise.
17332 * math/w_logf.c: Likewise.
17333 * math/w_logl.c: Likewise.
17334 * math/w_pow.c: Likewise.
17335 * math/w_powf.c: Likewise.
17336 * math/w_powl.c: Likewise.
17337 * math/w_remainder.c: Likewise.
17338 * math/w_remainderf.c: Likewise.
17339 * math/w_remainderl.c: Likewise.
17340 * math/w_scalb.c: Likewise.
17341 * math/w_scalbf.c: Likewise.
17342 * math/w_scalbl.c: Likewise.
17343 * math/w_sinh.c: Likewise.
17344 * math/w_sinhf.c: Likewise.
17345 * math/w_sinhl.c: Likewise.
17346 * math/w_sqrt.c: Likewise.
17347 * math/w_sqrtf.c: Likewise.
17348 * math/w_sqrtl.c: Likewise.
17349 * math/w_tgamma.c: Likewise.
17350 * math/w_tgammaf.c: Likewise.
17351 * math/w_tgammal.c: Likewise.
17352
6a621eb7
UD
17353 * po/ja.po: Update from translation team.
17354
bf582445
AJ
173552011-09-29 Andreas Jaeger <aj@suse.de>
17356
f9efbf3a
AJ
17357 [BZ #13179]
17358 * sunrpc/netname.c (netname2host): Fix logic.
17359
bf582445
AJ
17360 [BZ #6779]
17361 [BZ #6783]
17362 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
17363 correctly.
17364 * math/w_remainder.c (__remainder): Likewise.
17365 * math/w_remainderf.c (__remainderf): Likewise.
17366 * math/libm-test.inc (remainder_test): Add test cases.
17367
48693bea
AK
173682011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17369
17370 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
17371 sdiv_qrnnd.
17372
42622229
LD
173732011-10-07 Ulrich Drepper <drepper@gmail.com>
17374
17375 * string/test-memcmp.c: Avoid unncessary #defines.
17376 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17377
093ecf92
LD
173782011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17379
17380 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
17381 Use new sse2 version for core i3 - i7 as it's faster
17382 than sse42 version.
17383 (bit_Prefer_PMINUB_for_stringop): New.
17384 * sysdeps/x86_64/rawmemchr.S: Update.
17385 Replace with faster SSE2 version.
17386 * sysdeps/x86_64/memrchr.S: New file.
17387 * sysdeps/x86_64/memchr.S: Update.
17388 Replace with faster SSE2 version.
17389
fde56e5c
MP
173902011-09-12 Marek Polacek <mpolacek@redhat.com>
17391
17392 * elf/dl-load.c (lose): Add cast to avoid warning.
17393
21fd49a9
UD
173942011-10-07 Ulrich Drepper <drepper@gmail.com>
17395
5a06e643
UD
17396 * po/ca.po: Update from translation team.
17397
684ae515
UD
17398 * inet/getnetgrent_r.c: Hook up nscd.
17399 * nscd/Makefile (routines): Add nscd_netgroup.
17400 (nscd-modules): Add netgroupcache.
17401 (CFLAGS-netgroupcache.c): Define.
17402 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
17403 (cache_search): Add const to second parameter.
17404 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
17405 INNETGR.
17406 (dbs): Add netgrdb entry.
17407 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
17408 (verify_persistent_db): Handle netgrdb.
17409 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
17410 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
17411 GETFDNETGR.
17412 (netgroup_response_header): Define.
17413 (innetgroup_response_header): Define.
17414 (datahead): Add netgroup_response_header and innetgroup_response_header
17415 elements.
17416 * nscd/nscd.conf: Add entries for netgroup cache.
17417 * nscd/nscd.h (dbtype): Add netgrdb.
17418 (_PATH_NSCD_NETGROUP_DB): Define.
17419 (netgroup_iov_disabled): Declare.
17420 (xmalloc, xcalloc, xrealloc): Move declarations here.
17421 (cache_search): Adjust prototype.
17422 Add netgroup-related prototypes.
17423 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
17424 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
17425 (__nscd_innetgr): Declare.
17426 * nscd/selinux.c (perms): Use access_vector_t as element type and
17427 add netgroup-related initializers.
17428 * nscd/netgroupcache.c: New file.
17429 * nscd/nscd_netgroup.c: New file.
17430 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
17431 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
17432 For four parameters use innetgr.
17433 * nss/nss_files/files-init.c: Add definition and callback for netgr.
17434 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
17435 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
17436 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
17437
21fd49a9
UD
17438 * nscd/connections.c (register_traced_file): Don't register file
17439 for disabled databases.
17440
054c0457
UD
174412011-10-06 Ulrich Drepper <drepper@gmail.com>
17442
32b63198
UD
17443 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
17444
054c0457
UD
17445 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
17446 from tree and freeing node.
17447
64031225
JO
174482011-09-25 Jiri Olsa <jolsa@redhat.com>
17449
17450 * nss/nsswitch.c (__nss_database_lookup): Handle
17451 nss_parse_service_list out of memory case.
17452
0490345c
JO
174532011-09-15 Jiri Olsa <jolsa@redhat.com>
17454
17455 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
17456 out of memory case.
17457
3a62d00d
AS
174582011-10-04 Andreas Schwab <schwab@redhat.com>
17459
17460 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
17461 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
17462 pass it down.
17463 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
17464 elf_machine_rela, elf_machine_lazy_rel.
17465 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
17466 (ELF_DYNAMIC_DO_REL): Likewise.
17467 (ELF_DYNAMIC_DO_RELA): Likewise.
17468 (ELF_DYNAMIC_RELOCATE): Likewise.
17469 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
17470 to ELF_DYNAMIC_DO_REL.
17471 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
17472 (dl_main): In trace mode always set __RTLD_NOIFUNC.
17473 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
17474 elf_machine_rela.
17475 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
17476 skip_ifunc, don't call ifunc function if non-zero.
17477 (elf_machine_rela): Likewise.
17478 (elf_machine_lazy_rel): Likewise.
17479 (elf_machine_lazy_rela): Likewise.
17480 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
17481 (elf_machine_lazy_rel): Likewise.
17482 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
17483 Likewise.
17484 (elf_machine_lazy_rel): Likewise.
17485 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17486 Likewise.
17487 (elf_machine_lazy_rel): Likewise.
17488 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
17489 (elf_machine_lazy_rel): Likewise.
17490 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
17491 (elf_machine_lazy_rel): Likewise.
17492 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17493 (elf_machine_lazy_rel): Likewise.
17494 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
17495 (elf_machine_lazy_rel): Likewise.
17496 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
17497 (elf_machine_lazy_rel): Likewise.
17498 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17499 (elf_machine_lazy_rel): Likewise.
17500
68577918
UD
175012011-09-28 Ulrich Drepper <drepper@gmail.com>
17502
17503 * nss/nss_files/files-init.c (_nss_files_init): Use static
17504 initialization for all the *_traced_file variables.
17505
68822d74
AS
175062011-09-28 Andreas Schwab <schwab@redhat.com>
17507
17508 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17509
2056100b
RM
175102011-09-27 Roland McGrath <roland@hack.frob.com>
17511
17512 [BZ #13226]
17513 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
17514
32c76b63
AS
175152011-09-27 Andreas Schwab <schwab@redhat.com>
17516
17517 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17518 Reread the line before reparsing it.
17519
bf972c9d
AS
175202011-09-26 Andreas Schwab <schwab@redhat.com>
17521
17522 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
17523
e057a1b5
JM
175242011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
17525 Maxim Kuvyrkov <maxim@codesourcery.com>
17526 Joseph Myers <joseph@codesourcery.com>
17527
17528 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
17529 if needed for __stack_chk_guard.
17530
bc7e1c36
RM
175312011-09-19 Roland McGrath <roland@hack.frob.com>
17532
ecb1482f
RM
17533 * sysdeps/posix/spawni.c (script_execute): Always define it.
17534 It will be optimized away if unused.
17535 (maybe_script_execute): New function.
17536 (__spawni): Call it.
17537
bc7e1c36
RM
17538 * Makerules: Don't include tls.make.
17539 (config-tls): Always set to thread.
17540 * tls.make.c: File removed.
17541
1c3b002b
MF
175422011-09-19 Mike Frysinger <vapier@gentoo.org>
17543
17544 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
17545 * config.make.in (CPPFLAGS-config): New substituted variable.
17546
2840865d
UD
175472011-09-15 Ulrich Drepper <drepper@gmail.com>
17548
88738eb6
UD
17549 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
17550
cbf645a6 17551 [BZ #13192]
2840865d
UD
17552 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
17553 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
17554
b402e91a
RM
175552011-09-15 Roland McGrath <roland@hack.frob.com>
17556
17557 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
17558 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
17559 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17560 (CALL_FAIL): Likewise.
17561 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
17562 (CALL_FAIL): Macro removed.
17563 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
17564
4c1a1f71
UD
175652011-09-15 Ulrich Drepper <drepper@gmail.com>
17566
17567 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
17568 for __FINITE_MATH_ONLY__ == 1.
17569
edc121be
AS
175702011-09-15 Andreas Schwab <schwab@redhat.com>
17571
17572 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
17573 __ieee754_sqrt instead of sqrt.
17574 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
17575 __ieee754_sqrtf instead of sqrtf.
17576 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
17577 __floorf instead of floorf.
17578 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
17579 __floorf, __truncf instead of floorf, truncf.
17580
cd205654
UD
175812011-09-14 Ulrich Drepper <drepper@gmail.com>
17582
ee4d0315
UD
17583 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
17584
cd205654
UD
17585 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
17586 __extern_always_inline.
17587 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
17588 32-bit.
17589
48b67d71
AS
175902011-09-14 Andreas Schwab <schwab@redhat.com>
17591
17592 * elf/rtld.c (dl_main): Also relocate in dependency order when
17593 doing symbol dependency testing.
17594
1ae12c75
AS
175952011-09-13 Andreas Schwab <schwab@linux-m68k.org>
17596
17597 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17598 Always define `refsym'.
17599
995a80df
AS
176002011-09-13 Andreas Schwab <schwab@redhat.com>
17601
e529793b
AS
17602 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
17603 (__FD_ELT): Renamed from __FDELT.
17604 * misc/bits/select2.h (__FD_ELT): Likewise.
17605 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
17606 __FD_MASK instead of __FDELT, __FDMASK.
17607 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
17608 Likewise.
17609 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
17610 Likewise.
17611
52d4fef8
AS
17612 * elf/Makefile (gen-ldd): Fix pattern.
17613
995a80df
AS
17614 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
17615 (init_tls): Likewise.
17616
8682f8b0
UD
176172011-09-12 Ulrich Drepper <drepper@gmail.com>
17618
17619 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
17620
de82006d
AS
176212011-09-12 Andreas Schwab <schwab@redhat.com>
17622
a7c8e6a1
AS
17623 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
17624 `struct cmsghdr *' instead of `void *'.
17625 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
17626 Likewise.
17627
0f31fe77
AS
176282011-09-11 Andreas Schwab <schwab@linux-m68k.org>
17629
17630 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
17631 if non-absolute.
17632 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
17633 ldd_rewrite_script.
0f31fe77 17634
32b4c839
UD
176352011-09-11 Ulrich Drepper <drepper@gmail.com>
17636
83cd1420
UD
17637 * configure.in: Remove --with-tls option.
17638 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
17639 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
17640 out in case it is missing.
17641 * sysdeps/ia64/elf/configure.in: Likewise.
17642 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
17643 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
17644 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
17645 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
17646 * sysdeps/sh/elf/configure.in: Likewise.
17647 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
17648 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
17649 * sysdeps/x86_64/elf/configure.in: Likewise.
17650 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
17651 * sysdeps/mach/hurd/tls.h: Likewise.
17652
633f745d
UD
17653 [BZ #13067]
17654 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
17655
f318beb8
UD
17656 [BZ #13090]
17657 * configure.in: Fix use of AC_INIT.
17658
32b4c839
UD
17659 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
17660
3ce1f295
UD
176612011-09-10 Ulrich Drepper <drepper@gmail.com>
17662
bb016596
UD
17663 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
17664 __set_errno.
8e58439c
UD
17665 * malloc/hooks.c: Likewise.
17666
aebae053 17667 [BZ #11929]
02d46fc4
UD
17668 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
17669 variables statically.
17670 (narenas): Initialize.
17671 (list_lock): Initialize.
bb016596
UD
17672 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
17673 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
17674 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
17675 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
17676 Add initializers to main_arena and mp_.
17677 (malloc_state): Remove pagesize member. Change all users to use
17678 GLRO(dl_pagesize).
17679
17680 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
17681 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
17682 is always initialized.
17683
22a89187
UD
17684 * malloc/malloc.c: Removed unused configurations and dead code.
17685 * malloc/arena.c: Likewise.
17686 * malloc/hooks.c: Likewise.
02d46fc4 17687 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 17688
d063d164
UD
17689 * include/tls.h: Removed. USE___THREAD must always be defined.
17690 * bits/libc-tsd.h: Don't handle !USE___THREAD.
17691 * elf/dl-libc.c: Likewise.
17692 * elf/dl-tsd.c: Likewise.
17693 * include/errno.h: Likewise.
17694 * include/netdb.h: Likewise.
17695 * include/resolv.h: Likewise.
17696 * inet/herrno-loc.c: Likewise.
17697 * inet/herrno.c: Likewise.
17698 * malloc/arena.c: Likewise.
17699 * malloc/hooks.c: Likewise.
17700 * malloc/malloc.c: Likewise.
17701 * resolv/res-state.c: Likewise.
17702 * resolv/res_libc.c: Likewise.
17703 * sysdeps/i386/dl-machine.h: Likewise.
17704 * sysdeps/ia64/dl-machine.h: Likewise.
17705 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
17706 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
17707 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
17708 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
17709 * sysdeps/sh/dl-machine.h: Likewise.
17710 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17711 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17712 * sysdeps/unix/i386/sysdep.S: Likewise.
17713 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17714 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
17715 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
17716 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17717 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
17718 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17719 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
17720 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17721 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17722 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17723 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17724 * sysdeps/x86_64/dl-machine.h: Likewise.
17725 * tls.make.c: Likewise.
17726
3ce1f295
UD
17727 * configure.in: Remove --with-__thread option. Make tests for
17728 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
17729 tls_model attribute fail if no support is available. Remove
17730 USE_IN_LIBIO.
17731 * Makeconfig: Adjust for dropped configure option. All features are
17732 now mandatory.
17733 * Makerules: Likewise.
17734 * Versions.def: Likewise.
17735 * argp/argp-fmtstream.c: Likewise.
17736 * argp/argp-fmtstream.h: Likewise.
17737 * argp/argp-help.c: Likewise.
17738 * assert/assert.c: Likewise.
17739 * config.h.in: Likewise.
17740 * config.make.in: Likewise.
17741 * configure: Likewise.
17742 * configure.in: Likewise.
17743 * csu/Versions: Likewise.
17744 * csu/init.c: Likewise.
17745 * elf/tst-audit2.c: Likewise.
17746 * elf/tst-tls10.c: Likewise.
17747 * elf/tst-tls10.h: Likewise.
17748 * elf/tst-tls11.c: Likewise.
17749 * elf/tst-tls12.c: Likewise.
17750 * elf/tst-tls14.c: Likewise.
17751 * elf/tst-tlsmod11.c: Likewise.
17752 * elf/tst-tlsmod12.c: Likewise.
17753 * elf/tst-tlsmod13.c: Likewise.
17754 * elf/tst-tlsmod13a.c: Likewise.
17755 * elf/tst-tlsmod14a.c: Likewise.
17756 * elf/tst-tlsmod15b.c: Likewise.
17757 * elf/tst-tlsmod16a.c: Likewise.
17758 * elf/tst-tlsmod16b.c: Likewise.
17759 * elf/tst-tlsmod7.c: Likewise.
17760 * elf/tst-tlsmod8.c: Likewise.
17761 * elf/tst-tlsmod9.c: Likewise.
17762 * gmon/gmon.c: Likewise.
17763 * grp/fgetgrent_r.c: Likewise.
17764 * grp/putgrent.c: Likewise.
17765 * hurd/fopenport.c: Likewise.
17766 * include/libc-symbols.h: Likewise.
17767 * include/tls.h: Likewise.
17768 * intl/gettextP.h: Likewise.
17769 * intl/loadinfo.h: Likewise.
17770 * locale/global-locale.c: Likewise.
17771 * locale/localeinfo.h: Likewise.
17772 * mach/devstream.c: Likewise.
17773 * malloc/arena.c: Likewise.
17774 * malloc/set-freeres.c: Likewise.
17775 * misc/err.c: Likewise.
17776 * misc/getttyent.c: Likewise.
17777 * misc/mntent_r.c: Likewise.
17778 * posix/getopt.c: Likewise.
17779 * posix/wordexp.c: Likewise.
17780 * pwd/fgetpwent_r.c: Likewise.
17781 * resolv/Versions: Likewise.
17782 * resolv/res_hconf.c: Likewise.
17783 * shadow/fgetspent_r.c: Likewise.
17784 * shadow/putspent.c: Likewise.
17785 * stdio-common/printf_fphex.c: Likewise.
17786 * stdio-common/tmpfile.c: Likewise.
17787 * stdlib/abort.c: Likewise.
17788 * stdlib/fmtmsg.c: Likewise.
17789 * sunrpc/auth_unix.c: Likewise.
17790 * sunrpc/clnt_perr.c: Likewise.
17791 * sunrpc/clnt_tcp.c: Likewise.
17792 * sunrpc/clnt_udp.c: Likewise.
17793 * sunrpc/clnt_unix.c: Likewise.
17794 * sunrpc/openchild.c: Likewise.
17795 * sunrpc/svc_simple.c: Likewise.
17796 * sunrpc/svc_tcp.c: Likewise.
17797 * sunrpc/svc_udp.c: Likewise.
17798 * sunrpc/svc_unix.c: Likewise.
17799 * sunrpc/xdr.c: Likewise.
17800 * sunrpc/xdr_array.c: Likewise.
17801 * sunrpc/xdr_rec.c: Likewise.
17802 * sunrpc/xdr_ref.c: Likewise.
17803 * sunrpc/xdr_stdio.c: Likewise.
17804
1248c1c4
PB
178052011-09-09 Ulrich Drepper <drepper@gmail.com>
17806
17807 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17808
178092011-07-03 Andreas Jaeger <aj@suse.de>
17810
17811 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
17812 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
17813 regenerate with gen-libm-tests.pl.
17814
178152010-05-12 Petr Baudis <pasky@suse.cz>
17816
17817 [BZ #11589]
17818 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
17819 around j0() zero points by switching to j1().
17820 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17821 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17822 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17823 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17824
f22e1074
UD
178252011-09-09 Ulrich Drepper <drepper@gmail.com>
17826
f19009c1
UD
17827 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
17828 instead of 0.
17829 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
17830 instead of 0. .
17831 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17832 Patch in part by Pavel Roskin <proski@gnu.org>.
17833
3f8cc204
UD
17834 [BZ #13138]
17835 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
17836 realloc.
17837 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
17838 Free memory block if necessary.
17839
f22e1074
UD
17840 [BZ #12847]
17841 * libio/genops.c (INTDEF): For string streams the _lock pointer can
17842 be NULL. Don't lock in this case.
17843
0a2349f9
RM
178442011-09-09 Roland McGrath <roland@hack.frob.com>
17845
17846 * elf/elf.h (ELFOSABI_GNU): New macro.
17847 (ELFOSABI_LINUX): Define to that.
17848
f3cdd467
DZ
178492011-07-29 Denis Zaitceff <zaitceff@gmail.com>
17850
17851 * string/strncat.c (strncat): Undef the symbol in case it has been
17852 defined in bits/string.h.
17853
74718d13
UD
178542011-09-09 Ulrich Drepper <drepper@gmail.com>
17855
633e9e0f
UD
17856 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
17857
0a2349f9 17858 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
17859 link map.
17860
f9924780
AJ
178612011-08-17 Andreas Jaeger <aj@suse.de>
17862
17863 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
17864
7f5517aa
PP
178652011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
17866 Ian Lance Taylor <iant@google.com>
17867
17868 * math/libm-test.inc (lround_test): New testcase.
17869 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
17870
762011fe
UD
178712011-09-08 Ulrich Drepper <drepper@gmail.com>
17872
92963737
UD
17873 * Makefile: Remove support for automatic cvs check-ins.
17874 * Makerules: Likewise.
17875 * config.make.in: Likewise.
17876 * configure.in: Likewise.
17877 * intl/Makefile: Likewise.
17878 * locale/Makefile: Likewise.
17879 * po/Makefile: Likewise.
17880 * posix/Makefile: Likewise.
17881 * sysdeps/gnu/Makefile: Likewise.
17882 * sysdeps/mach/hurd/Makefile: Likewise.
17883 * sysdeps/sparc/sparc32/Makefile: Likewise.
17884
b0727fd8
JS
17885 [BZ #13118]
17886 * posix/Makefile (bug-regex32-ENV): Define.
17887 Patch by John Stanley <jpsinthemix@verizon.net>.
17888
a0f33f99
UD
17889 * misc/Makefile (headers): Add bits/select2.h.
17890 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
17891 * misc/bits/select2.h: New file.
17892 * include/bits/select2.h: New file.
17893 * debug/Makefile (routines): Add fdelt_chk.
17894 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
17895 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
17896 FD_ISSET.
17897 * debug/fdelt_chk.c: New file.
17898
762011fe
UD
17899 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
17900 * wcsmbs/test-wmemcmp.c: Likewise.
17901 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 17902 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
17903
179042011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17905
17906 * string/Makefile (strop-tests): Add memcmp.
17907 * string/test-wmemcmp.c: New file.
17908 * string/test-memcmp.c: Add wmemcmp support.
17909
7f513ec8
RM
179102011-09-08 Roland McGrath <roland@hack.frob.com>
17911
0442afb4
RM
17912 [BZ #13153]
17913 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
17914 2011-07-19 change.
17915
7f513ec8
RM
17916 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
17917 garbage value in a __mach_port_mod_refs call in the cases of the
17918 task-self and thread-self ports.
17919
a12b2239
ST
179202011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17921
17922 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
17923
610f9ab4
AS
179242011-09-08 Andreas Schwab <schwab@redhat.com>
17925
7f513ec8 17926 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 17927
48882a1a
LD
179282011-09-07 Ulrich Drepper <drepper@gmail.com>
17929
b49865be
UD
17930 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
17931
fdc86bc9
UD
17932 * elf/dl-libc.c (dlerror_run): Pass back error code from
17933 dl_catch_error.
17934
c966526a
UD
17935 [BZ #13123]
17936 * elf/dl-load.c (lose): Free l_origin if it is valid.
17937
48882a1a
LD
17938 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
17939 names.
17940 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
17941 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
17942 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
17943 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
17944 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
17945 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
17946
77a2a8b4
AZ
179472011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17948
17949 * sysdeps/powerpc/fpu/e_hypot.c: New file.
17950 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
17951 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
17952 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
17953 * sysdeps/powerpc/fpu/k_cosf.c: New file.
17954 * sysdeps/powerpc/fpu/k_sinf.c: New file.
17955 * sysdeps/powerpc/fpu/s_cosf.c: New file.
17956 * sysdeps/powerpc/fpu/s_sinf.c: New file.
17957 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
17958 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
17959
24f579d8
AM
179602011-08-15 Alan Modra <amodra@gmail.com>
17961
17962 [BZ #13092]
17963 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
17964 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
17965 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
17966 ppc_mcount to static-only-routines.
17967 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
17968 __mcount_internal.
17969 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
17970 __mcount_internal with usual JUMPTARGET. Remove useless nop.
17971
3d4837df
UD
179722011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
17973
17974 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
17975 for finite and infinity parameters.
17976
22700377
WS
179772011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
17978
17979 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
17980 and add nop instructions for throughput optimization.
17981 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17982
5025581e
WS
179832011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
17984
17985 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
17986 aligned copy for power7 with vector-scalar instructions.
17987 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
17988
08a300c9
L
179892011-07-24 H.J. Lu <hongjiu.lu@intel.com>
17990
17991 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
17992 AVX check.
17993
59178ef9
AS
179942011-09-07 Andreas Schwab <schwab@redhat.com>
17995
17996 [BZ #13144]
17997 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
17998 last change.
17999
e38ba7ab
UD
180002011-09-07 Ulrich Drepper <drepper@gmail.com>
18001
18002 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18003 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
18004 syscall wrapper around clock_gettime in __vdso_clock_gettime.
18005 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
18006 clock_gettime.
18007
d53a73ac
UD
180082011-09-06 Ulrich Drepper <drepper@gmail.com>
18009
fc8bffcc
UD
18010 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
18011 Forgot to demangle the pointer.
18012
ceaa0c5d
UD
18013 * sysdeps/i386/sysdep.h: Define atom_text_section.
18014 * sysdeps/x86_64/sysdep.h: Likewise.
18015 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
18016 section with atom_text_section.
18017 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18018 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18019 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
18020 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
18021 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
18022
a77d3c17
UD
18023 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
18024 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
18025 already be defined. Change to take two parameters and don't assign
18026 result to variable. Adjust all users.
18027 Define INTERNAL_GETTIME if not already defined.
18028 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
18029 call.
18030 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
18031 HAVE_CLOCK_GETTIME_VSYSCALL.
18032 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
18033
d53a73ac
UD
18034 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
18035 gettimeofday vsyscall, just use time.
18036
a8f84144
AS
180372011-09-06 Andreas Schwab <schwab@redhat.com>
18038
18039 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
18040 <errno.h>.
18041
ef606249
UD
180422011-09-06 Ulrich Drepper <drepper@gmail.com>
18043
18044 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
18045 syscall on x86-64.
18046 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
18047 syscall.
18048 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
18049 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
18050 syscall if possible.
18051
6585cb60
UD
180522011-09-05 Ulrich Drepper <drepper@gmail.com>
18053
18054 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
18055 e_ident. Don't pass to find_mapsXX.
18056 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
18057
a5f524e4
LD
180582011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18059
18060 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18061 strchr-sse2-no-bsf strrchr-sse2-no-bsf
18062 * sysdeps/x86_64/multiarch/strchr.S: Update.
18063 Check bit_slow_BSF bit.
18064 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18065 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
18066 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
18067
554881ef
UD
180682011-09-05 Ulrich Drepper <drepper@gmail.com>
18069
d96de963
UD
18070 [BZ #13134]
18071 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
18072 before glibc 2.15.
18073 (tryshell): Define.
18074 (__spawni): Change last parameter to be flag. Test
18075 SPAWN_XFLAGS_USE_PATH flag to use path or not.
18076 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
18077 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
18078 * posix/spawni.c: Likewise.
18079 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
18080 * posix/spawnp.c: Likewise. Change normal version to use
18081 SPAWN_XFLAGS_USE_PATH.
18082 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
18083 SPAWN_XFLAGS_TRY_SHELL.
18084
d48e5868
UD
18085 [BZ #13150]
18086 * posix/glob.h: Remove gcc 1.x support.
18087
554881ef
UD
18088 [BZ #13068]
18089 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
18090
693fb948
LD
180912011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18092
18093 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18094 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
18095 strrchr-sse2-bsf
18096 * sysdeps/i386/i686/multiarch/strchr.S: New file.
18097 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
18098 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
18099 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
18100 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
18101 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
18102
1b48c537
UD
181032011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18104
49d42c37
UD
18105 * sysdeps/x86_64/wcscmp.S: New file.
18106
1b48c537
UD
18107 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
18108 wcscmp-c wcscmp-sse2
18109 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
18110 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
18111 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
18112 * wcsmbs/wcscmp.c: Allow renaming.
18113
15c95c5d
DM
181142011-09-05 David S. Miller <davem@davemloft.net>
18115
18116 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
18117 stack slot, rather than the struct return pointer slot.
18118 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
18119 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
18120 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
18121 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
18122
2f0ad8f3
UD
181232011-09-05 Ulrich Drepper <drepper@gmail.com>
18124
d88ae418
UD
18125 * po/ja.po: Update from translation team.
18126
2f0ad8f3
UD
18127 [BZ #13144]
18128 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
18129 kernel in 64-bit binaries.
18130
5f4318d1
DM
181312011-09-01 David S. Miller <davem@davemloft.net>
18132
18133 * elf/elf.h (HWCAP_SPARC_*): Move to..
18134 * sysdeps/sparc/sysdep.h: this new file and add new values.
18135 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
18136 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
18137 _DL_HWCAP_COUNT to 24.
18138 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18139 entries.
18140 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
18141 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
18142 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
18143 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
18144 instead of magic constants.
18145 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18146
3ba57516
DM
181472011-08-31 David S. Miller <davem@davemloft.net>
18148
18149 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
18150 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
18151 Reimplement to do errno handling inline.
18152 (SYSCALL_ERROR_HANDLER): New macro.
18153 (__SYSCALL_STRING): Do not do errno handling in asm.
18154 (__CLONE_SYSCALL_STRING): Delete.
18155 (__INTERNAL_SYSCALL_STRING): Delete.
18156 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
18157 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
18158 (PSEUDO): Reimplement to do errno handling inline.
18159 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
18160 (SYSCALL_ERROR_HANDLER): New macro.
18161 (__SYSCALL_STRING): Do not do errno handling in asm.
18162 (__CLONE_SYSCALL_STRING): Delete.
18163 (__INTERNAL_SYSCALL_STRING): Delete.
18164 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
18165 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
18166 i386.
18167 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
18168 (inline_syscall*): Add 'err' argument.
18169 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
18170 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
18171 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
18172 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
18173
18174 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
18175 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18176
2bc17433
AS
181772011-08-30 Andreas Schwab <schwab@redhat.com>
18178
18179 * elf/rtld.c (dl_main): Relocate objects in dependency order.
18180
fbeb5f4d
JO
181812011-08-29 Jiri Olsa <jolsa@redhat.com>
18182
18183 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
18184 directive.
18185
ad69cc26
DM
181862011-08-24 David S. Miller <davem@davemloft.net>
18187
18188 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
18189
39dd69df
AS
181902011-08-24 Andreas Schwab <schwab@redhat.com>
18191
18192 * elf/Makefile: Add rules to build and run unload8 test.
18193 * elf/unload8.c: New file.
18194 * elf/unload8mod1.c: New file.
18195 * elf/unload8mod1x.c: New file.
18196 * elf/unload8mod2.c: New file.
18197 * elf/unload8mod3.c: New file.
18198
18199 * elf/dl-close.c (_dl_close_worker): Reset private search list if
18200 it wasn't used.
18201
2c0b250a
DM
182022011-08-23 David S. Miller <davem@davemloft.net>
18203
18204 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
18205 subtract stack bias.
18206 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
18207 %sp not %fp in calculations.
18208 (_JMPBUF_UNWINDS_ADJ): Likewise.
18209
22044b48
DM
18210 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
18211 (aio_suspend): Call it to force an exception region around the
18212 AIO_MISC_WAIT() invocation.
18213
2cae4995
AS
182142011-08-23 Andreas Schwab <schwab@redhat.com>
18215
18216 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
18217 backslash.
18218
873a772e
AJ
182192011-07-04 Aurelien Jarno <aurelien@aurel32.net>
18220
18221 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
18222 protection macro.
18223 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
18224 and <dl-machine.h>.
18225 (Elf64_FuncDesc): Remove.
18226
25ad0df1
DM
182272011-08-22 David S. Miller <davem@davemloft.net>
18228
18229 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
18230 sigaltstack check, add missing cfi directives.
18231 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
18232 missing cfi directives, and sigaltstack handling.
18233
e888bcbe
AS
182342011-08-16 Andreas Schwab <schwab@redhat.com>
18235
18236 [BZ #11724]
18237 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
18238 object is seen twice.
18239 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18240
18241 * elf/Makefile (distribute): Add tst-initorder2.c.
18242 (tests): Add tst-initorder2.
18243 (modules-names): Add tst-initorder2a tst-initorder2b
18244 tst-initorder2c tst-initorder2d. Add rules to build them.
18245 ($(objpfx)tst-initorder2.out): New rule.
18246 * elf/tst-initorder2.c: New file.
18247 * elf/tst-initorder2.exp: New file.
18248
87162f46
AS
182492011-08-22 Andreas Schwab <schwab@redhat.com>
18250
70538b7f
AS
18251 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
18252
f55ffe58
AS
18253 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
18254 dependencies back to end of function.
18255
87162f46
AS
18256 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18257 $(elfobjdir)/ld.so.
18258
91b392a4
UD
182592011-08-21 Ulrich Drepper <drepper@gmail.com>
18260
18261 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
18262 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
18263 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
18264 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
18265 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
18266 of __vdso_gettimeofday.
18267 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
18268 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
18269 attribute_hidden.
18270 (_libc_vdso_platform_setup): Remove initialization of
18271 __vdso_gettimeofday and __vdso_time.
18272
5c43483f
UD
182732011-08-20 Ulrich Drepper <drepper@gmail.com>
18274
775a77e7
UD
18275 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
18276 and fgetc_unlocked.
18277 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
18278 getc_unlocked.
89f447ed 18279
49c74ba9
UD
18280 * elf/dl-open.c (add_to_global): Report additions to the global scope
18281 for LD_DEBUG=scopes.
18282 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 18283 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 18284
5c43483f
UD
18285 [BZ #13114]
18286 * stdio-common/Makefile (tests): Add bug24.
18287 * stdio-common/bug24.c: New file.
18288
a101b025
AJ
182892011-08-19 Andreas Jaeger <aj@suse.de>
18290
18291 [BZ #13114]
18292 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
18293 non-existant file when using close-on-exec mode.
18294
c88f1766
UD
182952011-08-20 Ulrich Drepper <drepper@gmail.com>
18296
0276a718
UD
18297 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
18298 the very first instruction.
18299
c88f1766
UD
18300 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
18301 the CFI state in the end.
18302 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
18303 inclusion of dl-trampoline.h.
18304 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
18305
51ccffa0
AS
183062011-08-19 Andreas Schwab <schwab@redhat.com>
18307
94d7165f
AS
18308 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
18309 expectations for long double.
18310
51ccffa0
AS
18311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
18312 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
18313
fd708658 183142011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
18315
18316 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
18317 artificual limit depends upon the system page size.
18318
44f0a71e
UD
183192011-08-17 Ulrich Drepper <drepper@gmail.com>
18320
18321 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
18322 * resolv/Makefile: Define CFLAGS-libresolv.
18323
8de79a24
AS
183242011-08-17 Andreas Schwab <schwab@redhat.com>
18325
18326 * nss/makedb.c (compute_tables): Make variables used in nested
18327 function static.
18328
27724598
UD
183292011-08-17 Ulrich Drepper <drepper@gmail.com>
18330
c5305d88
UD
18331 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
18332 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
18333 if buffer was too small.
18334
27724598
UD
18335 * elf/pldd.c (main): Attach to all threads in the process.
18336 Rewrite /proc handling to use *at functions.
18337
076fe015
UD
183382011-08-16 Ulrich Drepper <drepper@gmail.com>
18339
174baab3
UD
18340 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
18341 specifies first scope to show.
18342 (dl_open_worker): Update callers. Move printing scope of new
18343 object to before the relocation.
44f0a71e 18344 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
18345 * sysdeps/generic/ldsodefs.h: Update declaration.
18346
076fe015
UD
18347 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
18348 string for the scope number.
18349
a60df2c3
UD
183502011-08-14 Ulrich Drepper <drepper@gmail.com>
18351
18352 * nscd/servicescache.c (cache_addserv): Make sure written is always
18353 initialized.
18354
5e4287d1
RM
183552011-08-14 Roland McGrath <roland@hack.frob.com>
18356
85ae0589
RM
18357 * sysdeps/i386/i486/bits/atomic.h
18358 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
18359 statement expression, so as to suppress "set but not used" warning.
18360 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
18361
69f63097
RM
18362 * string/strncat.c (STRNCAT): Use prototype definition.
18363
675456ef
RM
18364 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
18365 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
18366 -Iprograms here.
18367 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
18368 (localedef-modules): Add localedef.
18369 (locale-modules): Add locale.
18370
5e4287d1
RM
18371 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
18372 * elf/rtld.c (dl_main): Invert order of assignment in last change,
18373 to avoid a warning.
18374
9c96ff23
DM
183752011-08-14 David S. Miller <davem@davemloft.net>
18376
18377 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
18378 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
18379
f9ddf089
UD
183802011-08-13 Ulrich Drepper <drepper@gmail.com>
18381
44f0a71e 18382 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
18383 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
18384 * elf/rtld.c (dl_main): Set l_name of vDSO.
18385 Call _dl_show_scope when DL_DEBUG_SCOPES.
18386 (process_dl_debug): Recognize scopes flag and also set it for all.
18387 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
18388 Declare _dl_show_scope.
18389
1dc27704
UD
18390 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
18391 (do_dlopen): Pass caller_dlopen to dl_open.
18392 (__libc_dlopen_mode): Initialize caller_dlopen.
18393
f9ddf089
UD
18394 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
18395 of libc. Make tolower call locale-independent. Optimize a bit by
18396 using isdigit instead of isalnum.
18397 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
18398
9ac533d3
UD
183992011-08-12 Ulrich Drepper <drepper@gmail.com>
18400
18401 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
18402 was a dependency or dynamically loaded.
18403
89edf2e9
UD
184042011-08-11 Ulrich Drepper <drepper@gmail.com>
18405
8e999d29
UD
18406 * intl/l10nflist.c: Allow architecture-specific pop function.
18407 * sysdeps/x86_64/l10nflist.c: New file.
18408
89edf2e9
UD
18409 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
18410 classification.
18411
14d96785
AS
184122011-08-10 Andreas Schwab <schwab@redhat.com>
18413
18414 * include/dirent.h: Add libc_hidden_proto for scandirat and
18415 scandirat64. Don't declare __scandirat64.
18416 * dirent/scandirat.c: Add libc_hidden_def.
18417 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
18418 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
18419
6761ac04
DM
184202011-08-10 David S. Miller <davem@davemloft.net>
18421
18422 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
18423 enum.
18424 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18425 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18426 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18427
c55fbd1e
UD
184282011-08-09 Ulrich Drepper <drepper@gmail.com>
18429
18430 * Versions.def [libc]: Add GLIBC_2.15.
18431 * dirent/Makefile (routines): Add scandirat and scandirat64.
18432 * dirent/Versions [libc]: Export scandirat and scandirat64 for
18433 GLIBC_2.15.
18434 * dirent/dirent.h: Declare scandirat and scandirat64.
18435 * dirent/scandirat.c: New file.
18436 * dirent/scandirat64.c: New file.
18437 * sysdeps/wordsize-64/scandirat.c: New file.
18438 * sysdeps/wordsize-64/scandirat64.c: New file.
18439 * dirent/opendir.c: Define opendirat.
18440 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
18441 using scandirat.
18442 * dirent/scandir64.c: Adjust for scandir.c change.
18443 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
18444 __scandirat64, and __scandir_cancel_handler.
18445 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
18446 additional parameter and use openat instead of open (outside of ld.so).
18447 Add new __opendir as wrapper around __opendirat.
18448 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
18449 here without requiring old scandirat implementation.
18450
879165f2
UD
184512011-08-08 Ulrich Drepper <drepper@gmail.com>
18452
18453 * dirent/scandir.c (cancel_handler): Renamed to
18454 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
18455 defined. Adjust users.
18456 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
18457 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
18458
cb7e923b
UD
184592011-08-04 Ulrich Drepper <drepper@gmail.com>
18460
16292edd
UD
18461 * string/test-string.h (IMPL): Use __STRING to expand name and then
18462 stringify it.
18463
cb7e923b
UD
18464 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
18465 of cleanups.
18466
cff82933
LD
184672011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18468
18469 * string/Makefile: Update.
18470 (strop-tests): Append strncat.
18471 * string/test-wcscmp.c: New file.
18472 New comprehensive test for wcscmp.
18473 * string/test-strcmp.c: Update.
18474 (WIDE): New define.
18475
9be9bfcc
AS
184762011-07-22 Andreas Schwab <schwab@redhat.com>
18477
18478 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
18479 line.
18480
2e96f1c7
AS
184812011-07-26 Andreas Schwab <schwab@redhat.com>
18482
18483 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18484 encoding to ACE if AI_IDN.
18485
85188888
JJ
184862011-08-01 Jakub Jelinek <jakub@redhat.com>
18487
18488 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
18489 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
18490
5fa16e9b
LD
184912011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18492
18493 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
18494 Fix overflow bug in strncat.
18495 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
18496
18497 * string/test-strncat.c: Update.
18498 Add new tests for checking overflow bugs.
18499
185002011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18501
18502 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18503 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
18504 * sysdeps/i386/i686/multiarch/strcat.S: New file.
18505 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
18506 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
18507 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
18508 * sysdeps/i386/i686/multiarch/strncat.S: New file.
18509 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
18510 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
18511
18512 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
18513 (USE_AS_STRCAT): Define.
18514 Add strcat and strncat support.
18515 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18516
8c1a459f
AS
185172011-07-25 Andreas Schwab <schwab@redhat.com>
18518
18519 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
18520 __n bigger than INT_MAX+1.
18521 (__strncmp_g): Likewise.
18522
bba33c28
UD
185232011-07-23 Ulrich Drepper <drepper@gmail.com>
18524
798be72d
UD
18525 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
18526 * libio/stido.h: Likewise.
18527
8accd4dc
UD
18528 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
18529 (AF_NFC): Define.
18530 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
18531 (AF_NFC): Define.
18532
cbff0d96
UD
18533 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
18534 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18535 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18536 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18537 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18538
9191c04a
UD
18539 [BZ #13021]
18540 * scripts/test-installation.pl: Don't expect libnss_test1 to be
18541 installed.
18542
bba33c28
UD
18543 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
18544 typo.
18545 (_dl_x86_64_save_sse): Likewise.
18546
90f139dd
UD
185472011-07-22 Ulrich Drepper <drepper@gmail.com>
18548
1aae088a
UD
18549 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
18550 OSXSAVE.
18551 (_dl_x86_64_save_sse): Likewise.
18552
8e2045f5
UD
18553 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
18554
90f139dd
UD
18555 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
18556
1d002f25
AS
185572011-07-21 Andreas Schwab <schwab@redhat.com>
18558
18559 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
18560 change.
18561 (_dl_x86_64_save_sse): Use correct AVX check.
18562
21137f89
UD
185632011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18564
18565 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
18566 bug in strncpy/strncat.
18567 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
18568
a65c0b7a
UD
185692011-07-21 Ulrich Drepper <drepper@gmail.com>
18570
18571 * string/tester.c (test_strcat): Add tests for different alignments
18572 of source and destination.
18573 (test_strncat): Likewise.
18574
6986b98a
UD
185752011-07-20 Ulrich Drepper <drepper@gmail.com>
18576
90bb2039
UD
18577 [BZ #12852]
18578 * posix/glob.c (glob): Check passed in values before using them in
18579 expressions to avoid some overflows.
18580 (glob_in_dir): Likewise.
18581
5644ef54
UD
18582 [BZ #13007]
18583 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
18584 check for AVX enablement so that we don't crash with old kernels and
18585 new hardware.
18586 * elf/tst-audit4.c: Add same checks here.
18587 * elf/tst-audit6.c: Likewise.
18588
18589 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 18590
bfc9dc9b
AS
185912011-07-09 Andreas Schwab <schwab@linux-m68k.org>
18592
18593 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
18594
702e64bb
UD
185952011-07-20 Ulrich Drepper <drepper@gmail.com>
18596
18597 * po/cs.po: Update from translation team.
18598 * po/bg.po: Likewise.
18599
295e904f
MP
186002011-07-12 Marek Polacek <mpolacek@redhat.com>
18601
18602 * misc/sys/cdefs.h: Add support for const attribute.
18603 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
18604 to gnu_dev_{major,minor,makedev} functions.
18605
3ff94596
MP
186062011-07-20 Marek Polacek <mpolacek@redhat.com>
18607
18608 * intl/dcigettext.c (get_output_charset): Add missing bracket.
18609
28b59fca
AS
186102011-07-20 Andreas Schwab <schwab@redhat.com>
18611
18612 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
18613 strlen results.
18614
19df733e
AK
186152011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18616
18617 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
18618 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
18619 register in order to avoid conflicts with the soft frame pointer
18620 being held in r11 when necessary.
18621 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
18622 (INTERNAL_VSYSCALL_NCS): Likewise.
18623
c8835729
MP
186242011-07-14 Marek Polacek <mpolacek@redhat.com>
18625
18626 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
18627 * elf/dl-fini.c (_dl_fini): Adjust caller.
18628 * elf/dl-close.c (_dl_close_worker): Likewise.
18629 * sysdeps/generic/ldsodefs.h: Adjust declaration.
18630
b902330c
MP
186312011-07-15 Marek Polacek <mpolacek@redhat.com>
18632
8991e135
MP
18633 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
18634 "aux_cache->nlibs < 0".
18635
b902330c
MP
18636 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
18637 in the reload-count case.
18638
99710781
LD
186392011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18640
18641 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18642 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
18643 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
18644 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
18645 * sysdeps/x86_64/multiarch/strcat.S: New file.
18646 * sysdeps/x86_64/multiarch/strncat.S: New file.
18647 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
18648 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
18649 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
18650 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
18651 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
18652 (USE_AS_STRCAT): Define.
18653 Add strcat and strncat support.
18654 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
18655 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18656 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
18657 * string/strncat.c: Update.
18658 (USE_AS_STRNCAT): Define.
18659 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18660 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
18661 and i7.
18662 * sysdeps/x86_64/multiarch/init-arch.h
18663 (bit_Prefer_PMINUB_for_stringop): New.
18664 (index_Prefer_PMINUB_for_stringop): Likewise.
18665 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
18666 bit_Prefer_PMINUB_for_stringop.
18667
7dc6bd90
UD
186682011-07-19 Ulrich Drepper <drepper@gmail.com>
18669
18670 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
18671 buffer64.
18672 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
18673 of casting of buffer.
18674 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
18675 buffer32 and buffer64.
18676 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
18677 writes instead of casting of buffer.
18678 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
18679 buffer32.
18680 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
18681 casting of buffer.
18682
e0e72284
AS
186832011-07-19 Andreas Schwab <schwab@redhat.com>
18684
18685 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
18686
feb1eb0b
UD
186872011-07-19 Ulrich Drepper <drepper@gmail.com>
18688
18689 * nscd/nscd.c (termination_handler): Don't do anything for a database
18690 if it has not yet been initialized.
18691
298711ff
UD
186922011-07-18 Ulrich Drepper <drepper@gmail.com>
18693
18694 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
18695
186962011-07-15 Marek Polacek <mpolacek@redhat.com>
18697
18698 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
18699
f9d68389
UD
187002011-07-18 Ulrich Drepper <drepper@gmail.com>
18701
18702 * po/nl.po: Update from translation team.
18703 * po/sv.po: Likewise.
18704
db290cf5
RM
187052011-07-16 Roland McGrath <roland@hack.frob.com>
18706
18707 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
18708 now disallowed by GCC.
5c550700 18709
fd5e21c7
RM
18710 * configure.in (use-default-link): Default to yes if a test -shared
18711 link meets our qualifications.
18712 * configure: Regenerated.
18713
5c550700
RM
18714 * config.make.in (output-format): New variable.
18715 * configure.in: Check for ld --print-output-format support.
18716 * configure: Regenerated.
18717 * Makerules ($(common-objpfx)format.lds)
18718 [$(output-format) != unknown]: Just use $(output-format),
18719 instead of the linker-script munging.
18720
9fa2c032
RM
187212011-07-14 Roland McGrath <roland@hack.frob.com>
18722
a6928d51
RM
18723 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
18724 of $(common-objpfx)shlib.lds.
18725 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
18726
661607b3
RM
18727 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
18728 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
18729
9fa2c032
RM
18730 * configure.in (-z relro check): Adjust test code to add a large
18731 writable data section after it.
18732 * configure: Regenerated.
18733
defe9061
RM
187342011-07-11 Roland McGrath <roland@hack.frob.com>
18735
18736 * configure.in (-z relro check): Fix test code to make the variable
18737 truly const.
18738 * configure: Regenerated.
18739
319b9ad4
UD
187402011-07-11 Ulrich Drepper <drepper@gmail.com>
18741
18742 * nscd/nscd.h (struct traced_file): Define.
18743 (struct database_dyn): Remove inotify_descr, reset_res, and filename
18744 elements. Add traced_files.
18745 (inotify_fd): Declare.
18746 (register_traced_file): Declare.
18747 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
18748 (inotify_fd): Export.
18749 (resolv_conf_descr): Remove.
18750 (nscd_init): Move inotify descriptor creation to main.
18751 Don't register files for notification here.
18752 (register_traced_file): New function.
18753 (invalidate_cache): Don't use reset_res to determine whether to call
18754 res_init, go through the list of registered files.
18755 (main_loop_poll): The inotify descriptors are now stored in the
18756 structures for the traced files.
18757 (main_loop_epoll): Likewise
18758 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
18759 to __nss_disable_nscd.
18760 * nscd/cache.c (prune_cache): There is no single inotify descriptor
18761 for a database anymore. Check the records for all the registered
18762 files instead.
18763 * nss/Makefile (libnss_files-routines): Add files-init.
18764 (libnss_db-routines): Add db-init.
18765 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
18766 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
18767 * nss/nss_db/db-init.c: New file.
18768 * nss/nss_files/files-init.c: New file.
18769 * nss/nsswitch.c (nss_load_library): New function. Broken out of
18770 __nss_lookup_function.
18771 (__nss_lookup_function): Call nss_load_library.
18772 (nss_load_all_libraries): New function.
18773 (__nss_disable_nscd): Take parameter with callback function for files
18774 to register. Set is_nscd. Load all the DSOs for the NSS modules
18775 used for the cached services.
18776 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
18777 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
18778 options for features to all the files in nscd.
18779
18780 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
18781
23bee3e8
RM
187822011-07-10 Roland McGrath <roland@hack.frob.com>
18783
18784 * csu/elf-init.c (__libc_csu_init): Comment typo.
18785
46a5b7f0
UD
187862011-07-09 Ulrich Drepper <drepper@gmail.com>
18787
18788 * po/pl.po: Update from translation team.
18789 * po/ja.po: Likewise.
18790 * po/ru.po: Likewise.
18791 * po/ko.po: Likewise.
18792 * po/fr.po: Likewise.
18793
d30cf5bb
RM
187942011-07-09 Roland McGrath <roland@hack.frob.com>
18795
113ddea4
RM
18796 * configure.in (.ctors/.dtors header and trailer check):
18797 Use an empirical test on a built program.
18798 * configure: Regenerated.
18799
574920b4
RM
18800 * configure.in (-z relro check): Use an empirical test on a built DSO.
18801 Detect, but do not require, on ia64.
18802 * configure: Regenerated.
18803
d30cf5bb
RM
18804 * configure.in (READELF): Find it with AC_CHECK_TOOL.
18805 Update tests that use readelf to use $READELF instead.
18806 * configure: Regenerated.
18807
8538fdb3
UD
188082011-07-08 Ulrich Drepper <drepper@gmail.com>
18809
18810 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
18811 if the result is not used.
18812
04d08991
AJ
188132011-07-05 Andreas Jaeger <aj@suse.de>
18814
18815 [BZ#9696]
18816 * stdlib/tst-strtod.c: Add testcase.
18817
de283087
AD
188182011-07-07 Ulrich Drepper <drepper@gmail.com>
18819
4e5f31c8 18820 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 18821 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
18822 The latter has a higher limit. Take additional parameter to pass to
18823 the new function.
18824 (__pathconf): Pass file to __statfs_link_max.
18825 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
18826 __statfs_link_max.
18827 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
18828 __statfs_link_max.
18829
de283087
AD
18830 [BZ #12868]
18831 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
18832 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18833 Handle Lustre.
18834 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
18835 (__statfs_filesize_max): Likewise.
18836 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
18837
c75fa153
AJ
188382011-07-05 Andreas Jaeger <aj@suse.de>
18839
18840 * resolv/res_comp.c (dn_skipname): Remove unused variable.
18841
1a544854
UD
188422011-07-06 Marek Polacek <mpolacek@redhat.com>
18843
18844 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
18845 `status' variable.
18846 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
18847 Likewise.
18848
6f0eec67
UD
188492011-07-04 H.J. Lu <hongjiu.lu@intel.com>
18850
18851 * Makefile (strop-tests): Add strncat.
18852 * string/test-strncat.c: New file.
18853
aae30307
UD
188542011-06-30 Marek Polacek <mpolacek@redhat.com>
18855
18856 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
18857
c0cfb5eb
UD
188582011-06-21 Andreas Jaeger <aj@suse.de>
18859
18860 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
18861 Copy rule from iconvdata/Makefile.
18862
01636b21
UD
188632011-07-06 Ulrich Drepper <drepper@gmail.com>
18864
18865 [BZ #12922]
18866 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
18867 but no long options are defined, just return 'W'.
18868
9895c8bc
UD
188692011-06-22 Marek Polacek <mpolacek@redhat.com>
18870
18871 [BZ #9696]
18872 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
18873
5d4cf042
UD
188742011-07-06 Ulrich Drepper <drepper@gmail.com>
18875
18876 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
18877 netgroups to read.
960e5535 18878 (innetgr): Likewise.
5d4cf042 18879
751eb97e
RM
188802011-07-05 Roland McGrath <roland@hack.frob.com>
18881
18882 * config.make.in (install_root): Default to $(DESTDIR).
18883
f15f1e45
UD
188842011-07-05 Ulrich Drepper <drepper@gmail.com>
18885
18886 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
18887
4e34ac6a
RM
188882011-07-02 Roland McGrath <roland@hack.frob.com>
18889
5e9b6af4
RM
18890 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
18891
84f9ea0f
RM
18892 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
18893 containing directory rather than embedding absolute directory names.
18894
ea5ee9f7
RM
18895 * scripts/check-local-headers.sh: Rewritten using awk.
18896 Match by word, not by line. Print error messages for matches.
18897 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
18898
1b74661a
RM
18899 * Makerules [shlib-lds-flags empty]:
18900 ($(common-objpfx)libc_pic.opts): New target.
18901 ($(common-objpfx)libc_pic.os.clean): New target.
18902 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
18903
18904 * config.make.in (OBJCOPY): New variable.
18905 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
18906 * configure: Regenerated.
18907
f781ef40
RM
18908 * config.make.in (use-default-link): New variable.
18909 * configure.in (use_default_link): Grok --with-default-link to set it.
18910 * configure: Regenerated.
18911 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
18912 (shlib-lds, shlib-lds-flags): Define to empty.
18913
2d4fa81e
RM
18914 * Makerules (shlib-lds): New variable.
18915 (shlib-lds-flags): New variable.
18916 (build-shlib, build-moduile, build-module-asneeded): Use it.
18917 ($(common-objpfx)libc.so): Use $(shlib-lds).
18918 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
18919 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
18920
31fffa6b
RM
18921 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
18922 DT_FLAGS/DT_FLAGS_1 with zero flags.
18923
4e34ac6a
RM
18924 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
18925 linker script munging.
18926
fcfc776b
UD
189272011-07-02 Ulrich Drepper <drepper@gmail.com>
18928
18929 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
18930 as 128-bit value.
18931 * crypt/sha512.c (sha512_process_block): Perform total addition using
18932 128-bit if possible.
18933 (__sha512_finish_ctx): Likewise.
18934 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
18935 as 64-bit value.
18936 * crypt/sha256.c (SWAP64): Define.
18937 (sha256_process_block): Perform total addition using 64-bit if
18938 possible.
18939 (__sha256_finish_ctx): Likewise.
18940
99231d9a
UD
189412011-07-01 Ulrich Drepper <drepper@gmail.com>
18942
18943 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
18944 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18945 * nscd/hstcache.c (cache_addhst): Likewise.
18946 * nscd/grpcache.c (cache_addgr): Likewise.
18947 * nscd/aicache.c (addhstaiX): Likewise
18948 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
18949
445b4a53
TK
189502011-07-01 Thorsten Kukuk <kukuk@suse.de>
18951
18952 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
18953 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18954 * nscd/hstcache.c (cache_addhst): Likewise.
18955 * nscd/grpcache.c (cache_addgr): Likewise.
18956 * nscd/aicache.c (addhstaiX): Likewise
18957
6d4d8e8e
AS
189582011-07-01 Andreas Schwab <schwab@redhat.com>
18959
18960 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
18961 domain only when needed.
18962
89f654c5
AS
189632011-06-30 Andreas Schwab <schwab@redhat.com>
18964
18965 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
18966 is always restored.
18967
cf3b23ff
UD
189682011-06-29 Ulrich Drepper <drepper@gmail.com>
18969
18970 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
18971 are re-adding the entry.
18972 * nscd/servicescache.c (cache_addserv): Likewise.
18973
751626f9
AJ
189742011-06-30 Aurelien Jarno <aurelien@aurel32.net>
18975
18976 * sysdeps/generic/dl-irel.h: fix protection against multiple
18977 inclusions.
18978 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
18979
9113ea1f
UD
189802011-06-28 Ulrich Drepper <drepper@gmail.com>
18981
5c0b8d90
UD
18982 [BZ #12935]
18983 * malloc/memusage.sh: Fix quoting in message.
18984 * debug/xtrace.sh: Likewise.
18985
9113ea1f
UD
18986 * configure.in: Remove support for --experimental-malloc option, make
18987 it the default.
18988 * config.make.in: Likewise.
18989 * malloc/Makefile: Likewise.
18990
a4172181
AS
189912011-06-27 Andreas Schwab <schwab@redhat.com>
18992
18993 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
18994 two-byte characters.
18995
78a7eee7
RM
189962011-06-27 Roland McGrath <roland@hack.frob.com>
18997
62bede13
RM
18998 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
18999 AC_CACHE_CHECK invocation.
19000 * configure: Regenerated.
19001
78a7eee7
RM
19002 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
19003
5ce33a62
UD
190042011-06-27 Ulrich Drepper <drepper@gmail.com>
19005
034807a9
UD
19006 [BZ #12350]
19007 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
19008 bit from old_res_options.
19009
4902da17
UD
19010 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
19011
5ce33a62
UD
19012 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
19013 value type for setfct.
19014
c2344f56
L
190152011-06-23 H.J. Lu <hongjiu.lu@intel.com>
19016
19017 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19018 __gettimeofday instead of gettimeofday.
19019
68468076
UD
190202011-06-26 Ulrich Drepper <drepper@gmail.com>
19021
19022 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
19023
acb0d739
L
190242011-06-24 H.J. Lu <hongjiu.lu@intel.com>
19025
19026 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
19027
19028 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
19029 info.
19030
8912479f
L
190312011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19032
19033 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19034 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19035 strcpy-sse2-unaligned strncpy-sse2-unaligned
19036 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
19037 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
19038 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
19039 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
19040 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
19041 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
19042 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
19043 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
19044 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
19045 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
19046 (STRCPY): Support SSE2 and SSSE3 versions.
19047
d5495a11
UD
190482011-06-24 Ulrich Drepper <drepper@gmail.com>
19049
19050 [BZ #12874]
19051 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
19052 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
19053 kernels which artificially limit size of requests.
19054
0b1cbaae
L
190552011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19056
19057 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19058 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19059 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
19060 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
19061 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
19062 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
19063 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
19064 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
19065 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
19066 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
19067 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
19068 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
19069 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
19070 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
19071 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
19072 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19073 Enable unaligned load optimization for Intel Core i3, i5 and i7
19074 processors.
19075 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
19076 Define.
19077 (index_Fast_Unaligned_Load): Define.
19078 (HAS_FAST_UNALIGNED_LOAD): Define.
19079
07f494a0
MP
190802011-06-23 Marek Polacek <mpolacek@redhat.com>
19081
19082 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
19083
fa3fc0fe
UD
190842011-06-22 Ulrich Drepper <drepper@gmail.com>
19085
19086 [BZ #12907]
19087 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
19088 until it is clear that the information is realy needed.
19089 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
19090
e12df166
AS
190912011-06-22 Andreas Schwab <schwab@redhat.com>
19092
19093 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
19094
852eb34d
UD
190952011-06-22 Ulrich Drepper <drepper@gmail.com>
19096
84e2a551
UD
19097 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19098 /sys/devices/system/cpu/online if it is usable.
19099
852eb34d
UD
19100 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
19101 reading the information from the /proc filesystem to once a second.
19102
6e502e19
UD
191032011-06-21 Andreas Jaeger <aj@suse.de>
19104
19105 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
19106 NULL after inclusion of kernel headers.
19107
75d39ff2
UD
191082011-06-21 Ulrich Drepper <drepper@gmail.com>
19109
51f9aa6a
UD
19110 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
19111 calls to internal_setent.
19112
c0244a9d
UD
19113 [BZ #12885]
19114 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
19115 addresses using gethostbyname4_r ignore IPv4 addresses.
19116
c5e3c2ae
UD
19117 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
19118 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
19119
75d39ff2
UD
19120 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
19121
42675c6f
DM
191222011-06-20 David S. Miller <davem@davemloft.net>
19123
19124 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
19125 inclusions.
19126 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
19127
19128 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
19129 (elf_irel): Use it.
19130 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
19131 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
19132 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
19133 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
19134 * sysdeps/x86_64/dl-irel.h: Likewise.
19135
19136 * elf/dl-runtime.c: Use elf_ifunc_invoke.
19137 * elf/dl-sym.c: Likewise.
19138
57912a71
UD
191392011-06-15 Ulrich Drepper <drepper@gmail.com>
19140
19141 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
19142 need to dereference resplen2.
19143
ee22793d
AS
191442011-06-14 Andreas Schwab <schwab@redhat.com>
19145
19146 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
19147
a9e836b0
UD
191482011-06-15 Ulrich Drepper <drepper@gmail.com>
19149
77fb9117
UD
19150 * Makeconfig: Define vardbdir and inst_vardbdir.
19151 * nss/Makefile: Add rules to install db-Makefile.
19152
40c1b22c
UD
19153 * nss/nss_db/db-XXX.c: Cleanup.
19154
9f2da732
UD
19155 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
19156 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
19157 GLIBC_PRIVATE.
19158 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
19159 * nss/makedb.c: Implement -g option to specify that value strings
19160 are generated and should not be added to table iterated over for
19161 get*ent calls.
19162 * nss/nss_db/db-initgroups.c: New file.
19163
82e9a1f7
UD
19164 * nss/getent.c: Add support for initgroups lookups through getgrouplist
19165 interface.
19166
c41af17e
UD
19167 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
19168 (internal_getgrouplist): Adjust to name change.
19169 Update use_initgroups_entry if this is not the first call.
19170 * nss/databases.def: Add initgroups entry.
19171
a9e836b0
UD
19172 * nss/makedb.c (compute_tables): Check result of multiple hash table
19173 sizes to minimize maximum chain length.
19174
2666d441
UD
191752011-06-14 Ulrich Drepper <drepper@gmail.com>
19176
19177 * Versions.def: Add entry for libnss_db.
19178 * shlib-versions: Likewise.
19179 * nss/Makefile: Add rules to build libnss_db.
19180 * nss/Versions: Add libnss_db information. Organize libnss_files
19181 entries better.
19182 * nss/db-Makefile: Add gshadow support. Change rules for the new
19183 makedb progra. Some minor improvements to generate smaller files.
19184 * nss/nss_db/nss_db.h: Move NSS database header data structures to
19185 here from...
19186 * nss/makedb.c: ...here.
19187 Improve database format to be smaller and require less memory at
19188 runtime.
19189 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
19190 db anymore.
19191 * nss/nss_db/db-netgrp.c: Likewise.
19192 * nss/nss_db/db-open.c: Likewise.
19193 * nss/nss_files/flies-XXX.x: Adjust comments.
19194 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
19195 * nss/nss_files/files-grp.c: Likewise.
19196 * nss/nss_files/files-hosts.c: Likewise.
19197 * nss/nss_files/files-network.c: Likewise.
19198 * nss/nss_files/files-proto.c: Likewise.
19199 * nss/nss_files/files-pwd.c: Likewise.
19200 * nss/nss_files/files-rpc.c: Likewise.
19201 * nss/nss_files/files-service.c: Likewise.
19202 * nss/nss_files/files-sgrp.c: Likewise.
19203 * nss/nss_files/files-spwd.c: Likewise.
19204 * nss/nss_db/db-alias.c: Removed.
19205 * nss/nss_db/dummy-db.h: Removed.
19206
9ee76b5a
UD
192072011-06-02 Ulrich Drepper <drepper@gmail.com>
19208
19209 * nss/makedb.c: Rewritten to not use database library.
19210 * nss/Makefile: Update to build new makedb program.
19211
c71ca1f8
AJ
192122011-06-14 Andreas Jaeger <aj@suse.de>
19213
19214 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
19215 memset declaration.
19216
3154bfb8
UD
192172011-06-10 Andreas Schwab <schwab@redhat.com>
19218
19219 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
19220 tmpbuf.
19221
b350afab
RM
192222011-06-10 Roland McGrath <roland@hack.frob.com>
19223
decd4e50
RM
19224 * Makerules (shlib.lds): Fail if the linker script comes out empty.
19225 * elf/Makefile ($(objpfx)ld.so): Likewise.
19226
5615eaf2
RM
19227 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
19228 Don't list ld.so twice in dependencies.
19229
19230 * posix/bug-regex31.c: Include <stdlib.h>.
19231
19232 * nscd/hstcache.c (cache_addhst): Remove unused variable.
19233
19234 * nis/nss_compat/compat-spwd.c
19235 (getspent_next_nss_netgr): Remove unused variable.
19236 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
19237
19238 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
19239 nonmembers" output to use the right array.
19240
19241 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
19242
19243 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
19244
19245 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
19246 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
19247 * catgets/gencat.c (read_input_file): Likewise.
19248 * locale/programs/locarchive.c (enlarge_archive): Likewise.
19249
19250 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
19251 variable definition inside #if's controlling its use.
19252
19253 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
19254
19255 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
19256
19257 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
19258
19259 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
19260 unreachable code.
19261
19262 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
19263
b68e08db
RM
19264 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
19265 * configure: Regenerated.
19266
b350afab
RM
19267 * Makerules: Revert last change.
19268 * elf/Makefile: Likewise.
19269
28368601
RM
192702011-06-09 Roland McGrath <roland@hack.frob.com>
19271
19272 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
19273 * elf/Makefile ($(objpfx)librtld.os): Likewise.
19274 (reloc-link): Likewise.
19275
11988f8f
UD
192762011-06-09 Ulrich Drepper <drepper@gmail.com>
19277
19278 * elf/Makefile: Add rules to build pldd.
19279 * elf/pldd.c: New file.
19280 * elf/pldd-xx.c: New file.
19281
e80fab37
UD
192822011-06-07 Ulrich Drepper <drepper@gmail.com>
19283
19284 * version.h: Update for 2.15 development version.
19285
9b849836
DM
192862011-06-07 David S. Miller <davem@davemloft.net>
19287
19288 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
19289 ifuncs.
19290 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
19291 elf_machine_lazy_rel): Likewise.
19292 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
19293 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
19294 elf_machine_lazy_rel): Likewise.
19295 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
19296 dl_hwcap via passed in argument.
19297 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
19298 Likewise.
19299
5a31b283
AK
193002011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19301
19302 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
19303
069e52f8
RM
193042011-06-06 Roland McGrath <roland@hack.frob.com>
19305
19306 [BZ #12849]
19307 * manual/fdl-1.1.texi: New file, verbatim from:
19308 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
19309 * manual/lgpl-2.1.texi: New file, verbatim from:
19310 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
19311 * manual/Makefile (licenses): New variable, list those new file names.
19312 (texis): Use it.
19313 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
19314
19315 * manual/fdl.texi: File removed.
19316 * manual/lesser.texi: File removed.
19317 * manual/libc.texinfo (Copying, Documentation License):
19318 Use new @include file names, put @appendix directive before @include.
19319
f16846a5
JJ
193202011-06-04 Jakub Jelinek <jakub@redhat.com>
19321
19322 [BZ #12841]
19323 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
19324 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
19325 (mq_open): Add __NTH.
19326
3d29045b
L
193272011-06-02 H.J. Lu <hongjiu.lu@intel.com>
19328
19329 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19330 Assume Intel Core i3/i5/i7 processor if AVX is available.
19331
8c297311
UD
193322011-05-31 Ulrich Drepper <drepper@gmail.com>
19333
19334 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
19335 typo.
19336
c8fc0c91
UD
193372011-05-31 Andreas Schwab <schwab@redhat.com>
19338
19339 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
19340 memory. Use alloca_account. Fix memory leak when retrying.
19341
5b27a807
UD
193422011-05-31 Ulrich Drepper <drepper@gmail.com>
19343
356f8bc6
UD
19344 * version.h (RELEASE): Bump for 2.14 release.
19345 * include/features.h (__GLIBC_MINOR__): Bump to 14.
19346
5b27a807
UD
19347 * config.make.in (RANLIB): Remove entry.
19348
01f16ab0
UD
193492011-05-30 Ulrich Drepper <drepper@gmail.com>
19350
41fce8bd
UD
19351 * po/Makefile (po-sed-cmd): Add ksh to extensions.
19352 (libc.pot): Work around missing support for .ksh extension in xgettext.
19353
4769ae77
UD
19354 [BZ #12684]
19355 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
19356 if both request failed.
19357 (send_dg): In case of server errors clear resplen or *resplen2.
19358
6b1e7d19
UD
19359 [BZ #12454]
19360 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
19361 when there are multiple maps.
19362 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
19363 (_dl_fini): Remove test here.
19364
01f16ab0
UD
19365 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
19366
b1ebd700
UD
193672011-05-29 Ulrich Drepper <drepper@gmail.com>
19368
7ae22829
UD
19369 [BZ #12350]
19370 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
19371 bit from old_res_options.
19372 (gaih_inet): Likewise.
19373
553149f6 19374 [BZ #11099]
18a84741 19375 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
19376 as signed.
19377
652ffab1
UD
19378 * resolv/res_init.c (res_setoptions): Make the code more compact.
19379
16985fd0
UD
19380 [BZ #11558]
19381 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
19382 set RES_USEVC.
19383
0464f746
UD
19384 [BZ #11634]
19385 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
19386
7d17596c
UD
19387 * malloc/malloc.h: Mark malloc hook variables as deprecated.
19388
cf6bbbd7
UD
19389 [BZ #11781]
19390 * malloc/malloc.h: Declare malloc hook variables as volatile.
19391
13f1ab36
UD
19392 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
19393 in last patch.
19394
b1ebd700
UD
19395 [BZ #11799]
19396 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 19397 raise in the comment.
80e2212d
UD
19398 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19399 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19400 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 19401
ce67228d
UD
194022011-05-28 Ulrich Drepper <drepper@gmail.com>
19403
8887a920
UD
19404 [BZ #12811]
19405 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
19406 grow the buffers more if it already has to be sufficient.
19407 (build_wcs_upper_buffer): Likewise.
19408 * posix/regexec.c (check_matching): Likewise.
19409 (clean_state_log_if_needed): Likewise.
19410 (extend_buffers): Don't enlarge buffers beyond size of the input
19411 buffer.
19412 Patches mostly by Emil Wojak <emil@wojak.eu>.
19413 * posix/bug-regex32.c: New file.
19414 * posix/Makefile (tests): Add bug-regex32.
19415
4f031072
UD
19416 * locale/findlocale.c (_nl_find_locale): Return right away if
19417 _nl_explode_name failed.
19418 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
19419
d0478f0c
UD
19420 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
19421
de81b246
UD
19422 * debug/xtrace.sh: Unify messages.
19423 * malloc/memusage.sh: Likewise.
19424
c738465a
UD
19425 [BZ #12813]
19426 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
19427 time symbol from vDSO. Substitute with vsyscall if not available.
19428 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
19429 __vdso_time.
19430
f1f929d7
UD
19431 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
19432 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
19433 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
19434 Add sendmmsg and internal_sendmmsg.
19435 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
19436 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
19437 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
19438
ce67228d
UD
19439 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
19440 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
19441 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
19442
e57420c6
UD
194432011-05-27 Ulrich Drepper <drepper@gmail.com>
19444
a8509ca5
UD
19445 [BZ #12813]
19446 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
19447 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
19448 available.
19449 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
19450 __vdso_getcpu.
19451
e57420c6
UD
19452 [BZ #12814]
19453 * iconvdata/Makefile (tests): Add bug-iconv9.
19454 * iconvdata/bug-iconv9.c: New file.
19455
4d07db15
AS
194562011-05-27 Andreas Schwab <schwab@redhat.com>
19457
19458 [BZ #12814]
19459 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
19460
ea486f69
JJ
194612011-05-25 Jakub Jelinek <jakub@redhat.com>
19462
19463 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
19464 (struct user_regs_struct): Change intcs field back to cs.
19465
6f038433
UD
194662011-05-25 Ulrich Drepper <drepper@gmail.com>
19467
19468 * po/ja.po: Update from translation team.
19469
67f86a25
UD
194702011-05-23 Ulrich Drepper <drepper@gmail.com>
19471
19472 [BZ #12795]
19473 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
19474 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
19475
def7fbd6
AS
194762011-05-20 Andreas Schwab <schwab@redhat.com>
19477
19478 * stdlib/longlong.h: Update from GCC.
19479
f50ef8f1
AS
194802011-05-23 Andreas Schwab <schwab@redhat.com>
19481
19482 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
19483 parameter name.
19484 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
19485 Add parameter name.
19486 (__sysconf): Pass it down.
19487
de7ce8f1
UD
194882011-05-22 Ulrich Drepper <drepper@gmail.com>
19489
f2962a71
UD
19490 [BZ #12671]
19491 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
19492 some situations.
19493 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
19494 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
19495 add in in __libc_use_alloca calls. Adjust callers.
19496 (glob): Use malloc in some situations.
19497
de7ce8f1
UD
19498 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
19499 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
19500 pltexit.
19501
aec84f53
UD
195022011-05-21 Ulrich Drepper <drepper@gmail.com>
19503
05bb4a68
UD
19504 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
19505 and CLOCK_BOOTTIME_ALARM.
19506
7ea72f99
UD
19507 [BZ #12782]
19508 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
19509 is returned.
19510
7e4afad5
UD
19511 * string/_strerror.c (__strerror_r): Print negative errors as signed
19512 numbers.
19513
8e211fec
UD
19514 [BZ #12777]
19515 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
19516 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
19517 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
19518
f7d82dc9
UD
19519 * configure.in: Fix typo in redirection and correct removal of test
19520 files in two cases.
19521
cc9e536d
UD
19522 [BZ #12788]
19523 * locale/setlocale.c (new_composite_name): Fix test to check for
19524 identical name of all categories.
19525
aec84f53
UD
19526 [BZ #12792]
19527 * libio/filedoalloc.c (local_isatty): New function.
19528 (_IO_file_doallocate): Use local_isatty.
19529 * stdio-common/perror.c (perror): In case a new stream is used
19530 forward the stream error.
19531 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
19532 error flag.
19533
78e64fdc
RT
195342011-05-20 Ulrich Drepper <drepper@gmail.com>
19535
34a9094f
UD
19536 [BZ #11869]
19537 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
19538 alloca.
19539 * include/alloca.h (extend_alloca_account): Define.
19540
78e64fdc
RT
19541 [BZ #11857]
19542 * posix/regex.h: Fix comments with documentation of user-accessible
19543 fields after compilation and describe correct free'ing of pattern
19544 after re_compile_pattern.
19545 Patch by Reuben Thomas <rrt@sc3d.org>.
19546
457bddfc
RA
195472011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
19548
19549 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
19550 and -mno-altivec to prevent the compiler from using Altivec and/or
19551 VSX instructions when the corresponding registers are not available.
19552
a4527b51
AS
195532011-05-19 Andreas Schwab <schwab@redhat.com>
19554
19555 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
19556
ed690b2f
UD
195572011-05-19 Ulrich Drepper <drepper@gmail.com>
19558
19559 * libio/freopen.c (freopen): Use __dup2, not dup2.
19560 * libio/freopen64.c (freopen64): Likewise.
19561
8db73634
L
195622011-05-17 H.J. Lu <hongjiu.lu@intel.com>
19563
19564 [BZ #12775]
19565 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
19566 * math/Makefile (tests): Add test-powl.
19567 (CFLAGS-test-powl.c): Define.
19568 * math/test-powl.c: New file.
19569
0a197a9d
L
195702011-05-16 H.J. Lu <hongjiu.lu@intel.com>
19571
19572 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
19573
ee30c380
UD
195742011-05-17 Ulrich Drepper <drepper@gmail.com>
19575
19576 [BZ #11837]
19577 * iconvdata/gb18030.c: Update to GB18020-2005.
19578
6ce75379
UD
195792011-05-16 Ulrich Drepper <drepper@gmail.com>
19580
a4b89fd8
AR
19581 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
19582 RE_SYNTAX_POSIX_AWK): Update to match recent development.
19583 Patch by Aharon Robbins <arnold@skeeve.com>.
19584
ea389b12
UD
19585 [BZ #11892]
19586 * stdlib/putenv.c (putenv): Don't always create copy of the variable
19587 on the stack.
19588
68a3f91f
UD
19589 [BZ #11895]
19590 * misc/pselect.c (__pselect): Handle timeout value errors hidden
19591 through underflows.
19592
15cc7dd1
UD
19593 [BZ #12766]
19594 * misc/error.c (error_at_line): Ensure file_name and old_file_name
19595 point to strings before performing equality test for error_one_per_line
19596 mode.
19597
f3799213
UD
19598 [BZ #11697]
19599 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
19600
d79a9c94
UD
19601 [BZ #11820]
19602 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
19603 (struct user_fpregs_struct): Avoid __uint*_t types.
19604
56e5eb46
UD
19605 [BZ #6420]
19606 * malloc/mtrace.c (tr_where): Add additional parameter to point to
19607 symbol info. Use it instead of calling _dl_addr locally.
19608 (lock_and_info): New function.
19609 (tr_freehook): Call lock_and_info and pass symbol info as additional
19610 parameter to tr_where.
19611 (tr_mallochook): Likewise.
19612 (tr_reallochook): Likewise.
19613 (tr_memalignhook): Likewise.
19614
6ce75379
UD
19615 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
19616 used and couldn't be at all thread-safe.
19617
f8a3b5bf
UD
196182011-05-15 Ulrich Drepper <drepper@gmail.com>
19619
94b7cc37
UD
19620 * libio/freopen.c (freopen): Don't close old file descriptor
19621 before the new one is opened. Instead dup the new file descriptor
19622 to the old one after the new stream is created.
19623 * libio/freopen64.c (freopen64): Likewise.
19624 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
19625 * libio/fileops.c (_IO_new_file_close_it): Handle new
19626 _IO_FLAGS2_NOCLOSE flag.
19627 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
19628 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
19629 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
19630 _IO_FLAGS2_NOCLOSE flag.
19631 * include/unistd.h: Add hidden_proto for dup3.
19632 Define __have_dup3.
19633 * io/dup3.c: Define hidden symbol.
19634 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
19635
bd25564e
UD
19636 [BZ #7101]
19637 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
19638 when an incomplete long option is used.
19639 * posix/tst-getopt_long1.c: New file.
19640 * posix/Makefile (tests): Add tst-getopt_long1.
19641
c84cfef4
UD
19642 [BZ #10138]
19643 * scripts/config.guess: Update from autoconf-2.68.
19644 * scripts/config.sub: Likewise.
19645
3b85df27
UD
19646 [BZ #10157]
19647 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
19648 tests into ...
19649 (has_cpuclock): ...this. New function.
19650 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
19651 macro here based on has_cpuclock code.
19652
15a856b1
UD
19653 [BZ #10149]
19654 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19655 First byte (not low byte) is now always NUL.
19656 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
19657
05f399e6
UD
19658 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19659 Use non-cancelable interfaces.
19660
10a52685 19661 [BZ #9809]
94ecc67d
UD
19662 * locale/iso-639.def: Add entry for Sorani.
19663
f8a3b5bf
UD
19664 [BZ #11901]
19665 * include/stdlib.h: Move include protection to the right place.
19666 Define abort_msg_s. Declare __abort_msg with it.
19667 * stdlib/abort.c (__abort_msg): Adjust type.
19668 * assert/assert.c (__assert_fail_base): New function. Majority
19669 of code from __assert_fail. Allocate memory for __abort_msg with
19670 mmap.
19671 (__assert_fail): Now call __assert_fail_base.
19672 * assert/assert-perr.c: Remove bulk of implementation. Use
19673 __assert_fail_base.
19674 * include/assert.hL Declare __assert_fail_base.
19675 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
19676 mmap.
19677 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
19678
1af4e298
UD
196792011-05-14 Ulrich Drepper <drepper@gmail.com>
19680
f8a3b5bf 19681 [BZ #11952]
d26dfc60
MG
19682 [BZ #12453]
19683 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
19684 until all modules are registered in the DTV.
19685 * elf/Makefile: Add rules to build and run tst-tls19.
19686 * elf/tst-tls19.c: New file.
19687 * elf/tst-tls19mod1.c: New file.
19688 * elf/tst-tls19mod2.c: New file.
19689 * elf/tst-tls19mod3.c: New file.
19690 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
19691
2fc54d6f
UD
19692 [BZ #12083]
19693 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
19694 correctly.
19695
98d76b46
UD
19696 [BZ #12601]
19697 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
19698 two-byte sequence errors.
19699 * iconvdata/Makefile (tests): Add bug-iconv8.
19700 * iconvdata/bug-iconv8.c: New file.
19701
da3c19ef
UD
19702 [BZ #12626]
19703 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
19704 buf2 definition.
19705
ca408c15
UD
19706 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
19707
d6f67f7d
UD
19708 [BZ #12432]
19709 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
19710 (dummy_getcfa): New function.
19711 (init): Get _Unwind_GetCFA address, use dummy if not found.
19712 (backtrace_helper): In recursion check, also check whether CFA changes.
19713 (__backtrace): Completely initialize arg.
19714
1af4e298 19715 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
19716 storing incomplete byte sequence in state object. Avoid testing for
19717 guaranteed too small input if we know there is enough data available.
1af4e298 19718
da62f81b
AS
197192011-05-11 Andreas Schwab <schwab@redhat.com>
19720
19721 * Makeconfig (+link-pie): Indent.
19722 * Rules (binaries-pie): Define if $(have-fpie) and
19723 $(build-shared).
19724 (binaries-shared): Also filter out $(binaries-pie).
19725 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
19726 * nscd/Makefile (others-pie): Add nscd.
19727 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
19728 ($(objpfx)nscd): Remove command override.
19729 * login/Makefile (others-pie): Add pt_chown.
19730 ($(objpfx)pt_chown): Remove command override.
19731 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
19732 remove command overrides.
19733
fcabc0f8
UD
197342011-05-13 Ulrich Drepper <drepper@gmail.com>
19735
20030ae6
UD
19736 * libio/tst_putwc.c: Fix error messages.
19737
fcabc0f8
UD
19738 [BZ #12724]
19739 * libio/fileops.c (_IO_new_file_close_it): Always flush when
19740 currently writing and seek to current position when not.
19741 * libio/Makefile (tests): Add bug-fclose1.
19742 * libio/bug-fclose1.c: New file.
19743
320a5dc0
PB
197442011-05-12 Ulrich Drepper <drepper@gmail.com>
19745
19746 [BZ #12511]
19747 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
19748 don't set DF_1_NODELETE here.
19749 (do_lookup_x): When entering new entry test for copy relocation
19750 and if necessary set DF_1_NODELETE flag.
19751 * elf/tst-unique4.cc: New file.
19752 * elf/tst-unique4.h: New file.
19753 * elf/tst-unique4lib.cc: New file.
19754 * elf/Makefile: Add rules to build and run tst-unique4.
19755 Patch by Piotr Bury <pbury@goahead.com>.
19756
22836f52
UD
197572011-05-11 Ulrich Drepper <drepper@gmail.com>
19758
f574184a
UD
19759 [BZ #12052]
19760 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
19761
e1fb097f
UD
19762 [BZ #12625]
19763 * misc/mntent_r.c (addmntent): Flush the stream after the output
19764
22836f52
UD
19765 [BZ #12393]
19766 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
19767 (is_trusted_path_normalize): Skip initial colon. Append slash
19768 to empty buffer. Duplicate is_trusted_path code but allow
19769 constructed patch to be prefix.
19770 (is_dst): Allow $ORIGIN followed by /.
19771 (_dl_dst_substitute): Correct clearing of check_for_trusted.
19772 Correct testing of result of is_trusted_path_normalize
19773 (decompose_rpath): Fix warning.
19774
7b3b0b2a
UD
197752011-05-10 Ulrich Drepper <drepper@gmail.com>
19776
19777 [BZ #11257]
19778 * grp/initgroups.c (internal_getgrouplist): When we found the service
19779 list through the initgroups entry in nsswitch.conf do not always
19780 continue on a successful lookup. Don't always use the
eac80ce2 19781 __nss_group_database value if it is set.
7b3b0b2a
UD
19782 * nss/nsswitch.conf (initgroups): Change action for successful db
19783 lookup to continue for compatibility.
19784
2a81eaa5
UD
197852011-05-09 Ulrich Drepper <drepper@gmail.com>
19786
be97a69e
UD
19787 [BZ #11532]
19788 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
19789 and CP774 modules.
19790 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
19791 and CP774 modules.
19792 * iconvdata/tst-tables.sh: Likewise.
19793 * iconvdata/cp770.c: New file.
19794 * iconvdata/cp771.c: New file.
19795 * iconvdata/cp772.c: New file.
19796 * iconvdata/cp773.c: New file.
19797 * iconvdata/cp774.c: New file.
19798 * iconvdata/testdata/CP770: New file.
19799 * iconvdata/testdata/CP770..UTF8: New file.
19800 * iconvdata/testdata/CP771: New file.
19801 * iconvdata/testdata/CP771..UTF8: New file.
19802 * iconvdata/testdata/CP772: New file.
19803 * iconvdata/testdata/CP772..UTF8: New file.
19804 * iconvdata/testdata/CP773: New file.
19805 * iconvdata/testdata/CP773..UTF8: New file.
19806 * iconvdata/testdata/CP774: New file.
19807 * iconvdata/testdata/CP774..UTF8: New file.
19808
19809 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
19810 END CHARMAP line.
19811 * iconvdata/gen-8bit-gap.sh: Likewise.
19812 * iconvdata/gen-8bit.sh: Likewise.
19813
c1e9e399
UD
19814 * locale/iso-639.def: Add ary entry.
19815
24c55fb3 19816 [BZ #11258]
96b4b1b0
UD
19817 * locale/C-translit.h.in: Add U20A1 transliteration.
19818
bdc2f971
KB
19819 [BZ #12178]
19820 * locale/iso-639.def: Add wae entry.
19821 Patch by Kevin Bortis <bortis@translate-wae.ch>.
19822
2952b117
UD
19823 [BZ #12545]
19824 * locale/programs/localedef.c (construct_output_path): Use ssize_t
19825 for n.
19826
2a81eaa5
UD
19827 [BZ #12711]
19828 * locale/C-translit.h.in: Add entry for U20B9.
19829 Patch by pravin.d.s@gmail.com.
19830
28377d1b
UD
198312011-05-08 Ulrich Drepper <drepper@gmail.com>
19832
7fb90fb8
UD
19833 [BZ #12713]
19834 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
19835 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
19836 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
19837 in rtld. Use *stat64.
7fb90fb8 19838 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 19839 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 19840 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
19841 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
19842 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
19843 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
19844 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
19845 __fstatat64 macros.
7fb90fb8
UD
19846 * include/dirent.h: Add libc_hidden_proto for rewinddir.
19847 * dirent/rewinddir.c: Add libc_hidden_def.
19848 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 19849 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 19850
28377d1b
UD
19851 * include/dirent.h (__alloc_dir): Add flags parameter.
19852 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
19853 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
19854 __alloc_dir.
19855 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
19856 from fdopendir if O_CLOEXEC is already set.
19857
66bdbaa4
AM
198582011-03-15 Alan Modra <amodra@gmail.com>
19859
19860 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
19861 l_tls_firstbyte_offset non-zero. Save padding offset in
19862 l_tls_firstbyte_offset for later use.
19863 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
19864 freeing static tls block.
19865
95721191
JN
198662011-03-05 Jonathan Nieder <jrnieder@gmail.com>
19867
19868 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
19869 where #ifdef was intended. The intent is to prevent ARG_MAX from
19870 being defined by the kernel headers.
19871
f87dfb1f
UD
198722011-05-07 Ulrich Drepper <drepper@gmail.com>
19873
19874 [BZ #12734]
19875 * resolv/resolv.h: Define RES_NOTLDQUERY.
19876 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
19877 no-tld-query and set RES_NOTLDQUERY.
19878 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
19879 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
19880 modern BIND to search name as TLD unless forbidden.
19881
47c3cd7a
UD
198822011-05-07 Petr Baudis <pasky@suse.cz>
19883 Ulrich Drepper <drepper@gmail.com>
19884
19885 [BZ #12393]
19886 * elf/dl-load.c (fillin_rpath): Move trusted path check...
19887 (is_trusted_path): ...to here.
c1e9ea35 19888 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 19889 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 19890 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 19891
8a35c912
PP
198922011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
19893
19894 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
19895 __BEGIN/__END_DECLS.
19896
acd41f47
UD
198972011-05-06 Ulrich Drepper <drepper@gmail.com>
19898
19899 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
19900 NSS_STATUS_NOTFOUND if no record was found.
19901
597df647
AS
199022011-05-05 Andreas Schwab <schwab@redhat.com>
19903
19904 * sunrpc/Makefile (headers): Add rpc/netdb.h.
19905 (headers-not-in-tirpc): Remove rpc/netdb.h
19906 * resolv/netdb.h: Revert last change.
19907
b9af1301
PP
199082011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19909
19910 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
19911 circular dependency between libgcc.a and libc.a.
19912
4e34d5f5
AS
199132011-05-05 Andreas Schwab <schwab@redhat.com>
19914
19915 * resolv/netdb.h: Don't include <rpc/netdb.h>.
19916 * nis/Makefile: Don't install rpcsvc/*.
19917 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
19918 instead of <rpc/types.h>.
19919 (MAXHOSTNAMELEN): Define.
19920
00ee369c
AS
199212011-05-03 Andreas Schwab <schwab@redhat.com>
19922
19923 * elf/ldconfig.c (add_dir): Don't crash on empty path.
19924
0b592a30
MB
199252011-04-28 Maciej Babinski <mbabinski@google.com>
19926
19927 [BZ #12714]
19928 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
19929 gethostbyname4_r when IPv6 results are possible.
19930
6e04cbbe
UD
199312011-05-02 Ulrich Drepper <drepper@gmail.com>
19932
19933 [BZ #12723]
19934 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
19935 _PC_PIPE_BUF handling.
19936
e4ecafe0
BH
199372011-04-30 Bruno Haible <bruno@clisp.org>
19938
19939 [BZ #12717]
19940 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
19941 * resolv/netdb.h (getnameinfo): Change type of flags parameter
19942 to 'int'.
19943 * inet/getnameinfo.c (getnameinfo): Likewise.
19944
125ee683
UD
199452011-04-29 Ulrich Drepper <drepper@gmail.com>
19946
19947 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
19948 to groups setting in database lookup.
19949 * nss/nsswitch.conf: Add initgroups entry.
19950
b722481a
EB
199512011-04-22 Ulrich Drepper <drepper@gmail.com>
19952
19953 [BZ #12685]
19954 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
19955 mode string.
19956 Patch by Eric Blake <eblake@redhat.com>.
19957
4df46dbd
L
199582011-04-20 H.J. Lu <hongjiu.lu@intel.com>
19959
19960 * sunrpc/Makefile (need-export-routines): Add svc_run.
19961 (routines): Remove svc_run.
19962 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
19963 * sunrpc/clnt_perr.c (clnt_perrno): Export.
19964 * sunrpc/svc_run.c (svc_run): Likewise.
19965 * sunrpc/svc_udp.c (svcudp_create): Likewise.
19966
e84142d2
UD
199672011-04-21 Ulrich Drepper <drepper@gmail.com>
19968
19969 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
19970 problem in reallocation in last patch.
19971
877175d8
UD
199722011-04-20 Ulrich Drepper <drepper@gmail.com>
19973
19974 * sunrpc/Makefile: Move inclusion of Rules.
19975
ab8eed78
UD
199762011-04-19 Ulrich Drepper <drepper@gmail.com>
19977
19978 * nss/nss_files/files-initgroups.c: New file.
19979 * nss/Makefile (libnss_files-routines): Add files-initgroups.
19980 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
19981 _nss_files_initgroups_dyn.
19982
e3d8f584
RS
199832011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
19984
19985 * elf/elf.h (R_ARM_IRELATIVE): Define.
19986
af190f45
UD
199872011-04-19 Ulrich Drepper <drepper@gmail.com>
19988
19989 * po/ru.po: Update from translation team.
19990
53cf59ef
UD
199912011-04-17 Ulrich Drepper <drepper@gmail.com>
19992
19993 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
19994 dependencies.
19995
4c559bcd
MF
199962011-02-06 Mike Frysinger <vapier@gentoo.org>
19997
19998 [BZ #12653]
19999 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
20000 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
20001 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20002 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20003 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20004
4420675c
AS
200052011-03-28 Andreas Schwab <schwab@linux-m68k.org>
20006
20007 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
20008 differing bytes.
20009 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20010 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20011 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20012
75ea32ab
UD
200132011-04-17 Ulrich Drepper <drepper@gmail.com>
20014
20015 [BZ #12420]
20016 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
20017 storing it.
20018 * stdlib/bug-getcontext.c: New file.
20019 * stdlib/Makefile: Add rules to build and run bug-getcontext.
20020
27390476
AK
200212011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20022
20023 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
20024 instructions into .machine "z9-109".
20025 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
20026 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
20027
10442705
AK
200282011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20029
20030 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
20031 between environment variables and auxiliary vector.
20032
7b57bfe5
UD
200332011-04-16 Ulrich Drepper <drepper@gmail.com>
20034
20035 * Makefile: Add rules to build linkobj/libc.so.
20036 * include/libc-symbols.h: Define libc_hidden_nolink.
20037 * include/rpc/auth.h: Mark functions which are to be hidden.
20038 * include/rpc/auth_des.h: Likewise.
20039 * include/rpc/auth_unix.h: Likewise.
20040 * include/rpc/clnt.h: Likewise.
20041 * include/rpc/des_crypt.h: Likewise.
20042 * include/rpc/key_prot.h: Likewise.
20043 * include/rpc/pmap_clnt.h: Likewise.
20044 * include/rpc/pmap_prot.h: Likewise.
20045 * include/rpc/pmap_rmt.h: Likewise.
20046 * include/rpc/rpc_msg.h: Likewise.
20047 * include/rpc/svc.h: Likewise.
20048 * include/rpc/svc_auth.h: Likewise.
20049 * include/rpc/xdr.h: Likewise.
20050 * nis/Makefile: Link all DSOs against linkobj/libc.so.
20051 * nss/Makefile: Likewise.
20052 * sunrpc/Makefile: Don't install headers. Build library with normal
20053 entry points. Don't build rpcinfo. Link RPC tests appropriately.
20054 * sunrpc/auth_des.c: Hide exported symbols by default, export some
20055 for the compat linking library. Remove use of INTDEF/INTUSE.
20056 * sunrpc/auth_none.c: Likewise.
20057 * sunrpc/auth_unix.c: Likewise.
20058 * sunrpc/authdes_prot.c: Likewise.
20059 * sunrpc/authuxprot.c: Likewise.
20060 * sunrpc/clnt_gen.c: Likewise.
20061 * sunrpc/clnt_perr.c: Likewise.
20062 * sunrpc/clnt_raw.c: Likewise.
20063 * sunrpc/clnt_simp.c: Likewise.
20064 * sunrpc/clnt_tcp.c: Likewise.
20065 * sunrpc/clnt_udp.c: Likewise.
20066 * sunrpc/clnt_unix.c: Likewise.
20067 * sunrpc/des_crypt.c: Likewise.
20068 * sunrpc/des_soft.c: Likewise.
20069 * sunrpc/get_myaddr.c: Likewise.
20070 * sunrpc/key_call.c: Likewise.
20071 * sunrpc/key_prot.c: Likewise.
20072 * sunrpc/netname.c: Likewise.
20073 * sunrpc/pm_getmaps.c: Likewise.
20074 * sunrpc/pm_getport.c: Likewise.
20075 * sunrpc/pmap_clnt.c: Likewise.
20076 * sunrpc/pmap_prot.c: Likewise.
20077 * sunrpc/pmap_prot2.c: Likewise.
20078 * sunrpc/pmap_rmt.c: Likewise.
20079 * sunrpc/publickey.c: Likewise.
20080 * sunrpc/rpc_cmsg.c: Likewise.
20081 * sunrpc/rpc_common.c: Likewise.
20082 * sunrpc/rpc_dtable.c: Likewise.
20083 * sunrpc/rpc_prot.c: Likewise.
20084 * sunrpc/rpc_thread.c: Likewise.
20085 * sunrpc/rtime.c: Likewise.
20086 * sunrpc/svc.c: Likewise.
20087 * sunrpc/svc_auth.c: Likewise.
20088 * sunrpc/svc_authux.c: Likewise.
20089 * sunrpc/svc_raw.c: Likewise.
20090 * sunrpc/svc_run.c: Likewise.
20091 * sunrpc/svc_simple.c: Likewise.
20092 * sunrpc/svc_tcp.c: Likewise.
20093 * sunrpc/svc_udp.c: Likewise.
20094 * sunrpc/svc_unix.c: Likewise.
20095 * sunrpc/svcauth_des.c: Likewise.
20096 * sunrpc/xcrypt.c: Likewise.
20097 * sunrpc/xdr.c: Likewise.
20098 * sunrpc/xdr_array.c: Likewise.
20099 * sunrpc/xdr_float.c: Likewise.
20100 * sunrpc/xdr_intXX_t.c: Likewise.
20101 * sunrpc/xdr_mem.c: Likewise.
20102 * sunrpc/xdr_rec.c: Likewise.
20103 * sunrpc/xdr_ref.c: Likewise.
20104 * sunrpc/xdr_sizeof.c: Likewise.
20105 * sunrpc/xdr_stdio.c: Likewise.
20106
e6c61494
UD
201072011-04-10 Ulrich Drepper <drepper@gmail.com>
20108
20109 [BZ #12650]
20110 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
20111 * sysdeps/ia64/dl-tls.h: Likewise.
20112 * sysdeps/powerpc/dl-tls.h: Likewise.
20113 * sysdeps/s390/dl-tls.h: Likewise.
20114 * sysdeps/sh/dl-tls.h: Likewise.
20115 * sysdeps/sparc/dl-tls.h: Likewise.
20116 * sysdeps/x86_64/dl-tls.h: Likewise.
20117 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
20118
34fe483e
AS
201192011-03-14 Andreas Schwab <schwab@redhat.com>
20120
20121 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
20122 rpath element also skip the following colon.
20123 (expand_dynamic_string_token): Add is_path parameter and pass
20124 down to DL_DST_REQUIRED and _dl_dst_substitute.
20125 (decompose_rpath): Call expand_dynamic_string_token with
20126 non-zero is_path. Ignore empty rpaths.
20127 (_dl_map_object_from_fd): Call expand_dynamic_string_token
20128 with zero is_path.
20129
f12a32e6
AS
201302011-04-08 Andreas Schwab <schwab@linux-m68k.org>
20131
20132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
20133 Make cancelable.
20134
38a7d692
UD
201352011-04-09 Ulrich Drepper <drepper@gmail.com>
20136
20137 [BZ #12655]
20138 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
20139 Patch by Filipe David Manana <fdmanana@apache.org>.
20140
e451d22b
AS
201412011-04-07 Andreas Schwab <schwab@redhat.com>
20142
20143 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
20144 Maintain aligned stack.
20145 (CHECK_RSP): Remove unused macro.
20146
dedc7c7b
UD
201472011-04-03 Ulrich Drepper <drepper@gmail.com>
20148
20149 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
20150 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
20151
94521213
UD
201522011-04-02 Ulrich Drepper <drepper@gmail.com>
20153
20154 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
20155
8cb700c0 20156 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 20157
0354e355
L
201582011-03-26 H.J. Lu <hongjiu.lu@intel.com>
20159
20160 [BZ #12518]
20161 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
20162 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
20163 * sysdeps/x86_64/memmove.c: New file.
20164 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
20165 (memcpy): Renamed to ...
20166 (__new_memcpy): This.
20167 (memcpy): Provide GLIBC_2_14 memcpy.
20168 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
20169 (memcpy): Provide GLIBC_2_2_5 memcpy.
20170
8593482f
UD
201712011-04-01 Ulrich Drepper <drepper@gmail.com>
20172
20173 [BZ #12631]
20174 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
20175
81a5726b
AS
201762011-03-30 Andreas Schwab <schwab@redhat.com>
20177
20178 * misc/syncfs.c: New file.
20179 * misc/Makefile (routines): Add syncfs.
20180 * posix/unistd.h: Declare syncfs.
20181 * sysdeps/unix/syscalls.list: Add syncfs.
20182
00e5419f
AS
201832011-04-01 Andreas Schwab <schwab@redhat.com>
20184
20185 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
20186 open_by_handle_at.
20187 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20188 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20189 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20190 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20191 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20192 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
20193 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20194
748876bf
UD
201952011-04-01 Ulrich Drepper <drepper@gmail.com>
20196
658e451d
UD
20197 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
20198 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20199 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
20200 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20201 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20202 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20203 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20204
748876bf
UD
20205 * io/Makefile: Compile fallocate.c, fallocate64.c, and
20206 sync_file_range.c with -fexceptions.
20207 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
20208 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
20209 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
20210 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
20211 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
20212 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
20213 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
20214 sync_file_range as cancellation point
20215 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
20216 now a wrapper around __call_sync_file_range with cancellation handling.
20217 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
20218 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
20219 function name to __call_sync_file_range.
20220 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
20221 Add call_sync_file_range.
748876bf 20222
6e63d5e1
AS
202232011-04-01 Andreas Schwab <schwab@redhat.com>
20224
20225 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 20226 bits/timex.h.
6e63d5e1 20227
46998f74
UD
202282011-04-01 Ulrich Drepper <drepper@gmail.com>
20229
4c1423ed
UD
20230 * iconv/iconv.h: Fix typo in comment.
20231 * io/fcntl.h: Likewise.
20232 * libio/stdio.h: Likewise.
20233 * posix/spawn.h: Likewise.
20234 * posix/unistd.h: Likewise.
20235 * stdlib/stdlib.h: Likewise.
20236 * time/time.h: Likewise.
20237 * wcsmbs/wchar.h: Likewise.
20238
158648c0
UD
20239 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
20240 open_by_handle): Add.
20241 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
20242 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
20243 Augment a few comments.
20244 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20245 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20246 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20247 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20248 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20249 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
20250 open_by_handle.
20251
46998f74
UD
20252 * io/fcntl.h (AT_EMPTY_PATH): Define.
20253
83fe108b
UD
202542011-03-30 Ulrich Drepper <drepper@gmail.com>
20255
20256 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
20257 * sysdeps/unix/sysv/linux/bits/time.h: New file.
20258 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
20259 to...
20260 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
20261 * Versions.def: Add GLIBC_2.14.
20262 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
20263 Export.
83fe108b 20264
bb242059
UD
202652011-03-22 Ulrich Drepper <drepper@gmail.com>
20266
20267 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
20268 round counter.
20269 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
20270
c97a1282
L
202712011-03-20 H.J. Lu <hongjiu.lu@intel.com>
20272
20273 [BZ #12597]
20274 * string/test-strncmp.c (do_page_test): New function.
20275 (check2): Likewise.
20276 (test_main): Call check2.
20277 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
20278
2a115601
UD
202792011-03-20 Ulrich Drepper <drepper@gmail.com>
20280
20281 [BZ #12587]
20282 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
20283 Handle cache information in CPU leaf 4.
20284 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
20285
8126d904
UD
202862011-03-18 Ulrich Drepper <drepper@gmail.com>
20287
042c49c6 20288 [BZ #12583]
8126d904
UD
20289 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
20290 character representation.
20291 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
20292
ccfe366e
RA
202932011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
20294
20295 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
20296 END(__isnan) to END(__isnanf) to match function entry point/label
20297 EALIGN(__isnanf,...).
20298
c6e13027
JJ
202992011-03-10 Jakub Jelinek <jakub@redhat.com>
20300
20301 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
20302
33f85a3f
UD
203032011-03-10 Ulrich Drepper <drepper@gmail.com>
20304
028478fa
UD
20305 [BZ #12510]
20306 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
20307 copy from the symbol referenced in the relocation to initialize the
20308 used variable.
20309 Patch by Piotr Bury <pbury@goahead.com>.
20310 * elf/Makefile: Add rules to build and tst-unique3.
20311 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
20312 * elf/tst-unique3.cc: New file.
20313 * elf/tst-unique3.h: New file.
20314 * elf/tst-unique3lib.cc: New file.
20315 * elf/tst-unique3lib2.cc: New file.
20316
33f85a3f
UD
20317 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
20318
03592fc7
MF
203192011-03-10 Mike Frysinger <vapier@gentoo.org>
20320
20321 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
20322 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
20323 to _start.
03592fc7 20324
6a5ee102
UD
203252011-03-06 Ulrich Drepper <drepper@gmail.com>
20326
20327 * elf/dl-load.c (_dl_map_object): If we are looking for the first
20328 to-be-loaded object along a path to loader is ld.so.
20329
7e4ba49c
HJ
203302011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
20331 Ulrich Drepper <drepper@gmail.com>
20332
20333 * sysdeps/x86_64/memset.S: After aligning destination, code
20334 branches to different locations depending on the value of
20335 misalignment, when multiarch is enabled. Fix this.
20336
203372011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
20338
20339 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
20340 Set _x86_64_preferred_memory_instruction for AMD processsors.
20341 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20342 Set bit_Prefer_SSE_for_memop for AMD processors.
20343
13a804de
UD
203442011-03-04 Ulrich Drepper <drepper@gmail.com>
20345
20346 * libio/fmemopen.c (fmemopen): Optimize a bit.
20347
9d25c392
AS
203482011-03-03 Andreas Schwab <schwab@redhat.com>
20349
20350 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
20351
a5543c6a
RM
203522011-03-03 Roland McGrath <roland@redhat.com>
20353
20354 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
20355
012d35f7
DM
203562011-02-28 Aurelien Jarno <aurelien@aurel32.net>
20357
7e4ba49c 20358 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
20359 __bzero_ultra1 instead of __memset_ultra1.
20360
4bff6e01
AS
203612011-02-23 Andreas Schwab <schwab@redhat.com>
20362 Ulrich Drepper <drepper@gmail.com>
20363
20364 [BZ #12509]
20365 * include/link.h (struct link_map): Add l_orig_initfini.
20366 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
20367 returning unsuccessfully.
20368 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
20369 close of a file loaded at startup, restore the original l_initfini
20370 list.
20371 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
20372 list, store the pointer.
20373 * elf/Makefile ($(objpfx)noload-mem): New rule.
20374 (noload-ENV): Define.
20375 (tests): Add $(objpfx)noload-mem.
20376 * elf/noload.c: Include <memcheck.h>.
20377 (main): Call mtrace. Close all opened handles.
20378
f2092faf
AS
203792011-02-17 Andreas Schwab <schwab@redhat.com>
20380
20381 [BZ #12454]
20382 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
20383 dependencies are missing.
20384
6c8a2e88
ST
203852011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
20386
f2092faf 20387 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
20388 Hurd needs munmap.
20389 * sysdeps/mach/hurd/ifreq.h: New file.
20390
84a42118
PB
203912011-01-27 Petr Baudis <pasky@suse.cz>
20392 Ulrich Drepper <drepper@gmail.com>
20393
071f805e 20394 [BZ 12445]#
84a42118
PB
20395 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
20396 to extend_alloca().
20397 * stdio-common/bug23.c: New file.
20398 * stdio-common/Makefile (tests): Add bug23.
20399
e23fe25b
AS
204002010-09-28 Andreas Schwab <schwab@redhat.com>
20401 Ulrich Drepper <drepper@gmail.com>
20402
20403 [BZ #12489]
20404 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
20405 before performing relro protection. At old place add assertion
20406 to make sure nothing changed.
20407
d3f02e10
NS
204082011-02-17 Nathan Sidwell <nathan@codesourcery.com>
20409 Glauber de Oliveira Costa <glommer@gmail.com>
20410
20411 * elf/elf.h: Add new ARM TLS relocs.
20412
d55fd7a5
RA
204132011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
20414
20415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20416 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
20417 cast from r3.
20418 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
20419 'tests' variable.
20420 * sysdeps/wordsize-64/tst-writev.c: New file.
20421
2206397e
RA
204222011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
20423
20424 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
20425 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
20426 insns in _dl_start to prevent a TOC reference before relocs are
20427 resolved.
20428
e9433893
UD
204292011-02-15 Ulrich Drepper <drepper@gmail.com>
20430
20431 [BZ #12469]
20432 * Makeconfig: Remove RANLIB definition.
20433 * Makerules: Don't use RANLIB.
20434 * aclocal.m4: Remove ranlib test.
20435 * configure.in: No need to check for ranlib.
20436 * elf/rtld-Rules: Don't use RANLIB.
20437
f75286c6
ST
204382011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
20439
8e31c82d
ST
20440 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
20441 protection macro.
20442 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
20443 inclusion protection macro.
20444
f75286c6
ST
20445 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
20446 SIGRTMIN and SIGRTMAX and print information in that case only when
20447 SIGRTMIN is defined.
20448
c1d0e639
JJ
204492011-02-11 Jakub Jelinek <jakub@redhat.com>
20450
20451 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
20452 arginfo fn returning -1.
20453
20454 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
20455 and thousands string is zero terminated.
20456
edf9294e
AS
204572011-02-03 Andreas Schwab <schwab@redhat.com>
20458
20459 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
20460 sysdeps/unix/sysv/linux/bits/socket.h.
20461
2b7e92df
ST
204622011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
20463
edf9294e
AS
20464 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
20465 (__CPU_COUNT): Remove old macros.
20466 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
20467 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
20468 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
20469 (__sched_cpualloc, __sched_cpufree): Add declarations.
20470
a4c7ea7b
UD
204712011-02-05 Ulrich Drepper <drepper@gmail.com>
20472
20473 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
20474 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
20475 * nscd/aicache.c (addhstaiX): Return timeout of added value.
20476 (readdhstai): Return value of addhstaiX call.
20477 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
20478 (addgrbyX): Return value returned by cache_addgr.
20479 (readdgrbyname): Return value returned by addgrbyX.
20480 (readdgrbygid): Likewise.
20481 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
20482 (addpwbyX): Return value returned by cache_addpw.
20483 (readdpwbyname): Return value returned by addhstbyX.
20484 (readdpwbyuid): Likewise.
20485 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
20486 (addservbyX): Return value returned by cache_addserv.
20487 (readdservbyname): Return value returned by addservbyX:
20488 (readdservbyport): Likewise.
20489 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
20490 (addhstbyX): Return value returned by cache_addhst.
20491 (readdhstbyname): Return value returned by addhstbyX.
20492 (readdhstbyaddr): Likewise.
20493 (readdhstbynamev6): Likewise.
20494 (readdhstbyaddrv6): Likewise.
20495 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
20496 (readdinitgroups): Return value returned by addinitgroupsX.
20497 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
20498 (prune_cache): Keep track of timeout value of re-added entries.
20499 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
20500 * nscd/nscd.h: Adjust prototypes of readd* functions.
20501
a0bf67cc
RM
205022011-02-04 Roland McGrath <roland@redhat.com>
20503
20504 * nis/nis_server.c (nis_servstate): Use the right name for 0.
20505 (nis_stats): Likewise.
20506 * nis/nis_modify.c (nis_modify): Likewise.
20507 * nis/nis_remove.c (nis_remove): Likewise.
20508 * nis/nis_add.c (nis_add): Likewise.
20509
20510 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
20511
20512 * posix/fnmatch_loop.c: Add some consts.
20513
20514 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
20515
435b95eb
L
205162011-02-02 H.J. Lu <hongjiu.lu@intel.com>
20517
20518 [BZ #12460]
20519 * config.make.in (config-cflags-novzeroupper): Define.
20520 * configure.in: Substitute libc_cv_cc_novzeroupper.
20521 * elf/Makefile (AVX-CFLAGS): Define.
20522 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
20523 (CFLAGS-tst-auditmod4a.c): Likewise.
20524 (CFLAGS-tst-auditmod4b.c): Likewise.
20525 (CFLAGS-tst-auditmod6b.c): Likewise.
20526 (CFLAGS-tst-auditmod6c.c): Likewise.
20527 (CFLAGS-tst-auditmod7b.c): Likewise.
20528 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
20529
8517b15e
UD
205302011-02-02 Ulrich Drepper <drepper@gmail.com>
20531
20532 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
20533 function to the callback.
20534 Patch partly by Jiri Olsa <jolsa@redhat.com>.
20535
10a656fe
AS
205362011-02-02 Andreas Schwab <schwab@redhat.com>
20537
20538 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
20539 of errno.
20540
968dad0a
UD
205412011-01-19 Ulrich Drepper <drepper@gmail.com>
20542
9f94d2ea 20543 [BZ #11724]
968dad0a
UD
20544 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
20545 of constructors.
20546 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
20547 of destructors.
20548 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
20549
20550 [BZ #11724]
20551 * elf/Makefile: Add rules to build and run new test.
20552 * elf/tst-initorder.c: New file.
20553 * elf/tst-initorder.exp: New file.
20554 * elf/tst-initordera1.c: New file.
20555 * elf/tst-initordera2.c: New file.
20556 * elf/tst-initordera3.c: New file.
20557 * elf/tst-initordera4.c: New file.
20558 * elf/tst-initorderb1.c: New file.
20559 * elf/tst-initorderb2.c: New file.
20560 * elf/tst-order-a1.c: New file.
20561 * elf/tst-order-a2.c: New file.
20562 * elf/tst-order-a3.c: New file.
20563 * elf/tst-order-a4.c: New file.
20564 * elf/tst-order-b1.c: New file.
20565 * elf/tst-order-b2.c: New file.
20566 * elf/tst-order-main.c: New file.
20567 New test case by George Gensure <werkt0@gmail.com>.
20568
86e92359
UD
205692010-10-01 Andreas Schwab <schwab@redhat.com>
20570
20571 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
20572 decoding ACE if AI_CANONIDN.
20573
5d5732b0
UD
205742011-01-18 Ulrich Drepper <drepper@gmail.com>
20575
20576 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
20577
a77e8cbc
UD
205782011-01-17 Ulrich Drepper <drepper@gmail.com>
20579
6392473f
UD
20580 * version.h (RELEASE): Bump for 2.13 release.
20581 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
20582
620a0529
UD
20583 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
20584
18ba70a5
UD
20585 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
20586 MADV_NOHUGEPAGE.
32465c3e
UD
20587 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
20588 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
20589 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20590 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
20591 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20592 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
20593
c0dafcf1
UD
20594 * posix/getconf.c: Update copyright year.
20595 * catgets/gencat.c: Likewise.
20596 * csu/version.c: Likewise.
20597 * debug/catchsegv.sh: Likewise.
20598 * debug/xtrace.sh: Likewise.
20599 * elf/ldconfig.c: Likewise.
20600 * elf/ldd.bash.in: Likewise.
20601 * elf/sprof.c (print_version): Likewise.
20602 * iconv/iconv_prog.c: Likewise.
20603 * iconv/iconvconfig.c: Likewise.
20604 * locale/programs/locale.c: Likewise.
20605 * locale/programs/localedef.c: Likewise.
20606 * malloc/memusage.sh: Likewise.
20607 * malloc/mtrace.pl: Likewise.
20608 * nscd/nscd.c (print_version): Likewise.
20609 * nss/getent.c: Likewise.
20610
a77e8cbc
UD
20611 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
20612 PF_CAIF, and PF_ALG.
20613 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20614
77e8bddf
AS
206152011-01-16 Andreas Schwab <schwab@linux-m68k.org>
20616
1f20b93a
AS
20617 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
20618 (modules-names): Use them.
20619 (ifunc-test-modules, ifunc-pie-tests): Define.
20620 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
20621 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
20622 (test-extras): Likewise.
20623 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
20624 $(compile-command.c).
20625 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
20626 (all-built-dso): Define.
20627 (check-textrel.out, check-execstack.out): Depend on it.
20628
77e8bddf
AS
20629 * configure.in: Don't override --enable-multi-arch.
20630
bc425b33
UD
206312011-01-15 Ulrich Drepper <drepper@gmail.com>
20632
20633 [BZ #6812]
20634 * nscd/hstcache.c (tryagain): Define.
20635 (cache_addhst): Return tryagain not notfound for temporary errors.
20636 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
20637 failed.
20638
794c3ad3
UD
206392011-01-14 Ulrich Drepper <drepper@gmail.com>
20640
70181fdd
UD
20641 [BZ #10563]
20642 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
20643 to make the syscall.
20644 * sysdeps/unix/sysv/linux/setgroups.c: New file.
20645
794c3ad3
UD
20646 [BZ #12378]
20647 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
20648 and fall back to matching as normal character if the string ends before
20649 the matching ']' is found. This is what POSIX requires.
20650 * posix/testfnm.c: Adjust test result.
20651 * posix/globtest.sh: Adjust test result. Add new test.
20652 * posix/tst-fnmatch.input: Likewise.
20653 * posix/tst-fnmatch2.c: Add new test.
20654
68dc9497
AS
206552010-12-28 Andreas Schwab <schwab@linux-m68k.org>
20656
20657 * elf/Makefile (check-execstack): Revert last change. Depend on
20658 check-execstack.h.
20659 (check-execstack.h): New target.
20660 (generated): Add check-execstack.h.
20661 * elf/check-execstack.c: Include "check-execstack.h".
20662 (main): Revert last change.
20663 (handle_file): Return zero if GNU_STACK is absent and
20664 DEFAULT_STACK_PERMS doesn't include PF_X.
20665
451f001b
UD
206662011-01-13 Ulrich Drepper <drepper@gmail.com>
20667
cfa28e56
UD
20668 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
20669 in child fails because the descriptor is already closed.
8cf8ce17
UD
20670 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
20671 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
20672 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 20673
1086d70d
UD
20674 [BZ #12397]
20675 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
20676 syscall.
20677
451f001b
UD
20678 [BZ #10484]
20679 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
20680 temporary buffer used to handle multi lookups locally.
a85b5cb4 20681 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 20682
08769175
UD
206832011-01-12 Ulrich Drepper <drepper@gmail.com>
20684
20685 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
20686 loader is ld.so.
20687
5e49c52e
UD
206882011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
20689
20690 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
20691 alignment for SSE2.
20692
60522a5f
UD
206932011-01-12 Ulrich Drepper <drepper@gmail.com>
20694
20695 [BZ #12394]
20696 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
20697 characters. When rounding increased number of integer digits recompute
20698 number of groups.
20699 * stdio-common/tst-grouping.c: New file.
20700 * stdio-common/Makefile: Add rules to build and run tst-grouping.
20701
f257bbd7
UD
207022011-01-09 Ulrich Drepper <drepper@gmail.com>
20703
20704 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
20705 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
20706
20707 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
20708 void.
20709 * bits/select.h: Likewise.
20710
fa9c15cb
UD
207112011-01-08 Ulrich Drepper <drepper@gmail.com>
20712
20713 * po/ja.po: Update from translation team.
20714
16c2895f
DM
207152011-01-04 David S. Miller <davem@sunset.davemloft.net>
20716
20717 [BZ #11155]
20718 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
20719 implementation just like for lxstat, fxstatat, et al.
20720
2543fef2
JM
207212010-12-27 Jim Meyering <meyering@redhat.com>
20722
20723 [BZ #12348]
20724 * posix/regexec.c (build_trtable): Return failure indication upon
20725 calloc failure. Otherwise, re_search_internal could infloop on OOM.
20726
98727dbe
UD
207272010-12-25 Ulrich Drepper <drepper@gmail.com>
20728
5bd6dc5c
UD
20729 [BZ #12201]
20730 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
20731 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
20732 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
20733 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
20734
97983464
UD
20735 [BZ #12207]
20736 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
20737
98727dbe
UD
20738 [BZ #12204]
20739 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
20740 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
20741
4a531bb0
L
207422010-12-15 H.J. Lu <hongjiu.lu@intel.com>
20743
20744 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
20745 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
20746 script has SORT_BY_INIT_PRIORITY.
20747 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
20748 NO_CTORS_DTORS_SECTIONS is defined.
20749 * elf/soinit.c: Likewise.
20750 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
20751 NO_CTORS_DTORS_SECTIONS is defined.
20752 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
20753 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
20754 * sysdeps/sh/init-first.c: Likewise.
20755 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
20756
07eb4b71
UD
207572010-12-24 Ulrich Drepper <drepper@gmail.com>
20758
20759 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
20760 always use the slow path.
20761
30950a5f
RA
207622010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
20763
20764 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
20765 similar rule which adds the sysdep directories to the header search in
20766 order to pick up the correct platform stackinfo.h.
20767 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
20768 perform test if it is, otherwise return successfully without testing.
20769 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
20770 DEFAULT_STACK_PERMS define in stackinfo.h.
20771 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
20772 defined in stackinfo.h.
20773 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
20774 DEFAULT_STACK_PERMS defined in stackinfo.h.
20775 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
20776 * sysdeps/ia64/stackinfo.h: Likewise.
20777 * sysdeps/s390/stackinfo.h: Likewise.
20778 * sysdeps/sh/stackinfo.h: Likewise.
20779 * sysdeps/sparc/stackinfo.h: Likewise.
20780 * sysdeps/x86_64/stackinfo.h: Likewise.
20781 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
20782 PF_X for powerpc64. Retain PF_X for powerpc32.
20783
db753e2c
UD
207842010-12-19 Ulrich Drepper <drepper@gmail.com>
20785
14b697f7
UD
20786 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
20787 accurately.
db753e2c
UD
20788 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
20789 GETDENTS_64BIT_ALIGNED.
20790
28300719
UD
207912010-12-14 Ulrich Drepper <dreper@gmail.com>
20792
14b697f7 20793 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 20794
4f197237
AS
207952010-12-10 Andreas Schwab <schwab@redhat.com>
20796
dbb0472f
AS
20797 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
20798 _GNU_SOURCE.
20799
4f197237
AS
20800 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
20801 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
20802 Remove __restrict.
20803 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
20804 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
20805
fb88ac72
UD
208062010-12-09 Ulrich Drepper <drepper@gmail.com>
20807
20808 [BZ #11655]
20809 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
20810 are initialized.
20811
42acbb92
JJ
208122010-12-09 Jakub Jelinek <jakub@redhat.com>
20813
20814 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
20815
c038d98d
UD
208162010-12-03 Ulrich Drepper <drepper@gmail.com>
20817
20818 * po/it.po: Update from translation team.
20819
3a4a2499
L
208202010-12-01 H.J. Lu <hongjiu.lu@intel.com>
20821
20822 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
20823 unused codes.
20824
1e24cf6e
UD
208252010-11-30 Ulrich Drepper <drepper@gmail.com>
20826
20827 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
20828
a7690819
AS
208292010-11-24 Andreas Schwab <schwab@redhat.com>
20830
20831 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
20832 specially.
20833 (gaih_getanswer_slice): Likewise.
20834
3bf8d1b1
JJ
208352010-10-20 Jakub Jelinek <jakub@redhat.com>
20836
20837 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
20838
6db52fbb
PB
208392010-05-31 Petr Baudis <pasky@suse.cz>
20840
20841 [BZ #11149]
20842 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
20843 silently even in the chroot mode.
20844
eaca7569
UD
208452010-11-22 Ulrich Drepper <drepper@gmail.com>
20846
20847 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
20848 last patch a bit. Pretty printing
20849
3056dcdb
UD
208502010-05-31 Petr Baudis <pasky@suse.cz>
20851
20852 [BZ #10085]
20853 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
20854 initialization of skip_initgroups_dyn.
20855
cf7c9078
UD
208562010-11-19 Ulrich Drepper <drepper@gmail.com>
20857
20858 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
20859 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
20860
a1fb5e3e
UD
208612010-11-16 Ulrich Drepper <drepper@gmail.com>
20862
20863 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
20864
3540d66b
AS
208652010-11-11 Andreas Schwab <schwab@redhat.com>
20866
20867 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
20868 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
20869 (tst-fnmatch-ENV): Set MALLOC_TRACE.
20870 ($(objpfx)tst-fnmatch-mem): New rule.
20871 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
20872 * posix/tst-fnmatch.c (main): Call mtrace.
20873
13b69574
L
208742010-11-11 H.J. Lu <hongjiu.lu@intel.com>
20875
20876 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20877 Support Intel processor model 6 and model 0x2c.
20878
da93d214
LM
208792010-11-10 Luis Machado <luisgpm@br.ibm.com>
20880
20881 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
20882 signed comparison.
20883
8ca52c6e
L
208842010-11-09 H.J. Lu <hongjiu.lu@intel.com>
20885
20886 [BZ #12205]
20887 * string/test-strncasecmp.c (check_result): New function.
20888 (do_one_test): Use it.
20889 (check1): New function.
20890 (test_main): Use it.
20891 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
20892 Support strcasecmp and strncasecmp.
20893
69da074d
UD
208942010-11-08 Ulrich Drepper <drepper@gmail.com>
20895
20896 [BZ #12194]
20897 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
20898 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20899
ff02d528
L
209002010-11-07 H.J. Lu <hongjiu.lu@intel.com>
20901
20902 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
20903 IFUNC support.
20904 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20905 memset-x86-64.
20906 * sysdeps/x86_64/multiarch/bzero.S: New file.
20907 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
20908 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
20909 * sysdeps/x86_64/multiarch/memset.S: New file.
20910 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
20911 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20912 Set bit_Prefer_SSE_for_memop for Intel processors.
20913 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
20914 Define.
20915 (index_Prefer_SSE_for_memop): Define.
20916 (HAS_PREFER_SSE_FOR_MEMOP): Define.
20917
344d0b54
LM
209182010-11-04 Luis Machado <luisgpm@br.ibm.com>
20919
20920 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
20921 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
20922
c0dde15b
UD
209232010-11-03 H.J. Lu <hongjiu.lu@intel.com>
20924
20925 [BZ #12191]
20926 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
20927 (__x86_64_raw_data_cache_size_half): Likewise.
20928 (__x86_64_raw_shared_cache_size): Likewise.
20929 (__x86_64_raw_shared_cache_size_half): Likewise.
20930
20931 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
20932 (__x86_64_raw_data_cache_size_half): Likewise.
20933 (__x86_64_raw_shared_cache_size): Likewise.
20934 (__x86_64_raw_shared_cache_size_half): Likewise.
20935 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
20936 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
20937 and __x86_64_raw_shared_cache_size_half. Round
20938 __x86_64_data_cache_size_half, __x86_64_data_cache_size
20939 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
20940 to multiple of 256 bytes.
20941
0e516e0e
MS
209422010-11-03 Ulrich Drepper <drepper@gmail.com>
20943
20944 [BZ #12167]
20945 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
20946 of inacessible symlinks. Verify result of symlink before returning it.
20947 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
20948 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
20949
0e012e87
ER
209502010-10-28 Erich Ritz <erichritz@gmail.com>
20951
20952 * math/math.h (isinf): Fix typo in comment.
20953
de0ff7bc
UD
209542010-11-01 Ulrich Drepper <drepper@gmail.com>
20955
20956 * po/da.po: Update from translation team.
20957
fa41c84d
UD
209582010-10-26 Ulrich Drepper <drepper@gmail.com>
20959
20960 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
20961 is added to the list.
20962
f0967738
AK
209632010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20964 Ulrich Drepper <drepper@gmail.com>
20965
20966 * elf/dl-object.c (_dl_new_object): Don't append the new object to
20967 the global list here. Move code to...
20968 (_dl_add_to_namespace_list): ...here. New function.
20969 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
20970 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
20971 * elf/dl-load.c (lose): Don't remove the element from the list.
20972 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
20973 (_dl_map_object): Likewise.
20974
209752010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
20976
20977 [BZ #12159]
20978 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
20979 into all bytes of SSE register.
20980 Patch by Richard Li <richardpku@gmail.com>.
20981
f0967738 209822010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
20983
20984 [BZ #12140]
20985 * malloc/malloc.c (_int_free): Fill correct number of bytes when
20986 perturbing.
20987
d0b9e94f
MB
209882010-10-20 Michael B. Brutman <brutman@us.ibm.com>
20989
20990 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
20991 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
20992 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
20993 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
20995 submachine.
20996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
20997
8e9f92e9
AS
209982010-10-22 Andreas Schwab <schwab@redhat.com>
20999
21000 * include/dlfcn.h (__RTLD_SECURE): Define.
21001 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
21002 mode & __RTLD_SECURE instead.
21003 (open_path): Rename preloaded parameter to secure.
21004 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
21005 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
21006 * elf/dl-deps.c (openaux): Likewise.
21007 * elf/rtld.c (struct map_args): Remove is_preloaded.
21008 (map_doit): Don't use it.
21009 (dl_main): Likewise.
21010 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
21011 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
21012
bc96fbda
AS
210132010-09-09 Andreas Schwab <schwab@redhat.com>
21014
21015 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
21016 (sysd-rules-targets): Remove duplicates.
21017 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
21018 rtld-%.$o dependency.
21019
22cd1c9b
AS
210202010-10-18 Andreas Schwab <schwab@redhat.com>
21021
21022 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
21023 _dl_map_object do it.
21024
18edac48
UD
210252010-10-19 Ulrich Drepper <drepper@gmail.com>
21026
21027 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
21028 fast fma builtins, define the macros in the C99 standard.
21029 (FP_FAST_FMAF): Likewise.
21030 (FP_FAST_FMAL): Likewise.
21031 * sysdeps/x86_64/bits/mathdef.h: Likewise.
21032
21033 * bits/mathdef.h: Update copyright year.
21034 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21035
d2050124
MM
210362010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
21037
21038 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
21039 builtins, define the macros in the C99 standard.
21040 (FP_FAST_FMAF): Likewise.
21041 (FP_FAST_FMAL): Likewise.
21042 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
21043 multiply/add.
21044 (FP_FAST_FMAF): Likewise.
21045
475facd1
JJ
210462010-10-15 Jakub Jelinek <jakub@redhat.com>
21047
21048 [BZ #3268]
21049 * math/libm-test.inc (fma_test): Some new testcases.
21050 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
21051 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
21052 y and infinite z. Do multiplication by C already in long double.
21053 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
21054 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
21055 y and infinite z. Do bitwise or of inexact bit into u.d.
21056 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
21057 * sysdeps/i386/fpu/s_fmaf.S: Removed.
21058 * sysdeps/i386/fpu/s_fma.S: Removed.
21059 * sysdeps/i386/fpu/s_fmal.S: Removed.
21060
7c08a05c
JJ
210612010-10-16 Jakub Jelinek <jakub@redhat.com>
21062
21063 [BZ #3268]
21064 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
21065 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
21066 computation is not scheduled after fetestexcept. Fix value
21067 of minimum denormal long double.
21068
f3f7372d
JJ
210692010-10-14 Jakub Jelinek <jakub@redhat.com>
21070
21071 [BZ #3268]
21072 * math/libm-test.inc (fma_test): Add some more tests.
21073 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
21074 correctly.
21075
14d43591
AS
210762010-10-15 Andreas Schwab <schwab@redhat.com>
21077
21078 * scripts/data/localplt-s390-linux-gnu.data: New file.
21079 * scripts/data/localplt-s390x-linux-gnu.data: New file.
21080
5e908464
JJ
210812010-10-13 Jakub Jelinek <jakub@redhat.com>
21082
21083 [BZ #3268]
21084 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
21085 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
21086 instead of dbl-64.
21087 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
21088 inlines.
21089 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
21090 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
21091 if one of x and y is very large and the other is subnormal.
21092 * sysdeps/s390/fpu/s_fmaf.c: New file.
21093 * sysdeps/s390/fpu/s_fma.c: New file.
21094 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
21095 * sysdeps/powerpc/fpu/s_fma.S: New file.
21096 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
21097 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
21098 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
21099
211002010-10-12 Jakub Jelinek <jakub@redhat.com>
21101
21102 [BZ #3268]
21103 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
21104 fma tests.
21105 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
21106 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
21107 * sysdeps/i386/i686/multiarch/s_fma.c: Include
21108 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
21109 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
21110 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
21111 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
21112
b833d51f
UD
211132010-10-12 Ulrich Drepper <drepper@redhat.com>
21114
21115 [BZ #12078]
21116 * posix/regcomp.c (parse_branch): One more memory leak plugged.
21117 * posix/bug-regex31.input: Add test case.
21118
1751705d
UD
211192010-10-11 Ulrich Drepper <drepper@gmail.com>
21120
e9b9cbf5
UD
21121 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
21122 * posix/bug-regex31.input: New file.
21123
21124 [BZ #12078]
21125 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
21126 (parse_sub_exp): Fix last change, use postorder.
21127
ef06edbe
UD
21128 * posix/bug-regex31.c: New file.
21129 * posix/Makefile: Add rules to build and run bug-regex31.
21130
a129c80d
UD
21131 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
21132
21133 [BZ #12078]
21134 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
21135
b76b818e
UD
21136 [BZ #12108]
21137 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
21138 to have entries in sys_siglist.
21139
1751705d
UD
21140 [BZ #12093]
21141 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
21142 be NULL.
21143
9ff8d36f
JJ
211442010-10-07 Jakub Jelinek <jakub@redhat.com>
21145
21146 [BZ #3268]
21147 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
21148 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
21149 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
21150 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
21151 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21152 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
21153 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
21154 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
21155 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
21156 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
21157 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
21158 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
21159 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
21160 * math/ftestexcept.c (fetestexcept): Likewise.
21161 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
21162 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
21163 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
21164 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
21165 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
21166 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
21167 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21168
af325969
UD
211692010-10-11 Ulrich Drepper <drepper@gmail.com>
21170
c579b202 21171 [BZ #12107]
af325969
UD
21172 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
21173 newline.
21174
67a67b95
UD
211752010-10-06 Ulrich Drepper <drepper@gmail.com>
21176
21177 * string/bug-strstr1.c: New file.
21178 * string/Makefile: Add rules to build and run bug-strstr1.
21179
5fb308bc
EB
211802010-10-05 Eric Blake <eblake@redhat.com>
21181
21182 [BZ #12092]
21183 * string/str-two-way.h (two_way_long_needle): Always clear memory
21184 when skipping input due to the shift table.
21185
45db99c7
UD
211862010-10-03 Ulrich Drepper <drepper@gmail.com>
21187
3b111893
UD
21188 [BZ #12005]
21189 * malloc/mcheck.c: Handle large requests.
21190
45db99c7
UD
21191 [BZ #12077]
21192 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
21193 for strncmp and strncasecmp.
21194 * string/stratcliff.c: Add tests for strcmp and strncmp.
21195 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
21196
cf7a1eb8
NI
211972010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21198
21199 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
21200 __set_fpscr.
21201
6484ba5e
AJ
212022010-09-30 Andreas Jaeger <aj@suse.de>
21203
21204 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
21205 (CGROUP_SUPER_MAGIC): Define.
21206 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21207 Handle btrfs and cgroup file systems.
21208 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21209 Likewise.
21210
91c42559
LM
212112010-09-27 Luis Machado <luisgpm@br.ibm.com>
21212
21213 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
21214 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
21215
87a97932
AK
212162010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21217
21218 [BZ #12067]
21219 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
21220 trying to locate the ELF header.
21221
c21cc9bc
AS
212222010-09-27 Andreas Schwab <schwab@redhat.com>
21223
21224 [BZ #11611]
21225 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
21226 Mask out sign-bit copies when constructing f_fsid.
21227
315970f6
PB
212282010-09-24 Petr Baudis <pasky@suse.cz>
21229
21230 * debug/stack_chk_fail_local.c: Add missing licence exception.
21231 * debug/warning-nop.c: Likewise.
21232
1ac7a2c7
JM
212332010-09-15 Joseph Myers <joseph@codesourcery.com>
21234
21235 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
21236 implementing getdents64 using getdents syscall, set d_type if
21237 __ASSUME_GETDENTS32_D_TYPE.
21238
56801c50
AS
212392010-09-16 Andreas Schwab <schwab@redhat.com>
21240
21241 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
21242 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
21243
dda51327
UD
212442010-09-21 Ulrich Drepper <drepper@redhat.com>
21245
21246 [BZ #12037]
21247 * posix/unistd.h: Undo change of feature selection for ftruncate from
21248 2010-01-11.
21249
8ffcee4a
UD
212502010-09-20 Ulrich Drepper <drepper@redhat.com>
21251
a545ecd9 21252 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
21253 detection.
21254
e24f0a8b
AS
212552010-09-20 Andreas Schwab <schwab@redhat.com>
21256
21257 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
21258 fanotify_mark.
21259 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
21260
7291c56f
AS
212612010-09-14 Andreas Schwab <schwab@redhat.com>
21262
21263 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
21264 variables after CHECK_SP call.
21265 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
21266
bc5fb037
AS
212672010-09-13 Andreas Schwab <schwab@redhat.com>
21268 Ulrich Drepper <drepper@redhat.com>
21269
21270 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
21271 re-relocationg ld.so.
21272 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
21273 _dl_init_paths call.
21274 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
21275 here anymore.
21276
e66e7419
UD
212772010-09-14 Ulrich Drepper <drepper@redhat.com>
21278
21279 * resolv/res_init.c (__res_vinit): Count the default server we added.
21280
c044aa75
CLT
212812010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
21282 Ulrich Drepper <drepper@redhat.com>
21283
21284 [BZ #11968]
21285 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
21286 (____longjmp_chk): Use %ebx for saving value across system call.
21287 Add unwind info.
21288
32cf4069
AS
212892010-09-06 Andreas Schwab <schwab@redhat.com>
21290
21291 * manual/Makefile: Don't mix pattern rules with normal rules.
21292
817328ee
AS
212932010-09-05 Andreas Schwab <schwab@linux-m68k.org>
21294
21295 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
21296 operation.
21297 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
21298 * libio/iofopncook.c (_IO_cookie_init): Likewise.
21299 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
21300 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
21301 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21302 Likewise.
21303
29fddf61
UD
213042010-09-04 Ulrich Drepper <drepper@redhat.com>
21305
21306 [BZ #11979]
21307 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
21308 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
21309
0959ffc9
UD
213102010-09-02 Ulrich Drepper <drepper@redhat.com>
21311
21312 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
21313 * sysdeps/x86_64/addmul_1.S: Likewise.
21314 * sysdeps/x86_64/lshift.S: Likewise.
21315 * sysdeps/x86_64/mul_1.S: Likewise.
21316 * sysdeps/x86_64/rshift.S: Likewise.
21317 * sysdeps/x86_64/sub_n.S: Likewise.
21318 * sysdeps/x86_64/submul_1.S: Likewise.
21319
ece29840
ST
213202010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
21321
0959ffc9
UD
21322 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
21323 Define __sched_param instead of SCHED_* and sched_param when
ece29840 21324 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 21325 * bits/sched.h [__need_schedparam]
ece29840 21326 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
21327 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
21328 (__defined_schedparam): Define to 1.
ece29840
ST
21329 (__sched_param): New structure, identical to sched_param.
21330 (__need_schedparam): Undefine.
21331
e53a31fe
MF
213322010-08-31 Mike Frysinger <vapier@gentoo.org>
21333
fdc0c10d
MF
21334 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
21335 (epoll_create1): Declare.
21336
e53a31fe
MF
21337 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
21338
a726d796
AS
213392010-08-31 Andreas Schwab <schwab@redhat.com>
21340
21341 [BZ #7066]
21342 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
21343 shifting retval into place.
21344
2f3e3dc7
UD
213452010-09-01 Ulrich Drepper <drepper@redhat.com>
21346
f2933da9
UD
21347 * nis/rpcsvc/nis.h: Update copyright notice.
21348 * nis/rpcsvc/nis.x: Likewise.
21349 * nis/rpcsvc/nis_callback.h: Likewise.
21350 * nis/rpcsvc/nis_callback.x: Likewise.
21351 * nis/rpcsvc/nis_object.x: Likewise.
21352 * nis/rpcsvc/nis_tags.h: Likewise.
21353 * nis/rpcsvc/yp.h: Likewise.
21354 * nis/rpcsvc/yp.x: Likewise.
21355 * nis/rpcsvc/ypupd.h: Likewise.
21356 * nis/yp_xdr.c: Likewise.
21357 * nis/ypupdate_xdr.c: Likewise.
21358
2f3e3dc7
UD
21359 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
21360 mainly the body of pmap_getport. Add parameters to specify timeouts.
21361 (pmap_getport): Use __libc_rpc_getport.
21362 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
21363 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
21364 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
21365
f3dcc2f9
AS
213662010-08-31 Andreas Schwab <schwab@linux-m68k.org>
21367
21368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
21369 fanotify_mark.
21370
6d34eb5b
RM
213712010-08-27 Roland McGrath <roland@redhat.com>
21372
21373 * sysdeps/i386/i686/multiarch/Makefile
21374 (CFLAGS-varshift.c): New variable.
21375
9ea3de11
UD
213762010-08-27 Ulrich Drepper <drepper@redhat.com>
21377
c96d23fc
UD
21378 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
21379 * sysdeps/i386/i686/multiarch/varshift.c: New file.
21380
9ea3de11
UD
21381 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
21382
21383 * sysdeps/x86_64/strlen.S: Minimal code improvement.
21384
623aac7f
L
213852010-08-26 H.J. Lu <hongjiu.lu@intel.com>
21386
21387 * sysdeps/x86_64/strlen.S: Unroll the loop.
21388 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21389 strlen-sse2 strlen-sse2-bsf.
21390 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
21391 __strlen_no_bsf if bit_Slow_BSF is set.
21392 (__strlen_sse42): Removed.
21393 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
21394 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
21395
8b2b7715
RM
213962010-08-25 Roland McGrath <roland@redhat.com>
21397
21398 * sysdeps/x86_64/multiarch/varshift.S: File removed.
21399 * sysdeps/x86_64/multiarch/varshift.c: New file.
21400 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
21401 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
21402 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
21403 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21404
e73015f2
L
214052010-08-25 H.J. Lu <hongjiu.lu@intel.com>
21406
21407 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21408 strlen-sse2 strlen-sse2-bsf.
21409 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
21410 __strlen_sse2_bsf if bit_Slow_BSF is unset.
21411 (__strlen_sse2): Removed.
21412 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
21413 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
21414 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
21415 bit_Slow_BSF for Atom.
21416 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
21417 (index_Slow_BSF): Define.
21418 (HAS_SLOW_BSF): Define.
21419
df24a73e
UD
214202010-08-25 Ulrich Drepper <drepper@redhat.com>
21421
21422 [BZ #10851]
21423 * resolv/res_init.c (__res_vinit): When no server address at all
21424 is given default to loopback.
21425
f2ac4868
RM
214262010-08-24 Roland McGrath <roland@redhat.com>
21427
09055553
RM
21428 * configure.in: Remove config-name.h generation.
21429 * configure: Regenerated.
21430 * config-name.in: File removed.
21431 * scripts/config-uname.sh: New file.
21432 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
21433 ($(objdir)config-name.h): New target.
21434
f2ac4868
RM
21435 * sunrpc/rpc_parse.h: Avoid nested comment.
21436
73f27d5e
RH
214372010-08-24 Richard Henderson <rth@redhat.com>
21438 Ulrich Drepper <drepper@redhat.com>
21439 H.J. Lu <hongjiu.lu@intel.com>
21440
21441 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
21442 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
21443 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
21444 Replace _mm_srli_si128 with __m128i_shift_right. Replace
21445 _mm_alignr_epi8 with _mm_loadu_si128.
21446 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
21447 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
21448 (__m128i_shift_right): Removed.
21449 * sysdeps/i386/i686/multiarch/varshift.h: New file.
21450 * sysdeps/i386/i686/multiarch/varshift.S: New file.
21451 * sysdeps/x86_64/multiarch/varshift.h: New file.
21452 * sysdeps/x86_64/multiarch/varshift.S: New file.
21453
84b9230c
MF
214542010-08-21 Mike Frysinger <vapier@gentoo.org>
21455
21456 * configure.in: Move assembler checks to before sysdep dir checking.
21457
9bbd0ddc
PB
214582010-08-20 Petr Baudis <pasky@suse.cz>
21459
21460 * LICENSES: Sync the sunrpc license.
21461
9da4bb31
UD
214622010-08-19 Ulrich Drepper <drepper@redhat.com>
21463
a7ab6ec8
UD
21464 * sunrpc/auth_des.c: Update copyright notice once again.
21465 * sunrpc/auth_none.c: Likewise.
21466 * sunrpc/auth_unix.c: Likewise.
21467 * sunrpc/authdes_prot.c: Likewise.
21468 * sunrpc/authuxprot.c: Likewise.
21469 * sunrpc/bindrsvprt.c: Likewise.
21470 * sunrpc/clnt_gen.c: Likewise.
21471 * sunrpc/clnt_perr.c: Likewise.
21472 * sunrpc/clnt_raw.c: Likewise.
21473 * sunrpc/clnt_simp.c: Likewise.
21474 * sunrpc/clnt_tcp.c: Likewise.
21475 * sunrpc/clnt_udp.c: Likewise.
21476 * sunrpc/clnt_unix.c: Likewise.
21477 * sunrpc/des_crypt.c: Likewise.
21478 * sunrpc/des_soft.c: Likewise.
21479 * sunrpc/get_myaddr.c: Likewise.
21480 * sunrpc/getrpcport.c: Likewise.
21481 * sunrpc/key_call.c: Likewise.
21482 * sunrpc/key_prot.c: Likewise.
21483 * sunrpc/openchild.c: Likewise.
21484 * sunrpc/pm_getmaps.c: Likewise.
21485 * sunrpc/pm_getport.c: Likewise.
21486 * sunrpc/pmap_clnt.c: Likewise.
21487 * sunrpc/pmap_prot.c: Likewise.
21488 * sunrpc/pmap_prot2.c: Likewise.
21489 * sunrpc/pmap_rmt.c: Likewise.
21490 * sunrpc/rpc/auth.h: Likewise.
21491 * sunrpc/rpc/auth_unix.h: Likewise.
21492 * sunrpc/rpc/clnt.h: Likewise.
21493 * sunrpc/rpc/des_crypt.h: Likewise.
21494 * sunrpc/rpc/key_prot.h: Likewise.
21495 * sunrpc/rpc/netdb.h: Likewise.
21496 * sunrpc/rpc/pmap_clnt.h: Likewise.
21497 * sunrpc/rpc/pmap_prot.h: Likewise.
21498 * sunrpc/rpc/pmap_rmt.h: Likewise.
21499 * sunrpc/rpc/rpc.h: Likewise.
21500 * sunrpc/rpc/rpc_des.h: Likewise.
21501 * sunrpc/rpc/rpc_msg.h: Likewise.
21502 * sunrpc/rpc/svc.h: Likewise.
21503 * sunrpc/rpc/svc_auth.h: Likewise.
21504 * sunrpc/rpc/types.h: Likewise.
21505 * sunrpc/rpc/xdr.h: Likewise.
21506 * sunrpc/rpc_clntout.c: Likewise.
21507 * sunrpc/rpc_cmsg.c: Likewise.
21508 * sunrpc/rpc_common.c: Likewise.
21509 * sunrpc/rpc_cout.c: Likewise.
21510 * sunrpc/rpc_dtable.c: Likewise.
21511 * sunrpc/rpc_hout.c: Likewise.
21512 * sunrpc/rpc_main.c: Likewise.
21513 * sunrpc/rpc_parse.c: Likewise.
21514 * sunrpc/rpc_parse.h: Likewise.
21515 * sunrpc/rpc_prot.c: Likewise.
21516 * sunrpc/rpc_sample.c: Likewise.
21517 * sunrpc/rpc_scan.c: Likewise.
21518 * sunrpc/rpc_scan.h: Likewise.
21519 * sunrpc/rpc_svcout.c: Likewise.
21520 * sunrpc/rpc_tblout.c: Likewise.
21521 * sunrpc/rpc_util.c: Likewise.
21522 * sunrpc/rpc_util.h: Likewise.
21523 * sunrpc/rpcinfo.c: Likewise.
21524 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
21525 * sunrpc/rpcsvc/key_prot.x: Likewise.
21526 * sunrpc/rpcsvc/klm_prot.x: Likewise.
21527 * sunrpc/rpcsvc/mount.x: Likewise.
21528 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
21529 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
21530 * sunrpc/rpcsvc/rex.x: Likewise.
21531 * sunrpc/rpcsvc/rstat.x: Likewise.
21532 * sunrpc/rpcsvc/rusers.x: Likewise.
21533 * sunrpc/rpcsvc/sm_inter.x: Likewise.
21534 * sunrpc/rpcsvc/spray.x: Likewise.
21535 * sunrpc/rpcsvc/yppasswd.x: Likewise.
21536 * sunrpc/rtime.c: Likewise.
21537 * sunrpc/svc.c: Likewise.
21538 * sunrpc/svc_auth.c: Likewise.
21539 * sunrpc/svc_authux.c: Likewise.
21540 * sunrpc/svc_raw.c: Likewise.
21541 * sunrpc/svc_run.c: Likewise.
21542 * sunrpc/svc_simple.c: Likewise.
21543 * sunrpc/svc_tcp.c: Likewise.
21544 * sunrpc/svc_udp.c: Likewise.
21545 * sunrpc/svc_unix.c: Likewise.
21546 * sunrpc/svcauth_des.c: Likewise.
21547 * sunrpc/xcrypt.c: Likewise.
21548 * sunrpc/xdr.c: Likewise.
21549 * sunrpc/xdr_array.c: Likewise.
21550 * sunrpc/xdr_float.c: Likewise.
21551 * sunrpc/xdr_mem.c: Likewise.
21552 * sunrpc/xdr_rec.c: Likewise.
21553 * sunrpc/xdr_ref.c: Likewise.
21554 * sunrpc/xdr_sizeof.c: Likewise.
21555 * sunrpc/xdr_stdio.c: Likewise.
21556
9da4bb31
UD
21557 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
21558 handling.
21559
bdaa77bc
AS
215602010-08-19 Andreas Schwab <schwab@redhat.com>
21561
21562 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
21563
fe2f79db
LM
215642010-08-19 Luis Machado <luisgpm@br.ibm.com>
21565
21566 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
21567 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
21568 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
21569 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
21570 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
21571 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
21572 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
21573 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
21574 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
21575 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
21576 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
21577 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
21578 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
21579 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
21580
b9b42ee0
AB
215812010-07-26 Anton Blanchard <anton@samba.org>
21582
21583 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
21584 * malloc/arena.c (heap_trim): Likewise.
21585
1c06ba31
UD
215862010-08-16 Ulrich Drepper <drepper@redhat.com>
21587
21588 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
21589 here. Not...
21590 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
21591 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
21592
f8392f40
L
215932010-08-12 H.J. Lu <hongjiu.lu@intel.com>
21594
21595 * sysdeps/i386/elf/Makefile: New file.
21596
3162f12e
AS
215972010-08-14 Andreas Schwab <schwab@linux-m68k.org>
21598
21599 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
21600 from fanotify_init.
21601 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
21602 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
21603
28c90b2c
UD
216042010-08-15 Ulrich Drepper <drepper@redhat.com>
21605
21606 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
21607 of strncasecmp_l.
1feccb6c 21608 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 21609
ca6bb004
UD
216102010-08-14 Ulrich Drepper <drepper@redhat.com>
21611
e9f82e0d
UD
21612 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
21613 strncase_l-nonascii.
21614 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
21615 Add strncase_l-ssse3.
21616 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
21617 * sysdeps/x86_64/strcmp.S: Likewise.
21618 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
21619 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
21620 * sysdeps/x86_64/strncase.S: New file.
21621 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
21622 * sysdeps/x86_64/strncase_l.S: New file.
21623 * string/Makefile (strop-tests): Add strncasecmp.
21624 * string/test-strncasecmp.c: New file.
21625
21626 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
21627 warning.
21628
ca6bb004
UD
21629 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
21630 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
21631
052fa7b3
AS
216322010-08-14 Andreas Schwab <schwab@linux-m68k.org>
21633
21634 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
21635
962dba78
UD
216362010-08-12 Ulrich Drepper <drepper@redhat.com>
21637
21638 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
21639 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
21640 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
21641
bebff237
AM
216422010-05-01 Alan Modra <amodra@gmail.com>
21643
21644 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
21645 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
21646 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
21647 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
21648 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
21649 tidying. Don't tail-call __sigjmp_save for static lib.
21650 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
21651 save location.
21652 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
21653 (CALL_MCOUNT): Add eh info, and nop after bl.
21654 (TAIL_CALL_SYSCALL_ERROR): New macro.
21655 (PSEUDO_RET): Use it.
21656 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
21657 Correct save location of integer regs and cr.
21658 (_dl_profile_resolve): Correct cr save location. Delete nops
21659 after bl when SHARED. Reduce cfi size a little by better
21660 placement of cfi directives.
21661 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
21662 make a stack frame. Instead use parm save area as a temp.
21663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
21664 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
21665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21666 Don't make a stack frame for parent, use parm save area.
21667 Increase child stack frame to 112 bytes. Don't save unused reg,
21668 and adjust reg usage. Set up cfi on error recovery and
21669 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
21670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21671 (__makecontext): Add dummy nop after jump to exit.
21672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
21673 Use correct parm save area and cr save, reduce stack frame.
21674 Correct cfi for possible PSEUDO_RET frame setup.
21675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
21676 Branch to local label emitted by PSEUDO_RET rather than
21677 __syscall_error.
21678
02637374
AS
216792010-08-12 Andreas Schwab <schwab@redhat.com>
21680
21681 [BZ #11904]
21682 * locale/programs/locale.c (print_assignment): New function.
21683 (show_locale_vars): Use it.
21684
c3e2f19b
UD
216852010-08-11 Ulrich Drepper <drepper@redhat.com>
21686
3cdaa6ad
UD
21687 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
21688 field.
21689 (struct statfs64): Likewise.
21690 (_STATFS_F_FLAGS): Define.
21691 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
21692 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21693 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
21694 (ST_VALID): Define locally.
21695 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
21696 __statvfs_getflags, use the provided value.
21697 * sysdeps/unix/sysv/linux/kernel-features.h: Define
21698 __ASSUME_STATFS_F_FLAGS.
21699
754f7da3
UD
21700 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
21701
10b3bedc
UD
21702 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
21703 Add sys/fanotify.h.
21704 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
21705 fanotify_mask for GLIBC_2.13.
21706 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
21707 fanotify_init and fanotify_mark.
21708 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
21709 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
21710
c08fb0d7
UD
21711 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
21712 Add prlimit.
21713 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
21714 prlimit64 for GLIBC_2.13.
21715 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
21716 prlimit64.
21717 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
21718 syscall.
21719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
21720 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
21721 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
21722 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
21723 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
21724 add prlimit alias.
21725 * sysdeps/unix/sysv/linux/prlimit.c: New file.
21726
15bac72b
UD
21727 [BZ #11903]
21728 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
21729 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
21730
c3e2f19b
UD
21731 * nss/Makefile: Add rules to build and run tst-nss-test1.
21732 * shlib-versions: Add entry for libnss_test1.
21733 * nss/nss_test1.c: New file.
21734 * nss/tst-nss-test1.c: New file.
21735
21736 * nss/nsswitch.c (__nss_database_custom): Define new variable.
21737 (__nss_configure_lookup): Set appropriate entry in
21738 __nss_configure_lookup to true.
21739 * nss/nsswitch.h: Define enum with indeces of databases in
21740 databases and __nss_database_custom arrays. Declare
21741 __nss_database_custom.
21742 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
21743 to avoid using nscd when custom rules are installed.
21744 * nss/getXXbyYY_r.c: Likewise.
21745 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21746
21747 * nss/nss_files/files-parse.c: Whitespace fixes.
21748
f15ce4d8
UD
217492010-08-09 Ulrich Drepper <drepper@redhat.com>
21750
21751 [BZ #11883]
21752 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
21753 * posix/fnmatch_loop.c: Likewise.
21754
d22e4cc9
AK
217552010-07-17 Andi Kleen <ak@linux.intel.com>
21756
21757 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
21758 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
21759 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
21760 * Versions.def [GLIBC_2.13]: Add.
21761
805bc17d
UD
217622010-08-06 Ulrich Drepper <drepper@redhat.com>
21763
21764 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
21765 Also fail if tpwd after pwuid call is NULL.
21766
5a42321d
ST
217672010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
21768
21769 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
21770 when converting to ms.
21771
fd3ebeda
ST
217722010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
21773
21774 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
21775 EOPNOTSUPP errors with ENOTTY.
21776 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
21777 EOPNOTSUPP errors with ENOTTY.
21778
73507d3a
UD
217792010-07-31 Ulrich Drepper <drepper@redhat.com>
21780
21781 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
21782 Add strcasecmp_l-ssse3.
21783 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
21784 strcasecmp.
21785 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
21786 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
21787 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
21788
fe36dd02
UD
217892010-07-30 Ulrich Drepper <drepper@redhat.com>
21790
66f6765a
UD
21791 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
21792
42e08a54
UD
21793 * string/Makefile (strop-tests): Add strcasecmp.
21794 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
21795 strcasecmp_l-nonascii.
21796 (gen-as-const-headers): Add locale-defines.sym.
21797 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
21798 * sysdeps/x86_64/strcasecmp.S: New file.
21799 * sysdeps/x86_64/strcasecmp_l.S: New file.
21800 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
21801 * sysdeps/x86_64/locale-defines.sym: New file.
21802 * string/test-strcasecmp.c: New file.
21803
fe36dd02
UD
21804 * string/test-strcasestr.c: Test both ends of the range of characters.
21805 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
21806
48cbc0d6
RM
218072010-07-29 Roland McGrath <roland@redhat.com>
21808
76e6d6bc 21809 [BZ #11856]
48cbc0d6
RM
21810 * manual/locale.texi (Yes-or-No Questions): Fix example code.
21811
880113d9
UD
218122010-07-27 Ulrich Drepper <drepper@redhat.com>
21813
21814 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
21815 for ld.so.
21816
deb9cabb
AS
218172010-07-27 Andreas Schwab <schwab@redhat.com>
21818
21819 * manual/memory.texi (Malloc Tunable Parameters): Document
21820 M_PERTURB.
21821
1c7570ff
RM
218222010-07-26 Roland McGrath <roland@redhat.com>
21823
21824 [BZ #11840]
21825 * configure.in (-fgnu89-inline check): Set and substitute
21826 gnu89_inline, not libc_cv_gnu89_inline.
21827 * configure: Regenerated.
21828 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
21829
24fb0f88
UD
218302010-07-26 Ulrich Drepper <drepper@redhat.com>
21831
21832 * string/test-strnlen.c: New file.
21833 * string/Makefile (strop-tests): Add strnlen.
21834 * string/tester.c (test_strnlen): Add a few more test cases.
21835 * string/tst-strlen.c: Better error reporting.
21836
21837 * sysdeps/x86_64/strnlen.S: New file.
21838
8e96b93a
UD
218392010-07-24 Ulrich Drepper <drepper@redhat.com>
21840
21841 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
21842 lower-latency instructions.
21843
dbc676d4
UD
218442010-07-23 Ulrich Drepper <drepper@redhat.com>
21845
21846 * string/test-strcasestr.c: New file.
21847 * string/test-strstr.c: New file.
21848 * string/Makefile (strop-tests): Add strstr and strcasestr.
21849 * string/str-two-way.h: Don't undefine MAX.
21850 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
21851
f6a31e0e
AS
218522010-07-21 Andreas Schwab <schwab@redhat.com>
21853
21854 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21855 strcasestr-nonascii.
21856 (CFLAGS-strcasestr-nonascii.c): Define.
21857 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
21858 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
21859 Remove unused attribute.
21860
5dbc3b6c
RM
218612010-07-20 Roland McGrath <roland@redhat.com>
21862
21863 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
21864 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
21865 ld.so.cache was broken. With it, there is no way to disable dsocaps
21866 like LD_HWCAP_MASK can disable hwcaps.
21867
23d101d8
EPM
218682010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
21869
21870 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
21871
cc9f2e47
UD
218722010-07-16 Ulrich Drepper <drepper@redhat.com>
21873
21874 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
21875 call in strcasestr.
21876 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
21877 __strcasestr_sse42_nonascii.
21878 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
21879 strcasestr-nonascii.c.
21880 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
21881
77c1b069
LM
218822010-06-15 Luis Machado <luisgpm@br.ibm.com>
21883
21884 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
21885 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
21886 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
21887 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
21888
440566c3
UD
218892010-07-09 Ulrich Drepper <drepper@redhat.com>
21890
21891 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
21892 fcntl.
21893
5be9d05d
AS
218942010-07-06 Andreas Schwab <schwab@redhat.com>
21895
c30b7ee2 21896 [BZ #11577]
5be9d05d
AS
21897 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
21898 dl_signal_cerror.
21899
8a492a67
UD
219002010-07-06 Ulrich Drepper <drepper@redhat.com>
21901
21902 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
21903 _PC_PIPE_BUF using F_GETPIPE_SZ.
21904
713df3d5
RM
219052010-07-05 Roland McGrath <roland@redhat.com>
21906
21907 * manual/arith.texi (Rounding Functions): Fix rint description
21908 implicit in round description.
21909
702e8f14
UD
219102010-07-02 Ulrich Drepper <drepper@redhat.com>
21911
21912 * elf/Makefile: Fix linking for a few tests to make recent linker
21913 happy.
21914
52ed8be9
AS
219152010-06-30 Andreas Schwab <schwab@redhat.com>
21916
21917 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
21918 $(common-objpfx)libc_nonshared.a.
21919
f47c9a11
LM
219202010-06-21 Luis Machado <luisgpm@br.ibm.com>
21921
21922 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
21923 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
21924 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
21925 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
21926 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
21927 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
21928 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
21929 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
21930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
21931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
21932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
21933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
21934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
21935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
21936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
21937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
21938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
21939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
21940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
21941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
21942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
21943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
21944 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
21945 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
21946 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
21947 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
21948 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
21949 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
21950 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
21951 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
21952 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
21953 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
21954 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
21955 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
21956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
21957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
21958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
21959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
21960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
21961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
21962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
21963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
21964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
21965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
21966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
21967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
21968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
21969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
21970
6fb8cbcb
L
219712010-06-25 H.J. Lu <hongjiu.lu@intel.com>
21972
21973 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
21974 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
21975 * string/memmove.c (memmove): Renamed to ...
21976 (MEMMOVE): ...this. Default to memmove.
21977 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
21978 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
21979 (END_CHK): Define.
21980 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21981 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
21982 mempcpy-ssse3-back memmove-ssse3-back.
21983 * sysdeps/x86_64/multiarch/bcopy.S: New file .
21984 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
21985 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
21986 * sysdeps/x86_64/multiarch/memcpy.S: New file.
21987 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
21988 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
21989 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
21990 * sysdeps/x86_64/multiarch/memmove.c: New file.
21991 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
21992 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
21993 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
21994 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
21995 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
21996 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
21997 Define.
21998 (index_Fast_Copy_Backward): Define.
21999 (HAS_ARCH_FEATURE): Define.
22000 (HAS_FAST_REP_STRING): Define.
22001 (HAS_FAST_COPY_BACKWARD): Define.
22002
4e733bac 220032010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
22004
22005 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22006 Restore proper fallback handling.
22007
63c4ed22
UD
220082010-06-19 Ulrich Drepper <drepper@redhat.com>
22009
ac2b484c
UD
22010 [BZ #11701]
22011 * posix/group_member.c (__group_member): Correct checking loop.
22012
63c4ed22
UD
22013 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
22014 OOM in getpwuid_r correctly. Return error number when the caller
22015 should return, otherwise -1.
22016 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
22017 call returning > 0 value.
22018 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
22019
765ade4b
AS
220202010-06-07 Andreas Schwab <schwab@redhat.com>
22021
22022 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
22023 libc_nonshared.a from targets in modules-names.
22024
80da2e09
KS
220252010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
22026
22027 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
22028 requires it.
22029
158db122
LM
220302010-06-10 Luis Machado <luisgpm@br.ibm.com>
22031
22032 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
22033 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
22034 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
22035 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
22036
caa78cf8
AS
220372010-06-02 Andreas Schwab <schwab@redhat.com>
22038
22039 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
22040
b2ef2c01
UD
220412010-06-14 Ulrich Drepper <drepper@redhat.com>
22042
22043 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
22044 and F_GETPIPE_SZ.
22045 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22046 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22047 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22048 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22049 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22050 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
22051
fbd643b6
RM
220522010-06-14 Roland McGrath <roland@redhat.com>
22053
22054 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
22055
f32f2869
JJ
220562010-06-07 Jakub Jelinek <jakub@redhat.com>
22057
22058 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
22059 __REDIRECT followed by __THROW.
22060 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
22061 * posix/getopt.h (getopt): Likewise.
22062
2a50c078
EPM
220632010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22064
22065 * hurd/lookup-at.c (__file_name_lookup_at): Accept
22066 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
22067 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
22068 in AT_FLAGS.
22069 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
22070 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
22071
eb5ad2eb
LM
220722010-05-28 Luis Machado <luisgpm@br.ibm.com>
22073
22074 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
22075
3c88fe1e
L
220762010-05-26 H.J. Lu <hongjiu.lu@intel.com>
22077
22078 [BZ #11640]
22079 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22080 Properly check family and model.
22081
d2f73151
TY
220822010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
22083
22084 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
22085
ebd2e13d
LM
220862010-05-24 Luis Machado <luisgpm@br.ibm.com>
22087
22088 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
22089
b32b8b45
UD
220902010-05-21 Ulrich Drepper <drepper@redhat.com>
22091
22092 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
22093 symbol reference.
22094
9acbe24d
AS
220952010-05-19 Andreas Schwab <schwab@redhat.com>
22096
22097 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
22098 symbol reference.
22099
f0ccf6ea
AS
221002010-05-21 Andreas Schwab <schwab@redhat.com>
22101
3d04ff3a
AS
22102 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
22103 and internal_recvmmsg.
22104 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
22105 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
22106 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
22107 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
22108
f0ccf6ea
AS
22109 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
22110 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22111 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22112
5b08ac57
AS
221132010-05-20 Andreas Schwab <schwab@redhat.com>
22114
22115 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
22116
4828935d
LM
221172010-05-17 Luis Machado <luisgpm@br.ibm.com>
22118
22119 POWER7 optimizations.
22120 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
22121 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
22122
373d545e
UD
221232010-05-19 Ulrich Drepper <drepper@redhat.com>
22124
22125 * version.h: Update for 2.13 development version.
22126
21a2b1ae
AS
221272010-05-12 Andrew Stubbs <ams@codesourcery.com>
22128
22129 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
22130 exceptions. Return 0.
22131
3f7dcb2b
RM
221322010-05-07 Roland McGrath <roland@redhat.com>
22133
22134 * elf/ldconfig.c (main): Add a const.
22135
5f24d53a 221362010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 22137
a160f8d8
UD
22138 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
22139 (args_options): Add no-idn option.
22140 (ahosts_keys_int): Add idn_flags to ai_flags.
22141 (parse_option): Handle 'i' option to clear idn_flags.
22142
5f24d53a
UD
22143 * malloc/malloc.c (_int_free): Possible race in the most recently
22144 added check. Only act on the data if no current modification
22145 happened.
265bb1ce
UD
22146
22147See ChangeLog.17 for earlier changes.
This page took 2.888118 seconds and 5 git commands to generate.