]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Also run tst-xmmymm.sh on i386 ld.so
[thirdparty/glibc.git] / ChangeLog
CommitLineData
eb48db7e
L
12012-11-07 H.J. Lu <hongjiu.lu@intel.com>
2
3 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
4 * sysdeps/x86/Makefile: Here.
5 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
6 * sysdeps/x86/tst-xmmymm.sh: This.
7
05bcf62a
JM
82012-11-07 Joseph Myers <joseph@codesourcery.com>
9
c4b6cf53
JM
10 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
11 expectations.
12 [UNIX98] (pthread_barrier_t): Do not expect.
13 [UNIX98] (pthread_barrierattr_t): Likewise.
14 [UNIX98] (pthread_spinlock_t): Likewise.
15 [UNIX98] (pthread_barrier_destroy): Likewise.
16 [UNIX98] (pthread_barrier_init): Likewise.
17 [UNIX98] (pthread_barrier_wait): Likewise.
18 [UNIX98] (pthread_barrierattr_destroy): Likewise.
19 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
20 [UNIX98] (pthread_barrierattr_init): Likewise.
21 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
22 [UNIX98] (pthread_getcpuclockid): Likewise.
23 [UNIX98] (pthread_mutex_timedlock): Likewise.
24 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
25 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
26 [UNIX98] (pthread_sigmask): Likewise.
27 [UNIX98] (pthread_spin_destroy): Likewise.
28 [UNIX98] (pthread_spin_init): Likewise.
29 [UNIX98] (pthread_spin_lock): Likewise.
30 [UNIX98] (pthread_spin_trylock): Likewise.
31 [UNIX98] (pthread_spin_unlock): Likewise.
32 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
33 Do not expect.
34 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
35 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
36 [XPG3 || XPG4] (pthread_cond_t): Likewise.
37 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
38 [XPG3 || XPG4] (pthread_key_t): Likewise.
39 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
40 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
41 [XPG3 || XPG4] (pthread_once_t): Likewise.
42 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
43 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
44 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
45 [XPG3 || XPG4] (pthread_t): Likewise.
46
cbe6e120
JM
47 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
48 not expect.
49 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
50
1b126443
JM
51 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
52 Change function return type to int.
53
b961a573
JM
54 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
55 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
56 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
57 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
58 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
59 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
60 [!POSIX] (posix_madvise): Likewise.
61 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
62 && !UNIX98].
63 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
64 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
65 (mode_t): Likewise.
66 (posix_mem_offset): Likewise.
67 (posix_typed_mem_get_info): Likewise.
68 (posix_typed_mem_open): Likewise.
69
9e188909
JM
70 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
71 Change condition to [XOPEN2K8].
72
05bcf62a
JM
73 * conform/conformtest.pl: Preprocess allow-header data with -x c
74 instead of from stdin.
75 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
76 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
77 [C99-based standards] (cerfc): Likewise.
78 [C99-based standards] (cexp2): Likewise.
79 [C99-based standards] (cexpm1): Likewise.
80 [C99-based standards] (clog10): Likewise.
81 [C99-based standards] (clog1p): Likewise.
82 [C99-based standards] (clog2): Likewise.
83 [C99-based standards] (clgamma): Likewise.
84 [C99-based standards] (ctgamma): Likewise.
85 [C99-based standards] (cerff): Likewise.
86 [C99-based standards] (cerfcf): Likewise.
87 [C99-based standards] (cexp2f): Likewise.
88 [C99-based standards] (cexpm1f): Likewise.
89 [C99-based standards] (clog10f): Likewise.
90 [C99-based standards] (clog1pf): Likewise.
91 [C99-based standards] (clog2f): Likewise.
92 [C99-based standards] (clgammaf): Likewise.
93 [C99-based standards] (ctgammaf): Likewise.
94 [C99-based standards] (cerfl): Likewise.
95 [C99-based standards] (cerfcl): Likewise.
96 [C99-based standards] (cexp2l): Likewise.
97 [C99-based standards] (cexpm1l): Likewise.
98 [C99-based standards] (clog10l): Likewise.
99 [C99-based standards] (clog1pl): Likewise.
100 [C99-based standards] (clog2l): Likewise.
101 [C99-based standards] (clgammal): Likewise.
102 [C99-based standards] (ctgammal): Likewise.
103 * conform/data/inttypes.h-data [C99-based standards]: Include
104 stdint.h-data. Remove all expectations for stdint.h contents.
105 [C99-based standards] (PRI*): Do not allow.
106 [C99-based standards] (SCN*): Likewise.
107 [C99-based standards] (*_t): Likewise.
108 [C99-based-standards] (PRId8): Expect macro.
109 [C99-based-standards] (PRIi8): Likewise.
110 [C99-based-standards] (PRIo8): Likewise.
111 [C99-based-standards] (PRIu8): Likewise.
112 [C99-based-standards] (PRIx8): Likewise.
113 [C99-based-standards] (PRIX8): Likewise.
114 [C99-based-standards] (SCNd8): Likewise.
115 [C99-based-standards] (SCNi8): Likewise.
116 [C99-based-standards] (SCNo8): Likewise.
117 [C99-based-standards] (SCNu8): Likewise.
118 [C99-based-standards] (SCNx8): Likewise.
119 [C99-based-standards] (PRIdLEAST8): Likewise.
120 [C99-based-standards] (PRIiLEAST8): Likewise.
121 [C99-based-standards] (PRIoLEAST8): Likewise.
122 [C99-based-standards] (PRIuLEAST8): Likewise.
123 [C99-based-standards] (PRIxLEAST8): Likewise.
124 [C99-based-standards] (PRIXLEAST8): Likewise.
125 [C99-based-standards] (SCNdLEAST8): Likewise.
126 [C99-based-standards] (SCNiLEAST8): Likewise.
127 [C99-based-standards] (SCNoLEAST8): Likewise.
128 [C99-based-standards] (SCNuLEAST8): Likewise.
129 [C99-based-standards] (SCNxLEAST8): Likewise.
130 [C99-based-standards] (PRIdFAST8): Likewise.
131 [C99-based-standards] (PRIiFAST8): Likewise.
132 [C99-based-standards] (PRIoFAST8): Likewise.
133 [C99-based-standards] (PRIuFAST8): Likewise.
134 [C99-based-standards] (PRIxFAST8): Likewise.
135 [C99-based-standards] (PRIXFAST8): Likewise.
136 [C99-based-standards] (SCNdFAST8): Likewise.
137 [C99-based-standards] (SCNiFAST8): Likewise.
138 [C99-based-standards] (SCNoFAST8): Likewise.
139 [C99-based-standards] (SCNuFAST8): Likewise.
140 [C99-based-standards] (SCNxFAST8): Likewise.
141 [C99-based-standards] (PRId16): Likewise.
142 [C99-based-standards] (PRIi16): Likewise.
143 [C99-based-standards] (PRIo16): Likewise.
144 [C99-based-standards] (PRIu16): Likewise.
145 [C99-based-standards] (PRIx16): Likewise.
146 [C99-based-standards] (PRIX16): Likewise.
147 [C99-based-standards] (SCNd16): Likewise.
148 [C99-based-standards] (SCNi16): Likewise.
149 [C99-based-standards] (SCNo16): Likewise.
150 [C99-based-standards] (SCNu16): Likewise.
151 [C99-based-standards] (SCNx16): Likewise.
152 [C99-based-standards] (PRIdLEAST16): Likewise.
153 [C99-based-standards] (PRIiLEAST16): Likewise.
154 [C99-based-standards] (PRIoLEAST16): Likewise.
155 [C99-based-standards] (PRIuLEAST16): Likewise.
156 [C99-based-standards] (PRIxLEAST16): Likewise.
157 [C99-based-standards] (PRIXLEAST16): Likewise.
158 [C99-based-standards] (SCNdLEAST16): Likewise.
159 [C99-based-standards] (SCNiLEAST16): Likewise.
160 [C99-based-standards] (SCNoLEAST16): Likewise.
161 [C99-based-standards] (SCNuLEAST16): Likewise.
162 [C99-based-standards] (SCNxLEAST16): Likewise.
163 [C99-based-standards] (PRIdFAST16): Likewise.
164 [C99-based-standards] (PRIiFAST16): Likewise.
165 [C99-based-standards] (PRIoFAST16): Likewise.
166 [C99-based-standards] (PRIuFAST16): Likewise.
167 [C99-based-standards] (PRIxFAST16): Likewise.
168 [C99-based-standards] (PRIXFAST16): Likewise.
169 [C99-based-standards] (SCNdFAST16): Likewise.
170 [C99-based-standards] (SCNiFAST16): Likewise.
171 [C99-based-standards] (SCNoFAST16): Likewise.
172 [C99-based-standards] (SCNuFAST16): Likewise.
173 [C99-based-standards] (SCNxFAST16): Likewise.
174 [C99-based-standards] (PRId32): Likewise.
175 [C99-based-standards] (PRIi32): Likewise.
176 [C99-based-standards] (PRIo32): Likewise.
177 [C99-based-standards] (PRIu32): Likewise.
178 [C99-based-standards] (PRIx32): Likewise.
179 [C99-based-standards] (PRIX32): Likewise.
180 [C99-based-standards] (SCNd32): Likewise.
181 [C99-based-standards] (SCNi32): Likewise.
182 [C99-based-standards] (SCNo32): Likewise.
183 [C99-based-standards] (SCNu32): Likewise.
184 [C99-based-standards] (SCNx32): Likewise.
185 [C99-based-standards] (PRIdLEAST32): Likewise.
186 [C99-based-standards] (PRIiLEAST32): Likewise.
187 [C99-based-standards] (PRIoLEAST32): Likewise.
188 [C99-based-standards] (PRIuLEAST32): Likewise.
189 [C99-based-standards] (PRIxLEAST32): Likewise.
190 [C99-based-standards] (PRIXLEAST32): Likewise.
191 [C99-based-standards] (SCNdLEAST32): Likewise.
192 [C99-based-standards] (SCNiLEAST32): Likewise.
193 [C99-based-standards] (SCNoLEAST32): Likewise.
194 [C99-based-standards] (SCNuLEAST32): Likewise.
195 [C99-based-standards] (SCNxLEAST32): Likewise.
196 [C99-based-standards] (PRIdFAST32): Likewise.
197 [C99-based-standards] (PRIiFAST32): Likewise.
198 [C99-based-standards] (PRIoFAST32): Likewise.
199 [C99-based-standards] (PRIuFAST32): Likewise.
200 [C99-based-standards] (PRIxFAST32): Likewise.
201 [C99-based-standards] (PRIXFAST32): Likewise.
202 [C99-based-standards] (SCNdFAST32): Likewise.
203 [C99-based-standards] (SCNiFAST32): Likewise.
204 [C99-based-standards] (SCNoFAST32): Likewise.
205 [C99-based-standards] (SCNuFAST32): Likewise.
206 [C99-based-standards] (SCNxFAST32): Likewise.
207 [C99-based-standards] (PRId64): Likewise.
208 [C99-based-standards] (PRIi64): Likewise.
209 [C99-based-standards] (PRIo64): Likewise.
210 [C99-based-standards] (PRIu64): Likewise.
211 [C99-based-standards] (PRIx64): Likewise.
212 [C99-based-standards] (PRIX64): Likewise.
213 [C99-based-standards] (SCNd64): Likewise.
214 [C99-based-standards] (SCNi64): Likewise.
215 [C99-based-standards] (SCNo64): Likewise.
216 [C99-based-standards] (SCNu64): Likewise.
217 [C99-based-standards] (SCNx64): Likewise.
218 [C99-based-standards] (PRIdLEAST64): Likewise.
219 [C99-based-standards] (PRIiLEAST64): Likewise.
220 [C99-based-standards] (PRIoLEAST64): Likewise.
221 [C99-based-standards] (PRIuLEAST64): Likewise.
222 [C99-based-standards] (PRIxLEAST64): Likewise.
223 [C99-based-standards] (PRIXLEAST64): Likewise.
224 [C99-based-standards] (SCNdLEAST64): Likewise.
225 [C99-based-standards] (SCNiLEAST64): Likewise.
226 [C99-based-standards] (SCNoLEAST64): Likewise.
227 [C99-based-standards] (SCNuLEAST64): Likewise.
228 [C99-based-standards] (SCNxLEAST64): Likewise.
229 [C99-based-standards] (PRIdFAST64): Likewise.
230 [C99-based-standards] (PRIiFAST64): Likewise.
231 [C99-based-standards] (PRIoFAST64): Likewise.
232 [C99-based-standards] (PRIuFAST64): Likewise.
233 [C99-based-standards] (PRIxFAST64): Likewise.
234 [C99-based-standards] (PRIXFAST64): Likewise.
235 [C99-based-standards] (SCNdFAST64): Likewise.
236 [C99-based-standards] (SCNiFAST64): Likewise.
237 [C99-based-standards] (SCNoFAST64): Likewise.
238 [C99-based-standards] (SCNuFAST64): Likewise.
239 [C99-based-standards] (SCNxFAST64): Likewise.
240 [C99-based-standards] (PRIdMAX): Likewise.
241 [C99-based-standards] (PRIiMAX): Likewise.
242 [C99-based-standards] (PRIoMAX): Likewise.
243 [C99-based-standards] (PRIuMAX): Likewise.
244 [C99-based-standards] (PRIxMAX): Likewise.
245 [C99-based-standards] (PRIXMAX): Likewise.
246 [C99-based-standards] (SCNdMAX): Likewise.
247 [C99-based-standards] (SCNiMAX): Likewise.
248 [C99-based-standards] (SCNoMAX): Likewise.
249 [C99-based-standards] (SCNuMAX): Likewise.
250 [C99-based-standards] (SCNxMAX): Likewise.
251 [C99-based-standards] (PRIdPTR): Likewise.
252 [C99-based-standards] (PRIiPTR): Likewise.
253 [C99-based-standards] (PRIoPTR): Likewise.
254 [C99-based-standards] (PRIuPTR): Likewise.
255 [C99-based-standards] (PRIxPTR): Likewise.
256 [C99-based-standards] (PRIXPTR): Likewise.
257 [C99-based-standards] (SCNdPTR): Likewise.
258 [C99-based-standards] (SCNiPTR): Likewise.
259 [C99-based-standards] (SCNoPTR): Likewise.
260 [C99-based-standards] (SCNuPTR): Likewise.
261 [C99-based-standards] (SCNxPTR): Likewise.
262 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
263 allow.
264 * conform/data/stdint.h-data: Update comments to clarify
265 requirements.
266 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
267 type.
268 [C99-based standards] (INT8_MAX): Likewise.
269 [C99-based standards] (INT16_MIN): Likewise.
270 [C99-based standards] (INT16_MAX): Likewise.
271 [C99-based standards] (INT32_MIN): Likewise.
272 [C99-based standards] (INT32_MAX): Likewise.
273 [C99-based standards] (INT64_MIN): Likewise.
274 [C99-based standards] (INT64_MAX): Likewise.
275 [C99-based standards] (UINT8_MAX): Likewise.
276 [C99-based standards] (UINT16_MAX): Likewise.
277 [C99-based standards] (UINT32_MAX): Likewise.
278 [C99-based standards] (UINT64_MAX): Likewise.
279 [C99-based standards] (INT_LEAST8_MIN): Likewise.
280 [C99-based standards] (INT_LEAST8_MAX): Likewise.
281 [C99-based standards] (INT_LEAST16_MIN): Likewise.
282 [C99-based standards] (INT_LEAST16_MAX): Likewise.
283 [C99-based standards] (INT_LEAST32_MIN): Likewise.
284 [C99-based standards] (INT_LEAST32_MAX): Likewise.
285 [C99-based standards] (INT_LEAST64_MIN): Likewise.
286 [C99-based standards] (INT_LEAST64_MAX): Likewise.
287 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
288 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
289 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
290 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
291 [C99-based standards] (INT_FAST8_MIN): Likewise.
292 [C99-based standards] (INT_FAST8_MAX): Likewise.
293 [C99-based standards] (INT_FAST16_MIN): Likewise.
294 [C99-based standards] (INT_FAST16_MAX): Likewise.
295 [C99-based standards] (INT_FAST32_MIN): Likewise.
296 [C99-based standards] (INT_FAST32_MAX): Likewise.
297 [C99-based standards] (INT_FAST64_MIN): Likewise.
298 [C99-based standards] (INT_FAST64_MAX): Likewise.
299 [C99-based standards] (UINT_FAST8_MAX): Likewise.
300 [C99-based standards] (UINT_FAST16_MAX): Likewise.
301 [C99-based standards] (UINT_FAST32_MAX): Likewise.
302 [C99-based standards] (UINT_FAST64_MAX): Likewise.
303 [C99-based standards] (INTPTR_MIN): Likewise.
304 [C99-based standards] (INTPTR_MAX): Likewise.
305 [C99-based standards] (UINTPTR_MAX): Likewise.
306 [C99-based standards] (INTMAX_MIN): Likewise.
307 [C99-based standards] (INTMAX_MAX): Likewise.
308 [C99-based standards] (UINTMAX_MAX): Likewise.
309 [C99-based standards] (PTRDIFF_MIN): Likewise.
310 [C99-based standards] (PTRDIFF_MAX): Likewise.
311 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
312 [C99-based standards] (SIZE_MAX): Likewise.
313 [C99-based standards] (WCHAR_MAX): Likewise.
314 [C99-based standards] (WINT_MAX): Likewise.
315 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
316 constraint on value.
317 [C99-based standards] (WCHAR_MIN): Likewise.
318 [C99-based standards] (WINT_MIN): Likewise.
319 [C99-based standards] (*_t): Allow.
320 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
321 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
322 Include math.h-data and complex.h-data. Remove all expectations
323 of math.h and complex.h contents.
324 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
325 at end of line.
326 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
327 (struct tm): Expect tag.
328 [C99-based-standards] (wcstof): Expect function.
329 [C99-based-standards] (wcstold): Likewise.
330 [C99-based-standards] (wcstoll): Likewise.
331 [C99-based-standards] (wcstoull): Likewise.
332 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
333 macro-int-constant. Specify type.
334 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
335 constraint on value.
336 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
337 Specify type.
338 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
339 Specify value.
340 [ISO C standards]: Do not allow headers.
341 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
342 wcs[abcdefghijklmnopqrstuvwxyz]*.
343 [ISO C standards] (*_t): Do not allow.
344 * conform/data/wctype.h-data [C99-based standards] (iswblank):
345 Expect function.
346 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
347 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
348 Specify type.
349 [ISO C standards]: Do not allow headers.
350 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
351 is[abcdefghijklmnopqrstuvwxyz]*.
352 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
353 to[abcdefghijklmnopqrstuvwxyz]*.
354 [ISO C standards] (*_t): Do not allow.
355 * conform/data/stdalign.h-data: New file.
356 * conform/data/stdbool.h-data: Likewise.
357 * conform/data/stdnoreturn.h-data: Likewise.
358
01f34a3b
JL
3592012-11-07 Andreas Jaeger <aj@suse.de>
360
361 [BZ #14809]
362 * sysdeps/unix/sysv/linux/sys/sysctl.h (_UAPI_LINUX_KERNEL_H)
363 (_UAPI_LINUX_TYPES_H): Starting with Linux 3.7, the include header
364 guards are changed. Only define if not yet defined, #undef back
365 after including linux/sysctl.h if defined here.
366
7514feb8
RM
3672012-11-07 Roland McGrath <roland@hack.frob.com>
368
369 [BZ #14815]
370 * manual/filesys.texi (Directory Entries): Typo fix.
371 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
372
19b2ecfc
MS
3732012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
374
375 * elf/elf.h (EM_AARCH64): New macro.
376 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
377 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
378 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
379 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
380 (R_AARCH64_TLSDESC): Likewise.
381 (NT_ARM_TLS): Likewise.
382 (NT_ARM_HW_BREAK): Likewise.
383 (NT_ARM_HW_WATCH): Likewise.
384
60e235ee
JM
3852012-11-07 Joseph Myers <joseph@codesourcery.com>
386
387 [BZ #14811]
388 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
389 (__ieee754_powl): Saturate nonzero exponents with absolute value
390 below 0x1p-79 to +/- 0x1p-79.
391 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
392 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
393 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
394 nonzero exponents with absolute value below 0x1p-32 to +/-
395 0x1p-32.
396 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
397 (__ieee754_powl): Saturate nonzero exponents with absolute value
398 below 0x1p-79 to +/- 0x1p-79.
399 * math/libm-test.inc (pow_test): Add more tests.
400
0ab234b7
AK
4012012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
402
403 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
404 _dl_s390_cap_flags with kernel. Increase string length.
405 (_dl_s390_platforms): Add z196 and zEC12.
406
45832f74
JM
4072012-11-07 Joseph Myers <joseph@codesourcery.com>
408
409 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
410 Change XOPEN21K to XOPEN2K.
411
19218757
MK
4122012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
413
414 * string/memmove.c: Use memcpy when possible.
415
c5f45721
AJ
4162012-11-06 Andreas Jaeger <aj@suse.de>
417
418 * po/eo.po: Update from translation team.
419
82477c28
JM
4202012-11-06 Joseph Myers <joseph@codesourcery.com>
421
422 [BZ #14793]
423 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
424 exponent and small x and y exponents, scale x or y up. Increase
425 by 2 the exponent used in scaling up.
426 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
427 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
428 * math/libm-test.inc (fma_test): Add more tests.
429 (fma_test_towardzero): Likewise.
430 (fma_test_downward): Likewise.
431 (fma_test_upward): Likewise.
432
99252c8c
JM
4332012-11-05 Joseph Myers <joseph@codesourcery.com>
434
acfa885f
JM
435 [BZ #14805]
436 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
437 fenv_t *.
438
99252c8c
JM
439 [BZ #14801]
440 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
441 namespace for names of struct fields.
442 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
443 fenv_t fields.
444 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
445 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
446
d6d98dea
ST
4472012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
448
449 [BZ #3665]
450 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
451
e10bb107
TS
4522012-11-04 Thomas Schwinge <thomas@codesourcery.com>
453
454 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
455 PTR_DEMANGLE.
456
457 [BZ #5246]
458 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
459 PTR_DEMANGLE.
460
a0c2940d
JM
4612012-11-04 Joseph Myers <joseph@codesourcery.com>
462
463 [BZ #14797]
464 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
465 definitely overflow as x * y not x * y + z.
466 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
467 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
468 * math/libm-test.inc (fma_test): Add more tests.
469 (fma_test_towardzero): Likewise.
470 (fma_test_downward): Likewise.
471 (fma_test_upward): Likewise.
472
b830319d
TS
4732012-11-04 Thomas Schwinge <thomas@codesourcery.com>
474
475 [BZ #157]
476
477 * include/stub-tag.h: Remove file.
478 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
479 '#include' of it.
480 * manual/maint.texi (Porting): Don't reference it.
481 * Makerules ($(objpfx)stubs): Likewise.
482 * dirent/closedir.c: Don't include <stub-tag.h>.
483 * dirent/dirfd.c: Likewise.
484 * dirent/fdopendir.c: Likewise.
485 * dirent/getdents.c: Likewise.
486 * dirent/getdents64.c: Likewise.
487 * dirent/opendir.c: Likewise.
488 * dirent/readdir.c: Likewise.
489 * dirent/readdir64.c: Likewise.
490 * dirent/readdir64_r.c: Likewise.
491 * dirent/readdir_r.c: Likewise.
492 * dirent/rewinddir.c: Likewise.
493 * dirent/seekdir.c: Likewise.
494 * dirent/telldir.c: Likewise.
495 * gmon/profil.c: Likewise.
496 * grp/setgroups.c: Likewise.
497 * inet/if_index.c: Likewise.
498 * io/access.c: Likewise.
499 * io/chdir.c: Likewise.
500 * io/chmod.c: Likewise.
501 * io/chown.c: Likewise.
502 * io/close.c: Likewise.
503 * io/dup.c: Likewise.
504 * io/dup2.c: Likewise.
505 * io/dup3.c: Likewise.
506 * io/euidaccess.c: Likewise.
507 * io/faccessat.c: Likewise.
508 * io/fchdir.c: Likewise.
509 * io/fchmod.c: Likewise.
510 * io/fchmodat.c: Likewise.
511 * io/fchown.c: Likewise.
512 * io/fchownat.c: Likewise.
513 * io/fcntl.c: Likewise.
514 * io/flock.c: Likewise.
515 * io/fstatfs.c: Likewise.
516 * io/fstatfs64.c: Likewise.
517 * io/fstatvfs.c: Likewise.
518 * io/fstatvfs64.c: Likewise.
519 * io/futimens.c: Likewise.
520 * io/fxstat.c: Likewise.
521 * io/fxstat64.c: Likewise.
522 * io/fxstatat.c: Likewise.
523 * io/fxstatat64.c: Likewise.
524 * io/getcwd.c: Likewise.
525 * io/isatty.c: Likewise.
526 * io/lchmod.c: Likewise.
527 * io/lchown.c: Likewise.
528 * io/link.c: Likewise.
529 * io/linkat.c: Likewise.
530 * io/lseek.c: Likewise.
531 * io/lseek64.c: Likewise.
532 * io/lxstat64.c: Likewise.
533 * io/mkdir.c: Likewise.
534 * io/mkdirat.c: Likewise.
535 * io/mkfifo.c: Likewise.
536 * io/mkfifoat.c: Likewise.
537 * io/open.c: Likewise.
538 * io/open64.c: Likewise.
539 * io/openat.c: Likewise.
540 * io/openat64.c: Likewise.
541 * io/pipe.c: Likewise.
542 * io/pipe2.c: Likewise.
543 * io/poll.c: Likewise.
544 * io/posix_fadvise.c: Likewise.
545 * io/posix_fadvise64.c: Likewise.
546 * io/posix_fallocate.c: Likewise.
547 * io/posix_fallocate64.c: Likewise.
548 * io/read.c: Likewise.
549 * io/readlink.c: Likewise.
550 * io/readlinkat.c: Likewise.
551 * io/rmdir.c: Likewise.
552 * io/sendfile.c: Likewise.
553 * io/sendfile64.c: Likewise.
554 * io/statfs.c: Likewise.
555 * io/statfs64.c: Likewise.
556 * io/statvfs.c: Likewise.
557 * io/statvfs64.c: Likewise.
558 * io/symlink.c: Likewise.
559 * io/symlinkat.c: Likewise.
560 * io/ttyname.c: Likewise.
561 * io/ttyname_r.c: Likewise.
562 * io/umask.c: Likewise.
563 * io/unlink.c: Likewise.
564 * io/unlinkat.c: Likewise.
565 * io/utime.c: Likewise.
566 * io/utimensat.c: Likewise.
567 * io/write.c: Likewise.
568 * io/xmknod.c: Likewise.
569 * io/xmknodat.c: Likewise.
570 * io/xstat.c: Likewise.
571 * io/xstat64.c: Likewise.
572 * login/getpt.c: Likewise.
573 * login/grantpt.c: Likewise.
574 * login/unlockpt.c: Likewise.
575 * math/e_acoshl.c: Likewise.
576 * math/e_acosl.c: Likewise.
577 * math/e_asinl.c: Likewise.
578 * math/e_atan2l.c: Likewise.
579 * math/e_atanhl.c: Likewise.
580 * math/e_coshl.c: Likewise.
581 * math/e_expl.c: Likewise.
582 * math/e_fmodl.c: Likewise.
583 * math/e_gammal_r.c: Likewise.
584 * math/e_hypotl.c: Likewise.
585 * math/e_j0l.c: Likewise.
586 * math/e_j1l.c: Likewise.
587 * math/e_jnl.c: Likewise.
588 * math/e_lgammal_r.c: Likewise.
589 * math/e_log10l.c: Likewise.
590 * math/e_log2l.c: Likewise.
591 * math/e_logl.c: Likewise.
592 * math/e_powl.c: Likewise.
593 * math/e_rem_pio2l.c: Likewise.
594 * math/e_sinhl.c: Likewise.
595 * math/e_sqrtl.c: Likewise.
596 * math/fclrexcpt.c: Likewise.
597 * math/fedisblxcpt.c: Likewise.
598 * math/feenablxcpt.c: Likewise.
599 * math/fegetenv.c: Likewise.
600 * math/fegetexcept.c: Likewise.
601 * math/fegetround.c: Likewise.
602 * math/feholdexcpt.c: Likewise.
603 * math/fesetenv.c: Likewise.
604 * math/fesetround.c: Likewise.
605 * math/feupdateenv.c: Likewise.
606 * math/fgetexcptflg.c: Likewise.
607 * math/fraiseexcpt.c: Likewise.
608 * math/fsetexcptflg.c: Likewise.
609 * math/ftestexcept.c: Likewise.
610 * math/k_cosl.c: Likewise.
611 * math/k_rem_pio2l.c: Likewise.
612 * math/k_sinl.c: Likewise.
613 * math/k_tanl.c: Likewise.
614 * math/s_asinhl.c: Likewise.
615 * math/s_atanl.c: Likewise.
616 * math/s_cbrtl.c: Likewise.
617 * math/s_erfl.c: Likewise.
618 * math/s_expm1l.c: Likewise.
619 * math/s_log1pl.c: Likewise.
620 * math/s_tanhl.c: Likewise.
621 * misc/acct.c: Likewise.
622 * misc/brk.c: Likewise.
623 * misc/chflags.c: Likewise.
624 * misc/chroot.c: Likewise.
625 * misc/fchflags.c: Likewise.
626 * misc/fgetxattr.c: Likewise.
627 * misc/flistxattr.c: Likewise.
628 * misc/fremovexattr.c: Likewise.
629 * misc/fsetxattr.c: Likewise.
630 * misc/fsync.c: Likewise.
631 * misc/ftruncate.c: Likewise.
632 * misc/futimes.c: Likewise.
633 * misc/futimesat.c: Likewise.
634 * misc/getdomain.c: Likewise.
635 * misc/getdtsz.c: Likewise.
636 * misc/gethostid.c: Likewise.
637 * misc/gethostname.c: Likewise.
638 * misc/getloadavg.c: Likewise.
639 * misc/getpagesize.c: Likewise.
640 * misc/getsysstats.c: Likewise.
641 * misc/getxattr.c: Likewise.
642 * misc/gtty.c: Likewise.
643 * misc/ioctl.c: Likewise.
644 * misc/lgetxattr.c: Likewise.
645 * misc/listxattr.c: Likewise.
646 * misc/llistxattr.c: Likewise.
647 * misc/lremovexattr.c: Likewise.
648 * misc/lsetxattr.c: Likewise.
649 * misc/lutimes.c: Likewise.
650 * misc/madvise.c: Likewise.
651 * misc/mincore.c: Likewise.
652 * misc/mlock.c: Likewise.
653 * misc/mlockall.c: Likewise.
654 * misc/mmap.c: Likewise.
655 * misc/mprotect.c: Likewise.
656 * misc/msync.c: Likewise.
657 * misc/munlock.c: Likewise.
658 * misc/munlockall.c: Likewise.
659 * misc/munmap.c: Likewise.
660 * misc/preadv.c: Likewise.
661 * misc/preadv64.c: Likewise.
662 * misc/ptrace.c: Likewise.
663 * misc/pwritev.c: Likewise.
664 * misc/pwritev64.c: Likewise.
665 * misc/readv.c: Likewise.
666 * misc/reboot.c: Likewise.
667 * misc/remap_file_pages.c: Likewise.
668 * misc/removexattr.c: Likewise.
669 * misc/revoke.c: Likewise.
670 * misc/select.c: Likewise.
671 * misc/setdomain.c: Likewise.
672 * misc/setegid.c: Likewise.
673 * misc/seteuid.c: Likewise.
674 * misc/sethostid.c: Likewise.
675 * misc/sethostname.c: Likewise.
676 * misc/setregid.c: Likewise.
677 * misc/setreuid.c: Likewise.
678 * misc/setxattr.c: Likewise.
679 * misc/sstk.c: Likewise.
680 * misc/stty.c: Likewise.
681 * misc/swapoff.c: Likewise.
682 * misc/swapon.c: Likewise.
683 * misc/sync.c: Likewise.
684 * misc/syncfs.c: Likewise.
685 * misc/syscall.c: Likewise.
686 * misc/truncate.c: Likewise.
687 * misc/ualarm.c: Likewise.
688 * misc/usleep.c: Likewise.
689 * misc/ustat.c: Likewise.
690 * misc/utimes.c: Likewise.
691 * misc/vhangup.c: Likewise.
692 * misc/writev.c: Likewise.
693 * posix/_exit.c: Likewise.
694 * posix/alarm.c: Likewise.
695 * posix/execve.c: Likewise.
696 * posix/fexecve.c: Likewise.
697 * posix/fork.c: Likewise.
698 * posix/fpathconf.c: Likewise.
699 * posix/getaddrinfo.c: Likewise.
700 * posix/getegid.c: Likewise.
701 * posix/geteuid.c: Likewise.
702 * posix/getgid.c: Likewise.
703 * posix/getgroups.c: Likewise.
704 * posix/getlogin.c: Likewise.
705 * posix/getlogin_r.c: Likewise.
706 * posix/getpgid.c: Likewise.
707 * posix/getpid.c: Likewise.
708 * posix/getppid.c: Likewise.
709 * posix/getresgid.c: Likewise.
710 * posix/getresuid.c: Likewise.
711 * posix/getsid.c: Likewise.
712 * posix/getuid.c: Likewise.
713 * posix/glob64.c: Likewise.
714 * posix/nanosleep.c: Likewise.
715 * posix/pathconf.c: Likewise.
716 * posix/pause.c: Likewise.
717 * posix/posix_madvise.c: Likewise.
718 * posix/pread.c: Likewise.
719 * posix/pread64.c: Likewise.
720 * posix/pwrite.c: Likewise.
721 * posix/pwrite64.c: Likewise.
722 * posix/sched_getaffinity.c: Likewise.
723 * posix/sched_getp.c: Likewise.
724 * posix/sched_gets.c: Likewise.
725 * posix/sched_primax.c: Likewise.
726 * posix/sched_primin.c: Likewise.
727 * posix/sched_rr_gi.c: Likewise.
728 * posix/sched_setaffinity.c: Likewise.
729 * posix/sched_setp.c: Likewise.
730 * posix/sched_sets.c: Likewise.
731 * posix/sched_yield.c: Likewise.
732 * posix/setgid.c: Likewise.
733 * posix/setlogin.c: Likewise.
734 * posix/setpgid.c: Likewise.
735 * posix/setresgid.c: Likewise.
736 * posix/setresuid.c: Likewise.
737 * posix/setsid.c: Likewise.
738 * posix/setuid.c: Likewise.
739 * posix/sleep.c: Likewise.
740 * posix/spawni.c: Likewise.
741 * posix/sysconf.c: Likewise.
742 * posix/times.c: Likewise.
743 * posix/wait.c: Likewise.
744 * posix/wait3.c: Likewise.
745 * posix/wait4.c: Likewise.
746 * posix/waitpid.c: Likewise.
747 * resolv/gai_sigqueue.c: Likewise.
748 * resource/getpriority.c: Likewise.
749 * resource/getrlimit.c: Likewise.
750 * resource/getrusage.c: Likewise.
751 * resource/nice.c: Likewise.
752 * resource/setpriority.c: Likewise.
753 * resource/setrlimit.c: Likewise.
754 * resource/ulimit.c: Likewise.
755 * rt/aio_cancel.c: Likewise.
756 * rt/aio_fsync.c: Likewise.
757 * rt/aio_read.c: Likewise.
758 * rt/aio_sigqueue.c: Likewise.
759 * rt/aio_suspend.c: Likewise.
760 * rt/aio_write.c: Likewise.
761 * rt/clock_getres.c: Likewise.
762 * rt/clock_gettime.c: Likewise.
763 * rt/clock_nanosleep.c: Likewise.
764 * rt/clock_settime.c: Likewise.
765 * rt/lio_listio.c: Likewise.
766 * rt/mq_close.c: Likewise.
767 * rt/mq_getattr.c: Likewise.
768 * rt/mq_notify.c: Likewise.
769 * rt/mq_open.c: Likewise.
770 * rt/mq_receive.c: Likewise.
771 * rt/mq_send.c: Likewise.
772 * rt/mq_setattr.c: Likewise.
773 * rt/mq_timedreceive.c: Likewise.
774 * rt/mq_timedsend.c: Likewise.
775 * rt/mq_unlink.c: Likewise.
776 * rt/shm_open.c: Likewise.
777 * rt/shm_unlink.c: Likewise.
778 * rt/timer_create.c: Likewise.
779 * rt/timer_delete.c: Likewise.
780 * rt/timer_getoverr.c: Likewise.
781 * rt/timer_gettime.c: Likewise.
782 * rt/timer_settime.c: Likewise.
783 * setjmp/__longjmp.c: Likewise.
784 * setjmp/setjmp.c: Likewise.
785 * signal/kill.c: Likewise.
786 * signal/killpg.c: Likewise.
787 * signal/raise.c: Likewise.
788 * signal/sigaction.c: Likewise.
789 * signal/sigaltstack.c: Likewise.
790 * signal/sigblock.c: Likewise.
791 * signal/sigignore.c: Likewise.
792 * signal/sigintr.c: Likewise.
793 * signal/signal.c: Likewise.
794 * signal/sigpause.c: Likewise.
795 * signal/sigpending.c: Likewise.
796 * signal/sigqueue.c: Likewise.
797 * signal/sigreturn.c: Likewise.
798 * signal/sigset.c: Likewise.
799 * signal/sigsetmask.c: Likewise.
800 * signal/sigstack.c: Likewise.
801 * signal/sigsuspend.c: Likewise.
802 * signal/sigtimedwait.c: Likewise.
803 * signal/sigvec.c: Likewise.
804 * signal/sigwait.c: Likewise.
805 * signal/sigwaitinfo.c: Likewise.
806 * signal/sysv_signal.c: Likewise.
807 * socket/accept.c: Likewise.
808 * socket/accept4.c: Likewise.
809 * socket/bind.c: Likewise.
810 * socket/connect.c: Likewise.
811 * socket/getpeername.c: Likewise.
812 * socket/getsockname.c: Likewise.
813 * socket/getsockopt.c: Likewise.
814 * socket/isfdtype.c: Likewise.
815 * socket/listen.c: Likewise.
816 * socket/recv.c: Likewise.
817 * socket/recvfrom.c: Likewise.
818 * socket/recvmsg.c: Likewise.
819 * socket/send.c: Likewise.
820 * socket/sendmsg.c: Likewise.
821 * socket/sendto.c: Likewise.
822 * socket/setsockopt.c: Likewise.
823 * socket/shutdown.c: Likewise.
824 * socket/sockatmark.c: Likewise.
825 * socket/socket.c: Likewise.
826 * socket/socketpair.c: Likewise.
827 * stdio-common/ctermid.c: Likewise.
828 * stdio-common/cuserid.c: Likewise.
829 * stdio-common/remove.c: Likewise.
830 * stdio-common/rename.c: Likewise.
831 * stdio-common/renameat.c: Likewise.
832 * stdio-common/tempname.c: Likewise.
833 * stdlib/getcontext.c: Likewise.
834 * stdlib/makecontext.c: Likewise.
835 * stdlib/setcontext.c: Likewise.
836 * stdlib/swapcontext.c: Likewise.
837 * stdlib/system.c: Likewise.
838 * streams/fattach.c: Likewise.
839 * streams/fdetach.c: Likewise.
840 * streams/getmsg.c: Likewise.
841 * streams/getpmsg.c: Likewise.
842 * streams/putmsg.c: Likewise.
843 * streams/putpmsg.c: Likewise.
844 * sysdeps/unix/bsd/getpt.c: Likewise.
845 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
846 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
847 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
849 Likewise.
850 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
851 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
852 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
853 * sysvipc/msgctl.c: Likewise.
854 * sysvipc/msgget.c: Likewise.
855 * sysvipc/msgrcv.c: Likewise.
856 * sysvipc/msgsnd.c: Likewise.
857 * sysvipc/semctl.c: Likewise.
858 * sysvipc/semget.c: Likewise.
859 * sysvipc/semop.c: Likewise.
860 * sysvipc/semtimedop.c: Likewise.
861 * sysvipc/shmat.c: Likewise.
862 * sysvipc/shmctl.c: Likewise.
863 * sysvipc/shmdt.c: Likewise.
864 * sysvipc/shmget.c: Likewise.
865 * termios/tcdrain.c: Likewise.
866 * termios/tcflow.c: Likewise.
867 * termios/tcflush.c: Likewise.
868 * termios/tcgetattr.c: Likewise.
869 * termios/tcgetpgrp.c: Likewise.
870 * termios/tcsendbrk.c: Likewise.
871 * termios/tcsetattr.c: Likewise.
872 * termios/tcsetpgrp.c: Likewise.
873 * time/adjtime.c: Likewise.
874 * time/clock.c: Likewise.
875 * time/getitimer.c: Likewise.
876 * time/gettimeofday.c: Likewise.
877 * time/setitimer.c: Likewise.
878 * time/settimeofday.c: Likewise.
879 * time/stime.c: Likewise.
880 * time/time.c: Likewise.
881
8822012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 883
a20492cf
PT
884 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
885 /usr/old/bin.
886
72e182e3
PT
887 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
888 instead of spaces.
889 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
890
fbeafede
JM
8912012-11-03 Joseph Myers <joseph@codesourcery.com>
892
5b5b04d6
JM
893 [BZ #14796]
894 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
895 FE_TONEAREST before applying Dekker multiplication and Knuth
896 addition. Clear inexact exceptions and check for exact zero
897 results afterwards.
898 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
899 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
900 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
901 * math/libm-test.inc (fma_test): Add more tests.
902 (fma_test_towardzero): Likewise.
903 (fma_test_downward): Likewise.
904 (fma_test_upward): Likewise.
905 * sysdeps/generic/math_private.h (default_libc_fesetround): New
906 function.
907 (libc_fesetround): New macro.
908 (libc_fesetroundf): Likewise.
909 (libc_fesetroundl): Likewise.
910 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
911 function.
912 (libc_fesetround_387): Likewise.
913 (libc_fesetroundf): New macro.
914 (libc_fesetround): Likewise.
915 (libc_fesetroundl): Likewise.
916 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
917 function.
918 (libc_fesetroundf): New macro.
919 (libc_fesetround): Likewise.
920 (libc_fesetroundl): Likewise.
921 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
922 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
923 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
924 libm_hidden_ver.
925 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
926 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
927 libm_hidden_def.
928 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
929 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
930 libm_hidden_ver.
931 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
932 libm_hidden_def.
933
fbeafede
JM
934 [BZ #3439]
935 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
936 integer constant usable in #if and use that to give value to enum
937 constant.
938 (FE_DIVBYZERO): Likewise.
939 (FE_UNDERFLOW): Likewise.
940 (FE_OVERFLOW): Likewise.
941 (FE_INVALID): Likewise.
942 (FE_INVALID_SNAN): Likewise.
943 (FE_INVALID_ISI): Likewise.
944 (FE_INVALID_IDI): Likewise.
945 (FE_INVALID_ZDZ): Likewise.
946 (FE_INVALID_IMZ): Likewise.
947 (FE_INVALID_COMPARE): Likewise.
948 (FE_INVALID_SOFTWARE): Likewise.
949 (FE_INVALID_SQRT): Likewise.
950 (FE_INVALID_INTEGER_CONVERSION): Likewise.
951 (FE_TONEAREST): Likewise.
952 (FE_TOWARDZERO): Likewise.
953 (FE_UPWARD): Likewise.
954 (FE_DOWNWARD): Likewise.
955 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
956 (FE_DIVBYZERO): Likewise.
957 (FE_OVERFLOW): Likewise.
958 (FE_UNDERFLOW): Likewise.
959 (FE_INEXACT): Likewise.
960 (FE_TONEAREST): Likewise.
961 (FE_DOWNWARD): Likewise.
962 (FE_UPWARD): Likewise.
963 (FE_TOWARDZERO): Likewise.
964 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
965 (FE_UNDERFLOW): Likewise.
966 (FE_OVERFLOW): Likewise.
967 (FE_DIVBYZERO): Likewise.
968 (FE_INVALID): Likewise.
969 (FE_TONEAREST): Likewise.
970 (FE_TOWARDZERO): Likewise.
971 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
972 (FE_OVERFLOW): Likewise.
973 (FE_UNDERFLOW): Likewise.
974 (FE_DIVBYZERO): Likewise.
975 (FE_INEXACT): Likewise.
976 (FE_TONEAREST): Likewise.
977 (FE_TOWARDZERO): Likewise.
978 (FE_UPWARD): Likewise.
979 (FE_DOWNWARD): Likewise.
980 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
981 (FE_DIVBYZERO): Likewise.
982 (FE_OVERFLOW): Likewise.
983 (FE_UNDERFLOW): Likewise.
984 (FE_INEXACT): Likewise.
985 (FE_TONEAREST): Likewise.
986 (FE_DOWNWARD): Likewise.
987 (FE_UPWARD): Likewise.
988 (FE_TOWARDZERO): Likewise.
989
105ca950
CM
9902012-11-02 Chris Metcalf <cmetcalf@tilera.com>
991
992 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
993
a542b389
AS
9942012-11-03 Andreas Schwab <schwab@linux-m68k.org>
995
996 * scripts/cross-test-ssh.sh (command): Use newlines to separate
997 commands. Quote $PWD.
998 (blacklist_exports): Don't use remove_newlines. Replace "declare
999 -x" by "export".
1000 (remove_newlines): Remove.
1001
f62c8abc
L
10022012-11-02 H.J. Lu <hongjiu.lu@intel.com>
1003
1004 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
1005 * stdlib/stdlib.h (atof): Moved to ...
1006 * include/bits/stdlib-float.h: Here. New file.
1007 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
1008 * stdlib/bits/stdlib-float.h: New file.
1009 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
1010 -mno-sse -mno-mmx.
1011 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
1012 <xmmintrin.h>.
1013
0155d5b2
JM
10142012-11-02 Joseph Myers <joseph@codesourcery.com>
1015
a68d0680
JM
1016 * conform/conformtest.pl (@headers): Add fenv.h.
1017 * conform/data/fenv.h-data: New file.
1018 * include/fenv.h [_ISOMAC]: Disable all contents of file except
1019 include of <math/fenv.h>.
1020
caf7f573
JM
1021 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
1022 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
1023 && !UNIX98]. Enables tests for XOPEN2K8.
1024 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
1025 POSIX2008]: Likewise.
1026
6c073ad6
JM
1027 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
1028 (struct rusage): Do not expect type or its members.
1029
0155d5b2
JM
1030 [BZ #3439]
1031 * math/math.h (FP_NAN): Define macro to integer constant usable in
1032 #if and use that to give value to enum constant.
1033 (FP_INFINITE): Likewise.
1034 (FP_ZERO): Likewise.
1035 (FP_SUBNORMAL): Likewise.
1036 (FP_NORMAL): Likewise.
1037
b5dcacb4
AS
10382012-11-02 Andreas Schwab <schwab@linux-m68k.org>
1039
1040 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
1041 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
1042 arguments.
1043
f7934be8
RM
10442012-11-02 Roland McGrath <roland@hack.frob.com>
1045
1046 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
1047 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
1048 autoconf-time if not.
1049 * configure.in: Remove AC_PREREQ.
1050
d7d08bde
TMQMF
10512012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1052
1053 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
1054 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
1055 of the internal implementation.
1056
dcdae19a
JM
10572012-11-02 Joseph Myers <joseph@codesourcery.com>
1058
1059 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
1060 except include of <misc/sys/syslog.h>.
1061
d6cffd3e
AS
10622012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1063
1064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
1065 function returns with a NULL context exit with zero.
1066
b3563932
TMQMF
10672012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1068
1069 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
1070
b288a93d
L
10712012-11-01 H.J. Lu <hongjiu.lu@intel.com>
1072
1073 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
1074 (run_program_cmd): This.
1075 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
1076 (tst_langinfo): New variable. Use it.
1077
a2421a68
SAS
10782012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
1079
1080 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
1081 floating point opcodes.
1082
6f796e1b
TS
10832012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1084
7402596b
TS
1085 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
1086 variable.
1087
d0d4f868
TS
1088 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
1089
6f796e1b
TS
1090 * sysdeps/mach/hurd/powerpc: Remove directory.
1091 * sysdeps/mach/powerpc: Likewise.
1092
4da224a2
AS
10932012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1094
1095 * scripts/check-local-headers.sh: Ignore c++ headers.
1096
341dd673
TS
10972012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1098
1099 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
1100 __libc_cleanup_region_start argument.
1101
473611b2
JM
11022012-11-01 Joseph Myers <joseph@codesourcery.com>
1103
1104 [BZ #14784]
1105 [BZ #14785]
1106 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
1107 x * y using scaling, not as x * y + z.
1108 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1109 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1110 * math/libm-test.inc (fma_test): Add more tests.
1111 (fma_test_towardzero): Likewise.
1112 (fma_test_downward): Likewise.
1113 (fma_test_upward): Likewise.
1114
4078da3d
TS
11152012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1116
1117 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
1118
903252aa
JM
11192012-10-31 Joseph Myers <joseph@codesourcery.com>
1120
1121 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
1122 New variable.
1123
cbc818d0
TS
11242012-10-31 Thomas Schwinge <thomas@codesourcery.com>
1125
1126 * rt/tst-shm.c (worker): Correct checking for mmap failure.
1127
5a03cb1e
AS
11282012-10-31 Andreas Schwab <schwab@linux-m68k.org>
1129
1130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1131 Fix sort order.
1132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1133 Likewise.
1134
90aff2ff
TMQMF
11352012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1136
1137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1138 Fix the order of the list for glibc 2.17.
1139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1140 Likewise.
1141
1818fcb7
AS
11422012-10-31 Andreas Schwab <schwab@linux-m68k.org>
1143
1144 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1145
ef82f4da
JM
11462012-10-31 Joseph Myers <joseph@codesourcery.com>
1147
16a0e2ec
JM
1148 [BZ #14610]
1149 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
1150 for low part of x being zero before using __atanl (y).
1151 * math/libm-test.inc (atan2_test): Add another test.
1152
0eb69512
JM
1153 * manual/install.texi (Configuring and compiling): Document
1154 general use of test-wrapper and test-wrapper-env.
1155 * INSTALL: Regenerated.
1156
ef82f4da
JM
1157 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
1158 (__fma): Do not extract and scale down low bits on after-rounding
1159 systems when result rounded to normal precision would have normal
1160 exponent.
1161 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
1162 (__fmal): Do not extract and scale down low bits on after-rounding
1163 systems when result rounded to normal precision would have normal
1164 exponent.
1165 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
1166 (__fmal): Do not extract and scale down low bits on after-rounding
1167 systems when result rounded to normal precision would have normal
1168 exponent.
1169 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
1170 macro.
1171 (fma_test): Add more tests.
1172 (fma_test_towardzero): Likewise.
1173 (fma_test_downward): Likewise.
1174 (fma_test_upward): Likewise.
1175
954ef0d9
L
11762012-10-30 H.J. Lu <hongjiu.lu@intel.com>
1177
1178 * sysdeps/i386/tininess.h: Renamed to ...
1179 * sysdeps/x86/tininess.h: This.
1180 * sysdeps/x86_64/tininess.h: Removed.
1181
df61ffb2
JM
11822012-10-30 Joseph Myers <joseph@codesourcery.com>
1183
1184 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
1185 input. Use $(build-program-cmd).
1186 ($(objpfx)tst-array1-static.out): Likewise.
1187 ($(objpfx)tst-array2.out): Likewise.
1188 ($(objpfx)tst-array3.out): Likewise.
1189 ($(objpfx)tst-array4.out): Likewise.
1190 ($(objpfx)tst-array5.out): Likewise.
1191 ($(objpfx)tst-array5-static.out): Likewise.
1192
01767843
CM
11932012-10-30 Chris Metcalf <cmetcalf@tilera.com>
1194
47cc1490
CM
1195 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
1196 if defined.
1197
01767843
CM
1198 * nss/nsswitch.h (nss_interface_function): Provide new
1199 macro for use with NSS functions.
1200 * grp/initgroups.c: Use new macro.
1201 * nss/getXXbyYY.c: Likewise.
1202 * nss/getXXbyYY_r.c: Likewise.
1203 * nss/getXXent.c: Likewise.
1204 * nss/getXXent_r.c: Likewise.
1205 * sysdeps/posix/getaddrinfo.c: Likewise.
1206
8321aa97
AJ
12072012-10-30 Andreas Jaeger <aj@suse.de>
1208
1209 * po/ru.po: Update Russion translation from translation project.
1210
2a27fd6d
JM
12112012-10-30 Joseph Myers <joseph@codesourcery.com>
1212
8627a232
JM
1213 [BZ #14152]
1214 [BZ #14783]
1215 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
1216 result and shift together with sticky bit instead of replicating
1217 round-to-nearest rounding.
1218 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1219 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1220 * math/libm-test.inc (fma_test): Add more tests. Do not permit
1221 missing underflow exceptions.
1222 (fma_test_towardzero): Add more tests.
1223 (fma_test_downward): Likewise.
1224 (fma_test_upward): Likewise.
1225
2a27fd6d
JM
1226 [BZ #14047]
1227 * sysdeps/generic/tininess.h: New file.
1228 * sysdeps/i386/tininess.h: Likewise.
1229 * sysdeps/sh/tininess.h: Likewise.
1230 * sysdeps/x86_64/tininess.h: Likewise.
1231 * stdlib/tst-strtod-underflow.c: Likewise.
1232 * stdlib/tst-tininess.c: Likewise.
1233 * stdlib/strtod_l.c: Include <tininess.h>.
1234 (round_and_return): Do not set errno for exact underflow cases.
1235 Force an underflow exception when setting errno for underflow.
1236 Determine underflow based on rounding to normal precision if
1237 TININESS_AFTER_ROUNDING.
1238 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
1239 ERANGE for exact underflow cases.
1240 * stdlib/Makefile (tests): Add tst-tininess and
1241 tst-strtod-underflow.
1242 ($(objpfx)tst-tininess): Use $(link-libm).
1243 ($(objpfx)tst-strtod-underflow): Likewise.
1244
e7170363
AJ
12452012-10-30 Andreas Jaeger <aj@suse.de>
1246
e5088dc6
AJ
1247 [BZ#14767]
1248 * elf/Makefile (tests): Remove conditional for have-initfini-array
1249 since this is now always required and the variable does not exist
1250 anymore.
1251 (tests-static): Likewise.
1252 (modules-names): Likewise.
1253
e7170363 1254 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
1255
1256 * elf/tst-array1.c (fini_array): Make writeable so that it can be
1257 merged with constructor/destructor.
1258 (init_array): Likewise.
1259 * elf/tst-array2dep.c (fini_array): Likewise.
1260 (init_array): Likewise.
1261
60457d8a
MF
12622012-10-29 Mike Frysinger <vapier@gentoo.org>
1263
1264 * manual/message.texi: Delete @cartouche tags.
1265
8bece752
PT
12662012-10-29 Pino Toscano <toscano.pino@tiscali.it>
1267
94ce799f
PT
1268 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
1269 EOPNOTSUPP.
1270 * sysdeps/mach/hurd/fsync.c: Likewise.
1271
8bece752
PT
1272 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
1273 [_POSIX_REALTIME_SIGNALS]: Change condition to
1274 [_POSIX_REALTIME_SIGNALS > 0].
1275
86ebe6b1
AJ
12762012-10-27 Andreas Jaeger <aj@suse.de>
1277
1278 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
1279 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
1280 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
1281 [__WORDSIZE != 64]: Likewise.
1282
54399c08
L
12832012-10-26 H.J. Lu <hongjiu.lu@intel.com>
1284
1285 * iconvdata/tst-table.sh: Remove ${SHELL}.
1286 * iconvdata/tst-tables.sh: Likewise.
1287
e2211bed
DM
12882012-10-25 David S. Miller <davem@davemloft.net>
1289
1290 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1291 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
1292 of strtoull.
1293
f303f97c
DM
1294 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
1295 ifunc-impl-list.c
1296 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1297 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
1298 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
1299 file.
1300
1e9d84cd
RM
13012012-10-25 Roland McGrath <roland@hack.frob.com>
1302
1303 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1304 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
1305 __getdirentries.
1306
df381762
JM
13072012-10-25 Joseph Myers <joseph@codesourcery.com>
1308 Jim Blandy <jimb@codesourcery.com>
1309
1310 * scripts/cross-test-ssh.sh: New file.
1311 * manual/install.texi (Configuring and compiling): Document use of
1312 cross-test-ssh.sh.
1313 * INSTALL: Regenerated.
1314
bff64913
PT
13152012-10-25 Pino Toscano <toscano.pino@tiscali.it>
1316
1317 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
1318 EOPNOTSUPP.
1319
25fe8932
JM
13202012-10-25 Joseph Myers <joseph@codesourcery.com>
1321
1322 * Makeconfig (run-program-prefix): Fix comment.
1323
cc1290d0
JM
13242012-10-24 Joseph Myers <joseph@codesourcery.com>
1325 Jim Blandy <jimb@codesourcery.com>
1326
1327 * Makeconfig (test-wrapper): New variable,
1328 (test-wrapper-env): Likewise.
1329 [$(cross-compiling) = yes && $(test-wrapper) != ""]
1330 (run-built-tests): Define to yes.
1331 (run-program-prefix): Use $(test-wrapper).
1332 (built-program-cmd): Likewise.
1333 * Rules (make-test-out): Use $(test-wrapper-env) and
1334 $(host-built-program-cmd).
1335 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
1336 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
1337 tst-pathopt.sh.
1338 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
1339 $(test-wrapper-env) to tst-rtld-load-self.sh.
1340 ($(objpfx)order2.out): Use $(test-wrapper).
1341 ($(objpfx)tst-initorder.out): Likewise.
1342 ($(objpfx)tst-initorder2.out): Likewise.
1343 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
1344 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
1345 (test_wrapper_env): New variable. Use it to run ld.so.
1346 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
1347 Use it to run ld.so.
1348 (test_wrapper_env): Likewise.
1349 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
1350 $(test-wrapper) to run-iconv-test.sh.
1351 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
1352 (ICONV): Use $test_wrapper.
1353 * posix/Makefile ($(objpfx)globtest.out): Pass
1354 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
1355 globtest.sh, not $(run-program-prefix).
1356 * posix/globtest.sh (run_via_rtld_prefix): New variable.
1357 (test_wrapper): Likewise.
1358 (test_wrapper_env): Likewise. Use it to run globtest with HOME
1359 set together with run_via_rtld_prefix.
1360 (run_program_prefix): Define in terms of test_wrapper and
1361 run_via_rtld_prefix.
1362
6e6249d0
RM
13632012-10-24 Roland McGrath <roland@hack.frob.com>
1364
1365 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
1366 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
1367 Targets removed.
1368
1369 [BZ #14743]
1370 * include/time.h: Remove librt_hidden_proto (clock_gettime).
1371 Declare __clock_getres, __clock_gettime, __clock_settime,
1372 __clock_nanosleep, and __clock_getcpuclockid.
1373 * rt/clock_gettime.c: Define __clock_gettime as an alias.
1374 Remove librt_hidden_def (clock_gettime).
1375 * sysdeps/unix/clock_gettime.c: Likewise.
1376 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
1377 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1378 * rt/clock_getres.c: Define __clock_getres as an alias.
1379 * sysdeps/posix/clock_getres.c: Likewise.
1380 * rt/clock_settime.c: Define __clock_settime as an alias.
1381 * sysdeps/unix/clock_settime.c: Likewise.
1382 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
1383 * sysdeps/unix/clock_nanosleep.c: Likewise.
1384 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1385 * rt/clock-compat.c: New file.
1386 * rt/Makefile (librt-routines): Add clock-compat and move
1387 $(clock-routines) to ...
1388 (routines): ... here, new variable.
1389 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
1390 Don't add get_clockfreq here.
1391 * rt/Versions (libc: GLIBC_2.17): New version set.
1392 Add clock_* symbols here.
1393 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
1394 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
1395 (GLIBC_2.17): Add clock_* symbols.
1396 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1397 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1398 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1400 Likewise.
1401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1402 Likewise.
1403 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1404 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
1405 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1406 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1407 * NEWS: Mention the move.
1408
1409 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1410 Use __open, __read, __close rather than their public counterparts.
1411 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1412 (__get_clockfreq_via_cpuinfo): Likewise.
1413 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
1414 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
1415
1416 * config.h.in (HAVE_IFUNC): New #undef.
1417 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
1418 was successful.
1419 * configure: Regenerated.
1420
0cae3f4b
MF
14212012-10-24 Mike Frysinger <vapier@gentoo.org>
1422
1423 * configure.in: Move READELF check to start of file.
1424 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
1425 libc_cv_asm_gnu_indirect_function in the process.
1426 * configure: Regenerated.
1427
8175a253
MF
14282012-10-24 Mike Frysinger <vapier@gentoo.org>
1429
1430 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
1431 send the output to /dev/null.
1432 (libc_cv_cc_with_libunwind): Likewise.
1433 (libc_cv_as_noexecstack): Likewise.
1434 * configure: Regenerate.
1435
0708a7d1
JM
14362012-10-24 Joseph Myers <joseph@codesourcery.com>
1437
10b40d85
JM
1438 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
1439
0708a7d1
JM
1440 * posix/globtest.sh (TMPDIR): Do not set.
1441 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
1442 (testout): Likewise.
1443
9fddec1a
AJ
14442012-10-24 Andreas Jaeger <aj@suse.de>
1445
3a8db22f
AJ
1446 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
1447 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
1448 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
1449 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
1450 posix_fadvise64, posix_fallocate64.
1451
9fddec1a
AJ
1452 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
1453 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
1454 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
1455 Likewise.
1456 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
1457 Likewise.
1458 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
1459
1460 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
1461 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
1462 <bits/fcntl-linux.h>.
1463 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
1464
1465 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
1466 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
1467 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
1468 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
1469 [__WORDSIZE != 64]: Likewise.
1470
ebfd1bbd
JM
14712012-10-23 Joseph Myers <joseph@codesourcery.com>
1472
03ac099f
JM
1473 * Makeconfig (run-built-tests): New variable.
1474 * Rules [$(cross-compiling) = yes]: Change condition to
1475 [$(run-built-tests) = no].
1476 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
1477 to [$(run-built-tests) = yes].
1478 * elf/Makefile [$(cross-compiling) = no]: Likewise
1479 * grp/Makefile [$(cross-compiling) = no]: Likewise.
1480 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
1481 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
1482 * intl/Makefile [$(cross-compiling) = no]: Likewise.
1483 * io/Makefile [$(cross-compiling) = no]: Likewise.
1484 * libio/Makefile [$(cross-compiling) = no]: Likewise.
1485 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
1486 * misc/Makefile [$(cross-compiling) = no]: Likewise.
1487 * posix/Makefile [$(cross-compiling) = no]: Likewise.
1488 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
1489 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
1490 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
1491 * string/Makefile [$(cross-compiling) = no]: Likewise.
1492
ebfd1bbd
JM
1493 * posix/Makefile ($(objpfx)globtest.out): Pass
1494 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
1495 $(rtld-installed-name).
1496 * posix/globtest.sh (elf_objpfx): Remove variable.
1497 (rtld_installed_name): Likewise.
1498 (library_path): Likewise.
1499 (run_program_prefix): New variable. Use for running globtest
1500 binary.
1501
166bca24
JB
15022012-10-23 Jim Blandy <jimb@codesourcery.com>
1503 Joseph Myers <joseph@codesourcery.com>
1504
1505 * Makeconfig (host-built-program-cmd): New variable.
1506 * elf/Makefile (tst-stackguard1-ARGS): Use
1507 $(host-built-program-cmd).
1508 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
1509 (tst-spawn-ARGS): Likewise.
1510 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
1511
88866099
JM
15122012-10-23 Joseph Myers <joseph@codesourcery.com>
1513 Jim Blandy <jimb@codesourcery.com>
1514
1515 * Makeconfig (run-via-rtld-prefix): New variable.
1516 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
1517 (built-program-cmd): Likewise.
1518
b4b4c296
AJ
15192012-10-22 Andreas Jaeger <aj@suse.de>
1520
1521 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
1522 __O_RSYNC if it exists, otherwise to O_SYNC.
1523
6fb54a22
JB
15242012-10-22 Jim Blandy <jimb@codesourcery.com>
1525 Joseph Myers <joseph@codesourcery.com>
1526
1527 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
1528 /dev/null.
1529 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
1530 from /dev/null
1531 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
1532 /dev/null.
1533
481b90b9
AJ
15342012-10-22 Andreas Jaeger <aj@suse.de>
1535
2a0e2669
AJ
1536 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
1537 Define always.
1538 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
1539
76e38f9a
AJ
1540 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1541 bits/fcntl-linux.h.
1542
7cd37b43
AJ
1543 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
1544 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
1545
481b90b9
AJ
1546 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
1547 to __O_LARGEFILE.
1548 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
1549 to __O_LARGEFILE.
1550
aba75984
JB
15512012-10-21 Jim Blandy <jimb@codesourcery.com>
1552 Joseph Myers <joseph@codesourcery.com>
1553
1554 * config.make.in (NM): New variable.
1555
88d4247f
AJ
15562012-10-21 Andreas Jaeger <aj@suse.de>
1557
1558 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
1559 definitions and declarations that are provided by
1560 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1561
f2eed205
L
15622012-10-20 H.J. Lu <hongjiu.lu@intel.com>
1563
1564 [BZ #14683]
1565 * elf/Makefile (tests-static): Add tst-leaks1-static.
1566 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
1567 ($(objpfx)tst-leaks1-static): New rule.
1568 ($(objpfx)tst-leaks1-static-mem): Likewise.
1569 (tst-leaks1-static-ENV): New macro.
1570 * elf/dl-open.c (dl_open_worker): Check the main application
1571 only if SHARED is defined.
1572 * elf/tst-leaks1-static.c: New file.
1573
335e6931
AJ
15742012-10-20 Andreas Jaeger <aj@suse.de>
1575
1576 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
1577 generic values for Linux.
1578 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
1579 and declarations that are provided by <bits/fcntl-linux.h> and
1580 include <bits/fcntl-linux.h>.
1581 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1582 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
1583
ac5c94d3
RM
15842012-10-20 Roland McGrath <roland@hack.frob.com>
1585
1586 * io/fcntl.h: Move include of <bits/types.h> to the top and
1587 include it unconditionally.
1588
de54b33a
L
15892012-10-20 H.J. Lu <hongjiu.lu@intel.com>
1590
228cfb01
L
1591 * wcsmbs/Makefile (tests-ifunc): New variable.
1592 (tests): Add $(tests-ifunc).
1593 * wcsmbs/test-wcschr-ifunc.c: New file.
1594 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
1595 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
1596 * wcsmbs/test-wcslen-ifunc.c: Likewise.
1597 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
1598 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
1599
69f07e5f
L
1600 * string/Makefile (tests-ifunc): New variable.
1601 (tests): Add $(tests-ifunc).
1602 * string/test-memccpy.c (TEST_NAME): New macro.
1603 * string/test-memchr.c (TEST_NAME): Likewise.
1604 * string/test-memcmp.c (TEST_NAME): Likewise.
1605 * string/test-memcpy.c (TEST_NAME): Likewise.
1606 * string/test-memmem.c (TEST_NAME): Likewise.
1607 * string/test-memmove.c (TEST_NAME): Likewise.
1608 * string/test-memset.c (TEST_NAME): Likewise.
1609 * string/test-rawmemchr.c (TEST_NAME): Likewise.
1610 * string/test-stpcpy.c (TEST_NAME): Likewise.
1611 * string/test-stpncpy.c (TEST_NAME): Likewise.
1612 * string/test-strcasecmp.c (TEST_NAME): Likewise.
1613 * string/test-strcasestr.c (TEST_NAME): Likewise.
1614 * string/test-strcat.c (TEST_NAME): Likewise.
1615 * string/test-strchr.c (TEST_NAME): Likewise.
1616 * string/test-strcmp.c(TEST_NAME): Likewise.
1617 * string/test-strcpy.c (TEST_NAME): Likewise.
1618 * string/test-strcspn.c (TEST_NAME): Likewise.
1619 * string/test-strlen.c (TEST_NAME): Likewise.
1620 * string/test-strncasecmp.c (TEST_NAME): Likewise.
1621 * string/test-strncmp.c (TEST_NAME): Likewise.
1622 * string/test-strncpy.c (TEST_NAME): Likewise.
1623 * string/test-strnlen.c (TEST_NAME): Likewise.
1624 * string/test-strpbrk.c (TEST_NAME): Likewise.
1625 * string/test-strrchr.c (TEST_NAME): Likewise.
1626 * string/test-strspn.c (TEST_NAME): Likewise.
1627 * string/test-strstr.c (TEST_NAME): Likewise.
1628 * string/test-bcopy-ifunc.c: New file.
1629 * string/test-bzero-ifunc.c: Likewise.
1630 * string/test-memccpy-ifunc.c: Likewise.
1631 * string/test-memchr-ifunc.c: Likewise.
1632 * string/test-memcmp-ifunc.c: Likewise.
1633 * string/test-memcpy-ifunc.c: Likewise.
1634 * string/test-memmem-ifunc.c: Likewise.
1635 * string/test-memmove-ifunc.c: Likewise.
1636 * string/test-mempcpy-ifunc.c: Likewise.
1637 * string/test-memset-ifunc.c: Likewise.
1638 * string/test-rawmemchr-ifunc.c: Likewise.
1639 * string/test-stpcpy-ifunc.c: Likewise.
1640 * string/test-stpncpy-ifunc.c: Likewise.
1641 * string/test-strcasecmp-ifunc.c: Likewise.
1642 * string/test-strcasestr-ifunc.c: Likewise.
1643 * string/test-strcat-ifunc.c: Likewise.
1644 * string/test-strchr-ifunc.c: Likewise.
1645 * string/test-strchrnul-ifunc.c: Likewise.
1646 * string/test-strcmp-ifunc.c: Likewise.
1647 * string/test-strcpy-ifunc.c: Likewise.
1648 * string/test-strcspn-ifunc.c: Likewise.
1649 * string/test-strlen-ifunc.c: Likewise.
1650 * string/test-strncasecmp-ifunc.c: Likewise.
1651 * string/test-strncat-ifunc.c: Likewise.
1652 * string/test-strncmp-ifunc.c: Likewise.
1653 * string/test-strncpy-ifunc.c: Likewise.
1654 * string/test-strnlen-ifunc.c: Likewise.
1655 * string/test-strpbrk-ifunc.c: Likewise.
1656 * string/test-strrchr-ifunc.c: Likewise.
1657 * string/test-strspn-ifunc.c: Likewise.
1658 * string/test-strstr-ifunc.c: Likewise.
1659
de54b33a
L
1660 * debug/Makefile (tests-ifunc): New variable.
1661 (tests): Add $(tests-ifunc).
1662 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
1663 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
1664 * debug/test-stpcpy_chk-ifunc.c: New file.
1665 * debug/test-strcpy_chk-ifunc.c: Likewise.
1666
88481c16
SP
16672012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1668
1669 [BZ #13601]
1670 * elf/dl-load.c (open_verify): Retry read if the entire ELF
1671 header is not read in.
1672
135948bd
JM
16732012-10-19 Joseph Myers <joseph@codesourcery.com>
1674
89f1c388
JM
1675 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
1676 script to $(SHELL) as $<. Pass $(common-objpfx) to script
1677 directly. Pass built executable to script as
1678 $(built-program-cmd).
1679 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
1680 $testprogram without using LD_LIBRARY_PATH and $ldso.
1681
e40a0d21
JM
1682 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
1683 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
1684 $(rtld-installed-name).
1685 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
1686 (rtld_installed_name): Likewise.
1687 (library_path): Likewise.
1688 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
1689 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
1690 $(run-program-prefix) to tst-tables.sh.
1691 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
1692 it to run tst-table-from and tst-table-to.
1693 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
1694 Pass it to tst-table.sh.
1695 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
1696 $(run-program-prefix) to tst-gettext.sh.
1697 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
1698 tst-translit.sh.
1699 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
1700 tst-gettext2.sh.
1701 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
1702 to run tst-gettext.
1703 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
1704 to run tst-gettext2.
1705 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
1706 to run tst-translit.
1707 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
1708 $(run-program-prefix) to tst-mtrace.sh.
1709 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
1710 to run tst-mtrace.
1711 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
1712 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
1713 $(rtld-installed-name).
1714 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
1715 (rtld_installed_name): Likewise.
1716 (run_program_prefix): New variable. Use it to run wordexp-test.
1717
728e272a
JM
1718 * Makeconfig (ARCH): Remove all definitions.
1719 (machine): Likewise.
1720 [ARCH]: Remove conditional code.
1721 [!objdir]: Give error.
1722 [!objdir] (objpfx): Remove.
1723 [!objdir] (common-objpfx): Likewise.
1724 [!objdir] (common-objdir): Likewise.
1725 * configure.in (config_makefile): Remove. Hardcode Makefile in
1726 AC_CONFIG_FILES call.
1727 * configure: Regenerated.
1728
d528cdcf
JM
1729 [BZ #13888]
1730 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
1731 or TMPDIR.
1732 (testout): Likewise.
1733
135948bd
JM
1734 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
1735 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
1736 $(rtld-installed-name).
1737 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
1738 (rtld_installed_name): Likwise.
1739 (runit): Remove function.
1740 (run_getconf): New variable, Use it for running getconf binary.
1741
38c78296
L
17422012-10-18 H.J. Lu <hongjiu.lu@intel.com>
1743
1744 [BZ #14716]
1745 * string/test-memmem.c (check_result): New function.
1746 (do_one_test): Use it.
1747 (check1): New function.
1748 (test_main): Use it.
1749
d077f65f
MT
17502012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
1751
1752 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
1753
ced52c71
JM
17542012-10-18 Joseph Myers <joseph@codesourcery.com>
1755
1756 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
1757 (_G_LSEEK64): Likewise.
1758 (_G_MMAP64): Likewise.
1759 (_G_FSTAT64): Likewise.
1760 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
1761 (_G_LSEEK64): Likewise.
1762 (_G_MMAP64): Likewise.
1763 (_G_FSTAT64): Likewise.
1764 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
1765 unconditional. Call __mmap64 directly.
1766 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
1767 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
1768 __lseek64 directly.
1769 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
1770 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
1771 __mmap64 directly.
1772 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
1773 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
1774 __lseek64 directly.
1775 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
1776 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
1777 __lseek64 directly.
1778 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
1779 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
1780 __lseek64 directly.
1781 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
1782 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
1783 __fxstat64 directly.
1784 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
1785 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
1786 unconditional.
1787 (freopen64) [!_G_OPEN64]: Remove conditional code.
1788 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
1789 unconditional.
1790 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
1791 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
1792 unconditional.
1793 (ftello64) [!_G_LSEEK64]: Remove conditional code.
1794 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
1795 unconditional.
1796 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
1797 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
1798 unconditional.
1799 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
1800 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
1801 unconditional.
1802 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
1803 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
1804 unconditional.
1805 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
1806 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
1807 unconditional.
1808 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
1809
b741de23
SP
18102012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1811
1812 [BZ #12140]
1813 * manual/memory.texi (Malloc Tunable Parameters): Add note
1814 about free list pointers overwriting some perturb bytes.
1815 Wording suggested by Roland McGrath.
1816
f9b9d9c9
JM
18172012-10-17 Joseph Myers <joseph@codesourcery.com>
1818
1819 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
1820 (lgamma_test): Likewise.
1821 (tgamma_test): Likewise.
1822
172a631a
FW
18232012-10-16 Florian Weimer <fweimer@redhat.com>
1824
1825 [BZ #14700]
1826 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
1827 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
1828
e9f37252
MK
18292012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
1830
1831 * NEWS: Mention BZ #14716.
1832 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
1833 when removing AVAILABLE1_USES_J macro.
1834
d394eb74
L
18352012-10-12 H.J. Lu <hongjiu.lu@intel.com>
1836
1837 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
1838 (__bswap_64): __uint64_t for unsigned 64-bit int.
1839
ca38dc17
AS
18402012-10-12 Andreas Schwab <schwab@linux-m68k.org>
1841
1842 * include/string.h (memmem): Declare libc hidden alias.
1843 * string/memmem.c (memmem): Define libc hidden alias.
1844 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
1845 __read, __close instead of open, read, close.
1846
9a387d1f
L
18472012-10-11 H.J. Lu <hongjiu.lu@intel.com>
1848
ac49ecaf
L
1849 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
1850 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
1851 global and hidden.
1852 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
1853 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
1854 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
1855 Likewise.
1856 (__rawmemchr_sse2): Likewise.
1857 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
1858 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
1859 (__strchr_sse2): Likewise.
1860 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
1861 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
1862 (__strcasecmp_sse2): Likewise.
1863 (__strncasecmp_sse2): Likewise.
1864 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
1865 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
1866 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
1867 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
1868 (__strrchr_sse2): Likewise.
1869 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
1870 ifunc-impl-list.c.
1871 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1872 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1873 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1874 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1875 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1876 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1877 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1878 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1879 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
1880 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
1881 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
1882 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
1883 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
1884 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
1885 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
1886 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1887 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1888 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
1889 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
1890 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
1891 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
1892 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
1893 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
1894 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
1895 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
1896 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1897 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1898 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
1899 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
1900 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1901
b090e8ea
L
1902 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
1903 global and hidden.
1904 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
1905 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
1906 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
1907 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
1908 Likewise.
1909 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
1910 Likewise.
1911 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
1912 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
1913 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
1914 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
1915 ifunc-impl-list.c.
1916 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1917 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1918 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1919 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1920 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1921 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1922 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1923 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1924 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1925 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1926 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1927 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1928 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1929 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
1930 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
1931 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1932 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
1933 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
1934 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1935 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1936 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1937 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1938 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1939 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1940 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1941 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
1942 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
1943 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
1944 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
1945 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1946 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
1947 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1948 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1949 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
1950 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1951 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1952 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1953 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1954 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1955 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1956 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
1957
11dd4af6
L
1958 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
1959 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
1960 * include/ifunc-impl-list.h: New file.
1961 * misc/ifunc-impl-list.c: Likewise.
1962 * misc/Makefile (routines): Add ifunc-impl-list.
1963 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
1964 * string/test-string.h: Include <ifunc-impl-list.h>.
1965 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
1966 impl_array): New variables.
1967 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
1968 are defined.
1969 (test_init): Call __libc_ifunc_impl_list to initialize
1970 func_list if TEST_IFUNC and TEST_NAME are defined.
1971
9a387d1f
L
1972 * string/Makefile (strop-tests): Add bcopy and bzero.
1973 * string/test-bcopy.c: New file.
1974 * string/test-bzero.c: Likewise.
1975 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
1976 defined.
1977 * string/test-memset.c: Support bzero test if TEST_BZERO is
1978 defined.
1979 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
1980 __libc_memmove.
1981 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
1982 __libc_memset.
1983 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
1984 of memset.
1985
472371b9
JM
19862012-10-10 Joseph Myers <joseph@codesourcery.com>
1987
1e4a9536
JM
1988 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
1989 * configure: Regenerated.
1990
d173d12e
JM
1991 * Makeconfig (+link-static-before-libc): Don't include
1992 $(link-static-libc).
1993
472371b9
JM
1994 * libio/libio.h (_IO_pos_t): Remove.
1995
89a3ad0b
AO
19962012-10-10 Alexandre Oliva <aoliva@redhat.com>
1997
1998 * NEWS: Add note about FIPS mode. Wording suggested by Roland
1999 McGrath.
2000
e7451425
AO
20012012-10-10 Alexandre Oliva <aoliva@redhat.com>
2002
2003 * crypt/crypt-entry.c: Include fips-private.h.
2004 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
2005 * crypt/md5c-test.c (main): Tolerate disabled MD5.
2006 * sysdeps/unix/sysv/linux/fips-private.h: New file.
2007 * sysdeps/generic/fips-private.h: New file, dummy fallback.
2008
4ba74a35
AO
20092012-10-10 Alexandre Oliva <aoliva@redhat.com>
2010
2011 * crypt/crypt-private.h: Include stdbool.h.
2012 (_ufc_setup_salt_r): Return bool.
2013 * crypt/crypt-entry.c: Include errno.h.
2014 (__crypt_r): Return NULL with EINVAL for bad salt.
2015 * crypt/crypt_util.c (bad_for_salt): New.
2016 (_ufc_setup_salt_r): Check that salt is long enough and within
2017 the specified alphabet.
2018 * crypt/badsalttest.c: New file.
2019 * crypt/Makefile (tests): Add it.
2020 ($(objpfx)badsalttest): New.
2021
f96f1242
MK
20222012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
2023
2024 * NEWS: Add entry for BZ #14602.
2025
0e8e0c1c
JM
20262012-10-09 Joseph Myers <joseph@codesourcery.com>
2027
2028 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
2029 type-generic.
2030 * math/libm-test.inc: Update comment listing what functions and
2031 macros are tested.
2032 (isgreater_test): New function.
2033 (isgreaterequal_test): Likewise.
2034 (isless_test): Likewise.
2035 (islessequal_test): Likewise.
2036 (islessgreater_test): Likewise.
2037 (isunordered_test): Likewise.
2038 (main): Call the new functions.
2039
273edc5e
RM
20402012-10-09 Roland McGrath <roland@hack.frob.com>
2041
b8493de0
RM
2042 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
2043 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
2044 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
2045 * sysdeps/i386/configure: Regenerated.
2046 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
2047 * sysdeps/mach/configure: Regenerated.
2048 * sysdeps/mach/hurd/configure: Regenerated.
2049 * sysdeps/powerpc/configure: Regenerated.
2050 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2051 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2052 * sysdeps/s390/s390-32/configure: Regenerated.
2053 * sysdeps/s390/s390-64/configure: Regenerated.
2054 * sysdeps/sh/configure: Regenerated.
2055 * sysdeps/sparc/configure: Regenerated.
2056 * sysdeps/unix/sysv/linux/configure: Regenerated.
2057 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2058 * sysdeps/x86_64/configure: Regenerated.
2059
273edc5e
RM
2060 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
2061 defined. Don't check if MAP is NULL.
2062
c8450f70
JM
20632012-10-09 Joseph Myers <joseph@codesourcery.com>
2064
2065 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
2066 (_G_stat64): Likewise.
2067 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
2068 (_G_stat64): Likewise.
2069 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
2070 instead of struct _G_stat64.
2071 * libio/fileops.c (mmap_remap_check): Likewise.
2072 (decide_maybe_mmap): Likewise.
2073 (_IO_new_file_seekoff): Likewise.
2074 (_IO_file_stat): Likewise.
2075 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
2076 _G_off64_t.
2077 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
2078 instead of struct _G_stat64.
2079 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2080
57e605ba
MK
20812012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
2082
2083 [BZ #14602]
2084 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2085 Replace with ...
2086 (CHECK_EOL): New macro.
2087 (two_way_short_needle): Check beginning of haystack for EOL. Use
2088 CHECK_EOL.
2089 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2090 Replace with CHECK_EOL.
2091 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2092 Replace with CHECK_EOL.
2093
ef1bb361
JM
20942012-10-08 Joseph Myers <joseph@codesourcery.com>
2095
2096 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
2097 type-generic.
2098 * math/libm-test.inc: Update comment listing what functions and
2099 macros are tested.
2100 (finite_test): New function.
2101 (isinf_test): Likewise.
2102 (isnan_test): Likewise.
2103 (fpclassify_test): Test subnormal input.
2104 (isfinite_test): Likewise.
2105 (isnormal_test): Likewise.
2106 (main): Call the new functions.
2107
55f11534
JN
21082012-10-08 Jonathan Nieder <jrnieder@gmail.com>
2109
2110 [BZ #14660]
2111 * Makerules (%.dynsym): Force C locale when running
2112 $(OBJDUMP) --dynamic-syms.
2113
1ab29350
AS
21142012-10-08 Andreas Schwab <schwab@linux-m68k.org>
2115
2116 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
2117 <stdint.h>.
2118
f1ecb7ef
DM
21192012-10-06 David S. Miller <davem@davemloft.net>
2120
2121 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
2122 upper 32-bits of the length value in %o2 since we use branch-on-register
2123 tests which consider the entire 64-bit register.
2124
5d41d91a
L
21252012-10-06 H.J. Lu <hongjiu.lu@intel.com>
2126
2127 * string/test-strstr.c (check2): Add a test for page boundary.
2128
3baddb72
DM
21292012-10-05 David S. Miller <davem@davemloft.net>
2130
2131 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
2132 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
2133 file.
2134 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
2135 sysdep_routines.
2136 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
2137 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
2138 and bzero when HWCAP_SPARC_CRYPTO is present.
2139
9cee5585
L
21402012-10-05 H.J. Lu <hongjiu.lu@intel.com>
2141
d7e0dab9
L
2142 [BZ #14602]
2143 * string/test-strstr.c (check2): New function.
2144 (test_main): Call check2.
2145
03759f47
L
2146 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
2147 and bug-strchr1.
2148 * string/bug-strcasestr1.c (do_test): Moved to ...
2149 * string/test-strcasestr.c (check1): Here. New function.
2150 (do_one_test): Break out result checking code into ...
2151 (check_result): This. New function.
2152 (do_one_test): Call check_result.
2153 (test_main): Call check1.
2154 * string/bug-strchr1.c (do_test): Moved to ...
2155 * string/test-strchr.c (check1): Here. New function.
2156 (do_one_test): Break out result checking code into ...
2157 (check_result): This. New function.
2158 (do_one_test): Call check_result.
2159 (test_main): Call check1.
2160 * string/bug-strstr1.c (main): Moved to ...
2161 * string/test-strchr.c (check1): Here. New function.
2162 (do_one_test): Break out result checking code into ...
2163 (check_result): This. New function.
2164 (do_one_test): Call check_result.
2165 (test_main): Call check1.
2166 * string/bug-strcasestr1.c: Removed.
2167 * string/bug-strchr1.c: Likewise.
2168 * string/bug-strstr1.c: Likewise.
2169
53cea63e
L
2170 * elf/Makefile (dl-routines): Add hwcaps.
2171 * elf/dl-support.c (_dl_important_hwcaps): Removed.
2172 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
2173 (_dl_important_hwcaps): Moved to ...
2174 * elf/dl-hwcaps.c: Here. New file.
2175 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
2176
9cee5585 2177 [BZ #14557]
bb859b06
L
2178 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
2179 if IS_IN_rtld isn't defined.
2180
9cee5585
L
2181 * elf/dl-support.c (_dl_sysinfo_map): New.
2182 Include "get-dynamic-info.h" and "setup-vdso.h".
2183 (_dl_non_dynamic_init): Call setup_vdso.
2184 * elf/dynamic-link.h: Don't include <assert.h>.
2185 (elf_get_dynamic_info): Moved to ...
2186 * elf/get-dynamic-info.h: Here. New file.
2187 * elf/dynamic-link.h: Include "get-dynamic-info.h".
2188 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
2189 * elf/setup-vdso.h: Here. New file.
2190 * elf/rtld.c: Include "setup-vdso.h".
2191 (dl_main): Call setup_vdso.
2192
23c31b76
JM
21932012-10-05 Joseph Myers <joseph@codesourcery.com>
2194
28234b07
JM
2195 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
2196 creal in comment listing functions tested. List finite, isinf,
2197 isnan, isless, islessequal, isgreater, isgreaterequal,
2198 islessgreater, isunordered, lgamma_r and pow10 as functions and
2199 macros not tested. Mention which functions not tested are aliases
2200 for other functions. Fix typo. Note that signs of NaNs are not
2201 tested.
2202
23c31b76
JM
2203 * scripts/config.guess: Update from config.git.
2204 * scripts/config.sub: Likewise.
2205
9043e228
RM
22062012-10-04 Roland McGrath <roland@hack.frob.com>
2207
2208 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
2209 * misc/madvise.c (madvise): Renamed to __madvise.
2210 Make madvise a weak alias.
2211 * include/sys/mman.h: Declare __madvise.
2212 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
2213 * sysdeps/unix/syscalls.list
2214 (madvise): Make __madvise the strong name, and madvise a weak alias.
2215 * sysdeps/unix/sysv/linux/syscalls.list
2216 (madvise, mmap): Remove redundant entries.
2217 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
2218 * malloc/malloc.c (mtrim): Likewise.
2219 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
2220
f57f8055
RM
22212012-10-03 Roland McGrath <roland@hack.frob.com>
2222
2223 * sysdeps/mach/hurd/dl-cache.c: File removed.
2224 * config.h.in (USE_LDCONFIG): New #undef.
2225 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
2226 * configure: Regenerated.
2227 * elf/Makefile (dl-routines): Add dl-cache only under
2228 [$(use-ldconfig) = yes].
2229 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
2230 cache on [USE_LDCONFIG].
2231 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
2232 [USE_LDCONFIG].
2233 * elf/rtld.c (dl_main): Likewise.
2234
5bb0c10a
PT
22352012-10-03 Pino Toscano <toscano.pino@tiscali.it>
2236
2237 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
2238 _SC_LEVEL4_CACHE_LINESIZE.
2239
010188c6
RM
22402012-10-03 Roland McGrath <roland@hack.frob.com>
2241
2242 * sysdeps/unix/bsd/confstr.h: File removed.
2243
b6c5ec07
AO
22442012-10-02 Alexandre Oliva <aoliva@redhat.com>
2245
2246 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
2247 sys/sdt-config.h.
2248
408223d4
RM
22492012-10-02 Roland McGrath <roland@hack.frob.com>
2250
2251 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
2252 Make 'mapoff' field ElfW(Off) rather than off_t.
2253
bb9510dc
DL
22542012-10-02 Dmitry V. Levin <ldv@altlinux.org>
2255
fc997c6e
DL
2256 * nscd/Makefile: Remove nscd-cflags and all its users.
2257 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
2258 (CFLAGS-nonlib): Add compiler flags for nscd modules.
2259
bb9510dc
DL
2260 [BZ #10631]
2261 * malloc.c (malloc_printerr): Clarify error message.
2262
05699367
L
22632012-10-02 H.J. Lu <hongjiu.lu@intel.com>
2264
2265 [BZ #14648]
2266 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2267 Set bit_FMA_Usable if FMA is supported.
2268 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
2269 macro.
2270 (bit_FMA4_Usable): Updated.
2271 (index_FMA_Usable): New macro.
2272 (CPUID_FMA): Likewise
2273 (HAS_FMA): Defined with bit_FMA_Usable.
2274
51367701
RM
22752012-10-01 Roland McGrath <roland@hack.frob.com>
2276
2277 * bits/types.h (__swblk_t): Type removed.
2278 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
2279 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
2280 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2281 (__SWBLK_T_TYPE): Likewise.
2282 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2283 (__SWBLK_T_TYPE): Likewise.
2284 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2285 (__SWBLK_T_TYPE): Likewise.
2286 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2287 (__SWBLK_T_TYPE): Likewise.
2288
4d57bf63 22892012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 2290 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
2291
2292 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
2293 (xdr_mapname): Use YPMAXMAP as maxsize.
2294 (xdr_peername): Use YPMAXPEER as maxsize.
2295 (xdr_keydat): Use YPAXRECORD as maxsize.
2296 (xdr_valdat): Use YPMAXRECORD as maxsize.
2297
93c65d43
RM
22982012-10-01 Roland McGrath <roland@hack.frob.com>
2299
497a03d6
RM
2300 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
2301
93c65d43
RM
2302 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
2303 * csu/init-first.c: ... here.
2304 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
2305 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
2306 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
2307 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2308 * sysdeps/i386/init-first.c: File removed.
2309 * sysdeps/sh/init-first.c: File removed.
2310
bec749fd
JM
23112012-10-01 Joseph Myers <joseph@codesourcery.com>
2312
2313 [BZ #14645]
2314 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
2315 if x * y might underflow to zero and z is zero.
2316 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2317 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2318 * math/libm-test.inc (min_subnorm_value): New variable.
2319 (fma_test): Add more tests.
2320 (fma_test_towardzero): Likewise.
2321 (fma_test_downward): Likewise
2322 (fma_test_upward): Likewise.
2323 (initialize): Set min_subnorm_value.
2324
8ec5b013
JM
23252012-09-29 Joseph Myers <joseph@codesourcery.com>
2326
2327 [BZ #14638]
2328 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
2329 0 + 0.
2330 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
2331 mode for addition resulting in exact zero.
2332 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
2333 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
2334 exact 0 + 0.
2335 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2336 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2337 * math/libm-test.inc (fma_test): Add more tests.
2338 (fma_test_towardzero): New function.
2339 (fma_test_downward): Likewise.
2340 (fma_test_upward): Likewise.
2341 (main): Call the new functions.
2342
b1fa802e
DM
23432012-09-28 David S. Miller <davem@davemloft.net>
2344
2345 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
2346
d3b9fd9e
RM
23472012-09-28 Roland McGrath <roland@hack.frob.com>
2348
ea4d37b3
RM
2349 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
2350 instead of SIGALRM.
2351
ac51c949
RM
2352 * sysdeps/gnu/_G_config.h: Moved to ...
2353 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
2354 * sysdeps/mach/hurd/_G_config.h: Moved to ...
2355 * sysdeps/generic/_G_config.h: ... here.
2356
28c195f7
RM
2357 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
2358
848917f9
RM
2359 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
2360
6bacf05b
RM
2361 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
2362 Conditionalize target on [libnss_test1.so-version].
2363
91363dbb
RM
2364 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
2365
cc87f7d8
RM
2366 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
2367 (elfobjdir): Move out of conditionals.
2368
b1c608fe
RM
2369 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
2370 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
2371 (__nss_lookup_function): Conditionalize label remove_from_tree on
2372 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 2373
1d9a6d96
DM
23742012-09-28 David S. Miller <davem@davemloft.net>
2375
2376 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
2377 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
2378 file.
2379 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
2380 sysdep_routines.
2381 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
2382 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
2383 when HWCAP_SPARC_CRYPTO is present.
2384
72581615
PT
23852012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2386
2387 * io/tst-mknodat.c: Create a FIFO instead of a socket.
2388
715a900c
JL
23892012-09-28 Andreas Schwab <schwab@linux-m68k.org>
2390
2391 [BZ #6530]
2392 * stdio-common/vfprintf.c (process_string_arg): Revert
2393 2000-07-22 change.
2394
23952011-09-28 Jonathan Nieder <jrnieder@gmail.com>
2396
2397 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
2398 for testcase.
2399 * stdio-common/tst-sprintf.c: Include <locale.h>
2400 (main): Test sprintf's handling of incomplete multibyte
2401 characters.
2402
9bac1d86
L
24032012-09-28 H.J. Lu <hongjiu.lu@intel.com>
2404
2405 * elf/dl-runtime.c (VERSYMIDX): Removed.
2406 * elf/dl-version.c (VERSYMIDX): Likewise.
2407 * elf/do-rel.h (VERSYMIDX): Likewise.
2408 (VALIDX): Likewise.
2409 * elf/dynamic-link.h (VERSYMIDX): Likewise.
2410 * elf/rtld.c (VALIDX): Likewise.
2411 (ADDRIDX): Likewise.
9bac1d86
L
2412 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
2413 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
2414 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
2415 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
2416 (VALIDX): Likewise.
2417 (ADDRIDX): Likewise.
9bac1d86 2418
b31606c0
PT
24192012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2420
2421 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
2422
11541177
JL
24232012-09-28 Dmitry V. Levin <ldv@altlinux.org>
2424
2425 [BZ #11438]
2426 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
2427 to global scope.
2428 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
2429 addresses are in the same scope as 192.0.2/24.
2430 * posix/gai.conf: Document new scope table defaults.
2431
adb26fae
SP
24322012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2433
2434 [BZ #5298]
2435 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
2436 for ftell. Compute offsets from write pointers instead.
2437 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2438
4573c6b0
SP
24392012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2440
2441 [BZ #14543]
2442 * libio/Makefile (tests): New test case tst-fseek.
2443 * libio/tst-fseek.c: New test case to verify that fseek/ftell
2444 combination works in wide mode.
2445 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
2446 state when the external buffer state changes.
2447
aa9bbfe6
DM
24482012-09-27 David S. Miller <davem@davemloft.net>
2449
2450 [BZ #14376]
2451 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
2452 pass reloc->r_addend in as the 'high' argument to
2453 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
2454
784421e7
DM
2455 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2456
c39bc8b8
PT
24572012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2458
2459 * rt/tst-aio2.c: Include <pthread.h>.
2460 * rt/tst-aio3.c: Likewise.
2461
1ccc2399
SE
24622012-09-27 Steve Ellcey <sellcey@mips.com>
2463
2464 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
2465
31ed4153
L
24662012-09-27 H.J. Lu <hongjiu.lu@intel.com>
2467
25f5f885
L
2468 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
2469 contents on [SHARED].
31ed4153 2470
b7bfe116
MP
24712012-09-26 Marek Polacek <polacek@redhat.com>
2472
2473 [BZ #14530]
2474 [BZ #13741]
2475 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
2476 for C++ and GCC <4.3 as well as for non GCC compilers.
2477
43c4edba
MT
24782012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
2479
2480 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2481
6a1bf82f
RM
24822012-09-25 Roland McGrath <roland@hack.frob.com>
2483
2484 * Makefile.in (all, install): Declare with .PHONY.
2485 Reported by Michael Hope <michael.hope@linaro.org>.
2486
8ad11b9a
TMQMF
24872012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2488
2489 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
2490 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
2491 system header.
2492 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
2493 Likewise.
2494 (sydep_routines): Add the new and the internal functions.
2495 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
2496 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
2497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
2498 (GLIBC_2.17): Add the new function.
2499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2500 (GLIBC_2.17): Likewise.
2501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
2502 (GLIBC_2.17): Likewise.
2503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
2504 (GLIBC_2.17): Likewise.
2505 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
2506
7e2fca8d
AM
25072012-09-25 Alan Modra <amodra@gmail.com>
2508
2509 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
2510 Add release barrier before setting once_control to say
2511 initialisation is done. Add hints on lwarx. Use macro in
2512 place of isync.
2513 (clear_once_control): Add release barrier.
2514
b87c4b24
JM
25152012-09-25 Joseph Myers <joseph@codesourcery.com>
2516
d032e0d2
JM
2517 [BZ #13629]
2518 * math/s_clog.c (__clog): Handle more values close to |z| = 1
2519 specially.
2520 * math/s_clog10.c (__clog10): Likewise.
2521 * math/s_clog10f.c (__clog10f): Likewise.
2522 * math/s_clog10l.c (__clog10l): Likewise.
2523 * math/s_clogf.c (__clogf): Likewise.
2524 * math/s_clogl.c (__clogl): Likewise.
2525 * math/Makefile (libm-calls): Add x2y2m1.
2526 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
2527 (__x2y2m1): Likewise.
2528 (__x2y2m1l): Likewise.
2529 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
2530 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
2531 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2532 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
2533 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
2534 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
2535 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
2536 * sysdeps/i386/fpu/libm-test-ulps: Update.
2537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2538
b87c4b24
JM
2539 [BZ #14621]
2540 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
2541 int as type of variable DEPTH.
2542 (glob): Use size_t instead of int as type of variables NEWCOUNT
2543 and OLD_PATHC.
2544
6d3bf199
LD
25452012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2546
22bf5c17
LD
2547 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
2548 Add s_sincosf-sse2.
2549 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
2550 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
2551 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
2552 macros for using routine as __sincosf_ia32.
2553 Use macro for function declaration and weak_alias.
2554 * sysdeps/i386/fpu/libm-test-ulps: Update.
2555
2556 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
2557 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2558
2559 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
2560 subnormal argument.
2561 * math/s_cexpf.c (__cexpf): Likewise.
2562 * math/s_csinf.c (__csinf): Likewise.
2563 * math/s_csinhf.c (__csinhf): Likewise.
2564 * math/s_ctanf.c (__ctanf): Likewise.
2565 * math/s_ctanhf.c (__ctanhf): Likewise.
2566 * math/s_ccosh.c (__ccoshf): Likewise.
2567 * math/s_cexp.c (__cexpl): Likewise.
2568 * math/s_csin.c (__csin): Likewise.
2569 * math/s_csinh.c (__csinh): Likewise.
2570 * math/s_ctan.c (__ctan): Likewise.
2571 * math/s_ctanh.c (ctanh): Likewise.
2572 * math/s_ccoshl.c (__ccoshl): Likewise.
2573 * math/s_cexpl.c (__cexpl): Likewise.
2574 * math/s_csinl.c (__csinl): Likewise.
2575 * math/s_csinhl.c (__csinhl): Likewise.
2576 * math/s_ctanl.c (__ctanl): Likewise.
2577 * math/s_ctanhl.c (__ctanhl): Likewise.
2578
203e5603
JM
25792012-09-25 Joseph Myers <joseph@codesourcery.com>
2580
2581 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
2582 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
2583 (_IO_off_t): Define to __off_t, not _G_off_t.
2584 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
2585 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
2586 (_IO_wint_t): Define to wint_t, not _G_wint_t.
2587 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
2588 type of __dummy and __dummy2 fields.
2589 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
2590 (_G_ssize_t): Likewise.
2591 (_G_off_t): Likewise.
2592 (_G_pid_t): Likewise.
2593 (_G_uid_t): Likewise.
2594 (_G_wchar_t): Likewise.
2595 (_G_wint_t): Likewise.
2596 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
2597 (_G_ssize_t): Likewise.
2598 (_G_off_t): Likewise.
2599 (_G_pid_t): Likewise.
2600 (_G_uid_t): Likewise.
2601 (_G_wchar_t): Likewise.
2602 (_G_wint_t): Likewise.
2603 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
2604 (_G_ssize_t): Likewise.
2605 (_G_off_t): Likewise.
2606 (_G_pid_t): Likewise.
2607 (_G_uid_t): Likewise.
2608 (_G_wchar_t): Likewise.
2609 (_G_wint_t): Likewise.
2610
9fab36eb
SP
26112012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2612
2613 * malloc/arena.c: Include malloc-sysdep.h.
2614 (shrink_heap): Use check_may_shrink_heap to decide if madvise
2615 is sufficient to shrink the heap or an unmap is needed.
2616 * sysdeps/generic/malloc-sysdep.h: New file. Define
2617 new function check_may_shrink_heap.
2618 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
2619 new function check_may_shrink_heap.
2620
2b4f00d1
SP
26212012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2622
2623 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
2624 comments.
2625
9a9028b1
DL
26262012-09-24 Dmitry V. Levin <ldv@altlinux.org>
2627
57c69bef
DL
2628 * catgets/test-gencat.sh: Add "set -e".
2629 * elf/tst-pathopt.sh: Likewise.
2630 * grp/tst_fgetgrent.sh: Likewise.
2631 * iconvdata/run-iconv-test.sh: Likewise.
2632 * intl/tst-gettext.sh: Likewise.
2633 * intl/tst-gettext2.sh: Likewise.
2634 * intl/tst-gettext4.sh: Likewise.
2635 * intl/tst-gettext6.sh: Likewise.
2636 * intl/tst-translit.sh: Likewise.
2637 * io/ftwtest-sh: Likewise.
2638 * libio/test-freopen.sh: Likewise.
2639 * malloc/tst-mtrace.sh: Likewise.
2640 * posix/globtest.sh: Likewise.
2641 * posix/tst-getconf.sh: Likewise.
2642 * posix/wordexp-tst.sh: Likewise.
2643 * stdio-common/tst-printf.sh: Likewise.
2644 * stdio-common/tst-unbputc.sh: Likewise.
2645 * stdlib/tst-fmtmsg.sh: Likewise.
2646 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
2647 * catgets/Makefile: Do not specify -e option when running
2648 testsuite shell scripts.
2649 * elf/Makefile: Likewise.
2650 * grp/Makefile: Likewise.
2651 * iconvdata/Makefile: Likewise.
2652 * intl/Makefile: Likewise.
2653 * io/Makefile: Likewise.
2654 * libio/Makefile: Likewise.
2655 * malloc/Makefile: Likewise.
2656 * posix/Makefile: Likewise.
2657 * stdio-common/Makefile: Likewise.
2658 * stdlib/Makefile: Likewise.
2659 * sysdeps/x86_64/Makefile: Likewise.
2660
9a9028b1
DL
2661 * io/ftwtest-sh: Add copyright header.
2662 * posix/globtest.sh: Likewise.
2663 * posix/tst-getconf.sh: Likewise.
2664 * posix/wordexp-tst.sh: Likewise.
2665 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
2666
ced6f16e
L
26672012-09-24 H.J. Lu <hongjiu.lu@intel.com>
2668
94b32c39
L
2669 [BZ #13679]
2670 * Makeconfig (+link): Defined as $(+link-static) if
2671 $(build-shared) isn't yes.
2672 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
2673 isn't yes.
2674 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
2675
189e935b
L
2676 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
2677
ced6f16e
L
2678 [BZ #14562]
2679 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
2680 new chunk size with MALLOC_ALIGN_MASK.
2681
a9f8e53a
JM
26822012-09-24 Joseph Myers <joseph@codesourcery.com>
2683
2684 [BZ #5044]
2685 * stdio-common/printf_fphex.c: Include <stdbool.h> and
2686 <rounding-mode.h>.
2687 (__printf_fphex): Determine rounding using get_rounding_mode and
2688 round_away.
2689 * stdio-common/tst-printf-round.c (struct hex_test): New
2690 structure.
2691 (hex_tests): New variable.
2692 (test_hex_in_one_mode): New function.
2693 (do_test): Also run tests for hex float output.
2694
43153109
JM
26952012-09-21 Joseph Myers <joseph@codesourcery.com>
2696
2697 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
2698 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
2699 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
2700 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
2701 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
2702 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
2703 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
2704 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
2705
8a26625d
JM
27062012-09-20 Joseph Myers <joseph@codesourcery.com>
2707
2708 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
2709 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
2710 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
2711 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
2712
f3fd569c
DL
27132012-09-19 Dmitry V. Levin <ldv@altlinux.org>
2714
2715 [BZ #14579]
2716 * elf/rtld.c (dl_main): Limit the check for self loading to normal
2717 mode only.
2718 * elf/tst-rtld-load-self.sh: New test.
2719 * elf/Makefile: Run it.
2720
63bbedd4
JM
27212012-09-18 Joseph Myers <joseph@codesourcery.com>
2722
2723 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
2724 (tst-writev-ENV): Remove.
2725 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
2726
626f8b6a
CM
27272012-09-17 Chris Metcalf <cmetcalf@tilera.com>
2728
2729 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
2730
b7aaa4d6
JM
27312012-09-17 Joseph Myers <joseph@codesourcery.com>
2732
2733 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
2734 unconditional.
2735 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
2736 Likewise.
2737 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
2738 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
2739 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
2740 Likewise.
2741
65513990
L
27422012-09-14 H.J. Lu <hongjiu.lu@intel.com>
2743
2744 [BZ #14587]
2745 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
2746 * config.make.in (have-cpp-asm-debuginfo): Removed.
2747 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
2748 * configure: Regenerated.
2749
784761be
JM
27502012-09-14 Joseph Myers <joseph@codesourcery.com>
2751
2752 [BZ #5044]
2753 * stdio-common/printf_fp.c: Include <stdbool.h> and
2754 <rounding-mode.h>.
2755 (___printf_fp): Determine rounding using get_rounding_mode and
2756 round_away.
2757 * stdio-common/tst-printf-round.c: New file.
2758 * stdio-common/Makefile (tests): Add tst-printf-round.
2759 (link-libm): New variable.
2760 ($(objpfx)tst-printf-round): Depend in $(link-libm).
2761
9503345f
L
27622012-09-13 H.J. Lu <hongjiu.lu@intel.com>
2763
2764 [BZ #14576]
2765 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
2766 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
2767 Likewise.
2768 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
2769 Likewise.
2770
ad35fc00
JM
27712012-09-13 Joseph Myers <joseph@codesourcery.com>
2772
2773 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
2774 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
2775 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
2776 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
2777
6c9b0f68
JM
27782012-09-12 Joseph Myers <joseph@codesourcery.com>
2779
2780 [BZ #14518]
2781 * include/rounding-mode.h: New file.
2782 * sysdeps/generic/get-rounding-mode.h: Likewise.
2783 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
2784 * stdlib/strtod_l.c: Include <rounding-mode.h>.
2785 (MAX_VALUE): New macro.
2786 (MIN_VALUE): Likewise.
2787 (overflow_value): New function.
2788 (underflow_value): Likewise.
2789 (round_and_return): Use overflow_value and underflow_value to
2790 determine return values in overflow and underflow cases. Use
2791 round_away to determine rounding depending on rounding mode.
2792 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
2793 determine return values in overflow and underflow cases.
2794 * stdlib/tst-strtod-round.c: Include <fenv.h>.
2795 (struct test_results): New structure.
2796 (struct test): Use struct test_results to store expected results
2797 for all rounding modes.
2798 (TEST): Include expected results for all rounding modes.
2799 (test_in_one_mode): New function.
2800 (do_test): Use test_in_one_mode to compute and check results.
2801 Check results for all rounding modes.
2802 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
2803 $(link-libm).
2804
19fcedd5
AM
28052012-12-09 Allan McRae <allan@archlinux.org>
2806
1e9d84cd 2807 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 2808
8bbfd2f1
JM
28092012-09-11 Joseph Myers <joseph@codesourcery.com>
2810
2811 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
2812 (_G_int32_t): Likewise.
2813 (_G_uint16_t): Likewise.
2814 (_G_uint32_t): Likewise.
2815 (_G_HAVE_BOOL): Likewise.
2816 (_G_HAVE_ATEXIT): Likewise.
2817 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
2818 (_G_HAVE_IO_FILE_OPEN): Likewise.
2819 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
2820 (_G_int32_t): Likewise.
2821 (_G_uint16_t): Likewise.
2822 (_G_uint32_t): Likewise.
2823 (_G_HAVE_BOOL): Likewise.
2824 (_G_HAVE_ATEXIT): Likewise.
2825 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
2826 (_G_HAVE_IO_FILE_OPEN): Likewise.
2827 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
2828 (_G_int32_t): Likewise.
2829 (_G_uint16_t): Likewise.
2830 (_G_uint32_t): Likewise.
2831 (_G_HAVE_BOOL): Likewise.
2832 (_G_HAVE_ATEXIT): Likewise.
2833 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
2834 (_G_HAVE_IO_FILE_OPEN): Likewise.
2835
b1dc5912
L
28362012-09-11 H.J. Lu <hongjiu.lu@intel.com>
2837
2838 * csu/libc-tls.c: Update copyright years.
2839
0e886ef9
JM
28402012-09-10 Joseph Myers <joseph@codesourcery.com>
2841
28361c5e
JM
2842 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
2843 [!_G_USING_THUNKS]: Remove conditional code.
2844 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
2845 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
2846
0e886ef9
JM
2847 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
2848 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
2849 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
2850 (_G_VTABLE_LABEL_PREFIX): Likewise.
2851 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
2852 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
2853 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
2854 (_G_VTABLE_LABEL_PREFIX): Likewise.
2855 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
2856 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
2857 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
2858 (_G_VTABLE_LABEL_PREFIX): Likewise.
2859 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
2860
bcba7aa2
L
28612012-09-10 H.J. Lu <hongjiu.lu@intel.com>
2862
2863 * libio/Makefile: Include ../Makeconfig before tests.
2864 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
2865 only if $(build-shared) is yes.
2866
06585ee8
L
2867 * iconv/gconv_db.c: Update copyright years.
2868
80ccd52c
LD
28692012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2870
2871 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
2872 unwind info if defined PIC. Fix special cases description.
2873 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
2874
2875 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
2876 DP_HI_MASK entry.
2877 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
2878
691bc9c1
L
28792012-09-07 H.J. Lu <hongjiu.lu@intel.com>
2880
3d9b46b3
L
2881 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
2882
de2139a9
L
2883 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
2884 is NULL.
2885
5ca78dd0
L
2886 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
2887 (LDLIBS-tst-chk4): This.
2888 (LDFLAGS-tst-chk5): Renamed to ...
2889 (LDLIBS-tst-chk5): This.
2890 (LDFLAGS-tst-chk6): Renamed to ...
2891 (LDLIBS-tst-chk6): This.
2892 (LDFLAGS-tst-lfschk4): Renamed to ...
2893 (LDLIBS-tst-lfschk4): This.
2894 (LDFLAGS-tst-lfschk5): Renamed to ...
2895 (LDLIBS-tst-lfschk5): This.
2896 (LDFLAGS-tst-lfschk6): Renamed to ...
2897 (LDLIBS-tst-lfschk6): This.
2898
691bc9c1
L
2899 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
2900 on $(common-objpfx)soversions.mk.
2901
65cafb1c
JM
29022012-09-07 Joseph Myers <joseph@codesourcery.com>
2903
2904 [BZ #10014]
2905 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
2906 example host name.
2907
c78ab094
SP
29082012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
2909
2910 * malloc/arena.c (arena_get_retry): New function that gets
2911 another arena for the caller to try its request on.
2912 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
2913 current arena cannot fulfill the request.
2914 (__libc_memalign): Likewise.
2915 (__libc_memalign): Likewise.
2916 (__libc_pvalloc): Likewise.
2917 (__libc_calloc): Likewise.
2918
01f49f59
JT
29192012-09-05 John Tobey <john.tobey@gmail.com>
2920
2921 [BZ #13542]
2922 * manual/arith.texi (Operations on Complex): Fix description
2923 of carg branch cut.
2924
4c23fed5
JM
29252012-09-06 Joseph Myers <joseph@codesourcery.com>
2926
1d3c8572
JM
2927 [BZ #10014]
2928 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
2929 host name.
2930
4c23fed5
JM
2931 [BZ #10038]
2932 * manual/memory.texi (Memory): Make order of menu items match
2933 order of sections.
2934
04570aaa
L
29352012-09-06 H.J. Lu <hongjiu.lu@intel.com>
2936
2937 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
2938 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
2939 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
2940
b80af2f4
L
29412012-09-06 H.J. Lu <hongjiu.lu@intel.com>
2942
2943 * csu/libc-tls.c (static_dtv): Renamed to ...
2944 (_dl_static_dtv): This. Make it global.
2945 (_dl_initial_dtv): Removed.
2946 (__libc_setup_tls): Updated.
2947 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
2948 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
2949 DL_INITIAL_DTV.
2950
2abe9f15
PM
29512012-09-06 Petr Machata <pmachata@redhat.com>
2952
2953 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
2954 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
2955 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
2956 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
2957
0948c3af
L
29582012-09-06 H.J. Lu <hongjiu.lu@intel.com>
2959
2960 [BZ #14545]
2961 * csu/libc-tls.c (_dl_initial_dtv): New variable.
2962 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
2963 freeing dtv[-1].
2964
a5055ad1
L
29652012-09-06 H.J. Lu <hongjiu.lu@intel.com>
2966
2967 [BZ #14544]
2968 * Makeconfig (link-static-before-libc): Replace $(+prector)
2969 with $(+prectorT).
2970 (link-static-after-libc): Replace $(+postctor) with
2971 $(+postctorT).
2972 (link-bounded): Replace $(+prector)/$(+postctor) with
2973 $(+prectorT)/$(+postctorT).
2974 (+prectorT): New macro.
2975 (+postctorT): Likewise.
2976
ed8c2ecd
JM
29772012-09-06 Joseph Myers <joseph@codesourcery.com>
2978
2979 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
2980 (round_str): Handle values above the maximum for IBM long double
2981 as inexact.
2982 * stdlib/tst-strtod-round.c (tests): Regenerated.
2983
14c996c8
AK
29842012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2985
2986 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
2987 assembler flag.
2988 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
2989 zarch_nohighgprs around the zarch optimized routines.
2990 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
2991 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
2992 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
2993 for zarch.
2994
430d6ce6
DM
29952012-09-05 David S. Miller <davem@davemloft.net>
2996
2997 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2998
ff04dda4
DM
2999 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
3000 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
3001 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
3002 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
3003 entries.
3004
24d4e01b
AO
30052012-09-05 Alexandre Oliva <aoliva@redhat.com>
3006
3007 * malloc/arena.c: Fold copyright years.
3008 * malloc/mcheck.c, malloc/memusage.c: Likewise.
3009
61d58174
AO
30102012-09-05 Alexandre Oliva <aoliva@redhat.com>
3011
3012 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
3013
20196a5e
AO
30142012-09-05 Alexandre Oliva <aoliva@redhat.com>
3015
3016 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
3017
5c447383
AO
30182012-09-05 Alexandre Oliva <aoliva@redhat.com>
3019
3020 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
3021 change internal state upon failure.
3022
fad64255
AO
30232012-09-05 Alexandre Oliva <aoliva@redhat.com>
3024
3025 * malloc/mcheck.c (mcheck_check_all): Fix typo.
3026 * malloc/memusage.c (mmap): Likewise.
3027 (mmap64, mremap): Likewise. Adjust name in comment.
3028
1ffb8c90
SP
30292012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3030
3031 * libio/fileops.c: Fix typos in comments.
3032 * libio/oldfileops.c: Likewise.
3033 * libio/wfileops.c: Likewise.
3034
6ef9cc37
SP
30352012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3036
3037 [BZ #1349]
3038 * malloc/Makefile (tests): Add tst-malloc-usable test case.
3039 (tst-malloc-usable-ENV): Set environment for test case.
3040 * malloc/hooks.c (malloc_check_get_size): New function to get
3041 requested size.
3042 * malloc/malloc.c (musable): Use malloc_check_get_size.
3043 * malloc/tst-malloc-usable.c: New test case.
3044
4d038ae3
AS
30452012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3046
3047 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
3048
c4e85184
AM
30492012-09-05 Allan McRae <allan@archlinux.org>
3050
b9dafc56 3051 [BZ #13966]
c4e85184
AM
3052 * configure.in (CXX_SYSINCLUDES): Use compiler output to
3053 determine header location.
3054 * configure: Regenerated.
3055
e1343020
AS
30562012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3057
3058 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
3059 float format.
3060 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
3061 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
3062 format.
e1343020
AS
3063 (test): Regenerate.
3064
0a9f1987
DM
30652012-09-04 David S. Miller <davem@davemloft.net>
3066
3067 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
3068 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
3069 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
3070
29237804
FW
30712012-09-04 Florian Weimer <fweimer@redhat.com>
3072
3073 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
3074 failures.
3075
edb3cb88
FW
3076 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
3077
60160d83
JM
30782012-09-04 Joseph Myers <joseph@codesourcery.com>
3079
3080 [BZ #9914]
3081 * libio/iogetdelim.c: Include <limits.h>.
3082 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
3083 + len + 1 would overflow.
3084
bcd6c8dc
AJ
30852012-09-03 Andreas Jaeger <aj@suse.de>
3086
3087 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3088 * sysdeps/i386/fpu/libm-test-ulps: Update.
3089
4ffffbd2
LD
30902012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3091
3092 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3093 Add s_sinf-sse2, s_conf-sse2.
3094
3095 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
3096 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
3097 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
3098 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
3099
3100 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
3101 for using routine as __sinf_ia32.
3102 Use macro for function declaration and weak_alias.
3103 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
3104 for using routine as __cosf_ia32.
3105 Use macro for function declaration and weak_alias.
3106
3107 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
3108 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
3109
3110 * sysdeps/x86_64/fpu/s_sinf.S: New file.
3111 * sysdeps/x86_64/fpu/s_cosf.S: New file.
3112 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3113
3114 * math/libm-test.inc (cos_test): Add more test cases.
3115 (sin_test): Likewise.
3116 (sincos_test): Likewise.
3117
511fa286
AK
31182012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3119
3120 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
3121 (IFUNC_RESOLVE): Make pointers to the specialized implementations
3122 hidden.
3123 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3124
5f30cfec
L
31252012-09-02 H.J. Lu <hongjiu.lu@intel.com>
3126
3127 [BZ #14538]
3128 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
3129 first element of the GOT.
3130 (elf_machine_load_address): Return the difference between
3131 the runtime address of _DYNAMIC and elf_machine_dynamic ().
3132
0786794f
AM
31332012-09-01 Allan McRae <allan@archlinux.org>
3134
5f30cfec
L
3135 [BZ #13412]
3136 * configure.in (AWK): Require gawk version 3.0 or later.
3137 * configure: Regenerated.
0786794f 3138
26889eac
JM
31392012-09-01 Joseph Myers <joseph@codesourcery.com>
3140
3141 * sysdeps/unix/sysv/linux/kernel-features.h
3142 (__ASSUME_POSIX_CPU_TIMERS): Remove.
3143 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3144 [__NR_clock_getres]: Make code unconditional.
3145 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
3146 (clock_getcpuclockid): Remove code left unreachable by removal of
3147 conditionals.
3148 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
3149 code unconditional.
3150 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3151 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3152 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
3153 Make code unconditional.
3154 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3155 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3156 * sysdeps/unix/sysv/linux/clock_settime.c
3157 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
3158 conditional code.
3159 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
3160 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3161
d22e28b0
L
31622012-08-29 H.J. Lu <hongjiu.lu@intel.com>
3163
3164 [BZ #14476]
3165 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
3166 scripts/test-installation.pl.
3167
3168 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
3169 and $ld_so_version if it is set.
3170
050af9c4
SP
31712012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3172
3173 [BZ #14516]
3174 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
3175 failure if reading from procfs failed.
3176 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
3177
ad845c0b
JM
31782012-08-27 Joseph Myers <joseph@codesourcery.com>
3179
3180 * sysdeps/unix/sysv/linux/kernel-features.h
3181 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
3182 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
3183 Remove conditional code.
3184 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3185 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
3186 Remove conditional code.
3187 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3188 * sysdeps/unix/sysv/linux/i386/fxstat.c
3189 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3190 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3191 * sysdeps/unix/sysv/linux/i386/fxstatat.c
3192 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3193 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3194 * sysdeps/unix/sysv/linux/i386/lxstat.c
3195 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3196 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3197 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
3198 Remove conditional code.
3199 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3200 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
3201 Remove conditional code.
3202 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3203 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
3204 <kernel-features.h>.
3205 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
3206 Remove.
3207 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
3208 Remove conditional code.
3209 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3210 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
3211 Remove conditional.
3212
5dbf56af
MF
32132012-08-27 Mike Frysinger <vapier@gentoo.org>
3214
3215 [BZ #5400]
3216 * NEWS: Add fixed bug number.
3217
d6e70f43
JM
32182012-08-27 Joseph Myers <joseph@codesourcery.com>
3219
7efb4737
JM
3220 [BZ #14519]
3221 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
3222 underflowing exponent in case of negative sign.
3223 * stdlib/tst-strtod-round-data: Add more tests.
3224 * stdlib/tst-strtod-round.c (tests): Regenerated.
3225
af92131a
JM
3226 [BZ #3479]
3227 * stdlib/strtod_l.c (NDIG): Remove.
3228 (HEXNDIG): Likewise.
3229 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
3230 smallest representable value.
3231 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
3232 lie within an exact representation of 1/2 ulp of the result.
3233 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
3234 unconditionally.
3235 (TENS_P9_IDX): Define unconditionally.
3236 (TENS_P9_SIZE): Likewise.
3237 (TENS_P10_IDX): Likewise.
3238 (TENS_P10_SIZE): Likewise.
3239 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
3240 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
3241 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
3242 entries for 10^2^13 and 10^2^14.
3243 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
3244 (TENS_P13_IDX): Define.
3245 (TENS_P13_SIZE): Likewise.
3246 (TENS_P14_IDX): Likewise.
3247 (TENS_P14_SIZE): Likewise.
3248 (_fpioconst_pow10): Change array size to
3249 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
3250 unconditional.
3251 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
3252 1024]: Add entries for 10^2^13 and 10^2^14.
3253 [LAST_POW10 > _LAST_POW10]: Remove #error.
3254 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
3255 (_fpioconst_pow10): Change array size to
3256 FPIOCONST_POW10_ARRAY_SIZE.
3257 * stdlib/gen-fpioconst.c: New file.
3258 * stdlib/gen-tst-strtod-round.c: Likewise.
3259 * stdlib/tst-strtod-round-data: Likewise.
3260 * stdlib/tst-strtod-round.c: Likewise.
3261 * stdlib/Makefile (tests): Add tst-strtod-round.
3262
d6e70f43
JM
3263 [BZ #14459]
3264 * stdlib/strtod_l.c: Include <stdint.h>.
3265 (NDEBUG): Do not define.
3266 (round_and_return): Change EXPONENT parameter to type intmax_t.
3267 Rearrange calculations to avoid internal overflow possibilities.
3268 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
3269 Rearrange calculations to avoid internal overflow possibilities.
3270 Assert that number fits inside MPNSIZE limbs.
3271 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
3272 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
3273 calculations and add assertions to avoid internal overflow
3274 possibilities. Add casts to avoid signed/unsigned operations.
3275 * stdlib/tst-strtod-overflow.c: New file.
3276 * stdlib/Makefile (tests): Add tst-strtod-overflow.
3277
1f529f7d
MP
32782012-08-25 Marek Polacek <polacek@redhat.com>
3279
3280 * time/time.h: Fix some typos in comments.
3281
59a629f1
RM
32822012-08-23 Roland McGrath <roland@hack.frob.com>
3283
3284 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
3285 * posix/tst-rfc3484-2.c: Likewise.
3286 * posix/tst-rfc3484-3.c: Likewise.
3287
d3bafbc9
SM
32882012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
3289
3290 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
3291 (EF_ARM_ABI_FLOAT_HARD): Likewise.
3292
4efcc022
JM
32932012-08-23 Joseph Myers <joseph@codesourcery.com>
3294
3295 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
3296 #include of fxstatat64.c.
3297
3cc3ef96
RM
32982012-08-22 Roland McGrath <roland@hack.frob.com>
3299
f04e2132
RM
3300 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
3301 * shadow/getspent_r.c: Likewise.
3302 * shadow/getspnam.c: Likewise.
3303 * shadow/getspnam_r.c: Likewise.
3304 * gshadow/getsgent.c: Likewise.
3305 * gshadow/getsgent_r.c: Likewise.
3306 * gshadow/getsgnam.c: Likewise.
3307 * gshadow/getsgnam_r.c: Likewise.
3308 * inet/getnetbyad.c: Likewise.
3309 * inet/getnetbyad_r.c: Likewise.
3310 * inet/getnetbynm.c: Likewise.
3311 * inet/getnetbynm_r.c: Likewise.
3312 * inet/getnetent.c: Likewise.
3313 * inet/getnetent_r.c: Likewise.
3314 * inet/getproto.c: Likewise.
3315 * inet/getproto_r.c: Likewise.
3316 * inet/getprtent.c: Likewise.
3317 * inet/getprtent_r.c: Likewise.
3318 * inet/getprtname.c: Likewise.
3319 * inet/getprtname_r.c: Likewise.
3320 * inet/getrpcbyname.c: Likewise.
3321 * inet/getrpcbyname_r.c: Likewise.
3322 * inet/getrpcbynumber.c: Likewise.
3323 * inet/getrpcbynumber_r.c: Likewise.
3324 * inet/getrpcent.c: Likewise.
3325 * inet/getrpcent_r.c: Likewise.
3326 * inet/getaliasent.c: Likewise.
3327 * inet/getaliasent_r.c: Likewise.
3328 * inet/getaliasname.c: Likewise.
3329 * inet/getaliasname_r.c: Likewise.
3330 * nscd/getgrgid_r.c: Likewise.
3331 * nscd/getgrnam_r.c: Likewise.
3332 * nscd/gethstbyad_r.c: Likewise.
3333 * nscd/gethstbynm3_r.c: Likewise.
3334 * nscd/getpwnam_r.c: Likewise.
3335 * nscd/getpwuid_r.c: Likewise.
3336 * nscd/getsrvbynm_r.c: Likewise.
3337 * nscd/getsrvbypt_r.c: Likewise.
3338 * nscd/gai.c: Likewise.
3339
c53d909c
RM
3340 * configure.in (build_nscd): New substituted variable, set
3341 by --disable-build-nscd and defaults to $use_nscd.
3342 * configure: Regenerated.
3343 * config.make.in (build-nscd): New substituted variable.
3344 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
3345 Change conditional to require [$(build-nscd) = yes] as well.
3346 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
3347
3cc3ef96
RM
3348 [BZ# 13696]
3349 * configure.in (use_nscd): New substituted variable, set by
3350 --disable-nscd. If enabled, define USE_NSCD.
3351 * configure: Regenerated.
3352 * config.h.in: Add USE_NSCD.
3353 * config.make.in (use-nscd): New substituted variable.
3354 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
3355 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
3356 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
3357 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
3358 (CFLAGS-getgrnam_r.c): Likewise.
3359 (CFLAGS-initgroups.c): Likewise.
3360 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
3361 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
3362 Variables removed.
3363 * inet/getnetgrent_r.c
3364 (nscd_setnetgrent): New function, broken out of ...
3365 (setnetgrent): ... here. Call it.
3366 (innetgr): Conditionalize nscd bits on [USE_NSCD].
3367 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
3368 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
3369 * nscd/Makefile (routines, aux): Move definitions after include of
3370 Makeconfig. Conditionalize on [$(use-nscd) != no].
3371 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
3372 Conditionalize on [USE_NSCD].
3373 (is_nscd, nscd_init_cb): Likewise.
3374 (nss_load_library): Conditionalize init callback on [USE_NSCD].
3375 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
3376 * nss/nss_db/db-init.c: Likewise.
3377 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
3378 [USE_NSCD].
3379 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
3380 (make_request): Use it.
3381 (cache_valid_p): New function.
3382 (__check_pf): Use it.
3383 * NEWS: Add item for --disable-nscd.
3384
07e51550
DL
33852012-08-22 Dmitry V. Levin <ldv@altlinux.org>
3386
3387 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
3388 to support sed >= 4.2.1-20-ga9bf076.
3389 * configure: Regenerated.
3390
35a5b08b
RM
33912012-08-22 Roland McGrath <roland@hack.frob.com>
3392
3393 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
3394 Conditionalize whole body on [IREL].
3395
8479f23a
JL
33962012-08-22 Jeff Law <law@redhat.com>
3397
3398 [BZ #14505]
3399 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
3400 if the family is PF_UNSPEC.
3401
48da0b21
MF
34022012-08-22 Mike Frysinger <vapier@gentoo.org>
3403
3404 * Makerules (lib-version): Rename from V.
3405 (install-lib-nosubdir): Change V to lib-version.
3406
15d0da8c
WS
34072012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
3408
3409 [BZ #14252]
3410 * powerpc32/power6/wcschr.c: New file.
3411 * powerpc32/power6/wcscpy.c: New file.
3412 * powerpc32/power6/wcsrchr.c: New file.
3413 * powerpc64/power6/wcschr.c: New file.
3414 * powerpc64/power6/wcscpy.c: New file.
3415 * powerpc64/power6/wcsrchr.c: New file.
3416
bcca0895
MK
34172012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
3418
3419 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
3420 (two_way_short_needle): Use it.
5a4aaa33
RM
3421 * string/strstr.c (AVAILABLE1_USES_J): Define.
3422 * string/strcasestr.c: Likewise.
99677e57
MK
3423
3424 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
3425 array references.
3426 * string/strcasestr.c (TOLOWER): Make side-effect safe.
3427
400726de
MK
3428 [BZ #11607]
3429 * NEWS: Add an entry.
3430 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
3431 define their defaults.
3432 (two_way_short_needle): Detect end-of-string on-the-fly.
3433 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
3434 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
3435 * string/bug-strcasestr1.c: New test.
3436 * string/Makefile: Run it.
3437
20a71f2c
MK
34382012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
3439
3440 [BZ #11607]
3441 * string/str-two-way.h (two_way_short_needle): Optimize matching of
3442 the first character.
3443
21ad0558
RM
34442012-08-21 Roland McGrath <roland@hack.frob.com>
3445
3446 * csu/elf-init.c (__libc_csu_irel): Function removed.
3447 * csu/libc-start.c (apply_irel): New function.
3448 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
3449
0e1d9911
JM
34502012-08-21 Joseph Myers <joseph@codesourcery.com>
3451
3452 * sysdeps/unix/sysv/linux/kernel-features.h
3453 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
3454 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
3455 <kernel-features.h>.
3456 [__NR_fadvise64_64]: Make code unconditional.
3457 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
3458 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
3459 !__NR_fadvise64_64)]: Likewise.
3460 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
3461 !__NR_fadvise64_64))]: Likewise.
3462 [__NR_fadvise64]: Make code unconditional.
3463 [!__NR_fadvise64]: Remove conditional code.
3464 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
3465 <kernel-features.h>.
3466 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3467 unconditional.
3468 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3469 conditional code.
3470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
3471 not include <kernel-features.h>.
3472 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3473 unconditional.
3474 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3475 conditional code.
3476 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
3477 include <kernel-features.h>.
3478 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3479 unconditional.
3480 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3481 conditional code.
3482
14a50c9d
WS
34832012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
3484
3485 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
3486 slight instruction rearrangements per scrollpipe analysis.
3487 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3488
c0f4faf0
RM
34892012-08-20 Roland McGrath <roland@hack.frob.com>
3490
696da859
RM
3491 * manual/syslog.texi (syslog; vsyslog, closelog):
3492 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
3493 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
3494
c0f4faf0
RM
3495 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
3496 DSOCAPS to match condition on defining it.
3497
348363b2
JM
34982012-08-20 Joseph Myers <joseph@codesourcery.com>
3499
a35cbf28
JM
3500 * sysdeps/unix/sysv/linux/kernel-features.h
3501 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
3502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
3503 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3504 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
3506 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3507 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
3509 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3510 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3511
445f7ecd
JM
3512 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
3513 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
3514
348363b2
JM
3515 * sysdeps/unix/sysv/linux/kernel-features.h
3516 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
3517 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
3518 unconditional.
3519 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3520 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
3521 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
3522 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3523 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
3524 Make code unconditional.
3525 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3526 (__mmap64) [!__NR_mmap2]: Likewise.
3527 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
3528 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
3529 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3530 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
3531 [__NR_mmap2]: Make code unconditional.
3532 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3533 (__mmap64) [!__NR_mmap2]: Likewise.
3534
bc5bc0e5
AK
35352012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3536
3537 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
3538
88d506de
AJ
35392012-08-18 Andreas Jaeger <aj@suse.de>
3540
3541 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
3542
493387d2
MF
35432012-08-18 Mike Frysinger <vapier@gentoo.org>
3544
3545 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
3546 * include/unistd.h (__have_sock_cloexec): Likewise.
3547 (__have_pipe2): Likewise.
3548 (__have_dup3): Likewise.
3549
a277af22
MF
35502012-08-18 Mike Frysinger <vapier@gentoo.org>
3551
3552 [BZ #9685]
3553 * include/unistd.h (__have_pipe2): Change define into an extern int.
3554 (__have_dup3): Likewise.
3555 * socket/have_sock_cloexec.c: Include fcntl.h.
3556 (__have_pipe2): New variable.
3557 (__have_dup3): Likewise.
3558
fdab8fd3
MF
35592012-08-17 Mike Frysinger <vapier@gentoo.org>
3560
3561 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
3562
31035e80
MP
35632012-08-17 Marek Polacek <polacek@redhat.com>
3564
3565 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
3566 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
3567
3bd9e993
RM
35682012-08-17 Roland McGrath <roland@hack.frob.com>
3569
c91c505f
RM
3570 * configure.in: Add AC_SUBST for sysheaders.
3571 * configure: Regenerated.
3572 * config.make.in (sysheaders): New substituted variable.
3573
7c6f9d53
RM
3574 * sysdeps/unix/mkfifo.c: Moved ...
3575 * sysdeps/posix/mkfifo.c: ... here.
3576 * sysdeps/unix/mkfifoat.c: Moved ...
3577 * sysdeps/posix/mkfifoat.c: ... here.
3578
3579 * sysdeps/unix/utime.c: Moved ...
3580 * sysdeps/posix/utime.c: ... here.
3581
3582 * sysdeps/unix/time.c: Moved ...
3583 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
3584 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
3585 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
3586
3587 * sysdeps/unix/nice.c: Moved ...
3588 * sysdeps/posix/nice.c: ... here.
3589
3590 * sysdeps/unix/alarm.c: Moved ...
3591 * sysdeps/posix/alarm.c: ... here.
3592
3bd9e993
RM
3593 * intl/Makefile ($(codeset_mo)): Depend on the input file.
3594
d1f09384
JL
35952012-08-17 Jeff Law <law@redhat.com>
3596
3597 * intl/Makefile (codeset_mo): New variable.
3598 ($(codeset_mo)): New target.
3599 (tst-codeset.out): Depend on that. Remove explicit rule.
3600 (tst-gettext3.out, tst-gettext5.out): Likewise.
3601 (LOCPATH-ENV, tst-codeset-ENV): New variables.
3602 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
3603 * intl/tst-codeset.sh: Remove.
3604 * intl/tst-gettext3.sh: Likewise.
3605 * intl/tst-gettext5.sh: Likewise.
3606
2ae1ae5c
RM
36072012-08-17 Roland McGrath <roland@hack.frob.com>
3608
c31fdb83
RM
3609 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
3610 * sysdeps/unix/syscalls.list: ... here.
3611
a0844057
RM
3612 * sysdeps/posix/getaddrinfo.c
3613 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
3614 (gaiconf_init, gaiconf_reload): Use them.
3615 [!_STATBUF_ST_NSEC]
3616 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
3617 Define using time_t rather than struct timespec.
3618
750c1f2a
RM
3619 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
3620 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
3621 Macros removed.
3622 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
3623 [!NO_THREADS].
3624 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
3625 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
3626 Likewise.
3627
2ae1ae5c
RM
3628 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
3629 __libc_cleanup_push argument.
3630
e66a42f5
RM
3631 * bits/param.h: New file.
3632 * misc/sys/param.h: New file.
3633 * include/sys/param.h: New file.
3634 * misc/Makefile (headers): Add bits/param.h.
3635 * sysdeps/generic/sys/param.h: File removed.
3636 * sysdeps/unix/sysv/linux/bits/param.h: New file.
3637 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
3638 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 3639 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 3640
b7c08a66
RM
3641 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
3642 last change.
3643
b2e1c562
RM
3644 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
3645 [_IO_MTSAFE_IO].
3646 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
3647 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
3648 New macros.
3649
c75ccd4c
RM
3650 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
3651 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
3652 rather than -D_IO_MTSAFE_IO conditionally.
3653 * stdio-common/Makefile (CPPFLAGS): Likewise.
3654 * wcsmbs/Makefile (CPPFLAGS): Likewise.
3655 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
3656 Use $(libio-mtsafe).
3657 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
3658 of -D_IO_MTSAFE_IO.
3659 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
3660 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
3661 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
3662 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
3663 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
3664 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
3665 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
3666 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
3667 (CFLAGS-fread_u_chk.c): Likewise.
3668 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
3669 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
3670 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
3671 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
3672 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
3673 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
3674 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
3675 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
3676 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
3677
3678 * libio/Makefile: Test [$(libc-reentrant) = yes]
3679 instead of [$(filter %REENTRANT, $(defines)) nonempty].
3680
3681 * Makeconfig
3682 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
3683 * sysdeps/pthread/configure: File removed.
3684 * sysdeps/pthread/Makeconfig: New file.
3685 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
3686 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
3687
d9195db8
GB
36882012-08-16 Gary Benson <gbenson@redhat.com>
3689
3690 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
3691 unmapping the first object in a namespace.
3692
86466cd9
RM
36932012-08-16 Roland McGrath <roland@hack.frob.com>
3694
3695 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
3696 (__internal_setnetgrent): ... this. Add internal_function to
3697 definition. Add libc_hidden_def.
3698 (setnetgrent): Update caller.
3699 (internal_endnetgrent): Renamed to ...
3700 (__internal_endnetgrent): ... this. Add internal_function to
3701 definition. Add libc_hidden_def.
3702 (endnetgrent): Update caller.
3703 (internal_getnetgrent_r): Renamed to ...
3704 (__internal_getnetgrent_r): ... this. Add internal_function to
3705 definition. Add libc_hidden_def.
3706 (__getnetgrent_r): Update caller.
3707 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
3708
c3c8283c
JM
37092012-08-16 Joseph Myers <joseph@codesourcery.com>
3710
3711 * stdlib/longlong.h: Update from GCC.
3712
db1ee0a8
RM
37132012-08-16 Roland McGrath <roland@hack.frob.com>
3714
3715 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
3716 on _QL, which is set by umul_ppmm but never used.
3717 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
3718 variables, which are set by GMP macros but never used.
3719 * stdio-common/_itowa.c (_itowa): Likewise.
3720 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
3721 * stdlib/mod_1.c (mpn_mod_1): Likewise.
3722
30f69637
CD
37232012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
3724
3725 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
3726 struct La_sh_regs is not constant.
3727 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
3728 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
3729 and struct La_sparc64_regs are not constant.
3730
93a78ac4
JM
37312012-08-16 Joseph Myers <joseph@codesourcery.com>
3732
3733 * sysdeps/unix/sysv/linux/kernel-features.h
3734 (__ASSUME_POSIX_TIMERS): Remove.
3735 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3736 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3737 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
3738 Make code unconditional.
3739 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3740 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
3741 Make code unconditional.
3742 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3743 * sysdeps/unix/sysv/linux/clock_nanosleep.c
3744 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
3745 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3746 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
3747 Make code unconditional.
3748 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3749 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
3750 (__libc_missing_posix_timers): Remove.
3751
dd924cd7
RM
37522012-08-15 Roland McGrath <roland@hack.frob.com>
3753
4b4f2771
RM
3754 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
3755 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
3756
601c888b
RM
3757 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
3758
176790a7
RM
3759 * elf/dl-sym.c: Include <stdlib.h>.
3760
329bc018
RM
3761 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
3762 constants, which avoids warnings in 32-bit builds.
3763
e04e272d
RM
3764 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
3765 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
3766
952bf94a
RM
3767 * misc/lseek.c: File moved to ...
3768 * io/lseek.c: ... here.
3769
7c99b50a
RM
3770 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
3771
dd924cd7
RM
3772 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
3773 shifting LEN more than 31 bits at once.
3774
b3f479a8
LD
37752012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3776
3777 [BZ #14195]
8c4ae0d4
RM
3778 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
3779 segmentation fault for a case of two empty input strings.
b3f479a8
LD
3780 * string/test-strncasecmp.c (check1): Renamed to...
3781 (bz12205): ...this.
3782 (bz14195): Add new testcase for two empty input strings and N > 0.
3783 (test_main): Call new testcase, adapt for renamed function.
3784
9c55864e
AJ
37852012-08-15 Andreas Jaeger <aj@suse.de>
3786
3787 [BZ #14090]
3788 * crypt/md5test2.c: New test, based on test supplied by Serge
3789 Belyshev <belyshev@depni.sinp.msu.ru>.
3790 * crypt/Makefile (xtests): Add md5test-giant..
3791 * crypt/Makefile ($(objpfx)md5test-giant): Add.
3792
02dcb6c5
PE
37932012-08-15 Paul Eggert <eggert@cs.ucla.edu>
3794
3795 [BZ #14090]
3796 * crypt/md5.c (md5_process_block): Don't assume the buffer
3797 length is less than 2**32.
3798 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
3799 length is less than 2**64.
3800
a3f95dcc
RM
38012012-08-15 Roland McGrath <roland@hack.frob.com>
3802
be75d758
RM
3803 * string/str-two-way.h: Include <sys/param.h>.
3804 (MAX): Macro removed.
3805
7312ca90
RM
3806 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
3807 Move #define and #undef of memmove to just before and after
3808 including <string.h>.
3809
9a0a5486
RM
3810 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
3811 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
3812 and after including <string.h>. Move declarations of
3813 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
3814 to before #include "string/memmove.c".
3815
67cc348d
RM
3816 * include/dirent.h: Declare __getdirentries.
3817
a3f95dcc
RM
3818 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
3819 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
3820
ca98e171
MF
38212012-08-14 Mike Frysinger <vapier@gentoo.org>
3822
3823 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
3824 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
3825 * sysdeps/i386/configure: Regenerated.
3826 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
3827 STABS_CURRENT_FILE, and STABS_FUN.
3828 (END): Remove call to STABS_FUN_END.
3829 (STABS_CURRENT_FILE1): Delete.
3830 (STABS_CURRENT_FILE): Likewise.
3831 (STABS_FUN): Likewise.
3832 (STABS_FUN_END): Likewise.
3833 (STABS_FUN2): Likewise.
3834 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
3835 * sysdeps/x86_64/configure: Regenerated.
3836
5908bf46
RM
38372012-08-14 Roland McGrath <roland@hack.frob.com>
3838
3839 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 3840 * elf/dl-lookup.c: Likewise.
5908bf46 3841
f2c05b9e
JM
38422012-08-14 Joseph Myers <joseph@codesourcery.com>
3843
3844 * sysdeps/unix/sysv/linux/kernel-features.h
3845 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
3846 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
3847 unconditionally.
3848 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
3849 unconditionally.
3850 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
3851 condition on __ASSUME_CLONE_THREAD_FLAGS.
3852
e11f5155
AJ
38532012-08-14 Andreas Jaeger <aj@suse.de>
3854
3855 * sysdeps/i386/fpu/libm-test-ulps: Update.
3856
51a9ba86
MK
38572012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
3858
2fdd4f78
AJ
3859 * include/atomic.h (atomic_exchange_and_add): Split into ...
3860 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
3861 New atomic macros.
51a9ba86 3862
ba6cba9e
MT
38632012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
3864
3865 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3866
42443a47
JL
38672012-08-13 Jeff Law <law@redhat.com>
3868
3869 * manual/stdio.texi (snprintf): Clarify handling of the trailing
3870 null byte in the output string.
3871
121dce05
JM
38722012-08-10 Joseph Myers <joseph@codesourcery.com>
3873
3874 * sysdeps/unix/sysv/linux/kernel-features.h
3875 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
3876 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
3877 (__ASSUME_ARG_MAX_STACK_BASED): Define.
3878 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
3879 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
3880 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
3881 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
3882
bf51f568
JL
38832012-08-09 Jeff Law <law@redhat.com>
3884
3885 [BZ #13939]
3886 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
3887 When avoid_arena is set, don't retry in the that arena. Pick the
3888 next one, whatever it might be.
3889 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
3890 (arena_lock): Pass in new parameter to arena_get2.
3891 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
3892 arena_get2.
3893 (__libc_malloc): Unify retrying after main arena failure with
3894 __libc_memalign version.
3895 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
3896
f85fa270
L
38972012-08-09 H.J. Lu <hongjiu.lu@intel.com>
3898
3899 [BZ #14166]
3900 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
3901 to __redirect_strstr.
3902 (__strstr_sse42): Use typeof __redirect_strstr.
3903 (__strstr_ia32): Likewise.
3904 (__libc_strstr): New prototype.
3905 (strstr): Renamed to ...
3906 (__libc_strstr): This.
3907 (strstr): New strong alias of __libc_strstr.
3908 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
3909 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
3910 __redirect_time.
3911 Include <time.h>.
3912 (__libc_time): New prototype.
3913 (time_ifunc): Replace time with __libc_time.
3914 (time): New strong alias and hidden definition of __libc_time.
3915 (__GI_time): Remove strong alias.
3916 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
3917 Include <stddef.h>.
3918 (memmove): Redefined to __redirect_memmove.
3919 (__memmove_sse2): Use typeof __redirect_memmove.
3920 (__memmove_ssse3): Likewise.
3921 (__memmove_ssse3_back): Likewise.
3922 (__libc_memmove): New prototype.
3923 (memmove): Renamed to ...
3924 (__libc_memmove): This.
3925 (memmove): New strong alias of __libc_memmove.
3926
33b4a91e
MS
39272012-08-08 Mark Salter <msalter@redhat.com>
3928
3929 * elf/elf.h
3930 (R_MN10300_TLS_GD): Define.
3931 (R_MN10300_TLS_LD): Likewise.
3932 (R_MN10300_TLS_LDO): Likewise.
3933 (R_MN10300_TLS_GOTIE): Likewise.
3934 (R_MN10300_TLS_IE): Likewise.
3935 (R_MN10300_TLS_LE): Likewise.
3936 (R_MN10300_TLS_DTPMOD): Likewise.
3937 (R_MN10300_TLS_DTPOFF): Likewise.
3938 (R_MN10300_TLS_TPOFF): Likewise.
3939 (R_MN10300_SYM_DIFF): Likewise.
3940 (R_MN10300_ALIGN): Likewise.
3941 (R_MN10300_NUM): Update.
3942
b36137f1
JM
39432012-08-08 Joseph Myers <joseph@codesourcery.com>
3944
3945 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
3946 Remove.
3947
cdd915fd
RM
39482012-08-08 Roland McGrath <roland@hack.frob.com>
3949
a2433aac
RM
3950 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
3951
cdd915fd
RM
3952 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
3953 sysdeps/unix -> sysdeps/posix move.
3954 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
3955
bf9b740a
AM
39562012-08-07 Allan McRae <allan@archlinux.org>
3957
3958 [BZ #14303]
3959 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
3960 (SUNOS_CPP): Likewise.
3961 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
3962 not found.
3963 (open_input): Call CPP using execvp.
3964
93df14ee
JM
39652012-08-07 Joseph Myers <joseph@codesourcery.com>
3966
3967 * sysdeps/unix/sysv/linux/kernel-features.h
3968 (__ASSUME_PROT_GROWSUPDOWN): Remove.
3969 (__ASSUME_NO_CLONE_DETACHED): Likewise.
3970 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
3971 (__ASSUME_WAITID_SYSCALL): Likewise.
3972 * sysdeps/unix/sysv/linux/dl-execstack.c
3973 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
3974 code unconditional.
3975 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
3976 conditional code.
3977 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
3978 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
3979 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
3980 code.
3981 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
3982 unconditional.
3983 [__ASSUME_WAITID_SYSCALL]: Likewise.
3984 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
3985
d34689de
RM
39862012-08-07 Roland McGrath <roland@hack.frob.com>
3987
a281decc
RM
3988 * sysdeps/unix/closedir.c: Renamed to ...
3989 * sysdeps/posix/closedir.c: ... here.
3990 * sysdeps/unix/dirfd.c: Renamed to ...
3991 * sysdeps/posix/dirfd.c: ... here.
3992 * sysdeps/unix/dirstream.h: Renamed to ...
3993 * sysdeps/posix/dirstream.h: ... here.
3994 * sysdeps/unix/fdopendir.c: Renamed to ...
3995 * sysdeps/posix/fdopendir.c: ... here.
3996 * sysdeps/unix/opendir.c: Renamed to ...
3997 * sysdeps/posix/opendir.c: ... here.
3998 * sysdeps/unix/readdir.c: Renamed to ...
3999 * sysdeps/posix/readdir.c: ... here.
4000 * sysdeps/unix/readdir_r.c: Renamed to ...
4001 * sysdeps/posix/readdir_r.c: ... here.
4002 * sysdeps/unix/rewinddir.c: Renamed to ...
4003 * sysdeps/posix/rewinddir.c: ... here.
4004 * sysdeps/unix/seekdir.c: Renamed to ...
4005 * sysdeps/posix/seekdir.c: ... here.
4006 * sysdeps/unix/telldir.c: Renamed to ...
4007 * sysdeps/posix/telldir.c: ... here.
4008 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
4009 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
4010 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
4011 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
4012
22895b47
RM
4013 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
4014 * bits/fcntl.h: ... here.
4015
707a53b6
RM
4016 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
4017 not 0.
4018 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
4019 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
4020 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
4021 (struct flock): Move l_start, l_len to the beginning.
4022 Use __pid_t for l_pid.
4023 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
4024 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
4025 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
4026 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
4027 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
4028 [__USE_LARGEFILE64] (struct flock64): New type.
4029 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
4030
f0bd3e25
RM
4031 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
4032 * bits/dirent.h: ... here.
4033
d34689de
RM
4034 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
4035 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
4036
6dad2c06
JM
40372012-08-07 Joseph Myers <joseph@codesourcery.com>
4038
4039 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4040 Change from 2.6.0 to 2.6.16.
4041 * sysdeps/unix/sysv/linux/configure: Regenerated.
4042 * sysdeps/unix/sysv/linux/kernel-features.h
4043 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
4044 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
4045 version.
4046 (__ASSUME_UTIMES): Likewise.
4047 (__ASSUME_CLONE_STOPPED): Remove.
4048 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
4049 architectures, not kernel version.
4050 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
4051 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4052 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4053 (__ASSUME_WAITID_SYSCALL): Likewise.
4054 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
4055 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
4056 * README: State 2.6.16 as minimum Linux kernel version. Do not
4057 refer to older versions.
4058
03af9520
RM
40592012-08-06 Roland McGrath <roland@hack.frob.com>
4060
8e49df1d
RM
4061 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
4062 Define alphasort64 as an alias.
4063 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
4064 Define versionsort64 as an alias.
4065 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
4066 Define scandir64 as an alias.
4067 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
4068 Define scandirat64 as an alias.
4069 * dirent/alphasort64.c (alphasort64):
4070 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
4071 * dirent/versionsort64.c: Likewise.
4072 * dirent/scandir64.c: Likewise.
4073 * dirent/scandirat64.c: Likewise.
4074 * sysdeps/wordsize-64/alphasort.c: File removed.
4075 * sysdeps/wordsize-64/alphasort64.c: File removed.
4076 * sysdeps/wordsize-64/scandir.c: File removed.
4077 * sysdeps/wordsize-64/scandir64.c: File removed.
4078 * sysdeps/wordsize-64/scandirat.c: File removed.
4079 * sysdeps/wordsize-64/scandirat64.c: File removed.
4080 * sysdeps/wordsize-64/versionsort.c: File removed.
4081 * sysdeps/wordsize-64/versionsort64.c: File removed.
4082 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
4083 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
4084 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
4085 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
4086 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
4087 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
4088 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
4089 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
4090
4091 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
4092 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4093 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
4094 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4095 [defined __arch64__ || defined __sparcv9]
4096 (__INO_T_MATCHES_INO64_T): New macro.
4097 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4098 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
4099 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
4100 * sysdeps/unix/sysv/linux/bits/dirent.h
4101 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
4102 (_DIRENT_MATCHES_DIRENT64): New macro.
4103
03af9520
RM
4104 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
4105 Define lockf64 as an alias.
4106 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
4107 Define fseeko64 as an alias.
4108 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
4109 Define ftello64 as an alias.
4110 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
4111 Define _IO_fgetpos64 and fgetpos64 as aliases.
4112 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
4113 Define _IO_fsetpos64 and fsetpos64 as aliases.
4114 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
4115 Conditionalize body on this.
4116 * libio/fseeko64.c: Likewise.
4117 * libio/ftello64.c: Likewise.
4118 * libio/iofgetpos64.c: Likewise.
4119 * libio/iofsetpos64.c: Likewise.
4120 * sysdeps/wordsize-64/lockf.c: File removed.
4121 * sysdeps/wordsize-64/lockf64.c: File removed.
4122 * sysdeps/wordsize-64/fseeko.c: File removed.
4123 * sysdeps/wordsize-64/fseeko64.c: File removed.
4124 * sysdeps/wordsize-64/ftello.c: File removed.
4125 * sysdeps/wordsize-64/ftello64.c: File removed.
4126 * sysdeps/wordsize-64/iofgetpos.c: File removed.
4127 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
4128 * sysdeps/wordsize-64/iofsetpos.c: File removed.
4129 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
4130 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
4131 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
4132 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
4133 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
4134 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
4135 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
4136 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
4137 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
4138 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
4139 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
4140
4141 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4142 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4143 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
4144 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4145 [defined __arch64__ || defined __sparcv9]
4146 (__OFF_T_MATCHES_OFF64_T): New macro.
4147 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4148 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4149 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4150 (__OFF_T_MATCHES_OFF64_T): New macro.
4151
c5757acd
L
41522012-08-06 H.J. Lu <hongjiu.lu@intel.com>
4153
4154 * stdlib/secure-getenv.c (__secure_getenv): Replace
4155 GLIBC_2_16 with GLIBC_2_17.
4156
3a31811e
L
41572012-08-06 H.J. Lu <hongjiu.lu@intel.com>
4158
4159 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
4160 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4161
faa2bccb
DM
41622012-08-03 David S. Miller <davem@davemloft.net>
4163
4164 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4165
85fe1997
JM
41662012-08-03 Joseph Myers <joseph@codesourcery.com>
4167
4168 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
4169 Remove.
4170 (__ASSUME_CORRECT_SI_PID): Likewise.
4171 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
4172 (__ASSUME_TMPFS_NAME): Likewise.
4173 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
4174 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
4175 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
4176 (HAVE_AUX_SECURE): Make definition unconditional.
4177 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
4178 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
4179
4f75b7a0
RM
41802012-08-03 Roland McGrath <roland@hack.frob.com>
4181
4182 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
4183 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
4184 * sysdeps/mach/hurd/eloop-threshold.h: New file.
4185 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4186 __eloop_threshold instead of SYMLOOP_MAX.
4187
4188 * sysdeps/generic/eloop-threshold.h: New file.
4189 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
4190 of MAXSYMLINKS.
4191 * elf/chroot_canon.c (chroot_canon): Likewise.
4192
7aab07e4
JM
41932012-08-03 Joseph Myers <joseph@codesourcery.com>
4194
4195 [BZ #13717]
4196 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4197 Change to 2.6.0 everywhere.
4198 * sysdeps/unix/sysv/linux/configure: Regenerated.
4199 * sysdeps/unix/sysv/linux/kernel-features.h
4200 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
4201 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
4202 kernel versions.
4203 (__ASSUME_POSIX_TIMERS): Define unconditionally.
4204 (__ASSUME_FUTEX_REQUEUE): Remove.
4205 (__ASSUME_STATFS64): Define unconditionally.
4206 (__ASSUME_AT_SECURE): Likewise.
4207 (__ASSUME_CORRECT_SI_PID): Likewise.
4208 (__ASSUME_TGKILL): Define without depending on kernel version for
4209 i386.
4210 (__ASSUME_UTIMES): Likewise.
4211 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
4212 kernel version.
4213 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
4214 (__ASSUME_TMPFS_NAME): Likewise.
4215 * README: Update reference to Linux kernel versions.
4216
b67e9372
MP
42172012-08-02 Marek Polacek <polacek@redhat.com>
4218
1f529f7d 4219 [BZ# 14150]
b67e9372
MP
4220 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
4221 libc_cv_asm_type_prefix with %.
4222 * configure: Regenerated.
d2441631
RM
4223 * include/libc-symbols.h: Remove comment about
4224 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
4225 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
4226 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
4227 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
4228 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
4229 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
4230 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
4231 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
4232 * elf/tst-unique2mod1.c: Likewise.
4233 * elf/tst-unique1mod2.c: Likewise.
4234 * elf/tst-unique1mod1.c: Likewise.
4235 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
4236 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
4237 Replace ASM_TYPE_DIRECTIVE with .type.
4238 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4239 * sysdeps/i386/sysdep.h: Likewise.
4240 * sysdeps/x86_64/sysdep.h: Likewise.
4241 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
4242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
4243 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 4244 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
4245 * sysdeps/powerpc/powerpc32/sysdep.h:
4246 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
4247 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
4248 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4249 * sysdeps/i386/fpu/e_powf.S: Likewise.
4250 * sysdeps/i386/fpu/e_expl.S: Likewise.
4251 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4252 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4253 * sysdeps/i386/fpu/e_pow.S: Likewise.
4254 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4255 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4256 * sysdeps/i386/fpu/s_expm1.S: Likewise.
4257 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4258 * sysdeps/i386/fpu/e_log2.S: Likewise.
4259 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4260 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4261 * sysdeps/i386/fpu/e_powl.S: Likewise.
4262 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4263 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4264 * sysdeps/i386/fpu/e_logl.S: Likewise.
4265 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4266 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4267 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4268 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4269 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4270 * sysdeps/i386/fpu/e_log.S: Likewise.
4271 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4272 * sysdeps/i386/fpu/e_logf.S: Likewise.
4273 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4274 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4275 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4276 * sysdeps/i386/fpu/e_log10.S: Likewise.
4277 * sysdeps/i386/fpu/s_frexp.S: Likewise.
4278 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4279 * sysdeps/i386/fpu/s_asinh.S: Likewise.
4280 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4281 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4282 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
4283 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4284 * sysdeps/i386/i686/strtok.S: Likewise.
4285 * sysdeps/i386/i386-mcount.S: Likewise.
4286 * sysdeps/i386/strtok.S: Likewise.
4287 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
4288 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4289 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4290 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4291 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4292 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4293 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4294 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4295 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4296 * sysdeps/x86_64/_mcount.S: Likewise.
4297 * sysdeps/x86_64/strtok.S: Likewise.
4298 * sysdeps/sh/_mcount.S: Likewise.
4299
2747bf9a
RM
43002012-08-01 Roland McGrath <roland@hack.frob.com>
4301
4302 * libio/iofopen.c: Include <fcntl.h>.
4303 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
4304 (_IO_fopen64, fopen64): Define as aliases.
4305 * libio/iofopen64.c: Include <fcntl.h>.
4306 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
4307 Conditionalize body on this.
4308 * sysdeps/wordsize-64/iofopen.c: File removed.
4309 * sysdeps/wordsize-64/iofopen64.c: File removed.
4310
3fb791b8
MP
43112012-08-01 Marek Polacek <polacek@redhat.com>
4312
4313 * libc/Makeconfig: Use elf in place of binfmt-subdir.
4314 Use dlfcn directly instead of a variable.
4315 (binfmt-subdir): Do not define.
4316 (dlfcn): Likewise.
4317
a9f1039f
JM
43182012-08-01 Joseph Myers <joseph@codesourcery.com>
4319
23bddc06
JM
4320 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
4321 Remove all definitions.
4322 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
4323 <kernel-features.h>.
4324 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
4325 (miss_F_GETOWN_EX): Remove all definitions.
4326 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
4327 macro definition.
4328 [!__ASSUME_FCNTL64]: Remove conditional code.
4329 [__ASSUME_FCNTL64]: Make code unconditional.
4330 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
4331 <kernel-features.h>.
4332 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
4333 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
4334 (lockf64) [__NR_fcntl64]: Make code unconditional.
4335 (lockf64) [__ASSUME_FCNTL64]: Likewise.
4336
a9f1039f
JM
4337 * sysdeps/unix/sysv/linux/kernel-features.h
4338 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
4339 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
4340 Make code unconditional.
4341 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4342 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
4344 [__NR_vfork]: Make code unconditional.
4345 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4346 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
4348 [__NR_vfork]: Make code unconditional.
4349 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4350 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4351
09c0ee5f
RM
43522012-08-01 Roland McGrath <roland@hack.frob.com>
4353
48aec5b9
RM
4354 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
4355 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
4356
cd97c966
RM
4357 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4358 Define mkstemp64 as an alias.
3f55550c
RM
4359 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4360 Define mkstemps64 as an alias.
cd97c966
RM
4361 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4362 Define mkostemp64 as an alias.
b8625cfc
RM
4363 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4364 Define mkostemps64 as an alias.
cd97c966
RM
4365 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
4366 Conditionalize body on this.
4367 * misc/mkostemp64.c: Likewise.
b8625cfc 4368 * misc/mkostemps64.c: Likewise.
3f55550c 4369 * misc/mkstemps64.c: Likewise.
cd97c966
RM
4370 * sysdeps/wordsize-64/mkstemp64.c: File removed.
4371 * sysdeps/wordsize-64/mkostemp64.c: File removed.
4372 * sysdeps/wordsize-64/mkostemp.c: File removed.
4373 * sysdeps/wordsize-64/mkstemp.c: File removed.
4374 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
4375 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
4376 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
4377 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
4378
09c0ee5f
RM
4379 [BZ #14138]
4380 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
4381 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
4382 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
4383 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
4384
4385 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
4386 compat_symbol macros from <shlib-compat.h> rather than the underlying
4387 default_symbol_version and symbol_version macros, so that DEFAULT
4388 lines in shlib-versions are respected.
4389 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
4390
7e66ee51
FW
43912012-08-01 Florian Weimer <fweimer@redhat.com>
4392
4393 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
4394 Declare with warn_unused_result.
4395 (setgid, setregid, setegid, setresgid): Likewise.
4396 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
4397 Likewise.
4398 * WUR-REPORT: Remove set*id functions.
4399
d2a54255
PT
44002012-07-31 Pino Toscano <toscano.pino@tiscali.it>
4401
4402 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
4403
7ecdb005
RM
44042012-07-31 Roland McGrath <roland@hack.frob.com>
4405
789bd351
RM
4406 * include/sys/socket.h (__libc_accept, __libc_accept4):
4407 Add attribute_hidden.
4408 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
4409
40ce302d
RM
4410 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
4411 use of PTR_MANGLE.
4412 * inet/getnetgrent_r.c (setup): Likewise.
4413
7ecdb005
RM
4414 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
4415
e2eabb2c
DM
44162012-07-31 David S. Miller <davem@davemloft.net>
4417
4418 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4419
d0419dbf
JM
44202012-07-31 Joseph Myers <joseph@codesourcery.com>
4421
4422 [BZ #13629]
4423 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
4424 value between 1.0 and 2.0 and smaller part has absolute value less
4425 than 1.0.
4426 * math/s_clog10.c (__clog10): Likewise.
4427 * math/s_clog10f.c (__clog10f): Likewise.
4428 * math/s_clog10l.c (__clog10l): Likewise.
4429 * math/s_clogf.c (__clogf): Likewise.
4430 * math/s_clogl.c (__clogl): Likewise.
4431 * math/libm-test.inc (clog_test): Add more tests.
4432 (clog10_test): Likewise.
4433 * sysdeps/i386/fpu/libm-test-ulps: Update.
4434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4435
2bc13872
FW
44362012-07-31 Florian Weimer <fweimer@redhat.com>
4437
4438 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
4439 Exit with zero in case no suitable GID is found, and write a
4440 message to standard error.
4441
bea9b193
RM
44422012-07-30 Roland McGrath <roland@hack.frob.com>
4443
4444 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
4445 rather than to 1.
4446 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
4447 (MAXPATHLEN): Removed.
4448 (NOGROUP, NODEV): New macros.
4449 (setbit, clrbit, isset, isclr): New macros.
4450 (howmany, roundup, powerof2): New macros.
4451 (DEV_BSIZE): New macro.
4452
4453 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
4454 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
4455
4456 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
4457 definition on [!__NO_LONG_DOUBLE_MATH].
4458
4459 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
4460 PTR_MANGLE and PTR_DEMANGLE.
4461
4462 * socket/accept4.c (accept4): Rename to __libc_accept4.
4463 Define accept4 as a weak alias.
4464
4465 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
4466 on [_DIRENT_HAVE_D_TYPE].
4467 * io/ftw.c (ftw_dir): Likewise.
4468
4469 * io/xmknod.c (__xmknod): Don't check PATH for being null.
4470
4471 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
4472
4473 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
4474 Use the BSD numbers rather than the arbitrary ones we had.
4475 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
4476 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
4477 (SIGXCPU, SIGXFSZ): New macros.
4478 (_NSIG): Now 32.
4479
4480 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
4481 initializer on [_LIBC_REENTRANT].
4482
4483 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
4484 definitions inside [_POSIX_MAPPED_FILES].
4485
4486 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
4487
4488 * dirent/opendir.c: Include <fcntl.h>.
4489
4490 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
4491 (__libc_getspecific): Likewise.
4492 (__libc_key_create): Likewise.
4493
4494 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
4495 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
4496 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
4497 (tmpfile64): Define as alias.
4498 * sysdeps/wordsize-64/tmpfile.c: File removed.
4499 * sysdeps/wordsize-64/tmpfile64.c: File removed.
4500 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
4501 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
4502
4503 * stdio-common/vfscanf.c: Include <stdbool.h>.
4504 * nss/makedb.c: Likewise.
4505 * stdio-common/_i18n_number.h: Likewise.
4506 * argp/argp-help.c: Likewise.
4507 * posix/wordexp.c: Likewise.
4508 * sysdeps/posix/spawni.c: Likewise.
4509 * nss/nss_files/files-initgroups.c: Likewise.
4510 * stdio-common/reg-modifier.c: Include <stdlib.h>.
4511 * nss/nss_files/files-initgroups.c: Likewise.
4512 * nss/nss_db/db-netgrp.c: Likewise.
4513 * nss/nss_db/db-initgroups.c: Likewise.
4514 * io/fchmodat.c: Include <sys/stat.h>.
4515
4516 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
4517 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
4518
4519 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
4520 [HAVE_MMAP].
4521
4522 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
4523 Add multiple inclusion protection.
4524
e5abc686
DM
45252012-07-27 David S. Miller <davem@davemloft.net>
4526
4527 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4528
815e6fa3
GB
45292012-07-27 Gary Benson <gbenson@redhat.com>
4530
4531 [BZ #14298]
4532 * elf/rtld.c: Include <stap-probe.h>.
4533 (dl_main): Added static probes "init_start" and "init_complete".
4534 * elf/dl-load.c: Include <stap-probe.h>.
4535 (lose): Take new parameter "nsid".
4536 Added static probe "map_failed".
4537 (_dl_map_object_from_fd): Pass namespace id to lose.
4538 Added static probe "map_start".
4539 (open_verify): Pass namespace id to lose.
4540 * elf/dl-open.c: Include <stap-probe.h>.
4541 (dl_open_worker) Added static probes "map_complete", "reloc_start"
4542 and "reloc_complete".
4543 * elf/dl-close.c: Include <stap-probe.h>.
4544 (_dl_close_worker): Added static probes "unmap_start" and
4545 "unmap_complete".
4546 * elf/rtld-debugger-interface.txt: New file documenting the above.
4547
9f98c16c
RM
45482012-07-26 Roland McGrath <roland@hack.frob.com>
4549
4550 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
4551 rather than a string variable.
4552 * sunrpc/rpc_main.c (h_output): Likewise.
4553 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
4554
f3c22df3
PT
45552012-07-26 Pino Toscano <toscano.pino@tiscali.it>
4556
4557 * inet/check_native.c: New file.
4558
3129cfc6
JM
45592012-07-26 Joseph Myers <joseph@codesourcery.com>
4560
da865e95
JM
4561 [BZ #13629]
4562 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
4563 if larger part has absolute value 1.0.
4564 * math/s_clog10.c (__clog10): Likewise.
4565 * math/s_clog10f.c (__clog10f): Likewise.
4566 * math/s_clog10l.c (__clog10l): Likewise.
4567 * math/s_clogf.c (__clogf): Likewise.
4568 * math/s_clogl.c (__clogl): Likewise.
4569 * math/libm-test.inc (clog_test): Add more tests.
4570 (clog10_test): Likewise.
4571 * sysdeps/i386/fpu/libm-test-ulps: Update.
4572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4573
3129cfc6
JM
4574 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
4575 (pltexit): Likewise.
4576 (La_regs): Likewise.
4577 (La_retval): Likewise.
4578 (int_retval): Likewise.
4579 Update #error for removed macros to refer only to definitions in
4580 tst-audit.h.
4581 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
4582 macro.
4583 (pltexit): Likewise.
4584 (La_regs): Likewise.
4585 (La_retval): Likewise.
4586 (int_retval): Likewise.
4587 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
4588 macro.
4589 (pltexit): Likewise.
4590 (La_regs): Likewise.
4591 (La_retval): Likewise.
4592 (int_retval): Likewise.
4593 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
4594 macro.
4595 (pltexit): Likewise.
4596 (La_regs): Likewise.
4597 (La_retval): Likewise.
4598 (int_retval): Likewise.
4599 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
4600 macro.
4601 (pltexit): Likewise.
4602 (La_regs): Likewise.
4603 (La_retval): Likewise.
4604 (int_retval): Likewise.
4605 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
4606 macro.
4607 (pltexit): Likewise.
4608 (La_regs): Likewise.
4609 (La_retval): Likewise.
4610 (int_retval): Likewise.
4611 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
4612 macro.
4613 (pltexit): Likewise.
4614 (La_regs): Likewise.
4615 (La_retval): Likewise.
4616 (int_retval): Likewise.
4617 * sysdeps/generic/tst-audit.h: Update comment to refer only to
4618 macro definitions in tst-audit.h.
4619 * sysdeps/i386/tst-audit.h: New file.
4620 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
4621 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
4622 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
4623 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
4624 * sysdeps/sh/tst-audit.h: Likewise.
4625 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
4626 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
4627 * sysdeps/x86_64/tst-audit.h: Likewise.
4628
bfc07087
AJ
46292012-07-26 Andreas Jaeger <aj@suse.de>
4630
b1b2aaf8
AJ
4631 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
4632 ptrace.
4633
4634 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
4635 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
4636 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
4637 PTRACE_O_MASK.
4638 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
4639 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
4640 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
4641
bfc07087
AJ
4642 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
4643 value.
4644
4645 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
4646 _sigsys.
4647 (si_call_addr, si_syscall, si_arch): Define new macro.
4648 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
4649 _sigsys.
4650 (si_call_addr, si_syscall, si_arch): Define new marcro.
4651 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
4652 _sigsys.
4653 (si_call_addr, si_syscall, si_arch): Define new macro.
4654 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
4655 _sigsys.
4656 (si_call_addr, si_syscall, si_arch): Define new macro.
4657
89b4b02f
JM
46582012-07-25 Joseph Myers <joseph@codesourcery.com>
4659
4660 [BZ #13717]
4661 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4662 Change to 2.4.21 where previously 2.4.1.
4663 * sysdeps/unix/sysv/linux/configure: Regenerated.
4664 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
4665 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
4666 Linux kernel version.
4667 (__ASSUME_STD_AUXV): Remove.
4668 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
4669 kernel version.
4670 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
4671 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
4672 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
4673 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
4674 (__ASSUME_NETLINK_SUPPORT): Likewise.
4675 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
4676 (__no_netlink_support): Remove conditional definition.
4677 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
4678 Remove.
4679 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
4680 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
4681 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
4682 (if_nameindex_ioctl): Remove.
4683 (if_nameindex_netlink): Do not handle __no_netlink_support.
4684 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
4685 code.
4686 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
4687 Remove conditional code.
4688 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
4689 code.
4690 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
4691 unconditional.
4692 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
4693 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
4694 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
4695 Remove.
4696 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
4697 [!__ASSUME_STD_AUXV]: Remove conditional code.
4698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
4699 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
4700 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
4701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
4702 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
4703 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
4704 code.
4705 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
4706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4707 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
4708 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
4709 conditional code.
4710 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
4711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
4712 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
4713 code.
4714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4715 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
4716 conditional code.
4717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
4718 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
4719 code unconditional.
4720 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4721 conditional code.
4722 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4723 unconditional.
4724 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4725 conditional code.
4726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4727 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4728 unconditional.
4729 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4730 conditional code.
4731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
4732 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
4733 code unconditional.
4734 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4735 conditional code.
4736 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4737 unconditional.
4738 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4739 conditional code.
4740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
4741 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
4742 code unconditional.
4743 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4744 conditional code.
4745 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4746 unconditional.
4747 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4748 conditional code.
4749
842a39cd
AS
47502012-07-25 Andreas Schwab <schwab@linux-m68k.org>
4751
4752 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
4753 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
4754 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4755 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
4756 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
4757 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
4758 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4759 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
4760 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
4761 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
4762 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
4763 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
4764 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
4765 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
4766 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
4767 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
4768 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
4769 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
4770 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
4771 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
4772 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
4773 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
4774 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4775
84b3fd84
FW
47762012-07-25 Florian Weimer <fweimer@redhat.com>
4777
4778 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
4779 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
4780 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
4781 Introduce __libc_secure_getenv.
0c7936d5
FW
4782 * stdlib/Versions (2.17): Add secure_getenv
4783 (GLIBC_PRIVATE): Add __libc_secure_getenv.
4784 * stdlib/secure-getenv.c: Rename __secure_getenv to
4785 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
4786 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
4787 * stdlib/tst-secure-getenv.c: New.
4788 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
4789 * manual/startup.texi (Environment Access): Document
4790 secure_getenv.
84b3fd84
FW
4791 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
4792 __libc_secure_getenv.
4793 * inet/ruserpass.c (ruserpass): Likewise.
4794 * malloc/mtrace.c (mtrace): Likewise.
4795 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 4796 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
4797 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
4798 * sysdeps/posix/tempname.c: Likewise. Evaluate
4799 HAVE_SECURE_GETENV.
4800 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 4801 __secure_getenv to __libc_secure_getenv.
84b3fd84 4802 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
4803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4804 Likewise.
4805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4806 Likewise.
4807 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
4808 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
4809 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
4810 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
4811 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
4812 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
4813 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 4814
56e49b71
JM
48152012-07-25 Joseph Myers <joseph@codesourcery.com>
4816
4817 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
4818 (struct La_i86_retval): Likewise.
4819 (struct La_x86_64_regs): Likewise.
4820 (struct La_x86_64_retval): Likewise.
4821 (struct La_x32_regs): Likewise.
4822 (struct La_x32_retval): Likewise.
4823 (struct La_ppc32_regs): Likewise.
4824 (struct La_ppc32_retval): Likewise.
4825 (struct La_ppc64_regs): Likewise.
4826 (struct La_ppc64_retval): Likewise.
4827 (struct La_sh_regs): Likewise.
4828 (struct La_sh_retval): Likewise.
4829 (struct La_s390_32_regs): Likewise.
4830 (struct La_s390_32_retval): Likewise.
4831 (struct La_s390_64_regs): Likewise.
4832 (struct La_s390_64_retval): Likewise.
4833 (struct La_sparc32_regs): Likewise.
4834 (struct La_sparc32_retval): Likewise.
4835 (struct La_sparc64_regs): Likewise.
4836 (struct La_sparc64_retval): Likewise.
4837 (struct audit_ifaces): Remove architecture-specific pltenter and
4838 pltexit members.
4839 * sysdeps/i386/ldsodefs.h: New file.
4840 * sysdeps/powerpc/ldsodefs.h: Likewise.
4841 * sysdeps/s390/ldsodefs.h: Likewise.
4842 * sysdeps/sh/ldsodefs.h: Likewise.
4843 * sysdeps/sparc/ldsodefs.h: Likewise.
4844 * sysdeps/x86_64/ldsodefs.h: Likewise.
4845
354691b7
MP
48462012-07-25 Marek Polacek <polacek@redhat.com>
4847
4848 [BZ #6808]
4849 * math/libm-test.inc (yn_test): Add another test.
4850 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
4851 to ERANGE when the result is +-Inf.
4852 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
4853 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
4854 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
4855 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
4856
bf9e2071
JM
48572012-07-24 Joseph Myers <joseph@codesourcery.com>
4858
4859 * conform/data/time.h-data (NULL): Use macro-constant. Require
4860 equal to 0.
4861 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
4862 clock_t.
4863 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
4864
57633811
TS
48652012-07-23 Thomas Schwinge <thomas@codesourcery.com>
4866
4867 * configure.in <sysdeps resolving>: Correct printing
4868 Implies_before.
4869 * configure: Regenerate.
4870
c23c33b0
TS
48712012-07-22 Thomas Schwinge <thomas@codesourcery.com>
4872
4873 * math/w_ilogb.c: Include <limits.h>.
4874 * math/w_ilogbl.c: Likewise.
4875
b5982523
JM
48762012-07-20 Joseph Myers <joseph@codesourcery.com>
4877
4878 * manual/lang.texi (__va_copy): Document primarily as ISO C99
4879 va_copy. Document allowing for unavailable va_copy only as
4880 pre-C99 compatibility.
4881 * manual/string.texi (Copying and Concatenation): Use va_copy
4882 instead of __va_copy in concat example.
4883
ac4ea442
PT
48842012-07-20 Pino Toscano <toscano.pino@tiscali.it>
4885
4886 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
4887 (__sendto): Use create_address_port. Initialize APORT and deallocate
4888 it if not null.
4889
f98eafbd
PT
4890 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
4891 with O_NOLINK passed to __file_name_lookup.
4892
898c7aab
PT
4893 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
4894 with O_NOLINK passed to __file_name_lookup.
4895
0ced335a
PT
4896 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
4897 negative N or less than NGIDS.
4898
b3404dbd
PT
4899 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
4900 type to string_t. Set ERANGE as errno and return it if NAME is not big
4901 enough. Use memcpy instead of strncpy.
4902
0f48659e
JM
49032012-07-20 Joseph Myers <joseph@codesourcery.com>
4904
4905 * elf/Makefile (check-data): Remove.
4906 (localplt.data): New vpath directive.
4907 ($(objpfx)check-localplt.out): Use localplt.data from vpath
4908 instead of $(check-data).
4909 * scripts/data/localplt-generic.data: Move to ...
4910 * sysdeps/generic/localplt.data: ... here.
4911 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
4912 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
4913 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
4914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
4915 ... here.
4916 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
4917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
4918 ... here.
4919 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
4920 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
4921 ... here.
4922 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
4923 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
4924 ... here.
4925 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
4926 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
4927 ... here.
4928 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
4929 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
4930 ... here.
4931
d37cbdaa
AZ
49322012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4933
4934 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
4935 PPC32 and PPC64 files.
4936 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
4937 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
4938
46f85fc2
AK
49392012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4940
4941 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
4942 __makecontext_ret to ...
4943 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
4944 ... here and call exit if uc_link is NULL. New file.
4945 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
4946 __makecontext_ret.S.
4947 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
4948 __makecontext_ret to ...
4949 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
4950 ... here and call exit if uc_link is NULL. New file.
4951 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
4952 __makecontext_ret.S.
4953
08f43f9b
AK
49542012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4955
4956 * elf/elf.h (R_390_IRELATIVE): New definition.
4957 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
4958 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
4959 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
4960 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
4961 (elf_machine_lazy_rel): Likewise.
4962 * sysdeps/s390/dl-irel.h: New file.
4963 * sysdeps/s390/s390-64/memcpy.S: New asm code.
4964 * sysdeps/s390/s390-64/memset.S: New asm code.
4965 * sysdeps/s390/s390-64/memcmp.S: New asm code.
4966 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
4967 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
4968 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
4969 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
4970 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
4971 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
4972 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
4973 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
4974 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
4975 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
4976 * sysdeps/s390/s390-32/memcpy.S: New asm code.
4977 * sysdeps/s390/s390-32/memset.S: New asm code.
4978 * sysdeps/s390/s390-32/memcmp.S: New asm code.
4979
3b05db33
MP
49802012-07-17 Marek Polacek <polacek@redhat.com>
4981
4982 [BZ #14349]
4983 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
4984 * sysdeps/s390/s390-64/configure.in: Likewise.
4985 * sysdeps/sparc/configure.in: Likewise.
4986 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
4987 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
4988 * sysdeps/i386/configure.in: Likewise.
4989 * sysdeps/x86_64/configure.in: Likewise.
4990 * sysdeps/sh/configure.in: Likewise.
4991 * sysdeps/s390/s390-32/configure: Regenerated.
4992 * sysdeps/s390/s390-64/configure: Likewise.
4993 * sysdeps/x86_64/configure: Likewise.
4994 * sysdeps/sh/configure: Likewise.
4995 * sysdeps/powerpc/powerpc64/configure: Likewise.
4996 * sysdeps/powerpc/powerpc32/configure: Likewise.
4997 * sysdeps/sparc/configure: Likwise.
4998 * sysdeps/i386/configure: Likewise.
4999
a66877c6
MP
5000 * elf/dl-open.c: Comment fixes.
5001
cfc82fd8
JM
50022012-07-17 Joseph Myers <joseph@codesourcery.com>
5003
bd29910a
JM
5004 * Makefile [CXX] (check-data): Remove.
5005 [CXX] (c++-types.data): New vpath directive.
5006 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
5007 vpath. Do not allow for C++ type data being missing.
5008 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
5009 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
5010 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
5011 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
5012 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
5013 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
5014 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
5015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5016 ... here.
5017 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
5018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5019 ... here.
5020 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
5021 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
5022 ... here.
5023 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
5024 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
5025 ... here.
5026 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
5027 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
5028 ... here.
5029 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
5030 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
5031 ... here.
5032 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
5033 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
5034 ... here.
5035 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
5036 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
5037
cfc82fd8
JM
5038 * elf/tls-macros.h (TLS_LE): Move architecture-specific
5039 definitions to architecture-specific files.
5040 (TLS_IE): Likewise.
5041 (TLS_LD): Likewise.
5042 (TLS_GD): Likewise.
5043 * sysdeps/i386/tls-macros.h: New file.
5044 * sysdeps/powerpc/tls-macros.h: Likewise.
5045 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
5046 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
5047 * sysdeps/sh/tls-macros.h: Likewise.
5048 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
5049 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
5050 * sysdeps/x86_64/tls-macros.h: Likewise.
5051
f7db3170
TS
50522012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5053
07cbfc23
TS
5054 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
5055 zero value for regular exit case.
5056
f7db3170
TS
5057 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
5058 (__start_context): Preserve zero value for regular exit case.
5059
dc97c227
TS
50602012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5061 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5062
5063 * manual/setjmp.texi (setcontext): Clarify normal process
5064 termination when uc_link is the null pointer.
5065 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
5066 exit call.
5067
d0cd7d02
AS
50682012-07-16 Andreas Schwab <schwab@linux-m68k.org>
5069
5070 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
5071 preprocessor. Test for each exception mask separately.
5072
dd318934
AJ
50732012-07-16 Andreas Jaeger <aj@suse.de>
5074
5075 * po/ru.po: Update from translation team.
5076
8048311a
JM
50772012-07-15 Joseph Myers <joseph@codesourcery.com>
5078
5079 * conform/data/string.h-data (NULL): Use macro-constant. Require
5080 equal to 0.
5081 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5082 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5083 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
5084 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
5085 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5086
b637d46e
AJ
50872012-07-13 Andreas Jaeger <aj@suse.de>
5088
5089 * po/fr.po: Update from translation team.
5090
541428fe
MP
50912012-07-12 Marek Polacek <polacek@redhat.com>
5092
5093 [BZ #14173]
5094 * math/libm-test.inc (yn_test): Add test for BZ #14173.
5095 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
5096 loop condition.
5097
ec332e94
JM
50982012-07-12 Joseph Myers <joseph@codesourcery.com>
5099
5100 [BZ #13717]
5101 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5102 Change to 2.4.1 where previously 2.4.0.
5103 * sysdeps/unix/sysv/linux/configure: Regenerated.
5104 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
5105 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
5106 version.
5107 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
5108 (__ASSUME_AT_CLKTCK): Remove.
5109 (__ASSUME_AT_PAGESIZE): Likewise.
5110 (__ASSUME_AT_XID): Likewise.
5111 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
5112 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
5113 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
5114 unconditionally.
5115 (HAVE_AUX_PAGESIZE): Likewise.
5116 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
5117 [__ASSUME_AT_CLKTCK]: Make code unconditional.
5118 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
5119
7b6e99be
JB
51202012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
5121
5122 [BZ #14307]
5123 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
5124 the temporary buffer used to invoke __gethostbyname2_r,
5125 __gethostbyaddr_r and gethostbyname4_r to make room for struct
5126 host_data / struct gaih_addrtuple.
5127 * resolv/nss_dns/dns-host.c (global scope): Move definition of
5128 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
5129 header file nss/nsswitch.h.
5130 * nss/nsswitch.h (global scope): Add definition of implementation
5131 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
5132 resolv/nss_dns/dns-host.c).
5133
608404eb
AJ
51342012-07-11 Andreas Jaeger <aj@suse.de>
5135
5136 * po/fr.po: Update from translation team.
5137
71220aca
AJ
5138 * po/sv.po: Update from translation team
5139 * po/fr.po: Another update from translation team.
5140
28cfe843
AZ
51412012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5142
5143 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
5144 for subnormals or multiply small sinh result by itself.
5145 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5146 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5147
6b90f981
DM
51482012-07-11 David S. Miller <davem@davemloft.net>
5149
5150 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5151
c6825772
AS
51522012-07-10 Andreas Schwab <schwab@linux-m68k.org>
5153
5154 [BZ #14347]
5155 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
5156 (INTERNAL_MARK): Shift it here.
5157
7b8e0d49
MP
51582012-07-10 Marek Polacek <polacek@redhat.com>
5159
5160 [BZ #14151]
5161 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
5162 libc_cv_asm_global_directive with .globl.
5163 * configure: Regenerated.
5164 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
5165 with .globl.
5166 * sysdeps/i386/configure: Regenerated.
5167 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
5168 with .globl.
5169 * sysdeps/x86_64/configure: Regenerated.
5170 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
5171 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
5172 * elf/tst-unique2mod2.c: Likewise.
5173 * elf/tst-unique2mod1.c: Likewise.
5174 * elf/tst-unique1mod2.c: Likewise.
5175 * elf/tst-unique1mod1.c: Likewise.
5176 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5177 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5178 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5179 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5180 * sysdeps/mach/sysdep.h: Likewise.
5181 * sysdeps/i386/sysdep.h: Likewise.
5182 * sysdeps/i386/i386-mcount.S: Likewise.
5183 * sysdeps/x86_64/_mcount.S: Likewise.
5184 * sysdeps/x86_64/sysdep.h: Likewise.
5185 * sysdeps/sh/_mcount.S: Likewise.
5186 * sysdeps/sh/sysdep.h: Likewise.
5187 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
5188 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
5189 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
5190 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5191 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
5192 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
5193 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
5194 * locale/localeinfo.h: Likewise.
5195 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
5196 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
5197
6c55cda3
RM
51982012-07-09 Roland McGrath <roland@hack.frob.com>
5199
5200 [BZ #14336]
5201 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
5202 system".
5203 * manual/message.texi (The Uniforum approach): Likewise.
5204 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
5205 (glibc iconv Implementation): Likewise.
5206
638a572e
JM
52072012-07-09 Joseph Myers <joseph@codesourcery.com>
5208
5209 [BZ #14337]
5210 * math/s_clog.c (__clog): Avoid scaling a value down where that
5211 could result in underflow.
5212 * math/s_clog10.c (__clog10): Likewise.
5213 * math/s_clog10f.c (__clog10f): Likewise.
5214 * math/s_clog10l.c (__clog10l): Likewise.
5215 * math/s_clogf.c (__clogf): Likewise.
5216 * math/s_clogl.c (__clogl): Likewise.
5217 * math/libm-test.inc (clog_test): Add more tests.
5218 (clog10_test): Likewise.
5219 * sysdeps/i386/fpu/libm-test-ulps: Update.
5220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5221
261f4859
AS
52222012-07-06 Andreas Schwab <schwab@linux-m68k.org>
5223
0abaf3e4
AS
5224 [BZ #14283]
5225 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
5226 by 7 not 8 to examine high bit of fractional part.
5227
261f4859
AS
5228 [BZ #14042]
5229 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
5230 for call to __mcount_internal.
5231 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
5232 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
5233 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
5234
f17ac40d
JM
52352012-07-06 Joseph Myers <joseph@codesourcery.com>
5236
9ad63c23
JM
5237 [BZ #14154]
5238 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
5239 approximation for values within 0x1p-13f of an odd multiple of
5240 pi/4.
5241 * math/libm-test.inc (tan_test): Do not allow spurious underflow
5242 exception. Add more tests.
5243 * sysdeps/i386/fpu/libm-test-ulps: Update.
5244
f17ac40d
JM
5245 [BZ #6778]
5246 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
5247 inputs and return -1 for them. Do not check for +Inf in case not
5248 reachable for +Inf.
5249 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5250 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
5251 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
5252 and return -1 for them. Do not check for +Inf in case not
5253 reachable for +Inf.
5254 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
5255 define.
5256 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
5257 and return -1 for them. Do not check for +Inf in case not
5258 reachable for +Inf.
5259 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
5260 spurious underflow.
5261 * sysdeps/i386/fpu/libm-test-ulps: Update.
5262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5263
fb21f89b
MF
52642012-07-06 Mike Frysinger <vapier@gentoo.org>
5265
5266 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
5267
cdfe2c5e
JM
52682012-07-05 Joseph Myers <joseph@codesourcery.com>
5269
5270 [BZ #14157]
5271 [BZ #14331]
5272 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
5273 could result in spurious underflow. Scale down values above
5274 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
5275 * math/s_csqrtf.c (__csqrtf): Likewise.
5276 * math/s_csqrtl.c (__csqrtl): Likewise.
5277 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
5278 spurious underflow.
5279 * sysdeps/i386/fpu/libm-test-ulps: Update.
5280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5281
70d35b67
AS
52822012-07-04 Andreas Schwab <schwab@linux-m68k.org>
5283
704bc459
AS
5284 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
5285 xopen-msg.sed.
5286 * catgets/xopen-msg.awk: New file.
5287 * catgets/xopen-msg.sed: Removed.
5288
70d35b67
AS
5289 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
5290 po2text.sed.
5291 * intl/po2test.awk: New file.
5292 * intl/po2test.sed: Removed.
5293
ca61cf32
JM
52942012-07-04 Joseph Myers <joseph@codesourcery.com>
5295
5296 [BZ #14328]
5297 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
5298 or multiply small sinh result by itself.
5299 * math/s_ctanf.c (__ctanf): Likewise.
5300 * math/s_ctanh.c (__ctanh): Likewise.
5301 * math/s_ctanhf.c (__ctanhf): Likewise.
5302 * math/s_ctanhl.c (__ctanhl): Likewise.
5303 * math/s_ctanl.c (__ctanl): Likewise.
5304 * math/libm-test.inc (ctan_test_tonearest): New function.
5305 (ctan_test_towardzero): Likewise.
5306 (ctan_test_downward): Likewise.
5307 (ctan_test_upward): Likewise.
5308 (ctanh_test_tonearest): Likewise.
5309 (ctanh_test_towardzero): Likewise.
5310 (ctanh_test_downward): Likewise.
5311 (ctanh_test_upward): Likewise.
5312 (main): Call these new functions.
5313 * sysdeps/i386/fpu/libm-test-ulps: Update.
5314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5315
ca48a46a
MF
53162012-07-03 Mike Frysinger <vapier@gentoo.org>
5317
5318 * .gitignore: Delete /ports entry.
5319
9d63d37d
AJ
53202012-07-03 Andreas Jaeger <aj@suse.de>
5321
5322 * po/bg.po: Update from translation team.
5323 * po/cs.po: Likewise.
5324 * po/de.po: Likewise.
5325 * po/hr.po: Likewise.
5326 * po/nl.pl: Likewise.
5327 * po/pl.po: Likewise.
5328 * po/vi.po: Likewise.
5329
370ca3d2
JM
53302012-07-03 Joseph Myers <joseph@codesourcery.com>
5331
95f5a9a8
JM
5332 * Makeconfig [!+link] (+link-before-libc): New variable.
5333 [!+link] (+link-after-libc): Likewise.
5334 [!+link] (+link-tests): Likewise.
5335 [!+link] (+link): Define in terms of $(+link-before-libc) and
5336 $(+link-after-libc).
5337 [!+link-static] (+link-static-before-libc): New variable.
5338 [!+link-static] (+link-static-after-libc): Likewise.
5339 [!+link-static] (+link-static-tests): Likewise.
5340 [!+link-static] (+link-static): Define in terms of
5341 $(+link-static-before-libc) and $(+link-static-after-libc).
5342 [build-shared] (link-libc-before-gnulib): New variable.
5343 [build-shared] (link-libc-tests): Likewise.
5344 [build-shared] (link-libc): Define in terms of
5345 $(link-libc-before-gnulib).
5346 [!build-shared] (link-libc-tests): New variable.
5347 (link-libc-static-tests): New variable.
5348 [!gnulib] (gnulib-arch): New variable.
5349 [!gnulib] (gnulib-tests): Likewise.
5350 [!gnulib] (static-gnulib-arch): Likewise.
5351 [!gnulib] (static-gnulib-tests): Likewise.
5352 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
5353 Define with "=" instead of ":=".
5354 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
5355 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
5356 * Rules (binaries-all-notests): New variable.
5357 (binaries-all-tests): Likewise.
5358 (binaries-static-notests): Likewise.
5359 (binaries-static-tests): Likewise.
5360 (binaries-all): Define using $(binaries-all-notests) and
5361 $(binaries-all-tests).
5362 (binaries-static): Define using $(binaries-static-notests) and
5363 $(binaries-static-tests).
5364 (binaries-shared-tests): New variable.
5365 (binaries-shared-notests): Likewise.
5366 (binaries-shared): Remove variable.
5367 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
5368 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
5369 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
5370 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
5371 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
5372 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
5373 * elf/Makefile (sln-modules): New variable.
5374 (extra-objs): Add $(sln-modules:=.o).
5375 (ldconfig-modules): Add static-stubs.
5376 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
5377 * elf/static-stubs.c: New file.
5378
7a845b2c
JM
5379 [BZ #14283]
5380 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
5381 by 7 not 8 to examine high bit of fractional part. Use volatile
5382 variables when splitting into final array of floats if
5383 __FLT_EVAL_METHOD__ != 0.
5384 * math/libm-test.inc (cos_test): Add another test.
5385 (sin_test): Likewise.
5386 * sysdeps/i386/fpu/libm-test-ulps: Update.
5387
e2283f38
JM
5388 [BZ #14273]
5389 * math/libm-test.inc (cosh_test): Add more tests.
5390
370ca3d2
JM
5391 * version.h (RELEASE): Set to "development".
5392 (VERSION): Set to "2.16.90".
5393
ee9247c3
CD
53942012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
5395
5396 * NEWS: Update copyright. Remove last-updated date.
5397 Mention math library bug fixes and timezone data changes.
5398 * README: Mention GNU/Hurd, x32, and HPPA support status.
5399
4648c381
TS
54002012-06-28 Thomas Schwinge <thomas@codesourcery.com>
5401
5402 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
5403
aac78a43
AJ
54042012-06-27 Andreas Jaeger <aj@suse.de>
5405
5406 * manual/contrib.texi (Contributors): Add Samuel Thibault.
5407
ed3dbfad
AJ
54082012-06-25 Andreas Jaeger <aj@suse.de>
5409
5410 * sysdeps/s390/fpu/libm-test-ulps: Update.
5411
4d0ee855
AS
54122012-06-23 Andreas Schwab <schwab@linux-m68k.org>
5413 Thomas Schwinge <thomas@codesourcery.com>
5414
5415 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
5416 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
5417 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
5418 fanotify_mark.
5419
af1bce34
TS
54202012-06-23 Thomas Schwinge <thomas@codesourcery.com>
5421
a9fa33ba
TS
5422 * sysdeps/mach/start.c: Remove file.
5423 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
5424 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
5425 * sysdeps/sh/init-first.c: Likewise.
5426
58f902b8
TS
5427 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
5428 registers for frame unwinding purposes, add CFI directives.
5429 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
5430 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
5431 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
5432 Likewise.
5433
1518f58b
TS
5434 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
5435 __fortify_fail returning.
5436 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
5437
db9b5059
TS
5438 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
5439 sysdeps/sh/____longjmp_chk.S.
5440 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
5441 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
5442 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
5443 (gen-as-const-headers): Append sigaltstack-offsets.sym.
5444
967705fe
TS
5445 * sysdeps/sh/abort-instr.h: New file.
5446 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
5447 process in case exit returns.
5448
a9def8c4
TS
5449 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
5450 initialize the GOT register before use.
5451
2a649725
TS
5452 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
5453 calculation of ARGC > 4.
5454
af1bce34
TS
5455 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
5456 meaningful names to some local labels.
5457
d230f50a
KK
54582012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5459 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5460
5461 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
5462 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
5463 (__arch_compare_and_exchange_val_16_acq): Likewise.
5464 (__arch_compare_and_exchange_val_32_acq): Likewise.
5465 (atomic_exchange_and_add): Fix gUSA sequence.
5466 (atomic_add): Likewise.
5467 (atomic_add_negative): Likewise.
5468 (atomic_add_zero): Likewise.
5469 (atomic_bit_test_set): Likewise.
5470
0479b305
AS
54712012-06-22 Andreas Schwab <schwab@redhat.com>
5472
5473 [BZ #13579]
5474 * include/link.h (struct link_map): Add l_free_initfini.
5475 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
5476 l_initfini.
5477 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
5478 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
5479 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
5480 set.
5481
0e3933b9
CD
54822012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
5483
5484 * configure.in: Use AC_LANG_SOURCE.
5485 * configure: Regenerate.
5486
4248b1b1
RM
54872012-06-22 Roland McGrath <roland@hack.frob.com>
5488
5489 * configure.in (libc_cv_localstatedir): New substituted variable.
5490 * configure: Regenerated.
5491 * config.make.in (localstatedir): New variable, substituted from
5492 libc_cv_localstatedir.
5493 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
5494 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
5495 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
5496 * sysdeps/gnu/configure: Regenerated.
5497
006dd861
JL
54982012-06-21 Jeff Law <law@redhat.com>
5499
5500 [BZ #14277]
5501 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
5502 free. Simplify list management for _LIBC case.
5503
79662d42
JM
55042012-06-21 Joseph Myers <joseph@codesourcery.com>
5505
b7abb4bf
JM
5506 [BZ #14273]
5507 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
5508 Clear sign bit of 64-bit integer value before comparing against
5509 overflow value.
5510
79662d42
JM
5511 * sysdeps/mach/configure: Regenerated.
5512
1f150908
L
55132012-06-21 H.J. Lu <hongjiu.lu@intel.com>
5514
5515 [BZ #14278]
5516 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
5517
28363bbf
JL
55182012-06-21 Jeff Law <law@redhat.com>
5519
5520 [BZ #13882]
5521 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
5522 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 5523 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
5524 * elf/dl-open.c (dl_open_worker): Likewise.
5525
09615db4
CD
55262012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
5527
5528 * scripts/list-sources.sh: Scan PORTS for translations.
5529 * po/libc.pot: Regenerated.
5530
2174c6dd
AJ
55312012-06-21 Andreas Jaeger <aj@suse.de>
5532
5533 [BZ #12194]
5534 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
5535 warning.
5536 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
5537 * bits/byteswap-16.h (__bswap_16): Likewise.
5538 * bits/byteswap.h (__bswap_constant_16): Likewise.
5539
3ee947b1
L
55402012-06-18 H.J. Lu <hongjiu.lu@intel.com>
5541
5542 [BZ #14117]
a2f34833
L
5543 * sysdeps/i386/fpu_control.h: Removed.
5544 * sysdeps/x86_64/fpu_control.h: Moved to ...
5545 * sysdeps/x86/fpu_control.h: Here.
5546
3ee947b1
L
5547 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
5548 (_FPU_SETCW): Likewise.
5549
ed1825f8
L
55502012-06-15 H.J. Lu <hongjiu.lu@intel.com>
5551
25f1282a
L
5552 [BZ #14117]
5553 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
5554 * sysdeps/x86/fpu/bits/mathinline.h: This.
5555 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
5556
ed1825f8
L
5557 [BZ #14050]
5558 [BZ #14117]
5559 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
5560 functions if __x86_64__ is defined.
5561
36d54b74
CLT
55622012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
5563
5564 * string/endian.h: Add !__ASSEMBLER__ condition for including
5565 conversion interfaces.
5566
10285c21
JM
55672012-06-15 Joseph Myers <joseph@codesourcery.com>
5568
5569 [BZ #14241]
5570 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
5571 of ABS(x) in calculating zero to negative powers other than odd
5572 integers.
5573 * math/libm-test.inc (pow_test): Add more tests.
5574
06c5abbd
AJ
55752012-06-15 Andreas Jaeger <aj@suse.de>
5576
5577 * manual/contrib.texi (Contributors): Update entry of Liubov
5578 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
5579 Machado Filho.
5580
a3aeac40
CH
55812012-06-15 Cyril Hrubis <metan@ucw.cz>
5582
5583 * string/string.h: Add __wur to GNU version of strerror_r.
5584
49bdf4c1
L
55852012-06-14 H.J. Lu <hongjiu.lu@intel.com>
5586
5587 [BZ #14229]
5588 * string/Makefile (tests): Add tst-strtok_r.
5589 * string/tst-strtok_r.c: New file.
5590 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
5591 RAX_LP/RDX_LP on SAVE_PTR.
5592
834f9b8d
RM
55932012-06-14 Roland McGrath <roland@hack.frob.com>
5594
5595 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
5596
75fa1921
JM
55972012-06-14 Joseph Myers <joseph@codesourcery.com>
5598
5599 * libm_test.inc (csqrt_test): Allow more spurious underflow
5600 exceptions.
5601 (j0_test): Likewise.
5602 (j1_test): Likewise.
5603 (y0_test): Likewise.
5604 (y1_test): Likewise.
5605
771766df
CD
56062012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
5607
5608 * po/Makefile (libc.pot): Use UTF-8 charset.
5609
ceb9e56b
PP
56102012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
5611
5612 [BZ #14210]
5613 Suppress sign-conversion warning from FD_SET.
5614 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
5615 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
5616 not unsigned long int.
5617 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
5618
ddb28975
L
56192012-06-12 H.J. Lu <hongjiu.lu@intel.com>
5620
5621 [BZ #14050]
5622 [BZ #14117]
5623 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
5624 __extern_always_inline instead of __extern_inline.
5625 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
5626 (__signbit): Likewise.
5627 (__signbitl): Support C++ namespace.
5628 (lrintf): New inline function.
5629 (lrint): Likewise.
5630 (llrintf): Likewise.
5631 (llrint): Likewise.
5632 (fmaxf): Likewise.
5633 (fmax): Likewise.
5634 (fminf): Likewise.
5635 (fmin): Likewise.
5636 (rint): Likewise.
5637 (rintf): Likewise.
5638 (ceil): Likewise.
5639 (ceilf): Likewise.
5640 (floor): Likewise.
5641 (floorf): Likewise.
5642 (nearbyint): Likewise.
5643 (nearbyintf): Likewise.
5644
d7b4fb26
TS
56452012-06-12 Thomas Schwinge <thomas@codesourcery.com>
5646
5647 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
5648 non-default versions.
5649
eb55f5c2
RM
56502012-06-11 Roland McGrath <roland@hack.frob.com>
5651
5652 [BZ #14218]
5653 * manual/argp.texi (Argp): Reword argp_parse description slightly.
5654
366af02c
TS
56552012-06-09 Thomas Schwinge <thomas@codesourcery.com>
5656
99ff6e5c
TS
5657 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
5658 (FE_UPWARD, FE_DOWNWARD): Don't define.
5659 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
5660 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
5661
366af02c
TS
5662 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
5663 reading it.
5664 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
5665 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
5666
793ea851
KK
56672012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5668
5669 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
5670 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
5671 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
5672 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
5673
a728a38f
L
56742012-06-06 H.J. Lu <hongjiu.lu@intel.com>
5675
5676 [BZ #14117]
c08010c7
L
5677 * sysdeps/i386/fpu/bits/fenv.h: Removed.
5678 * sysdeps/i386/fpu/Implies: New file.
5679 * sysdeps/x86_64/fpu/Implies: Likewise.
5680 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
5681 * sysdeps/x86/fpu/bits/fenv.h: This.
5682
a728a38f
L
5683 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
5684 __SSE_MATH__.
5685
6e230d11
SP
56862012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5687
5688 [BZ #14134]
5689 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
5690 character 0xffff that matches the last element of the
5691 conversion table.
5692
1b671feb
AZ
56932012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5694
5695 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
5696 fmodl commit.
5697
6043738b
AZ
56982012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5699
5700 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
5701 values higher than 25.6283.
5702
34ae0b32
AZ
57032012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5704
5705 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
5706 subnormal exponent extraction and add some __builtin_expect.
5707 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
5708 Fix for subnormal mantissa calculation.
5709
1214ec8f
MF
57102012-06-04 Mike Frysinger <vapier@gentoo.org>
5711
5712 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
5713 cpu2 is -1 and errno is not ENOSYS.
5714
f3d1f93c
L
57152012-06-04 H.J. Lu <hongjiu.lu@intel.com>
5716
5717 [BZ #14117]
0e4a3cd7
L
5718 * sysdeps/i386/i486/bits/string.h: Renamed to ...
5719 * sysdeps/x86/bits/string.h: This.
5720 * sysdeps/x86_64/bits/string.h: Removed.
5721
6704c645
L
5722 * sysdeps/i386/i486/bits/string.h: Define inline functions only
5723 if not compiling for x86-64, but compiling for >= i486.
5724
48495318
L
5725 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
5726 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
5727
14adcbfc
L
5728 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
5729 New macro from Linux kernel 3.4.0.
5730 (FP_XSTATE_MAGIC2): Likewise.
5731 (FP_XSTATE_MAGIC2_SIZE): Likewise.
5732 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
5733 (struct _fpx_sw_bytes): New struct.
5734 (struct _xsave_hdr): Likewise.
5735 (struct _ymmh_state): Likewise.
5736 (struct _xstate): Likewise.
5737
68e408ab
L
5738 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
5739 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
5740 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
5741 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
5742 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
5743 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
5744
f3d1f93c
L
5745 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
5746 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
5747 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
5748 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
5749 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
5750 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
5751
d9dc34cd
TMQMF
57522012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5753
5754 [BZ #13743]
5755 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
5756 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
5757 (sysdep_headers): Include sys/platform/ppc.h.
5758 * sysdeps/powerpc/test-gettimebase.c: Test for
5759 __ppc_get_timebase() to catch future ISA opcode/insn changes.
5760 * manual/Makefile (appendices): Include platform.texi.
5761 * manual/contrib.texi (Contributors): Update @node pointers.
5762 * manual/maint.texi (Maintenance): Likewise.
5763 (Platform): New node.
5764 * manual/platform.texi: New file. Document the new features.
5765
4af3879c
SP
57662012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5767 Jakub Jelinek <jakub@redhat.com>
5768
5769 [BZ #14188]
5770 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
5771 where __builtin_expect is unavailable.
5772
2fd6ff13
DM
57732012-06-03 David S. Miller <davem@davemloft.net>
5774
5775 * stdlib/longlong.h: Updated from GCC.
5776
173f7220
AS
57772012-06-02 Andreas Schwab <schwab@linux-m68k.org>
5778
5779 [BZ #14042]
5780 * sysdeps/powerpc/powerpc32/mcount.c: New file.
5781 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
5782 __mcount_internal.
5783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
5784 (GLIBC_2.16): Likewise.
5785
f34a1c6f
L
57862012-06-01 H.J. Lu <hongjiu.lu@intel.com>
5787
5788 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
5789
88a4576f
JM
57902012-06-01 Joseph Myers <joseph@codesourcery.com>
5791
ea32bcdd
JM
5792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
5793 (default-abi): New variable.
5794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
5795 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
5796 variable.
5797 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
5798 Likewise.
5799 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
5800 Likewise.
5801 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
5802 Likewise.
5803
88a4576f
JM
5804 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
5805 definition. Document in comment.
5806
402fe938
DM
58072012-06-01 David S. Miller <davem@davemloft.net>
5808
5809 * stdlib/longlong.h: Updated from GCC.
5810
3553723f
L
58112012-06-01 H.J. Lu <hongjiu.lu@intel.com>
5812
5813 [BZ #14117]
3bd872c4
L
5814 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
5815 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
5816 sys/debugreg.h sys/io.h here.
5817 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
5818 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
5819 sys/io.h.
5820 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
5821 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
5822 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
5823 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
5824 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
5825 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
5826
3553723f
L
5827 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
5828 Define only if __x86_64__ is defined.
5829
4842e4fe
JM
58302012-06-01 Joseph Myers <joseph@codesourcery.com>
5831
c5bfe3d5
JM
5832 [BZ #14048]
5833 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
5834 Use int64_t for variable i.
5835 * math/libm-test.inc (fmod_test): Add more tests.
5836
4842e4fe
JM
5837 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
5838 z computation is not scheduled after fetestexcept.
5839 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
5840 Use math_force_eval instead of asm to ensure calculation scheduled
5841 before exception test.
5842 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
5843 Ensure a1 + u.d computation is not scheduled after fetestexcept.
5844
efb73488
AJ
58452012-06-01 Aurelien Jarno <aurelien@aurel32.net>
5846
5847 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
5848 computation is not scheduled after fetestexcept.
5849
29bcce7c
L
58502012-06-01 H.J. Lu <hongjiu.lu@intel.com>
5851
5852 [BZ #14117]
5853 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
5854 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
5855
73a68f94
AZ
58562012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5857
5858 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
5859 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
5860
67b6df78
L
58612012-05-31 H.J. Lu <hongjiu.lu@intel.com>
5862
edf2933a 5863 [BZ #14117]
ebc64a18
L
5864 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
5865 <bits/wordsize.h>.
5866 (__WCHAR_MIN): Support __WORDSIZE == 64.
5867 (__WCHAR_MAX): Likewise.
5868
edf2933a
L
5869 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
5870 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
5871
57c6cf40
L
5872 [BZ #14183]
5873 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
5874 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
5875
67b6df78 5876 [BZ #14117]
8eb6281e
L
5877 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
5878 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
5879
aac639f4
L
5880 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
5881 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
5882
67b6df78
L
5883 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
5884 Defined to 1 if __x86_64__ isn't defined.
5885 (_STAT_VER_LINUX_OLD): New.
5886 (st_atime): Remove duplicate.
5887 (st_mtime): Likewise.
5888 (st_ctime): Likewise.
5889
1c2cfe81
DM
58902012-05-31 David S. Miller <davem@davemloft.net>
5891
5892 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
5893 entries.
5894
5be8418c
AS
58952012-06-01 Andreas Schwab <schwab@linux-m68k.org>
5896
e7725326
AS
5897 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
5898 gen-libm-test.pl.
5899
5be8418c
AS
5900 [BZ #14132]
5901 * elf/dl-reloc.c: Include <_itoa.h>.
5902 (_dl_reloc_bad_type): Remove use of INTUSE.
5903 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
5904 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
5905 * stdio-common/psiginfo.c (psiginfo): Likewise.
5906 * stdio-common/psignal.c (psignal): Likewise.
5907 * string/strsignal.c (strsignal): Likewise.
5908 * include/signal.h (_sys_siglist): Declare hidden proto.
5909 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
5910 INTVARDEF with libc_hidden_data_def.
5911 * stdio-common/itoa-udigits.c: Likewise.
5912 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
5913 (_itoa_lower_digits_internal): Remove declaration.
5914 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
5915 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
5916 (_sys_sigabbrev_internal): Remove aliases.
5917 (_sys_siglist): Define hidden alias.
5918
507352f1
MT
59192012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
5920
5921 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5922 bits/sysctl.h.
5923
42bbb1c3
L
59242012-05-31 H.J. Lu <hongjiu.lu@intel.com>
5925
5926 [BZ #14117]
6bd784b6
L
5927 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
5928 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
5929
8bca20f0
L
5930 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
5931 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
5932 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
5933 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
5934 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
5935 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
5936
f9e890a9
L
5937 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
5938 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
5939 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
5940
471101a1
L
5941 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
5942 with __addr.
5943 (insw): Likewise.
5944 (insl): Likewise.
5945 (outsb): Likewise.
5946 (outsw): Likewise.
5947 (outsl): Likewise.
5948
6451c862
L
5949 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
5950 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
5951 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
5952
a254b8c9
L
5953 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
5954 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
5955 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
5956 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
5957 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
5958 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
5959
b8dfdd92
L
5960 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
5961 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
5962
578cd270
L
5963 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
5964 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
5965
de662f5f
L
5966 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
5967 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
5968 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
5969
25653439
L
5970 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
5971 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
5972 to ...
5973 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
5974
6bad24a0
L
5975 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
5976 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
5977 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
5978
42bbb1c3
L
5979 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
5980 for x86-64.
5981 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
5982
2d10d547
JM
59832012-05-31 Joseph Myers <joseph@codesourcery.com>
5984
5985 * math/math.h (M_El): Use two more decimal places.
5986 (M_LOG2El): Likewise.
5987 (M_LOG10El): Likewise.
5988 (M_LN2l): Likewise.
5989 (M_LN10l): Likewise.
5990 (M_PIl): Likewise.
5991 (M_PI_2l): Likewise.
5992 (M_PI_4l): Likewise.
5993 (M_1_PIl): Likewise.
5994 (M_2_PIl): Likewise.
5995 (M_2_SQRTPIl): Likewise.
5996 (M_SQRT2l): Likewise.
5997 (M_SQRT1_2l): Likewise.
5998
f230c29b
DM
59992012-05-31 David S. Miller <davem@davemloft.net>
6000
6001 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
6002 values between float registers.
6003 * sysdeps/sparc/sparc64/memset.S: Likewise.
6004 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6005
fed806c3
MF
60062012-05-31 Mike Frysinger <vapier@gentoo.org>
6007
6008 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
6009 -D_FORTIFY_SOURCE=1.
6010 (CPPFLAGS-tst-longjmp_chk.c): Define.
6011 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
6012 (CPPFLAGS-tst-longjmp_chk2.c): Define.
6013 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
6014 CFLAGS-tst-wchar-h.c.
6015
30917259
MP
60162012-05-31 Marek Polacek <polacek@redhat.com>
6017
6018 [BZ #14132]
6019 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
6020 __endmntent_internal): Remove declaration.
6021 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
6022 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
6023 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
6024
1c58d5dc
DM
60252012-05-30 David S. Miller <davem@davemloft.net>
6026
6027 * sysdeps/sparc/sparc32/soft-fp/q_util.c
6028 (___Q_simulate_exceptions): Use real FP ops rather than writing
6029 into the %fsr.
6030 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
6031 Likewise.
6032
7dc00e0d
L
60332012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6034
6035 [BZ #14117]
0bd53985
L
6036 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
6037 * sysdeps/x86/bits/xtitypes.h: This.
6038
3a257e66
L
6039 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
6040 * sysdeps/x86/bits/wordsize.h: This.
6041
62f62904
L
6042 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
6043 * sysdeps/x86/bits/huge_vall.h: This.
6044
404fe9d9
L
6045 * sysdeps/i386/bits/select.h: Removed.
6046 * sysdeps/x86_64/bits/select.h: Renamed to ...
6047 * sysdeps/x86/bits/select.h: This.
6048
d48d0446
L
6049 * sysdeps/i386/bits/setjmp.h: Removed.
6050 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
6051 * sysdeps/x86/bits/setjmp.h: This.
6052
7dc00e0d
L
6053 * sysdeps/i386/bits/mathdef.h: Removed.
6054 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
6055 * sysdeps/x86/bits/mathdef.h: This.
6056
03277f8f
AS
60572012-05-30 Andreas Schwab <schwab@linux-m68k.org>
6058
6059 [BZ #14132]
6060 * include/sys/socket.h (__connect_internal)
6061 (__libc_sa_len_internal): Remove declaration.
6062 (__connect, __libc_sa_len): Declare hidden_proto.
6063 (SA_LEN): Remove use of INTUSE.
6064 * socket/connect.c: Add libc_hidden_def.
6065 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
6066 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
6067 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
6068 alias.
6069 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6070 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6071 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
6072 of adding _internal alias.
6073
13764867
L
60742012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6075
6076 [BZ #14117]
6bd97696
L
6077 * sysdeps/i386/bits/link.h: Removed.
6078 * sysdeps/i386/bits/linkmap.h: Likewise.
6079 * sysdeps/x86_64/bits/link.h: Renamed to ...
6080 * sysdeps/x86/bits/link.h: This.
6081 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
6082 * sysdeps/x86/bits/linkmap.h: This.
6083
f726f0bb
L
6084 * sysdeps/i386/bits/endian.h: Removed.
6085 * sysdeps/x86_64/bits/endian.h: Renamed to ...
6086 * sysdeps/x86/bits/endian.h: This.
6087
13764867
L
6088 * sysdeps/i386/bits/byteswap.h: Removed.
6089 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6090 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
6091 * sysdeps/x86/bits/byteswap.h: This.
6092 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
6093 * sysdeps/x86/bits/byteswap-16.h: This.
6094 * sysdeps/i386/Implies: Add x86.
6095 * sysdeps/x86_64/Implies: Likewise.
6096
ae251b0b
DM
60972012-05-30 David S. Miller <davem@davemloft.net>
6098
6099 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
6100 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
6101 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6102 (FP_TRAPPING_EXCEPTIONS): Define.
6103 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6104 (FP_TRAPPING_EXCEPTIONS): Define.
6105 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
6106 subnormals only when inexact has been signalled or underflow
6107 exceptions are enabled.
6108 (_FP_PACK_CANONICAL): Likewise.
6109
d5c90867
L
61102012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6111
6112 [BZ #14183]
6113 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
6114 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
6115
63f1549e
RH
61162012-05-30 Richard Henderson <rth@twiddle.net>
6117
8d8f2279
RH
6118 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
6119 with #ifndef NOT_IN_libc.
6120
63f1549e
RH
6121 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
6122 marked to avoid plt entry.
6123
0ab0291b
L
61242012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6125
6126 [BZ #14112]
6127 * Makeconfig (default-abi): New macro.
6128 (abi-includes): Likewise.
6129 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
6130 $(abi-$(default-abi)-lib-soname) for soname if defined.
6131 ($(common-objpfx)gnu/lib-names.stmp): Generate from
6132 abi-variants.
6133 * Makefile (installed-stubs): Likewise.
6134 * include/stubs-biarch.h: Removed.
6135 * scripts/lib-names.awk: Only handle one library at a time.
6136 * scripts/soversions.awk: Remove WORDSIZE support.
6137 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
6138 entries.
6139 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
6140 Removed.
6141 (syscall-list-default-condition): Likewise.
6142 (syscall-list-default-condition): Likewise.
6143 (syscall-list-includes): Likewise.
6144 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
6145 syscall-list-* with abi-*. Handle undefined abi-variants.
6146 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
6147 * sysdeps/unix/sysv/linux/i386/Implies: New file.
6148 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
6149 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
6150 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
6151 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
6152 Removed.
6153 (syscall-list-32-options): Likewise.
6154 (syscall-list-32-condition): Likewise.
6155 (syscall-list-64-options): Likewise.
6156 (syscall-list-64-condition): Likewise.
6157 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
6158 macro.
6159 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
6160 Renamed to ...
6161 (abi-*): This.
6162 (abi-64-ld-soname): New macro.
6163 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
6164 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
6165 Renamed to ...
6166 (abi-*): This.
6167 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
6168 * sysdeps/x86_64/x32/shlib-versions: Likewise.
6169
4da0431d
JM
61702012-05-30 Joseph Myers <joseph@codesourcery.com>
6171
3a85279c
JM
6172 * sysdeps/unix/sysv/linux/kernel-features.h
6173 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
6174 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
6175 include <kernel-features.h>.
6176 [!__NR_ftruncate64]: Remove conditional code.
6177 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6178 [__NR_ftruncate64]: Make code unconditional.
6179 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6180 * sysdeps/unix/sysv/linux/truncate64.c: Do not
6181 include <kernel-features.h>.
6182 [!__NR_ftruncate64]: Remove conditional code.
6183 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6184 [__NR_ftruncate64]: Make code unconditional.
6185 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
6187 include <kernel-features.h>.
6188 [!__NR_ftruncate64]: Remove conditional code.
6189 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6190 [__NR_ftruncate64]: Make code unconditional.
6191 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
6193 include <kernel-features.h>.
6194 [!__NR_ftruncate64]: Remove conditional code.
6195 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6196 [__NR_ftruncate64]: Make code unconditional.
6197 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6198
4da0431d
JM
6199 * configure.in (libc_cv_fpie): Weaken to a compile test using
6200 LIBC_TRY_CC_OPTION.
6201 * configure: Regenerated.
6202
11ef492c
AK
62032012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6204
6205 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
6206 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
6207 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
6208 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6209 Refreshed.
6210 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
6211 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
6212 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
6213 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
6214 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
6215 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6216 Refreshed.
6217
d66ef399
DM
62182012-05-27 David S. Miller <davem@davemloft.net>
6219
6220 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
6221 (___Q_zero): New.
6222 (__Q_simulate_exceptions): Return void. Change to simulate
6223 exceptions by writing into the %fsr.
6224 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
6225 (__Qp_handle_exceptions): Likewise.
6226 (numbers): Delete.
6227 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
6228 __Qp_handle_exceptions.
6229 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
6230 __Qp_handle_exceptions.
6231 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
6232 as unused and give dummy FP_RND_NEAREST initializer.
6233 (FP_INHIBIT_RESULTS): Define.
6234 (___Q_simulate_exceptions): Update declaration.
6235 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
6236 formatting.
6237 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
6238 as unused and give dummy FP_RND_NEAREST initializer.
6239 (__Qp_handle_exceptions): Update declaration.
6240 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
6241 formatting.
6242
04fb54b5
TS
62432012-05-27 Thomas Schwinge <thomas@codesourcery.com>
6244
6245 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
6246 the temporary FPU control word.
6247 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6248 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
6249 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
6250 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6251 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6252 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
6253 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
6254 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6255 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6256 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
6257 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6258
3f99608f
KK
62592012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6260
6261 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
6262 fields.
6263
65a4de4e
CLT
62642012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
6265
6266 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
6267 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
6268 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
6269 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
6270 Likewise.
6271 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
6272 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
6273 Likewise.
6274
15749d40
UD
62752012-05-27 Ulrich Drepper <drepper@gmail.com>
6276
6277 * po/h.po: Update from translation team.
6278
25dbcb27
AS
62792012-05-26 Andreas Schwab <schwab@linux-m68k.org>
6280
3d3f8e55
AS
6281 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
6282
25dbcb27
AS
6283 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
6284 handling of denormals.
6285 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6286 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
6287 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6288 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6289 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6290 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
6291 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
6292 Likewise.
6293
7ad47a80 62942012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
6295
6296 [BZ #14152]
6297 * math/libm-test.inc (fma_test): Don't always expect underflow
6298 exception.
6299
9c6ea9fa
SP
63002012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6301
6302 [BZ #12416]
6303 * elf/tst-execstack.c: Include stackinfo.h.
6304 (do_test): Adjust test case to ensure that pthread_getattr_np
6305 behaviour remains the same after marking stack executable.
6306
a8239222
JM
63072012-05-25 Joseph Myers <joseph@codesourcery.com>
6308
6309 * sysdeps/unix/sysv/linux/kernel-features.h
6310 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
6311 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
6312 kernel-features.h.
6313 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
6314 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
6315 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
6316 kernel-features.h.
6317 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
6318 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
6319
918b5606
L
63202012-05-25 H.J. Lu <hongjiu.lu@intel.com>
6321
6322 * configure.in: Define the default includes to being none.
6323 * configure: Regenerated.
6324
3a097cc7
RM
63252012-05-25 Roland McGrath <roland@hack.frob.com>
6326
8422c9a5
RM
6327 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
6328 * sysdeps/x86_64/setjmp.S: Likewise.
6329 * sysdeps/i386/bsd-setjmp.S: Likewise.
6330 * sysdeps/i386/bsd-_setjmp.S: Likewise.
6331 * sysdeps/i386/setjmp.S: Likewise.
6332 * sysdeps/i386/__longjmp.S: Likewise.
6333 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
6334 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
6335
3a097cc7
RM
6336 * include/stap-probe.h: New file.
6337 * configure.in: Handle --enable-systemtap.
6338 * configure: Regenerated.
6339 * config.h.in (USE_STAP_PROBE): New #undef.
6340 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
6341 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
6342 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
6343
21708942
JM
63442012-05-25 Joseph Myers <joseph@codesourcery.com>
6345
6346 [BZ #13717]
6347 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
6348 to 2.4.0 where earlier.
6349 * sysdeps/unix/sysv/linux/configure: Regenerated.
6350 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
6351 <kernel-features.h>.
6352 [__ASSUME_32BITUIDS]: Make code unconditional.
6353 [!__ASSUME_32BITUIDS]: Remove conditional code.
6354 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
6355 <kernel-features.h>.
6356 [__ASSUME_32BITUIDS]: Make code unconditional.
6357 [!__ASSUME_32BITUIDS]: Remove conditional code.
6358 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
6359 [__ASSUME_32BITUIDS]: Make code unconditional.
6360 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
6361 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
6362 <kernel-features.h>.
6363 [__ASSUME_32BITUIDS]: Make code unconditional.
6364 [!__ASSUME_32BITUIDS]: Remove conditional code.
6365 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
6366 <kernel-features.h>.
6367 [__ASSUME_32BITUIDS]: Make code unconditional.
6368 [!__ASSUME_32BITUIDS]: Remove conditional code.
6369 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
6370 <kernel-features.h>.
6371 [__ASSUME_32BITUIDS]: Make code unconditional.
6372 [!__ASSUME_32BITUIDS]: Remove conditional code.
6373 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
6374 <kernel-features.h>.
6375 [__ASSUME_32BITUIDS]: Make code unconditional.
6376 [!__ASSUME_32BITUIDS]: Remove conditional code.
6377 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
6378 <kernel-features.h>.
6379 [__ASSUME_32BITUIDS]: Make code unconditional.
6380 [!__ASSUME_32BITUIDS]: Remove conditional code.
6381 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
6382 <kernel-features.h>.
6383 [__ASSUME_32BITUIDS]: Make code unconditional.
6384 [!__ASSUME_32BITUIDS]: Remove conditional code.
6385 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
6386 <kernel-features.h>.
6387 [__ASSUME_32BITUIDS]: Make code unconditional.
6388 [!__ASSUME_32BITUIDS]: Remove conditional code.
6389 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
6390 <kernel-features.h>.
6391 [__ASSUME_32BITUIDS]: Make code unconditional.
6392 [!__ASSUME_32BITUIDS]: Remove conditional code.
6393 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
6394 <kernel-features.h>.
6395 [__ASSUME_32BITUIDS]: Make code unconditional.
6396 [!__ASSUME_32BITUIDS]: Remove conditional code.
6397 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
6398 <kernel-features.h>.
6399 [__ASSUME_32BITUIDS]: Make code unconditional.
6400 [!__ASSUME_32BITUIDS]: Remove conditional code.
6401 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
6402 <kernel-features.h>.
6403 [__NR_setresgid] (__setresgid): Do not declare.
6404 [__ASSUME_32BITUIDS]: Make code unconditional.
6405 [!__ASSUME_32BITUIDS]: Remove conditional code.
6406 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
6407 <kernel-features.h>.
6408 [__NR_setresuid] (__setresuid): Do not declare.
6409 [__ASSUME_32BITUIDS]: Make code unconditional.
6410 [!__ASSUME_32BITUIDS]: Remove conditional code.
6411 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.c: Do not include
6448 <kernel-features.h>.
6449 [__ASSUME_32BITUIDS]: Make code unconditional.
6450 [!__ASSUME_32BITUIDS]: Remove conditional code.
6451 * sysdeps/unix/sysv/linux/kernel-features.h
6452 (__ASSUME_SETRESUID_SYSCALL): Remove.
6453 (__ASSUME_SETRESGID_SYSCALL): Likewise.
6454 (__ASSUME_32BITUIDS): Likewise.
6455 (__ASSUME_LDT_WORKS): Likewise.
6456 (__ASSUME_O_DIRECTORY): Likewise.
6457 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
6458 architecture but not kernel version.
6459 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6460 (__ASSUME_MMAP2_SYSCALL): Likewise.
6461 (__ASSUME_STAT64_SYSCALL): Likewise.
6462 (__ASSUME_IPC64): Likewise.
6463 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
6464 <kernel-features.h>.
6465 [__ASSUME_32BITUIDS]: Make code unconditional.
6466 [!__ASSUME_32BITUIDS]: Remove conditional code.
6467 * sysdeps/unix/sysv/linux/opendir.c: Do not include
6468 <kernel-features.h>.
6469 [__ASSUME_O_DIRECTORY]: Make code unconditional.
6470 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
6471 132096]: Remove conditional code.
6472 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
6473 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
6482 <kernel-features.h>.
6483 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
6484 unconditional.
6485 (__setresgid): Do not declare.
6486 [__ASSUME_32BITUIDS]: Make code unconditional.
6487 [!__ASSUME_32BITUIDS]: Remove conditional code.
6488 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
6489 <kernel-features.h>.
6490 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
6491 unconditional.
6492 (__setresuid): Do not declare.
6493 [__ASSUME_32BITUIDS]: Make code unconditional.
6494 [!__ASSUME_32BITUIDS]: Remove conditional code.
6495 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
6496 <kernel-features.h>.
6497 [__ASSUME_32BITUIDS]: Make code unconditional.
6498 [!__ASSUME_32BITUIDS]: Remove conditional code.
6499 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
6500 <kernel-features.h>.
6501 [__ASSUME_32BITUIDS]: Make code unconditional.
6502 [!__ASSUME_32BITUIDS]: Remove conditional code.
6503
a386f1cc
RH
65042012-05-25 Richard Henderson <rth@twiddle.net>
6505
6506 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
6507 dl_hwcap to ifunc resolver.
6508 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
6509 elf_ifunc_invoke.
6510 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
6511 dl_hwcap to ifunc resolver.
6512 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
6513
b6550497
JM
65142012-05-24 Joseph Myers <joseph@codesourcery.com>
6515
6516 [BZ #14153]
6517 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
6518 for |x| <= 2**-26, not 2**-57.
6519 * math/libm-test.inc (acos_test): Do not allow spurious underflow
6520 exception.
6521
b0bc23a1
JL
65222012-05-24 Jeff Law <law@redhat.com>
6523
6524 * stdio-common/Makefile (tests): Add bug25.
6525 * stdio-common/bug25.c: New test.
6526
347c92e9
L
65272012-05-24 H.J. Lu <hongjiu.lu@intel.com>
6528
6529 [BZ #13576]
6530 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
6531 multiple of MALLOC_ALIGNMENT in size.
6532 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
6533
6bcc8b3f
JM
65342012-05-24 Joseph Myers <joseph@codesourcery.com>
6535
6536 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
6537 Require >= 256.
6538 (FILENAME_MAX): Use macro-int-constant.
6539 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
6540 (_IOFBF): Use macro-int-constant.
6541 (_IOLBF): Likewise.
6542 (_IONBF): Likewise.
6543 (SEEK_CUR): Likewise.
6544 (SEEK_END): Likewise.
6545 (SEEK_SET): Likewise.
6546 (TMP_MAX): Likewise.
6547 (EOF): Use macro-int-constant. Require < 0.
6548 (NULL): Use macro-constant. Require == 0.
6549 (stdin): Require type to be FILE *.
6550 (stdout): Likewise.
6551 (stderr): Likewise.
6552 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
6553 macro-int-constant.
6554 (EXIT_SUCCESS): Likewise.
6555 (NULL): Use macro-constant. Require == 0.
6556 (RAND_MAX): Use macro-int-constant.
6557 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
6558 [C99-based standards] (strtof): Require function.
6559 [C99-based standards] (strtold): Likewise.
6560 [C99-based standards] (strtoll): Likewise.
6561 [C99-based standards] (strtoull): Likewise.
6562 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6563 [ISO || ISO99 || ISO11] (limits.h): Likewise.
6564 [ISO || ISO99 || ISO11] (math.h): Likewise.
6565 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
6566 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6567 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6568
d18ea0c5
AS
65692012-05-24 Andreas Schwab <schwab@linux-m68k.org>
6570
6571 [BZ #14132]
56d25bb8
AS
6572 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
6573 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
6574 * intl/dgettext.c (DCGETTEXT): Likewise.
6575 * intl/gettext.c (DCGETTEXT): Likewise.
6576 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
6577 * posix/regex_internal.h (gettext): Likewise.
6578 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
6579 Remove declaration.
6580 * include/argz.h (__argz_count_internal)
6581 (__argz_stringify_internal): Remove declaration.
6582 (__argz_count, __argz_stringify): Declare hidden proto.
6583 * intl/dcgettext.c: Remove use of INTDEF.
6584 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
6585 * string/argz-stringify.c: Likewise.
6586 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
6587 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
6588 Declare hidden proto.
d18ea0c5
AS
6589 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
6590 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
6591 Declare hidden proto.
6592 * include/stdio.h (__asprintf_internal): Don't declare.
6593 (__asprintf): Don't define as macro. Declare hidden proto.
6594 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
6595 (__fsetlocking): Declare hidden proto.
6596 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
6597 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
6598 hidden proto.
6599 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
6600 (_IO_setlinebuf): Remove use of INTUSE.
6601 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
6602 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
6603 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
6604 Remove declaration.
6605 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
6606 (_IO_do_flush): Remove use of INTUSE.
6607 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
6608 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
6609 (_IO_adjust_column, _IO_least_wmarker)
6610 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
6611 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
6612 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
6613 (_IO_default_doallocate, _IO_wdefault_doallocate)
6614 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
6615 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
6616 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
6617 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
6618 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
6619 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
6620 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
6621 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
6622 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
6623 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
6624 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
6625 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
6626 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
6627 proto.
6628 (_IO_flush_all_internal, _IO_adjust_column_internal)
6629 (_IO_default_uflow_internal, _IO_default_finish_internal)
6630 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
6631 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
6632 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
6633 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
6634 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
6635 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
6636 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
6637 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
6638 (_IO_file_close_internal, _IO_file_close_it_internal)
6639 (_IO_file_underflow_internal, _IO_file_overflow_internal)
6640 (_IO_file_init_internal, _IO_file_attach_internal)
6641 (_IO_file_fopen_internal, _IO_file_read_internal)
6642 (_IO_file_sync_internal, _IO_file_seek_internal)
6643 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
6644 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
6645 (_IO_str_underflow_internal, _IO_str_overflow_internal)
6646 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
6647 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
6648 (_IO_list_all_internal, _IO_link_in_internal)
6649 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
6650 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
6651 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
6652 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
6653 (_IO_do_write_internal, _IO_padn_internal)
6654 (_IO_getline_info_internal, _IO_getline_internal)
6655 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
6656 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
6657 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
6658 (_IO_vfscanf_internal, _IO_vfprintf_internal)
6659 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
6660 (_IO_init_internal, _IO_un_link_internal): Don't declare.
6661 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
6662 with libc_hidden_ver, remove use of INTUSE.
6663 * libio/genops.c: Likewise.
6664 * libio/freopen.c: Likewise.
6665 * libio/freopen64.c: Likewise.
6666 * libio/iofclose.c: Likewise.
6667 * libio/iofdopen.c: Likewise.
6668 * libio/iofflush.c: Likewise.
6669 * libio/iofflush_u.c: Likewise.
6670 * libio/iofgets.c: Likewise.
6671 * libio/iofgets_u.c: Likewise.
6672 * libio/iofopen.c: Likewise.
6673 * libio/iofopncook.c: Likewise.
6674 * libio/iofread.c: Likewise.
6675 * libio/iofread_u.c: Likewise.
6676 * libio/ioftell.c: Likewise.
6677 * libio/iofwrite.c: Likewise.
6678 * libio/iogetline.c: Likewise.
6679 * libio/iogets.c: Likewise.
6680 * libio/iogetwline.c: Likewise.
6681 * libio/iopadn.c: Likewise.
6682 * libio/iopopen.c: Likewise.
6683 * libio/ioseekoff.c: Likewise.
6684 * libio/ioseekpos.c: Likewise.
6685 * libio/iosetbuffer.c: Likewise.
6686 * libio/iosetvbuf.c: Likewise.
6687 * libio/ioungetc.c: Likewise.
6688 * libio/ioungetwc.c: Likewise.
6689 * libio/iovdprintf.c: Likewise.
6690 * libio/iovsprintf.c: Likewise.
6691 * libio/iovsscanf.c: Likewise.
6692 * libio/memstream.c: Likewise.
6693 * libio/obprintf.c: Likewise.
6694 * libio/oldfileops.c: Likewise.
6695 * libio/oldiofclose.c: Likewise.
6696 * libio/oldiofdopen.c: Likewise.
6697 * libio/oldiofopen.c: Likewise.
6698 * libio/oldiopopen.c: Likewise.
6699 * libio/oldstdfiles.c: Likewise.
6700 * libio/putc.c: Likewise.
6701 * libio/setbuf.c: Likewise.
6702 * libio/setlinebuf.c: Likewise.
6703 * libio/stdfiles.c: Likewise.
6704 * libio/strops.c: Likewise.
6705 * libio/vasprintf.c: Likewise.
6706 * libio/vscanf.c: Likewise.
6707 * libio/vsnprintf.c: Likewise.
6708 * libio/vswprintf.c: Likewise.
6709 * libio/wfiledoalloc.c: Likewise.
6710 * libio/wfileops.c: Likewise.
6711 * libio/wgenops.c: Likewise.
6712 * libio/wmemstream.c: Likewise.
6713 * libio/wstrops.c: Likewise.
6714 * libio/__fpurge.c: Likewise.
6715 * libio/__fsetlocking.c: Likewise.
6716 * assert/assert.c: Likewise.
6717 * debug/fgets_chk.c: Likewise.
6718 * debug/fgets_u_chk.c: Likewise.
6719 * debug/fread_chk.c: Likewise.
6720 * debug/fread_u_chk.c: Likewise.
6721 * debug/gets_chk.c: Likewise.
6722 * debug/obprintf_chk.c: Likewise.
6723 * debug/vasprintf_chk.c: Likewise.
6724 * debug/vdprintf_chk.c: Likewise.
6725 * debug/vsnprintf_chk.c: Likewise.
6726 * debug/vsprintf_chk.c: Likewise.
6727 * malloc/mtrace.c: Likewise.
6728 * misc/error.c: Likewise.
6729 * misc/syslog.c: Likewise.
6730 * stdio-common/asprintf.c: Likewise.
6731 * stdio-common/fxprintf.c: Likewise.
6732 * stdio-common/getw.c: Likewise.
6733 * stdio-common/isoc99_fscanf.c: Likewise.
6734 * stdio-common/isoc99_scanf.c: Likewise.
6735 * stdio-common/isoc99_vfscanf.c: Likewise.
6736 * stdio-common/isoc99_vscanf.c: Likewise.
6737 * stdio-common/isoc99_vsscanf.c: Likewise.
6738 * stdio-common/printf-prs.c: Likewise.
6739 * stdio-common/printf_fp.c: Likewise.
6740 * stdio-common/printf_fphex.c: Likewise.
6741 * stdio-common/printf_size.c: Likewise.
6742 * stdio-common/putw.c: Likewise.
6743 * stdio-common/scanf.c: Likewise.
6744 * stdio-common/sprintf.c: Likewise.
6745 * stdio-common/tmpfile.c: Likewise.
6746 * stdio-common/vfprintf.c: Likewise.
6747 * stdio-common/vfscanf.c: Likewise.
6748 * stdlib/strfmon_l.c: Likewise.
6749 * sunrpc/openchild.c: Likewise.
6750 * sunrpc/xdr_stdio.c: Likewise.
6751 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
6752 * sysdeps/mach/hurd/tmpfile.c: Likewise.
6753
d6c33fda
RM
67542012-05-24 Roland McGrath <roland@hack.frob.com>
6755
c1487492
RM
6756 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
6757
6758 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
6759 in the third column, to generate for the shared library an IFUNC
6760 that uses _dl_vdso_vsym.
6761 * Makerules (COMPILE.c, compile-stdin.c): New variables.
6762 * Makeconfig (object-suffixes-noshared): New variable.
6763
6764 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
6765 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
6766 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
6767 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
6768
d6c33fda
RM
6769 [BZ #14132]
6770 * include/sys/time.h (__gettimeofday): Remove macro.
6771 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
6772 * time/gettimeofday.c (__gettimeofday): Remove #undef.
6773 Remove INTDEF.
6774 (__gettimeofday): Add libc_hidden_def.
6775 (gettimeofday): Add libc_hidden_weak.
6776 * sysdeps/mach/gettimeofday.c: Likewise.
6777 * sysdeps/posix/gettimeofday.c: Likewise.
6778 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
6779 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
6780 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
6781 (__gettimeofday_internal): Remove strong_alias.
6782 (__gettimeofday): Add libc_hidden_def.
6783 (gettimeofday): Add libc_hidden_weak.
6784 * sysdeps/unix/syscalls.list (gettimeofday):
6785 Remove __gettimeofday_internal alias.
6786
b5a2bbe6
L
67872012-05-24 Daniel Jacobowitz <drow@false.org>
6788 H.J. Lu <hongjiu.lu@intel.com>
6789
6790 [BZ #12495]
6791 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
6792 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
6793 (largebin_index_32_big): New.
6794 (largebin_index): Use it for 16-byte alignment.
6795 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
6796 correction with front_misalign.
6797
cfba4fda
L
67982012-05-24 H.J. Lu <hongjiu.lu@intel.com>
6799
7f907421
L
6800 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
6801 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
6802 Likewise.
6803 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
6804 Likewise.
6805 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6806 Likewise.
6807 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
6808 Likewise.
6809 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
6810 Likewise.
6811 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
6812 Likewise.
6813 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
6814 Likewise.
6815 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6816 Likewise.
6817 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
6818 Likewise.
6819 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
6820 Likewise.
6821 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
6822 Likewise.
6823 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
6824 Likewise.
6825
cfba4fda
L
6826 * scripts/data/c++-types-x32-linux-gnu.data: New file.
6827 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
6828
80bad0cc
JM
68292012-05-24 Joseph Myers <joseph@codesourcery.com>
6830
7a25eb06
JM
6831 [BZ #10846]
6832 [BZ #14036]
6833 * math/libm-test.inc (exp_test): Add test from bug 14036.
6834 (pow_test): Add test from bug 10846.
6835
795405f9
JM
6836 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
6837 and other flags.
6838 (special_function): Do not include flags in test name.
6839 (parse_args): Likewise.
6840 * sysdeps/i386/fpu/libm-test-ulps: Update.
6841 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6842 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6843 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6845
80bad0cc
JM
6846 * math/gen-libm-test.pl (%beautify): Add entries for underflow
6847 exceptions.
6848 * math/libm-test.inc ("Philosophy"): Update comment about
6849 exception testing.
6850 (UNDERFLOW_EXCEPTION): New macro.
6851 (UNDERFLOW_EXCEPTION_OK): Likewise.
6852 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
6853 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
6854 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
6855 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
6856 (INVALID_EXCEPTION_OK): Update value.
6857 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6858 (OVERFLOW_EXCEPTION_OK): Likewise.
6859 (IGNORE_ZERO_INF_SIGN): Likewise.
6860 (test_exceptions): Handle underflow exceptions.
6861 (acos_test): Update for underflow exception expectations.
6862 (cexp_test): Likewise.
6863 (clog_test): Likewise.
6864 (clog10_test): Likewise.
6865 (csqrt_test): Likewise.
6866 (ctan_test): Likewise.
6867 (ctanh_test): Likewise.
6868 (exp_test): Likewise.
6869 (exp10_test): Likewise.
6870 (exp2_test): Likewise.
6871 (expm1_test): Likewise.
6872 (fma_test): Likewise.
6873 (j0_test): Likewise.
6874 (jn_test): Likewise.
6875 (nexttoward_test): Likewise.
6876 (pow_test): Likewise.
6877 (scalbn_test): Likewise.
6878 (scalbln_test): Likewise.
6879 (tan_test): Likewise.
6880 (y1_test): Likewise.
6881 * sysdeps/i386/fpu/libm-test-ulps: Update.
6882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6883
9e0e3d0b
DM
68842012-05-23 David S. Miller <davem@davemloft.net>
6885
6886 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
6887 (__libc_sigaction): Remove unused local variables.
6888
ccd0a08f
L
68892012-05-23 H.J. Lu <hongjiu.lu@intel.com>
6890
6891 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
6892
62bdf9a6
PE
68932012-05-23 Paul Eggert <eggert@cs.ucla.edu>
6894
f8591f80
PE
6895 mktime: avoid signed integer overflow
6896 * time/mktime.c (__mktime_internal): Do not mishandle the case
6897 where diff == INT_MIN.
6898
94c7d826
PE
6899 mktime: simplify computation of average
6900 * time/mktime.c (ranged_convert): Use new time_t_avg function
6901 instead of rolling our own (probably-slower) code.
6902
ce73d683
PE
6903 mktime: do not assume signed right shift propagates sign bit
6904 * time/mktime.c (isdst_differ): New static function.
6905 (__mktime_internal): No need to normalize tm_isdst now.
6906 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
6907 tm_isdst values.
6908
72a22e59
PE
6909 mktime: merge another wrapv change from gnulib
6910 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
6911 from some compilers.
6912
68605433
PE
6913 mktime: remove incorrect attempt at unusual arithmetics
6914 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
6915 The code didn't really work on such machines anyway.
6916 (TYPE_MINIMUM): Assume two's complement.
6917 (twos_complement_arithmetic): Verify that long_int and time_t
6918 are two's complement (or unsigned, in the latter case).
6919
03cf7fe3
PE
6920 mktime: check signed shifts on long_int and time_t, too
6921 * time/mktime.c (SHR): Check that shifts work as desired
6922 on the types long_int and time_t too, as SHR is used on
6923 such types.
6924
f04dfbc2
PE
6925 mktime: do not assume 'long' is wide enough
6926 * time/mktime.c (verify): Move decl up.
6927 (long_int): New type.
6928 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
6929 to remove assumption in the code that 'long' is wide enough to
6930 store year values. This assumption is not true on x32 and on
6931 some non-glibc platforms.
6932
62bdf9a6
PE
6933 mktime: merge wrapv change from gnulib
6934 * time/mktime.c (WRAPV): New macro.
6935 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
6936 (guess_time_tm, __mktime_internal): Do not assume that signed
6937 integer overflow wraps around; modern compilers generate code
6938 where this assumption is no longer valid.
6939
5e292e4f
L
69402012-05-23 H.J. Lu <hongjiu.lu@intel.com>
6941
6942 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
6943 Replace "jmp L(pseudo_end)" with "ret".
6944 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
6945 Likewise.
6946
8caf8c87
AJ
69472012-05-23 Andreas Jaeger <aj@suse.de>
6948
6949 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
6950 * sysdeps/unix/sysv/linux/poll.c: Remove file.
6951
1a09dc56
AJ
69522012-05-23 Andreas Jaeger <aj@suse.de>
6953 Maximilian Attems <max@stro.at>
6954
6955 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
6956 New macros.
6957
1c87aba0
L
69582012-05-23 H.J. Lu <hongjiu.lu@intel.com>
6959
6960 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
6961 code so that pseudo_end is just ret and the stack pointer is
6962 correct also for static library in error case.
6963
40e45bd5
JM
69642012-05-23 Joseph Myers <joseph@codesourcery.com>
6965
c2670533
JM
6966 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
6967 move to syscalls.list.
6968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
6969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6972
40e45bd5
JM
6973 * manual/install.texi (Running make install): Do not mention Linux
6974 kernel version for which pt_chown is not needed.
6975 (Linux): Do not mention problems with nscd with 2.0 kernels.
6976 * INSTALL: Regenerated.
6977
be08eda5
AJ
69782012-05-23 Andreas Jaeger <aj@suse.de>
6979
6980 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
6981 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
6982 macro.
6983 * sysdeps/unix/sysv/linux/s390/bits/mman.h
6984 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
6985 * sysdeps/unix/sysv/linux/sh/bits/mman.h
6986 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
6987 * sysdeps/unix/sysv/linux/i386/bits/mman.h
6988 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
6989 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
6990 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
6991 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
6992 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
6993 * sysdeps/unix/sysv/linux/bits/in.h
6994 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
6995
a6a056bb
RM
69962012-05-22 Roland McGrath <roland@hack.frob.com>
6997
6998 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
6999 (PREPARE_VERSION): Just use assert instead, it will be elided
7000 under [NDEBUG] anyway.
7001
c9009328
L
70022012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7003
7004 * sysdeps/unix/sysv/linux/Makefile: Include
7005 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 7006 (sysdep_routines): Remove sysctl.
c9009328
L
7007 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
7008 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
7009 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
7010 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
7011 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
7012
73338355
AJ
70132012-05-22 Andreas Jaeger <aj@suse.de>
7014
7015 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
7016 that pseudo_end is just ret and the stack pointer is correct also
7017 for static library in error case.
7018
d44638b0
PP
70192012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
7020
7021 [BZ #14122]
7022 * nss/nsswitch.c (defconfig_entries): New variable.
7023 (__nss_database_lookup): Don't leak defconfig entries.
7024 (nss_parse_service_list): Don't leak on error paths.
7025 (free_database_entries): New function.
7026 (free_defconfig): New function.
7027 (free_mem): Move common code to free_database_entries.
7028
31a39bd8
L
70292012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7030
da0331a8
L
7031 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
7032 Add arch_prctl.
7033 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
7034
31a39bd8
L
7035 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7036 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
7037 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
7038 New macro.
7039 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
7040 (INTERNAL_SYSCALL_TYPES): Likewise.
7041 (LOAD_ARGS_TYPES_[1-6]): Likewise.
7042 (LOAD_REGS_TYPES_[1-6]): Likewise.
7043 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
7044 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
7045
45470df3
AZ
70462012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7047
7048 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
7049 copysignl for GLIBC_2_0.
7050 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
7051 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
7052 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
7053 logbl for GLIBC_2_0.
7054 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
7055 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
7056
98a61bcb
L
70572012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7058
a4f6e481
L
7059 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
7060 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7061
f63d5db6
L
7062 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7063 Use "neg %eax".
7064
98a61bcb
L
7065 * time/mktime.c: Update copyright years.
7066
95770f14
PE
70672012-05-22 Paul Eggert <eggert@cs.ucla.edu>
7068
6226efbd
PE
7069 mktime: merge comment-quoting-style change from gnulib
7070 * time/mktime.c: Quote 'like this' in comments.
7071 The GNU coding standards suggest that we no longer quote `like this',
7072 as "`" and "'" are typically rendered asymmetrically nowadays.
7073 The typical gnulib style is to quote 'like this' when quoting
7074 code, and "like this" when quoting English.
7075
b99e4f78
PE
7076 * time/mktime.c (compile-command): Add "-I.".
7077
643e01e6
PE
7078 mktime: merge mktime-internal.h change from gnulib
7079 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
7080
2554247d
PE
7081 mktime: merge time_r change from gnulib
7082 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
7083
826dd0ab
PE
7084 mktime: merge DEBUG change from gnulib
7085 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
7086 case system <time.h> has a #define.
7087
bd83aabe
PE
7088 mktime: merge <sys/types.h> change from gnulib
7089 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
7090 since <time.t> is now guaranteed to define time_t.
7091
95770f14
PE
7092 mktime: merge HAVE_CONFIG_H change from gnulib
7093 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
7094
5e1a27a9
L
70952012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7096
0e44a77e
L
7097 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7098 Use "neg %eax".
7099
5e1a27a9
L
7100 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
7101 __rlim_t cast.
7102 (struct rusage): Use anonymous union to pad each field to
7103 __syscall_slong_t.
7104
46259bec
DM
71052012-05-21 David S. Miller <davem@davemloft.net>
7106
7107 * Makefules (o-iterator): Remove .s cases.
7108 (compile-command.s): Delete.
7109 (COMPILE.s): Delete.
7110 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
7111
59f0c22e
JM
71122012-05-21 Joseph Myers <joseph@codesourcery.com>
7113
7114 * configure.in (libc_cv_predef_stack_protector): Only consider
7115 "foobar" and "__stack_chk_fail" lines in libc_undefs.
7116 * configure: Regenerated.
7117
20c07380
L
71182012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7119
bbb3154b
L
7120 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7121 New macro. Use R*LP on int and pointer.
7122 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
7123 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
7124 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
7125 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
7126
20c07380
L
7127 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
7128 [__WORDSIZE_TIME64_COMPAT32] instead of
7129 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
7130 (struct utmp): Likewise.
7131 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
7132 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
7133 Renamed to ...
7134 (__WORDSIZE_TIME64_COMPAT32): This.
7135 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
7136 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
7137 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
7138 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
7139 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
7140 (__WORDSIZE_TIME64_COMPAT32): New macro.
7141
d8d1017e
AJ
71422012-05-21 Andreas Jaeger <aj@suse.de>
7143
7144 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
7145 only if [SHARED]. Add prototype for __wcschr_ia32.
7146
6c7fb145
RM
71472012-05-21 Roland McGrath <roland@hack.frob.com>
7148
7149 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
7150 of %rbp unmolested in the jmp_buf while mangling the low bits.
7151 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
7152 unmolested high bits of %rbp while demangling the low bits.
7153 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7154
66274218
AJ
71552012-05-21 Andreas Jaeger <aj@suse.de>
7156
07c58f8f
AJ
7157 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
7158 * sunrpc/svc_simple.c: Use it for registerrpc.
7159 * sunrpc/xcrypt.c: Use it for passwd2des.
7160
66274218
AJ
7161 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
7162
61f65140
L
71632012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7164
7165 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
7166 Don't define if [__SYSCALL_WORDSIZE != 32].
7167 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
7168 New macro.
7169
5fefb436
AJ
71702012-05-21 Bruno Haible <bruno@clisp.org>
7171 Andreas Jaeger <aj@suse.de>
7172
7173 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
7174 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
7175 inptr and inend for must_buffer_ch.
7176 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
7177 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
7178 * stdio-common/Makefile (tests): Remove bug15.
7179 (bug15-ENV): Remove macro.
7180 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
7181 anymore.
7182
d8e272ab
AJ
71832012-05-19 Andreas Jaeger <aj@suse.de>
7184 Roland McGrath <roland@hack.frob.com>
7185
7186 * manual/contrib.texi: Completely rewritten. It contains now an
7187 alphabetical list of contributors and their contributions.
7188
4a56a162
RH
71892012-05-21 Richard Henderson <rth@twiddle.net>
7190
7191 * misc/getauxval.c (__getauxval): Use unsigned long int.
7192 * misc/sys/auxv.h: Include <sys/cdefs.h>.
7193 (getauxval): Use unsigned long int.
7194
d024d23c
L
71952012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7196
7197 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7198
cbc00a03
RM
71992012-05-21 Roland McGrath <roland@hack.frob.com>
7200
7201 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
7202 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
7203 __alignof__ (long double).
7204
478143fa
AZ
72052012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7206
7207 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7208
c7683a6d
RH
72092012-05-20 Richard Henderson <rth@twiddle.net>
7210
7211 * misc/getauxval.c: New file.
7212 * misc/sys/auxv.h: New file.
7213 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
7214 (routines): Add getauxval.
7215 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
7216 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
7217 * elf/dl-sysdep.c (_dl_auxv): Remove.
7218 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
7219 * elf/dl-support.c (_dl_auxv): New variable.
7220 (_dl_aux_init): Initialize it.
7221 * manual/startup.texi (Auxiliary Vector): New node.
7222 * sysdeps/generic/bits/hwcap.h: New file.
7223 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
7224 * sysdeps/powerpc/sysdep.h: ... here. Include it.
7225 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
7226 * sysdeps/sparc/sysdep.h: ... here. Include it.
7227 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
7228 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
7229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7230 Update.
c7683a6d
RH
7231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
7232 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
7233 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
7234 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
7235 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
7236 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
7237 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
7238 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
7239
a6f1845d
AZ
72402012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7241
7242 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7243
cbcbe830
DM
72442012-05-19 David S. Miller <davem@davemloft.net>
7245
7246 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7247
e0b16cc2
JM
72482012-05-19 Joseph Myers <joseph@codesourcery.com>
7249
7250 [BZ #14123]
7251 * math/s_ccosh.c: Include <float.h>
7252 (__ccosh): Avoid internal overflow calculating sinh and cosh
7253 values before multiplying by sin and cos values.
7254 * math/s_ccoshf.c: Likewise.
7255 * math/s_ccoshl.c: Likewise.
7256 * math/s_csin.c: Likewise.
7257 * math/s_csinf.c: Likewise.
7258 * math/s_csinl.c: Likewise.
7259 * math/s_csinh.c: Likewise.
7260 * math/s_csinhf.c: Likewise.
7261 * math/s_csinhl.c: Likewise.
7262 * math/libm-test.inc (ccos_test): Add more tests.
7263 (ccosh_test): Likewise.
7264 (csin_test): Likewise.
7265 (csinh_test): Likewise.
7266 * sysdeps/i386/fpu/libm-test-ulps: Update.
7267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7268
6ad13e08
L
72692012-05-19 H.J. Lu <hongjiu.lu@intel.com>
7270
f66f0ce8
L
7271 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
7272 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
7273
6ad13e08
L
7274 * sysdeps/x86_64/x32/_itoa.h: Add comment.
7275
b1d072a7
JM
72762012-05-19 Joseph Myers <joseph@codesourcery.com>
7277
7278 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
7279 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
7280 * sysdeps/powerpc/soft-fp/Versions: Likewise.
7281 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
7282 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
7283 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
7284 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
7285 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
7286 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
7287 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
7288 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
7289 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
7290 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
7291 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
7292 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
7293 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
7294 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
7295 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
7296 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
7297 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
7298 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
7299 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
7300 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
7301 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
7302 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
7303 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
7304 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
7305 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
7306 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
7307 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
7308 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
7309
9eae47cb
AJ
73102012-05-18 Andreas Jaeger <aj@suse.de>
7311
7312 * csu/.gitignore: Delete.
7313
bb07f69f
L
73142012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7315
7316 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
7317 (timex): Use __syscall_slong_t.
7318
e6bdb741
AJ
73192012-05-18 Andreas Jaeger <aj@suse.de>
7320 Carlos O'Donell <carlos_odonell@mentor.com>
7321
7322 * manual/install.texi (Configuring and compiling): Update
7323 description about files modified in the source directory.
d6c33fda 7324 * INSTALL: Regenerated.
e6bdb741 7325
1b74487e
L
73262012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7327
7328 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
7329 value. Use "or" to set return value to -1.
7330 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
7331 negate return value.
7332
a88b64b9
TMQMF
73332012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7334
7335 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
7336 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
7337 failure if the compiler has Graphite support disabled.
7338 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
7339 Likewise.
7340 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
7341 CFLAGS-memmove.c): Likewise.
7342 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
7343 Likewise.
7344
3707636e
L
73452012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7346
610b8622
L
7347 * sysdeps/x86_64/x32/_itoa.h: New file.
7348
7cd195df
L
7349 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
7350 getdents system call only if kernel and user dirents have the
7351 same d_ino and d_off.
7352
94b07d20
L
7353 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7354 LLONG_MAX != LONG_MAX.
7355 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7356 (_fitoa_word): Likewise.
7357
18298070
L
7358 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
7359 years.
7360 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
7361 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
7362 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
7363
553c7ea4
L
7364 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
7365 include <bits/wordsize.h>. Check __x86_64__ instead of
7366 __WORDSIZE.
7367 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
7368 if __x86_64__ is defined. Use anonymous union on fpstate.
7369
3707636e
L
7370 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
7371 anonymous union.
7372
b53ef01a
AS
73732012-05-18 Andreas Schwab <schwab@linux-m68k.org>
7374
37fb1dc0
AS
7375 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
7376 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
7377 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
7378 Refer to _rtld_local_ro instead of _rtld_global_ro.
7379 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
7380 Likewise.
7381 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
7382 Likewise.
7383 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
7384 Likewise.
7385 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
7386 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
7387 of _rtld_global, and rtld_progname instead of _dl_argv[0].
7388
b53ef01a
AS
7389 * sysdeps/powerpc/powerpc32/dl-machine.c
7390 (__elf_machine_runtime_setup) [PROF]: Don't reference
7391 _dl_prof_resolve.
7392
7a185db2
AJ
73932012-05-18 Andreas Jaeger <aj@suse.de>
7394
7395 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
7396 function only available for GCCs before 3.4 since GCC 3.4
7397 introduced a builtin.
7398 (lrint): Likewise.
7399 (llrintf): Likewise.
7400 (llrint): Likewise.
7401 (fmaxf): Likewise.
7402 (fmax): Likewise.
7403 (fminf): Likewise.
7404 (fmin): Likewise.
7405 (rint): Likewise.
7406 (rintf): Likewise.
7407 (nearbyint): Likewise.
7408 (nearbyintf): Likewise.
7409 (ceil): Likewise.
7410 (ceilf): Likewise.
7411 (floor): Likewise.
7412 (floorf): Likewise.
7413
3e5aef87
L
74142012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7415
428bd707
L
7416 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
7417 on both fields and cast pointer to __syscall_ulong_t.
7418
3e5aef87
L
7419 * bits/types.h (__fsword_t): New type.
7420 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
7421 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
7422 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7423 (__FSWORD_T_TYPE): Likewise.
7424 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7425 (__FSWORD_T_TYPE): Likewise.
7426 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7427 (__FSWORD_T_TYPE): Likewise.
7428 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
7429 (__FSWORD_T_TYPE): Likewise.
7430 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
7431 __SWORD_TYPE with __fsword_t.
7432 (statfs64): Likewise.
7433
1ba7c3dc
DM
74342012-05-17 David S. Miller <davem@davemloft.net>
7435
7436 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
7437
59910343
AJ
74382012-05-17 Andreas Jaeger <aj@suse.de>
7439
7440 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
7441 warning.
7442
2e4c1e9e
L
74432012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7444
7445 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
7446
de7f5ce7
AJ
74472012-05-17 Andreas Jaeger <aj@suse.de>
7448
7449 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
7450 when it is used.
7451
286abc3d
CM
74522012-05-17 Chris Metcalf <cmetcalf@tilera.com>
7453
7454 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
7455
477cc68e
L
74562012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7457
7458 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
7459 * sysdeps/x86_64/tst-mallocalign1.c: New file.
7460
1a0994f5
CD
74612012-05-17 Andreas Jaeger <aj@suse.de>
7462 Carlos O'Donell <carlos_odonell@mentor.com>
7463
7464 [BZ #14059]
7465 * sysdeps/x86_64/multiarch/init-arch.h
7466 (bit_YMM_Usable): Rename to...
7467 (bit_AVX_Usable): ... this.
7468 (bit_FMA4_Usable): New macro.
7469 (bit_XMM_state): New macro.
7470 (bit_YMM_state): New macro.
7471 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
7472 [__ASSEMBLER__] (index_AVX_Usable): ... this.
7473 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
7474 (CPUID_OSXSAVE): New macro.
7475 (CPUID_AVX): New macro.
7476 (CPUID_FMA4): New macro.
7477 (index_YMM_Usable): Rename to...
7478 (index_AVX_Usable): ... this.
7479 (HAS_AVX): Use HAS_ARCH_FEATURE.
7480 (HAS_FMA4): Likewise.
7481 (HAS_YMM_USABLE): Remove.
7482 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7483 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
7484 are present.
7485 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
7486 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
7487 * sysdeps/x86_64/multiarch/Makefile: Likewise.
7488 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
7489 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
7490
0af797de
CM
74912012-05-17 Chris Metcalf <cmetcalf@tilera.com>
7492
7493 * math/libm-test.c: Support platforms without multiple rounding modes.
7494 * math/bug-nextafter.c: Support platforms without FP exceptions.
7495 * math/bug-nexttoward.c: Likewise.
7496 * math/test-fenv.c: Likewise.
7497 * math/test-misc.c: Likewise.
7498 * stdlib/bug-getcontext.c: Likewise.
7499
e39745ff
AJ
75002012-05-17 Andreas Jaeger <aj@suse.de>
7501
7502 * manual/examples/search.c (critter_cmp): Change signature to
7503 avoid warnings.
7504 * manual/string.texi (Collation Functions): Likewise.
7505
48970aba
L
75062012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7507
7508 * bits/types.h: Fold copyright years.
7509 * bits/typesizes.h: Likewise.
7510 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
7511 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7512 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
7513 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
7514 * time/time.h: Likewise.
7515
bedee953
PP
75162012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
7517
7518 [BZ #208]
7519 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
7520 in instead of returning them. Return void.
7521 (__libc_mallinfo): Accumulate over all arenas.
7522 (__malloc_stats): Adjust for change in int_mallinfo interface.
7523
61653dfb
RM
75242012-05-16 Roland McGrath <roland@hack.frob.com>
7525
30b99d79
RM
7526 [BZ #10375]
7527 * configure.in (NM): Add AC_CHECK_TOOL for it.
7528 (libc_extra_cflags): New substituted variable.
7529 Check for -fstack-protector being used implicitly.
7530 * configure: Regenerated.
7531 * config.make.in (config-extra-cflags): New variable,
7532 gets @libc_extra_cflags@.
7533 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
7534
61653dfb
RM
7535 [BZ #10375]
7536 * configure.in: Check for _FORTIFY_SOURCE being predefined.
7537 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
7538 * configure: Regenerated.
7539 * config.make.in (CPPUNDEFS): New substituted variable.
7540 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
7541 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
7542 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
7543
661768bb
L
75442012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7545
7546 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
7547 (mq_attr): Use __syscall_slong_t.
7548
d4261567
L
75492012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7550
7551 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
7552 Check __x86_64__ instead of __WORDSIZE.
7553 (_STAT_VER_LINUX): Likewise.
7554 (stat): Check __x86_64__ instead of __WORDSIZE. Use
7555 __syscall_ulong_t and __syscall_slong_t.
7556 (stat64): Likewise.
7557
cf3ff365
L
75582012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7559
7560 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
7561
76cf3e4d
L
75622012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7563
7564 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
7565
a637753a
L
75662012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7567
7568 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
7569 __syscall_ulong_t.
7570
d5e05119
L
7571 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
7572 include <bits/wordsize.h>. Check __x86_64__ instead of
7573 __WORDSIZE.
7574 (greg_t): Use "__extension__ long long int" if __x86_64__ is
7575 defined.
7576 (mcontext_t): Replace "unsigned long" with "unsigned long long".
7577
f62ee380
L
7578 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
7579 include <bits/wordsize.h>. Check __x86_64__ instead of
7580 __WORDSIZE.
7581 (user_regs_struct): Use "__extension__ unsigned long long"
7582 instead of "unsigned long" if __x86_64__ is defined.
7583 (user): Likewise. Pad after pointer field if __ILP32__ is
7584 defined.
7585
4e124ced
JM
75862012-05-16 Joseph Myers <joseph@codesourcery.com>
7587
6a3951a0
JM
7588 * configure.in (makeinfo): Require version 4.5 or later. Allow
7589 versions 5 to 9.
7590 * configure: Regenerated.
7591 * manual/install.texi (texinfo): Increase version requirement to
7592 4.5 or later.
7593 * INSTALL: Regenerated.
7594
4e124ced
JM
7595 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
7596
953ca31a
L
75972012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7598
7599 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
7600
617aca05
L
7601 * sysdeps/x86_64/x32/ffs.c: New file.
7602
5762f7ae
L
7603 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
7604 __syscall_ulong_t.
7605 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
7606 defined. Use __syscall_ulong_t.
7607 (shminfo): Use __syscall_ulong_t.
7608 (shm_info): Likewise.
7609
a26b6856
L
7610 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
7611 __syscall_ulong_t.
7612
cb2b9ef7
L
7613 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
7614 <bits/wordsize.h>.
7615 (msgqnum_t): Use __syscall_ulong_t.
7616 (msglen_t): Likewise.
7617 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
7618 __syscall_ulong_t.
7619
34683bb0
L
7620 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
7621 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7622
84a68786
L
7623 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
7624
48baa5f1
L
7625 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
7626 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
7627
180be88b
L
7628 * sysvipc/sys/msg.h (msgbuf): Replace long int with
7629 __syscall_slong_t.
7630
5e90c8ad
L
7631 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
7632 include <bits/wordsize.h>. Check __x86_64__ instead of
7633 __WORDSIZE.
7634
23dfb58b
L
7635 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
7636 "unsigned long long int" if __x86_64__ is defined.
7637 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
7638
ce5d54b0
L
7639 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
7640 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7641 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
7642
13dc9eac
L
7643 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
7644 <stdint.h>.
7645 (GET_PC): Cast to uintptr_t first.
7646 (GET_FRAME): Likewise.
7647 (GET_STACK): Likewise.
7648
a7895d15
L
7649 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
7650 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
7651 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
7652 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
7653 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
7654 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
7655 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
7656 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
7657 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
7658 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
7659 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
7660 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
7661 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
7662 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
7663 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
7664 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
7665 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
7666 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
7667 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
7668 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
7669 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
7670 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
7671 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
7672 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
7673 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
7674 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
7675 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
7676 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
7677 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
7678
656416c9
AS
76792012-05-16 Andreas Schwab <schwab@linux-m68k.org>
7680
5bd66283
AS
7681 * Makerules (+depfiles): Also collect depfiles from .oS in
7682 $(extra-objs).
7683 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
7684 .oS, $(libnldbl-routines)).
7685
656416c9
AS
7686 * Makerules (native-compile-mkdep-flags): Define.
7687 * sunrpc/Makefile (extra-objs): Add $(addprefix
7688 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
7689 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
7690 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
7691 calling $(make-target-directory).
7692
a46f2169
L
76932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7694
7695 * bits/types.h (__snseconds_t): Removed.
7696 * time/time.h (struct timespec): Replace __snseconds_t with
7697 __syscall_slong_t.
7698 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
7699 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
7700 Likewise.
7701 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7702 (__SNSECONDS_T_TYPE): Likewise.
7703 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7704 (__SNSECONDS_T_TYPE): Likewise.
7705 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7706 (__SNSECONDS_T_TYPE): Likewise.
7707
6af6528b
L
77082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7709
7710 * sysdeps/mach/hurd/bits/typesizes.h
7711 (__SYSCALL_SLONG_TYPE): New macro.
7712 (__SYSCALL_ULONG_TYPE): Likewise.
7713
de986b56
L
77142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7715
7716 * bits/types.h (__syscall_slong_t): New type.
7717 (__syscall_ulong_t): Likewise.
7718
7719 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
7720 (__SYSCALL_ULONG_TYPE): Likewise.
7721 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7722 (__SYSCALL_SLONG_TYPE): Likewise.
7723 (__SYSCALL_ULONG_TYPE): Likewise.
7724 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7725 (__SYSCALL_SLONG_TYPE): Likewise.
7726 (__SYSCALL_ULONG_TYPE): Likewise.
7727 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7728 (__SYSCALL_SLONG_TYPE): Likewise.
7729 (__SYSCALL_ULONG_TYPE): Likewise.
7730
85736dc7
L
77312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7732
7733 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
7734 Add sigaltstack-offsets.sym.
7735 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
7736 <sigaltstack-offsets.h>.
7737 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
7738 longjmp_msg pointer.
7739 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
7740 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
7741 signal stack.
7742 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
7743
cc03b296
JM
77442012-05-15 Joseph Myers <joseph@codesourcery.com>
7745
a9538892
JM
7746 * elf/stackguard-macros.h: Remove file.
7747 * sysdeps/generic/stackguard-macros.h: New file.
7748 * sysdeps/i386/stackguard-macros.h: Likewise.
7749 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
7750 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
7751 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
7752 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
7753 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
7754 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
7755 * sysdeps/x86_64/stackguard-macros.h: Likewise.
7756 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
7757 <elf/stackguard-macros.h>.
7758
cc03b296
JM
7759 [BZ #14109]
7760 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
7761 __aligned__ in attribute.
7762 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
7763 (gregset_t): Likewise.
7764
93171016
L
77652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7766
7767 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
7768 * sysdeps/x86_64/64/Implies-after: Here. New file.
7769 * sysdeps/x86_64/x32/Implies-after: New file.
7770
d86813a0
L
77712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7772
7773 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
7774 and access return value for _dl_profile_fixup. Use R10_LP to
7775 load frame size.
7776
2953ec75
L
77772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7778
7779 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
7780
3b550e9e
L
77812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7782
7783 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
7784 * sysdeps/x86_64/x32/sysdep.h: New file.
7785
eda41706
L
77862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7787
7788 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
7789 * sysdeps/x86_64/setjmp.S: Likewise.
7790
9ea01d93
AZ
77912012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7792
7793 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
7794 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
7795 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
7796 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
7797 remove unused global constant.
7798
02a91938
CM
77992012-05-15 Chris Metcalf <cmetcalf@tilera.com>
7800
7801 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
7802 include of <not-cancel.h>.
7803
6540185f
RM
78042012-05-15 Roland McGrath <roland@hack.frob.com>
7805
7806 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
7807
509072a0
AJ
78082012-05-15 Jeff Law <law@redhat.com>
7809 Andreas Jaeger <aj@suse.de>
7810
7811 [BZ #13594]
7812 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
7813 out from...
7814 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
7815 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
7816 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
7817 code changing __hst_map_handle.map.
7818
ba75122d
RM
78192012-05-15 Roland McGrath <roland@hack.frob.com>
7820
7821 * configure.in (sysnames): Look for Implies-before and Implies-after
7822 files.
7823 * configure: Regenerated.
7824
890d8bd8
L
78252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7826
7827 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
7828 8-byte data alignment with LP_SIZE alignment.
7829
f6ee6623
L
78302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7831
7832 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
7833 into R10_LP.
7834
ea2626f6
L
78352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7836
7837 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
7838
085f715e
L
78392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7840
7841 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
7842 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
7843 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
7844 Likewise.
7845 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
7846
be8498fc
L
78472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7848
7849 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
7850 (stackinfo_sub_sp): Likewise.
7851
70bc83b9
L
78522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7853
7854 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
7855 RAX_LP.
7856
9bc0b730
L
78572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7858
7859 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
7860 into R*_LP.
7861
6d2850e7
L
78622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7863
7864 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
7865 sizes into R*_LP.
7866
3cb84561
L
78672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7868
7869 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
7870
54e2ed81
L
78712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7872
7873 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
7874 into R11_LP and load __x86_64_shared_cache_size_half into
7875 R8_LP.
7876
8a17f349
L
78772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7878
7879 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
7880 R8_LP.
7881
777b1eea
AZ
78822012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7883
7884 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
7885 logb for POWER7.
7886 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
7887 logbf for POWER7.
7888 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
7889 logbl for POWER7.
7890 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
7891 powerpc32/power7/fpu/s_logb.c via #include.
7892 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
7893 powerpc32/power7/fpu/s_logbf.c via #include.
7894 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
7895 powerpc32/power7/fpu/s_logbl.c via #include.
7896
d20d4ac2
JM
78972012-05-15 Joseph Myers <joseph@codesourcery.com>
7898
7899 * README.libm: Remove file.
7900
6cdef1ab
L
79012012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7902
7903 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
7904 count for x32. Use R*_LP and omit operand-size suffix.
7905
0b254d8f
L
79062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7907
7908 * shlib-versions: Move x86_64-.*-linux.* entries to ...
7909 * sysdeps/x86_64/64/shlib-versions: Here. New file.
7910 * sysdeps/x86_64/x32/shlib-versions: New file.
7911
ceb809dc
RM
79122012-05-14 Roland McGrath <roland@hack.frob.com>
7913
7914 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
7915 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
7916 Use _dl_fatal_printf instead.
7917
37f1abd4
JM
79182012-05-14 Joseph Myers <joseph@codesourcery.com>
7919
7920 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
7921 set if not set by the user. Do not allow for being unset.
7922 * sysdeps/unix/sysv/linux/configure: Regenerated.
7923
11de3a33
L
79242012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7925
7926 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
7927 the `q' suffix from lea and replace .quad with ASM_ADDR.
7928
e02f153a
L
79292012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7930
7931 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
7932 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
7933 instead of $17.
7934 (PTR_DEMANGLE): Likewise.
7935
520ae0fd
L
79362012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7937
7938 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
7939 (LP_OP): Likewise.
7940 (ASM_ADDR): Likewise.
7941 (RAX_LP): Likewise.
7942 (RBP_LP): Likewise.
7943 (RBX_LP): Likewise.
7944 (RCX_LP): Likewise.
7945 (RDI_LP): Likewise.
7946 (RSI_LP): Likewise.
7947 (RSP_LP): Likewise.
7948 (R8_LP): Likewise.
7949 (R9_LP): Likewise.
7950 (R10_LP): Likewise.
7951 (R10_LP): Likewise.
7952 (R11_LP): Likewise.
7953 (R12_LP): Likewise.
7954 (R13_LP): Likewise.
7955 (R14_LP): Likewise.
7956 (R15_LP): Likewise.
7957
b985be81
L
79582012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7959
7960 * sysdeps/x86_64/x32/dl-machine.h: New file.
7961
6a4888ff
AJ
79622012-05-14 Andreas Jaeger <aj@suse.de>
7963
7964 * manual/Makefile (subdir): Remove export of subdir.
7965 (all): Remove target.
7966 (.PHONY): Remove all from list.
7967 (mkinstalldirs): Remove.
7968 (.PHONY): Remove installdirs from list.
7969 ($(inst_infodir)/libc.info): Use make-target-directory.
7970 (installdirs): Remove.
7971 (subdir_%): Remove.
7972 (glibc-targets): Remove.
7973 (lib): Remove.
7974 (stubs): Remove.
7975 ($(objpfx)stubs ../po/manual.pot): Remove.
7976 ($(objpfx)stamp%): Remove.
7977 (make-target-directory): Remove.
7978 (subdir_install): Remove.
7979 (routines): Remove.
7980 (aux): Remove.
7981 (sources): Remove.
7982 (objects): Remove.
7983 (headers): Remove.
7984
7985 [BZ #13750]
7986 * manual/.gitignore: Remove, it's not needed anymore.
7987 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
7988 all files in it.
7989 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
7990 directory.
7991 (texis): Renamed to $(objpfx)texis.
7992 (texis-path): New, contains path to generated files.
7993 (chapters.%): Use texis-path for complete path, add extra argument
7994 libc-texinfo.sh.
7995 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
7996 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
7997 (summary,texi, stamp-summary): Use complete path of
7998 files. Generate files in build dir.
7999 (dir-add.texi): Build in build dir.
8000 (libm-err.texi,stamp-libm-err): Likewise.
8001 (version.texi, stamp-version): Likewise.
8002 (.%c.texi): Likewise.
8003 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
8004 (mostlyclean): Remove target.
8005 (realclean): Remove target.
8006 (generated): Add new variable with contents from mostlyclean and
8007 realclean, remove entries duplicated in common-mostlyclean, add
8008 stamp-libm-err and stamp-version.
8009 (generated-dirs): Add libc directory.
8010 ($(inst_infodir)/libc.info): Install files from build dir.
8011
8012 * manual/install.texi (Configuring and compiling): Adjust since
8013 the info files are not part of the tar ball anymore.
8014
7ac77294
AJ
80152012-05-14 Andreas Jaeger <aj@suse.de>
8016
8017 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
8018 variable.
8019
ffb7875d
JM
80202012-05-14 Joseph Myers <joseph@codesourcery.com>
8021
8022 [BZ #13717]
8023 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8024 to 2.2.0 where earlier.
8025 * sysdeps/unix/sysv/linux/configure: Regenerated.
8026 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
8027 Remove conditional code.
8028 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
8029 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
8030 Remove conditional code.
8031 [!__NR_lchown]: Likewise.
8032 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8033 [__NR_lchown]: Likewise.
8034 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
8035 comment referencing __ASSUME_LCHOWN_SYSCALL.
8036 * sysdeps/unix/sysv/linux/i386/sigaction.c
8037 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8038 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8039 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
8040 Remove conditional code.
8041 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
8042 (__protocol_available): Remove #if 0 code.
8043 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
8044 conditional code.
8045 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
8046 * sysdeps/unix/sysv/linux/kernel-features.h
8047 (__ASSUME_GETCWD_SYSCALL): Don't define.
8048 (__ASSUME_REALTIME_SIGNALS): Likewise.
8049 (__ASSUME_PREAD_SYSCALL): Likewise.
8050 (__ASSUME_PWRITE_SYSCALL): Likewise.
8051 (__ASSUME_POLL_SYSCALL): Likewise.
8052 (__ASSUME_LCHOWN_SYSCALL): Likewise.
8053 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
8054 non-SPARC.
8055 (__ASSUME_SIOCGIFNAME): Don't define.
8056 (__ASSUME_MSG_NOSIGNAL): Likewise.
8057 (__ASSUME_SENDFILE): Define unconditionally.
8058 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
8059 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
8060 conditional code.
8061 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
8062 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
8063 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8064 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8065 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
8066 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8067 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
8069 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8070 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8072 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8073 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
8075 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8076 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
8078 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8079 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
8081 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8082 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
8084 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8085 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
8087 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8088 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
8090 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8091 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8092 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
8093 Remove conditional code.
8094 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8095 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8096 Remove conditional code.
8097 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8098 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
8099 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
8100 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8101 Remove conditional code.
8102 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8103 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
8104 Remove conditional code.
8105 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8106 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
8107 Remove conditional code.
8108 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8109 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8110 Remove conditional code.
8111 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8112 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8113 Remove conditional code.
8114 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8115 * sysdeps/unix/sysv/linux/sh/pwrite64.c
8116 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8117 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8118 * sysdeps/unix/sysv/linux/sigaction.c
8119 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8120 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8121 * sysdeps/unix/sysv/linux/sigpending.c
8122 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8123 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8124 * sysdeps/unix/sysv/linux/sigprocmask.c
8125 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8126 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8127 * sysdeps/unix/sysv/linux/sigsuspend.c
8128 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8129 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8130 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8131 (__libc_missing_rt_sigs): Remove.
8132 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
8133 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
8134 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
8135 Remove conditional code.
8136 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
8137 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
8138 return 1.
8139 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
8140 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
8141 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
8142 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
8143
1bfb7291
AJ
81442012-05-14 Andreas Jaeger <aj@suse.de>
8145
caae5a81
AJ
8146 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
8147 it's not used in glibc.
8148 (__coshm1): Likewise.
8149 (__acosh1p): Likewise.
8150 (__sgn): Likewise.
8151
1bfb7291
AJ
8152 * manual/string.texi (Copying and Concatenation): Add missing
8153 variable in concat example.
8154 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
8155
c044d724
L
81562012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8157
144c5467 8158 [BZ #14103]
c044d724
L
8159 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
8160 __builtin_clzl with __builtin_clzll.
8161
2523c62b
L
81622012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8163
8164 [BZ #14104]
8165 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
8166 libc_freeres_ptr.
8167
d7bb4c42
LD
81682012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8169
8170 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
8171 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
8172 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
8173 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
8174
9dc4e1fb
MF
81752012-05-14 Mike Frysinger <vapier@gentoo.org>
8176
8177 * NEWS: Update ia64 info.
8178
c7df0112
AS
81792012-05-12 Andreas Schwab <schwab@linux-m68k.org>
8180
8181 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
8182 used as bcopy.
8183
dc70356c
TS
81842012-05-12 Thomas Schwinge <thomas@codesourcery.com>
8185
8186 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
8187 * sysdeps/unix/syscalls.list (dup3): Likewise.
8188 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
8189 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
8190
9fb1a21f
L
81912012-05-11 H.J. Lu <hongjiu.lu@intel.com>
8192
8193 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
8194 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
8195
4822a2a5
L
81962012-05-11 H.J. Lu <hongjiu.lu@intel.com>
8197
8198 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
8199 thread pointer.
8200 (TLS_IE): Use mov/add instead of movq/addq to load thread
8201 pointer.
8202 (TLS_GD_PREFIX): New.
8203 (TLS_GD): Use it.
8204
842b81d6
DM
82052012-05-11 David S. Miller <davem@davemloft.net>
8206
8207 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
8208 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
8209 (_FPU_SETCW): Likewise.
8210
1cf463cd
L
82112012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8212
8213 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
8214 is 32-byte aligned.
8215
60cc4a18
AS
82162012-05-11 Andreas Schwab <schwab@linux-m68k.org>
8217
8218 [BZ #11837]
8219 * iconvdata/gb18030.c: Update tables.
8220 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
8221 characters specially.
8222 (BODY for TO_LOOP): Add encoding of missing ranges.
8223
febb44a4
TS
82242012-05-11 Thomas Schwinge <thomas@codesourcery.com>
8225
8226 [BZ #13673]
8227 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
8228 * sysdeps/mach/hurd/dup3.c: Likewise.
8229 * sysdeps/mach/hurd/readlinkat.c: Likewise.
8230 * sysdeps/powerpc/memmove.c:: Likewise.
8231
0a10fb9e
L
82322012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8233
8234 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
8235 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
8236
df8a552f
L
82372012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8238
8239 * elf/elf.h (R_X86_64_RELATIVE64): New.
8240 (R_X86_64_NUM): Updated.
8241 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8242 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
8243 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
8244 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
8245 tst-quad1pie tst-quad2pie
8246 (modules-names): Add tst-quadmod1 tst-quadmod2.
8247 ($(objpfx)tst-quad1): New dependency.
8248 ($(objpfx)tst-quad2): Likewise.
8249 ($(objpfx)tst-quad1pie): Likewise.
8250 ($(objpfx)tst-quad2pie): Likewise.
8251 * sysdeps/x86_64/tst-quad1.c: New file.
8252 * sysdeps/x86_64/tst-quad1pie.c: New file.
8253 * sysdeps/x86_64/tst-quad2.c: Likewise.
8254 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
8255 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
8256 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
8257 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
8258 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
8259
f34d6f84
ST
82602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8261
f42d41d1
ST
8262 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
8263 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
8264 * streams/stropts.h (t_scalar_t): Define type.
8265
3c3571fc
ST
8266 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
8267 (_PATH_PRESERVE): Set to "/var/lib".
8268 (_PATH_RWHODIR): Set to "/var/spool/rwho".
8269
61f06bd3
ST
8270 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
8271 instead of int.
8272
918d4d71
ST
8273 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
8274 if __dir_mkfile succeeded.
8275
f34d6f84
ST
8276 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
8277 checking for _hurd_dtablesize. Unlock it right after having
8278 finished _hurd_dtable allocation.
8279
10589b4a
TS
82802012-05-10 Thomas Schwinge <thomas@schwinge.name>
8281
674cdbc7
TS
8282 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
8283 * sysdeps/mach/hurd/configure: Regenerated.
8284 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
8285 special-casing to...
8286 * sysdeps/gnu/configure.in: ... this new file.
8287 * sysdeps/unix/sysv/linux/configure: Regenerated.
8288 * sysdeps/gnu/configure: New generated file.
8289
8e41b99f
TS
8290 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
8291 for Linux: use nsec instead of usec, as well as:
8292 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
8293 members of type struct timespec.
8294 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
8295 New macros.
8296 (struct stat64): Likewise.
8297 (_STATBUF_ST_NSEC): New macro.
8298 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
8299
10589b4a
TS
8300 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
8301 __strtoul_internal rather than strtoul.
8302
63643c85
PT
83032012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8304
8305 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
8306 and reject them.
8307
3faebe6a
ST
83082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8309
8310 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
8311 which preserves existing values.
8312 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
8313
c6474b07
PT
83142012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8315
8316 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
8317 TIMEOUT values. Return EINVAL for NFDS values either negative or
8318 greater than FD_SETSIZE.
8319
1043890b
ST
83202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8321
8322 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
8323 allocated, call __vm_protect to finish enabling the existing space, and
8324 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
8325 allocate the remainder.
8326
37ed8b9b
PT
83272012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8328
8329 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
8330 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
8331
db653660
ST
83322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8333
37ed8b9b
PT
8334 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
8335 sysdeps/mach/hurd/readlink.c.
b29d4053 8336
db653660
ST
8337 * posix/tst-sysconf.c (posix_options): Only use
8338 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
8339 _POSIX_SYNCHRONIZED_IO when they are defined
8340 * sysdeps/mach/hurd/bits/posix_opt.h:
8341 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
8342 (_XOPEN_REALTIME): Undefine macro.
8343 (_XOPEN_REALTIME_THREADS): Undefine macro.
8344 (_XOPEN_SHM): Undefine macro.
8345 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
8346 macro to -1.
8347 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
8348 macro to -1.
8349 (_POSIX_ASYNC_IO): Undefine macro.
8350 (_POSIX_PRIORITIZED_IO): Undefine macro.
8351 (_POSIX_SPIN_LOCKS): Define macro to -1.
8352
ee16e894
ST
8353 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
8354 SA_NODEFER, SA_RESETHAND.
8355 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
8356 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
8357 F_DUPFD_CLOEXEC.
8358
6103ae3b
TS
83592012-05-10 Thomas Schwinge <thomas@schwinge.name>
8360
8361 * elf/Makefile (pldd-modules): Define unconditionally.
8362
80b4e5f3
TS
83632012-05-10 Thomas Schwinge <thomas@schwinge.name>
8364
8365 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
8366
edadcbd6
ST
83672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8368
8369 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
8370 Return ENOENT when name is empty.
8371 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
8372
80694780
TS
83732012-05-10 Thomas Schwinge <thomas@schwinge.name>
8374
1792c087
TS
8375 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
8376
80694780
TS
8377 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
8378
6b645f0d
ST
83792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8380
80694780
TS
8381 Fix mlock in all cases except non-readable pages.
8382 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
8383 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 8384
6b645f0d
ST
8385 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
8386 (__mkdir): When path is `/', just fail with EEXIST.
8387 * sysdeps/mach/hurd/mkdirat.c: Likewise.
8388
e468f8a3
TS
83892012-05-10 Thomas Schwinge <thomas@schwinge.name>
8390
8391 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
8392 <sys/uio.h> (for writev).
8393 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
8394 and <sys/param.h> (for MIN).
8395
a4186cff
PT
83962012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8397
8398 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
8399 REQUESTED_TIME. Properly set the remaining time and return EINTR
8400 if interrupted.
8401
510bbf14
TS
84022012-05-10 Thomas Schwinge <thomas@schwinge.name>
8403
8404 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
8405 Depend on against $(link-rpcuserlibs).
8406
5d5722e8
ST
84072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8408
a4186cff
PT
8409 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
8410 (__libc_stack_end): Do not use attribute_relro.
8411 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
8412 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 8413 to libthread-provided value.
a4186cff
PT
8414 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
8415 attribute_relro.
5d5722e8 8416
37233df9
TS
84172012-05-10 Thomas Schwinge <thomas@schwinge.name>
8418
be971a2b
TS
8419 [BZ #3748]
8420 * bits/libc-lock.h (__libc_once_get): New macro.
8421 * sysdeps/mach/bits/libc-lock.h: Likewise.
8422 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
8423 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
8424 instead of using implementation details.
8425
37233df9
TS
8426 * libio/fileops.c: Unconditionally include <kernel-features.h>.
8427 * libio/freopen.c: Likewise.
8428 * libio/freopen64.c: Likewise.
8429 * misc/syslog.c: Likewise.
8430 * nscd/connections.c: Likewise.
8431 * nscd/netgroupcache.c: Likewise.
8432 * sysdeps/posix/getcwd.c: Likewise.
8433
38de94a5
RM
84342012-05-10 Roland McGrath <roland@hack.frob.com>
8435
8436 * math/w_ilogbf.c: Add #include <limits.h>.
8437
67530489
ST
84382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8439
a4186cff 8440 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
8441 path instead of returning without unlocking.
8442
67530489
ST
8443 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
8444 immediate-write ioctls.
8445 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
8446
5aa3a74a
TS
84472012-05-10 Thomas Schwinge <thomas@schwinge.name>
8448
18bad2ae
TS
8449 * sysdeps/mach/hurd/i386/init-first.c (init): Use
8450 __builtin_frame_address instead of making assumptions about the
8451 location of the return address relative to DATA. Force early load of
8452 the return address.
8453 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
8454 __builtin_frame_address.
8455
5aa3a74a
TS
8456 dup3 for GNU Hurd.
8457 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
8458 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
8459 implement dup3 and do some further code clean-ups.
8460 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
8461 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
8462
ecd0de9a
ST
84632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8464
cd9fa985
ST
8465 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
8466
a4186cff
PT
8467 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
8468 HURD_CRITICAL_END around holding _hurd_dtable_lock.
8469 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
8470 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
8471 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
8472 d->port.lock.
802ca5a5 8473
a4186cff
PT
8474 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
8475 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
8476 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 8477
bcf55240
TS
84782012-05-10 Thomas Schwinge <thomas@schwinge.name>
8479
6960eb42
TS
8480 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
8481 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
8482 definitions.
8483
eb43375f
TS
8484 accept4 for GNU Hurd.
8485 * include/sys/socket.h (__libc_accept4): New prototype.
8486 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
8487 to implement __libc_accept4.
8488 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
8489 __libc_accept4.
8490 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
8491
bcf55240
TS
8492 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
8493 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
8494 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
8495 signal-defines.sym.
8496
6178c55b
ST
84972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8498
a4186cff 8499 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 8500
6f080c2f
TS
85012012-05-10 Thomas Schwinge <thomas@schwinge.name>
8502
8503 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
8504 assertion on O_CLOEXEC flag.
8505 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
8506 * hurd/intern-fd.c: Likewise.
8507 * hurd/port2fd.c: Likewise.
8508
bcfe3a54
ST
85092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8510
8511 [BZ #3906]
8512 * bits/in.h (IPV6_PKTINFO): Define new macro.
8513 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
8514
89c9aa49
AZ
85152012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8516
8517 [BZ #13954]
8518 [BZ #13955]
8519 [BZ #13956]
8520 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
8521 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8522 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
8523 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
8524 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8525 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
8526 * math/libm-test.inc (logb_test) : Additional logb tests.
8527
021db4be
AJ
85282012-05-09 Andreas Schwab <schwab@linux-m68k.org>
8529 Andreas Jaeger <aj@suse.de>
8530
8531 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
8532 * configure: Regenerated.
8533 * config.h.in (LINK_OBSOLETE_RPC): New macro.
8534 * config.make.in (link-obsolete-rpc): New substituted variable.
8535 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
8536 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
8537 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
8538 (shared-only-routines): Don't set it under [link-obsolete-rpc],
8539 so that libc.a contains the symbols.
8540 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
8541 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
8542 * sunrpc/auth_none.c: Likewise.
8543 * sunrpc/auth_unix.c: Likewise.
8544 * sunrpc/authdes_prot.c: Likewise.
8545 * sunrpc/authuxprot.c: Likewise.
8546 * sunrpc/clnt_gen.c: Likewise.
8547 * sunrpc/clnt_perr.c: Likewise.
8548 * sunrpc/clnt_raw.c: Likewise.
8549 * sunrpc/clnt_simp.c: Likewise.
8550 * sunrpc/clnt_tcp.c: Likewise.
8551 * sunrpc/clnt_udp.c: Likewise.
8552 * sunrpc/clnt_unix.c: Likewise.
8553 * sunrpc/des_crypt.c: Likewise.
8554 * sunrpc/des_soft.c: Likewise.
8555 * sunrpc/get_myaddr.c: Likewise.
8556 * sunrpc/key_call.c: Likewise.
8557 * sunrpc/key_prot.c: Likewise.
8558 * sunrpc/netname.c: Likewise.
8559 * sunrpc/pm_getmaps.c: Likewise.
8560 * sunrpc/pm_getport.c: Likewise.
8561 * sunrpc/pmap_clnt.c: Likewise.
8562 * sunrpc/pmap_prot.c: Likewise.
8563 * sunrpc/pmap_prot2.c: Likewise.
8564 * sunrpc/pmap_rmt.c: Likewise.
8565 * sunrpc/publickey.c: Likewise.
8566 * sunrpc/rpc_cmsg.c: Likewise.
8567 * sunrpc/rpc_common.c: Likewise.
8568 * sunrpc/rpc_dtable.c: Likewise.
8569 * sunrpc/rpc_prot.c: Likewise.
8570 * sunrpc/rpc_thread.c: Likewise.
8571 * sunrpc/rtime.c: Likewise.
8572 * sunrpc/svc.c: Likewise.
8573 * sunrpc/svc_auth.c: Likewise.
8574 * sunrpc/svc_raw.c: Likewise.
8575 * sunrpc/svc_run.c: Likewise.
8576 * sunrpc/svc_tcp.c: Likewise.
8577 * sunrpc/svc_udp.c: Likewise.
8578 * sunrpc/svc_unix.c: Likewise.
8579 * sunrpc/svcauth_des.c: Likewise.
8580 * sunrpc/xcrypt.c: Likewise.
8581 * sunrpc/xdr.c: Likewise.
8582 * sunrpc/xdr_array.c: Likewise.
8583 * sunrpc/xdr_float.c: Likewise.
8584 * sunrpc/xdr_intXX_t.c: Likewise.
8585 * sunrpc/xdr_mem.c: Likewise.
8586 * sunrpc/xdr_rec.c: Likewise.
8587 * sunrpc/xdr_ref.c: Likewise.
8588 * sunrpc/xdr_sizeof.c: Likewise.
8589 * sunrpc/xdr_stdio.c: Likewise.
8590
b5c086a2
RM
85912012-05-10 Roland McGrath <roland@hack.frob.com>
8592
8593 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
8594 change. Update copyright years.
8595
6d74dd09
JM
85962012-05-10 Joseph Myers <joseph@codesourcery.com>
8597
8598 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
8599
28e72501
MK
86002012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
8601 Joseph Myers <joseph@codesourcery.com>
8602 Paul Pluzhnikov <ppluzhnikov@google.com>
8603
8604 [BZ #14012]
8605 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
8606 requiring rpcgen.
8607 [cross-compiling] (extra-libs): Likewise.
8608 [cross-compiling] (extra-libs-others): Likewise.
8609 [cross-compiling] (librpcsvc-routines): Likewise.
8610 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
8611 [cross-compiling] (omit-deps): Likewise.
8612 (sunrpc-CPPFLAGS): New variable.
8613 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
8614 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
8615 (cross-rpcgen-objs): New variable.
8616 (extra-objs): Append $(cross-rpcgen-objs).
8617 ($(cross-rpcgen-objs)): New rule.
8618 ($(objpfx)cross-rpcgen): Likewise.
8619 (rpcgen-cmd): Define to use $(built-program-file). Expand
8620 comment.
8621 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
8622 ($(objpfx)x%.stmp): Likewise.
8623 * sunrpc/proto.h [IS_IN_build] (_): Define.
8624 [IS_IN_build] (_libc_intl_domainname): Likewise.
8625
c8c59454
L
86262012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8627
8628 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
8629 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
8630 and R_X86_64_TPOFF64.
8631
6f27cd16
JM
86322012-05-10 Joseph Myers <joseph@codesourcery.com>
8633
8634 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
8635 sysdeps/unix/sysv/syscalls.list.
8636 (stime): Likewise.
8637 (utime): Likewise.
8638 * sysdeps/unix/sysv/syscalls.list: Remove file.
8639
02467e1c
PE
86402012-05-10 Paul Eggert <eggert@cs.ucla.edu>
8641
8642 [BZ #3440]
8643 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
8644 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
8645 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
8646 (__LC_IDENTIFICATION): Make these macros useful in #if
8647 expressions, as required by C99.
8648
da392631
AS
86492012-05-10 Andreas Schwab <schwab@linux-m68k.org>
8650
8651 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
8652 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
8653 after this.
8654
8115f29b
L
86552012-05-09 H.J. Lu <hongjiu.lu@intel.com>
8656
8657 * stdlib/longlong.h: Updated from GCC.
8658
bdd74070
AJ
86592012-05-09 Andreas Jaeger <aj@suse.de>
8660
edfe0dbe
AJ
8661 * nscd/nscd.c (run_modes): Make named enum, reorder so that
8662 default is first entry.
8663 (run_mode): Set type.
8664 (main): Remove informal message about syslog.
8665 (options): Fix typo.
8666
bcfe3a54
ST
8667 [BZ #14053]
8668 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 8669 to asm.
bcfe3a54
ST
8670 (lrint): Likewise.
8671 (llrintf): Likewise.
8672 (llrint): Likewise.
8673 (rint): Likewise.
8674 (rintf): Likewise.
8675 (nearbyint): Likewise.
8676 (nearbyintf): Likewise.
bdd74070 8677
91d8d69e
AJ
86782012-05-09 Andreas Jaeger <aj@suse.de>
8679 Pedro Alves <palves@redhat.com>
8680
8681 * nscd/nscd.c (run_mode): Use enum.
8682 (main): Cleanup coding style issue.
8683
bb90b80b
AJ
86842012-05-09 Alexandre Oliva <aoliva@redhat.com>
8685 Andreas Jaeger <aj@suse.de>
8686
bcfe3a54
ST
8687 * nscd/nscd.c (go_background): Replaced with...
8688 (run_mode): ... this.
bb90b80b 8689 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
8690 (options): Add -F --foreground.
8691 (main): Implement it.
8692 (parse_opt): Parse it.
bb90b80b 8693
1a4b75a1
AJ
86942012-05-09 Andreas Jaeger <aj@suse.de>
8695
8696 [BZ #14083]
8697 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
8698 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
8699 -Wconversion warning.
8700 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
8701 Likewise.
8702
b1cc2472
JM
87032012-05-09 Joseph Myers <joseph@codesourcery.com>
8704
8705 * conform/data/locale.h-data (NULL): Use macro-constant. Require
8706 == 0.
8707 (LC_ALL): Use macro-int-constant.
8708 (LC_COLLATE): Likewise.
8709 (LC_CTYPE): Likewise.
8710 (LC_MESSAGES): Likewise.
8711 (LC_MONETARY): Likewise.
8712 (LC_NUMERIC): Likewise.
8713 (LC_TIME): Likewise.
8714 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
8715 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
8716 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8717 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
8718 Specify type.
8719 [C99-based standards] (float_t): Expect type.
8720 [C99-based standards] (double_t): Expect type.
8721 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
8722 type.
8723 [C99-based standards] (HUGE_VALL): Likewise.
8724 [C99-based standards] (INFINITY): Likewise.
8725 [C99-based standards] (NAN): Likewise.
8726 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
8727 [C99-based standards] (FP_NAN): Likewise.
8728 [C99-based standards] (FP_NORMAL): Likewise.
8729 [C99-based standards] (FP_SUBNORMAL): Likewise.
8730 [C99-based standards] (FP_ZERO): Likewise.
8731 [C99-based standards] (FP_FAST_FMA): Use
8732 optional-macro-int-constant. Specify type. Require == 1.
8733 [C99-based standards] (FP_FAST_FMAF): Likewise.
8734 [C99-based standards] (FP_FAST_FMAL): Likewise.
8735 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
8736 [C99-based standards] (FP_ILOGBNAN): Likewise.
8737 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
8738 Specify type.
8739 [C99-based standards] (MATH_ERREXCEPT): Likewise.
8740 [C99-based standards] (math_errhandling): Specify type.
8741 [ISO99 || ISO11] (signgam): Do not allow.
8742 [non-C99-based standards] (copysignf): Do not allow.
8743 [non-C99-based standards] (exp2f): Likewise.
8744 [non-C99-based standards] (log2f): Likewise.
8745 [non-C99-based standards] (modff): Allow.
8746 [non-C99-based standards] (erff): Do not allow.
8747 [non-C99-based standards] (erfcf): Likewise.
8748 [non-C99-based standards] (gammaf): Likewise.
8749 [non-C99-based standards] (hypotf): Likewise.
8750 [non-C99-based standards] (j0f): Likewise.
8751 [non-C99-based standards] (j1f): Likewise.
8752 [non-C99-based standards] (jnf): Likewise.
8753 [non-C99-based standards] (lgammaf): Likewise.
8754 [non-C99-based standards] (tgammaf): Likewise.
8755 [non-C99-based standards] (y0f): Likewise.
8756 [non-C99-based standards] (y1f): Likewise.
8757 [non-C99-based standards] (ynf): Likewise.
8758 [non-C99-based standards] (isnanf): Likewise.
8759 [non-C99-based standards] (acoshf): Likewise.
8760 [non-C99-based standards] (asinhf): Likewise.
8761 [non-C99-based standards] (atanhf): Likewise.
8762 [non-C99-based standards] (cbrtf): Likewise.
8763 [non-C99-based standards] (expm1f): Likewise.
8764 [non-C99-based standards] (ilogbf): Likewise.
8765 [non-C99-based standards] (log1pf): Likewise.
8766 [non-C99-based standards] (logbf): Likewise.
8767 [non-C99-based standards] (nextafterf): Likewise.
8768 [non-C99-based standards] (remainderf): Likewise.
8769 [non-C99-based standards] (rintf): Likewise.
8770 [non-C99-based standards] (scalbf): Likewise.
8771 [non-C99-based standards] (copysignl): Likewise.
8772 [non-C99-based standards] (exp2l): Likewise.
8773 [non-C99-based standards] (log2l): Likewise.
8774 [non-C99-based standards] (modfl): Allow.
8775 [non-C99-based standards] (erfl): Do not allow.
8776 [non-C99-based standards] (erfcl): Likewise.
8777 [non-C99-based standards] (gammal): Likewise.
8778 [non-C99-based standards] (hypotl): Likewise.
8779 [non-C99-based standards] (j0l): Likewise.
8780 [non-C99-based standards] (j1l): Likewise.
8781 [non-C99-based standards] (jnl): Likewise.
8782 [non-C99-based standards] (lgammal): Likewise.
8783 [non-C99-based standards] (tgammal): Likewise.
8784 [non-C99-based standards] (y0l): Likewise.
8785 [non-C99-based standards] (y1l): Likewise.
8786 [non-C99-based standards] (ynl): Likewise.
8787 [non-C99-based standards] (isnanl): Likewise.
8788 [non-C99-based standards] (acoshl): Likewise.
8789 [non-C99-based standards] (asinhl): Likewise.
8790 [non-C99-based standards] (atanhl): Likewise.
8791 [non-C99-based standards] (cbrtl): Likewise.
8792 [non-C99-based standards] (expm1l): Likewise.
8793 [non-C99-based standards] (ilogbl): Likewise.
8794 [non-C99-based standards] (log1pl): Likewise.
8795 [non-C99-based standards] (logbl): Likewise.
8796 [non-C99-based standards] (nextafterl): Likewise.
8797 [non-C99-based standards] (remainderl): Likewise.
8798 [non-C99-based standards] (rintl): Likewise.
8799 [non-C99-based standards] (scalbl): Likewise.
8800 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8801 [non-C99-based standards] (FP_*): Do not allow.
8802 [C99-based standards] (FP_*): Change to
8803 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
8804 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
8805 allow.
8806 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
8807 (SIG_ERR): Likewise.
8808 [X/Open-based standards] (SIG_HOLD): Likewise.
8809 (SIG_IGN): Likewise.
8810 (SIGABRT): Use macro-int-constant. Specify type. Require
8811 positive value.
8812 (SIGFPE): Likewise.
8813 (SIGILL): Likewise.
8814 (SIGINT): Likewise.
8815 (SIGSEGV): Likewise.
8816 (SIGTER): Likewise.
8817 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
8818 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
8819 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
8820 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
8821 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
8822 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
8823 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
8824 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
8825 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
8826 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
8827 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
8828 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
8829 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
8830 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
8831 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
8832 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
8833 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
8834 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
8835 [X/Open-based standards] (SIGTRAP): Likewise.
8836 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
8837 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
8838 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
8839 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
8840 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
8841 allow.
8842
b9f1922d
IW
88432012-05-08 Ian Wienand <ianw@vmware.com>
8844
8845 [BZ #14080]
8846 * time/tzset.c (__tzset_parse_tz): Update default rules for
8847 daylight time changes in the Energy Policy Act of 2005.
8848
1db86e88
AJ
88492012-05-09 Andreas Jaeger <aj@suse.de>
8850
8851 [BZ #13983]
8852 * elf/ldconfig.c (parse_conf): Change string to make clear that
8853 ldconfig only issued a warning if ld.so.conf does not exist.
8854
dee4a4e3
DM
88552012-05-08 David S. Miller <davem@davemloft.net>
8856
ee0db190
DM
8857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
8858 movxtod instead of popping the value on the stack.
8859
dee4a4e3
DM
8860 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8861
6a43ec98
CD
88622012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
8863
8864 * config.h.in: Add HAVE_ARM_PCS_VFP.
8865
05c2c961
RMG
88662012-05-08 Roland Mc Grath <roland@hack.frob.com>
8867
bcfe3a54
ST
8868 [BZ #13979]
8869 * include/features.h: Warn if user requests __FORTIFY_SOURCE
8870 checking but the checks are disabled for any reason.
05c2c961 8871
4b30f61a
L
88722012-05-08 H.J. Lu <hongjiu.lu@intel.com>
8873
8874 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
8875 and ELF64_R_TYPE with ELFW(R_TYPE).
8876
eee2bc67
JM
88772012-05-08 Joseph Myers <joseph@codesourcery.com>
8878
7ea5391a
JM
8879 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
8880 (ulimit): Likewise.
8881
eee2bc67
JM
8882 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
8883 (settimeofday): Likewise.
8884
abb66a67
MF
88852012-05-08 Mike Frysinger <vapier@gentoo.org>
8886
8887 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
8888 a struct th_u2 inside the union, and move tu_block/tu_code into
8889 a new th_u3 union of tu_block/tu_code inside of that. Move
8890 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
8891 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
8892 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
8893 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
8894 (th_stuff): Change to th_u1.tu_stuff.
8895 (th_data): Define.
8896 (th_msg): Change to th_u1.th_u2.tu_data.
8897
7f18b530
DM
88982012-05-07 David S. Miller <davem@davemloft.net>
8899
05760585
DM
8900 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8901
7f18b530
DM
8902 [BZ #14074]
8903 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
8904 (SETUP_PIC_REG): Use it.
8905 (SETUP_PIC_REG_LEAF): Use it.
8906
495fd99f
JM
89072012-05-07 Joseph Myers <joseph@codesourcery.com>
8908
8909 [BZ #13885]
8910 [BZ #13923]
8911 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
8912 USE_AS_EXPM1L.
8913 (EXPL_FINITE): Likewise.
8914 (FLDLOG): Likewise.
8915 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
8916 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
8917 e_expl.S.
8918 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
8919 USE_AS_EXPM1L.
8920 (EXPL_FINITE): Likewise.
8921 (FLDLOG): Likewise.
8922 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
8923 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
8924 e_expl.S.
8925 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
8926 test of -max_value argument for long double.
8927 * sysdeps/i386/fpu/libm-test-ulps: Update.
8928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8929
6693d694
DM
89302012-05-06 David S. Miller <davem@davemloft.net>
8931
8932 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
8933 quad soft-float symbols whose references which are compiler
8934 generated.
8935 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
8936
6c23e11c
JM
89372012-05-06 Joseph Myers <joseph@codesourcery.com>
8938
d8b82cad
JM
8939 [BZ #13884]
8940 [BZ #13914]
8941 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
8942 USE_AS_EXP10L.
8943 (EXPL_FINITE): Likewise.
8944 (FLDLOG): Likewise.
8945 (c0): Likewise.
8946 (c1): Likewise.
8947 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
8948 Adjust comments for base varying.
8949 (__expl_finite): Change alias to EXPL_FINITE.
8950 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
8951 e_expl.S.
8952 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
8953 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
8954 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
8955 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
8956 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
8957 USE_AS_EXP10L.
8958 (EXPL_FINITE): Likewise.
8959 (FLDLOG): Likewise.
8960 (c0): Likewise.
8961 (c1): Likewise.
8962 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
8963 Adjust comments for base varying.
8964 (__expl_finite): Change alias to EXPL_FINITE.
8965 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
8966 tests for bugs.
8967 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8968
6c23e11c
JM
8969 [BZ #14064]
8970 * math/libm-test.inc (check_float_internal): Correct ulp
8971 calculation for subnormal expected results.
8972
29ba805c
AJ
89732012-05-06 Andreas Jaeger <aj@suse.de>
8974
8975 * Makeconfig (+math-flags): New, set to -frounding-math.
8976 (+cflags): Add +math-flags so that all of glibc gets compiled with
8977 it.
8978
8979 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
8980
7b17aeda
JM
89812012-05-05 Joseph Myers <joseph@codesourcery.com>
8982
5779f134
JM
8983 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
8984 Disable one test.
8985
41498f4d
JM
8986 [BZ #13787]
8987 [BZ #13922]
8988 [BZ #14036]
8989 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
8990 (__ieee754_expl): Allow for and saturate large arguments.
8991 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
8992 (u_threshold): Likewise.
8993 (__exp): Call __ieee754_exp before checking for overflow and
8994 underflow.
8995 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
8996 (u_threshold): Likewise.
8997 (__expf): Call __ieee754_expf before checking for overflow and
8998 underflow.
8999 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
9000 (u_threshold): Likewise.
9001 (__expl): Call __ieee754_expl before checking for overflow and
9002 underflow.
9003 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
9004 (__ieee754_expl): Allow for and saturate large arguments.
9005 * math/libm-test.inc (exp_test): Add another test. Do not allow
9006 missing overflow exception on overflow.
9007 (expm1_test): Do not allow missing overflow exception on overflow.
9008
6698b8bf
JM
9009 * sysdeps/i386/fpu/e_expl.c: Move to ...
9010 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
9011 rather than using inline asm.
9012 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
9013 * sysdeps/x86_64/fpu/e_expl.S: Copy from
9014 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
9015
7b17aeda
JM
9016 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
9017 (nice): Likewise.
9018 (poll): Likewise.
9019 (signal): Likewise.
9020 (time): Likewise.
9021 (times): Likewise.
9022
f7c85819
JM
90232012-05-04 Joseph Myers <joseph@codesourcery.com>
9024
9025 * sysdeps/unix/syscalls.list (adjtime): Add entry from
9026 sysdeps/unix/common/syscalls.list.
9027 (fchmod): Likewise.
9028 (fchown): Likewise.
9029 (ftruncate): Likewise.
9030 (getrusage): Likewise.
9031 (gettimeofday): Likewise.
9032 (setpgid): Likewise.
9033 (setregid): Likewise.
9034 (setreuid): Likewise.
9035 (sigaction): Likewise.
9036 (truncate): Likewise.
9037 (vhangup): Likewise.
9038 * sysdeps/unix/common/syscalls.list: Remove file.
9039 * sysdeps/unix/bsd/Implies: Don't include unix/common.
9040 * sysdeps/unix/sysv/linux/Implies: Likewise.
9041
336270d0
L
90422012-05-04 H.J. Lu <hongjiu.lu@intel.com>
9043
9044 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
9045 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
9046 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
9047 Moved to ...
9048 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9049 Here.
9050 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
9051 to ...
9052 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
9053 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
9054 to ...
9055 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
9056 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
9057 to ...
9058 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
9059 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
9060 to ...
9061 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
9062 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
9063 to ...
9064 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
9065 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
9066 to ...
9067 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
9068 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
9069 to ...
9070 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
9071 Here.
9072 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
9073 to ...
9074 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
9075 Here.
9076 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
9077 to ...
9078 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
9079 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
9080 Moved to ...
9081 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
9082 Here.
9083 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
9084 to ...
9085 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
9086
d128e450
JM
90872012-05-04 Joseph Myers <joseph@codesourcery.com>
9088
fa8ee516
JM
9089 * sysdeps/unix/common/bits/dirent.h: Remove file.
9090 * sysdeps/unix/common/bits/fcntl.h: Likewise.
9091
d128e450
JM
9092 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
9093 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
9094 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
9095 * sysdeps/unix/bsd/isatty.c: Likewise.
9096 * sysdeps/unix/bsd/tcdrain.c: Likewise.
9097 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
9098 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
9099
ff8faaf0 91002012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 9101
62881be4 9102 [BZ #13563]
31dc8730
AZ
9103 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
9104 long double comparison inaccuracies.
9105 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9106 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9107
6fef930c
AS
91082012-05-04 Andreas Schwab <schwab@linux-m68k.org>
9109
9110 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
9111 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
9112
8f203e6c
JM
91132012-05-04 Joseph Myers <joseph@codesourcery.com>
9114
9115 [BZ #14049]
9116 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
9117 nonzero digits before rounding a hex value.
9118 * stdlib/tst-strtod.c (tests): Add another test.
9119
5197d9c2
AK
91202012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9121
9122 * sysdeps/s390/fpu/libm-test-ulps: Update.
9123
f0c1dedf
AJ
91242012-05-03 Andreas Jaeger <aj@suse.de>
9125
9126 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
9127 does not get optimized out.
9128 (malloc_opt_barrier): New.
9129
a65ef2ae 91302012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 9131 Roland McGrath <roland@hack.frob.com>
a65ef2ae 9132
2b942cb7 9133 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 9134 intermediate file deletion.
2b942cb7 9135 (generated): Add .symlist files.
a65ef2ae 9136
54b71e02
JM
91372012-05-03 Joseph Myers <joseph@codesourcery.com>
9138
9139 [BZ #13775]
9140 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
9141 Redirect under this condition.
9142 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9143 [__USE_GNU] (__dprintf_chk): Not under this condition.
9144 [__USE_GNU] (__vdprintf_chk): Likewise.
9145 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
9146 under this condition.
9147 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9148 [__USE_XOPEN2K8] (dprintf): Define under this condition.
9149 [__USE_XOPEN2K8] (vdprintf): Likewise.
9150 [__USE_GNU] (__dprintf_chk): Not under this condition.
9151 [__USE_GNU] (__vdprintf_chk): Likewise.
9152 [__USE_GNU] (dprintf): Likewise.
9153 [__USE_GNU] (vdprintf): Likewise.
9154
d3dfcc41
RM
91552012-05-03 Roland McGrath <roland@hack.frob.com>
9156
9157 * elf/Makefile (common-generated): Set this instead of generated for
9158 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
9159 $(all-built-dso)-derived lists.
9160
7ac30cc5
AJ
91612012-05-03 Andreas Jaeger <aj@suse.de>
9162
0c51e550
AJ
9163 * sysdeps/i386/fpu/libm-test-ulps: Update.
9164
7ac30cc5
AJ
9165 * FAQ: Removed.
9166 * FAQ.in: Likewise.
9167 * scripts/gen-FAQ.pl: Likewise.
9168 * manual/install.texi (Installation): Point to online location of
9169 FAQ.
9170 * Makefile (files-for-dist): Remove FAQ.
9171 (FAQ): Remove.
9172
d4c2917f
AM
91732012-05-02 Allan McRae <allan@archlinux.org>
9174
9175 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
9176 (LDFLAGS-reldepmod5.so): Likewise.
9177 (LDFLAGS-reldep6mod1.so): Likewise.
9178 (LDFLAGS-reldep6mod4.so): Likewise.
9179 (LDFLAGS-reldep8mod3.so): Likewise.
9180 (LDFLAGS-unload4mod1.so): Likewise.
9181 (LDFLAGS-unload4mod2.so): Likewise.
9182 (LDFLAGS-tst-initorder): Likewise.
9183 (LDFLAGS-tst-initordera2.so): Likewise.
9184 (LDFLAGS-tst-initordera3.so): Likewise.
9185 (LDFLAGS-tst-initordera4.so): Likewise.
9186 (LDFLAGS-tst-initorderb2.so): Likewise.
9187 (LDFLAGS-noload): Likewise.
9188 (LDFLAGS-next): Likewise.
9189 (LDFLAGS-order2mod1.so): Likewise.
9190 (LDFLAGS-order2mod2.so): Likewise.
9191 (LDFLAGS-tst-initorder2): Likewise.
9192 (LDFLAGS-tst-initorder2a.so): Likewise.
9193 (LDFLAGS-tst-initorder2b.so): Likewise.
9194 (LDFLAGS-tst-initorder2c.so): Likewise.
9195 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
9196
d77f993f
DM
91972012-05-02 David S. Miller <davem@davemloft.net>
9198
9199 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9200
171a70b4
PP
92012012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
9202
9203 [BZ #14055]
9204 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
9205
0be196ad
AJ
92062012-05-02 Andreas Jaeger <aj@suse.de>
9207
9208 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
9209 since we manipulate rounding mode.
9210 (CPPFLAGS-test-idouble.c): Likewise.
9211 (CPPFLAGS-test-ifloat.c): Likewise.
9212 (CFLAGS-test-ldouble.c): Likewise.
9213 (CFLAGS-test-double.c): Likewise.
9214 (CFLAGS-test-float.c): Likewise.
9215 (CFLAGS-test-misc.c): Likewise.
9216 (CFLAGS-test-test-fenv.c): Likewise.
9217
4f9d04aa
AZ
92182012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9219
2b942cb7
RM
9220 [BZ #2550]
9221 [BZ #2570]
9222 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
9223 comparisons to determine direction to adjust input.
4f9d04aa 9224
82a79e7d
RM
92252012-05-01 Roland McGrath <roland@hack.frob.com>
9226
f5a01ca9
RM
9227 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
9228 output to the target.
9229
90fe4186
RM
9230 * scripts/localplt.awk: New file.
9231 * elf/Makefile ($(objpfx)check-localplt): Target removed.
9232 (check-localplt-CFLAGS): Variable removed.
9233 ($(all-built-dso:=.jmprel)): New static pattern rule.
9234 (generated): Add those targets.
9235 (localplt-built-dso): New variable.
9236 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
9237
9238 * elf/check-localplt.c: File removed.
9239
82397ed6
RM
9240 * scripts/check-execstack.awk: New file.
9241 * elf/Makefile ($(objpfx)check-execstack): Target removed.
9242 (check-execstack-CFLAGS): Variable removed.
9243 ($(objpfx)check-execstack.h): Target removed.
9244 ($(objpfx)execstack-default): New target.
9245 (generated): Add that instead of check-execstack.h.
9246 ($(all-built-dso:=.phdr)): New static pattern rule.
9247 (generated): Add those targets.
9248 * elf/check-execstack.c: File removed.
9249
82a79e7d
RM
9250 * scripts/check-textrel.awk: New file.
9251 * elf/Makefile ($(objpfx)check-textrel): Target removed.
9252 (check-textrel-CFLAGS): Variable removed.
9253 (all-built-dso): Use := to define.o
9254 ($(all-built-dso:=.dyn)): New static pattern rule.
9255 (generated): Add those targets.
9256 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
9257 * config.make.in (READELF): New substituted variable.
9258 * elf/check-textrel.c: File removed.
9259
62fde54f 92602012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 9261
615605c9
JM
9262 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9263 allow.
9264 * conform/data/ctype.h-data [C99-based standards] (isblank):
9265 Expect function.
9266 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
9267 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
9268 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9269 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
9270 Specify type. Require positive value.
9271 (EILSEQ): Likewise.
9272 (ERANGE): Likewise.
9273 [ISO || POSIX] (EILSEQ): Do not expect.
9274 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
9275 Specify type. Require positive value.
9276 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
9277 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
9278 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
9279 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
9280 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
9281 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
9282 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
9283 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
9284 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
9285 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
9286 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
9287 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
9288 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
9289 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
9290 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
9291 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
9292 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
9293 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
9294 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
9295 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
9296 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
9297 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
9298 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
9299 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
9300 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
9301 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
9302 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
9303 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
9304 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
9305 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
9306 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
9307 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
9308 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
9309 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
9310 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
9311 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
9312 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
9313 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
9314 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
9315 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
9316 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
9317 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
9318 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
9319 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
9320 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
9321 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
9322 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
9323 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
9324 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
9325 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
9326 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
9327 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
9328 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
9329 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
9330 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
9331 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
9332 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
9333 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
9334 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
9335 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
9336 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
9337 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
9338 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
9339 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
9340 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
9341 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
9342 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
9343 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
9344 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
9345 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
9346 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
9347 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
9348 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
9349 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
9350 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
9351 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
9352 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
9353 Require >= 2.
9354 (FLT_ROUNDS): Expect as macro, not constant.
9355 (FLT_MANT_DIG): Use macro-int-constant.
9356 (DBL_MANT_DIG): Likewise.
9357 (LDBL_MANT_DIG): Likewise.
9358 (FLT_DIG): Likewise.
9359 (DBL_DIG): Likewise.
9360 (LDBL_DIG): Likewise.
9361 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
9362 (DBL_MIN_EXP): Likewise.
9363 (LDBL_MIN_EXP): Likewise.
9364 (FLT_MAX_EXP): Use macro-int-constant.
9365 (DBL_MAX_EXP): Likewise.
9366 (LDBL_MAX_EXP): Likewise.
9367 (FLT_MAX_10_EXP): Likewise.
9368 (DBL_MAX_10_EXP): Likewise.
9369 (LDBL_MAX_10_EXP): Likewise.
9370 (FLT_MAX): Use macro-constant.
9371 (DBL_MAX): Likewise.
9372 (LDBL_MAX): Likewise.
9373 (FLT_EPSILON): Use macro-constant. Give upper bound.
9374 (DBL_EPSILON): Likewise.
9375 (LDBL_EPSILON): Likewise.
9376 (FLT_MIN): Likewise.
9377 (DBL_MIN): Likewise.
9378 (LDBL_MIN): Likewise.
9379 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
9380 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
9381 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
9382 [ISO11] (FLT_HAS_SUBNORM): Likewise.
9383 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
9384 [ISO11] (DBL_DECIMAL_DIG): Likewise.
9385 [ISO11] (FLT_DECIMAL_DIG): Likewise.
9386 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
9387 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
9388 [ISO11] (FLT_TRUE_MIN): Likewise.
9389 [ISO11] (LDBL_TRUE_MIN): Likewise.
9390 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9391 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
9392 (SCHAR_MIN): Use macro-int-constant. Specify type.
9393 (SCHAR_MAX): Likewise.
9394 (UCHAR_MAX): Likewise.
9395 (CHAR_MIN): Likewise.
9396 (CHAR_MAX): Likewise.
9397 (MB_LEN_MAX): Use macro-int-constant.
9398 (SHRT_MIN): Use macro-int-constant. Specify type.
9399 (SHRT_MAX): Likewise.
9400 (USHRT_MAX): Likewise.
9401 (INT_MAX): Likewise.
9402 (INT_MIN): Use macro-int-constant. Specify type. Make upper
9403 bound negative.
9404 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
9405 bound with "U".
9406 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
9407 bound with "L".
9408 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
9409 bound negative. Suffix upper bound with "L".
9410 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
9411 bound with "UL".
9412 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
9413 Specify type.
9414 [C99-based standards] (LLONG_MAX): Likewise.
9415 [C99-based standards] (ULLONG_MAX): Likewise.
9416 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
9417 == 0.
9418 [ISO11] (max_align_t): Require type.
9419 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9420
c9140a62
JM
9421 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
9422 from $CFLAGS, without defining away __attribute__ calls.
9423 (checknamespace): Use $CFLAGS_namespace.
9424
9af0bf29
JM
9425 * conform/conformtest.pl (@keywords): Only include C99 keywords
9426 for standards based on C99 or C11.
9427
343222a2
JM
9428 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
9429 Disable tests.
9430 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
9431 UNIX98]: Likewise.
9432
661f8cf0
JM
9433 * conform/conformtest.pl: Handle "macro-int-constant" and test for
9434 usability of symbols in #if.
9435
ee74b9cb
JM
9436 * conform/conformtest.pl: If macro or constant types start
9437 "promoted:", expect the symbol to be of the following type
9438 promoted by the integer promotions.
62fde54f 9439
aafc49b3
JM
9440 * conform/conformtest.pl: Parse all "constant" and "macro" lines
9441 in one place. Also handle "macro-constant".
9442
fefdf574
JM
9443 * conform/conformtest.pl: Only accept expected macro values with
9444 "==". Parse all "macro" lines in one place.
9445 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
9446
f2d922fe
JM
9447 * conform/conformtest.pl: Handle braced types on "constant" lines
9448 instead of handling "typed-constant".
9449 * conform/data/signal.h-data: Use "constant" instead of
9450 "typed-constant".
9451
d22956c9
JM
9452 * conform/conformtest.pl: Handle "optional-" at start of lines in
9453 one place rather than duplicating several cases. Handle each
9454 format of "macro" line with initial "optional-".
9455
028e2e38
JM
9456 * conform/conformtest.pl: Only accept expected constant or
9457 optional-constant values with "==". Parse all "constant" lines in
9458 one place. Parse all "optional-constant" lines in one place.
9459 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
9460 * conform/data/fmtmsg.h-data: Likewise.
9461 * conform/data/netinet/in.h-data: Likewise.
9462 * conform/data/tar.h-data: Likewise.
9463 * conform/data/limits.h-data: Use "==" form on "constant" and
9464 "optional-constant" lines.
9465
1b8f2850
JM
9466 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
9467 Use -std=c99 for XOPEN2K.
9468 (@knownproblems): Remove.
9469 (newtoken): Don't check %isknown.
9470
a05a144b
JM
9471 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
9472 Do not expect macro.
9473 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
9474 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
9475 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
9476 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
9477 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
9478 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
9479 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
9480 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
9481 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
9482 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
9483 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
9484 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
9485 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
9486 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
9487 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
9488 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
9489 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
9490 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
9491 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
9492 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
9493 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
9494 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
9495 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
9496 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
9497 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
9498 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
9499 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
9500 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
9501 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
9502 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
9503 [XPG3] (acosh): Likewise.
9504 [XPG3] (asinh): Likewise.
9505 [XPG3] (atanh): Likewise.
9506 [XPG3] (cbrt): Likewise.
9507 [XPG3] (expm1): Likewise.
9508 [XPG3] (ilogb): Likewise.
9509 [XPG3] (log1p): Likewise.
9510 [XPG3] (logb): Likewise.
9511 [XPG3] (nextafter): Likewise.
9512 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
9513 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
9514 [XPG3] (remainder): Likewise.
9515 [XPG3] (rint): Likewise.
9516 [XPG3 || XPG4 || UNIX98] (round): Likewise.
9517 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
9518 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
9519 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
9520 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
9521 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
9522 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
9523 [UNIX98 || XOPEN2K] (scalb): Expect.
9524 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
9525 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
9526 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
9527 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
9528 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
9529 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
9530 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
9531 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
9532 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
9533 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
9534 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
9535 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
9536 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
9537 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
9538 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
9539 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
9540 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
9541 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
9542 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
9543 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
9544 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
9545 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
9546 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
9547 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
9548 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
9549 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
9550 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
9551 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
9552 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
9553 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
9554 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
9555 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
9556 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
9557 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
9558 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
9559 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
9560 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
9561 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
9562 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
9563 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
9564 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
9565 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
9566 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
9567 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
9568 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
9569 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
9570 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
9571 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
9572 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
9573 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
9574 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
9575 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
9576 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
9577 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
9578 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
9579 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
9580 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
9581 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
9582 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
9583 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
9584 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
9585 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
9586 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
9587 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
9588 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
9589 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
9590 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
9591 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
9592 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
9593 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
9594 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
9595 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
9596 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
9597 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
9598 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
9599 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
9600 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
9601 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
9602 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
9603 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
9604 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
9605 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
9606 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
9607 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
9608 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
9609 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
9610 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
9611 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
9612 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
9613 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
9614 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
9615 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
9616 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
9617 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
9618 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
9619 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
9620 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
9621 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
9622 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
9623 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
9624 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
9625 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
9626 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
9627 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
9628 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
9629 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
9630 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
9631 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
9632 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
9633 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
9634 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
9635 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
9636 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
9637 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
9638 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
9639 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
9640 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
9641 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
9642 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
9643 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
9644 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
9645 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
9646 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
9647 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
9648 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
9649 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
9650 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
9651 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
9652 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
9653 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
9654 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
9655 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
9656 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
9657 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
9658 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
9659 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
9660 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
9661
73c5ebe3
JM
9662 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
9663 _XOPEN_SOURCE_EXTENDED for XPG4.
9664
39c33b6c
JM
9665 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
9666
62fde54f
JM
9667 * Makeconfig (localtime): Remove variable.
9668 (inst_localtime-file): Likewise.
9669
0741d64c
AS
96702012-05-01 Andreas Schwab <schwab@linux-m68k.org>
9671
9672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
9673 Update.
9674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9675 Update.
9676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
9677 Update.
9678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9679 Update.
9680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
9681 Update.
9682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
9683 Update.
9684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9685 Update.
9686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
9687 Update.
9688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9689 Update.
9690
7cb029ee
JM
96912012-05-01 Joseph Myers <joseph@codesourcery.com>
9692
9693 [BZ #2550]
9694 [BZ #2570]
9695 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
9696 comparisons to determine direction to adjust input.
9697 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
9698 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
9699 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
9700 Likewise.
9701 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
9702 Likewise.
9703 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9704 Likewise.
9705 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
9706 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
9707 Likewise.
9708 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
9709 Likewise.
9710 * math/libm-test.inc (nexttoward_test): Add more tests.
9711
412bd966
AS
97122012-05-01 Andreas Schwab <schwab@linux-m68k.org>
9713
9714 [BZ #14040]
9715 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
9716 in version GLIBC_2.1, not GLIBC_2.0.
9717 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
9718 Likewise.
9719
9568c0c2
JM
97202012-04-30 Joseph Myers <joseph@codesourcery.com>
9721
adfbc8ac
JM
9722 [BZ #13942]
9723 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
9724 (1 - x) * (1 + x).
9725 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
9726 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
9727 * math/libm-test.inc (acos_test): Add more tests.
9728 (asin_test): Likewise.
9729 * sysdeps/i386/fpu/libm-test-ulps: Update.
9730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9731
5ba3cc69
JM
9732 [BZ #14034]
9733 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
9734 of square root.
9735 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
9736 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
9737 * math/libm-test.inc (acos_test_tonearest): New function.
9738 (acos_test_towardzero): Likewise.
9739 (acos_test_downward): Likewise.
9740 (acos_test_upward): Likewise.
9741 (asin_test_tonearest): Likewise.
9742 (asin_test_towardzero): Likewise.
9743 (asin_test_downward): Likewise.
9744 (asin_test_upward): Likewise.
9745 (main): Call the new functions.
9746 * sysdeps/i386/fpu/libm-test-ulps: Update.
9747 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9748
9568c0c2
JM
9749 [BZ #13884]
9750 [BZ #13924]
9751 * math/e_exp10.c: Include <float.h>.
9752 (__ieee754_exp10): Handle underflow here rather than multiplying
9753 large negative argument by M_LN10.
9754 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
9755 of __ieee754_expf.
9756 * math/e_exp10l.c: Include <float.h>.
9757 (__ieee754_exp10l): Handle underflow here rather than multiplying
9758 large negative argument by M_LN10l.
9759 * math/libm-test.inc (exp10_test): Add another test. Do not allow
9760 spurious overflow exception on underflow.
9761
5ac3ea17
MP
97622012-04-29 Marek Polacek <polacek@redhat.com>
9763
9764 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
9765 (__fortify_function): New macro.
9766 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
9767 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
9768 __extern_always_inline.
9769 * libio/bits/stdio2.h: Likewise.
9770 * libio/bits/stdio.h: Likewise.
9771 * string/string.h: Likewise.
9772 * string/bits/string3.h: Likewise.
9773 * include/stdio.h: Likewise.
9774 * stdlib/bits/stdlib.h: Likewise.
9775 * stdlib/stdlib.h: Likewise.
9776 * rt/bits/mqueue2.h: Likewise.
9777 * rt/mqueue.h: Likewise.
9778 * posix/bits/unistd.h: Likewise.
9779 * posix/unistd.h: Likewise.
9780 * io/bits/poll2.h: Likewise.
9781 * io/bits/fcntl2.h: Likewise.
9782 * io/fcntl.h: Likewise.
9783 * io/sys/poll.h: Likewise.
9784 * misc/bits/syslog.h: Likewise.
9785 * misc/bits/syslog-ldbl.h: Likewise.
9786 * misc/sys/syslog.h: Likewise.
9787 * socket/bits/socket2.h: Likewise.
9788 * socket/sys/socket.h: Likewise.
9789 * debug/tst-chk1.c: Likewise.
9790 * wcsmbs/bits/wchar2.h: Likewise.
9791 * wcsmbs/bits/wchar-ldbl.h: Likewise.
9792 * wcsmbs/wchar.h: Likewise.
9793
ecf0ebfb
AJ
97942012-04-29 Andreas Jaeger <aj@suse.de>
9795
9796 * Makerules (tests): Remove enable-check-abi protection.
9797 (check-abi-warn): Remove.
9798 (check-abi-%): Remove check-abi-warn usage.
9799
9800 * configure.in: Remove check-abi configure option.
9801 * configure: Regenerated.
9802 * config.make.in (enable-check-abi): Remove.
9803
6d5c57fa
AS
98042012-04-28 Andreas Schwab <schwab@linux-m68k.org>
9805
24c5d07e 9806 [BZ #14033]
ded5180a
AS
9807 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
9808 double functions to double *_finite functions.
9809
7e0d315d
AS
9810 [BZ #13941]
9811 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
9812 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
9813 LDBL_MIN_EXP.
9814 * stdio-common/Makefile (tests): Add tst-sprintf3.
9815 * stdio-common/tst-sprintf3.c: New file.
9816
6d5c57fa
AS
9817 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
9818 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
9819
0749ff8b
JM
98202012-04-28 Joseph Myers <joseph@codesourcery.com>
9821
9822 * conform/conformtest.pl: Remove duplicate typed-constant
9823 handling.
9824
8dbd5d7b
DM
98252012-04-28 David S. Miller <davem@davemloft.net>
9826
9827 * Makerules (%.abilist): Add vpath on sysdep_dirs.
9828 (check-abi-%): Remove AWK script prerequisite and explicit
9829 abilist directory.
9830 (check-abi): Rewrite to just diff the symlist with the abilist.
9831 (config-tls, config-abi-config): Delete, no longer used.
9832 (update-abi-%): Remove AWK script and explicit abilist directory.
9833 (update-abi): Rewrite to simply compare and conditionally copy the
9834 symlist and the sysdep abilist file. Remove update-abi-config
9835 checks.
9836 * abilist/ld.abilist: Remove.
9837 * abilist/libBrokenLocale.abilist: Remove.
9838 * abilist/libanl.abilist: Remove.
9839 * abilist/libcrypt.abilist: Remove.
9840 * abilist/libdl.abilist: Remove.
9841 * abilist/librt.abilist: Remove.
9842 * abilist/libthread_db.abilist: Remove.
9843 * abilist/libutil.abilist: Remove.
9844 * scripts/extract-abilist.awk: Remove.
9845 * scripts/merge-abilist.awk: Remove.
9846 * sysdeps/generic/libcidn.abilist: New file.
9847 * sysdeps/generic/libnss_compat.abilist: New file.
9848 * sysdeps/generic/libnss_db.abilist: New file.
9849 * sysdeps/generic/libnss_dns.abilist: New file.
9850 * sysdeps/generic/libnss_files.abilist: New file.
9851 * sysdeps/generic/libnss_hesiod.abilist: New file.
9852 * sysdeps/generic/libnss_nis.abilist: New file.
9853 * sysdeps/generic/libnss_nisplus.abilist: New file.
9854 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
9855 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
9856 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
9857 file.
9858 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
9859 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
9860 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
9861 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
9862 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
9863 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
9864 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
9865 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
9866 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
9867 file.
9868 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
9869 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
9870 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
9871 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
9872 file.
9873 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
9874 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
9875 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
9876 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
9877 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
9878 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
9879 file.
9880 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
9881 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
9882 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
9883 file.
9884 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
9885 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
9886 New file.
9887 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
9888 New file.
9889 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
9890 New file.
9891 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
9892 New file.
9893 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
9894 New file.
9895 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
9896 New file.
9897 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
9898 New file.
9899 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
9900 New file.
9901 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
9902 New file.
9903 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
9904 New file.
9905 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
9906 New file.
9907 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
9908 New file.
9909 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
9910 New file.
9911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
9912 file.
9913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
9914 New file.
9915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
9916 New file.
9917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
9918 file.
9919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
9920 New file.
9921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
9922 New file.
9923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
9924 file.
9925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
9926 New file.
9927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9928 New file.
9929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
9930 New file.
9931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
9932 New file.
9933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
9934 New file.
9935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
9936 New file.
9937 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
9938 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
9939 file.
9940 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
9941 New file.
9942 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
9943 file.
9944 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
9945 file.
9946 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
9947 file.
9948 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
9949 file.
9950 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
9951 file.
9952 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9953 New file.
9954 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
9955 file.
9956 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
9957 file.
9958 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
9959 New file.
9960 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
9961 file.
9962 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
9963 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
9964 file.
9965 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
9966 New file.
9967 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
9968 file.
9969 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
9970 file.
9971 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
9972 file.
9973 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
9974 file.
9975 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
9976 file.
9977 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9978 New file.
9979 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
9980 file.
9981 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
9982 file.
9983 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
9984 New file.
9985 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
9986 file.
9987 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
9988 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
9989 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
9990 file.
9991 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
9992 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
9993 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
9994 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
9995 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
9996 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
9997 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
9998 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
9999 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
10000 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
10001 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
10002 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
10003 file.
10004 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10005 New file.
10006 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
10007 file.
10008 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
10009 file.
10010 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
10011 file.
10012 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
10013 file.
10014 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
10015 file.
10016 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10017 New file.
10018 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10019 New file.
10020 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
10021 file.
10022 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10023 New file.
10024 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
10025 file.
10026 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
10027 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
10028 file.
10029 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10030 New file.
10031 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
10032 file.
10033 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
10034 file.
10035 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
10036 file.
10037 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
10038 file.
10039 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
10040 file.
10041 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10042 New file.
10043 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10044 New file.
10045 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
10046 file.
10047 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10048 New file.
10049 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
10050 file.
10051
41d73a1b
JM
100522012-04-28 Joseph Myers <joseph@codesourcery.com>
10053
10054 * conform/conformtest.pl: Fix typo in handling typed-constant from
10055 allow-header.
10056
28aeeda4
JM
100572012-04-27 Joseph Myers <joseph@codesourcery.com>
10058
adae8f5e
JM
10059 * README: Cut down references to pre-2.6 Linux kernels and
10060 Linuxthreads. Update lists of configurations in libc and ports
10061 and sort alphabetically. Say "or newer" with Linux kernel version
10062 requirements.
10063
28aeeda4
JM
10064 * config.h.in [IS_IN_build]: Allow compiling without optimization.
10065
a462cb63
RA
100662012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10067
10068 [BZ #887]
10069 * math/libm-test.inc (logb_test_downward): New test to expose
10070 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
10071 rounding mode.
10072
6ad3493e
JM
100732012-04-27 Joseph Myers <joseph@codesourcery.com>
10074
10075 [BZ #14027]
10076 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
10077 to be done.
10078 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
10079 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
10080
2ce4f015
JM
100812012-04-26 Joseph Myers <joseph@codesourcery.com>
10082
5aeb141a
JM
10083 * sysdeps/unix/i386/brk.S: Remove file.
10084 * sysdeps/unix/i386/dl-brk.S: Likewise.
10085 * sysdeps/unix/i386/pipe.S: Likewise.
10086 * sysdeps/unix/i386/sigreturn.S: Likewise.
10087 * sysdeps/unix/i386/syscall.S: Likewise.
10088 * sysdeps/unix/i386/vfork.S: Likewise.
10089 * sysdeps/unix/i386/wait.S: Likewise.
10090
7143acae
JM
10091 * sysdeps/unix/common/tcsendbrk.c: Move to ...
10092 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
10093
2ce4f015
JM
10094 * configure.in (arm*-none*): Do not allow without
10095 --enable-hacker-mode.
10096 (netbsd*): Remove case setting base_os.
10097 (386bsd*): Likewise.
10098 (freebsd*): Likewise.
10099 (bsdi*): Likewise.
10100 (osf*): Likewise.
10101 (sunos*): Likewise.
10102 (ultrix*): Likewise.
10103 (newsos*): Likewise.
10104 (dynix*): Likewise.
10105 (*bsd*): Likewise.
10106 (sysv*): Likewise.
10107 (isc*): Likewise.
10108 (esix*): Likewise.
10109 (sco*): Likewise.
10110 (minix*): Likewise.
10111 (irix4*): Likewise.
10112 (irix6*): Likewise.
10113 (solaris[2-9]*): Likewise.
10114 (none): Likewise.
10115 * configure: Regenerated.
10116
0ac229c8
AZ
101172012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10118
10119 [BZ #11521]
10120 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
10121 overflow or cancellation in calculating denominator.
10122 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
10123 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
10124 down expression to avoid unexpected rounding in newer GCCs.
10125 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
10126
33f244f4
DM
101272012-04-26 David S. Miller <davem@davemloft.net>
10128
10129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
10130 long-double compat symbols.
10131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
10135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10136 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
10137 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
10138 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
10139 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
10140 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
10141 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
10142 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
10143 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10144
cfa1f3e8
DM
101452012-04-25 David S. Miller <davem@davemloft.net>
10146
10147 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
10148 HWCAP_* values only after the memory barriers have been defined.
10149 (atomic_full_barrier): Define.
10150 (atomic_read_barrier): Define.
10151 (atomic_write_barrier): Define.
10152
6e236b92
SP
101532012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10154
10155 * shlib-versions: Add libgcc_s version information.
10156 * sysdeps/generic/libgcc_s.h: Remove.
10157 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
10158 libgcc_s.h.
10159 * sysdeps/gnu/unwind-resume.c: Likewise.
10160 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
10161
aab39a09
DM
101622012-04-25 David S. Miller <davem@davemloft.net>
10163
10164 * sysdeps/unix/sparc/brk.S: Delete.
10165 * sysdeps/unix/sparc/dl-brk.S: Delete.
10166 * sysdeps/unix/sparc/pipe.S: Delete.
10167 * sysdeps/unix/sparc/sysdep.S: Delete.
10168 * sysdeps/unix/sparc/sysdep.h: Delete.
10169 * sysdeps/unix/sparc/vfork.S: Delete.
10170 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
10171 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
10172 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
10173 ret_ERRVAL, r0, r1, MOVE): Define.
10174 (JUMPTARGET): Remove.
10175 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
10176 sysdeps/unix/sparc/sysdep.h
10177 (ENTRY, END): Remove.
10178 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10179
a3cc4f48
JM
101802012-04-25 Joseph Myers <joseph@codesourcery.com>
10181
2ed8cda2
JM
10182 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
10183 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
10184 -DIS_IN_build.
10185
35d76d59
JM
10186 * timezone/README: Update upstream location and email address for
10187 tzcode and tzdata.
10188 * timezone/zdump.c: Update from tzcode 2012b.
10189 * timezone/zic.c: Likewise.
10190
a3cc4f48
JM
10191 * configure.in (libc_cv_as_needed): Remove test.
10192 * configure: Regenerated.
10193 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
10194 conditional definition.
10195 [$(have-as-needed) != yes] (no-as-needed): Likewise.
10196 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
10197 * config.make.in (have-as-needed): Remove variable.
10198
ceab42c3
SP
101992012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10200 Paul Pluzhnikov <ppluzhnikov@google.com>
10201
10202 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
10203 strings correctly.
10204
3ce2865f
CLT
102052012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
10206
10207 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
10208 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
10209 * sysdeps/sh/strlen.S: Likewise.
10210
f37e0d68
JM
102112012-04-24 Joseph Myers <joseph@codesourcery.com>
10212
ae186e9a
JM
10213 * sysdeps/unix/fork.S: Remove file.
10214 * sysdeps/unix/i386/fork.S: Likewise.
10215 * sysdeps/unix/sparc/fork.S: Likewise.
10216
b96914af
JM
10217 * sysdeps/unix/system.c: Remove file.
10218 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
10219
f37e0d68
JM
10220 * sysdeps/unix/getegid.S: Remove file.
10221 * sysdeps/unix/geteuid.S: Likewise.
10222
87ef29ca
RM
102232012-04-24 Roland McGrath <roland@hack.frob.com>
10224
83bcd236
RM
10225 * scripts/check-localplt.awk: New file.
10226 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
10227 of diff.
10228 * scripts/data/localplt-generic.data: Add a comment.
10229
87ef29ca
RM
10230 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
10231 NODE when __dir_mkfile failed.
10232 * sysdeps/mach/hurd/symlinkat.c: Likewise.
10233 Reported by Ludovic Courtès <ludo@gnu.org>.
10234
e5a6e567
AJ
102352012-04-24 Andreas Jaeger <aj@suse.de>
10236
10237 * Makerules (common-clean): Also remove gen-as-const-headers
10238 files.
10239
c1820385
JM
102402012-04-24 Joseph Myers <joseph@codesourcery.com>
10241
10242 * Makerules (native-compile): Do not change working directory for
10243 build. Use $(OUTPUT_OPTION) in command.
10244 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
10245
94e02fc4
AZ
102462012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10247
10248 [BZ #13886]
10249 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
10250 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
10251 * math/libm-test.inc (floor_test): Add more tests.
10252 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
10253
3a533ca3
JM
102542012-04-24 Joseph Myers <joseph@codesourcery.com>
10255
940ab4b3
JM
10256 * sysdeps/unix/getdents.c: Remove file.
10257 * sysdeps/unix/sysv/getdents.c: Likewise.
10258 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
10259
90e037bd
JM
10260 * sysdeps/unix/syscalls.list (madvise): Add syscall from
10261 sysdeps/unix/mman/syscalls.list.
10262 (mmap): Likewise.
10263 (mprotect): Likewise.
10264 (msync): Likewise.
10265 (munmap): Likewise.
10266 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
10267 * sysdeps/unix/mman/syscalls.list: Remove.
10268 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
10269
3a533ca3
JM
10270 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
10271 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
10272 * configure: Regenerated.
10273 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
10274 $(libgcc_s_suffix).
10275 * config.make.in (libgcc_s_suffix): Remove variable.
10276
1ad743de
JM
102772012-04-23 Joseph Myers <joseph@codesourcery.com>
10278
4ad451e2
JM
10279 * sysdeps/unix/sysv/gethostname.c: Move to ...
10280 * sysdeps/posix/gethostname.c: ... here.
10281
5e37ce39
JM
10282 * sysdeps/unix/execve.S: Remove file.
10283
1ad743de
JM
10284 * sysdeps/unix/_exit.S: Remove file.
10285
4e681b5b
AJ
102862012-04-23 Andreas Jaeger <aj@suse.de>
10287
10288 [BZ #13739]
10289 * manual/Makefile: Remove make dist support, there's no
10290 need for a stand-alone documentation tar ball.
10291 (TEXI2DVI): Define always, it's not in Makeconfig.
10292 (dist): Removed.
10293 (tar-it): Removed.
10294 (edition): Removed.
10295 (glibc-doc-$(edition).tar): Removed
10296 (%.Z): Removed.
10297 (%.gz): Removed.
10298 (%.uu): Removed.
10299 (ETAGS): Remove, it's in Makeconfig.
10300 (move-if-change): Remove, it's in Makeconfig.
10301
c0baea34
PE
103022013-04-23 Paul Eggert <eggert@cs.ucla.edu>
10303
10304 [BZ #13970]
10305 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
10306 (strtod, strtof, strtold, strtol, strtoul, strtoq)
10307 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
10308 (strtod_l, strtof_l, strtold_l): Remove __wur.
10309 It is not necessarily an error to ignore strtol's return value.
10310 One can reliably look at the stored endptr to decide whether
10311 the number had valid syntax.
10312
7c0616fa
AJ
103132012-04-21 Andreas Jaeger <aj@suse.de>
10314
803cb6b7 10315 [BZ #13739]
7c0616fa
AJ
10316 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
10317
b0fe253f
JM
103182012-04-21 Joseph Myers <joseph@codesourcery.com>
10319
10320 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
10321 * sysdeps/unix/sysv/Versions: Remove file.
10322
8280f22d
MT
103232012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
10324
10325 [BZ #13927]
10326 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10327
75ce411f 103282012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
10329
10330 [BZ #7064]
10331 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
10332 version from __vm86.
10333
097d59fa
JM
103342012-04-20 Joseph Myers <joseph@codesourcery.com>
10335
a90f3bcb
JM
10336 * sysdeps/unix/common/lxstat.c: Remove file.
10337 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
10338
edc7ea78
JM
10339 * sysdeps/unix/sysv/Makefile: Remove file.
10340
cb78c221
JM
10341 * sysdeps/unix/sysv/direct.h: Remove file.
10342
efa6a45f
JM
10343 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
10344 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
10345 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
10346 * sysdeps/unix/sysv/bits/signum.h: Likewise.
10347 * sysdeps/unix/sysv/bits/stat.h: Likewise.
10348 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
10349 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
10350
9c9f2d0c
JM
10351 * sysdeps/unix/sysv/setrlimit.c: Remove file.
10352
4541c83b
JM
10353 * sysdeps/unix/xmknod.c: Remove file.
10354 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
10355
f5d153a0
JM
10356 * sysdeps/unix/sysv/settimeofday.c: Remove file.
10357
aa746595
JM
10358 * sysdeps/unix/sysv/i386/time.S: Remove file.
10359
cce5905e
JM
10360 * sysdeps/unix/fxstat.c: Remove file.
10361 * sysdeps/unix/xstat.c: Likewise.
10362 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
10363
37fa3841
JM
10364 * sysdeps/unix/sysv/sigaction.c: Remove file.
10365
ff1962a3
JM
10366 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
10367 (sysdep_headers): Remove variable.
10368 [termio.h not in sysdep_headers] (generated): Likewise.
10369 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
10370 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
10371 * sysdeps/unix/sysv/tcdrain.c: Likewise.
10372 * sysdeps/unix/sysv/tcflow.c: Likewise.
10373 * sysdeps/unix/sysv/tcflush.c: Likewise.
10374 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
10375 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
10376 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
10377 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
10378 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
10379
e7740d31
JM
10380 * sysdeps/unix/siglist.c: Remove file.
10381
ee06f18b
JM
10382 * sysdeps/unix/getppid.S: Remove file.
10383
097d59fa
JM
10384 * sysdeps/unix/mkdir.c: Remove file.
10385 * sysdeps/unix/rmdir.c: Likewise.
10386
ff3d51ec
AS
103872012-04-19 Andreas Schwab <schwab@linux-m68k.org>
10388
10389 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
10390 ERR_MAX value.
10391 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
10392 errlist-compat value.
10393
50f81fd7
DM
103942012-04-18 David S. Miller <davem@davemloft.net>
10395
10396 * sysdeps/generic/memcopy.h (reg_char): Delete.
10397 * debug/strcat_chk.c: Use char, not reg_char.
10398 * debug/strcpy_chk.c: Likewise.
10399 * debug/strncat_chk.c: Likewise.
10400 * debug/strncpy_chk.c: Likewise.
10401 * string/memchr.c: Likewise.
10402 * string/memrchr.c: Likewise.
10403 * string/rawmemchr.c: Likewise.
10404 * string/strcat.c: Likewise.
10405 * string/strchr.c: Likewise.
10406 * string/strchrnul.c: Likewise.
10407 * string/strcmp.c: Likewise.
10408 * string/strcpy.c: Likewise.
10409 * string/strncat.c: Likewise.
10410 * string/strncmp.c: Likewise.
10411 * string/strncpy.c: Likewise.
10412
8ff41c46
WS
104132012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10414
10415 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
10416 __builtin_memcopy is called when src and dest ranges are known to not
10417 overlap.
10418
6b652f46
WS
104192012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10420
10421 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
10422 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
10423 fwd_align_merge macro call.
10424 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
10425 bwd_align_merge macro call.
10426 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
10427
b282631e
WS
104282012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10429
10430 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
10431 bwd_align_merge macros.
10432 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
10433 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
10434 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
10435
95aa737c
DM
104362012-04-18 David S. Miller <davem@davemloft.net>
10437
10438 * sysdeps/sparc/sparc64/memcopy.h: Delete.
10439
7a99a614
AJ
104402012-04-18 Andreas Jaeger <aj@suse.de>
10441
10442 [BZ# 6794]
10443 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
10444 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
10445 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10446
10447 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
10448 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
10449 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10450
10451 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
10452 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
10453 Adjust for changed ldbl-128 files.
10454
10455 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
10456 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
10457 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10458
e5270c23
DM
104592012-04-17 David S. Miller <davem@davemloft.net>
10460
10461 * sysdeps/sparc/sparc32/memcopy.h: Delete.
10462
fb5e92c9
AS
104632012-04-17 Andreas Schwab <schwab@linux-m68k.org>
10464
10465 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
10466 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
10467 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
10468 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
10469 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10470 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
10471
76da7265
AZ
104722012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10473
10474 [BZ #6794]
10475 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
10476 * math/libm-test.inc: Add ilogb errno and exception tests.
10477 * math/w_ilogb.c: New file: ilogb wrapper.
10478 * math/w_ilogbf.c: New file: ilogbf wrapper.
10479 * math/w_ilogbl.c: New file: ilogbl wrapper.
10480 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
10481 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
10482 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
10483 exception being thrown with 0.0 as argument.
10484 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
10485 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
10486 exception being thrown with 0.0 as argument.
10487 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
10488 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
10489 exception being thrown with 0.0 as argument.
10490 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
10491 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
10492 exception being thrown with 0.0 as argument.
10493 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
10494 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 10495 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
10496 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
10497 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
10498 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
10499 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
10500 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
10501 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
10502
0396e69d
PB
105032012-04-17 Petr Baudis <pasky@ucw.cz>
10504
10505 * include/sys/uio.h: Change __vector to __iovec to avoid clash
10506 with altivec.
10507
750b5926
MP
105082012-04-16 Marek Polacek <polacek@redhat.com>
10509
10510 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
10511
751728a1
MP
105122012-04-16 Marek Polacek <polacek@redhat.com>
10513
10514 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
10515 operands of fdivp instruction.
10516
34a27407
L
105172012-04-13 H.J. Lu <hongjiu.lu@intel.com>
10518
10519 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
10520 * elf/tst-auditmod3b.c: Likewise.
10521 * elf/tst-auditmod4b.c: Likewise.
10522 * elf/tst-auditmod5b.c: Likewise.
10523 * elf/tst-auditmod6b.c: Likewise.
10524 * elf/tst-auditmod6c.c: Likewise.
10525 * elf/tst-auditmod7b.c: Likewise.
10526 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
10527 * sysdeps/x86_64/preconfigure.in: Likewise.
10528 * sysdeps/x86_64/preconfigure: Regenerated.
10529
7e73e17d
L
105302012-04-13 H.J. Lu <hongjiu.lu@intel.com>
10531
10532 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
10533 __ILP32__.
10534
c7a6ab72
AB
105352012-04-13 Antoine Balestrat <merkil33@gmail.com>
10536
10537 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10538 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
10539
a9e8e0e0
CL
105402012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
10541
10542 [BZ #13973]
10543 * locale/iso-639.def: Fix gl language name. Spotted by
10544 Yaron Shahrabani.
10545
ec98af7d
RM
105462012-04-12 Roland McGrath <roland@hack.frob.com>
10547
10548 [BZ #2074]
10549 * libio/libio.h (__io_write_fn): Update comment.
10550
247c3ede
PB
105512012-04-12 Petr Baudis <pasky@ucw.cz>
10552
10553 [BZ #2074]
10554 * stdio.texi (Hook Functions): The user provided writer function
10555 is not allowed to return -1.
10556
55939d6d
DM
105572012-04-11 David S. Miller <davem@davemloft.net>
10558
10559 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10560
90020f5a
MF
105612012-04-11 Mike Frysinger <vapier@gentoo.org>
10562
10563 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
10564 Add a leading slash to rtkaio.
10565
288f9098
JM
105662012-04-11 Jim Meyering <meyering@redhat.com>
10567
90020f5a
MF
10568 [BZ #11959]
10569 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
10570 It is not necessarily an error to ignore fwrite's return
10571 value. One can reliably use ferror to test for errors after
10572 the fact.
288f9098 10573
4be2b570
L
105742012-04-10 H.J. Lu <hongjiu.lu@intel.com>
10575
10576 * bits/types.h (__snseconds_t): New type.
10577 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
10578
10579 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
10580 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10581 (__SNSECONDS_T_TYPE): Likewise.
10582 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10583 (__SNSECONDS_T_TYPE): Likewise.
10584 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10585 (__SNSECONDS_T_TYPE): Likewise.
10586
288f9098 105872012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
10588
10589 [BZ #2636]
10590 * manual/time.texi (Processor Time): Return type of times is
10591 elapsed real time since an arbitrary point in the past.
10592 (CPU Time): Move CLK_TCK from here...
10593 (Processor Time): ...to here. Correct description.
10594 * manual/conf.texi (Constants for Sysconf): Correct description of
10595 _SC_CLK_TCK.
10596
d7dd4413
DM
105972012-04-10 David S. Miller <davem@davemloft.net>
10598
10599 [BZ #13967]
10600 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
10601 where the is a gap between DT_REL(A) and DT_JMPREL.
10602
b46068fc
L
106032012-04-10 H.J. Lu <hongjiu.lu@intel.com>
10604
10605 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
10606 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
10607 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
10608
73d65cc3
SP
106092012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10610
10611 * elf/dl-support.c (_dl_inhibit_cache): New variable.
10612 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
10613 (dl_main): Handle --inhibit-cache.
10614 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
10615 _dl_inhibit_cache.
10616 * elf/dl-load.c (_dl_map_object): Use it.
10617 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
10618
bcc8d661
JM
106192012-04-09 Joseph Myers <joseph@codesourcery.com>
10620
8f9a2fae
JM
10621 [BZ #13872]
10622 * sysdeps/i386/fpu/e_powl.S (p78): New object.
10623 (__ieee754_powl): Saturate large exponents rather than testing for
10624 overflow of y*log2(x).
10625 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10626 * math/libm-test.inc (pow_test): Do not permit spurious overflow
10627 exceptions.
10628
bcc8d661
JM
10629 [BZ #11521]
10630 * math/s_ctan.c: Include <float.h>.
10631 (__ctan): Avoid internal overflow or cancellation in calculating
10632 denominator.
10633 * math/s_ctanf.c: Likewise.
10634 * math/s_ctanl.c: Likewise.
10635 * math/s_ctanh.c: Likewise.
10636 * math/s_ctanhf.c: Likewise.
10637 * math/s_ctanhl.c: Likewise.
10638 * math/libm-test.inc (ctan_test): Add more tests.
10639 (ctanh_test): Likewise.
10640 * sysdeps/i386/fpu/libm-test-ulps: Update.
10641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10642
823fbbb4
AJ
106432012-04-09 Andreas Jaeger <aj@suse.de>
10644
03879793
AJ
10645 [BZ #6894]
10646 * manual/filesys.texi (Directory Entries): Mention that d_namlen
10647 is an optional BSD extension.
10648
823fbbb4
AJ
10649 [BZ #10254]
10650 * manual/stdio.texi (Opening Streams): Document additional fopen
10651 parameters.
10652
8de131cb
RM
106532012-04-09 Roland McGrath <roland@hack.frob.com>
10654
10655 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
10656 %eax without telling the compiler.
10657
c0ed9d7d
CD
106582012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
10659
10660 [BZ # 13963]
10661 * manual/install.texi: Use sourceware.org.
10662
c483f6b4
JM
106632012-04-09 Joseph Myers <joseph@codesourcery.com>
10664
d7dd9453
JM
10665 [BZ #13873]
10666 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
10667 (__ieee754_pow): Generate overflow and underflow using huge*huge
10668 and tiny*tiny rather than just returning constant infinity or zero
10669 for large exponents.
10670 * math/libm-test.inc (pow_test): Require overflow exceptions for
10671 applicable cases of large exponents.
10672
c483f6b4
JM
10673 [BZ #706]
10674 * sysdeps/i386/fpu/e_pow.S (p10): New object.
10675 (__ieee754_pow): Use iterative multiplication algorithm only for
10676 integer exponents with absolute value below 1024. Check for odd
10677 integer exponents when using algorithm for real exponents.
10678 * math/libm-test.inc (pow_test): Add more tests.
10679 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10680
d2de7579
JM
106812012-04-08 Joseph Myers <joseph@codesourcery.com>
10682
10683 [BZ #13705]
10684 * math/libm-test.inc (exp_test): Do not allow overflow exception
10685 on underflow test.
10686
f77f1232
AJ
106872012-04-08 Aurelien Jarno <aurelien@aurel32.net>
10688
10689 [BZ #13705]
10690 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
10691 instead of __kernel_standard_f.
10692
3884932b
MF
106932012-04-08 Mike Frysinger <vapier@gentoo.org>
10694
10695 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
10696 * sysdeps/x86_64/memset_chk.S: Likewise.
10697
54472e9c
AJ
106982012-04-08 Andreas Jaeger <aj@suse.de>
10699
6ab0fbfc
AJ
10700 [BZ #10153]
10701 * manual/startup.texi (Environment Access): Describe return value
10702 for putenv and setenv.
10703
61efba8c
AJ
10704 [BZ #6895]
10705 * manual/filesys.texi (Directory Entries): Add description for
10706 DT_LNK.
10707
95c3f29a
AJ
10708 [BZ #6890]
10709 * manual/filesys.texi (Directory Entries): Clarify that it's file
10710 system not operating system in the description of DT_UNKNOWN.
10711
54472e9c
AJ
10712 [BZ #6578]
10713 * manual/syslog.texi (closelog): Fix reference, it's openlog.
10714
624254b1
SC
107152012-04-08 Stephen Compall <s11@member.fsf.org>
10716
10717 [BZ #6649]
10718 * manual/llio.texi (Opening and Closing Files): Add cross
10719 reference to explain mode argument.
10720
1e4920e0
MF
107212012-04-07 Mike Frysinger <vapier@gentoo.org>
10722
10723 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
10724 * sysdeps/x86_64/memset_chk.S: Likewise.
10725
5ed848f3
DM
107262012-04-07 David S. Miller <davem@davemloft.net>
10727
10728 * elf/elf.h (R_SPARC_WDISP10): Define.
10729 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
10730 R_SPARC_SIZE32.
10731 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
10732 R_SPARC_SIZE64 and R_SPARC_H34.
10733
96154cd8
CD
107342012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
10735
10736 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
10737 conditions and remove no longer applicable assertion.
10738
9904dc47
L
107392012-04-06 H.J. Lu <hongjiu.lu@intel.com>
10740
10741 * bits/byteswap.h: Include <features.h>.
10742 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
10743 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
10744
f8887d0a
L
107452012-04-06 H.J. Lu <hongjiu.lu@intel.com>
10746
10747 * bits/byteswap.h (__bswap_16): Removed.
10748 Include <bits/byteswap-16.h> to get __bswap_16.
10749 * sysdeps/i386/bits/byteswap.h: Likewise.
10750 * sysdeps/s390/bits/byteswap.h: Likewise.
10751 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10752 * bits/byteswap-16.h: New file.
10753 * sysdeps/i386/bits/byteswap-16.h: Likewise.
10754 * sysdeps/s390/bits/byteswap-16.h: Likewise.
10755 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
10756 * string/Makefile (headers): Add bits/byteswap-16.h.
10757
62470f60
PP
107582012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10759
10760 [BZ #13895]
10761 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
10762 extra indirection.
10763 * nss/Makefile (tests-static, tests): Add tst-nss-static.
10764 * nss/tst-nss-static.c: New.
10765
4dad7bab
RM
107662012-04-06 Robert Millan <rmh@gnu.org>
10767
10768 [BZ #6486]
10769 * manual/llio.texi (File Position Primitive): lseek
10770 refers to WHENCE when it really means OFFSET.
10771
e9142a17
AJ
107722012-04-06 Andreas Jaeger <aj@suse.de>
10773
2c040eff
AJ
10774 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
10775 strncmp declarations.
10776
e9142a17
AJ
10777 * abilist/libc.abilist: Add __poll and __ppoll.
10778
ff9f1c5f
DM
107792012-04-05 David S. Miller <davem@davemloft.net>
10780
dcd2ae90
DM
10781 * scripts/check-local-headers.sh: Accept a host triplet in the
10782 path matched by the exclude regexp.
10783
993eb054
DM
10784 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
10785 definition.
10786 * sysdeps/powerpc/powerpc32/dl-machine.h
10787 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
10788 * sysdeps/s390/s390-32/dl-machine.h
10789 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
10790 * sysdeps/sparc/sparc32/dl-machine.h
10791 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
10792 * sysdeps/sparc/sparc64/dl-machine.h
10793 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
10794
ff9f1c5f
DM
10795 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
10796 lazy binding.
48e2e132 10797 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
10798 undefined symbol errors.
10799
48e2e132 10800 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
10801 DT_NEEDED entries.
10802
e80d6f94
MM
108032012-04-05 Michael Matz <matz@suse.de>
10804
10805 [BZ #13592]
10806 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
10807
349fa79f
AJ
108082012-04-05 Andreas Jaeger <aj@suse.de>
10809
10810 [BZ #13908]
10811 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
10812 comment.
10813
f402708f
KK
108142012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10815
10816 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
10817 which ROUND is no valid rounding mode.
10818
2ecccfc9
KK
108192012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10820
10821 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
10822 read again.
10823 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
10824
8a53f50f
KK
108252012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10826
10827 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
10828 an exception using FPU order intentionally.
10829
108302012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10831
10832 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
10833 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
10834 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
10835 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
10836
d653abb7
SJ
108372012-04-05 Simon Josefsson <simon@josefsson.org>
10838
10839 [BZ #12340]
10840 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
10841 EINVAL when BUFLEN is too smal.
10842
c3b1bf7d
TS
108432012-04-05 Thomas Schwinge <thomas@codesourcery.com>
10844
10845 [BZ #13553]
10846 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
10847 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
10848
b1aa60f3
AJ
108492012-04-03 Andreas Jaeger <aj@suse.de>
10850
c3b1bf7d 10851 [BZ #13938]
67f60a26
AJ
10852 * manual/setjmp.texi (System V contexts): Fix sentence.
10853
b1aa60f3
AJ
10854 [BZ #13926]
10855 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
10856 New macro for this case.
10857 [!__GNUC__] (__bswap_64): New inline function for this case.
10858 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10859 * bits/byteswap.h: Likewise.
10860 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
10861 ull, guard with __GLIBC_HAVE_LONG_LONG.
10862
10863 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
10864 __GLIBC_HAVE_LONG_LONG.
10865
10866 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
10867 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
10868
39c59c35
TMQMF
108692012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10870
10871 [BZ #13691]
10872 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
10873 inptr and inend, rather than using last_ch.
10874
135ffda8
DM
108752012-04-02 David S. Miller <davem@davemloft.net>
10876
10877 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
10878 * stdio-common/printf-parse.h (read_int): Change return type to
10879 'int', return -1 on INT_MAX overflow.
10880 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
10881 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
10882 overflows INT_MAX. Check for overflow of in-format-string precision
10883 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
10884 SIZE_MAX not INT_MAX for integer overflow test.
10885 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
10886 skip the construct in the format string but do not record anything.
10887 * stdio-common/bug22.c: Adjust to test both width/prevision
10888 INT_MAX overflow as well as total length INT_MAX overflow. Check
10889 explicitly for proper errno values.
10890
228c019e
TS
108912012-04-02 Thomas Schwinge <thomas@codesourcery.com>
10892
302cadd3
TS
10893 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
10894 CHAR_MAX.
10895 * string/test-strcmp.c [! WIDE]: Likewise.
10896 * time/tst-mktime2.c: Likewise for INT_MAX.
10897 * string/test-string.h: #include <sys/param.h> for MIN.
10898
228c019e
TS
10899 * csu/init-first.c (__libc_init_first): Call __ctype_init.
10900 * sysdeps/i386/init-first.c (init): Likewise.
10901 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
10902 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
10903 * sysdeps/sh/init-first.c (init): Likewise.
10904
cfa633f5
UD
109052012-04-01 Ulrich Drepper <drepper@gmail.com>
10906
10907 * po/ru.po: Update from translation team.
d1635ef8 10908 * po/vi.po: Likewise.
cfa633f5 10909
6cd0a5ea
SP
109102012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10911
10912 * resolv/nss_dns/dns-host.c: Merge copyright years.
10913
4b43400f
LD
109142012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10915
10916 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10917 Optimize memcpy with prefetch if
10918 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
10919 src, dst pointers have unequal 16 byte alignments.
10920
48c41d04
SP
109212012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10922
10923 [BZ #13928]
10924 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
10925 from a CNAME entry and return the minimum ttl for the query.
10926 (gaih_getanswer_slice): Likewise.
10927
b8dc394d
JL
109282012-03-30 Jeff Law <law@redhat.com>
10929
10930 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
10931 due to long keys.
10932 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
10933 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
10934
2f5a5ed0
JL
10935 * resolv/nss_dns/dns-host.c: Update copyright year.
10936
1d39e359
UD
109372012-03-30 Ulrich Drepper <drepper@gmail.com>
10938
c030f70c 10939 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 10940 requests to save a system call. Fix check that all bytes are sent.
c030f70c 10941
1d39e359
UD
10942 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
10943 comments for sendmmsg.
10944
109452012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
10946
10947 [BZ #13691]
10948 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
10949 with only 1 character between 0x0041 and 0x01b0.
10950 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
10951 * wcsmbs/tst-mbsnrtowcs.c: New file.
10952
20fde227
DM
109532012-03-29 David S. Miller <davem@davemloft.net>
10954
10955 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
10956 small copies by hand.
10957
984a4237
JL
109582012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10959
10960 [BZ #13761]
10961 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
10962 _nss_compat_initgroups_dyn): Fall back to malloc/free
10963 for large group memberships.
10964
18c9d62b
DM
109652012-03-28 David S. Miller <davem@davemloft.net>
10966
88d85d4f
DM
10967 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
10968 that branches into memcpy.
10969 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
10970 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
10971 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10972 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
10973 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
10974 bits.
10975 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
10976 implementation too.
10977 * sysdeps/sparc/mempcpy.S: New file.
10978
e5aa83e1
DM
10979 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
10980 the IFUNC routine in the libc case.
10981 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10982
88570753
DM
10983 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
10984 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
10985 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
10986 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
10987 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
10988 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
10989 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
10990 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
10991
249d7567
DM
10992 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
10993 loop to 256 bytes instead of 64 bytes and fix test signedness.
10994
18c9d62b
DM
10995 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
10996 * sysdeps/sparc/sparc32/Makefile: rather than here...
10997 * sysdeps/sparc/sparc64/Makefile: and here.
10998
05f3d1f6
UD
109992012-03-28 Ulrich Drepper <drepper@gmail.com>
11000
11001 * malloc/mallocbug.c: Avoid warnings about unused variables.
11002
86ae07a8
JL
110032012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11004
11005 [BZ #13760]
11006 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
11007 in the right place. Discard and retry query if response is
11008 larger than input buffer size.
11009
41bf21a1
JM
110102012-03-28 Joseph Myers <joseph@codesourcery.com>
11011
d6270972
JM
11012 [BZ #369]
11013 [BZ #2678]
11014 [BZ #3866]
11015 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
11016 x for large integer exponent.
11017 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11018 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
11019 sign of result as needed afterwards.
11020 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11021 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
11022 result for underflowing pow the same as for overflow.
11023 (__kernel_standard_l): Handle powl overflow and underflow here
11024 rather than calling __kernel_standard.
11025 * math/libm-test.inc (pow_test): Add more tests.
11026
414fca03 11027 [BZ #3868]
41bf21a1
JM
11028 [BZ #13879]
11029 [BZ #13910]
11030 [BZ #13911]
11031 [BZ #13912]
11032 [BZ #13913]
11033 [BZ #13915]
11034 [BZ #13916]
11035 [BZ #13917]
11036 [BZ #13918]
11037 [BZ #13919]
11038 [BZ #13920]
11039 [BZ #13921]
11040 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
11041 * sysdeps/ieee754/k_standard.c: Include <float.h>.
11042 (__kernel_standard_l): New function.
11043 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
11044 __kernel_standard.
11045 * math/w_acosl.c (__acosl): Likewise.
11046 * math/w_asinl.c (__asinl): Likewise.
11047 * math/w_atan2l.c (__atan2l): Likewise.
11048 * math/w_atanhl.c (__atanhl): Likewise.
11049 * math/w_coshl.c (__coshl): Likewise.
11050 * math/w_exp10l.c (__exp10l): Likewise.
11051 * math/w_exp2l.c (__exp2l): Likewise.
11052 * math/w_fmodl.c (__fmodl): Likewise.
11053 * math/w_hypotl.c (__hypotl): Likewise.
11054 * math/w_j0l.c (__j0l, __y0l): Likewise.
11055 * math/w_j1l.c (__j1l, __y1l): Likewise.
11056 * math/w_jnl.c (__jnl, __ynl): Likewise.
11057 * math/w_lgammal.c (__lgammal): Likewise.
11058 * math/w_log10l.c (__log10l): Likewise.
11059 * math/w_log2l.c (__log2l): Likewise.
11060 * math/w_logl.c (__logl): Likewise.
11061 * math/w_powl.c (__powl): Likewise.
11062 * math/w_remainderl.c (__remainderl): Likewise.
11063 * math/w_scalbl.c (sysv_scalbl): Likewise.
11064 * math/w_sinhl.c (__sinhl): Likewise.
11065 * math/w_sqrtl.c (__sqrtl): Likewise.
11066 * math/w_tgammal.c (__tgammal): Likewise.
11067 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
11068 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
11069 * math/libm-test.inc (acos_test): Add more tests.
11070 (acosh_test): Likewise.
11071 (asin_test): Likewise.
11072 (atanh_test): Likewise.
11073 (exp_test): Likewise.
11074 (exp10_test): Likewise.
11075 (exp2_test): Likewise.
11076 (expm1_test): Likewise.
11077 (lgamma_test): Likewise.
11078 (log_test): Likewise.
11079 (log10_test): Likewise.
11080 (log1p_test): Likewise.
11081 (log2_test): Likewise.
11082 (pow_test): Do not allow some spurious overflow exceptions.
11083 (sqrt_test): Add more tests.
11084 (tgamma_test): Likewise.
11085 (y0_test): Likewise.
11086 (y1_test): Likewise.
11087 (yn_test): Likewise.
11088
dd62fda6
AB
110892012-03-27 Anton Blanchard <anton@samba.org>
11090
11091 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
11092 MAP_HUGETLB.
11093 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11094 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11095 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11096
1e3cdfda
AJ
110972012-03-27 David S. Miller <davem@davemloft.net>
11098
b855ab85
DM
11099 * conform/Makefile: Run run-conformtest.sh using $(BASH).
11100
1e3cdfda
AJ
11101 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
11102 have-as-vis3 check.
11103
111042012-03-27 Andreas Jaeger <aj@suse.de>
11105
11106 * sysdeps/x86_64/elf/configure.in: Moved to ...
11107 * sysdeps/x86_64/configure.in: ... here.
11108 * sysdeps/x86_64/elf/start.S: Moved to ...
11109 * sysdeps/x86_64/start.S: ... here.
11110 * sysdeps/x86_64/elf/configure: Delete.
11111
11112 * sysdeps/x86_64/configure.in: Merge contents from
11113 sysdeps/i386/configure.in (without i686 check).
11114
11115 * sysdeps/i386/elf/Versions: Merge into ...
11116 * sysdeps/i386/Versions: ... this.
11117 * sysdeps/i386/elf/Versions: Delete file.
11118 * sysdeps/i386/elf/start.S: Moved to ...
11119 * sysdeps/i386/start.S: ...here.
11120 * sysdeps/i386/elf/configure.in: Merge into...
11121 * sysdeps/i386/configure.in: ...here.
11122 * sysdeps/i386/elf/configure.in: Delete file.
11123 * sysdeps/i386/elf/configure: Delete file.
11124
11125 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
11126 * debug/backtracesyms.c: ... here.
11127 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
11128 * debug/backtracesymsfd.c: ... here.
11129 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
11130 * sysdeps/generic/ifunc-sel.h: ... here.
11131
11132 * sysdeps/unix/i386/start.c: Delete file.
11133 * sysdeps/unix/sparc/start.c: Delete file.
11134 * sysdeps/unix/start.c: Delete file.
11135
11136 * sysdeps/sh/elf/configure.in: Moved to ...
11137 * sysdeps/sh/configure.in: ... here.
11138 * sysdeps/sh/elf/start.S: Moved to ...
11139 * sysdeps/sh/start.S: ... here.
11140 * sysdeps/sh/elf/configure: Delete file.
11141
11142 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
11143 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
11144 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
11145 * sysdeps/powerpc/powerpc64/entry.h: ... here.
11146 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
11147 * sysdeps/powerpc/powerpc64/start.S: here.
11148 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
11149 * sysdeps/powerpc/powerpc64/Makefile: ... this.
11150 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
11151 * sysdeps/powerpc/powerpc64/configure.in: ... this.
11152 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
11153
11154 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
11155 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
11156 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
11157 * sysdeps/powerpc/powerpc32/start.S: ... here.
11158 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
11159 * sysdeps/powerpc/powerpc32/configure.in: ... this.
11160 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
11161
11162 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
11163 * sysdeps/powerpc/ifunc-sel.h: ... here.
11164 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
11165 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
11166
11167 * sysdeps/sparc/elf/configure.in: Moved to ...
11168 * sysdeps/sparc/configure.in: ... here.
11169 * sysdeps/sparc/elf/configure: Delete file.
11170 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
11171 * sysdeps/sparc/sparc32/start.S: ... here.
11172 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
11173 * sysdeps/sparc/sparc64/start.S: ... here.
11174 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
11175 * sysdeps/sparc/sparc32/Makefile: ... this.
11176 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
11177 * sysdeps/sparc/sparc64/Makefile: ... this.
11178
11179 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
11180 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
11181 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
11182 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
11183 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
11184 * sysdeps/s390/s390-32/setjmp.S: ... here.
11185 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
11186 * sysdeps/s390/s390-32/configure.in: ... here.
11187 * sysdeps/s390/s390-32/elf/configure: Delete file.
11188 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
11189 * sysdeps/s390/s390-32/start.S: ... here.
11190
11191 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
11192 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
11193 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
11194 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
11195 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
11196 * sysdeps/s390/s390-64/setjmp.S: ... here.
11197 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
11198 * sysdeps/s390/s390-64/configure.in: ... here
11199 * sysdeps/s390/s390-64/elf/configure: Delete file.
11200 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
11201 * sysdeps/s390/s390-64/start.S: ... here.
11202 * sysdeps/s390/s390-64/elf/configure: Delete.
11203
11204 * configure.in: Remove support for elf directories in sysdeps.
11205
11206 * configure: Regenerated.
11207 * sysdeps/i386/configure: Regenerated.
11208 * sysdeps/powerpc/powerpc32/configure: Regenerated.
11209 * sysdeps/powerpc/powerpc64/configure: Regenerated.
11210 * sysdeps/s390/s390-32/configure: Regenerated.
11211 * sysdeps/s390/s390-64/configure: Regenerated.
11212 * sysdeps/sh/configure: Regenerated.
11213 * sysdeps/sparc/configure: Regenerated.
11214 * sysdeps/x86_64/configure: Regenerated.
11215
a3f61311
AS
112162012-03-26 Andreas Schwab <schwab@linux-m68k.org>
11217
c876e002
AS
11218 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11219
a3f61311
AS
11220 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
11221 denormal result into account.
11222
ac4c54f0
RM
112232012-03-25 Roland McGrath <roland@hack.frob.com>
11224
11225 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
11226 Reported by Allan McRae <allan@archlinux.org>.
11227
6a9b9c02
JL
112282012-03-23 Jeff Law <law@redhat.com>
11229
11230 * nss/getnssent.c (__nss_getent): Fix typo.
11231
4c42a0c1
DM
112322012-03-23 David S. Miller <davem@davemloft.net>
11233
11234 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11235
1532c7ac
L
112362012-03-23 H.J. Lu <hongjiu.lu@intel.com>
11237
11238 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
11239 to pad to uint64_t for each field.
11240 (dl_tls_index): Replace unsigned long with uint64_t.
11241
3ff42526
PP
112422012-03-23 Daniel Jacobowitz <dmj@google.com>
11243 Paul Pluzhnikov <ppluzhnikov@google.com>
11244
11245 [BZ #6528]
11246 * grp/Makefile (otherlibs): Don't set it.
11247 * inet/Makefile (otherlibs): Likewise.
11248 * login/Makefile (otherlibs): Likewise.
11249 * nscd/Makefile (otherlibs): Likewise.
11250 * posix/Makefile (otherlibs): Likewise.
11251 * pwd/Makefile (otherlibs): Likewise.
11252 * rt/Makefile (otherlibs): Likewise.
11253 * sunrpc/Makefile (otherlibs): Likewise.
11254 * nss/Makefile (otherlibs): Likewise.
11255 Add libnss_files to routines and static-only-routines.
11256 ($(objpfx)getent): Remove rule.
11257 * resolv/Makefile: Add libnss_dns and libresolv to routines and
11258 static-only-routines.
11259
7c69cd14
JM
112602012-03-22 Joseph Myers <joseph@codesourcery.com>
11261
11262 [BZ #13892]
11263 * math/s_cexp.c: Include <float.h>.
11264 (__cexp): Handle exp result overflowing not necessarily
11265 overflowing both real and imaginary parts of result.
11266 * math/s_cexpf.c: Likewise.
11267 * math/s_cexpl.c: Likewise.
11268 * math/libm-test.inc (cexp_test): Add more tests.
11269 * sysdeps/i386/fpu/libm-test-ulps: Update.
11270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11271
81b035fe
L
112722012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11273
11274 * include/link.h (ELFW): New macro.
11275 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
11276 Replace ELF64_R_TYPE with ELFW(R_TYPE).
11277
1da7940c
L
112782012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11279
11280 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
11281 with uint64_t.
11282
b749dbb9
L
112832012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11284
11285 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
11286 declaration.
11287 (struct La_x32_retval): Likewise.
11288
2ff87f3f
L
112892012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11290
11291 * sysdeps/x86_64/preconfigure.in: New file.
11292 * sysdeps/x86_64/preconfigure: New generated file.
11293
c0df8e69
JM
112942012-03-22 Joseph Myers <joseph@codesourcery.com>
11295
48e44791
JM
11296 [BZ #13824]
11297 * math/e_exp2l.c: Include <float.h>.
11298 (__ieee754_exp2l): Handle overflow and underflow cases
11299 separately. Only pass fractional part of argument to
11300 __ieee754_expl.
11301 * math/libm-test.inc (exp2_test): Add more tests.
11302
c0df8e69
JM
11303 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
11304 negating x to take absolute value.
11305 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
11306 Likewise.
11307 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11308 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
11309 Likewise.
11310 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
11311 computing low part if x was negated.
11312 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11313
c8e43ba7
L
113142012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11315
11316 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
11317 la_x32_gnu_pltexit.
11318 (pltexit): Cast int_retval to ptrdiff_t.
11319 * elf/tst-auditmod3b.c: Likewise.
11320 * elf/tst-auditmod4b.c: Likewise.
11321 * elf/tst-auditmod5b.c: Likewise.
11322 * elf/tst-auditmod6b.c: Likewise.
11323 * elf/tst-auditmod6c.c: Likewise.
11324 * elf/tst-auditmod7b.c: Likewise.
11325
11326 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
11327 and x32_gnu_pltexit.
11328
11329 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
11330 __ELF_NATIVE_CLASS.
11331 (La_x32_regs): New macro.
11332 (La_x32_retval): Likewise.
11333 (la_x32_gnu_pltenter): New function prototype.
11334 (la_x32_gnu_pltexit): Likewise.
11335
7998fa78
AS
113362012-03-21 Andreas Schwab <schwab@linux-m68k.org>
11337
dcb33988
AS
11338 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
11339 exponent.
11340
233fc563
AS
11341 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11342
7998fa78
AS
11343 * configure.in (libc_cv_cc_nofma): Check for option to disable
11344 generation of FMA instructions.
11345 * configure: Regenerate.
11346 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
11347 * sysdeps/ieee754/dbl-64/Makefile: New file.
11348 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
11349 Remove brandred-fma4.
11350 (CFLAGS-brandred-fma4.c): Remove.
11351 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
11352 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
11353 define.
11354 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
11355 define.
11356
8e95c99a
L
113572012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11358
11359 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
11360 LLONG_MAX != LONG_MAX.
11361 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11362 (_fitoa_word): Likewise.
11363 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
11364 LLONG_MAX != LONG_MAX.
11365 * stdio-common/_itowa.h: Include <_itoa.h>.
11366 (_itowa_word): Use _ITOA_WORD_TYPE on value.
11367 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
11368 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
11369 only if not defined.
11370 (_ITOA_WORD_TYPE): Likewise.
11371 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11372 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
11373
6f4db457
DM
113742012-03-21 David S. Miller <davem@davemloft.net>
11375
11376 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11377
7785fe5a
L
113782012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11379
11380 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
11381 of x86_64 when setting libc_cv_slibdir, libdir and
11382 libc_cv_localedir.
11383 * sysdeps/unix/sysv/linux/configure: Regenerated.
11384
4535cd55
JM
113852012-03-21 Joseph Myers <joseph@codesourcery.com>
11386
11387 * manual/lang.texi (Old Varargs): Remove section.
11388 (How Variadic): Update menu.
11389 (va_start): Do not mention varargs.h.
11390
17228132
TS
113912012-03-21 Thomas Schwinge <thomas@codesourcery.com>
11392 Joseph Myers <joseph@codesourcery.com>
11393
11394 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
11395 link test.
11396 * configure: Regenerated.
11397
8149f976
TS
113982012-03-21 Thomas Schwinge <thomas@codesourcery.com>
11399
05f3d1f6
UD
11400 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
11401 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
11402 conformtest.pl
8149f976 11403
1a4ac776
JM
114042012-03-21 Joseph Myers <joseph@codesourcery.com>
11405
be22ce65
JM
11406 * NOTES: Remove.
11407 * Makefile (files-for-dist): Remove NOTES.
11408 (NOTES): Remove rule.
11409 * README: Don't refer to NOTES.
11410 * manual/creature.texi: Don't include macros.texi.
11411 * manual/intro.texi (creature.texi): Remove comment referring to
11412 NOTES.
11413
40b601fb
JM
11414 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
11415 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
11416 * configure: Regenerated.
11417 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
11418 LIBC_TRY_CC_OPTION.
11419 (libc_cv_as_i686): Likewise.
11420 (libc_cv_cc_avx): Likewise.
11421 (libc_cv_cc_sse2avx): Likewise.
11422 (libc_cv_cc_fma4): Likewise.
11423 (libc_cv_cc_novzeroupper): Likewise.
11424 * sysdeps/i386/configure: Regenerated.
11425
1a4ac776
JM
11426 [BZ #13883]
11427 * sysdeps/i386/fpu/s_cexp.S: Remove.
11428 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11429 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11430 * math/libm-test.inc (cexp_test): Add more tests.
11431 * sysdeps/i386/fpu/libm-test-ulps: Update.
11432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11433
a458e7fe
AM
114342012-03-21 Allan McRae <allan@archlinux.org>
11435
11436 * timezone/Makefile: Do not install iso3166.tab and zone.tab
11437
0cb7efc5
JM
114382012-03-21 Joseph Myers <joseph@codesourcery.com>
11439
11440 [BZ #13871]
11441 * math/w_exp2.c: Do not include <float.h>.
11442 (o_threshold, u_threshold): Remove.
11443 (__exp2): Calculate result before checking finiteness and calling
11444 __kernel_standard.
11445 * math/w_exp2f.c: Likewise.
11446 * math/w_exp2l.c: Likewise.
11447 * math/libm-test.inc (exp2_test): Require overflow exception for
11448 1e6 input.
2460d3aa
JM
11449
11450 [BZ #3866]
11451 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
11452 range of signed 64-bit integers before using fistpll. Remove
11453 checks for whether integers fit in mantissa bits.
11454 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
11455 the range of signed 32-bit integers before using fistpl. Remove
11456 checks for whether integers fit in mantissa bits.
11457 * sysdeps/i386/fpu/e_powl.S (p64): New object.
11458 (__ieee754_powl): Test for y outside the range of signed 64-bit
11459 integers before using fistpll. Reduce 64-bit values to 63-bit
11460 ones as needed.
11461 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
11462 divide-by-zero is raised for zero to large negative powers.
11463 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
11464 (__ieee754_powl): Test for y outside the range of signed 64-bit
11465 integers before using fistpll. Reduce 64-bit values to 63-bit
11466 ones as needed.
11467 * math/libm-test.inc (pow_test): Add more tests.
11468
eb96ffb0
L
114692012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11470
11471 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
11472 <stdio-common/_itoa.h>.
11473 * debug/segfault.c: Likewise.
11474 * elf/dl-cache.c: Likewise.
11475 * elf/dl-minimal.c: Likewise.
11476 * elf/dl-misc.c: Likewise.
11477 * elf/dl-sysdep.c: Likewise.
11478 * elf/dl-version.c: Likewise.
11479 * elf/rtld.c: Likewise.
11480 * hurd/hurdsock.c: Likewise.
11481 * hurd/lookup-retry.c: Likewise.
11482 * malloc/malloc.c: Likewise.
11483 * malloc/mtrace.c: Likewise.
11484 * nscd/nscd_getgr_r.c: Likewise.
11485 * nscd/nscd_getpw_r.c: Likewise.
11486 * nscd/nscd_getserv_r.c: Likewise.
11487 * posix/getopt_init.c: Likewise.
11488 * posix/wordexp.c: Likewise.
11489 * stdio-common/_itoa.c: Likewise.
11490 * stdio-common/printf_fphex.c: Likewise.
11491 * stdio-common/vfprintf.c: Likewise.
11492 * string/_strerror.c: Likewise.
11493 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
11494 * sysdeps/i386/i686/hp-timing.h: Likewise.
11495 * sysdeps/mach/_strerror.c: Likewise.
11496 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
11497 * sysdeps/mach/hurd/sethostid.c: Likewise.
11498 * sysdeps/mach/hurd/xmknodat.c: Likewise.
11499 * sysdeps/mach/xpg-strerror.c: Likewise.
11500 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11501 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11502 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
11503 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
11504 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11505 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
11506 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
11507 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
11508 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
11509 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
11510 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
11511 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11512 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
11513 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
11514 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
11515 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
11516 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
11517 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
11518 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
11519 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
11520 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
11521
11522 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
11523
11524 * stdio-common/_itoa.h: Moved to ...
11525 * sysdeps/generic/_itoa.h: Here.
11526
11527 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
11528
11529 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
11530 instead of "_itoa.h" and "_itowa.h".
11531 * stdio-common/vfprintf.: Likewise.
11532
d1af992d
L
115332012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11534
11535 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
11536 <bits/wordsize.h>.
11537 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
11538 (__signbit): Likwise.
11539 (llrintf): Likwise.
11540 (llrint): Likwise.
11541
114883e0
L
115422012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11543
11544 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
11545 __WORDSIZE != 64.
11546
c135cc1b
JM
115472012-03-20 Joseph Myers <joseph@codesourcery.com>
11548
11549 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
11550 OVERFLOW_EXCEPTION_OK.
11551 * math/libm-test.inc ("Philosophy"): Update comment about
11552 exception testing.
11553 (OVERFLOW_EXCEPTION): Define.
11554 (OVERFLOW_EXCEPTION_OK): Likewise.
11555 (INVALID_EXCEPTION_OK): Renumber.
11556 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11557 (IGNORE_ZERO_INF_SIGN): Likewise.
11558 (test_exceptions): Handle FE_OVERFLOW.
11559 (exp10_test): Expect overflow exceptions.
11560 (exp2_test): Likewise.
11561 (expm1_test): Likewise.
11562 (nextafter_test): Likewise.
11563 (pow_test): Likewise.
11564 (scalbn_test): Likewise.
11565 (scalbln_test): Likewise.
11566
95443d88
L
115672012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11568
11569 * sysdeps/x86_64/bits/atomic.h
11570 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
11571 64bit integer.
11572 (atomic_exchange_acq): Likewise.
11573 (__arch_exchange_and_add_body): Likewise.
11574 (__arch_add_body): Likewise.
11575 (atomic_add_negative): Likewise.
11576 (atomic_add_zero): Likewise.
11577
490df6c4
L
115782012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11579
c2722551 11580 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
11581 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
11582
5e52b189
L
115832012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11584
11585 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
11586 Check __x86_64__ instead of __WORDSIZE.
11587
a9879d4c
L
115882012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11589
11590 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
11591
5df98260
DM
115922012-03-19 David S. Miller <davem@davemloft.net>
11593
e1497744
DM
11594 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11595
5df98260
DM
11596 * sysdeps/sparc/fpu/fenv_private.h: New file.
11597 * sysdeps/sparc/fpu/math_private.h: Use it.
11598 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
11599 Remove.
11600 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
11601 (libc_feholdexcept_setroundl): Remove.
11602 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
11603 Remove.
11604 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
11605 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
11606
b4c35121
L
116072012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11608
11609 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
11610 int64_t instead of long int.
11611 (INSERT_WORDS64): Likwise.
11612
56965fd7
L
116132012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11614
11615 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
11616 _Unwind_GetCFA return to _Unwind_Ptr first.
11617
83d1aec8
JM
116182012-03-19 Joseph Myers <joseph@codesourcery.com>
11619
1897ad44
JM
11620 [BZ #13629]
11621 * math/s_clog.c: Include <float.h>.
11622 (__clog): Scale large or subnormal inputs.
11623 * math/s_clogf.c: Likewise.
11624 * math/s_clogl.c: Likewise.
11625 * math/s_clog10.c: Include <float.h>.
11626 (M_LOG10_2): Define.
11627 (__clog10): Scale large or subnormal inputs.
11628 * math/s_clog10f.c: Likewise.
11629 * math/s_clog10l.c: Likewise.
11630 * math/libm-test.inc (clog_test): Add more tests.
11631 (clog10_test): Likewise.
11632 * sysdeps/i386/fpu/libm-test-ulps: Update.
11633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11634
7726d6a9
JM
11635 [BZ #11451]
11636 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
11637 x and y.
11638 * math/libm-test.inc (atan2_test): Add another test.
11639
83d1aec8
JM
11640 * Makerules (common-objdir-compile): Remove.
11641 * sysdeps/unix/Makefile (config-generated): Do not add
11642 $(unix-generated) to variable.
11643 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
11644 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
11645 Remove rule.
11646 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
11647 Likewise.
11648 [generic bits/local_lim.h] (before-compile): Do not append to
11649 variable.
11650 [generic bits/local_lim.h] (common-generated): Likewise.
11651 [generic sys/param.h] (before-compile): Do not append to variable.
11652 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
11653 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
11654 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
11655 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
11656 include.
11657 [generic sys/param.h] (sys/param.h-includes): Remove variable.
11658 [generic sys/param.h] (sys/param.h-includes): Remove rule.
11659 [generic sys/param.h] ($(addprefix
11660 $(common-objpfx),$(sys/param.h-includes))): Likewise.
11661 [generic sys/param.h] (common-generated): Do not append to
11662 variable.
11663 [generic sys/param.h] (sysdep_headers): Likewise.
11664 [generic bits/errno.h] (before-compile): Do not append to
11665 variable.
11666 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
11667 rule.
11668 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
11669 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
11670 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
11671 [generic bits/errno.h] (common-generated): Do not append to
11672 variable.
11673 [generic bits/ioctls.h] (before-compile): Do not append to
11674 variable.
11675 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
11676 rule.
11677 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
11678 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
11679 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
11680 rule.
11681 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
11682 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
11683 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
11684 [generic bits/ioctls.h] (common-generated): Do not append to
11685 variable.
11686 [generic sys/syscall.h] (syscall.h): Remove variable.
11687 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
11688 rule.
11689 [generic sys/syscall.h] (before-compile): Do not append to
11690 variable.
11691 [generic sys/syscall.h] (common-generated): Likewise.
11692 * sysdeps/unix/errnos-tmpl.c: Remove file.
11693 * sysdeps/unix/errnos.awk: Likewise.
11694 * sysdeps/unix/ioctls-tmpl.c: Likewise.
11695 * sysdeps/unix/ioctls.awk: Likewise.
11696 * sysdeps/unix/mk-local_lim.c: Likewise.
11697 * sysdeps/unix/snarf-ioctls: Likewise.
11698
4851a949
RH
116992012-03-19 Richard Henderson <rth@twiddle.net>
11700
bd37f2ee
RH
11701 * sysdeps/i386/fpu/fenv_private.h: New file.
11702 * sysdeps/i386/fpu/math_private.h: Use it.
11703 (math_opt_barrier, math_force_eval): Remove.
11704 (libc_feholdexcept_setround_53bit): Remove.
11705 (libc_feupdateenv_53bit): Remove.
11706 * sysdeps/x86_64/fpu/math_private.h: Likewise.
11707 (math_opt_barrier, math_force_eval): Remove.
11708 (libc_feholdexcept): Remove.
11709 (libc_feholdexcept_setround): Remove.
11710 (libc_fetestexcept, libc_fesetenv): Remove.
11711 (libc_feupdateenv_test): Remove.
11712 (libc_feupdateenv, libc_feholdsetround): Remove.
11713 (libc_feresetround): Remove.
11714
d0adc922
RH
11715 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
11716 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
11717
0fe0f1f8
RH
11718 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
11719 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
11720 (libc_feupdateenv_testl): New.
11721 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
11722 (libc_feupdateenv_testf): New.
11723 (libc_feupdateenv): Use libc_feupdateenv_test.
11724 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
11725 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
11726
eb92c487
RH
11727 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
11728 (libc_feholdsetroundf, libc_feholdsetroundl): New.
11729 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
11730 (libc_feresetround_noex): New.
11731 (libc_feresetround_noexf): New.
11732 (libc_feresetround_noexl): New.
11733 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
11734 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
11735 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
11736 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
11737 SET_RESTORE_ROUND.
11738 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11739 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
11740 (__cos): Likewise.
11741 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
11742 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
11743 SET_RESTORE_ROUND_NOEX.
11744 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
11745 SET_RESTORE_ROUND_NOEXF.
11746 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
11747 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
11748 (libc_feholdsetroundf): New.
11749 (libc_feresetround, libc_feresetroundf): New.
11750
7d2e8012
RH
11751 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
11752 (libc_feholdexcept_setround_53bit): Convert from macro to function.
11753 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
11754
b4dabbb4
RH
11755 * sysdeps/generic/math_private.h: Include <fenv.h>.
11756 (default_libc_feholdexcept): New.
11757 (default_libc_feholdexcept_setround): New.
11758 (default_libc_fesetenv, default_libc_feupdateenv): New.
11759 (libc_feholdexcept): Only define if undefined.
11760 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
11761 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
11762 (libc_feholdexcept_setroundl): Likewise.
11763 (libc_feholdexcept_setround_53bit): Likewise.
11764 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
11765 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
11766 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
11767 (libc_feupdateenv_53bit): Likewise.
11768 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
11769 (libc_feholdexcept): Convert from macro to inline function.
11770 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
11771 (libc_fesetenv, libc_feupdateenv): Likewise.
11772
4851a949
RH
11773 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
11774 not previously defined.
11775 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
11776 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
11777 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
11778 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
11779 * sysdeps/ieee754/flt-32/math_private.h: New file.
11780 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
11781 math_private.h below SET_FLOAT_WORD.
11782 (__isnan, __isinf_ns, __finite): Remove.
11783 (__isnanf, __isinf_nsf, __finitef): Remove.
11784
e79d442e
AS
117852012-03-18 Andreas Schwab <schwab@linux-m68k.org>
11786
11787 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11788
90b80344
DM
117892012-03-17 David S. Miller <davem@davemloft.net>
11790
11791 [BZ #6471]
11792 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
11793 for 2.16.
11794
edc21804
DM
117952012-03-16 David S. Miller <davem@davemloft.net>
11796
77e927af
DM
11797 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
11798 warnings.
11799
374976dd
DM
11800 [BZ #6471]
11801 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
11802 properly.
11803 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
11804 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
11805 sysdep_routines when subdir is sysvipc.
11806 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
11807 __getshmlba helper.
11808
edc21804
DM
11809 * sysdeps/sparc/fpu/libm-test/ulps: Update.
11810
473c3ef3
L
118112012-03-16 H.J. Lu <hongjiu.lu@intel.com>
11812
11813 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
11814 [__LP64__].
11815
eb0f39b6
L
118162012-03-16 H.J. Lu <hongjiu.lu@intel.com>
11817
11818 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
11819 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
11820 (__lround): Renamed to ...
11821 (__llround): This. Replace long int with long long int.
11822 Define lround functions as aliases of llround functions.
11823 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
11824
6b6cd74b
L
118252012-03-16 H.J. Lu <hongjiu.lu@intel.com>
11826
11827 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
11828 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
11829 adresses to uintptr_t. Replace "long int" and "unsigned long
11830 int" with "greg_t" on va_arg.
11831
f1a77b01
L
118322012-03-16 H.J. Lu <hongjiu.lu@intel.com>
11833
11834 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
11835 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
11836
11837 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
11838 Move e_machine check before EI_CLASS check. Handle x32
11839 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
11840 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
11841 SKIP_EM_IA_64 and include
11842 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
11843
11844 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
11845 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
11846 (add_system_dir): New macro.
11847
11848 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
11849 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
11850
11b90b9f
JM
118512012-03-16 Joseph Myers <joseph@codesourcery.com>
11852
c36e1d23
JM
11853 [BZ #2551]
11854 [BZ #2552]
11855 [BZ #2553]
11856 [BZ #2554]
11857 [BZ #2562]
11858 [BZ #2563]
11859 [BZ #2565]
11860 [BZ #2566]
11861 [BZ #2576]
11862 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
11863 (y0): Likewise.
11864 * math/w_j0f.c (j0f): Likewise.
11865 (y0f): Likewise.
11866 * math/w_j0l.c (__j0l): Likewise.
11867 (__y0l): Likewise.
11868 * math/w_j1.c (j1): Likewise.
11869 (y1): Likewise.
11870 * math/w_j1f.c (j1f): Likewise.
11871 (y1f): Likewise.
11872 * math/w_j1l.c (__j1l): Likewise.
11873 (__y1l): Likewise.
11874 * math/w_jn.c (jn): Likewise.
11875 (yn): Likewise.
11876 * math/w_jnf.c (jnf): Likewise.
11877 (ynf): Likewise.
11878 * math/w_jnl.c (__jnl): Likewise.
11879 (__ynl): Likewise.
11880 * math/libm-test.inc (j0_test): Add more tests.
11881 (j1_test): Likewise.
11882 (jn_test): Likewise. Add trailing semicolon to existing test.
11883 (y0_test): Likewise.
11884 (y1_test): Likewise.
11885 * sysdeps/i386/fpu/libm-test-ulps: Update.
11886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11887
11b90b9f
JM
11888 [BZ #13851]
11889 [BZ #13854]
11890 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
11891 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
11892 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
11893 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
11894 (__tanl): Set errno for infinite argument.
11895 * sysdeps/i386/fpu/mptan.c: Remove.
11896 * sysdeps/i386/fpu/s_tan.S: Likewise.
11897 * sysdeps/i386/fpu/s_tanl.S: Likewise.
11898 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
11899 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
11900 * math/libm-test.inc (tan_test): Add more tests and enable more
11901 tests for double and long double.
11902 * sysdeps/i386/fpu/libm-test-ulps: Update.
11903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11904
6a1bd2a1
JK
119052012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11906
11907 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
11908 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
11909
10a803e0
RM
119102012-03-16 Roland McGrath <roland@hack.frob.com>
11911
11912 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
11913 * configure.in: Use it for both main tree and add-ons.
11914 * configure: Regenerated.
11915
f196c7f7
L
119162012-03-16 H.J. Lu <hongjiu.lu@intel.com>
11917
11918 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
11919
8848d99d
JM
119202012-03-16 Joseph Myers <joseph@codesourcery.com>
11921
96cbe7f4
JM
11922 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
11923 in comment.
11924
8848d99d
JM
11925 [BZ #13851]
11926 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
11927 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
11928 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
11929 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
11930 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
11931 infinite argument.
11932 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
11933 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
11934 != 0 for prec == 2.
11935 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
11936 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
11937 * sysdeps/i386/fpu/s_cosl.S: Likewise.
11938 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
11939 * sysdeps/i386/fpu/s_sinl.S: Likewise.
11940 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
11941 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
11942 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
11943 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
11944 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
11945 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
11946 * math/libm-test.inc (cos_test): Add more tests and enable more
11947 tests for long double.
11948 (sin_test): Likewise.
11949 (sincos_test): Likewise.
11950 * sysdeps/i386/fpu/libm-test-ulps: Update.
11951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11952
dd7f4703
DM
119532012-03-16 David S. Miller <davem@davemloft.net>
11954
11955 * sysdeps/sparc/fpu/math_private.h: New file.
11956
006f1daa
DM
119572012-03-15 David S. Miller <davem@davemloft.net>
11958
c0c83bc8
DM
11959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
11960 file.
e6a62e18 11961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
11962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
11963 file.
e6a62e18
DM
11964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
11965 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
11966 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
11967 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
11968 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
11969 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
11970 sysdep routines.
11971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
11972
88cb87d9
DM
11973 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
11974 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
11975
006f1daa 11976 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
11977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
11978 sparc-ifunc.h
006f1daa 11979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
11980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
11981 Likewise.
11982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
11983 Likewise.
006f1daa
DM
11984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
11985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
11986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
11987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
11988 Likewise.
006f1daa
DM
11989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
11990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
11991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
11992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
11993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
11994 Likewise.
11995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
11996 Likewise.
006f1daa
DM
11997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
11998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
11999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
12000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
12001 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12002 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12003 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
12004 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
12005 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12006 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12007 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
12008 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
12009 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
12010 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
12011 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
12012 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
12013 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
12014 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
12015 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
12016 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
12017 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
12018 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
12019 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
12020 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
12021
11e0098e
AS
120222012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12023
12024 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
12025 scaling.
12026 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12027
e85b09d0
AJ
120282012-03-15 Andreas Jaeger <aj@suse.de>
12029
12030 [BZ #13852]
12031 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
12032 ieee754/flt-32 implementation for sin, cos and sincos.
12033 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
12034 * sysdeps/i386/fpu/s_cosf.S: Likewise.
12035 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
12036 * sysdeps/i386/fpu/s_sinf.S: Likewise.
12037 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
12038 ieee754/flt-32 implementation for tan.
12039
12040 * math/libm-test.inc (cos_test): Enable some large input tests for
12041 float as well
12042 (sin_test): Likewise.
12043 (sincos_test): Likewise.
12044 (tan_test): Add tests for large input.
12045
12046 * sysdeps/i386/fpu/libm-test-ulps: Update.
12047
81c64153
AJ
120482012-03-15 Andreas Jaeger <aj@suse.de>
12049
12050 [BZ #13658]
12051 * math/libm-test.inc (cos_test): Add more test cases.
12052 (sin_test): Likewise.
12053 (sincos_test): Likewise.
12054
7bbfa5c6
AJ
120552012-03-15 Andreas Jaeger <aj@suse.de>
12056
12057 [BZ #13837]
12058 * math/libm-test.inc (cos_test): Add a test case for large input
12059 value.
12060 (sin_test): Likewise.
12061 (sincos_test): Likewise.
12062
120632012-03-15 Andreas Jaeger <aj@suse.de>,
12064 Joseph Myers <joseph@codesourcery.com>
12065
12066 [BZ #13658]
0671f479 12067 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
12068 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
12069 * sysdeps/i386/fpu/branred.c: Likewise.
12070 * sysdeps/i386/fpu/dosincos.c: Likewise.
12071 * sysdeps/i386/fpu/mpa.c: Likewise.
12072 * sysdeps/i386/fpu/s_cos.S: Likewise.
12073 * sysdeps/i386/fpu/s_sin.S: Likewise.
12074 * sysdeps/i386/fpu/s_sincos.S: Likewise.
12075 * sysdeps/i386/fpu/sincos32.c: Likewise.
12076
12077 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
12078 Define.
12079 (libc_feupdateenv_53bit): Define.
12080 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
12081 Define.
12082 (libc_feupdateenv_53bit): Define.
12083
12084 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
12085 53 bit (without extend i386 double precision).
12086
12087 * math/libm-test.inc (sincos_test): Add tests for large input.
12088 (sin): Likewise.
12089 (cos): Likewise.
12090
12091 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12092
9cad04ea
AS
120932012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12094
12095 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12096
f7062b9a
DM
120972012-03-15 David S. Miller <davem@davemloft.net>
12098
12099 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
12100 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
12101 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
12102 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
12103 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
12104 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
12105 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
12106 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
12107 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
12108 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
12109 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
12110 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
12111 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
12112 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
12113 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
12114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
12115 file.
f7062b9a 12116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
12117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
12118 file.
f7062b9a 12119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
12120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
12121 file.
f7062b9a 12122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
12123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
12124 file.
f7062b9a
DM
12125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
12126 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
12127 fmin/fmax sysdep routines.
12128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12129
7bd951ff
DM
121302012-03-14 David S. Miller <davem@davemloft.net>
12131
559398ab
DM
12132 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
12133 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
12134 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
12135 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
12136 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
12137 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
12138 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
12139 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
12140 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
12141 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
12142 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
12143 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
12144 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
12145 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
12146 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
12147 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
12148 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
12149 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
12150 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
12151 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
12152 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
12153 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
12154 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
12155 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
12156 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
12157 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
12158 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
12159 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
12160 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
12161 routines.
12162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
12163 file.
559398ab 12164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
12165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
12166 file.
559398ab 12167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
12168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
12169 file.
559398ab 12170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
12171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
12172 file.
559398ab 12173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
12174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
12175 file.
559398ab 12176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
12177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
12178 file.
12179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
12180 file.
12181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
12182 file.
12183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
12184 file.
12185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
12186 New file.
12187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
12188 file.
12189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
12190 file.
559398ab 12191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
12192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
12193 file.
559398ab 12194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
12195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
12196 file.
559398ab 12197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
12198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
12199 file.
559398ab 12200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
12201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
12202 VIS3 routines.
559398ab
DM
12203
12204 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
12205 New file.
12206
5a1c1e32
DM
12207 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12208
eae47a36
DM
12209 * sysdeps/sparc/configure.in: New file.
12210 * sysdeps/sparc/configure: Generate.
12211 * configure.in (libc_cv_sparc_as_vis3): Substitute.
12212 * configure: Regenerate.
12213 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
12214 * config.make.in (have-as-vis3): New.
12215 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
12216 available use -Av9d instead of -Av9a.
12217 * sysdeps/sparc/sparc64/Makefile: Likewise.
12218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
12219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
12220 New file.
12221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
12222 file.
12223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
12224 New file.
12225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
12226 file.
eae47a36
DM
12227 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
12228 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
12229 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
12230 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
12231 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
12232
c0c83bc8
DM
12233 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
12234 fzeros/fnegs to load 0x80000000 into a float register instead of
12235 using the stack.
7bd951ff
DM
12236 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
12237
bd951ccb
JM
122382012-03-14 Joseph Myers <joseph@codesourcery.com>
12239
12240 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12241 bits/syscall.h.
12242 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
12243 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
12244 ($(inst_includedir)/bits/syscall.h): Remove rule.
12245 ($(objpfx)bits/syscall.d): Include instead of
12246 $(objpfx)syscall-list.d.
12247 (generated): Change syscall-list.h and syscall-list.d to
12248 bits/syscall.h and bits/syscall.d.
12249
bb4e6db2
RM
122502012-03-14 Roland McGrath <roland@hack.frob.com>
12251
12252 [BZ #13846]
12253 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
12254
aa4a2ae1
JM
122552012-03-14 Joseph Myers <joseph@codesourcery.com>
12256
e456826d
JM
12257 [BZ #13841]
12258 * math/s_csqrt.c: Include <float.h>.
12259 (__csqrt): Scale large or subnormal inputs.
12260 * math/s_csqrtf.c: Likewise.
12261 * math/s_csqrtl.c: Likewise.
12262 * math/libm-test.inc (csqrt_test): Add more tests.
12263 * sysdeps/i386/fpu/libm-test-ulps: Update.
12264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12265
aa4a2ae1
JM
12266 [BZ #13840]
12267 * math/libm-test.inc (hypot_test): Add more tests.
12268
7c10fd35
DM
122692012-03-13 David S. Miller <davem@davemloft.net>
12270
12271 [BZ #13840]
12272 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
12273 double-precision for the calculation instead of scaling.
12274
f453b98b
JM
122752012-03-13 Joseph Myers <joseph@codesourcery.com>
12276
12277 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
12278 manipulate bits before adding and subtracting TWO52[sx].
12279 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
12280 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
12281 Likewise.
12282 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
12283
09a3453f
DM
122842012-03-13 David S. Miller <davem@davemloft.net>
12285
8e59da90
DM
12286 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
12287 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
12288 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
12289 rtld-global-offsets.h
12290 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12291
2a8ab7f2
DM
12292 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
12293 large parameters.
12294
10f62770
DM
12295 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
12296
5f0bdb18
DM
12297 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
12298 'err' in the ifdef scope in which it is actually used.
12299
09a3453f
DM
12300 * nss/nss_db/db-init.c: Include string.h
12301
b4b2eb5e
DM
123022012-03-12 David S. Miller <davem@davemloft.net>
12303
98bb2f1c
DM
12304 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
12305 masking out of the most significant byte of random value used.
12306 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12307 Fix coding style in previous change.
12308
b4b2eb5e
DM
12309 * sysdeps/unix/sysv/linux/kernel-features.h
12310 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
12311 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
12312 expression.
12313 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
12314 later.
12315
6e226b09
DM
123162012-03-11 David S. Miller <davem@davemloft.net>
12317
a1bcbd40
DM
12318 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
12319 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
12320 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
12321 for 'resultvar' otherwise things get truncated on 64-bit.
12322
cb9d6174
DM
12323 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12324 Fix masking out of the most significant byte of random value used.
12325
6e226b09
DM
12326 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12327
058c132d
AS
123282012-03-10 Andreas Schwab <schwab@linux-m68k.org>
12329
12330 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12331
2d2cd515
DM
123322012-03-09 David S. Miller <davem@davemloft.net>
12333
12334 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
12335 variables with appropriate CPP guards.
12336 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
12337 frame pointer, not the stack pointer. Correct layout comments. Fix test
12338 on resulting framesize and the management of the outregs buffer for pltexit.
12339 Preserve floating point return values across _dl_call_pltexit call.
12340 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
12341 framesize and the management of the outregs buffer for pltexit.
12342 Preserve floating point return values across _dl_call_pltexit
12343 call.
12344 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
12345 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
12346 (print_exit): Fix format string for return register value.
12347
9a07f9d0
JM
123482012-03-10 Joseph Myers <joseph@codesourcery.com>
12349
12350 * sunrpc/Makefile (others): Add rpcgen.
12351 ($(objpfx)rpcgen): Remove special build rule and dependency on
12352 libc.
12353 * sunrpc/rpcgen.c: New file.
12354
547b5e30
PE
123552012-03-09 Paul Eggert <eggert@cs.ucla.edu>
12356
c524201a
PE
12357 [BZ #13673]
12358 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
12359 * stdio-common/bug-vfprintf-nargs.c: Likewise.
12360 * sysdeps/i386/crti.S: Likewise.
12361 * sysdeps/i386/crtn.S: Likewise.
12362 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
12363 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
12364 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
12365 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
12366 * sysdeps/sh/crti.S: Likewise.
12367 * sysdeps/sh/crtn.S: Likewise.
12368 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
12369
7b6235f2
PE
12370 [BZ #13673]
12371 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
12372 with URL.
12373 * locale/programs/locfile-kw.gperf: Likewise.
12374 * locale/programs/charmap-kw.h: Regenerated.
12375 * locale/programs/locfile-kw.h: Likewise.
12376
547b5e30
PE
12377 [BZ #13673]
12378 * intl/plural.y: Replace FSF snail mail address with URL.
12379 * intl/plural.c: Regenerated.
12380
5f0a5dae
RH
123812012-03-09 Richard Henderson <rth@twiddle.net>
12382
12383 * include/math_private.h: Remove file.
12384 * math/math_private.h: Move file ...
12385 * sysdeps/generic/math_private.h: ... here.
12386
b8c03620
RH
12387 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
12388 * sysdeps/powerpc/fpu/math_private.h: Likewise.
12389 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12390
4e234f5d 12391 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
12392 and <math_private.h>.
12393 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
12394 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
12395 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12396 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12397 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12398 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
12399 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12400 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12401 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12402 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12403 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12404 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12405 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12406 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12407 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12408 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12409 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12410 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12411 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12412 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12413 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12414 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12415 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12416 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12417 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12418 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12419 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12420 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12421 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12422 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12423 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12424 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12425 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12426 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12427 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12428 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12429 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12430 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12431 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12432 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12433 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
12434 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12435 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
12436 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12437 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12438 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12439 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12440 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12441 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12442 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12443 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12444 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
12445 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12446 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12447 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12448 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12449 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12450 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12451 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12452 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
12453 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12454 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12455 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12456 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12457 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
12458 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12459 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12460 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12461 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
12462 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
12463 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
12464 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12465 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
12466 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12467 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
12468 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
12469 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
12470 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12471 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
12472 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
12473 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
12474 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
12475 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
12476 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12477 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12478 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
12479 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
12480 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
12481 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
12482 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12483 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12484 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
12485 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12486 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12487 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
12488 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
12489 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12490 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12491 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12492 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12493 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
12494 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
12495 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
12496 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
12497 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12498 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
12499 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12500 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
12501 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12502 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12503 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12504 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12505 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12506 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12507 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
12508 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12509 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12510 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12511 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12512 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12513 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12514 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12515 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12516 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
12517 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12518 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12519 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
12520 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
12521 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12522 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12523 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
12524 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12525 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12526 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12527 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
12528 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12529 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12530 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12531 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
12532 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12533 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12534 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12535 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12536 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
12537 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
12538 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12539 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12540 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12541 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
12542 * sysdeps/ieee754/k_standard.c: Likewise.
12543 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
12544 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12545 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12546 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12547 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12548 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12549 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12550 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12551 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12552 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12553 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12554 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12555 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12556 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12557 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12558 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12559 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12560 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12561 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12562 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
12563 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
12564 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
12565 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12566 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12567 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12568 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
12569 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12570 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12571 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12572 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12573 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12574 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12575 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12576 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12577 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12578 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12579 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
12580 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
12581 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
12582 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12583 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12584 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12585 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12586 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12587 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12588 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12589 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12590 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12591 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12592 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12593 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12594 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12595 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12596 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
12597 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12598 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12599 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
12600 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
12601 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12602 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12603 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12604 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12605 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12606 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
12607 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12608 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12609 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
12610 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12611 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
12612 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
12613 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12614 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12615 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
12616 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
12617 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
12618 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12619 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
12620 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
12621 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12622 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12623 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12624 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12625 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12626 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12627 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
12628 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12629 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
12630 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
12631 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12632 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12633 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
12634 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
12635 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
12636 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12637 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12638 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
12639 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
12640 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
12641 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
12642 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
12643 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
12644 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12645 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12646 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12647 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
12648 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12649 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12650 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
12651 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
12652 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
12653 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12654 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
12655 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
12656 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12657 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
12658 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12659 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
12660 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12661 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12662 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12663 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12664 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
12665 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12666 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12667 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12668 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
12669 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12670 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12671 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
12672 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12673 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12674 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12675 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12676 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12677 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
12678 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
12679 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
12680 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12681 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12682 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
12683 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
12684 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12685 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
12686 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
12687 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
12688 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12689 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12690 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12691 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12692 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
12693 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12694 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12695 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12696 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12697 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
12698 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
12699 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
12700 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12701 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
12702 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12703 * sysdeps/ieee754/s_lib_version.c: Likewise.
12704 * sysdeps/ieee754/s_matherr.c: Likewise.
12705 * sysdeps/ieee754/s_signgam.c: Likewise.
12706 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12707 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12708 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
12709 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
12710 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
12711 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12712 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
12713 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
12714 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
12715 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
12716 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12717 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
12718 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
12719 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12720 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
12721 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
12722 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12723 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
12724 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12725 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12726 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 12727
1991fa03
JM
127282012-03-09 Joseph Myers <joseph@codesourcery.com>
12729
12730 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
12731 * sunrpc/rpc_main.c: Likewise.
12732 * sunrpc/rpc_svcout.c: Likewise.
12733
60d6f5a6
DM
127342012-03-09 David S. Miller <davem@davemloft.net>
12735
12736 * include/math_private.h: New file.
12737
4962050e
JM
127382012-03-09 Joseph Myers <joseph@codesourcery.com>
12739
02a6f887
JM
12740 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
12741 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
12742 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
12743 from <bits/socket_type.h>.
12744 (enum __socket_type): Don't define here.
12745 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
12746 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12747 bits/socket_type.h.
12748
c6e013c1
JM
12749 [BZ #13566]
12750 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
12751 checking __USE_GNU.
12752
4962050e
JM
12753 * Makerules ($(inst_includedir)/%.h): New rule.
12754 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
12755 (install-others): Remove variable setting.
12756 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
12757
38842f45
RH
127582012-03-08 Richard Henderson <rth@twiddle.net>
12759
67bb6da6
RH
12760 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
12761 from macro to inline function; merge with the
12762 !__LIBC_INTERNAL_MATH_INLINES version.
12763 (__ieee754_sqrtf): Likewise.
12764
15194b4b
RH
12765 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
12766 to inline function.
12767 (__rintf, __floor, __floorf): Likewise.
12768
64e21ede
RH
12769 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
12770 macro to inline function.
12771 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
12772
38842f45
RH
12773 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
12774 not <math/math_private.h>.
12775
c64bf5fe
DM
127762012-03-08 David S. Miller <davem@davemloft.net>
12777
12778 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
12779 copyright year.
12780 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
12781
82d86f28
TS
127822012-03-08 Thomas Schwinge <thomas@codesourcery.com>
12783
12784 * resolv/gai_misc.c (handle_requests): Fix struct timespec
12785 normalization.
12786 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
12787 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
12788
aea5d727
UD
127892012-03-08 Ulrich Drepper <drepper@gmail.com>
12790
12791 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
12792 be defined individually, they must be defined as a block. Define
12793 S for printing a string instead of hidint the different by using a
12794 macro for adding the 'l'.
12795 * stdio-common/tst-fphex-wide.c: Adjust.
12796
70bca0a3
MP
127972012-03-07 Marek Polacek <polacek@redhat.com>
12798
12799 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
12800
65b81130
MP
128012012-03-08 Marek Polacek <polacek@redhat.com>
12802
12803 [BZ #13806]
12804 * stdio-common/Makefile (tests): Add tst-fphex-wide.
12805 * stdio-common/tst-fphex.c: Define a few macros to make the
12806 test reusable. Use them.
12807 * stdio-common/tst-fphex-wide.c: New file.
12808
07037eeb
JM
128092012-03-08 Joseph Myers <joseph@codesourcery.com>
12810
a7a93d50
JM
12811 [BZ #6911]
12812 * manual/macros.texi (gnusystems): New macro.
12813 (nongnusystems): Likewise.
12814 (gnulinuxhurdsystems): Likewise.
12815 (gnuhurdsystems): Likewise..
12816 (gnulinuxsystems): Likewise.
12817 * manual/charset.texi: Use new macros or @theglibc{} to refer to
12818 variants of the GNU system, not "GNU system".
12819 * manual/conf.texi: Likewise.
12820 * manual/errno.texi: Likewise. Update example of errno macro
12821 expansion.
12822 * manual/filesys.texi: Likewise.
12823 (getumask): Document as specific to GNU/Hurd.
12824 * manual/install.texi: Likewise. Reword some references to
12825 GNU/Linux.
12826 * manual/intro.texi: Likewise.
12827 * manual/io.texi: Likewise.
12828 (File Name Portability): Detail which constraints are inapplicable
12829 to all GNU systems and which are only inapplicable to GNU/Hurd.
12830 * manual/job.texi: Likewise.
12831 * manual/llio.texi: Likewise.
12832 (O_NOCTTY): Document as present on GNU/Linux.
12833 * manual/maint.texi: Likewise.
12834 * manual/memory.texi: Likewise.
12835 * manual/pattern.texi: Likewise.
12836 * manual/pipe.texi: Likewise.
12837 * manual/process.texi: Likewise.
12838 * manual/resource.texi: Likewise.
12839 (RUSAGE_CHILDREN): Remove statement about specifying a particular
12840 child on GNU/Hurd.
12841 * manual/setjmp.texi: Likewise.
12842 * manual/signal.texi: Likewise.
12843 * manual/startup.texi: Likewise.
12844 * manual/stdio.texi: Likewise.
12845 * manual/terminal.texi: Likewise.
12846 (ONLCR): Document as POSIX.
12847 (OXTABS): Document availability on GNU/Linux as XTABS.
12848 (ONOEOT): Document availability separately from other bits.
12849 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
12850 * manual/time.texi: Likewise.
12851 * manual/users.texi: Likewise.
12852 * INSTALL: Regenerated.
12853 * sysdeps/gnu/errlist.c: Regenerated.
12854
07037eeb
JM
12855 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
12856 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
12857 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
12858 puts.
12859 * configure: Regenerated.
12860
d1d3431a
JM
128612012-03-07 Joseph Myers <joseph@codesourcery.com>
12862
af6a1e37
JM
12863 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
12864 default includes instead of AC_HEADER_CHECK.
12865 * sysdeps/i386/configure: Regenerated.
12866
d1d3431a
JM
12867 [BZ #10716]
12868 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
12869 * math/s_cacoshf.c (__cacoshf): Likewise.
12870 * math/s_cacoshl.c (__cacoshl): Likewise.
12871 * math/s_casinh.c (__casinh): Set signs of result from argument.
12872 * math/s_casinhf.c (__casinhf): Likewise.
12873 * math/s_casinhl.c (__casinhl): Likewise.
12874 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
12875 (casinh_test): Add more tests.
12876 * sysdeps/i386/fpu/libm-test-ulps: Update.
12877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12878
482ff4da
UD
128792012-03-07 Ulrich Drepper <drepper@gmail.com>
12880
872fda05
UD
12881 * po/zh_TW.po: Update from translation team.
12882
a4300c7a
UD
12883 * login/Makefile (distribute): Remove variable.
12884 * catgets/Makefile: Likewise.
12885 * mach/Makefile: Likewise.
12886 * malloc/Makefile: Likewise.
12887 * misc/Makefile: Likewise.
12888 * iconv/Makefile: Likewise.
12889 * nscd/Makefile: Likewise.
12890 * hurd/Makefile: Likewise.
12891 * manual/Makefile: Likewise.
12892 * locale/Makefile: Likewise.
12893 * intl/Makefile: Likewise.
12894 * conform/Makefile: Likewise.
12895 * nss/Makefile: Likewise.
12896 * time/Makefile: Likewise.
12897 * soft-fp/Makefile: Likewise.
12898 * dirent/Makefile: Likewise.
12899 * gmon/Makefile: Likewise.
12900 * po/Makefile: Likewise.
12901 * rt/Makefile: Likewise.
12902 * socket/Makefile: Likewise.
12903 * math/Makefile: Likewise.
12904 * signal/Makefile: Likewise.
12905 * debug/Makefile: Likewise.
12906 * elf/Makefile: Likewise.
12907 * timezone/Makefile: Likewise.
12908 * stdlib/Makefile: Likewise.
12909 * iconvdata/Makefile: Likewise.
12910 * sunrpc/Makefile: Likewise.
12911 * io/Makefile: Likewise.
12912 * argp/Makefile: Likewise.
12913 * inet/Makefile: Likewise.
12914 * hesiod/Makefile: Likewise.
12915 * grp/Makefile: Likewise.
12916 * csu/Makefile: Likewise.
12917 * wctype/Makefile: Likewise.
12918 * crypt/Makefile: Likewise.
12919 * libio/Makefile: Likewise.
12920 * string/Makefile: Likewise.
12921 * nis/Makefile: Likewise.
12922 * resolv/Makefile: Likewise.
12923 * stdio-common/Makefile: Likewise.
12924 * wcsmbs/Makefile: Likewise.
12925 * dlfcn/Makefile: Likewise.
12926 * posix/Makefile: Likewise.
12927
3b7c4e74 12928 [BZ #6959]
482ff4da
UD
12929 * timezone/Makefile: Don't install timezone files, just the programs
12930 and scripts.
12931
f72ed77d
UD
129322012-03-06 Ulrich Drepper <drepper@gmail.com>
12933
a000466f
UD
12934 * nss/databases.def: Add missing gshadow entry.
12935
f72ed77d
UD
12936 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
12937
a53b7a4e
MP
129382012-03-06 Marek Polacek <polacek@redhat.com>
12939
12940 [BZ #13726]
12941 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
12942 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
12943 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
12944 * stdio-common/tst-long-dbl-fphex.c: New file.
12945
e9258400
DM
129462012-03-06 David S. Miller <davem@davemloft.net>
12947
12948 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12949 (set_obp_int): New function.
12950 (get_obp_int): New function.
12951 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
12952 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
12953 Avoid unused variable warnings on 'val' and use builtin_expect.
12954 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
12955 __builtin_expect.
e9258400
DM
12956 (INLINE_CLONE_SYSCALL): Likewise.
12957
3bd2c723
DM
129582012-03-05 David S. Miller <davem@davemloft.net>
12959
12960 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12961
bbb78d03
AS
129622012-03-05 Andreas Schwab <schwab@linux-m68k.org>
12963
884c5db4
AS
12964 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12965
bbb78d03
AS
12966 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
12967 only for |x| >= 40.
12968 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12969
1c9f702a 129702012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
12971
12972 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
12973 Replace gettimeofday with __vdso_gettimeofday.
12974
7be16f82
RM
12975 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12976 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
12977 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
12978
12979 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
12980 time with __vdso_time.
12981
ed58a00f
JM
129822012-03-05 Joseph Myers <joseph@codesourcery.com>
12983
12984 * manual/lang.texi (size_t): Note types to which size_t may be
12985 equivalent with the GNU C Library, but do not describe when
12986 differences between them are significant.
12987
30ee4ced
AJ
129882012-03-05 Andreas Jaeger <aj@suse.de>
12989
12990 * sysdeps/i386/fpu/libm-test-ulps: Update.
12991
b7cd39e8
JM
129922012-03-05 Joseph Myers <joseph@codesourcery.com>
12993
12994 [BZ #3976]
12995 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
12996 (__ieee754_pow): Save and restore rounding mode and use
12997 round-to-nearest for main computations.
12998 * math/libm-test.inc (pow_test_tonearest): New function.
12999 (pow_test_towardzero): Likewise.
13000 (pow_test_downward): Likewise.
13001 (pow_test_upward): Likewise.
13002 (main): Call the new functions.
13003 * sysdeps/i386/fpu/libm-test-ulps: Update.
13004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
13005
13006 [BZ #3976]
13007 * math/libm-test.inc (cosh_test_tonearest): New function.
13008 (cosh_test_towardzero): Likewise.
13009 (cosh_test_downward): Likewise.
13010 (cosh_test_upward): Likewise.
13011 (sinh_test_tonearest): Likewise.
13012 (sinh_test_towardzero): Likewise.
13013 (sinh_test_downward): Likewise.
13014 (sinh_test_upward): Likewise.
13015 (main): Call the new functions.
13016 * sysdeps/i386/fpu/libm-test-ulps: Update.
13017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13018
6c6a98c9
TV
130192012-03-05 Tom de Vries <tom@codesourcery.com>
13020
13021 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
13022 default stack guard is set in last bytes.
13023 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
13024
21bb2d2e 130252012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 13026
21bb2d2e 13027 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 13028
21bb2d2e
AJ
13029 [BZ #13656]
13030 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
13031 possibly allocate from heap instead of stack.
13032 * stdio-common/bug-vfprintf-nargs.c: New file.
13033 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 13034
c6922934
AS
130352012-03-03 Andreas Schwab <schwab@linux-m68k.org>
13036
13037 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13038
bc957d53
MP
130392012-03-03 Marek Polacek <polacek@redhat.com>
13040
13041 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
13042 * math/math_private.h: Likewise.
13043 * stdlib/tst-strtod.c: Likewise.
13044 * sysdeps/i386/i486/bits/atomic.h: Likewise.
13045 * sysdeps/x86_64/bits/atomic.h: Likewise.
13046
6358490d
DM
130472012-03-02 David S. Miller <davem@davemloft.net>
13048
13049 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
13050 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
13051 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
13052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
13053 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
13054 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
13055 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
13056 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
13057
01ae168d
RM
130582012-03-02 Roland McGrath <roland@hack.frob.com>
13059
d9a17c07
RM
13060 [BZ #13792]
13061 * manual/examples/README: New file, says the example source files
13062 can be used under GPL>=2.
13063 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
13064 line containing just "*/".
13065 * manual/examples/add.c: Add copyright header (GPL>=2).
13066 * manual/examples/argp-ex1.c: Likewise.
13067 * manual/examples/argp-ex2.c: Likewise.
13068 * manual/examples/argp-ex3.c: Likewise.
13069 * manual/examples/argp-ex4.c: Likewise.
13070 * manual/examples/atexit.c: Likewise.
13071 * manual/examples/db.c: Likewise.
13072 * manual/examples/dir.c: Likewise.
13073 * manual/examples/dir2.c: Likewise.
13074 * manual/examples/execinfo.c: Likewise.
13075 * manual/examples/filecli.c: Likewise.
13076 * manual/examples/filesrv.c: Likewise.
13077 * manual/examples/fmtmsgexpl.c: Likewise.
13078 * manual/examples/genpass.c: Likewise.
13079 * manual/examples/inetcli.c: Likewise.
13080 * manual/examples/inetsrv.c: Likewise.
13081 * manual/examples/isockad.c: Likewise.
13082 * manual/examples/longopt.c: Likewise.
13083 * manual/examples/memopen.c: Likewise.
13084 * manual/examples/memstrm.c: Likewise.
13085 * manual/examples/mkfsock.c: Likewise.
13086 * manual/examples/mkisock.c: Likewise.
13087 * manual/examples/mygetpass.c: Likewise.
13088 * manual/examples/pipe.c: Likewise.
13089 * manual/examples/popen.c: Likewise.
13090 * manual/examples/rprintf.c: Likewise.
13091 * manual/examples/search.c: Likewise.
13092 * manual/examples/select.c: Likewise.
13093 * manual/examples/setjmp.c: Likewise.
13094 * manual/examples/sigh1.c: Likewise.
13095 * manual/examples/sigusr.c: Likewise.
13096 * manual/examples/stpcpy.c: Likewise.
13097 * manual/examples/strdupa.c: Likewise.
13098 * manual/examples/strftim.c: Likewise.
13099 * manual/examples/strncat.c: Likewise.
13100 * manual/examples/subopt.c: Likewise.
13101 * manual/examples/swapcontext.c: Likewise.
13102 * manual/examples/termios.c: Likewise.
13103 * manual/examples/testopt.c: Likewise.
13104 * manual/examples/testpass.c: Likewise.
13105 * manual/examples/timeval_subtract.c: Likewise.
13106
01ae168d
RM
13107 [BZ #13792]
13108 * manual/time.texi (Elapsed Time): Move timeval_subtract example
13109 function to ...
13110 * manual/timeval_subtract.c.texi: ... here, new file.
13111
49efa33d
DM
131122012-03-02 David S. Miller <davem@davemloft.net>
13113
13114 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
13115
28afd92d
JM
131162012-03-02 Joseph Myers <joseph@codesourcery.com>
13117
804360ed
JM
13118 [BZ #3976]
13119 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
13120 (__sin): Save and restore rounding mode and use round-to-nearest
13121 for all computations.
13122 (__cos): Save and restore rounding mode and use round-to-nearest
13123 for all computations.
13124 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
13125 <fenv.h>.
13126 (tan): Save and restore rounding mode and use round-to-nearest for
13127 all computations.
13128 * math/libm-test.inc (cos_test_tonearest): New function.
13129 (cos_test_towardzero): Likewise.
13130 (cos_test_downward): Likewise.
13131 (cos_test_upward): Likewise.
13132 (sin_test_tonearest): Likewise.
13133 (sin_test_towardzero): Likewise.
13134 (sin_test_downward): Likewise.
13135 (sin_test_upward): Likewise.
13136 (tan_test_tonearest): Likewise.
13137 (tan_test_towardzero): Likewise.
13138 (tan_test_downward): Likewise.
13139 (tan_test_upward): Likewise.
13140 (main): Call the new functions.
13141 * sysdeps/i386/fpu/libm-test-ulps: Update.
13142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13143
a6d06d7b
JM
13144 [BZ #10135]
13145 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
13146 small n, then large n, before computing and testing k+n.
13147 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13148 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
13149 Likewise.
13150 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
13151 Likewise.
13152 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
13153 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
13154 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
13155 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
13156 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13157 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13158 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
13159 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
13160 * math/libm-test.inc (scalbn_test): Add more tests.
13161 (scalbln_test): Likewise.
13162
07e12bb3
JM
13163 * manual/filesys.texi (mode_t): Describe constraints on size and
13164 signedness, not exact equivalence to a particular type.
13165 (ino_t): Likewise.
13166 (ino64_t): Likewise.
13167 (dev_t): Likewise.
13168 (nlink_t): Likewise.
13169 (blkcnt_t): Likewise.
13170 (blkcnt64_t): Likewise.
13171 * manual/llio.texi (off_t): Likewise.
13172
28afd92d
JM
13173 [BZ #3976]
13174 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
13175 (__ieee754_exp): Save and restore rounding mode and use
13176 round-to-nearest for all computations.
13177 * math/libm-test.inc (exp_test_tonearest): New function.
13178 (exp_test_towardzero): Likewise.
13179 (exp_test_downward): Likewise.
13180 (exp_test_upward): Likewise.
13181 (main): Call the new functions.
13182 * sysdeps/i386/fpu/libm-test-ulps: Update.
13183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13184
b1eeb65d
CD
131852012-03-01 Chris Demetriou <cgd@google.com>
13186
13187 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
13188 have predictable order.
13189
53362a4b
DM
131902012-03-01 David S. Miller <davem@davemloft.net>
13191
3c969083
DM
13192 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
13193
759707de
DM
13194 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
13195 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
13196 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
13197 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
13198
dfdb8ff2
DM
13199 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
13200 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
13201 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
13202 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
13203 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
13204 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
13205 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
13206 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
13207 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
13208
ead89f96
DM
13209 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13210
7f66bd07
DM
13211 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
13212 * sysdeps/sparc/fpu/libm-test-ulps: to here.
13213 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
13214
53362a4b
DM
13215 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
13216 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13217 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
13218 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
13219 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
13220 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
13221 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
13222 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13223 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
13224 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
13225 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
13226 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
13227 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13228 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
13229 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13230 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13231 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
13232 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
13233 * sysdeps/sparc/elf/configure: Regenerated.
13234
7b1902cb
JM
132352012-03-01 Joseph Myers <joseph@codesourcery.com>
13236
bec039bc
JM
13237 * configure.in (AS, LD): Require binutils 2.20 or later.
13238 * configure: Regenerated.
13239 * manual/install.texi (Tools for Compilation): Give binutils 2.20
13240 as required minimum version.
13241 * INSTALL: Regenerated.
13242
7b1902cb
JM
13243 [BZ #2541]
13244 [BZ #4108]
13245 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
13246 before squaring exponent.
13247 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
13248 bottom long double and 27 bits of top long double before squaring
13249 exponent.
13250 * math/libm-test.inc (erfc_test): Add more tests.
13251 * sysdeps/i386/fpu/libm-test-ulps: Update.
13252 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13254
f775c276
KT
132552012-03-01 Kai Tietz <ktietz@redhat.com>
13256
13257 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
13258 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
13259 containing bit-fields.
13260 * soft-fp/extended.h (_FP_UNION_E): Likewise.
13261 * soft-fp/single.h (_FP_UNION_S): Likewise.
13262 * soft-fp/double.h (_FP_UNION_D): Likewise.
13263
5b8a4d4a
JM
132642012-02-29 Joseph Myers <joseph@codesourcery.com>
13265
0bab47b6
JM
13266 [BZ #13786]
13267 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
13268 not include ../strcmp.S.
13269 [USE_AS_STRNCASECMP_L]: Likewise.
13270 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
13271 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
13272 * sysdeps/i386/i686/multiarch/strncase_l-c.c
13273 (__strncasecmp_l_ia32): Define as alias to
13274 __strncasecmp_l_nonascii.
13275
0fcad3e2
JM
13276 [BZ #5794]
13277 * math/libm-test.inc (expm1_test): Add test for bug 5794.
13278 * sysdeps/i386/fpu/libm-test-ulps: Update.
13279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13280
5b8a4d4a
JM
13281 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
13282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13283
8fdceb2e
JL
132842012-02-29 Jeff Law <law@redhat.com>
13285
13286 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
13287 out of bounds read.
13288
1f393a11
MP
132892012-02-29 Marek Polacek <polacek@redhat.com>
13290
13291 [BZ #13706]
13292 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
13293 * elf/Makefile: Add rules to run tst-unused-dep.out.
13294
8847f037
DM
132952012-02-28 David S. Miller <davem@davemloft.net>
13296
13297 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
13298 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
13299 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
13300 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
13301 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
13302 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
13303
169d7f11
JM
133042012-02-29 Joseph Myers <joseph@codesourcery.com>
13305
13306 * math/libm-test.inc (llround_test): Move one test from
13307 lround_test. Use TEST_f_L in moved test.
13308 (lround_test): Move misplaced test to llround_test. Add testcase
13309 from bug 2561.
13310
39adf059
UD
133112012-02-28 Ulrich Drepper <drepper@gmail.com>
13312
13313 * sysdeps/x86_64/fpu/e_expf.S: New file.
13314 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
13315
71b5d1c5
SB
133162012-02-28 Stanislav Brabec <sbrabec@suse.cz>
13317
13318 [BZ #13637]
13319 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
13320 of remain_len that may cause incomplete multi-byte character and
13321 false match.
13322 * posix/bug-regex33.c: New file.
13323 * posix/Makefile (tests): Add bug-regex33.
13324
1f77f049
JM
133252012-02-28 Joseph Myers <joseph@codesourcery.com>
13326
13327 * manual/macros.texi: New file.
13328 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
13329 * manual/libc.texinfo: Include macros.texi.
13330 * manual/creatute.texi: Likewise.
13331 * manual/install.texi: Likewise.
13332 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
13333 @glibcadj{} in references to the GNU C Library.
13334 * manual/charset.texi: Likewise.
13335 * manual/conf.texi: Likewise.
13336 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
13337 when not using those macros.
13338 * manual/creature.texi: Likewise.
13339 * manual/crypt.texi: Likewise.
13340 * manual/errno.texi: Likewise.
13341 * manual/filesys.texi: Likewise.
13342 * manual/header.texi: Likewise.
13343 * manual/install.texi: Likewise.
13344 * manual/intro.texi: Likewise.
13345 * manual/io.texi: Likewise.
13346 * manual/job.texi: Likewise.
13347 * manual/lang.texi: Likewise.
13348 * manual/libc.texiinfo: Likewise.
13349 * manual/llio.texi: Likewise.
13350 * manual/locale.texi: Likewise.
13351 * manual/maint.texi: Likewise.
13352 * manual/math.texi: Likewise.
13353 * manual/memory.texi: Likewise.
13354 * manual/message.texi: Likewise.
13355 * manual/nss.texi: Likewise.
13356 * manual/pattern.texi: Likewise.
13357 * manual/process.texi: Likewise.
13358 * manual/resource.texi: Likewise.
13359 * manual/search.texi: Likewise.
13360 * manual/setjmp.texi: Likewise.
13361 * manual/signal.texi: Likewise.
13362 * manual/socket.texi: Likewise.
13363 * manual/startup.texi: Likewise.
13364 * manual/stdio.texi: Likewise.
13365 * manual/string.texi: Likewise.
13366 * manual/sysinfo.texi: Likewise.
13367 * manual/syslog.texi: Likewise.
13368 * manual/terminal.texi: Likewise.
13369 * manual/time.texi: Likewise.
13370 * manual/users.texi: Likewise.
13371 * INSTALL: Regenerated.
13372 * NOTES: Regenerated.
d40c5d54 13373 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 13374
450bf206
AS
133752012-02-28 Andreas Schwab <schwab@linux-m68k.org>
13376
13377 * include/dirent.h: Include <dirstream.h> before
13378 <dirent/dirent.h>.
13379
741a235b
DM
133802012-02-28 David S. Miller <davem@davemloft.net>
13381
13382 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
13383 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
13384 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
13385 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
13386
d6b5aa58
DM
133872012-02-27 David S. Miller <davem@davemloft.net>
13388
1aff59a3
DM
13389 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
13390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
13391 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
13392 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
13393
d6b5aa58
DM
13394 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
13395 frame pointer instead of stack pointer relative arg slot.
13396 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
13397 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
13398 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
13399
433f48bf
CD
134002012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
13401
13402 [BZ #3992]
13403 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
13404
d674b76d
DM
134052012-02-27 David S. Miller <davem@davemloft.net>
13406
13407 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
13408 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
13409 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
13410 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
13411 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
13412 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
13413 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
13414 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
13415
0e7727f7
JM
134162012-02-27 Joseph Myers <joseph@codesourcery.com>
13417
13418 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
13419 later. Allow versions 5-9.
43be4ca2 13420 * configure: Regenerated.
0e7727f7
JM
13421 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
13422 required minimum version and 4.6 as recommended version. Do not
13423 mention bugs in GCC 2.7 and 2.8.
43be4ca2 13424 * INSTALL: Regenerated.
0e7727f7 13425
a78bc654
DM
134262012-02-27 David S. Miller <davem@davemloft.net>
13427
428d5830
DM
13428 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
13429 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
13430 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
13431 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
13432 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
13433 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
13434 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
13435 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
13436
a78bc654
DM
13437 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
13438 manipulate bits before adding and subtracting TWO112[sx].
13439 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
13440
4579f81c
RM
134412012-02-27 Roland McGrath <roland@hack.frob.com>
13442
36c8acb4
RM
13443 [BZ #13775]
13444 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
13445 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
13446 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
13447 being in POSIX, because they are in 1003.1-2008.
13448
84ad622b
RM
13449 * rt/tst-aio.c: Include <fcntl.h>.
13450 * rt/tst-aio7.c: Likewise.
13451 * rt/tst-aio64.c: Likewise.
13452
4579f81c
RM
13453 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
13454
abd923db
JM
134552012-02-27 Joseph Myers <joseph@codesourcery.com>
13456
13457 * manual/install.texi (--with-headers): Describe headers as
13458 interface headers, not private headers.
13459 (Specific advice for GNU/Linux systems): Describe use of headers
13460 from "make headers_install", not private headers from older
13461 kernels.
43be4ca2 13462 * INSTALL: Regenerated.
abd923db
JM
13463 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
13464 Change to 2.6.19.
13465 * sysdeps/unix/sysv/linux/configure: Regenerated.
13466
6664049b
JM
13467 * manual/llio.texi (fclean): Remove documentation.
13468
bb8b6697
JM
13469 * manual/Makefile (libc-texi-generated): New variable. Include
13470 version.texi.
13471 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
13472 $(libc-texi-generated), not duplicated list of files.
13473 (version.texi, stamp-version): New rules.
13474 (realclean): Remove $(libc-texi-generated), not individual files
13475 from that list. Do not remove dir-add.texinfo.
13476 * manual/libc.texinfo: Comment out uses of edition numbers and
13477 references to printed manual. Remove last-updated dates.
13478 (EDITION): Comment out.
13479 (ISBN): Likewise.
13480 (VERSION, UPDATED): Remove.
13481 (version.texi): Include.
13482
12e5c3b9
AS
134832012-02-27 Andreas Schwab <schwab@linux-m68k.org>
13484
13485 * sysdeps/posix/spawni.c: Include <signal.h>.
13486 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
13487 * sysdeps/pthread/aio_fsync.c: Likewise.
13488
4efeffc1 134892012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 13490
ba63ba08
UD
13491 * conform/Makefile (tests): Run only when not cross-compiling and
13492 when fast-check is not defined.
13493
d94a4670
UD
13494 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
13495 * conform/data/limits.h-data: Fixes for POSIX2008.
13496 * conform/run-conformtest.sh: Run all tests.
13497 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
13498 headers.
13499 * include/bits/dlfcn.h: Likewise.
13500 * include/langinfo.h: Likewise.
13501 * include/monetary.h: Likewise.
13502 * include/sys/poll.h: Likewise.
13503
13504 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
13505 for __USE_GNU.
13506 * posix/spawn.h: Define __need_sigset_t.
13507 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
13508 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
13509 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
13510 to get sigevent_t only.
13511 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
13512 only for __USE_GNU.
13513 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13514 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13515 process_vm_writev only for __USE_GNU.
13516 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
13517
13518 * conform/Makefile: For now ignore errors from run-conformtest.
13519 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
13520 POSIX to avoid namespace pollution. Don't prepend headers.
13521 * conform/data/aio.h-data: Fixes for POSIX testing.
13522 * conform/data/fcntl.h-data: Likewise.
13523 * conform/data/glob.h-data: Likewise.
13524 * conform/data/grp.h-data: Likewise.
13525 * conform/data/pthread.h-data: Likewise.
13526 * conform/data/pwd.h-data: Likewise.
13527 * conform/data/signal.h-data: Likewise.
13528 * conform/data/spawn.h-data: Likewise.
13529 * conform/data/stdio.h-data: Likewise.
13530 * conform/data/stdlib.h-data: Likewise.
13531 * conform/data/stropts.h-data: Likewise.
13532 * conform/data/sys/mman.h-data: Likewise.
13533 * conform/data/sys/stat.h-data: Likewise.
13534 * conform/data/sys/types.h-data: Likewise.
13535 * conform/data/sys/wait.h-data: Likewise.
13536 * conform/data/time.h-data: Likewise.
13537 * conform/data/unistd.h-data: Likewise.
13538 * conform/data/utime.h-data: Likewise.
13539
13540 * io/sys/stat.h: fchmod was always in POSIX.
13541 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
13542 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
13543 * rt/aio.h: Define __need_timespec before including <time.h>.
13544 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
13545 struct. Add forward declaration of pthread_attr_t and use it in
13546 sigevent.
13547 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13548 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13549 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
13550 always remove CLK_TCK definition.
13551
c20105c3
AS
135522012-02-26 Andreas Schwab <schwab@linux-m68k.org>
13553
13554 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
13555
7a270350
UD
135562012-02-25 Ulrich Drepper <drepper@gmail.com>
13557
31341567
UD
13558 * conform/run-conformtest.sh: New file.
13559 * conform/Makefile: Run run-conformtest for tests.
13560 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
13561 support.
13562
13563 * conform/data/uchar.h-data: New file.
13564 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
13565 * conform/data/arpa/inet.h-data: Likewise.
13566 * conform/data/assert.h-data: Likewise.
13567 * conform/data/complex.h-data: Likewise.
13568 * conform/data/cpio.h-data: Likewise.
13569 * conform/data/ctype.h-data: Likewise.
13570 * conform/data/dirent.h-data: Likewise.
13571 * conform/data/dlfcn.h-data: Likewise.
13572 * conform/data/errno.h-data: Likewise.
13573 * conform/data/fcntl.h-data: Likewise.
13574 * conform/data/float.h-data: Likewise.
13575 * conform/data/fmtmsg.h-data: Likewise.
13576 * conform/data/fnmatch.h-data: Likewise.
13577 * conform/data/ftw.h-data: Likewise.
13578 * conform/data/glob.h-data: Likewise.
13579 * conform/data/grp.h-data: Likewise.
13580 * conform/data/iconv.h-data: Likewise.
13581 * conform/data/inttypes.h-data: Likewise.
13582 * conform/data/langinfo.h-data: Likewise.
13583 * conform/data/libgen.h-data: Likewise.
13584 * conform/data/limits.h-data: Likewise.
13585 * conform/data/locale.h-data: Likewise.
13586 * conform/data/math.h-data: Likewise.
13587 * conform/data/monetary.h-data: Likewise.
13588 * conform/data/mqueue.h-data: Likewise.
13589 * conform/data/ndbm.h-data: Likewise.
13590 * conform/data/net/if.h-data: Likewise.
13591 * conform/data/netdb.h-data: Likewise.
13592 * conform/data/netinet/in.h-data: Likewise.
13593 * conform/data/nl_types.h-data: Likewise.
13594 * conform/data/poll.h-data: Likewise.
13595 * conform/data/pthread.h-data: Likewise.
13596 * conform/data/pwd.h-data: Likewise.
13597 * conform/data/regex.h-data: Likewise.
13598 * conform/data/sched.h-data: Likewise.
13599 * conform/data/search.h-data: Likewise.
13600 * conform/data/semaphore.h-data: Likewise.
13601 * conform/data/setjmp.h-data: Likewise.
13602 * conform/data/signal.h-data: Likewise.
13603 * conform/data/spawn.h-data: Likewise.
13604 * conform/data/stdarg.h-data: Likewise.
13605 * conform/data/stdio.h-data: Likewise.
13606 * conform/data/stdlib.h-data: Likewise.
13607 * conform/data/string.h-data: Likewise.
13608 * conform/data/strings.h-data: Likewise.
13609 * conform/data/stropts.h-data: Likewise.
13610 * conform/data/sys/ipc.h-data: Likewise.
13611 * conform/data/sys/mman.h-data: Likewise.
13612 * conform/data/sys/msg.h-data: Likewise.
13613 * conform/data/sys/resource.h-data: Likewise.
13614 * conform/data/sys/select.h-data: Likewise.
13615 * conform/data/sys/sem.h-data: Likewise.
13616 * conform/data/sys/shm.h-data: Likewise.
13617 * conform/data/sys/socket.h-data: Likewise.
13618 * conform/data/sys/stat.h-data: Likewise.
13619 * conform/data/sys/statvfs.h-data: Likewise.
13620 * conform/data/sys/time.h-data: Likewise.
13621 * conform/data/sys/timeb.h-data: Likewise.
13622 * conform/data/sys/times.h-data: Likewise.
13623 * conform/data/sys/types.h-data: Likewise.
13624 * conform/data/sys/uio.h-data: Likewise.
13625 * conform/data/sys/un.h-data: Likewise.
13626 * conform/data/sys/utsname.h-data: Likewise.
13627 * conform/data/sys/wait.h-data: Likewise.
13628 * conform/data/syslog.h-data: Likewise.
13629 * conform/data/tar.h-data: Likewise.
13630 * conform/data/termios.h-data: Likewise.
13631 * conform/data/utime.h-data: Likewise.
13632 * conform/data/utmpx.h-data: Likewise.
13633 * conform/data/varargs.h-data: Likewise.
13634 * conform/data/wchar.h-data: Likewise.
13635 * conform/data/wctype.h-data: Likewise.
13636 * conform/data/wordexp.h-data: Likewise.
13637
13638 * include/stropts.h: New file.
13639 * include/uchar.h: New file.
13640 * include/aio.h: Changes to allow conformtest.pl to use the headers.
13641 * include/assert.h: Likewise.
13642 * include/ctype.h: Likewise.
13643 * include/dirent.h: Likewise.
13644 * include/dlfcn.h: Likewise.
13645 * include/fcntl.h: Likewise.
13646 * include/fnmatch.h: Likewise.
13647 * include/glob.h: Likewise.
13648 * include/grp.h: Likewise.
13649 * include/libio.h: Likewise.
13650 * include/locale.h: Likewise.
13651 * include/math.h: Likewise.
13652 * include/net/if.h: Likewise.
13653 * include/netdb.h: Likewise.
13654 * include/netinet/in.h: Likewise.
13655 * include/pthread.h: Likewise.
13656 * include/pwd.h: Likewise.
13657 * include/regex.h: Likewise.
13658 * include/sched.h: Likewise.
13659 * include/search.h: Likewise.
13660 * include/setjmp.h: Likewise.
13661 * include/signal.h: Likewise.
13662 * include/stdio.h: Likewise.
13663 * include/stdlib.h: Likewise.
13664 * include/string.h: Likewise.
13665 * include/sys/cdefs.h: Likewise.
13666 * include/sys/mman.h: Likewise.
13667 * include/sys/msg.h: Likewise.
13668 * include/sys/resource.h: Likewise.
13669 * include/sys/select.h: Likewise.
13670 * include/sys/socket.h: Likewise.
13671 * include/sys/stat.h: Likewise.
13672 * include/sys/statvfs.h: Likewise.
13673 * include/sys/time.h: Likewise.
13674 * include/sys/times.h: Likewise.
13675 * include/sys/uio.h: Likewise.
13676 * include/sys/utsname.h: Likewise.
13677 * include/sys/wait.h: Likewise.
13678 * include/termios.h: Likewise.
13679 * include/time.h: Likewise.
13680 * include/ulimit.h: Likewise.
13681 * include/unistd.h: Likewise.
13682 * include/utime.h: Likewise.
13683 * include/wchar.h: Likewise.
13684 * include/wctype.h: Likewise.
13685 * include/wordexp.h: Likewise.
13686
13687 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
13688
7a270350
UD
13689 * time/time.h: TIME_UTC must be a macro.
13690 Make timespec_get available for ISO C11 only as well.
13691
7724defc
UD
136922012-02-24 Ulrich Drepper <drepper@gmail.com>
13693
13694 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
13695 Reported by Peng Haitao <penght@cn.fujitsu.com>.
13696
6b1d1d46
JM
136972012-02-24 Joseph Myers <joseph@codesourcery.com>
13698
13699 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 13700
0f8bbd69
JM
137012012-02-24 Joseph Myers <joseph@codesourcery.com>
13702
13703 * manual/texinfo.tex: Update to version 2012-01-19.16.
13704
66ab80bc
JM
137052012-02-24 Joseph Myers <joseph@codesourcery.com>
13706
13707 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
13708
74981cc5
RM
137092012-02-24 Roland McGrath <roland@hack.frob.com>
13710
ee968201
RM
13711 [BZ #13738]
13712 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
13713 * manual/fdl-1.3.texi: New file.
13714 * manual/fdl-1.1.texi: File removed.
13715
74981cc5
RM
13716 [BZ #13738]
13717 * manual/libc.texinfo (FDL_VERSION): New @set.
13718 Use it for mention of FDL in cover text.
13719 (Documentation License): Use it in @include file name.
13720
7bb764bc
JM
137212012-02-22 Joseph Myers <joseph@codesourcery.com>
13722 Roland McGrath <roland@hack.frob.com>
13723
13724 [BZ #5461]
13725 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
13726 not LONG_LONG_MAX and LONG_LONG_MIN.
13727 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
13728 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
13729 name.
13730 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
13731
6cbeae47
JM
137322012-02-22 Joseph Myers <joseph@codesourcery.com>
13733
13734 [BZ #2547]
13735 [BZ #11365]
13736 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
13737 manipulate bits before adding and subtracting TWO23[sx].
13738 * math/libm-test.inc (nearbyint_test): Add more tests.
13739
fe45ce09
JM
137402012-02-22 Joseph Myers <joseph@codesourcery.com>
13741
13742 [BZ #2548]
13743 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
13744 bits before adding and subtracting TWO23[sx].
13745 * math/libm-test.inc (rint_test): Add more tests.
13746 (rint_test_tonearest): Likewise.
13747 (rint_test_towardzero): Likewise.
13748 (rint_test_downward): Likewise.
13749 (rint_test_upward: Likewise.
13750
ff3b3d82
JM
137512012-02-22 Joseph Myers <joseph@codesourcery.com>
13752
13753 [BZ #10110]
13754 * include/stdc-predef.h: New file. Extracted from features.h.
13755 * include/features.h: Include stdc-predef.h.
13756 * Makefile (headers): Add stdc-predef.h.
13757 * CONFORMANCE (Compiler limitations): Update.
13758
ef0aab35
JM
137592012-02-22 Joseph Myers <joseph@codesourcery.com>
13760
13761 * manual/libc.texinfo (VERSION, UPDATED): Revert.
13762
58639409
DM
137632012-02-21 David S. Miller <davem@davemloft.net>
13764
13765 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
13766 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
13767
c0e70b25
DM
137682012-02-20 David S. Miller <davem@davemloft.net>
13769
13770 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
13771 using a normal save/restore sequence, rather than allocating a
13772 dummy stack frame just to store a frame pointer and restore.
13773 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
13774
fb06851d
JM
137752012-02-21 Joseph Myers <joseph@codesourcery.com>
13776
13777 * manual/install.texi: Fix stray word in line-wrapped comment.
13778
7a8b71c3
DM
137792012-02-20 David S. Miller <davem@davemloft.net>
13780
d510c123
DM
13781 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
13782 both binutils and gcc support GOTDATA.
13783
0722d7c2
DM
13784 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
13785 "rd %pc" in the PIC register setup sequences.
13786
3d2b3019
DM
13787 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
13788 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
13789 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
13790 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
13791 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
13792 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
13793 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13794 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
13795 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
13796 (SYSCALL_ERROR_HANDLER): Likewise.
13797 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
13798 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13799 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
13800 (SYSCALL_ERROR_HANDLER): Likewise.
13801
c80098a9
DM
13802 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
13803 (HAVE_GCC_GOTDATA): New.
13804 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
13805 relocation support in both binutils and gcc.
13806 * sysdeps/sparc/elf/configure: Regenerate.
13807
3a2545a0
DM
13808 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
13809 * sysdeps/sparc/sparc32/elf/configure: Delete.
13810 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
13811 * sysdeps/sparc/sparc64/elf/configure: Delete.
13812 * sysdeps/sparc/elf/configure.in: New file.
13813 * sysdeps/sparc/elf/configure: Generate.
13814
7a8b71c3
DM
13815 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
13816 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
13817 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
13818 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
13819 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
13820
f1e86fca
JM
138212012-02-21 Joseph Myers <joseph@codesourcery.com>
13822
13823 * manual/install.texi: Do not mention specific glibc version
13824 numbers.
13825 * manual/libc.texinfo (VERSION, UPDATED): Update.
13826 (@copying): Use @copyright{} and range of years.
13827
0e7dfaef
JM
138282012-02-21 Joseph Myers <joseph@codesourcery.com>
13829
13830 [BZ #13695]
13831 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
13832 [crti.S not in sysdirs] (generated): Do not append.
13833 [crti.S not in sysdirs] (omit-deps): Likewise.
13834 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
13835 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
13836 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
13837 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
13838 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
13839 Likewise.
13840 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
13841 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
13842 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
13843 * csu/defs.awk: Remove file.
13844 * sysdeps/generic/initfini.c: Likewise.
13845 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
13846 variable.
13847 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
13848 Likewise.
13849
599af3ca
JM
138502012-02-20 Joseph Myers <joseph@codesourcery.com>
13851
13852 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
13853 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
13854 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
13855 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
13856 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13857 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
13858 <bits/epoll.h>.
13859 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
13860 (__EPOLL_PACKED): Define to empty if not defined by
13861 <bits/epoll.h>.
13862 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
13863 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13864 bits/epoll.h.
13865
0e499750
JM
138662012-02-20 Joseph Myers <joseph@codesourcery.com>
13867
13868 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
13869 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
13870 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
13871 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
13872 <bits/timerfd.h>.
13873 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
13874 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13875 bits/timerfd.h.
13876
5ad91f6e
JM
138772012-02-20 Joseph Myers <joseph@codesourcery.com>
13878
13879 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
13880 in C locale.
13881 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13882 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13883 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
13884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13885
06b99b02
AJ
138862012-02-20 Aurelien Jarno <aurelien@aurel32.net>
13887
13888 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13889 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
13890
7638c0fd
AS
138912012-02-19 Andreas Schwab <schwab@linux-m68k.org>
13892
13893 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
13894 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
13895 defined.
13896 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
13897 Likewise.
13898 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
13899 entry for 2.16.
13900
92221550
AJ
139012012-02-19 Aurelien Jarno <aurelien@aurel32.net>
13902
13903 * math/w_acos.c: Use non-signaling floating-point comparisons.
13904 * math/w_acosf.c: Likewise.
13905 * math/w_acosh.c: Likewise.
13906 * math/w_acoshf.c: Likewise.
13907 * math/w_acoshl.c: Likewise.
13908 * math/w_acosl.c: Likewise.
13909 * math/w_asin.c: Likewise.
13910 * math/w_asinf.c: Likewise.
13911 * math/w_asinl.c: Likewise.
13912 * math/w_atanh.c: Likewise.
13913 * math/w_atanhf.c: Likewise.
13914 * math/w_atanhl.c: Likewise.
13915 * math/w_exp2.c: Likewise.
13916 * math/w_exp2f.c: Likewise.
13917 * math/w_exp2l.c: Likewise.
13918 * math/w_j0.c: Likewise.
13919 * math/w_j0f.c: Likewise.
13920 * math/w_j0l.c: Likewise.
13921 * math/w_j1.c: Likewise.
13922 * math/w_j1f.c: Likewise.
13923 * math/w_j1l.c: Likewise.
13924 * math/w_jn.c: Likewise.
13925 * math/w_jnf.c: Likewise.
13926 * math/w_log.c: Likewise.
13927 * math/w_log10.c: Likewise.
13928 * math/w_log10f.c: Likewise.
13929 * math/w_log10l.c: Likewise.
13930 * math/w_log2.c: Likewise.
13931 * math/w_log2f.c: Likewise.
13932 * math/w_log2l.c: Likewise.
13933 * math/w_logf.c: Likewise.
13934 * math/w_logl.c: Likewise.
13935 * math/w_sqrt.c: Likewise.
13936 * math/w_sqrtf.c: Likewise.
13937 * math/w_sqrtl.c: Likewise.
13938 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13939 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
13940 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13941 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13942 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13943
ebaf36eb
JM
139442012-02-19 Joseph Myers <joseph@codesourcery.com>
13945
13946 [BZ #9739]
13947 * manual/string.texi (strnlen): Use correct parameter name in
13948 equivalent expression.
13949
71c254a6
JM
139502012-02-19 Joseph Myers <joseph@codesourcery.com>
13951
13952 [BZ #11174]
13953 * manual/users.texi (seteuid): Consistently use neweuid for
13954 argument name.
13955
16d2c631
JM
139562012-02-19 Joseph Myers <joseph@codesourcery.com>
13957
13958 [BZ #13704]
13959 * manual/nss.texi (Services in the NSS configuration): Correct
13960 list of services in example configuration file.
13961
cd837b09
NB
139622012-02-19 Nick Bowler <nbowler@draconx.ca>
13963
13964 [BZ #11322]
13965 * manual/arith.texi: Remove statements about negative zero
13966 behaving identically to zero.
13967
02c4bbad
JM
139682012-02-18 Joseph Myers <joseph@codesourcery.com>
13969
13970 [BZ #5993]
13971 * manual/install.texi: Do not document upgrading from libc5.
13972
366842e7
JM
139732012-02-18 Joseph Myers <joseph@codesourcery.com>
13974
13975 [BZ #4596]
13976 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
13977
dd54084d
DM
139782012-02-18 David S. Miller <davem@davemloft.net>
13979
13980 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
13981 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
13982 %o7 across the call.
13983 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
13984 instead.
13985 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
13986 SETUP_PIC_REG_LEAF.
13987 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13988 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
13989 * sysdeps/sparc/crtn.S: Likewise.
13990
2bcc53a3
UD
139912012-02-17 Ulrich Drepper <drepper@gmail.com>
13992
13993 * aout/Makefile: Remove.
13994
09c093b5
RK
139952012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
13996
13997 [BZ #13058]
13998 * manual/examples/argp-ex1.c (main): Format definition in GNU
13999 style.
14000 * manual/examples/argp-ex2.c (main): Likewise.
14001 * manual/examples/argp-ex3.c (main): Likewise.
14002 * manual/examples/argp-ex4.c (main): Likewise.
14003 * manual/examples/longopt.c (main): Use new-style prototype
14004 definition.
14005 * manual/examples/strncat.c (main): Specify return type and use
14006 (void) for arguments.
14007 * manual/examples/subopt.c (main): Use char **argv argument.
14008
2ee633a2
JM
140092012-02-17 Joseph Myers <joseph@codesourcery.com>
14010
14011 [BZ #5077]
14012 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
14013 rounding modes.
14014
0520adde
FB
140152012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
14016
14017 [BZ #6907]
14018 * manual/string.texi (strchr): Change when strchrnul is
14019 recommended.
14020
3f4081cd
DGM
140212012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
14022
14023 [BZ #174]
14024 * manual/locale.texi (setlocale): Document LOCPATH.
14025
d1b10e78
JM
140262012-02-17 Joseph Myers <joseph@codesourcery.com>
14027
14028 [BZ #10210]
14029 * manual/process.texi (execle): Move @dots{} before last argument.
14030
79c6869c
PB
140312012-02-17 Paul Bolle <pebolle@tiscali.nl>
14032
14033 [BZ #12047]
14034 * manual/charset.texi (Generic Charset Conversion): Fix typo
14035 (LC_TYPE -> LC_CTYPE).
14036
cc6e48bc
NB
140372012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
14038
14039 [BZ #5805]
14040 * manual/arith.texi (scalbn): Use @var{} on parameter names.
14041 (scalbnf): Likewise.
14042 (scalbnl): Likewise.
14043 (scalbln): Likewise.
14044 (scalblnf): Likewise.
14045 (scalblnl): Likewise.
14046 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
14047 (vwarnx): Likewise.
14048 (verr): Likewise.
14049 (verrx): Likewise.
14050 * manual/filesys.texi (telldir): Use braces around return type.
14051 * manual/llio.texi (mmap): Add space after comma.
14052 (mmap64): Likewise.
14053 * manual/math.texi (jn): Use @var{} on parameter names.
14054 (jnf): Likewise.
14055 (jnl): Likewise.
14056 (yn): Likewise.
14057 (ynf): Likewise.
14058 (ynl): Likewise.
14059 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
14060 line.
14061 * manual/resource.texi (ulimit): Use @dots{} instead of literal
14062 "...".
14063 (sched_get_priority_min): Remove semicolon on @deftypefun line.
14064 (sched_get_priority_max): Likewise.
14065 * manual/signal.texi (sigvec): Add space after comma.
14066 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
14067 names.
14068 (if_indextoname): Likewise.
14069 (if_freenameindex): Likewise.
14070 (sendto): Use ',' instead of '.' in prototype.
14071 * manual/startup.texi (syscall): Use @dots{} instead of literal
14072 "...".
14073 * manual/stdio.texi (__fpending): Separate initial words of
14074 paragraph from @deftypefun line.
14075 * manual/syslog.texi (syslog): Use @dots{} instead of literal
14076 "...".
14077 (vsyslog): Use @var{} on parameter names.
14078 * manual/terminal.texi (stty): Use @var{} on parameter names.
14079 * manual/users.texi (getutmp): Use @var{} on parameter names.
14080 (getutmpx): Likewise.
14081
5b23062f
JM
140822012-02-17 Joseph Myers <joseph@codesourcery.com>
14083
14084 [BZ #6884]
14085 * manual/stdio.texi (fopen): Fix typos in description of
14086 ",ccs=STRING".
14087
8dee4833
AJ
140882012-02-17 Aurelien Jarno <aurelien@aurel32.net>
14089
14090 [BZ #4026]
14091 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
14092 get clock_id definition.
14093
9078ce93
TS
140942012-02-17 Thomas Schwinge <thomas@schwinge.name>
14095
14096 [BZ #4822]
14097 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
14098 (madvise): Cast every argument to void on its own.
14099
3835c55f
JM
141002012-02-17 Joseph Myers <joseph@codesourcery.com>
14101
14102 [BZ #9902]
14103 * manual/startup.texi (Exit Status): Fix typo.
14104
35c47e37
JM
141052012-02-17 Joseph Myers <joseph@codesourcery.com>
14106
14107 [BZ #10140]
14108 * manual/examples/argp-ex1.c: Include <stdlib.h>.
14109 * manual/examples/argp-ex2.c: Likewise.
14110 * manual/examples/argp-ex3.c: Likewise.
14111
e3b69ca7
RH
141122012-02-16 Richard Henderson <rth@redhat.com>
14113
14114 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
14115 * sysdeps/s390/s390-32/initfini.c: Remove.
14116 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
14117 * sysdeps/s390/s390-64/initfini.c: Remove.
14118
df83af67
KK
141192012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14120
14121 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
14122 compiler output for sysdeps/generic/initfini.c.
14123 * sysdeps/sh/elf/initfini.c: Remove file.
14124
f63f3380
DM
141252012-02-16 David S. Miller <davem@davemloft.net>
14126
fb59b3a4
DM
14127 [BZ #11494]
14128 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
14129
f63f3380
DM
14130 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
14131 * sysdeps/sparc/crti.S: New file.
14132 * sysdeps/sparc/crtn.S: New file.
14133 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
14134 * sysdeps/sparc/sparc64/Makefile: Likewise.
14135
df6a4a4a
MF
141362012-02-15 Mike Frysinger <vapier@gentoo.org>
14137
6dd8f3dc 14138 [BZ #3335]
df6a4a4a
MF
14139 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
14140
1cac7236
RM
141412012-02-15 Roland McGrath <roland@hack.frob.com>
14142
d2c736f8
RM
14143 [BZ #4822]
14144 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
14145
1cac7236
RM
14146 * mach/devstream.c (cookie_io_functions_t): Macro removed.
14147 (write, read, close): Likewise.
14148 Patch by Aurelien Jarno <aurelien@aurel32.net>.
14149
8e475601
JM
141502012-02-15 Joseph Myers <joseph@codesourcery.com>
14151
14152 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
14153 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
14154 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
14155 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
14156 <bits/signalfd.h>.
14157 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
14158 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14159 bits/signalfd.h.
14160
ed656b40
MP
141612012-02-14 Marek Polacek <polacek@redhat.com>
14162
14163 * sysdeps/x86_64/crti.S: New file.
14164 * sysdeps/x86_64/crtn.S: New file.
14165 * sysdeps/x86_64/elf/initfini.c: Remove file.
14166
2a979d3a
JM
141672012-02-13 Joseph Myers <joseph@codesourcery.com>
14168
14169 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
14170 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
14171 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
14172 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
14173 <bits/inotify.h>.
14174 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
14175 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14176 bits/inotify.h.
14177
2a418ac3
JM
141782012-02-13 Joseph Myers <joseph@codesourcery.com>
14179
14180 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
14181 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
14182 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
14183 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
14184 <bits/eventfd.h>.
14185 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
14186 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14187 bits/eventfd.h.
14188
fb779be7
TS
141892012-02-10 Thomas Schwinge <thomas@codesourcery.com>
14190
e19e83c5
RM
14191 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
14192 __feraiseexcept instead of feraiseexcept.
7c35ffed 14193
fb779be7
TS
14194 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
14195 nanosleep invocations.
14196 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
14197 strings, and add error checking for a nanosleep invocations.
14198
59ba27a6
PE
141992012-02-09 Paul Eggert <eggert@cs.ucla.edu>
14200
14201 Replace FSF snail mail address with URLs, as per GNU coding standards.
14202 Most of the snail mail addresses were wrong anyway, and omitting
14203 them makes the source code easier to maintain. Almost all of the
14204 changes are to license notices and to locale LC_IDENTIFICATION
14205 addresses, except for this one:
14206 * manual/libc.texinfo: In "Published by", give the FSF's URL,
14207 not its snail mail address.
14208
57b957eb
RH
142092012-02-09 Richard Henderson <rth@twiddle.net>
14210
af850b1c
RH
14211 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
14212 of kernel-features.h.
14213
57b957eb
RH
14214 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
14215
6b73181a
MP
142162012-02-08 Marek Polacek <polacek@redhat.com>
14217
14218 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
14219 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
14220 * sysdeps/gnu/_G_config.h: Likewise.
14221 * sysdeps/generic/_G_config.h: Likewise.
14222
26ecc33a
AS
142232012-02-08 Andreas Schwab <schwab@linux-m68k.org>
14224
6c6dbc63
AS
14225 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
14226 tests.
14227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14228
e216c012
AS
14229 * sysdeps/powerpc/powerpc32/crti.S: New file.
14230 * sysdeps/powerpc/powerpc32/crtn.S: New file.
14231 * sysdeps/powerpc/powerpc64/crti.S: New file.
14232 * sysdeps/powerpc/powerpc64/crtn.S: New file.
14233
26ecc33a
AS
14234 * Makeconfig (have-initfini): Don't set.
14235 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
14236 * configure.in (nopic_initfini): Don't substitute.
14237 * config.h.in (HAVE_INITFINI): Don't #undef.
14238 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
14239 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
14240
3add8e13
JM
142412012-02-08 Joseph Myers <joseph@codesourcery.com>
14242
14243 Support crti.S and crtn.S provided directly by architectures.
14244 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
14245 [crti.S in sysdirs] (omit-deps): Likewise.
14246 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
14247 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
14248 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
14249 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
14250 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
14251 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
14252 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
14253 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
14254 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
14255 compiler output for sysdeps/generic/initfini.c.
14256 * sysdeps/i386/elf/Makefile: Remove file.
14257 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
14258
a22f12b4
MP
142592012-02-07 Marek Polacek <polacek@redhat.com>
14260
14261 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
14262 * sysdeps/gnu/_G_config.h: Likewise.
14263 * sysdeps/mach/hurd/_G_config.h: Likewise.
14264
148cf100
MP
142652012-02-07 Marek Polacek <polacek@redhat.com>
14266
14267 * math/Makefile (tests): Add tst-CMPLX2.
14268 * math/tst-CMPLX2.c: New file.
14269
cfdc0dd7
AS
142702012-02-07 Andreas Schwab <schwab@linux-m68k.org>
14271
84ba42c4
AS
14272 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14273
cfdc0dd7
AS
14274 * math/libm-test.inc (jn_test): Add missing L suffix.
14275
622c86f4
MP
142762012-02-06 Marek Polacek <polacek@redhat.com>
14277
14278 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
14279 * sysdeps/i386/fpu/e_powf.S: Likewise.
14280 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14281 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
14282 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14283 * sysdeps/i386/fpu/e_pow.S: Likewise.
14284 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14285 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14286 * sysdeps/i386/fpu/s_expm1.S: Likewise.
14287 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14288 * sysdeps/i386/fpu/e_log2.S: Likewise.
14289 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14290 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14291 * sysdeps/i386/fpu/e_powl.S: Likewise.
14292 * sysdeps/i386/fpu/s_log1p.S: Likewise.
14293 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14294 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14295 * sysdeps/i386/fpu/e_logl.S: Likewise.
14296 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14297 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
14298 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14299 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14300 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14301 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14302 * sysdeps/i386/fpu/e_log.S: Likewise.
14303 * sysdeps/i386/fpu/s_cexp.S: Likewise.
14304 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14305 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
14306 * sysdeps/i386/fpu/e_logf.S: Likewise.
14307 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14308 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14309 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
14310 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14311 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
14312 * sysdeps/i386/fpu/e_log10.S: Likewise.
14313 * sysdeps/i386/fpu/s_frexp.S: Likewise.
14314 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14315 * sysdeps/i386/fpu/s_asinh.S: Likewise.
14316 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14317 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14318 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14319 * sysdeps/i386/asm-syntax.h: Likewise.
14320 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14321 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14322 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14323 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
14324 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
14325 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14326 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14327 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14328 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14329 * sysdeps/powerpc/sysdep.h: Likewise.
14330 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
14331 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14332
d4a54ac6
JM
143332012-02-06 Joseph Myers <joseph@codesourcery.com>
14334
14335 [BZ #411]
14336 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
14337
314054ea
JM
143382012-02-06 Joseph Myers <joseph@codesourcery.com>
14339
14340 * sysdeps/i386/sysdep.h: Include <features.h>.
14341 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
14342 version.
14343
d8e0ca50
JM
143442012-02-05 Joseph Myers <joseph@codesourcery.com>
14345
14346 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
14347 Define.
14348 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
14349 LOAD_PIC_REG_STR.
14350
b1da7dd9
JM
143512012-02-03 Joseph Myers <joseph@codesourcery.com>
14352
14353 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
14354 (SETUP_PIC_REG): Use GET_PC_THUNK.
14355 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
14356 macro.
14357
9a1d9254
JM
143582012-02-03 Joseph Myers <joseph@codesourcery.com>
14359
14360 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
14361 for non-PIC compilation.
14362 (SETUP_PIC_REG): Add .p2align directive.
14363 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
14364 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
14365 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14366 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14367 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14368 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14369 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
14370 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14371 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14372 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14373 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14374 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14375 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14376 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14377 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14378 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14379 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14380 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14381 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14382 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14383 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14384 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14385 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14386 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14387 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14388 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14389 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14390 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14391 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14392 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14393 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14394 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14395 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14396 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14397 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14398 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14399 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14400 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14401 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14402 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14403 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14404
65dc3b75
JM
144052012-02-03 Joseph Myers <joseph@codesourcery.com>
14406
14407 * math/tst-CMPLX.c: Include <stdio.h>.
14408
d55bf177
JM
144092012-01-31 Joseph Myers <joseph@codesourcery.com>
14410
14411 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
14412 float.
14413 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
14414 * sysdeps/sparc/bits/mathdef.h: Likewise.
14415
69db4f8f
MP
144162012-01-31 Marek Polacek <polacek@redhat.com>
14417
14418 * libio/libio.h: Don't define _PARAMS.
14419 * locale/programs/config.h: Don't define PARAMS.
14420 * stdlib/strtol_l.c: Likewise.
14421 (__strtol_l): Remove PARAMS from the prototype.
14422
41b81892
UD
144232012-01-31 Ulrich Drepper <drepper@gmail.com>
14424
3b49edc0
UD
14425 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
14426 names. Just use the correct names. Remove unnecessary wrapper
14427 functions.
14428 * malloc/arena.c: Likewise.
14429 * malloc/hooks.c: Likewise.
14430
41b81892
UD
14431 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
14432 ARENA_TEST says not to. Simplify test for creation of a new arena.
14433 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
14434
27a25b6e
UD
144352012-01-30 Ulrich Drepper <drepper@gmail.com>
14436
14437 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
14438 into tail calls.
14439 (update_get_addr): New function.
14440 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
14441 GET_ADDR_MODULE parameter.
14442
c8a89e7d
JM
144432012-01-30 Joseph Myers <joseph@codesourcery.com>
14444
14445 * crypt/cert.c: Remove __STDC__ conditionals.
14446 * crypt/crypt-entry.c: Likewise.
14447 * crypt/crypt_util.c: Likewise.
14448 * libio/filedoalloc.c: Likewise.
14449 * libio/fileops.c: Likewise.
14450 * libio/genops.c: Likewise.
14451 * libio/iofclose.c: Likewise.
14452 * libio/iofdopen.c: Likewise.
14453 * libio/iofopen.c: Likewise.
14454 * libio/iofopen64.c: Likewise.
14455 * libio/iogetdelim.c: Likewise.
14456 * libio/iopopen.c: Likewise.
14457 * libio/obprintf.c: Likewise.
14458 * libio/oldfileops.c: Likewise.
14459 * libio/oldiofclose.c: Likewise.
14460 * libio/oldiofdopen.c: Likewise.
14461 * libio/oldiofopen.c: Likewise.
14462 * libio/oldiopopen.c: Likewise.
14463 * libio/wfiledoalloc.c: Likewise.
14464 * libio/wgenops.c: Likewise.
14465 * locale/programs/xmalloc.c: Likewise.
14466 * misc/syslog.c: Likewise.
14467 * stdio-common/xbug.c: Likewise.
14468 * string/memchr.c: Likewise.
14469 * string/memcmp.c: Likewise.
14470 * string/memrchr.c: Likewise.
14471 * string/rawmemchr.c: Likewise.
14472 * sysdeps/posix/getcwd.c: Likewise.
14473 * time/strftime_l.c: Likewise.
14474
3b100462
JM
144752012-01-30 Joseph Myers <joseph@codesourcery.com>
14476
14477 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
14478 * config.make.in (config-cflags-sse2avx): Define.
14479 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
14480 Fix typo.
14481
607998af
CM
144822012-01-29 Chris Metcalf <cmetcalf@tilera.com>
14483
14484 * scripts/config.guess: Update from upstream config git repository.
14485 * scripts/config.sub: Likewise.
14486
3601428f
CM
144872012-01-28 Chris Metcalf <cmetcalf@tilera.com>
14488
3ac8b282
CM
14489 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
14490 (EM_NUM): Update.
14491 (R_TILEPRO_*, R_TILEGX_*): New macros.
14492
e034841e
CM
14493 * scripts/firstversions.awk: Fix bug in version range handling.
14494
540d7568
CM
14495 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
14496
3601428f
CM
14497 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
14498
463de862
CM
14499 * include/sys/epoll.h: New file.
14500 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
14501 libc_hidden_def.
14502
73139a76
UD
145032012-01-28 Ulrich Drepper <drepper@gmail.com>
14504
96bc5b45
UD
14505 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
14506 Avoid unnecessary __WORDSIZE == 64 test.
14507 (fmaxf): Use VEX format if possible.
14508 (fmax): Likewise.
14509 (fminf): Likewise.
14510 (fmin): Likewise.
14511
56f6f6a2
UD
14512 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
14513 * math/math_private.h: Remove libc_fegetround* and
14514 libc_fesetround*.
14515 * sysdeps/i386/configure.in: Check for -msse2avx.
14516 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
14517 also if SSE2AVX is defined.
14518 Remove libc_fegetround* and libc_fesetround*.
14519 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
14520 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
14521 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
14522 of HAS_YMM_USABLE.
14523 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14524 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14525 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14526 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14527 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14528
73139a76
UD
14529 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
14530
d73f93a4
AZ
145312012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14532
14533 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
14534 size is not set.
14535 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
14536
6ee65ed6
UD
145372012-01-27 Ulrich Drepper <drepper@gmail.com>
14538
14539 [BZ #13618]
14540 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
14541 relocation.
14542 * Makeconfig (libm): Define.
14543 * elf/Makefile: Add rules to build and run tst-relsort1.
14544 * elf/tst-relsort1.c: New file.
14545 * elf/tst-relsort1mod1.c: New file.
14546 * elf/tst-relsort1mod2.c: New file.
14547
8db21882
JM
145482012-01-27 Joseph Myers <joseph@codesourcery.com>
14549
14550 * math/s_ldexp.c: Remove __STDC__ conditionals.
14551 * math/s_ldexpf.c: Likewise.
14552 * math/s_ldexpl.c: Likewise.
14553 * math/s_nextafter.c: Likewise.
14554 * math/s_nexttowardf.c: Likewise.
14555 * math/s_significand.c: Likewise.
14556 * math/s_significandf.c: Likewise.
14557 * math/s_significandl.c: Likewise.
14558 * math/w_jnl.c: Likewise.
14559 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
14560 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
14561 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14562 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14563 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14564 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14565 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
14566 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14567 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14568 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14569 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14570 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14571 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14572 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
14573 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14574 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14575 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14576 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14577 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14578 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14579 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14580 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14581 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14582 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14583 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14584 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14585 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14586 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14587 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
14588 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14589 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14590 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
14591 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14592 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
14593 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
14594 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14595 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14596 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14597 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
14598 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14599 * sysdeps/ieee754/k_standard.c: Likewise.
14600 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14601 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14602 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14603 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14604 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14605 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14606 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14607 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14608 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14609 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14610 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14611 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
14612 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14613 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14614 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14615 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14616 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14617 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14618 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14619 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14620 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14621 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14622 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14623 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14624 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14625 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
14626 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14627 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14628 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14629 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14630 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14631 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
14632 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
14633 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
14634 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14635 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
14636 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
14637 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
14638 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
14639 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
14640 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
14641 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
14642 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
14643 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
14644 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
14645 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14646 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14647 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14648 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14649 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
14650 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
14651 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14652 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14653 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
14654 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14655 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
14656 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
14657 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14658 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14659 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14660 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14661 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
14662 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
14663 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14664 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14665 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14666 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14667 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
14668 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
14669 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14670 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14671 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14672 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14673 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14674 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14675 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14676 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
14677 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14678 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
14679 * sysdeps/ieee754/s_matherr.c: Likewise.
14680 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
14681 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14682 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14683 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14684
965a54a4
JM
146852012-01-26 Joseph Myers <joseph@codesourcery.com>
14686
14687 * crypt/md5.h: Remove __STDC__ conditionals.
14688 * libio/libioP.h: Likewise.
14689 * locale/programs/config.h: Likewise.
14690 * sysdeps/generic/sysdep.h: Likewise.
14691 * sysdeps/i386/asm-syntax.h: Likewise.
14692 * sysdeps/s390/asm-syntax.h: Likewise.
14693 * sysdeps/unix/sysdep.h: Likewise.
14694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
14695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14696
7071ad79
JM
146972012-01-26 Joseph Myers <joseph@codesourcery.com>
14698
14699 * libio/libio.h: Remove __STDC__ conditionals.
14700 * malloc/obstack.h: Likewise.
14701 * math/complex.h: Likewise.
14702 * math/math.h: Likewise.
14703 * sysdeps/generic/_G_config.h: Likewise.
14704 * sysdeps/gnu/_G_config.h: Likewise.
14705 * sysdeps/mach/hurd/_G_config.h: Likewise.
14706 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14707 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
14708 * sysdeps/sparc/bits/mathdef.h: Likewise.
14709
afc5ed09
UD
147102012-01-26 Ulrich Drepper <drepper@gmail.com>
14711
14712 [BZ #13583]
14713 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 14714 Clean up HAS_* macros.
afc5ed09 14715 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
14716 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
14717 possible.
14718 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
14719 HAS_AVX.
14720 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14721 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14722 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14723 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14724 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 14725
bdb6de1d
JM
147262012-01-25 Joseph Myers <joseph@codesourcery.com>
14727
14728 * elf/tst-unique3.cc (gets): Remove declaration.
14729 * elf/tst-unique3lib.cc (gets): Likewise.
14730 * elf/tst-unique3lib2.cc (gets): Likewise.
14731 * elf/tst-unique4.cc (gets): Likewise.
14732
b15549e6
UD
147332012-01-24 Ulrich Drepper <drepper@gmail.com>
14734
14735 * include/stdio.h: Add C++ protection. Add gets declarations and
14736 definitions.
14737 * debug/tst-chk1.c: Don't declare gets here.
14738 * stdio-common/tst-gets.c: Likewise.
14739
a037381f
JM
147402012-01-24 Joseph Myers <joseph@codesourcery.com>
14741
14742 * posix/glob: Remove directory.
14743
f1d4aa75
JM
147442012-01-24 Joseph Myers <joseph@codesourcery.com>
14745
14746 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
14747
81c0c964
PT
147482012-01-22 Pino Toscano <toscano.pino@tiscali.it>
14749
14750 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
14751 of the non-standard EPFNOSUPPORT.
14752
0ea698ae
ST
147532011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
14754
14755 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
14756 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
14757 ANYWHERE set to 1 only on KERN_NO_SPACE error.
14758
d220b117
UD
147592012-01-21 Ulrich Drepper <drepper@gmail.com>
14760
14761 * wcsmbs/uchar.h: Test __STDC_VERSION__.
14762
3e1aa84e
UD
147632012-01-20 Ulrich Drepper <drepper@gmail.com>
14764
14765 * nscd/aicache.c (addhstaiX): Do not cache negative results of
14766 transient errors.
14767 * nscd/grpcache.c (cache_addgr): Likewise.
14768 * nscd/hstcache.c (cache_addhst): Likewise.
14769 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14770 * nscd/pwdcache.c (cache_addpw): Likewise.
14771 * nscd/servicescache.c (cache_addserv): Likewise.
14772
400aa020
UD
147732012-01-16 Ulrich Drepper <drepper@gmail.com>
14774
d77e7869
UD
14775 * malloc/malloc.c: Various cleanups.
14776 * malloc/hooks.c: Likewise.
14777
400aa020
UD
14778 * stdlib/Makefile (tests): Add bug-fmtmsg1.
14779 * stdlib/bug-fmtmsg1.c: New file.
14780
14781 * stdlib/fmtmsg.c (init): Add missing unlock.
14782 Patch by Peng Haitao <penght@cn.fujitsu.com>.
14783
e0a309cf
MP
147842012-01-12 Marek Polacek <polacek@redhat.com>
14785
14786 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
14787 and _GNU_SOURCE.
14788
929d11c7
WS
147892012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
14790
14791 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
14792 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
14793 macro to ensure uniqueness of label name.
14794 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
14795 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
14796
41d0e869
UD
147972012-01-11 Ulrich Drepper <drepper@gmail.com>
14798
0cc5ed3b
UD
14799 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
14800
41d0e869
UD
14801 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
14802 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
14803 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14804 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
14805
a47a831a
UD
148062012-01-10 Ulrich Drepper <drepper@gmail.com>
14807
daa891c0
UD
14808 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
14809
14810 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
14811 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
14812 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
14813
e58ef0f2
UD
14814 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
14815
a47a831a 14816 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
14817 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
14818 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 14819 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
14820
14821 * math/bits/math-finite.h: Add ldexp support.
14822
a0bfc9c7
MP
148232012-01-10 Marek Polacek <polacek@redhat.com>
14824
14825 * locale/programs/localedef.h (show_archive_content): Add noreturn
14826 attribute.
14827
d6e97a1d
UD
148282012-01-09 Ulrich Drepper <drepper@gmail.com>
14829
14830 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
14831
d5835c26
UD
148322012-01-08 Ulrich Drepper <drepper@gmail.com>
14833
e5f484c6
UD
14834 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
14835
d5835c26
UD
14836 * io/Makefile (headers): Add bits/poll2.h.
14837
d1f741e9
WS
148382011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
14839
14840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
14841 typo #include statement.
14842
ec09c1c4
UD
148432012-01-08 Ulrich Drepper <drepper@gmail.com>
14844
14845 * include/sys/cdefs.h: Define __attribute_alloc_size.
14846 * catgets/gencat.c: Add alloc_size attribute and apply consistently
14847 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
14848 * elf/pldd.c: Likewise.
14849 * iconv/iconv_charmap.c: Likewise.
14850 * iconv/iconvconfig.c: Likewise.
14851 * iconv/strtab.c: Likewise.
14852 * locale/programs/locale.c: Likewise.
14853 * locale/programs/localedef.h: Likewise.
14854 * locale/programs/simple-hash.c: Likewise.
14855 * nscd/nscd.h: Likewise.
14856 * nss/makedb.c: Likewise.
14857 * sysdeps/generic/ldconfig.h: Likewise.
14858 * locale/programs/localedef.c: Remove xmalloc prototype.
14859 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
14860
20b38e03
PP
148612012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14862
14863 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
14864 appropriate.
14865
a0da5fe1
UD
148662012-01-08 Ulrich Drepper <drepper@gmail.com>
14867
1d5a644a 14868 * math/Makefile (tests): Add tst-CMPLX.
669704fd 14869 * math/tst-CMPLX.c: New file.
1d5a644a 14870
8784a6db
UD
14871 * math/complex.h (CMPLXL): Fix typo.
14872
d9a216c0
UD
14873 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
14874 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
14875 GLIBC_2.16.
14876 * debug/tst-chk1.c: Add poll and ppoll tests.
14877 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
14878 * include/sys/poll.h: Add hidden proto for ppoll.
14879 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
14880 * sysdeps/mach/hurd/ppoll.c: Likewise.
14881 * io/ppoll.c: Likewise.
14882 * debug/poll_chk.c: New file.
14883 * debug/ppoll_chk.c: New file.
14884 * include/bits/poll2.h: New file.
14885 * io/bits/poll2.h: New file.
14886
ac097f5c
UD
14887 [BZ #1350]
14888 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
14889
2119dcfa
UD
14890 * configure.in: static is always set to yes. Remove.
14891 * config.make.in: Don't set build-static.
14892 * Makeconfig: Remove use of build-static.
14893 * dlfcn/Makefile: Likewise.
14894 * elf/Makefile: Likewise.
14895 * math/Makefile: Likewise.
14896 * misc/Makefile: Likewise.
14897 * nptl/Makefile: Likewise.
14898 * sysdeps/mach/hurd/Makefile: Likewise.
14899
121766a9
UD
14900 * configure.in: PWD_P is not used anymore.
14901 * config.make.in: Remove PWD_P entry.
14902
51a1d39c 14903 * configure.in: Remove last remnants of RANLIB.
8720d066 14904 No need to check for signed size_t anymore.
215f4bdc
UD
14905 Don't set libc_commonpagesize and libc_relro_required here for Alpha
14906 and IA-64.
3857022a 14907 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
14908 * aclocal.m4: Likewise.
14909
d3ed7225
UD
14910 * wcsmbs/mbrtoc16.c: Implement using towc function.
14911 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
14912 * wcsmbs/wcsmbsload.c: Likewise.
14913 * iconv/gconv_simple.c: Likewise.
14914 * iconv/gconv_int.h: Likewise.
14915 * iconv/gconv_builtin.h: Likewise.
14916 * iconv/iconv_prog.c: Remove CHAR16 handling.
14917
14918 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
14919
14920 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
14921
a0da5fe1
UD
14922 * configure.in: Remove --with-elf and --enable-bounded options.
14923 Dont set base_machine for ia64. More non-ELF conditions removed.
14924 Remove testing and setting of leading underscore information.
14925 * config.make.in (build-bounded): Set to no.
14926 * config.h.in: Remove NO_UNDERSCORES entry.
14927 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
14928 them.
14929 * csu/start.c: Remove !NO_UNDERSCORE code.
14930 * locale/localeinfo.h: Likewise.
14931 * sysdeps/generic/machine-gmon.h: Likewise.
14932 * sysdeps/generic/sysdep.h: Likewise.
14933 * sysdeps/i386/sysdep.h: Likewise.
14934 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
14935 * sysdeps/mach/sysdep.h: Likewise.
14936 * sysdeps/s390/s390-32/sysdep.h: Likewise.
14937 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14938 * sysdeps/sh/sysdep.h: Likewise.
14939 * sysdeps/sparc/sparc32/alloca.S: Likewise.
14940 * sysdeps/unix/i386/sysdep.S: Likewise.
14941 * sysdeps/unix/sparc/start.c: Likewise.
14942 * sysdeps/unix/sparc/sysdep.S: Likewise.
14943 * sysdeps/unix/sparc/sysdep.h: Likewise.
14944 * sysdeps/unix/start.c: Likewise.
14945 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14946 * sysdeps/x86_64/sysdep.h: Likewise.
14947
df78418a
UD
149482012-01-07 Ulrich Drepper <drepper@gmail.com>
14949
a784e502
UD
14950 [BZ #13553]
14951 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
14952 for non-gcc.
14953 * argp/argp-fmtstream.h: Use const instead __const.
14954 * argp/argp.h: Likewise.
14955 * assert/assert.h: Likewise.
14956 * bits/fenv.h: Likewise.
14957 * bits/sched.h: Likewise.
14958 * bits/sigset.h: Likewise.
14959 * bits/sigthread.h: Likewise.
14960 * catgets/nl_types.h: Likewise.
14961 * conform/data/pthread.h-data: Likewise.
14962 * crypt/crypt-private.h: Likewise.
14963 * crypt/crypt.h: Likewise.
14964 * crypt/crypt_util.c: Likewise.
14965 * ctype/ctype.h: Likewise.
14966 * debug/execinfo.h: Likewise.
14967 * debug/mbsnrtowcs_chk.c: Likewise.
14968 * debug/mbsrtowcs_chk.c: Likewise.
14969 * debug/wcsnrtombs_chk.c: Likewise.
14970 * debug/wcsrtombs_chk.c: Likewise.
14971 * debug/wcstombs_chk.c: Likewise.
14972 * dirent/dirent.h: Likewise.
14973 * dlfcn/dlfcn.h: Likewise.
14974 * elf/neededtest4.c: Likewise.
14975 * grp/grp.h: Likewise.
14976 * gshadow/gshadow.h: Likewise.
14977 * iconv/gconv.h: Likewise.
14978 * iconv/gconv_int.h: Likewise.
14979 * iconv/gconv_simple.c: Likewise.
14980 * iconv/iconv.h: Likewise.
14981 * iconv/loop.c: Likewise.
14982 * iconv/skeleton.c: Likewise.
14983 * include/aio.h: Likewise.
14984 * include/aliases.h: Likewise.
14985 * include/argz.h: Likewise.
14986 * include/arpa/inet.h: Likewise.
14987 * include/assert.h: Likewise.
14988 * include/dirent.h: Likewise.
14989 * include/dlfcn.h: Likewise.
14990 * include/execinfo.h: Likewise.
14991 * include/fcntl.h: Likewise.
14992 * include/fenv.h: Likewise.
14993 * include/glob.h: Likewise.
14994 * include/grp.h: Likewise.
14995 * include/libintl.h: Likewise.
14996 * include/mntent.h: Likewise.
14997 * include/netdb.h: Likewise.
14998 * include/pwd.h: Likewise.
14999 * include/rpc/netdb.h: Likewise.
15000 * include/sched.h: Likewise.
15001 * include/search.h: Likewise.
15002 * include/shadow.h: Likewise.
15003 * include/signal.h: Likewise.
15004 * include/stdio.h: Likewise.
15005 * include/stdlib.h: Likewise.
15006 * include/string.h: Likewise.
15007 * include/sys/socket.h: Likewise.
15008 * include/sys/stat.h: Likewise.
15009 * include/sys/statfs.h: Likewise.
15010 * include/sys/statvfs.h: Likewise.
15011 * include/sys/syslog.h: Likewise.
15012 * include/sys/time.h: Likewise.
15013 * include/sys/uio.h: Likewise.
15014 * include/time.h: Likewise.
15015 * include/unistd.h: Likewise.
15016 * include/utmp.h: Likewise.
15017 * include/wchar.h: Likewise.
15018 * include/wctype.h: Likewise.
15019 * inet/aliases.h: Likewise.
15020 * inet/arpa/inet.h: Likewise.
15021 * inet/netinet/ether.h: Likewise.
15022 * inet/netinet/in.h: Likewise.
15023 * intl/libintl.h: Likewise.
15024 * io/bits/fcntl2.h: Likewise.
15025 * io/fcntl.h: Likewise.
15026 * io/ftw.h: Likewise.
15027 * io/sys/poll.h: Likewise.
15028 * io/sys/stat.h: Likewise.
15029 * io/sys/statfs.h: Likewise.
15030 * io/sys/statvfs.h: Likewise.
15031 * io/utime.h: Likewise.
15032 * libio/bits/stdio.h: Likewise.
15033 * libio/bits/stdio2.h: Likewise.
15034 * libio/libio.h: Likewise.
15035 * libio/libioP.h: Likewise.
15036 * libio/stdio.h: Likewise.
15037 * locale/lc-ctype.c: Likewise.
15038 * locale/locale.h: Likewise.
15039 * login/utmp.h: Likewise.
15040 * malloc/arena.c: Likewise.
15041 * malloc/malloc.c: Likewise.
15042 * malloc/malloc.h: Likewise.
15043 * malloc/mcheck.c: Likewise.
15044 * malloc/mtrace.c: Likewise.
15045 * math/bits/mathcalls.h: Likewise.
15046 * math/fenv.h: Likewise.
15047 * math/math_private.h: Likewise.
15048 * misc/bits/error.h: Likewise.
15049 * misc/bits/syslog.h: Likewise.
15050 * misc/err.h: Likewise.
15051 * misc/error.h: Likewise.
15052 * misc/fstab.h: Likewise.
15053 * misc/mntent.h: Likewise.
15054 * misc/regexp.h: Likewise.
15055 * misc/search.h: Likewise.
15056 * misc/sgtty.h: Likewise.
15057 * misc/sys/mman.h: Likewise.
15058 * misc/sys/syslog.h: Likewise.
15059 * misc/sys/uio.h: Likewise.
15060 * misc/sys/xattr.h: Likewise.
15061 * misc/ttyent.h: Likewise.
15062 * nis/rpcsvc/ypclnt.h: Likewise.
15063 * nss/nss.h: Likewise.
15064 * posix/bits/unistd.h: Likewise.
15065 * posix/fnmatch.h: Likewise.
15066 * posix/glob.h: Likewise.
15067 * posix/sched.h: Likewise.
15068 * posix/spawn.h: Likewise.
15069 * posix/sys/wait.h: Likewise.
15070 * posix/unistd.h: Likewise.
15071 * posix/wordexp.h: Likewise.
15072 * pwd/pwd.h: Likewise.
15073 * resolv/netdb.h: Likewise.
15074 * resource/sys/resource.h: Likewise.
15075 * rt/aio.h: Likewise.
15076 * rt/bits/mqueue2.h: Likewise.
15077 * rt/mqueue.h: Likewise.
15078 * shadow/shadow.h: Likewise.
15079 * signal/signal.h: Likewise.
15080 * socket/send.c: Likewise.
15081 * socket/sendto.c: Likewise.
15082 * socket/sys/socket.h: Likewise.
15083 * stdio-common/printf.h: Likewise.
15084 * stdlib/bits/stdlib.h: Likewise.
15085 * stdlib/fmtmsg.h: Likewise.
15086 * stdlib/monetary.h: Likewise.
15087 * stdlib/stdlib.h: Likewise.
15088 * stdlib/ucontext.h: Likewise.
15089 * streams/stropts.h: Likewise.
15090 * string/argz.h: Likewise.
15091 * string/bits/string2.h: Likewise.
15092 * string/string.h: Likewise.
15093 * string/strings.h: Likewise.
15094 * sunrpc/rpc/auth.h: Likewise.
15095 * sunrpc/rpc/auth_des.h: Likewise.
15096 * sunrpc/rpc/clnt.h: Likewise.
15097 * sunrpc/rpc/netdb.h: Likewise.
15098 * sunrpc/rpc/pmap_clnt.h: Likewise.
15099 * sunrpc/rpc/xdr.h: Likewise.
15100 * sysdeps/generic/inttypes.h: Likewise.
15101 * sysdeps/generic/net/if.h: Likewise.
15102 * sysdeps/generic/sys/swap.h: Likewise.
15103 * sysdeps/gnu/net/if.h: Likewise.
15104 * sysdeps/gnu/utmpx.h: Likewise.
15105 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
15106 * sysdeps/i386/i486/bits/string.h: Likewise.
15107 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
15108 * sysdeps/s390/bits/string.h: Likewise.
15109 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
15110 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
15111 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
15112 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
15113 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
15114 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
15115 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
15116 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
15117 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
15118 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
15119 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
15120 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15121 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
15122 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15123 * sysdeps/unix/sysv/linux/readv.c: Likewise.
15124 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
15125 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15126 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15127 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15128 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15129 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
15130 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
15131 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
15132 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
15133 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
15134 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
15135 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
15136 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15137 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
15138 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
15139 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
15140 * sysvipc/sys/ipc.h: Likewise.
15141 * sysvipc/sys/msg.h: Likewise.
15142 * sysvipc/sys/sem.h: Likewise.
15143 * sysvipc/sys/shm.h: Likewise.
15144 * termios/termios.h: Likewise.
15145 * time/sys/time.h: Likewise.
15146 * time/time.h: Likewise.
15147 * wcsmbs/bits/wchar2.h: Likewise.
15148 * wcsmbs/uchar.h: Likewise.
15149 * wcsmbs/wchar.h: Likewise.
15150 * wctype/wctype.h: Likewise.
15151
0269750c
UD
15152 [BZ #13551]
15153 * Makeconfig: Remove all but ELF support including AIX support.
15154 * Makerules: Likewise.
15155 * config.h.in: Likewise.
15156 * config.make.in: Likewise.
15157 * configure: Likewise.
15158 * configure.in: Likewise.
15159 * csu/Makefile: Likewise.
15160 * csu/version.c: Likewise.
15161 * debug/Makefile: Likewise.
15162 * dlfcn/Makefile: Likewise.
15163 * elf/Makefile: Likewise.
15164 * extra-lib.mk: Likewise.
15165 * iconv/Makefile: Likewise.
15166 * include/libc-symbols.h: Likewise.
15167 * include/shlib-compat.h: Likewise.
15168 * resolv/Makefile: Likewise.
15169 * resolv/res_libc.c: Likewise.
15170 * rt/Makefile: Likewise.
15171 * sysdeps/i386/asm-syntax.h: Likewise.
15172 * sysdeps/i386/sysdep.h: Likewise.
15173 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15174 * sysdeps/mach/sysdep.h: Likewise.
15175 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
15176 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
15177 * sysdeps/s390/asm-syntax.h: Likewise.
15178 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15179 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15180 * sysdeps/sh/sysdep.h: Likewise.
15181 * sysdeps/unix/sparc/sysdep.h: Likewise.
15182 * sysdeps/wordsize-32/divdi3.c: Likewise.
15183 * sysdeps/x86_64/sysdep.h: Likewise.
15184
00bbd29b
UD
15185 * argp/Versions: Remove _argp_unlock_xxx.
15186
15187 [BZ #13559]
15188 * abilist/ld.abilist: Update. Adjust for removal of tls option.
15189 * abilist/libBrokenLocale.abilist: Likewise.
15190 * abilist/libanl.abilist: Likewise.
15191 * abilist/libc.abilist: Likewise.
15192 * abilist/libcrypt.abilist: Likewise.
15193 * abilist/libdl.abilist: Likewise.
15194 * abilist/libm.abilist: Likewise.
15195 * abilist/libnsl.abilist: Likewise.
15196 * abilist/libpthread.abilist: Likewise.
15197 * abilist/libresolv.abilist: Likewise.
15198 * abilist/librt.abilist: Likewise.
15199 * abilist/libthread_db.abilist: Likewise.
15200 * abilist/libutil.abilist: Likewise.
15201 * abilist/libnss_db.abilist: New file.
15202
15203 * scripts/abilist.awk: Add support for indirect functions.
15204
a2693a0e
UD
15205 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
15206
3f05895f
UD
15207 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
15208
ecb6fb48
UD
15209 * shlib-versions: Remove entries for ports architectures.
15210
664f8cb9
UD
15211 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
15212 files in ports.
15213 * elf/stackguard-macros.h: Remove support for IA-64.
15214 * elf/tst-auditmod1.c: Likewise.
15215 * sysdeps/generic/ldsodefs.h: Likewise.
15216
7ae81d88
UD
15217 * sysdeps/unix/sysv/linux/configure.in: Ports should define
15218 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
15219 configure files.
15220
bdeba135
UD
15221 [BZ #13552]
15222 * configure.in: Remove --enable-omitfp support.
15223 * FAQ.in: Adjust.
15224 * config.make.in: Likewise.
15225 * Makeconfig: Likewise.
15226 * manual/install.texi: Likewise.
15227
d75a0a62
UD
15228 In case anyone cares, the IA-64 architecture could move to ports.
15229 * sysdeps/ia64/*: Removed.
15230 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 15231 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 15232
dcc9756b
UD
15233 [BZ #13555]
15234 * configure.in: Remove entries for unsupported architectures.
15235
d3761ebc 15236 [BZ #13533]
9954432e
UD
15237 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
15238 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
15239 routines.
15240 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
15241 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
15242 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
15243 fall back to using wcrtomb.
15244 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
15245 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
15246 renaming.
15247 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
15248 * wcsmbs/tst-c16c32-1.c: New file.
15249
15250 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
15251 local variable.
15252
c3a87236
UD
15253 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
15254
28926a1b
UD
15255 * elf/tst-unique3.cc: Add explicit declaration of gets.
15256 * elf/tst-unique3lib.cc: Likewise.
15257 * elf/tst-unique3lib2.cc: Likewise.
15258 * elf/tst-unique4.cc: Likewise.
15259
df78418a
UD
15260 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
15261
8ecd6b2a
JM
152622012-01-06 Joseph Myers <joseph@codesourcery.com>
15263
15264 [BZ #13566]
15265 * assert/assert.h (static_assert): Don't define for C++.
15266 * libio/stdio.h (gets): Do declare for C++ <= C++11.
15267 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
15268
9f115170
UD
152692012-01-03 Ulrich Drepper <drepper@gmail.com>
15270
5e0d0300
UD
15271 * iconv/loop.c (single loop): Fix assertion in storing of
15272 remaining bytes.
15273
9f115170
UD
15274 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
15275
81fb02b0
UD
152762012-01-01 Ulrich Drepper <drepper@gmail.com>
15277
15278 * posix/getconf.c: Update copyright year.
15279 * nss/getent.c: Likewise.
a316c1f6 15280 * nss/makedb.c: Likewise.
81fb02b0
UD
15281 * iconv/iconvconfig.c: Likewise.
15282 * iconv/iconv_prog.c: Likewise.
15283 * elf/ldconfig.c: Likewise.
a316c1f6
UD
15284 * elf/pldd.c: Likewise.
15285 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
15286 * catgets/gencat.c: Likewise.
15287 * csu/version.c: Likewise.
15288 * elf/ldd.bash.in: Likewise.
15289 * elf/sprof.c (print_version): Likewise.
15290 * locale/programs/locale.c: Likewise.
15291 * locale/programs/localedef.c: Likewise.
a316c1f6 15292 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
15293 * nscd/nscd.c (print_version): Likewise.
15294 * debug/xtrace.sh: Likewise.
15295 * malloc/memusage.sh: Likewise.
15296 * malloc/mtrace.pl: Likewise.
15297 * debug/catchsegv.sh: Likewise.
15298
2ba92745
JJ
152992011-12-30 Jakub Jelinek <jakub@redhat.com>
15300
15301 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
15302 pure attribute.
15303
dadebdae
UD
153042011-12-24 Ulrich Drepper <drepper@gmail.com>
15305
d3761ebc 15306 [BZ #13533]
db6af3eb
UD
15307 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
15308 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
15309 transformations.
15310 * iconv/gconv_int.h: Likewise.
15311 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
15312 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
15313 from libc for GLIBC_2.16.
15314 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
15315 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
15316 * wcsmbs/uchar.h: Really define mbstate_t.
15317 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
15318 * wcsmbs/c16rtomb.c: New file.
15319 * wcsmbs/mbrtoc16.c: New file.
15320 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
15321 for C/POSIX locale.
15322 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
15323 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
15324
dadebdae
UD
15325 * wcsmbs/wchar.h: Add missing __restrict.
15326
67371b56
UD
153272011-12-23 Ulrich Drepper <drepper@gmail.com>
15328
74033a25
UD
15329 [BZ #13532]
15330 * time/Makefile (routines): Add timespec_get.
15331 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
15332 * time/time.h: Define TIME_UTC and declare timespec_get. Define
15333 timespec for ISO C11.
15334 * time/timespec_get.c: New file.
15335 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
15336 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
15337
380d7e87
UD
15338 [BZ #13531]
15339 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
15340 * stdlib/stdlib.h: Declare aligned_alloc.
15341 * Versions.def: Add GLIBC_2.16 for libc.
15342 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
15343
4e9e7a35
UD
15344 [BZ 13527]
15345 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
15346 ISO C11.
15347
380d7e87 15348 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
15349 code.
15350
03a71829
UD
15351 [BZ #13528]
15352 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
15353
839e283e
UD
15354 [BZ #13529]
15355 * assert/assert.h (static_assert): Define.
15356
ce5294e2 15357 * version.h: Update for 2.16 development version.
90fa7312 15358
8d44e150 15359 [BZ #13526]
d7809905
UD
15360 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
15361 _ISOC11_SOURCE.
15362
c0da14cd
UD
15363 * version.h (RELEASE): Bump for 2.15 release.
15364 * include/features.h (__GLIBC_MINOR__): Bump to 15.
15365
530a3249
MP
15366 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
15367 Patch by Marek Polacek <mpolacek@redhat.com>.
15368
67371b56
UD
15369 * bits/byteswap.h: Protect long long constants with __extension__.
15370 * sysdeps/i386/bits/byteswap.h: Likewise.
15371 * sysdeps/ia64/bits/byteswap.h: Likewise.
15372 * sysdeps/s390/bits/byteswap.h: Likewise.
15373 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15374
15db4de1
LD
153752011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15376
15377 [BZ #13540]
bbe315ea
LD
15378 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
15379 destination buffer.
15db4de1
LD
15380 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
15381
2b2596b1
MP
153822011-12-23 Marek Polacek <polacek@redhat.com>
15383
15384 * elf/dl-addr.c (determine_info): Add inline keyword.
15385 * elf/tst-auditmod4b.c (check_avx): Likewise.
15386 * elf/tst-auditmod6b.c (check_avx): Likewise.
15387 * elf/tst-auditmod6c.c (check_avx): Likewise.
15388 * elf/tst-auditmod7b.c (check_avx): Likewise.
15389
70c6c246
UD
153902011-12-23 Ulrich Drepper <drepper@gmail.com>
15391
15392 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
15393 !__SSE_MATH__.
15394
c044cf14
LD
153952011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15396
15db4de1 15397 [BZ #13540]
c044cf14
LD
15398 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
15399 processing for last bytes.
15400
6b13d9d9
BH
154012011-08-06 Bruno Haible <bruno@clisp.org>
15402
d455f537
BH
15403 [BZ #13061]
15404 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
15405 U+0385, not to U+1FEE.
15406
6b13d9d9
BH
15407 [BZ #13062]
15408 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
15409 entry for U+00A5 U+0301.
15410
db910efd
UD
154112011-12-22 Ulrich Drepper <drepper@gmail.com>
15412
27deeafc
UD
15413 [BZ #13166]
15414 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
15415 buffer for the output is too small.
15416
aed9d171
UD
15417 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
15418 optimization.
15419
db910efd
UD
15420 [BZ #13185]
15421 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
15422 SSE flags if possible.
15423
2bd779ae
LD
154242011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15425
e7f9dac3 15426 [BZ #13540]
2bd779ae
LD
15427 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
15428 processing for last bytes.
15429
154bfc16
JM
154302011-12-22 Joseph Myers <joseph@codesourcery.com>
15431
15432 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
15433 (syscall-list-default-options, syscall-list-default-condition)
15434 (syscall-list-includes): Define.
15435 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
15436 list of ABIs and options and #if conditions for each ABI. Do not
15437 handle common syscalls between ABIs specially.
15438 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
15439 Remove.
15440 (syscall-list-variants, syscall-list-32bit-options)
15441 (syscall-list-32bit-condition, syscall-list-64bit-options)
15442 (syscall-list-64bit-condition): Define.
15443 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
15444 (syscall-list-variants, syscall-list-32bit-options)
15445 (syscall-list-32bit-condition, syscall-list-64bit-options)
15446 (syscall-list-64bit-condition): Define.
15447 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
15448 Remove.
15449 (syscall-list-variants, syscall-list-32bit-options)
15450 (syscall-list-32bit-condition, syscall-list-64bit-options)
15451 (syscall-list-64bit-condition): Define.
15452 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
15453 Remove.
15454 (syscall-list-variants, syscall-list-32bit-options)
15455 (syscall-list-32bit-condition, syscall-list-64bit-options)
15456 (syscall-list-64bit-condition): Define.
15457
21eaf3a5
UD
154582011-12-22 Ulrich Drepper <drepper@gmail.com>
15459
16c6f992
UD
15460 * locale/iso-639.def: Add brx entry.
15461
41043168
UD
15462 [BZ #13328]
15463 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
15464 Proposed by Mariusz_Cukr <marcukr@op.pl>.
15465
21eaf3a5
UD
15466 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
15467 __feraiseexcept_renamed.
15468
e3a851a2
UD
154692011-12-21 Ulrich Drepper <drepper@gmail.com>
15470
4920765e
UD
15471 [BZ #13538]
15472 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
15473 EPOLLET with unsigned values.
15474 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15475 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
15476
e3a851a2
UD
15477 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
15478 to large cancellation.
15479 * math/s_cacoshf.c: Likewise.
15480 * math/s_cacoshl.c: Likewise.
15481
b27e24b8
RK
154822011-11-18 Richard B. Kreckel <kreckel@ginac.de>
15483
15484 [BZ #13305]
aebefeee 15485 [BZ #12786]
b27e24b8
RK
15486 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
15487 * math/s_cacoshf.c: Likewise.
15488 * math/s_cacoshl.c: Likewise.
15489
ee190f67
UD
154902011-12-21 Ulrich Drepper <drepper@gmail.com>
15491
15492 [BZ #13439]
15493 * iconv/gconv.h: Define __GCONV_SWAP.
15494 * iconvdata/unicode.c: The swap bit must be stored in __flags.
15495 * iconvdata/utf-16.c: Likewise.
15496 * iconvdata/utf-32.c: Likewise.
15497
707f25df
AS
154982011-12-21 Andreas Schwab <schwab@linux-m68k.org>
15499
15500 [BZ #13524]
15501 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
15502 numerator after shifting it by one limb.
15503
d2daaa1e
RÁE
155042011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
15505
15506 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
15507 under [__USE_EXTERN_INLINES].
15508
a4647e72
UD
155092011-12-17 Ulrich Drepper <drepper@gmail.com>
15510
15511 [BZ #13446]
15512 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
15513
f0b264f1
AZ
155142011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15515
15516 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
15517 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
15518 optimized code.
15519 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
15520 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
15521 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
15522 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
15523 for strncasecmp/strncasecmp_l compilation.
15524 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
15525 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
15526
8ef4f244
MP
155272011-12-08 Marek Polacek <mpolacek@redhat.com>
15528
15529 [BZ #13484]
15530 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
15531 of __asm__.
15532
97ac2654
UD
155332011-12-17 Ulrich Drepper <drepper@gmail.com>
15534
15535 [BZ #13506]
15536 * time/tzfile.c (__tzfile_read): Check values from file header.
15537
91d2a845
WS
155382011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
15539
15540 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
15541 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
15542 * powerpc/powerpc32/dl-start.S: Likewise.
15543 * powerpc/powerpc32/elf/start.S: Likewise.
15544 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
15545 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
15546 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
15547 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
15548 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15549 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
15550 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
15551 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15552 * powerpc/powerpc32/fpu/s_round.S: Likewise.
15553 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15554 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15555 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15556 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
15557 * powerpc/powerpc32/memset.S: Likewise.
15558 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15559 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15560 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15561 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15562 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15563 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15564 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15565 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15566 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
15567 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
15568 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
15569 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15570 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15571
a1267ba1
AZ
155722011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15573
15574 * math/libm-test.inc: Added more nearbyint tests.
15575 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
15576 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
15577 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
15578 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
15579
ad8ac1bd
RL
155802011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
15581
15582 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
15583 FD_CLOEXEC.
15584
1d3e4b61
UD
155852011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15586
15587 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
15588 Add wcscpy-ssse3 wcscpy-c.
15589 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
15590 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
15591 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
15592 * sysdeps/x86_64/wcschr.S: New file.
15593 * sysdeps/x86_64/wcsrchr.S: New file.
15594 * string/test-strcmp.c: Remove checking of wcscmp function for
15595 wrong alignments.
15596 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
15597 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
15598 wcsrchr-sse2 wcsrchr-c.
15599 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
15600 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
15601 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
15602 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
15603 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
15604 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
15605 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
15606 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
15607 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
15608 * wcsmbc/wcschr.c (WCSCHR): New macro.
15609
5b330a2d
UD
156102011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15611
15612 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
15613 * wcsmbs/test-wcsrchr.c: New file.
15614 * string/test-strrchr.c: Add wcsrchr support.
15615 (WIDE): New macro.
15616 * wcsmbs/test-wcscpy.c: New file.
15617 * string/test-strcpy.c: Add wcscpy support.
15618 (WIDE): New macro.
26428b7c 15619
f039c043
UD
156202011-12-10 Ulrich Drepper <drepper@gmail.com>
15621
15622 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
15623 the inner loop.
15624
850fb039
AS
156252011-12-06 Andreas Schwab <schwab@linux-m68k.org>
15626
15627 [BZ #13472]
15628 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
15629
4efbd5cb
UD
156302011-12-04 Ulrich Drepper <drepper@gmail.com>
15631
52ff5dd0 15632 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 15633 Minor optimizations.
52ff5dd0 15634
4efbd5cb
UD
15635 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
15636 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
15637 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
15638
8a426e12
UD
156392011-12-03 Ulrich Drepper <drepper@gmail.com>
15640
aff2453d
UD
15641 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
15642 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
15643 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
15644 for gcc to avoid warnings.
15645 * inet/Makefile (tests): Add tst-checks.
15646 * inet/tst-checks.c: New file.
15647
15648 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
15649 warning.
15650
15651 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
15652 __wmemcmp_sse2.
15653
15654 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
15655 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
15656
8a426e12
UD
15657 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
15658
9bea3473
UD
156592011-12-02 Ulrich Drepper <drepper@gmail.com>
15660
3a965496
UD
15661 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
15662 problem.
15663
9bea3473
UD
15664 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
15665
f101631b
UD
156662011-11-29 Joseph Myers <joseph@codesourcery.com>
15667
15668 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
15669 conditional on GCC version.
15670 (__arch_compare_and_exchange_val_8_acq)
15671 (__arch_compare_and_exchange_val_16_acq)
15672 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
15673 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
15674 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
15675
a98275aa
UD
156762011-12-02 Joseph Myers <joseph@codesourcery.com>
15677
15678 * sysdeps/sh/backtrace.c: New file.
15679
d4cc29a2
AS
156802011-12-02 Andreas Schwab <schwab@redhat.com>
15681
15682 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
15683 parenthesis.
15684
6257af2d
AS
156852011-12-01 Andreas Schwab <schwab@redhat.com>
15686
15687 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
15688 falling back to utime.
15689
b5f44c1a
AS
156902011-11-30 Andreas Schwab <schwab@redhat.com>
15691
15692 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
15693 expectations for float.
15694
f3a6cc0a
AS
156952011-11-29 Andreas Schwab <schwab@redhat.com>
15696
15697 * locale/weight.h (findidx): Add parameter len.
15698 * locale/weightwc.h (findidx): Likewise.
15699 * posix/fnmatch_loop.c (FCT): Adjust caller.
15700 * posix/regcomp.c (build_equiv_class): Likewise.
15701 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
15702 * posix/regexec.c (check_node_accept_bytes): Likewise.
15703 * string/strcoll_l.c (STRCOLL): Likewise.
15704 * string/strxfrm_l.c (STRXFRM): Likewise.
15705
9d65ea3a
UD
157062011-11-17 Ulrich Drepper <drepper@gmail.com>
15707
15708 * Makefile.in: Remove CVSOPT handling.
15709 * configure.in: Remove use of AC_REVISION.
15710 * iconvdata/Makefile (distribute): No need to filter out CVS.
15711 * scripts/list-sources.sh: Remove CVS, subversion and monotone
15712 handling.
15713
5583a086
AS
157142011-11-16 Andreas Schwab <schwab@redhat.com>
15715
15716 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
15717 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
15718 [USE_AS_STRNCASECMP_L]: Likewise.
15719 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
15720 NO_TLS_DIRECT_SEG_REFS.
15721 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
15722 Fix argument offsets for non-PIC.
15723 [USE_AS_STRNCASECMP_L]: Likewise.
15724 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
15725 NO_TLS_DIRECT_SEG_REFS.
15726
d62a8200
UD
157272011-11-15 Ulrich Drepper <drepper@gmail.com>
15728
9d65ea3a 15729 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
15730 O_CLOEXEC.
15731 * locale/loadlocale.c (_nl_load_locale): Likewise.
15732
09f93bd3
AS
157332011-11-15 Andreas Schwab <schwab@redhat.com>
15734
446514f9
AS
15735 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
15736 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
15737 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
15738 (SYSCALL_GETTIME): Set errno on error.
15739
09f93bd3
AS
15740 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
15741 count references to noai6ai_cached.
15742
312be3f9
UD
157432011-11-15 Ulrich Drepper <drepper@gmail.com>
15744
15745 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
15746
15747 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
15748 FD_CLOEXEC for /proc/self/maps.
15749
15750 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
15751 FD_CLOEXEC for /proc/meminfo.
15752
15753 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
15754 gai.conf.
15755
15756 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
15757 FD_CLOEXEC for given file.
15758
15759 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
15760
15761 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
15762 FD_CLOEXEC for /etc/hosts.
15763 (_gethtent): Likewise.
15764
15765 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
15766
15767 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
15768 cancellation and set FD_CLOEXEC for /etc/netgroup.
15769
15770 * nss/nss_files/files-key.c (search): Don't allow cancellation when
15771 reading /etc/publickey.
15772
15773 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
15774 allow cancellation when reading /etc/group.
15775
15776 * nss/nss_files/files-alias.c (internal_setent): Don't allow
15777 cancellation.
15778 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
15779
15780 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
15781 when using data file.
15782
15783 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
15784
15785 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
15786 (write_nis_obj): Use "c" and "e" in fopen.
15787
15788 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
15789
15790 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
15791
15792 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
15793
15794 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
15795
15796 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
15797 locale.alias.
15798
15799 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
15800
15801 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
15802
15803 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
15804
15805 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
15806 file parsing and set FD_CLOEXEC.
15807
82af0fa8
UD
158082011-11-14 Ulrich Drepper <drepper@gmail.com>
15809
15810 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
15811
a5fb313c
AS
158122011-11-14 Andreas Schwab <schwab@redhat.com>
15813
15814 * malloc/arena.c (arena_get2): Don't call reused_arena when
15815 _int_new_arena failed.
15816
6abf3465
UD
158172011-11-14 Ulrich Drepper <drepper@gmail.com>
15818
15819 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
15820 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
15821 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
15822 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15823 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15824 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
15825 to compile strcasecmp and strncasecmp.
15826 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
15827 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
15828
15829 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
15830
76e3966e
UD
158312011-11-13 Ulrich Drepper <drepper@gmail.com>
15832
15833 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
15834 locale-defines.sym to gen-as-const-headers.
15835 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
15836 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
15837 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
15838 to compile strcasecmp and strncasecmp.
15839 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
15840 strcasecmp_l and strncasecmp_l.
15841 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
15842 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
15843 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
15844 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
15845 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
15846 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
15847 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
15848 * sysdeps/i386/i686/multiarch/strncase.S: New file.
15849 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
15850 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
15851 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
15852
ab26144e
UD
158532011-11-12 Ulrich Drepper <drepper@gmail.com>
15854
7edb22ef
UD
15855 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
15856 result of SYSDEP_GETTIME_CPU to retval.
15857 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
15858 parameter list to macro. Remove trailing semicolon. Adjust users.
15859
9694fc44
UD
15860 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
15861 variable.
15862
8ad89ef8
UD
15863 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
15864 mantissa words.
15865 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
15866
0c822ef9
UD
15867 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
15868 from unused variable.
15869
874e0564
UD
15870 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
15871 DWARF definitions.
15872 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
15873 for assembling.
15874
3a2edc79
UD
15875 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
15876 over namespaces.
15877
f3c2577f
UD
15878 * sunrpc/rpc_prot.c (rejected): Fix case value.
15879
294ce126
UD
15880 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
15881 unsigned long long int to avoid warnings in shift.
15882
5e2b63c6
UD
15883 * posix/regex_internal.c (re_string_reconstruct): Actually use result
15884 of use of trans.
15885 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
15886 variable tmp.
15887
e7f4b08e
UD
15888 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
15889 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
15890 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
15891
ab26144e
UD
15892 * nis/nis_table.c (nis_list): Use variable of correct type for
15893 result of __follow_path call.
15894
8a6d5255
AZ
158952011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15896
15897 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
15898 of math functions ceil, trunc, floor, round, and sqrt, when
15899 avaliable on the platform.
15900 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
15901 name clash.
15902 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15903 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
15904 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
15905
aaddc98c
MP
159062011-10-30 Marek Polacek <mpolacek@redhat.com>
15907
15908 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
15909 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
15910
95b7042b
RM
159112011-11-11 Roland McGrath <roland@hack.frob.com>
15912
15913 * include/unistd.h: Fix __readlink return type.
15914 Reported by Chris Metcalf <cmetcalf@tilera.com>.
15915
57769839
UD
159162011-11-11 Ulrich Drepper <drepper@gmail.com>
15917
15918 * stdlib/ucontext.h: Undo last change for makecontext.
15919
edc5984d
AS
159202011-11-11 Andreas Schwab <schwab@redhat.com>
15921
98591e58
AS
15922 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
15923
edc5984d
AS
15924 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
15925 * setjmp/setjmp.h: Mark functions as non-leaf.
15926 * setjmp/bits/setjmp2.h: Likewise.
15927 * stdlib/ucontext.h: Likewise.
15928
77cdc054
AS
159292011-11-10 Andreas Schwab <schwab@redhat.com>
15930
15931 * malloc/arena.c (_int_new_arena): Don't increment narenas.
15932 (reused_arena): Don't check arena limit.
15933 (arena_get2): Atomically check arena limit.
15934
fe72eebd
UD
159352011-11-08 Ulrich Drepper <drepper@gmail.com>
15936
5f078c32
UD
15937 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
15938 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
15939
fe72eebd
UD
15940 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
15941 instructions.
15942
ae1bc2fa
AS
159432011-11-07 Andreas Schwab <schwab@redhat.com>
15944
7583a88d
AS
15945 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
15946 handler when locking.
15947
ae1bc2fa
AS
15948 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15949 Fix size of allocated buffer.
15950
10fb0bfa
AS
159512011-11-04 Andreas Schwab <schwab@redhat.com>
15952
998832a4
AS
15953 [BZ #10103]
15954 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
15955 declarations for long double functions.
15956 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
15957
10fb0bfa
AS
15958 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
15959
3d7ba52b
AS
159602011-11-03 Andreas Schwab <schwab@redhat.com>
15961
a9ae54a1
AS
15962 * nscd/nscd.c (main): Don't start AVC thread until credentials are
15963 installed.
15964
3d7ba52b
AS
15965 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
15966 is disabled.
15967
bc8db248
ST
159682011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15969
15970 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
15971
45b96dd6
AS
159722011-11-01 Andreas Schwab <schwab@linux-m68k.org>
15973
647776f6
AS
15974 * include/alloca.h (stackinfo_alloca_round): Define.
15975 (extend_alloca): Use it.
15976 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
15977 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
15978 here.
15979
d91a8b93
AS
15980 * scripts/check-local-headers.sh: Ignore libaudit.h.
15981
45b96dd6
AS
15982 * nscd/Makefile (extra-objs): Make recursively expanded.
15983
432d41ce
UD
159842011-11-01 Ulrich Drepper <drepper@gmail.com>
15985
34372fc6
UD
15986 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
15987 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
15988
fadb59f8
UD
15989 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
15990 * posix/tst-rfc3484-2.c: Likewise.
15991 * posix/tst-rfc3484-3.c: Likewise.
15992
78239589
UD
15993 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
15994 process_vm_writev.
15995 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
15996 process_vm_writev.
15997 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
15998 process_vm_writev from libc using GLIBC_2.15 version.
15999
432d41ce
UD
16000 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
16001
02f9c6cf
PP
160022011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
16003
16004 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
16005 stack usage.
16006
3a2c0242
UD
160072011-10-31 Ulrich Drepper <drepper@gmail.com>
16008
f4ec4833
UD
16009 [BZ #13367]
16010 * nss/getent.c (initgroups_keys): Show error message in case no group
16011 names are given.
16012
3a2c0242
UD
16013 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
16014 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
16015 __bump_nl_timestamp.
16016 * nscd/connections (nscd_init): When host database is served open
16017 netlink socket and request notification about configuration changes.
16018 (main_loop_poll): Track netlink file descriptor and bump timestamp
16019 in case data becomes available.
16020 (main_loop_epoll): Likewise.
16021 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
16022 (database_pers_head): Add extra_data fileds.
16023 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
16024 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
16025 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
16026 Adjust caller.
16027 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
16028 in6ai data, call __free_in6ai.
16029 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
16030 Add -DHAVE_NETLINK.
16031 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
16032 interface information. Reuse previous data if netlink timestamp
16033 is not changed.
16034 (__bump_nl_timestamp): New function.
16035 (__free_in6ai): New function.
16036
636064eb
UD
160372011-10-30 Ulrich Drepper <drepper@gmail.com>
16038
16039 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
16040 close_not_cancel_no_status here.
16041 (__check_pf): Reorganize code a bit to not call close twice if OOM.
16042
9beb2334
UD
160432011-10-29 Ulrich Drepper <drepper@gmail.com>
16044
6ef76f3b
UD
16045 [BZ #13276]
16046 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
16047 return value.
16048
0ffc4f3e 16049 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
16050 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
16051 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
16052
cb95113e
UD
160532011-07-03 Andreas Jaeger <aj@suse.de>
16054
16055 [BZ #10709]
16056 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
16057 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
16058 * math/libm-test.inc (sin_test): Add test case.
16059
a1b560ff
UD
160602011-10-29 Ulrich Drepper <drepper@gmail.com>
16061
c9aaface
UD
16062 [BZ #13337]
16063 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
16064 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16065
d272e7f1
UD
16066 * elf/chroot_canon.c (chroot_canon): Cleanups.
16067
1bc33071
UD
16068 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
16069
1760874d
TJ
16070 [BZ #13335]
16071 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
16072 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16073
51d91b18
UD
16074 * string/test-strchr.c: Make usable for strchrnul testing.
16075 * string/test-strchrnul.c: New file.
16076 * string/Makefile (strop-tests): Add strchrnul.
16077
a1b560ff 16078 * po/it.po: Update from translation team.
b611fb81 16079 * po/es.po: Likewise.
a1b560ff 16080
a5b81e1f
UD
160812011-10-28 Ulrich Drepper <drepper@gmail.com>
16082
fd52bc6d
UD
16083 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
16084 the three constants needed as parameters. Drop the others.
16085 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
16086 __m128i_strloadu_tolower.
52e4b9eb
UD
16087 Create and initialize variable zero and use it in all the places
16088 where _mm_setzero_si128 was used.
fd52bc6d 16089
a5b81e1f
UD
16090 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
16091 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
16092 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
16093 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
16094 anymore.
16095 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
16096 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
16097 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
16098 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
16099 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
16100 __mpranred, __mptan.
16101 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
16102 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
16103 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
16104 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
16105 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
16106 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
16107 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
16108 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
16109 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
16110
b4343346
AS
161112011-10-28 Andreas Schwab <schwab@redhat.com>
16112
0c92d8a8
AS
16113 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
16114 redefine if SHARED.
16115 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
16116
b4343346
AS
16117 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
16118 wide char related routines to wcsmbs subdir.
16119
3871f58f
AS
161202011-10-27 Andreas Schwab <schwab@redhat.com>
16121
16122 [BZ #13344]
16123 * misc/sys/cdefs.h (__THROWNL): Define.
16124 * posix/unistd.h: Use __THREADNL instead of __THREAD
16125 for memory synchronization functions.
16126
94d44d9f
RM
161272011-10-26 Roland McGrath <roland@hack.frob.com>
16128
21b64b15 16129 [BZ #13349]
94d44d9f
RM
16130 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
16131 doesn't exist.
16132 * manual/stdio.texi (Obstack Streams): Node removed.
16133
f6ce9294
AS
161342011-10-26 Andreas Schwab <schwab@redhat.com>
16135
80479147
AS
16136 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
16137 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16138 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16139
f6ce9294
AS
16140 * math/math_private.h (math_force_eval): Allow non-addressable
16141 arguments.
16142 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
16143
618280a1
UD
161442011-10-25 Ulrich Drepper <drepper@gmail.com>
16145
e0016b11
UD
16146 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
16147 file is not needed.
16148
16149 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
16150 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
16151 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16152 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16153 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16154 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16155 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16156 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
16157 Add AVX variants.
16158 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
16159 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
16160 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
16161 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
16162 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
16163 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
16164 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
16165 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
16166 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
16167 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
16168 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
16169 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
16170 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
16171 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
16172 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
16173 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
16174 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
16175 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
16176 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
16177
16178 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
16179 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
16180
618280a1
UD
16181 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
16182 place. Use VEX encoding when compiling for AVX.
16183
37822576
AS
161842011-10-25 Andreas Schwab <schwab@redhat.com>
16185
1f1e1947
AS
16186 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
16187 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16188
37822576
AS
16189 * string/test-strchr.c (do_test): Don't generate NUL bytes.
16190
31ea014d
UD
161912011-10-25 Ulrich Drepper <drepper@gmail.com>
16192
d7826aa1 16193 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 16194 useless if() expression.
d7826aa1
UD
16195 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16196 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16197 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16198 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16199 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16200 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16201 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16202 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16203 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16204 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16205 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16206 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16207 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16208 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16209 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16210 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16211 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16212 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16213 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16214
31ea014d
UD
16215 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
16216
16437fec
AS
162172011-10-25 Andreas Schwab <schwab@redhat.com>
16218
16219 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
16220 condition.
16221 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16222
31d3cc00
UD
162232011-10-25 Ulrich Drepper <drepper@gmail.com>
16224
16225 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
16226 .text section. Avoid duplicate constants.
16227 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16228 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16229 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16230 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16231 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16232 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16233 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16234 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16235 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16236 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
16237 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16238 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16239 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
16240 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
16241 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
16242 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
16243 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
16244 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16245 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16246 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16247 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16248 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16249 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16250 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
16251 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
16252 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
16253 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
16254 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
16255 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
16256 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
16257 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
16258 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
16259 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16260 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
16261 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
16262 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
16263 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
16264 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
16265 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
16266 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
16267 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
16268 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
16269 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
16270 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
16271 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
16272
58985aa9
UD
162732011-10-24 Ulrich Drepper <drepper@gmail.com>
16274
202c9deb
UD
16275 * sysdeps/x86_64/dla.h: Move to ...
16276 * sysdeps/x86_64/fpu/dla.h: ...here.
16277 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
16278 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 16279
af968f62
UD
16280 * config.make.in: Add have-mfma4 entry.
16281 * configure.in: Substitute libc_cv_cc_fma4.
16282 * math/Makefile (dbl-only-routines): Add sincostab.
16283 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
16284 Use __sincostab not sincos.
16285 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
16286 name is a macro.
16287 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16288 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16289 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16290 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
16291 using __copysign.
16292 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
16293 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
16294 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
16295 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
16296 and __inv.
16297 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
16298 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
16299 __copysign.
16300 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
16301 define aliases when function name is a macro.
16302 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
16303 sysdeps/ieee754/dbl-64/sincos.tbl.
16304 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
16305 fma4-enabled routines.
16306 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
16307 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
16308 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
16309 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
16310 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
16311 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
16312 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
16313 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
16314 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
16315 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
16316 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
16317 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
16318 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
16319 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
16320 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
16321 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
16322 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
16323 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
16324 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
16325 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
16326 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
16327 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
16328 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
16329 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
16330 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
16331 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
16332 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
16333 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
16334 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
16335 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
16336
58985aa9
UD
16337 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
16338 rename.
16339 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16340 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16341 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16342 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16343 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16344 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16345 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16346 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16347
a201fbcf
AS
163482011-10-24 Andreas Schwab <schwab@redhat.com>
16349
16350 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
16351
fc2ee42a
LD
163522011-10-23 Ulrich Drepper <drepper@gmail.com>
16353
bb3129bd
UD
16354 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
16355
0275fff8
UD
16356 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
16357 prediction.
16358 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
16359
2fa2ae85
UD
16360 * string/strnlen.c: Don't define STRNLEN, reverse logic.
16361 Remove unused variable magic_bits.
16362 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
16363
fc2ee42a
LD
16364 * string/strnlen.c: Define and use STRNLEN macro.
16365 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
16366 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
16367 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
16368 * wcsmbs/wcslen.c: Define and use WCSLEN.
16369 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
16370 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
16371 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
16372 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
16373 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
16374 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
16375 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
16376
ce7dd29f
LD
163772011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16378
16379 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16380 strnlen-sse2-no-bsf.
16381 Rename strlen-no-bsf to strlen-sse2-no-bsf.
16382 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
16383 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
16384 Add strnlen support.
16385 (USE_AS_STRNLEN): New macro.
16386 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
16387 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
16388 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
16389 * sysdeps/x86_64/wcslen.S: New file.
16390
979c70a3
MZ
163912011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
16392
16393 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16394 XMM-moves are used for copying on small sizes.
16395
2d09f82f
LD
163962011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16397
16398 * wcsmbs/Makefile (strop-tests): Add wcschr.
16399 * wcsmbs/test-wcschr.c: New file.
16400 * string/test-strchr.c: Update.
16401 Add wcschr support.
16402 (WIDE): New macro.
16403
619fccca
LD
164042011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16405
2d09f82f 16406 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
16407 * wcsmbs/test-wcslen.c: New file.
16408 * string/test-strlen.c: Update.
16409 Add wcslen support.
16410 (WIDE): New macro.
16411
09f699ea
UD
164122011-10-23 Ulrich Drepper <drepper@gmail.com>
16413
16414 * po/it.po: Update from translation team.
16415
95584d3b
LD
164162011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16417
16418 * sysdeps/x86_64/wcscmp.S: Update.
16419 Fix wrong comparison semantics.
16420 wcscmp shall use signed comparison not unsigned.
16421 Don't use substraction to avoid overflow bug.
16422 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
16423 * wcsmbc/wcscmp.c: Likewise.
16424 * string/test-strcmp.c: Likewise.
16425 Add new tests to check cases with negative values.
16426
c8b3296b
UD
164272011-10-23 Ulrich Drepper <drepper@gmail.com>
16428
16429 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
16430 * sysdeps/x86_64/dla.h: ...here. New file.
16431 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
16432 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16433 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16434 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16435 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16436 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16437 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16438 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16439 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16440
246ad57a
AS
164412011-10-23 Andreas Schwab <schwab@linux-m68k.org>
16442
16443 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
16444 __ynl_finite aliases.
16445
a1a87169
UD
164462011-10-22 Ulrich Drepper <drepper@gmail.com>
16447
0d355eb7
UD
16448 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16449
a1a87169
UD
16450 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
16451 define DLA_FMA.
16452 [DLA_FMA] (EMULV): Use DLA_FMA.
16453 [DLA_FMA] (MUL12): Use EMULV.
16454 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
16455 that are not needed.
16456 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16457 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16458 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16459 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16460 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16461 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16462 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16463
ee2aafe0
AS
164642011-10-22 Andreas Schwab <schwab@linux-m68k.org>
16465
16466 * math/s_nan.c: Undef __nan.
16467 * math/s_nanf.c: Undef __nanf.
16468 * math/s_nanl.c: Undef __nanl.
16469 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
16470 "math_private.h".
16471
bc62c2fb
UD
164722011-10-22 Ulrich Drepper <drepper@gmail.com>
16473
77425c63
UD
16474 * math/s_catan.c: Add branch predictions.
16475 * math/s_catanf.c: Likewise.
16476 * math/s_catanh.c: Likewise.
16477 * math/s_catanhf.c: Likewise.
16478 * math/s_catanhl.c: Likewise.
16479 * math/s_catanl.c: Likewise.
16480 * math/s_cexp.c: Likewise.
16481 * math/s_cexpf.c: Likewise.
16482 * math/s_cexpl.c: Likewise.
16483 * math/s_clog.c: Likewise.
16484 * math/s_clog10.c: Likewise.
16485 * math/s_clog10f.c: Likewise.
16486 * math/s_clog10l.c: Likewise.
16487 * math/s_clogf.c: Likewise.
16488 * math/s_clogl.c: Likewise.
16489 * math/s_csqrt.c: Likewise.
16490 * math/s_csqrtf.c: Likewise.
16491 * math/s_csqrtl.c: Likewise.
16492 * math/s_ctanf.c: Likewise.
16493 * math/s_ctanh.c: Likewise.
16494 * math/s_ctanhf.c: Likewise.
16495 * math/s_ctanhl.c: Likewise.
16496 * math/s_ctanl.c: Likewise.
16497
bc62c2fb
UD
16498 * math/math_private.h: Define __nan, __nanf, __nanl.
16499 * math/s_cacosh.c: Include <math_private.h>.
16500 * math/s_cacoshl.c: Likewise.
16501 * math/s_casinh.c: Likewise.
16502 * math/s_casinhf.c: Likewise.
16503 * math/s_casinhl.c: Likewise.
16504 * math/s_ccos.c: Rely entire on ccosh.
16505 * math/s_ccosf.c: Rely entire on ccoshf.
16506 * math/s_ccosl.c: Rely entirely on ccoshl.
16507 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
16508 Remove tests for FE_INVALID.
16509 * math/s_ccoshf.c: Likewise.
16510 * math/s_ccoshl.c: Likewise.
16511 * math/s_csin.c: Likewise.
16512 * math/s_csinf.c: Likewise.
16513 * math/s_csinh.c Likewise.
16514 * math/s_csinhf.c: Likewise.
16515 * math/s_csinhl.c: Likewise.
16516 * math/s_csinl.c: Likewise.
16517 * math/s_ctan.c: Likewise.
16518 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
16519 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
16520 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
16521
8ec250a4
UD
165222011-10-21 Ulrich Drepper <drepper@gmail.com>
16523
c196fed8
UD
16524 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
16525 compilation problems.
16526
8ec250a4
UD
16527 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
16528 __builtin_expect.
16529
8d4f46c6
UD
165302011-10-20 Ulrich Drepper <drepper@gmail.com>
16531
ed72b654
UD
16532 * sysdeps/i386/configure.in: Test for -mfma4 option.
16533 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
16534 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
16535 COMMON_CPUID_INDEX_80000001.
16536 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
16537 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
16538 use it if FMA3 is not supported.
16539 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
16540
8d4f46c6
UD
16541 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
16542 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
16543
d45c60c2
AS
165442011-10-20 Andreas Schwab <schwab@redhat.com>
16545
16546 [BZ #12892]
16547 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
16548 it would create a cycle with a link time dependency.
16549
d9a4d2ab
UD
165502011-10-19 Ulrich Drepper <drepper@gmail.com>
16551
855d1560
UD
16552 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
16553 instruction.
16554 * string/Makefile (strop-tests): Add rawmemchr.
16555 * string/test-rawmemchr.c: New file.
16556
d9a4d2ab
UD
16557 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
16558 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
16559 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
16560 when compiling str{,n}casecmp and when AVX is available. Hook up
16561 new optimized code in initializers.
16562
8f3b1ffe
AS
165632011-10-19 Andreas Schwab <schwab@redhat.com>
16564
16565 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
16566 __feraiseexcept instead of feraiseexcept.
16567
d38f1dba
UD
165682011-10-18 Ulrich Drepper <drepper@gmail.com>
16569
d9a8d0ab
UD
16570 * math/math_private.h: Define defaults for libc_fetestexcept and
16571 libc_feupdateenv.
16572 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
16573 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
16574 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
16575 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
16576 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16577 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
16578 libc_fetestexcept and libc_feupdateenv.
16579
4855e3dd
UD
16580 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
16581 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
16582 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
16583 * sysdeps/x86_64/fpu/math_private.h: Define special version of
16584 libc_feholdexcept_setround.
16585
581d30e3
UD
16586 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
16587 Add s_nearbyint-c and s_nearbyintf-c.
16588 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
16589 nearbyintf inlines.
16590 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
16591 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
16592 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
16593 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
16594
d38f1dba
UD
16595 * math/math_private.h: Define defaults for libc_fegetround,
16596 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
16597 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
16598 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
16599 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
16600 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
16601 standard functions.
16602 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16603 Remove comments and hacks for old compiler versions.
16604 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
16605 libc_fegetround, libc_fesetround, libc_feholdexcept, and
16606 libc_feholdexceptl.
16607
caa6c9d8
AS
166082011-10-18 Andreas Schwab <schwab@redhat.com>
16609
16610 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
16611 (__feraiseexcept_renamed): Add __NTH.
16612 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
16613 namespace violations.
16614
97c066e6
UD
166152011-10-17 Ulrich Drepper <drepper@gmail.com>
16616
99ce7b04
UD
16617 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
16618
1004d182
UD
16619 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
16620
228a984d
UD
16621 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
16622 recently added interfaces.
16623 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
16624
c8553a6a
UD
16625 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
16626 about macro parameter expansion.
16627
ed22dcf6
UD
16628 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
16629 __NO_MATH_INLINES is defined. Cleanups.
16630
16631 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
16632 and __floorf is target has SSE4.1.
16633 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
16634 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
16635 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
16636 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
16637
b171c137
UD
16638 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
16639 name.
16640 (floorf): Likewise.
16641
97c066e6
UD
16642 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
16643
629f62ef
AS
166442011-10-17 Andreas Schwab <schwab@redhat.com>
16645
49a43d80
AS
16646 * misc/sys/cdefs.h: Fix last change.
16647
629f62ef
AS
16648 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
16649 database lookup.
16650
e453f6cd
UD
166512011-10-16 Ulrich Drepper <drepper@gmail.com>
16652
aa78043a
UD
16653 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
16654
ad0f5cad
UD
16655 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
16656 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16657 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16658 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16659 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16660 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
16661 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16662 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16663 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
16664 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
16665 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
16666 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
16667 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
16668 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
16669 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
16670 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
16671 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
16672 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
16673 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
16674 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
16675 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
16676 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
16677
16678 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
16679 ceil, ceilf, floor, floorf.
16680
16681 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
16682 Perform IRELATIVE relocations last.
16683
e453f6cd
UD
16684 * elf/do-rel.h: Add another parameter nrelative, replacing the
16685 local variable with the same name. Change name of the function
16686 to end in Rel or Rela (uppercase).
16687 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
16688 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
16689 elf_dynamic_do_##reloc function.
16690
fd5bdc09
UD
166912011-10-15 Ulrich Drepper <drepper@gmail.com>
16692
79b195b5
UD
16693 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
16694 is sufficient, at least on modern CPUs.
16695
d4a28569
UD
16696 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
16697
b61099b5
UD
16698 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
16699 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
16700
bcf01e6d
UD
16701 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
16702 __expl_finite.
16703 * math/bits/math-finite.h: Add entries for exp.
16704 * math/e_expl.c: Add __*_finite alias.
16705 * sysdeps/i386/fpu/e_exp.S: Likewise.
16706 * sysdeps/i386/fpu/e_expf.S: Likewise.
16707 * sysdeps/i386/fpu/e_expl.c: Likewise.
16708 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16709 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
16710 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16711 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16712 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
16713 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
16714 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
16715
ba1a0d59
UD
16716 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
16717 is sufficient, at least on modern CPUs.
16718
fd5bdc09
UD
16719 * ctype/ctype-info.c (__ctype_init): Define.
16720 * include/ctype.h (__ctype_init): Declare.
16721 (__ctype_b_loc): The variable is always initialized.
16722 (__ctype_toupper_loc): Likewise.
16723 (__ctype_tolower_loc): Likewise.
16724 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
16725 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
16726
7872cfb0
AS
167272011-10-15 Andreas Schwab <schwab@linux-m68k.org>
16728
b468825a
AS
16729 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
16730
7872cfb0
AS
16731 * configure.in: Also look in $cxxmachine/include for C++ system
16732 headers.
16733
be13f7bf
LD
167342011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16735
16736 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
16737 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
16738 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
16739 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
16740 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
16741 (USE_AS_WMEMCMP): New macro.
16742 Fixing indents.
16743 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
16744 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
16745 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
16746 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
16747 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16748 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
16749 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
16750 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
16751 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
16752 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
16753 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
16754 (USE_AS_WMEMCMP): New macro.
16755 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
16756 * sysdeps/string/test-memcmp.c: Update.
16757 Fix simple_wmemcmp.
16758 Add new tests.
16759 * wcsmbs/wmemcmp.c: Update.
16760 (WMEMCMP): New macro.
16761 Fix overflow bug.
16762
556a2007
AJ
167632011-10-12 Andreas Jaeger <aj@suse.de>
16764
16765 [BZ #13268]
16766 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
16767
538faaa7
UD
167682011-10-15 Ulrich Drepper <drepper@gmail.com>
16769
ab6737ff
UD
16770 * libio/iofwide.c (do_length): Avoid warning.
16771
538faaa7
UD
16772 * ctype/ctype.h (__isctype_f): Add missing __THROW.
16773
396a21b1
UD
167742011-10-14 Ulrich Drepper <drepper@gmail.com>
16775
cdf2901f
UD
16776 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
16777
38ad40ce
UD
16778 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
16779 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
16780 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
16781 * sysdeps/i386/i686/fpu/e_log.S: New file.
16782 * sysdeps/i386/i686/fpu/e_logf.S: New file.
16783 * sysdeps/i386/i686/fpu/e_logl.S: New file.
16784
396a21b1
UD
16785 * ctype/ctype.h: Add support for inlined isXXX functions when
16786 compiling C++ code.
16787
6b1f68c9
AS
167882011-10-14 Andreas Schwab <schwab@redhat.com>
16789
349290c0
AS
16790 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16791
6b1f68c9
AS
16792 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
16793
f2282d42
RM
167942011-10-13 Roland McGrath <roland@hack.frob.com>
16795
16796 [BZ #13291]
16797 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
16798
5298ffa8
AS
167992011-10-13 Andreas Schwab <schwab@redhat.com>
16800
714fad23
AS
16801 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
16802 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
16803 feraiseexcept.
16804
81dcc7fb
AS
16805 * sysdeps/x86_64/memrchr.S: Check for zero size.
16806
5298ffa8
AS
16807 * string/stratcliff.c: Add memrchr tests.
16808
951fbcec
LD
168092011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16810
16811 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16812 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
16813 rawmemchr-sse2 rawmemchr-sse2-bsf.
16814 * sysdeps/i386/i686/multiarch/memchr.S: New file.
16815 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
16816 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
16817 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
16818 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
16819 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
16820 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
16821 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
16822 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
16823 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
16824 * string/memrchr.c (MEMRCHR): New macro.
16825
0ac5ae23
UD
168262011-10-12 Ulrich Drepper <drepper@gmail.com>
16827
16828 Add integration with gcc's -ffinite-math-only and optimize wrapper
16829 functions in libm.
16830 * Versions.def: Define GLIBC_2.15 version for libm.
16831 * math/Makefile (headers): Add bits/math-finite.h.
16832 * math/bits/math-finite.h: New file.
16833 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
16834 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
16835 * math/e_acoshl.c: Add __*_finite alias.
16836 * math/e_acosl.c: Likewise.
16837 * math/e_asinl.c: Likewise.
16838 * math/e_atan2l.c: Likewise.
16839 * math/e_atanhl.c: Likewise.
16840 * math/e_coshl.c: Likewise.
16841 * math/e_exp10.c: Likewise.
16842 * math/e_exp10f.c: Likewise.
16843 * math/e_exp10l.c: Likewise.
16844 * math/e_exp2l.c: Likewise.
16845 * math/e_fmodl.c: Likewise.
16846 * math/e_gammal_r.c: Likewise.
16847 * math/e_hypotl.c: Likewise.
16848 * math/e_j0l.c: Likewise.
16849 * math/e_j1l.c: Likewise.
16850 * math/e_jnl.c: Likewise.
16851 * math/e_lgammal_r.c: Likewise.
16852 * math/e_log10l.c: Likewise.
16853 * math/e_log2l.c: Likewise.
16854 * math/e_logl.c: Likewise.
16855 * math/e_powl.c: Likewise.
16856 * math/e_sinhl.c: Likewise.
16857 * math/e_sqrtl.c: Likewise.
16858 * math/e_scalb.c: Completely rewritten and optimized.
16859 * math/e_scalbf.c: Likewise.
16860 * math/e_scalbl.c: Likewise.
16861 * math/w_acos.c: Likewise.
16862 * math/w_acosf.c: Likewise.
16863 * math/w_acosl.c: Likewise.
16864 * math/w_acosh.c: Likewise.
16865 * math/w_acoshf.c: Likewise.
16866 * math/w_acoshl.c: Likewise.
16867 * math/w_asin.c: Likewise.
16868 * math/w_asinf.c: Likewise.
16869 * math/w_asinl.c: Likewise.
16870 * math/w_atan2.c: Likewise.
16871 * math/w_atan2f.c: Likewise.
16872 * math/w_atan2l.c: Likewise.
16873 * math/w_atanh.c: Likewise.
16874 * math/w_atanhf.c: Likewise.
16875 * math/w_atanhl.c: Likewise.
16876 * math/w_exp10.c: Likewise.
16877 * math/w_exp10f.c: Likewise.
16878 * math/w_exp10l.c: Likewise.
16879 * math/w_fmod.c: Likewise.
16880 * math/w_fmodf.c: Likewise.
16881 * math/w_fmodl.c: Likewise.
16882 * math/w_j0.c: Likewise.
16883 * math/w_j0f.c: Likewise.
16884 * math/w_j0l.c: Likewise.
16885 * math/w_j1.c: Likewise.
16886 * math/w_j1f.c: Likewise.
16887 * math/w_j1l.c: Likewise.
16888 * math/w_jn.c: Likewise.
16889 * math/w_jnf.c: Likewise.
16890 * math/w_log.c: Likewise.
16891 * math/w_logf.c: Likewise.
16892 * math/w_logl.c: Likewise.
16893 * math/w_log10.c: Likewise.
16894 * math/w_log10f.c: Likewise.
16895 * math/w_log10l.c: Likewise.
16896 * math/w_log2.c: Likewise.
16897 * math/w_log2f.c: Likewise.
16898 * math/w_log2l.c: Likewise.
16899 * math/w_pow.c: Likewise.
16900 * math/w_powf.c: Likewise.
16901 * math/w_powl.c: Likewise.
16902 * math/w_remainder.c: Likewise.
16903 * math/w_remainderf.c: Likewise.
16904 * math/w_remainderl.c: Likewise.
16905 * math/w_scalb.c: Likewise.
16906 * math/w_scalbf.c: Likewise.
16907 * math/w_scalbl.c: Likewise.
16908 * math/w_sqrt.c: Likewise.
16909 * math/w_sqrtf.c: Likewise.
16910 * math/w_sqrtl.c: Likewise.
16911 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
16912 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
16913 used.
16914 * math/math_private.h: Declare __kernel_standard_f.
16915 * math/w_cosh.c: Remove cruft and optimize a bit.
16916 * math/w_coshf.c: Likewise.
16917 * math/w_coshl.c: Likewise.
16918 * math/w_exp2.c: Likewise.
16919 * math/w_exp2f.c: Likewise.
16920 * math/w_exp2l.c: Likewise.
16921 * math/w_hypot.c: Likewise.
16922 * math/w_hypotf.c: Likewise.
16923 * math/w_hypotl.c: Likewise.
16924 * math/w_lgamma.c: Likewise.
16925 * math/w_lgamma_r.c: Likewise.
16926 * math/w_lgammaf.c: Likewise.
16927 * math/w_lgammaf_r.c: Likewise.
16928 * math/w_lgammal.c: Likewise.
16929 * math/w_lgammal_r.c: Likewise.
16930 * math/w_sinh.c: Likewise.
16931 * math/w_sinhf.c: Likewise.
16932 * math/w_sinhl.c: Likewise.
16933 * math/w_tgamma.c: Likewise.
16934 * math/w_tgammaf.c: Likewise.
16935 * math/w_tgammal.c: Likewise.
16936 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16937 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16938 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
16939 Minor optimizations. Pretty printing. Remove cruft.
16940 * sysdeps/i386/fpu/e_acosf.S: Likewise.
16941 * sysdeps/i386/fpu/e_acosh.S: Likewise.
16942 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16943 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16944 * sysdeps/i386/fpu/e_acosl.c: Likewise.
16945 * sysdeps/i386/fpu/e_asin.S: Likewise.
16946 * sysdeps/i386/fpu/e_asinf.S: Likewise.
16947 * sysdeps/i386/fpu/e_atan2.S: Likewise.
16948 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
16949 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
16950 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16951 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16952 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16953 * sysdeps/i386/fpu/e_exp10.S: Likewise.
16954 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
16955 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
16956 * sysdeps/i386/fpu/e_exp2.S: Likewise.
16957 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
16958 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
16959 * sysdeps/i386/fpu/e_fmod.S: Likewise.
16960 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
16961 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
16962 * sysdeps/i386/fpu/e_hypot.S: Likewise.
16963 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
16964 * sysdeps/i386/fpu/e_log.S: Likewise.
16965 * sysdeps/i386/fpu/e_log10.S: Likewise.
16966 * sysdeps/i386/fpu/e_log10f.S: Likewise.
16967 * sysdeps/i386/fpu/e_log10l.S: Likewise.
16968 * sysdeps/i386/fpu/e_log2.S: Likewise.
16969 * sysdeps/i386/fpu/e_log2f.S: Likewise.
16970 * sysdeps/i386/fpu/e_log2l.S: Likewise.
16971 * sysdeps/i386/fpu/e_logf.S: Likewise.
16972 * sysdeps/i386/fpu/e_logl.S: Likewise.
16973 * sysdeps/i386/fpu/e_pow.S: Likewise.
16974 * sysdeps/i386/fpu/e_powf.S: Likewise.
16975 * sysdeps/i386/fpu/e_powl.S: Likewise.
16976 * sysdeps/i386/fpu/e_remainder.S: Likewise.
16977 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
16978 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
16979 * sysdeps/i386/fpu/e_scalb.S: Likewise.
16980 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16981 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16982 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
16983 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
16984 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
16985 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16986 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16987 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16988 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16989 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16990 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16991 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
16992 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16993 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16994 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16995 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16996 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
16997 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16998 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16999 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17000 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17001 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17002 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17003 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17004 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17005 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17006 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17007 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17008 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17009 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17010 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17011 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17012 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17013 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17014 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17015 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17016 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17017 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17018 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17019 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17020 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17021 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17022 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17023 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17024 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17025 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17026 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17027 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17028 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17029 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17030 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17031 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17032 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17033 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17034 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17035 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17036 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17037 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17038 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17039 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17040 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17041 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17042 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17043 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17044 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17045 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17046 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17047 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17048 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17049 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17050 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17051 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17052 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17053 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
17054 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17055 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17056 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17057 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17058 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17059 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17060 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17061 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
17062 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17063 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17064 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17065 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17066 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17067 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
17068 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17069 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17070 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17071 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17072 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17073 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17074 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17075 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17076 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17077 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17078 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17079 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17080 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17081 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17082 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
17083 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
17084 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
17085 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
17086 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
17087 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
17088 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
17089 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17090 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17091 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17092 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17093 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
17094 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17095 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
17096 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
17097 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
17098 (__isnanf): Likewise.
17099 (__isinf_ns): Likewise.
17100 (__isinf_nsf): Likewise.
17101 (__finite): Likewise.
17102 (__finitef): Likewise.
17103 (__ieee754_sqrt): Define as macro.
17104 (__ieee754_sqrtf): Define as macro.
17105 (__ieee754_sqrtl): Define as macro.
17106 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
17107 inlined copy.
17108 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
17109 __FINITE_MATH_ONLY__ consistent.
17110 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
17111
12cc2fcd
AS
171122011-10-10 Andreas Schwab <schwab@linux-m68k.org>
17113
a843a204
AS
17114 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
17115 of rawmemchr.
17116
12cc2fcd
AS
17117 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
17118
c853acd5
UD
171192011-10-09 Ulrich Drepper <drepper@gmail.com>
17120
17121 * po/ja.po: Update from translation team.
17122
c658d255
RM
171232011-10-08 Roland McGrath <roland@hack.frob.com>
17124
110946e4
RM
17125 * locale/programs/locarchive.c (prepare_address_space): New function.
17126 (create_archive, enlarge_archive, open_archive): Use it.
17127
50604220
RM
17128 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
17129 inside [SHARED], where it is used.
17130
c658d255
RM
17131 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
17132
17133 * nss/getent.c (netgroup_keys): Remove unused variable.
17134 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17135
6a621eb7
UD
171362011-10-08 Ulrich Drepper <drepper@gmail.com>
17137
7edb55ce
UD
17138 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
17139 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
17140 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
17141 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
17142 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
17143 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
17144 * math/Makefile (libm-calls): Add s_isinf_ns.
17145 * math/divtc3.c: Use __isinf_nsl instead of isinf.
17146 * math/multc3.c: Likewise.
17147 * math/s_casin.c: Likewise.
17148 * math/s_casinf.c: Likewise.
17149 * math/s_casinl.c: Likewise.
17150 * math/s_ccos.c: Likewise.
17151 * math/s_ccosf.c: Likewise.
17152 * math/s_ccosl.c: Likewise.
17153 * math/s_ctan.c: Likewise.
17154 * math/s_ctanf.c: Likewise.
17155 * math/s_ctanh.c: Likewise.
17156 * math/s_ctanhf.c: Likewise.
17157 * math/s_ctanhl.c: Likewise.
17158 * math/s_ctanl.c: Likewise.
17159 * math/w_fmod.c: Likewise.
17160 * math/w_fmodf.c: Likewise.
17161 * math/w_fmodl.c: Likewise.
17162 * math/w_remainder.c: Likewise.
17163 * math/w_remainderf.c: Likewise.
17164 * math/w_remainderl.c: Likewise.
17165 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
17166 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
17167 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
17168 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
17169 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
17170 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
17171 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
17172 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
17173
187da0ae
UD
17174 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
17175 of the number.
17176 * stdio-common/printf_fphex.c: Likewise.
17177 * stdio-common/printf_size.c: Likewise.
17178
9277c064
UD
17179 * math/e_exp10.c: Include math_private.h using <...> not "...".
17180 * math/e_exp10f.c: Likewise.
17181 * math/e_exp10l.c: Likewise.
17182 * math/e_exp2l.c: Likewise.
17183 * math/e_j0l.c: Likewise.
17184 * math/e_j1l.c: Likewise.
17185 * math/e_jnl.c: Likewise.
17186 * math/e_lgammal_r.c: Likewise.
17187 * math/e_rem_pio2l.c: Likewise.
17188 * math/e_scalb.c: Likewise.
17189 * math/e_scalbf.c: Likewise.
17190 * math/e_scalbl.c: Likewise.
17191 * math/k_cosl.c: Likewise.
17192 * math/k_sinl.c: Likewise.
17193 * math/k_tanl.c: Likewise.
17194 * math/s_cacoshf.c: Likewise.
17195 * math/s_catan.c: Likewise.
17196 * math/s_catanf.c: Likewise.
17197 * math/s_catanh.c: Likewise.
17198 * math/s_catanhf.c: Likewise.
17199 * math/s_catanhl.c: Likewise.
17200 * math/s_catanl.c: Likewise.
17201 * math/s_ccosh.c: Likewise.
17202 * math/s_ccoshf.c: Likewise.
17203 * math/s_ccoshl.c: Likewise.
17204 * math/s_cexp.c: Likewise.
17205 * math/s_cexpf.c: Likewise.
17206 * math/s_cexpl.c: Likewise.
17207 * math/s_clog.c: Likewise.
17208 * math/s_clog10.c: Likewise.
17209 * math/s_clog10f.c: Likewise.
17210 * math/s_clog10l.c: Likewise.
17211 * math/s_clogf.c: Likewise.
17212 * math/s_clogl.c: Likewise.
17213 * math/s_csin.c: Likewise.
17214 * math/s_csinf.c: Likewise.
17215 * math/s_csinh.c: Likewise.
17216 * math/s_csinhf.c: Likewise.
17217 * math/s_csinhl.c: Likewise.
17218 * math/s_csinl.c: Likewise.
17219 * math/s_csqrt.c: Likewise.
17220 * math/s_csqrtf.c: Likewise.
17221 * math/s_csqrtl.c: Likewise.
17222 * math/s_ctan.c: Likewise.
17223 * math/s_ctanf.c: Likewise.
17224 * math/s_ctanh.c: Likewise.
17225 * math/s_ctanhf.c: Likewise.
17226 * math/s_ctanhl.c: Likewise.
17227 * math/s_ctanl.c: Likewise.
17228 * math/s_ldexp.c: Likewise.
17229 * math/s_ldexpf.c: Likewise.
17230 * math/s_ldexpl.c: Likewise.
17231 * math/s_significand.c: Likewise.
17232 * math/s_significandf.c: Likewise.
17233 * math/s_significandl.c: Likewise.
17234 * math/w_acos.c: Likewise.
17235 * math/w_acosf.c: Likewise.
17236 * math/w_acosh.c: Likewise.
17237 * math/w_acoshf.c: Likewise.
17238 * math/w_acoshl.c: Likewise.
17239 * math/w_acosl.c: Likewise.
17240 * math/w_asin.c: Likewise.
17241 * math/w_asinf.c: Likewise.
17242 * math/w_asinl.c: Likewise.
17243 * math/w_atan2.c: Likewise.
17244 * math/w_atan2f.c: Likewise.
17245 * math/w_atan2l.c: Likewise.
17246 * math/w_atanh.c: Likewise.
17247 * math/w_atanhf.c: Likewise.
17248 * math/w_atanhl.c: Likewise.
17249 * math/w_cosh.c: Likewise.
17250 * math/w_coshf.c: Likewise.
17251 * math/w_coshl.c: Likewise.
17252 * math/w_dremf.c: Likewise.
17253 * math/w_exp10.c: Likewise.
17254 * math/w_exp10f.c: Likewise.
17255 * math/w_exp10l.c: Likewise.
17256 * math/w_exp2.c: Likewise.
17257 * math/w_exp2f.c: Likewise.
17258 * math/w_fmod.c: Likewise.
17259 * math/w_fmodf.c: Likewise.
17260 * math/w_fmodl.c: Likewise.
17261 * math/w_hypot.c: Likewise.
17262 * math/w_hypotf.c: Likewise.
17263 * math/w_hypotl.c: Likewise.
17264 * math/w_j0.c: Likewise.
17265 * math/w_j0f.c: Likewise.
17266 * math/w_j0l.c: Likewise.
17267 * math/w_j1.c: Likewise.
17268 * math/w_j1f.c: Likewise.
17269 * math/w_j1l.c: Likewise.
17270 * math/w_jn.c: Likewise.
17271 * math/w_jnf.c: Likewise.
17272 * math/w_jnl.c: Likewise.
17273 * math/w_lgamma.c: Likewise.
17274 * math/w_lgamma_r.c: Likewise.
17275 * math/w_lgammaf.c: Likewise.
17276 * math/w_lgammaf_r.c: Likewise.
17277 * math/w_lgammal.c: Likewise.
17278 * math/w_lgammal_r.c: Likewise.
17279 * math/w_log.c: Likewise.
17280 * math/w_log10.c: Likewise.
17281 * math/w_log10f.c: Likewise.
17282 * math/w_log10l.c: Likewise.
17283 * math/w_log2.c: Likewise.
17284 * math/w_log2f.c: Likewise.
17285 * math/w_log2l.c: Likewise.
17286 * math/w_logf.c: Likewise.
17287 * math/w_logl.c: Likewise.
17288 * math/w_pow.c: Likewise.
17289 * math/w_powf.c: Likewise.
17290 * math/w_powl.c: Likewise.
17291 * math/w_remainder.c: Likewise.
17292 * math/w_remainderf.c: Likewise.
17293 * math/w_remainderl.c: Likewise.
17294 * math/w_scalb.c: Likewise.
17295 * math/w_scalbf.c: Likewise.
17296 * math/w_scalbl.c: Likewise.
17297 * math/w_sinh.c: Likewise.
17298 * math/w_sinhf.c: Likewise.
17299 * math/w_sinhl.c: Likewise.
17300 * math/w_sqrt.c: Likewise.
17301 * math/w_sqrtf.c: Likewise.
17302 * math/w_sqrtl.c: Likewise.
17303 * math/w_tgamma.c: Likewise.
17304 * math/w_tgammaf.c: Likewise.
17305 * math/w_tgammal.c: Likewise.
17306
6a621eb7
UD
17307 * po/ja.po: Update from translation team.
17308
bf582445
AJ
173092011-09-29 Andreas Jaeger <aj@suse.de>
17310
f9efbf3a
AJ
17311 [BZ #13179]
17312 * sunrpc/netname.c (netname2host): Fix logic.
17313
bf582445
AJ
17314 [BZ #6779]
17315 [BZ #6783]
17316 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
17317 correctly.
17318 * math/w_remainder.c (__remainder): Likewise.
17319 * math/w_remainderf.c (__remainderf): Likewise.
17320 * math/libm-test.inc (remainder_test): Add test cases.
17321
48693bea
AK
173222011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17323
17324 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
17325 sdiv_qrnnd.
17326
42622229
LD
173272011-10-07 Ulrich Drepper <drepper@gmail.com>
17328
17329 * string/test-memcmp.c: Avoid unncessary #defines.
17330 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17331
093ecf92
LD
173322011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17333
17334 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
17335 Use new sse2 version for core i3 - i7 as it's faster
17336 than sse42 version.
17337 (bit_Prefer_PMINUB_for_stringop): New.
17338 * sysdeps/x86_64/rawmemchr.S: Update.
17339 Replace with faster SSE2 version.
17340 * sysdeps/x86_64/memrchr.S: New file.
17341 * sysdeps/x86_64/memchr.S: Update.
17342 Replace with faster SSE2 version.
17343
fde56e5c
MP
173442011-09-12 Marek Polacek <mpolacek@redhat.com>
17345
17346 * elf/dl-load.c (lose): Add cast to avoid warning.
17347
21fd49a9
UD
173482011-10-07 Ulrich Drepper <drepper@gmail.com>
17349
5a06e643
UD
17350 * po/ca.po: Update from translation team.
17351
684ae515
UD
17352 * inet/getnetgrent_r.c: Hook up nscd.
17353 * nscd/Makefile (routines): Add nscd_netgroup.
17354 (nscd-modules): Add netgroupcache.
17355 (CFLAGS-netgroupcache.c): Define.
17356 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
17357 (cache_search): Add const to second parameter.
17358 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
17359 INNETGR.
17360 (dbs): Add netgrdb entry.
17361 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
17362 (verify_persistent_db): Handle netgrdb.
17363 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
17364 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
17365 GETFDNETGR.
17366 (netgroup_response_header): Define.
17367 (innetgroup_response_header): Define.
17368 (datahead): Add netgroup_response_header and innetgroup_response_header
17369 elements.
17370 * nscd/nscd.conf: Add entries for netgroup cache.
17371 * nscd/nscd.h (dbtype): Add netgrdb.
17372 (_PATH_NSCD_NETGROUP_DB): Define.
17373 (netgroup_iov_disabled): Declare.
17374 (xmalloc, xcalloc, xrealloc): Move declarations here.
17375 (cache_search): Adjust prototype.
17376 Add netgroup-related prototypes.
17377 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
17378 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
17379 (__nscd_innetgr): Declare.
17380 * nscd/selinux.c (perms): Use access_vector_t as element type and
17381 add netgroup-related initializers.
17382 * nscd/netgroupcache.c: New file.
17383 * nscd/nscd_netgroup.c: New file.
17384 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
17385 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
17386 For four parameters use innetgr.
17387 * nss/nss_files/files-init.c: Add definition and callback for netgr.
17388 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
17389 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
17390 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
17391
21fd49a9
UD
17392 * nscd/connections.c (register_traced_file): Don't register file
17393 for disabled databases.
17394
054c0457
UD
173952011-10-06 Ulrich Drepper <drepper@gmail.com>
17396
32b63198
UD
17397 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
17398
054c0457
UD
17399 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
17400 from tree and freeing node.
17401
64031225
JO
174022011-09-25 Jiri Olsa <jolsa@redhat.com>
17403
17404 * nss/nsswitch.c (__nss_database_lookup): Handle
17405 nss_parse_service_list out of memory case.
17406
0490345c
JO
174072011-09-15 Jiri Olsa <jolsa@redhat.com>
17408
17409 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
17410 out of memory case.
17411
3a62d00d
AS
174122011-10-04 Andreas Schwab <schwab@redhat.com>
17413
17414 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
17415 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
17416 pass it down.
17417 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
17418 elf_machine_rela, elf_machine_lazy_rel.
17419 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
17420 (ELF_DYNAMIC_DO_REL): Likewise.
17421 (ELF_DYNAMIC_DO_RELA): Likewise.
17422 (ELF_DYNAMIC_RELOCATE): Likewise.
17423 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
17424 to ELF_DYNAMIC_DO_REL.
17425 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
17426 (dl_main): In trace mode always set __RTLD_NOIFUNC.
17427 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
17428 elf_machine_rela.
17429 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
17430 skip_ifunc, don't call ifunc function if non-zero.
17431 (elf_machine_rela): Likewise.
17432 (elf_machine_lazy_rel): Likewise.
17433 (elf_machine_lazy_rela): Likewise.
17434 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
17435 (elf_machine_lazy_rel): Likewise.
17436 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
17437 Likewise.
17438 (elf_machine_lazy_rel): Likewise.
17439 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17440 Likewise.
17441 (elf_machine_lazy_rel): Likewise.
17442 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
17443 (elf_machine_lazy_rel): Likewise.
17444 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
17445 (elf_machine_lazy_rel): Likewise.
17446 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17447 (elf_machine_lazy_rel): Likewise.
17448 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
17449 (elf_machine_lazy_rel): Likewise.
17450 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
17451 (elf_machine_lazy_rel): Likewise.
17452 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17453 (elf_machine_lazy_rel): Likewise.
17454
68577918
UD
174552011-09-28 Ulrich Drepper <drepper@gmail.com>
17456
17457 * nss/nss_files/files-init.c (_nss_files_init): Use static
17458 initialization for all the *_traced_file variables.
17459
68822d74
AS
174602011-09-28 Andreas Schwab <schwab@redhat.com>
17461
17462 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17463
2056100b
RM
174642011-09-27 Roland McGrath <roland@hack.frob.com>
17465
17466 [BZ #13226]
17467 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
17468
32c76b63
AS
174692011-09-27 Andreas Schwab <schwab@redhat.com>
17470
17471 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17472 Reread the line before reparsing it.
17473
bf972c9d
AS
174742011-09-26 Andreas Schwab <schwab@redhat.com>
17475
17476 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
17477
e057a1b5
JM
174782011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
17479 Maxim Kuvyrkov <maxim@codesourcery.com>
17480 Joseph Myers <joseph@codesourcery.com>
17481
17482 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
17483 if needed for __stack_chk_guard.
17484
bc7e1c36
RM
174852011-09-19 Roland McGrath <roland@hack.frob.com>
17486
ecb1482f
RM
17487 * sysdeps/posix/spawni.c (script_execute): Always define it.
17488 It will be optimized away if unused.
17489 (maybe_script_execute): New function.
17490 (__spawni): Call it.
17491
bc7e1c36
RM
17492 * Makerules: Don't include tls.make.
17493 (config-tls): Always set to thread.
17494 * tls.make.c: File removed.
17495
1c3b002b
MF
174962011-09-19 Mike Frysinger <vapier@gentoo.org>
17497
17498 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
17499 * config.make.in (CPPFLAGS-config): New substituted variable.
17500
2840865d
UD
175012011-09-15 Ulrich Drepper <drepper@gmail.com>
17502
88738eb6
UD
17503 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
17504
cbf645a6 17505 [BZ #13192]
2840865d
UD
17506 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
17507 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
17508
b402e91a
RM
175092011-09-15 Roland McGrath <roland@hack.frob.com>
17510
17511 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
17512 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
17513 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17514 (CALL_FAIL): Likewise.
17515 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
17516 (CALL_FAIL): Macro removed.
17517 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
17518
4c1a1f71
UD
175192011-09-15 Ulrich Drepper <drepper@gmail.com>
17520
17521 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
17522 for __FINITE_MATH_ONLY__ == 1.
17523
edc121be
AS
175242011-09-15 Andreas Schwab <schwab@redhat.com>
17525
17526 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
17527 __ieee754_sqrt instead of sqrt.
17528 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
17529 __ieee754_sqrtf instead of sqrtf.
17530 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
17531 __floorf instead of floorf.
17532 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
17533 __floorf, __truncf instead of floorf, truncf.
17534
cd205654
UD
175352011-09-14 Ulrich Drepper <drepper@gmail.com>
17536
ee4d0315
UD
17537 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
17538
cd205654
UD
17539 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
17540 __extern_always_inline.
17541 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
17542 32-bit.
17543
48b67d71
AS
175442011-09-14 Andreas Schwab <schwab@redhat.com>
17545
17546 * elf/rtld.c (dl_main): Also relocate in dependency order when
17547 doing symbol dependency testing.
17548
1ae12c75
AS
175492011-09-13 Andreas Schwab <schwab@linux-m68k.org>
17550
17551 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17552 Always define `refsym'.
17553
995a80df
AS
175542011-09-13 Andreas Schwab <schwab@redhat.com>
17555
e529793b
AS
17556 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
17557 (__FD_ELT): Renamed from __FDELT.
17558 * misc/bits/select2.h (__FD_ELT): Likewise.
17559 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
17560 __FD_MASK instead of __FDELT, __FDMASK.
17561 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
17562 Likewise.
17563 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
17564 Likewise.
17565
52d4fef8
AS
17566 * elf/Makefile (gen-ldd): Fix pattern.
17567
995a80df
AS
17568 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
17569 (init_tls): Likewise.
17570
8682f8b0
UD
175712011-09-12 Ulrich Drepper <drepper@gmail.com>
17572
17573 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
17574
de82006d
AS
175752011-09-12 Andreas Schwab <schwab@redhat.com>
17576
a7c8e6a1
AS
17577 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
17578 `struct cmsghdr *' instead of `void *'.
17579 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
17580 Likewise.
17581
0f31fe77
AS
175822011-09-11 Andreas Schwab <schwab@linux-m68k.org>
17583
17584 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
17585 if non-absolute.
17586 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
17587 ldd_rewrite_script.
0f31fe77 17588
32b4c839
UD
175892011-09-11 Ulrich Drepper <drepper@gmail.com>
17590
83cd1420
UD
17591 * configure.in: Remove --with-tls option.
17592 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
17593 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
17594 out in case it is missing.
17595 * sysdeps/ia64/elf/configure.in: Likewise.
17596 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
17597 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
17598 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
17599 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
17600 * sysdeps/sh/elf/configure.in: Likewise.
17601 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
17602 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
17603 * sysdeps/x86_64/elf/configure.in: Likewise.
17604 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
17605 * sysdeps/mach/hurd/tls.h: Likewise.
17606
633f745d
UD
17607 [BZ #13067]
17608 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
17609
f318beb8
UD
17610 [BZ #13090]
17611 * configure.in: Fix use of AC_INIT.
17612
32b4c839
UD
17613 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
17614
3ce1f295
UD
176152011-09-10 Ulrich Drepper <drepper@gmail.com>
17616
bb016596
UD
17617 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
17618 __set_errno.
8e58439c
UD
17619 * malloc/hooks.c: Likewise.
17620
aebae053 17621 [BZ #11929]
02d46fc4
UD
17622 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
17623 variables statically.
17624 (narenas): Initialize.
17625 (list_lock): Initialize.
bb016596
UD
17626 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
17627 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
17628 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
17629 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
17630 Add initializers to main_arena and mp_.
17631 (malloc_state): Remove pagesize member. Change all users to use
17632 GLRO(dl_pagesize).
17633
17634 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
17635 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
17636 is always initialized.
17637
22a89187
UD
17638 * malloc/malloc.c: Removed unused configurations and dead code.
17639 * malloc/arena.c: Likewise.
17640 * malloc/hooks.c: Likewise.
02d46fc4 17641 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 17642
d063d164
UD
17643 * include/tls.h: Removed. USE___THREAD must always be defined.
17644 * bits/libc-tsd.h: Don't handle !USE___THREAD.
17645 * elf/dl-libc.c: Likewise.
17646 * elf/dl-tsd.c: Likewise.
17647 * include/errno.h: Likewise.
17648 * include/netdb.h: Likewise.
17649 * include/resolv.h: Likewise.
17650 * inet/herrno-loc.c: Likewise.
17651 * inet/herrno.c: Likewise.
17652 * malloc/arena.c: Likewise.
17653 * malloc/hooks.c: Likewise.
17654 * malloc/malloc.c: Likewise.
17655 * resolv/res-state.c: Likewise.
17656 * resolv/res_libc.c: Likewise.
17657 * sysdeps/i386/dl-machine.h: Likewise.
17658 * sysdeps/ia64/dl-machine.h: Likewise.
17659 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
17660 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
17661 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
17662 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
17663 * sysdeps/sh/dl-machine.h: Likewise.
17664 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17665 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17666 * sysdeps/unix/i386/sysdep.S: Likewise.
17667 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17668 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
17669 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
17670 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17671 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
17672 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17673 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
17674 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17675 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17676 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17677 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17678 * sysdeps/x86_64/dl-machine.h: Likewise.
17679 * tls.make.c: Likewise.
17680
3ce1f295
UD
17681 * configure.in: Remove --with-__thread option. Make tests for
17682 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
17683 tls_model attribute fail if no support is available. Remove
17684 USE_IN_LIBIO.
17685 * Makeconfig: Adjust for dropped configure option. All features are
17686 now mandatory.
17687 * Makerules: Likewise.
17688 * Versions.def: Likewise.
17689 * argp/argp-fmtstream.c: Likewise.
17690 * argp/argp-fmtstream.h: Likewise.
17691 * argp/argp-help.c: Likewise.
17692 * assert/assert.c: Likewise.
17693 * config.h.in: Likewise.
17694 * config.make.in: Likewise.
17695 * configure: Likewise.
17696 * configure.in: Likewise.
17697 * csu/Versions: Likewise.
17698 * csu/init.c: Likewise.
17699 * elf/tst-audit2.c: Likewise.
17700 * elf/tst-tls10.c: Likewise.
17701 * elf/tst-tls10.h: Likewise.
17702 * elf/tst-tls11.c: Likewise.
17703 * elf/tst-tls12.c: Likewise.
17704 * elf/tst-tls14.c: Likewise.
17705 * elf/tst-tlsmod11.c: Likewise.
17706 * elf/tst-tlsmod12.c: Likewise.
17707 * elf/tst-tlsmod13.c: Likewise.
17708 * elf/tst-tlsmod13a.c: Likewise.
17709 * elf/tst-tlsmod14a.c: Likewise.
17710 * elf/tst-tlsmod15b.c: Likewise.
17711 * elf/tst-tlsmod16a.c: Likewise.
17712 * elf/tst-tlsmod16b.c: Likewise.
17713 * elf/tst-tlsmod7.c: Likewise.
17714 * elf/tst-tlsmod8.c: Likewise.
17715 * elf/tst-tlsmod9.c: Likewise.
17716 * gmon/gmon.c: Likewise.
17717 * grp/fgetgrent_r.c: Likewise.
17718 * grp/putgrent.c: Likewise.
17719 * hurd/fopenport.c: Likewise.
17720 * include/libc-symbols.h: Likewise.
17721 * include/tls.h: Likewise.
17722 * intl/gettextP.h: Likewise.
17723 * intl/loadinfo.h: Likewise.
17724 * locale/global-locale.c: Likewise.
17725 * locale/localeinfo.h: Likewise.
17726 * mach/devstream.c: Likewise.
17727 * malloc/arena.c: Likewise.
17728 * malloc/set-freeres.c: Likewise.
17729 * misc/err.c: Likewise.
17730 * misc/getttyent.c: Likewise.
17731 * misc/mntent_r.c: Likewise.
17732 * posix/getopt.c: Likewise.
17733 * posix/wordexp.c: Likewise.
17734 * pwd/fgetpwent_r.c: Likewise.
17735 * resolv/Versions: Likewise.
17736 * resolv/res_hconf.c: Likewise.
17737 * shadow/fgetspent_r.c: Likewise.
17738 * shadow/putspent.c: Likewise.
17739 * stdio-common/printf_fphex.c: Likewise.
17740 * stdio-common/tmpfile.c: Likewise.
17741 * stdlib/abort.c: Likewise.
17742 * stdlib/fmtmsg.c: Likewise.
17743 * sunrpc/auth_unix.c: Likewise.
17744 * sunrpc/clnt_perr.c: Likewise.
17745 * sunrpc/clnt_tcp.c: Likewise.
17746 * sunrpc/clnt_udp.c: Likewise.
17747 * sunrpc/clnt_unix.c: Likewise.
17748 * sunrpc/openchild.c: Likewise.
17749 * sunrpc/svc_simple.c: Likewise.
17750 * sunrpc/svc_tcp.c: Likewise.
17751 * sunrpc/svc_udp.c: Likewise.
17752 * sunrpc/svc_unix.c: Likewise.
17753 * sunrpc/xdr.c: Likewise.
17754 * sunrpc/xdr_array.c: Likewise.
17755 * sunrpc/xdr_rec.c: Likewise.
17756 * sunrpc/xdr_ref.c: Likewise.
17757 * sunrpc/xdr_stdio.c: Likewise.
17758
1248c1c4
PB
177592011-09-09 Ulrich Drepper <drepper@gmail.com>
17760
17761 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17762
177632011-07-03 Andreas Jaeger <aj@suse.de>
17764
17765 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
17766 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
17767 regenerate with gen-libm-tests.pl.
17768
177692010-05-12 Petr Baudis <pasky@suse.cz>
17770
17771 [BZ #11589]
17772 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
17773 around j0() zero points by switching to j1().
17774 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17775 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17776 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17777 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17778
f22e1074
UD
177792011-09-09 Ulrich Drepper <drepper@gmail.com>
17780
f19009c1
UD
17781 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
17782 instead of 0.
17783 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
17784 instead of 0. .
17785 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17786 Patch in part by Pavel Roskin <proski@gnu.org>.
17787
3f8cc204
UD
17788 [BZ #13138]
17789 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
17790 realloc.
17791 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
17792 Free memory block if necessary.
17793
f22e1074
UD
17794 [BZ #12847]
17795 * libio/genops.c (INTDEF): For string streams the _lock pointer can
17796 be NULL. Don't lock in this case.
17797
0a2349f9
RM
177982011-09-09 Roland McGrath <roland@hack.frob.com>
17799
17800 * elf/elf.h (ELFOSABI_GNU): New macro.
17801 (ELFOSABI_LINUX): Define to that.
17802
f3cdd467
DZ
178032011-07-29 Denis Zaitceff <zaitceff@gmail.com>
17804
17805 * string/strncat.c (strncat): Undef the symbol in case it has been
17806 defined in bits/string.h.
17807
74718d13
UD
178082011-09-09 Ulrich Drepper <drepper@gmail.com>
17809
633e9e0f
UD
17810 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
17811
0a2349f9 17812 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
17813 link map.
17814
f9924780
AJ
178152011-08-17 Andreas Jaeger <aj@suse.de>
17816
17817 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
17818
7f5517aa
PP
178192011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
17820 Ian Lance Taylor <iant@google.com>
17821
17822 * math/libm-test.inc (lround_test): New testcase.
17823 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
17824
762011fe
UD
178252011-09-08 Ulrich Drepper <drepper@gmail.com>
17826
92963737
UD
17827 * Makefile: Remove support for automatic cvs check-ins.
17828 * Makerules: Likewise.
17829 * config.make.in: Likewise.
17830 * configure.in: Likewise.
17831 * intl/Makefile: Likewise.
17832 * locale/Makefile: Likewise.
17833 * po/Makefile: Likewise.
17834 * posix/Makefile: Likewise.
17835 * sysdeps/gnu/Makefile: Likewise.
17836 * sysdeps/mach/hurd/Makefile: Likewise.
17837 * sysdeps/sparc/sparc32/Makefile: Likewise.
17838
b0727fd8
JS
17839 [BZ #13118]
17840 * posix/Makefile (bug-regex32-ENV): Define.
17841 Patch by John Stanley <jpsinthemix@verizon.net>.
17842
a0f33f99
UD
17843 * misc/Makefile (headers): Add bits/select2.h.
17844 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
17845 * misc/bits/select2.h: New file.
17846 * include/bits/select2.h: New file.
17847 * debug/Makefile (routines): Add fdelt_chk.
17848 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
17849 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
17850 FD_ISSET.
17851 * debug/fdelt_chk.c: New file.
17852
762011fe
UD
17853 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
17854 * wcsmbs/test-wmemcmp.c: Likewise.
17855 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 17856 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
17857
178582011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17859
17860 * string/Makefile (strop-tests): Add memcmp.
17861 * string/test-wmemcmp.c: New file.
17862 * string/test-memcmp.c: Add wmemcmp support.
17863
7f513ec8
RM
178642011-09-08 Roland McGrath <roland@hack.frob.com>
17865
0442afb4
RM
17866 [BZ #13153]
17867 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
17868 2011-07-19 change.
17869
7f513ec8
RM
17870 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
17871 garbage value in a __mach_port_mod_refs call in the cases of the
17872 task-self and thread-self ports.
17873
a12b2239
ST
178742011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17875
17876 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
17877
610f9ab4
AS
178782011-09-08 Andreas Schwab <schwab@redhat.com>
17879
7f513ec8 17880 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 17881
48882a1a
LD
178822011-09-07 Ulrich Drepper <drepper@gmail.com>
17883
b49865be
UD
17884 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
17885
fdc86bc9
UD
17886 * elf/dl-libc.c (dlerror_run): Pass back error code from
17887 dl_catch_error.
17888
c966526a
UD
17889 [BZ #13123]
17890 * elf/dl-load.c (lose): Free l_origin if it is valid.
17891
48882a1a
LD
17892 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
17893 names.
17894 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
17895 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
17896 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
17897 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
17898 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
17899 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
17900
77a2a8b4
AZ
179012011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17902
17903 * sysdeps/powerpc/fpu/e_hypot.c: New file.
17904 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
17905 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
17906 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
17907 * sysdeps/powerpc/fpu/k_cosf.c: New file.
17908 * sysdeps/powerpc/fpu/k_sinf.c: New file.
17909 * sysdeps/powerpc/fpu/s_cosf.c: New file.
17910 * sysdeps/powerpc/fpu/s_sinf.c: New file.
17911 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
17912 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
17913
24f579d8
AM
179142011-08-15 Alan Modra <amodra@gmail.com>
17915
17916 [BZ #13092]
17917 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
17918 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
17919 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
17920 ppc_mcount to static-only-routines.
17921 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
17922 __mcount_internal.
17923 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
17924 __mcount_internal with usual JUMPTARGET. Remove useless nop.
17925
3d4837df
UD
179262011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
17927
17928 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
17929 for finite and infinity parameters.
17930
22700377
WS
179312011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
17932
17933 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
17934 and add nop instructions for throughput optimization.
17935 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17936
5025581e
WS
179372011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
17938
17939 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
17940 aligned copy for power7 with vector-scalar instructions.
17941 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
17942
08a300c9
L
179432011-07-24 H.J. Lu <hongjiu.lu@intel.com>
17944
17945 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
17946 AVX check.
17947
59178ef9
AS
179482011-09-07 Andreas Schwab <schwab@redhat.com>
17949
17950 [BZ #13144]
17951 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
17952 last change.
17953
e38ba7ab
UD
179542011-09-07 Ulrich Drepper <drepper@gmail.com>
17955
17956 * sysdeps/unix/sysv/linux/x86_64/init-first.c
17957 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
17958 syscall wrapper around clock_gettime in __vdso_clock_gettime.
17959 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
17960 clock_gettime.
17961
d53a73ac
UD
179622011-09-06 Ulrich Drepper <drepper@gmail.com>
17963
fc8bffcc
UD
17964 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
17965 Forgot to demangle the pointer.
17966
ceaa0c5d
UD
17967 * sysdeps/i386/sysdep.h: Define atom_text_section.
17968 * sysdeps/x86_64/sysdep.h: Likewise.
17969 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
17970 section with atom_text_section.
17971 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
17972 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
17973 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
17974 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
17975 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
17976
a77d3c17
UD
17977 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
17978 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
17979 already be defined. Change to take two parameters and don't assign
17980 result to variable. Adjust all users.
17981 Define INTERNAL_GETTIME if not already defined.
17982 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
17983 call.
17984 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
17985 HAVE_CLOCK_GETTIME_VSYSCALL.
17986 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
17987
d53a73ac
UD
17988 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
17989 gettimeofday vsyscall, just use time.
17990
a8f84144
AS
179912011-09-06 Andreas Schwab <schwab@redhat.com>
17992
17993 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
17994 <errno.h>.
17995
ef606249
UD
179962011-09-06 Ulrich Drepper <drepper@gmail.com>
17997
17998 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
17999 syscall on x86-64.
18000 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
18001 syscall.
18002 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
18003 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
18004 syscall if possible.
18005
6585cb60
UD
180062011-09-05 Ulrich Drepper <drepper@gmail.com>
18007
18008 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
18009 e_ident. Don't pass to find_mapsXX.
18010 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
18011
a5f524e4
LD
180122011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18013
18014 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18015 strchr-sse2-no-bsf strrchr-sse2-no-bsf
18016 * sysdeps/x86_64/multiarch/strchr.S: Update.
18017 Check bit_slow_BSF bit.
18018 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18019 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
18020 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
18021
554881ef
UD
180222011-09-05 Ulrich Drepper <drepper@gmail.com>
18023
d96de963
UD
18024 [BZ #13134]
18025 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
18026 before glibc 2.15.
18027 (tryshell): Define.
18028 (__spawni): Change last parameter to be flag. Test
18029 SPAWN_XFLAGS_USE_PATH flag to use path or not.
18030 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
18031 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
18032 * posix/spawni.c: Likewise.
18033 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
18034 * posix/spawnp.c: Likewise. Change normal version to use
18035 SPAWN_XFLAGS_USE_PATH.
18036 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
18037 SPAWN_XFLAGS_TRY_SHELL.
18038
d48e5868
UD
18039 [BZ #13150]
18040 * posix/glob.h: Remove gcc 1.x support.
18041
554881ef
UD
18042 [BZ #13068]
18043 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
18044
693fb948
LD
180452011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18046
18047 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18048 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
18049 strrchr-sse2-bsf
18050 * sysdeps/i386/i686/multiarch/strchr.S: New file.
18051 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
18052 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
18053 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
18054 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
18055 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
18056
1b48c537
UD
180572011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18058
49d42c37
UD
18059 * sysdeps/x86_64/wcscmp.S: New file.
18060
1b48c537
UD
18061 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
18062 wcscmp-c wcscmp-sse2
18063 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
18064 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
18065 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
18066 * wcsmbs/wcscmp.c: Allow renaming.
18067
15c95c5d
DM
180682011-09-05 David S. Miller <davem@davemloft.net>
18069
18070 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
18071 stack slot, rather than the struct return pointer slot.
18072 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
18073 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
18074 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
18075 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
18076
2f0ad8f3
UD
180772011-09-05 Ulrich Drepper <drepper@gmail.com>
18078
d88ae418
UD
18079 * po/ja.po: Update from translation team.
18080
2f0ad8f3
UD
18081 [BZ #13144]
18082 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
18083 kernel in 64-bit binaries.
18084
5f4318d1
DM
180852011-09-01 David S. Miller <davem@davemloft.net>
18086
18087 * elf/elf.h (HWCAP_SPARC_*): Move to..
18088 * sysdeps/sparc/sysdep.h: this new file and add new values.
18089 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
18090 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
18091 _DL_HWCAP_COUNT to 24.
18092 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18093 entries.
18094 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
18095 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
18096 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
18097 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
18098 instead of magic constants.
18099 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18100
3ba57516
DM
181012011-08-31 David S. Miller <davem@davemloft.net>
18102
18103 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
18104 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
18105 Reimplement to do errno handling inline.
18106 (SYSCALL_ERROR_HANDLER): New macro.
18107 (__SYSCALL_STRING): Do not do errno handling in asm.
18108 (__CLONE_SYSCALL_STRING): Delete.
18109 (__INTERNAL_SYSCALL_STRING): Delete.
18110 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
18111 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
18112 (PSEUDO): Reimplement to do errno handling inline.
18113 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
18114 (SYSCALL_ERROR_HANDLER): New macro.
18115 (__SYSCALL_STRING): Do not do errno handling in asm.
18116 (__CLONE_SYSCALL_STRING): Delete.
18117 (__INTERNAL_SYSCALL_STRING): Delete.
18118 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
18119 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
18120 i386.
18121 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
18122 (inline_syscall*): Add 'err' argument.
18123 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
18124 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
18125 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
18126 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
18127
18128 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
18129 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18130
2bc17433
AS
181312011-08-30 Andreas Schwab <schwab@redhat.com>
18132
18133 * elf/rtld.c (dl_main): Relocate objects in dependency order.
18134
fbeb5f4d
JO
181352011-08-29 Jiri Olsa <jolsa@redhat.com>
18136
18137 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
18138 directive.
18139
ad69cc26
DM
181402011-08-24 David S. Miller <davem@davemloft.net>
18141
18142 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
18143
39dd69df
AS
181442011-08-24 Andreas Schwab <schwab@redhat.com>
18145
18146 * elf/Makefile: Add rules to build and run unload8 test.
18147 * elf/unload8.c: New file.
18148 * elf/unload8mod1.c: New file.
18149 * elf/unload8mod1x.c: New file.
18150 * elf/unload8mod2.c: New file.
18151 * elf/unload8mod3.c: New file.
18152
18153 * elf/dl-close.c (_dl_close_worker): Reset private search list if
18154 it wasn't used.
18155
2c0b250a
DM
181562011-08-23 David S. Miller <davem@davemloft.net>
18157
18158 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
18159 subtract stack bias.
18160 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
18161 %sp not %fp in calculations.
18162 (_JMPBUF_UNWINDS_ADJ): Likewise.
18163
22044b48
DM
18164 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
18165 (aio_suspend): Call it to force an exception region around the
18166 AIO_MISC_WAIT() invocation.
18167
2cae4995
AS
181682011-08-23 Andreas Schwab <schwab@redhat.com>
18169
18170 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
18171 backslash.
18172
873a772e
AJ
181732011-07-04 Aurelien Jarno <aurelien@aurel32.net>
18174
18175 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
18176 protection macro.
18177 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
18178 and <dl-machine.h>.
18179 (Elf64_FuncDesc): Remove.
18180
25ad0df1
DM
181812011-08-22 David S. Miller <davem@davemloft.net>
18182
18183 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
18184 sigaltstack check, add missing cfi directives.
18185 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
18186 missing cfi directives, and sigaltstack handling.
18187
e888bcbe
AS
181882011-08-16 Andreas Schwab <schwab@redhat.com>
18189
18190 [BZ #11724]
18191 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
18192 object is seen twice.
18193 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18194
18195 * elf/Makefile (distribute): Add tst-initorder2.c.
18196 (tests): Add tst-initorder2.
18197 (modules-names): Add tst-initorder2a tst-initorder2b
18198 tst-initorder2c tst-initorder2d. Add rules to build them.
18199 ($(objpfx)tst-initorder2.out): New rule.
18200 * elf/tst-initorder2.c: New file.
18201 * elf/tst-initorder2.exp: New file.
18202
87162f46
AS
182032011-08-22 Andreas Schwab <schwab@redhat.com>
18204
70538b7f
AS
18205 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
18206
f55ffe58
AS
18207 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
18208 dependencies back to end of function.
18209
87162f46
AS
18210 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18211 $(elfobjdir)/ld.so.
18212
91b392a4
UD
182132011-08-21 Ulrich Drepper <drepper@gmail.com>
18214
18215 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
18216 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
18217 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
18218 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
18219 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
18220 of __vdso_gettimeofday.
18221 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
18222 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
18223 attribute_hidden.
18224 (_libc_vdso_platform_setup): Remove initialization of
18225 __vdso_gettimeofday and __vdso_time.
18226
5c43483f
UD
182272011-08-20 Ulrich Drepper <drepper@gmail.com>
18228
775a77e7
UD
18229 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
18230 and fgetc_unlocked.
18231 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
18232 getc_unlocked.
89f447ed 18233
49c74ba9
UD
18234 * elf/dl-open.c (add_to_global): Report additions to the global scope
18235 for LD_DEBUG=scopes.
18236 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 18237 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 18238
5c43483f
UD
18239 [BZ #13114]
18240 * stdio-common/Makefile (tests): Add bug24.
18241 * stdio-common/bug24.c: New file.
18242
a101b025
AJ
182432011-08-19 Andreas Jaeger <aj@suse.de>
18244
18245 [BZ #13114]
18246 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
18247 non-existant file when using close-on-exec mode.
18248
c88f1766
UD
182492011-08-20 Ulrich Drepper <drepper@gmail.com>
18250
0276a718
UD
18251 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
18252 the very first instruction.
18253
c88f1766
UD
18254 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
18255 the CFI state in the end.
18256 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
18257 inclusion of dl-trampoline.h.
18258 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
18259
51ccffa0
AS
182602011-08-19 Andreas Schwab <schwab@redhat.com>
18261
94d7165f
AS
18262 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
18263 expectations for long double.
18264
51ccffa0
AS
18265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
18266 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
18267
fd708658 182682011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
18269
18270 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
18271 artificual limit depends upon the system page size.
18272
44f0a71e
UD
182732011-08-17 Ulrich Drepper <drepper@gmail.com>
18274
18275 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
18276 * resolv/Makefile: Define CFLAGS-libresolv.
18277
8de79a24
AS
182782011-08-17 Andreas Schwab <schwab@redhat.com>
18279
18280 * nss/makedb.c (compute_tables): Make variables used in nested
18281 function static.
18282
27724598
UD
182832011-08-17 Ulrich Drepper <drepper@gmail.com>
18284
c5305d88
UD
18285 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
18286 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
18287 if buffer was too small.
18288
27724598
UD
18289 * elf/pldd.c (main): Attach to all threads in the process.
18290 Rewrite /proc handling to use *at functions.
18291
076fe015
UD
182922011-08-16 Ulrich Drepper <drepper@gmail.com>
18293
174baab3
UD
18294 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
18295 specifies first scope to show.
18296 (dl_open_worker): Update callers. Move printing scope of new
18297 object to before the relocation.
44f0a71e 18298 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
18299 * sysdeps/generic/ldsodefs.h: Update declaration.
18300
076fe015
UD
18301 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
18302 string for the scope number.
18303
a60df2c3
UD
183042011-08-14 Ulrich Drepper <drepper@gmail.com>
18305
18306 * nscd/servicescache.c (cache_addserv): Make sure written is always
18307 initialized.
18308
5e4287d1
RM
183092011-08-14 Roland McGrath <roland@hack.frob.com>
18310
85ae0589
RM
18311 * sysdeps/i386/i486/bits/atomic.h
18312 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
18313 statement expression, so as to suppress "set but not used" warning.
18314 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
18315
69f63097
RM
18316 * string/strncat.c (STRNCAT): Use prototype definition.
18317
675456ef
RM
18318 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
18319 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
18320 -Iprograms here.
18321 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
18322 (localedef-modules): Add localedef.
18323 (locale-modules): Add locale.
18324
5e4287d1
RM
18325 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
18326 * elf/rtld.c (dl_main): Invert order of assignment in last change,
18327 to avoid a warning.
18328
9c96ff23
DM
183292011-08-14 David S. Miller <davem@davemloft.net>
18330
18331 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
18332 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
18333
f9ddf089
UD
183342011-08-13 Ulrich Drepper <drepper@gmail.com>
18335
44f0a71e 18336 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
18337 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
18338 * elf/rtld.c (dl_main): Set l_name of vDSO.
18339 Call _dl_show_scope when DL_DEBUG_SCOPES.
18340 (process_dl_debug): Recognize scopes flag and also set it for all.
18341 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
18342 Declare _dl_show_scope.
18343
1dc27704
UD
18344 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
18345 (do_dlopen): Pass caller_dlopen to dl_open.
18346 (__libc_dlopen_mode): Initialize caller_dlopen.
18347
f9ddf089
UD
18348 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
18349 of libc. Make tolower call locale-independent. Optimize a bit by
18350 using isdigit instead of isalnum.
18351 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
18352
9ac533d3
UD
183532011-08-12 Ulrich Drepper <drepper@gmail.com>
18354
18355 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
18356 was a dependency or dynamically loaded.
18357
89edf2e9
UD
183582011-08-11 Ulrich Drepper <drepper@gmail.com>
18359
8e999d29
UD
18360 * intl/l10nflist.c: Allow architecture-specific pop function.
18361 * sysdeps/x86_64/l10nflist.c: New file.
18362
89edf2e9
UD
18363 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
18364 classification.
18365
14d96785
AS
183662011-08-10 Andreas Schwab <schwab@redhat.com>
18367
18368 * include/dirent.h: Add libc_hidden_proto for scandirat and
18369 scandirat64. Don't declare __scandirat64.
18370 * dirent/scandirat.c: Add libc_hidden_def.
18371 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
18372 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
18373
6761ac04
DM
183742011-08-10 David S. Miller <davem@davemloft.net>
18375
18376 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
18377 enum.
18378 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18379 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18380 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18381
c55fbd1e
UD
183822011-08-09 Ulrich Drepper <drepper@gmail.com>
18383
18384 * Versions.def [libc]: Add GLIBC_2.15.
18385 * dirent/Makefile (routines): Add scandirat and scandirat64.
18386 * dirent/Versions [libc]: Export scandirat and scandirat64 for
18387 GLIBC_2.15.
18388 * dirent/dirent.h: Declare scandirat and scandirat64.
18389 * dirent/scandirat.c: New file.
18390 * dirent/scandirat64.c: New file.
18391 * sysdeps/wordsize-64/scandirat.c: New file.
18392 * sysdeps/wordsize-64/scandirat64.c: New file.
18393 * dirent/opendir.c: Define opendirat.
18394 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
18395 using scandirat.
18396 * dirent/scandir64.c: Adjust for scandir.c change.
18397 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
18398 __scandirat64, and __scandir_cancel_handler.
18399 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
18400 additional parameter and use openat instead of open (outside of ld.so).
18401 Add new __opendir as wrapper around __opendirat.
18402 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
18403 here without requiring old scandirat implementation.
18404
879165f2
UD
184052011-08-08 Ulrich Drepper <drepper@gmail.com>
18406
18407 * dirent/scandir.c (cancel_handler): Renamed to
18408 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
18409 defined. Adjust users.
18410 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
18411 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
18412
cb7e923b
UD
184132011-08-04 Ulrich Drepper <drepper@gmail.com>
18414
16292edd
UD
18415 * string/test-string.h (IMPL): Use __STRING to expand name and then
18416 stringify it.
18417
cb7e923b
UD
18418 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
18419 of cleanups.
18420
cff82933
LD
184212011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18422
18423 * string/Makefile: Update.
18424 (strop-tests): Append strncat.
18425 * string/test-wcscmp.c: New file.
18426 New comprehensive test for wcscmp.
18427 * string/test-strcmp.c: Update.
18428 (WIDE): New define.
18429
9be9bfcc
AS
184302011-07-22 Andreas Schwab <schwab@redhat.com>
18431
18432 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
18433 line.
18434
2e96f1c7
AS
184352011-07-26 Andreas Schwab <schwab@redhat.com>
18436
18437 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18438 encoding to ACE if AI_IDN.
18439
85188888
JJ
184402011-08-01 Jakub Jelinek <jakub@redhat.com>
18441
18442 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
18443 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
18444
5fa16e9b
LD
184452011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18446
18447 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
18448 Fix overflow bug in strncat.
18449 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
18450
18451 * string/test-strncat.c: Update.
18452 Add new tests for checking overflow bugs.
18453
184542011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18455
18456 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18457 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
18458 * sysdeps/i386/i686/multiarch/strcat.S: New file.
18459 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
18460 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
18461 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
18462 * sysdeps/i386/i686/multiarch/strncat.S: New file.
18463 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
18464 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
18465
18466 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
18467 (USE_AS_STRCAT): Define.
18468 Add strcat and strncat support.
18469 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18470
8c1a459f
AS
184712011-07-25 Andreas Schwab <schwab@redhat.com>
18472
18473 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
18474 __n bigger than INT_MAX+1.
18475 (__strncmp_g): Likewise.
18476
bba33c28
UD
184772011-07-23 Ulrich Drepper <drepper@gmail.com>
18478
798be72d
UD
18479 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
18480 * libio/stido.h: Likewise.
18481
8accd4dc
UD
18482 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
18483 (AF_NFC): Define.
18484 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
18485 (AF_NFC): Define.
18486
cbff0d96
UD
18487 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
18488 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18489 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18490 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18491 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18492
9191c04a
UD
18493 [BZ #13021]
18494 * scripts/test-installation.pl: Don't expect libnss_test1 to be
18495 installed.
18496
bba33c28
UD
18497 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
18498 typo.
18499 (_dl_x86_64_save_sse): Likewise.
18500
90f139dd
UD
185012011-07-22 Ulrich Drepper <drepper@gmail.com>
18502
1aae088a
UD
18503 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
18504 OSXSAVE.
18505 (_dl_x86_64_save_sse): Likewise.
18506
8e2045f5
UD
18507 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
18508
90f139dd
UD
18509 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
18510
1d002f25
AS
185112011-07-21 Andreas Schwab <schwab@redhat.com>
18512
18513 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
18514 change.
18515 (_dl_x86_64_save_sse): Use correct AVX check.
18516
21137f89
UD
185172011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18518
18519 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
18520 bug in strncpy/strncat.
18521 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
18522
a65c0b7a
UD
185232011-07-21 Ulrich Drepper <drepper@gmail.com>
18524
18525 * string/tester.c (test_strcat): Add tests for different alignments
18526 of source and destination.
18527 (test_strncat): Likewise.
18528
6986b98a
UD
185292011-07-20 Ulrich Drepper <drepper@gmail.com>
18530
90bb2039
UD
18531 [BZ #12852]
18532 * posix/glob.c (glob): Check passed in values before using them in
18533 expressions to avoid some overflows.
18534 (glob_in_dir): Likewise.
18535
5644ef54
UD
18536 [BZ #13007]
18537 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
18538 check for AVX enablement so that we don't crash with old kernels and
18539 new hardware.
18540 * elf/tst-audit4.c: Add same checks here.
18541 * elf/tst-audit6.c: Likewise.
18542
18543 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 18544
bfc9dc9b
AS
185452011-07-09 Andreas Schwab <schwab@linux-m68k.org>
18546
18547 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
18548
702e64bb
UD
185492011-07-20 Ulrich Drepper <drepper@gmail.com>
18550
18551 * po/cs.po: Update from translation team.
18552 * po/bg.po: Likewise.
18553
295e904f
MP
185542011-07-12 Marek Polacek <mpolacek@redhat.com>
18555
18556 * misc/sys/cdefs.h: Add support for const attribute.
18557 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
18558 to gnu_dev_{major,minor,makedev} functions.
18559
3ff94596
MP
185602011-07-20 Marek Polacek <mpolacek@redhat.com>
18561
18562 * intl/dcigettext.c (get_output_charset): Add missing bracket.
18563
28b59fca
AS
185642011-07-20 Andreas Schwab <schwab@redhat.com>
18565
18566 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
18567 strlen results.
18568
19df733e
AK
185692011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18570
18571 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
18572 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
18573 register in order to avoid conflicts with the soft frame pointer
18574 being held in r11 when necessary.
18575 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
18576 (INTERNAL_VSYSCALL_NCS): Likewise.
18577
c8835729
MP
185782011-07-14 Marek Polacek <mpolacek@redhat.com>
18579
18580 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
18581 * elf/dl-fini.c (_dl_fini): Adjust caller.
18582 * elf/dl-close.c (_dl_close_worker): Likewise.
18583 * sysdeps/generic/ldsodefs.h: Adjust declaration.
18584
b902330c
MP
185852011-07-15 Marek Polacek <mpolacek@redhat.com>
18586
8991e135
MP
18587 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
18588 "aux_cache->nlibs < 0".
18589
b902330c
MP
18590 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
18591 in the reload-count case.
18592
99710781
LD
185932011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18594
18595 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18596 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
18597 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
18598 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
18599 * sysdeps/x86_64/multiarch/strcat.S: New file.
18600 * sysdeps/x86_64/multiarch/strncat.S: New file.
18601 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
18602 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
18603 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
18604 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
18605 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
18606 (USE_AS_STRCAT): Define.
18607 Add strcat and strncat support.
18608 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
18609 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18610 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
18611 * string/strncat.c: Update.
18612 (USE_AS_STRNCAT): Define.
18613 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18614 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
18615 and i7.
18616 * sysdeps/x86_64/multiarch/init-arch.h
18617 (bit_Prefer_PMINUB_for_stringop): New.
18618 (index_Prefer_PMINUB_for_stringop): Likewise.
18619 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
18620 bit_Prefer_PMINUB_for_stringop.
18621
7dc6bd90
UD
186222011-07-19 Ulrich Drepper <drepper@gmail.com>
18623
18624 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
18625 buffer64.
18626 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
18627 of casting of buffer.
18628 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
18629 buffer32 and buffer64.
18630 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
18631 writes instead of casting of buffer.
18632 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
18633 buffer32.
18634 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
18635 casting of buffer.
18636
e0e72284
AS
186372011-07-19 Andreas Schwab <schwab@redhat.com>
18638
18639 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
18640
feb1eb0b
UD
186412011-07-19 Ulrich Drepper <drepper@gmail.com>
18642
18643 * nscd/nscd.c (termination_handler): Don't do anything for a database
18644 if it has not yet been initialized.
18645
298711ff
UD
186462011-07-18 Ulrich Drepper <drepper@gmail.com>
18647
18648 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
18649
186502011-07-15 Marek Polacek <mpolacek@redhat.com>
18651
18652 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
18653
f9d68389
UD
186542011-07-18 Ulrich Drepper <drepper@gmail.com>
18655
18656 * po/nl.po: Update from translation team.
18657 * po/sv.po: Likewise.
18658
db290cf5
RM
186592011-07-16 Roland McGrath <roland@hack.frob.com>
18660
18661 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
18662 now disallowed by GCC.
5c550700 18663
fd5e21c7
RM
18664 * configure.in (use-default-link): Default to yes if a test -shared
18665 link meets our qualifications.
18666 * configure: Regenerated.
18667
5c550700
RM
18668 * config.make.in (output-format): New variable.
18669 * configure.in: Check for ld --print-output-format support.
18670 * configure: Regenerated.
18671 * Makerules ($(common-objpfx)format.lds)
18672 [$(output-format) != unknown]: Just use $(output-format),
18673 instead of the linker-script munging.
18674
9fa2c032
RM
186752011-07-14 Roland McGrath <roland@hack.frob.com>
18676
a6928d51
RM
18677 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
18678 of $(common-objpfx)shlib.lds.
18679 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
18680
661607b3
RM
18681 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
18682 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
18683
9fa2c032
RM
18684 * configure.in (-z relro check): Adjust test code to add a large
18685 writable data section after it.
18686 * configure: Regenerated.
18687
defe9061
RM
186882011-07-11 Roland McGrath <roland@hack.frob.com>
18689
18690 * configure.in (-z relro check): Fix test code to make the variable
18691 truly const.
18692 * configure: Regenerated.
18693
319b9ad4
UD
186942011-07-11 Ulrich Drepper <drepper@gmail.com>
18695
18696 * nscd/nscd.h (struct traced_file): Define.
18697 (struct database_dyn): Remove inotify_descr, reset_res, and filename
18698 elements. Add traced_files.
18699 (inotify_fd): Declare.
18700 (register_traced_file): Declare.
18701 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
18702 (inotify_fd): Export.
18703 (resolv_conf_descr): Remove.
18704 (nscd_init): Move inotify descriptor creation to main.
18705 Don't register files for notification here.
18706 (register_traced_file): New function.
18707 (invalidate_cache): Don't use reset_res to determine whether to call
18708 res_init, go through the list of registered files.
18709 (main_loop_poll): The inotify descriptors are now stored in the
18710 structures for the traced files.
18711 (main_loop_epoll): Likewise
18712 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
18713 to __nss_disable_nscd.
18714 * nscd/cache.c (prune_cache): There is no single inotify descriptor
18715 for a database anymore. Check the records for all the registered
18716 files instead.
18717 * nss/Makefile (libnss_files-routines): Add files-init.
18718 (libnss_db-routines): Add db-init.
18719 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
18720 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
18721 * nss/nss_db/db-init.c: New file.
18722 * nss/nss_files/files-init.c: New file.
18723 * nss/nsswitch.c (nss_load_library): New function. Broken out of
18724 __nss_lookup_function.
18725 (__nss_lookup_function): Call nss_load_library.
18726 (nss_load_all_libraries): New function.
18727 (__nss_disable_nscd): Take parameter with callback function for files
18728 to register. Set is_nscd. Load all the DSOs for the NSS modules
18729 used for the cached services.
18730 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
18731 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
18732 options for features to all the files in nscd.
18733
18734 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
18735
23bee3e8
RM
187362011-07-10 Roland McGrath <roland@hack.frob.com>
18737
18738 * csu/elf-init.c (__libc_csu_init): Comment typo.
18739
46a5b7f0
UD
187402011-07-09 Ulrich Drepper <drepper@gmail.com>
18741
18742 * po/pl.po: Update from translation team.
18743 * po/ja.po: Likewise.
18744 * po/ru.po: Likewise.
18745 * po/ko.po: Likewise.
18746 * po/fr.po: Likewise.
18747
d30cf5bb
RM
187482011-07-09 Roland McGrath <roland@hack.frob.com>
18749
113ddea4
RM
18750 * configure.in (.ctors/.dtors header and trailer check):
18751 Use an empirical test on a built program.
18752 * configure: Regenerated.
18753
574920b4
RM
18754 * configure.in (-z relro check): Use an empirical test on a built DSO.
18755 Detect, but do not require, on ia64.
18756 * configure: Regenerated.
18757
d30cf5bb
RM
18758 * configure.in (READELF): Find it with AC_CHECK_TOOL.
18759 Update tests that use readelf to use $READELF instead.
18760 * configure: Regenerated.
18761
8538fdb3
UD
187622011-07-08 Ulrich Drepper <drepper@gmail.com>
18763
18764 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
18765 if the result is not used.
18766
04d08991
AJ
187672011-07-05 Andreas Jaeger <aj@suse.de>
18768
18769 [BZ#9696]
18770 * stdlib/tst-strtod.c: Add testcase.
18771
de283087
AD
187722011-07-07 Ulrich Drepper <drepper@gmail.com>
18773
4e5f31c8 18774 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 18775 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
18776 The latter has a higher limit. Take additional parameter to pass to
18777 the new function.
18778 (__pathconf): Pass file to __statfs_link_max.
18779 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
18780 __statfs_link_max.
18781 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
18782 __statfs_link_max.
18783
de283087
AD
18784 [BZ #12868]
18785 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
18786 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18787 Handle Lustre.
18788 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
18789 (__statfs_filesize_max): Likewise.
18790 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
18791
c75fa153
AJ
187922011-07-05 Andreas Jaeger <aj@suse.de>
18793
18794 * resolv/res_comp.c (dn_skipname): Remove unused variable.
18795
1a544854
UD
187962011-07-06 Marek Polacek <mpolacek@redhat.com>
18797
18798 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
18799 `status' variable.
18800 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
18801 Likewise.
18802
6f0eec67
UD
188032011-07-04 H.J. Lu <hongjiu.lu@intel.com>
18804
18805 * Makefile (strop-tests): Add strncat.
18806 * string/test-strncat.c: New file.
18807
aae30307
UD
188082011-06-30 Marek Polacek <mpolacek@redhat.com>
18809
18810 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
18811
c0cfb5eb
UD
188122011-06-21 Andreas Jaeger <aj@suse.de>
18813
18814 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
18815 Copy rule from iconvdata/Makefile.
18816
01636b21
UD
188172011-07-06 Ulrich Drepper <drepper@gmail.com>
18818
18819 [BZ #12922]
18820 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
18821 but no long options are defined, just return 'W'.
18822
9895c8bc
UD
188232011-06-22 Marek Polacek <mpolacek@redhat.com>
18824
18825 [BZ #9696]
18826 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
18827
5d4cf042
UD
188282011-07-06 Ulrich Drepper <drepper@gmail.com>
18829
18830 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
18831 netgroups to read.
960e5535 18832 (innetgr): Likewise.
5d4cf042 18833
751eb97e
RM
188342011-07-05 Roland McGrath <roland@hack.frob.com>
18835
18836 * config.make.in (install_root): Default to $(DESTDIR).
18837
f15f1e45
UD
188382011-07-05 Ulrich Drepper <drepper@gmail.com>
18839
18840 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
18841
4e34ac6a
RM
188422011-07-02 Roland McGrath <roland@hack.frob.com>
18843
5e9b6af4
RM
18844 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
18845
84f9ea0f
RM
18846 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
18847 containing directory rather than embedding absolute directory names.
18848
ea5ee9f7
RM
18849 * scripts/check-local-headers.sh: Rewritten using awk.
18850 Match by word, not by line. Print error messages for matches.
18851 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
18852
1b74661a
RM
18853 * Makerules [shlib-lds-flags empty]:
18854 ($(common-objpfx)libc_pic.opts): New target.
18855 ($(common-objpfx)libc_pic.os.clean): New target.
18856 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
18857
18858 * config.make.in (OBJCOPY): New variable.
18859 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
18860 * configure: Regenerated.
18861
f781ef40
RM
18862 * config.make.in (use-default-link): New variable.
18863 * configure.in (use_default_link): Grok --with-default-link to set it.
18864 * configure: Regenerated.
18865 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
18866 (shlib-lds, shlib-lds-flags): Define to empty.
18867
2d4fa81e
RM
18868 * Makerules (shlib-lds): New variable.
18869 (shlib-lds-flags): New variable.
18870 (build-shlib, build-moduile, build-module-asneeded): Use it.
18871 ($(common-objpfx)libc.so): Use $(shlib-lds).
18872 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
18873 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
18874
31fffa6b
RM
18875 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
18876 DT_FLAGS/DT_FLAGS_1 with zero flags.
18877
4e34ac6a
RM
18878 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
18879 linker script munging.
18880
fcfc776b
UD
188812011-07-02 Ulrich Drepper <drepper@gmail.com>
18882
18883 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
18884 as 128-bit value.
18885 * crypt/sha512.c (sha512_process_block): Perform total addition using
18886 128-bit if possible.
18887 (__sha512_finish_ctx): Likewise.
18888 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
18889 as 64-bit value.
18890 * crypt/sha256.c (SWAP64): Define.
18891 (sha256_process_block): Perform total addition using 64-bit if
18892 possible.
18893 (__sha256_finish_ctx): Likewise.
18894
99231d9a
UD
188952011-07-01 Ulrich Drepper <drepper@gmail.com>
18896
18897 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
18898 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18899 * nscd/hstcache.c (cache_addhst): Likewise.
18900 * nscd/grpcache.c (cache_addgr): Likewise.
18901 * nscd/aicache.c (addhstaiX): Likewise
18902 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
18903
445b4a53
TK
189042011-07-01 Thorsten Kukuk <kukuk@suse.de>
18905
18906 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
18907 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18908 * nscd/hstcache.c (cache_addhst): Likewise.
18909 * nscd/grpcache.c (cache_addgr): Likewise.
18910 * nscd/aicache.c (addhstaiX): Likewise
18911
6d4d8e8e
AS
189122011-07-01 Andreas Schwab <schwab@redhat.com>
18913
18914 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
18915 domain only when needed.
18916
89f654c5
AS
189172011-06-30 Andreas Schwab <schwab@redhat.com>
18918
18919 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
18920 is always restored.
18921
cf3b23ff
UD
189222011-06-29 Ulrich Drepper <drepper@gmail.com>
18923
18924 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
18925 are re-adding the entry.
18926 * nscd/servicescache.c (cache_addserv): Likewise.
18927
751626f9
AJ
189282011-06-30 Aurelien Jarno <aurelien@aurel32.net>
18929
18930 * sysdeps/generic/dl-irel.h: fix protection against multiple
18931 inclusions.
18932 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
18933
9113ea1f
UD
189342011-06-28 Ulrich Drepper <drepper@gmail.com>
18935
5c0b8d90
UD
18936 [BZ #12935]
18937 * malloc/memusage.sh: Fix quoting in message.
18938 * debug/xtrace.sh: Likewise.
18939
9113ea1f
UD
18940 * configure.in: Remove support for --experimental-malloc option, make
18941 it the default.
18942 * config.make.in: Likewise.
18943 * malloc/Makefile: Likewise.
18944
a4172181
AS
189452011-06-27 Andreas Schwab <schwab@redhat.com>
18946
18947 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
18948 two-byte characters.
18949
78a7eee7
RM
189502011-06-27 Roland McGrath <roland@hack.frob.com>
18951
62bede13
RM
18952 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
18953 AC_CACHE_CHECK invocation.
18954 * configure: Regenerated.
18955
78a7eee7
RM
18956 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
18957
5ce33a62
UD
189582011-06-27 Ulrich Drepper <drepper@gmail.com>
18959
034807a9
UD
18960 [BZ #12350]
18961 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
18962 bit from old_res_options.
18963
4902da17
UD
18964 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
18965
5ce33a62
UD
18966 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
18967 value type for setfct.
18968
c2344f56
L
189692011-06-23 H.J. Lu <hongjiu.lu@intel.com>
18970
18971 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
18972 __gettimeofday instead of gettimeofday.
18973
68468076
UD
189742011-06-26 Ulrich Drepper <drepper@gmail.com>
18975
18976 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
18977
acb0d739
L
189782011-06-24 H.J. Lu <hongjiu.lu@intel.com>
18979
18980 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
18981
18982 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
18983 info.
18984
8912479f
L
189852011-06-22 H.J. Lu <hongjiu.lu@intel.com>
18986
18987 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18988 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
18989 strcpy-sse2-unaligned strncpy-sse2-unaligned
18990 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
18991 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
18992 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
18993 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
18994 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
18995 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
18996 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
18997 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
18998 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
18999 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
19000 (STRCPY): Support SSE2 and SSSE3 versions.
19001
d5495a11
UD
190022011-06-24 Ulrich Drepper <drepper@gmail.com>
19003
19004 [BZ #12874]
19005 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
19006 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
19007 kernels which artificially limit size of requests.
19008
0b1cbaae
L
190092011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19010
19011 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19012 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19013 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
19014 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
19015 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
19016 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
19017 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
19018 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
19019 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
19020 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
19021 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
19022 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
19023 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
19024 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
19025 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
19026 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19027 Enable unaligned load optimization for Intel Core i3, i5 and i7
19028 processors.
19029 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
19030 Define.
19031 (index_Fast_Unaligned_Load): Define.
19032 (HAS_FAST_UNALIGNED_LOAD): Define.
19033
07f494a0
MP
190342011-06-23 Marek Polacek <mpolacek@redhat.com>
19035
19036 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
19037
fa3fc0fe
UD
190382011-06-22 Ulrich Drepper <drepper@gmail.com>
19039
19040 [BZ #12907]
19041 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
19042 until it is clear that the information is realy needed.
19043 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
19044
e12df166
AS
190452011-06-22 Andreas Schwab <schwab@redhat.com>
19046
19047 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
19048
852eb34d
UD
190492011-06-22 Ulrich Drepper <drepper@gmail.com>
19050
84e2a551
UD
19051 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19052 /sys/devices/system/cpu/online if it is usable.
19053
852eb34d
UD
19054 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
19055 reading the information from the /proc filesystem to once a second.
19056
6e502e19
UD
190572011-06-21 Andreas Jaeger <aj@suse.de>
19058
19059 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
19060 NULL after inclusion of kernel headers.
19061
75d39ff2
UD
190622011-06-21 Ulrich Drepper <drepper@gmail.com>
19063
51f9aa6a
UD
19064 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
19065 calls to internal_setent.
19066
c0244a9d
UD
19067 [BZ #12885]
19068 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
19069 addresses using gethostbyname4_r ignore IPv4 addresses.
19070
c5e3c2ae
UD
19071 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
19072 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
19073
75d39ff2
UD
19074 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
19075
42675c6f
DM
190762011-06-20 David S. Miller <davem@davemloft.net>
19077
19078 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
19079 inclusions.
19080 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
19081
19082 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
19083 (elf_irel): Use it.
19084 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
19085 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
19086 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
19087 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
19088 * sysdeps/x86_64/dl-irel.h: Likewise.
19089
19090 * elf/dl-runtime.c: Use elf_ifunc_invoke.
19091 * elf/dl-sym.c: Likewise.
19092
57912a71
UD
190932011-06-15 Ulrich Drepper <drepper@gmail.com>
19094
19095 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
19096 need to dereference resplen2.
19097
ee22793d
AS
190982011-06-14 Andreas Schwab <schwab@redhat.com>
19099
19100 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
19101
a9e836b0
UD
191022011-06-15 Ulrich Drepper <drepper@gmail.com>
19103
77fb9117
UD
19104 * Makeconfig: Define vardbdir and inst_vardbdir.
19105 * nss/Makefile: Add rules to install db-Makefile.
19106
40c1b22c
UD
19107 * nss/nss_db/db-XXX.c: Cleanup.
19108
9f2da732
UD
19109 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
19110 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
19111 GLIBC_PRIVATE.
19112 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
19113 * nss/makedb.c: Implement -g option to specify that value strings
19114 are generated and should not be added to table iterated over for
19115 get*ent calls.
19116 * nss/nss_db/db-initgroups.c: New file.
19117
82e9a1f7
UD
19118 * nss/getent.c: Add support for initgroups lookups through getgrouplist
19119 interface.
19120
c41af17e
UD
19121 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
19122 (internal_getgrouplist): Adjust to name change.
19123 Update use_initgroups_entry if this is not the first call.
19124 * nss/databases.def: Add initgroups entry.
19125
a9e836b0
UD
19126 * nss/makedb.c (compute_tables): Check result of multiple hash table
19127 sizes to minimize maximum chain length.
19128
2666d441
UD
191292011-06-14 Ulrich Drepper <drepper@gmail.com>
19130
19131 * Versions.def: Add entry for libnss_db.
19132 * shlib-versions: Likewise.
19133 * nss/Makefile: Add rules to build libnss_db.
19134 * nss/Versions: Add libnss_db information. Organize libnss_files
19135 entries better.
19136 * nss/db-Makefile: Add gshadow support. Change rules for the new
19137 makedb progra. Some minor improvements to generate smaller files.
19138 * nss/nss_db/nss_db.h: Move NSS database header data structures to
19139 here from...
19140 * nss/makedb.c: ...here.
19141 Improve database format to be smaller and require less memory at
19142 runtime.
19143 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
19144 db anymore.
19145 * nss/nss_db/db-netgrp.c: Likewise.
19146 * nss/nss_db/db-open.c: Likewise.
19147 * nss/nss_files/flies-XXX.x: Adjust comments.
19148 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
19149 * nss/nss_files/files-grp.c: Likewise.
19150 * nss/nss_files/files-hosts.c: Likewise.
19151 * nss/nss_files/files-network.c: Likewise.
19152 * nss/nss_files/files-proto.c: Likewise.
19153 * nss/nss_files/files-pwd.c: Likewise.
19154 * nss/nss_files/files-rpc.c: Likewise.
19155 * nss/nss_files/files-service.c: Likewise.
19156 * nss/nss_files/files-sgrp.c: Likewise.
19157 * nss/nss_files/files-spwd.c: Likewise.
19158 * nss/nss_db/db-alias.c: Removed.
19159 * nss/nss_db/dummy-db.h: Removed.
19160
9ee76b5a
UD
191612011-06-02 Ulrich Drepper <drepper@gmail.com>
19162
19163 * nss/makedb.c: Rewritten to not use database library.
19164 * nss/Makefile: Update to build new makedb program.
19165
c71ca1f8
AJ
191662011-06-14 Andreas Jaeger <aj@suse.de>
19167
19168 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
19169 memset declaration.
19170
3154bfb8
UD
191712011-06-10 Andreas Schwab <schwab@redhat.com>
19172
19173 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
19174 tmpbuf.
19175
b350afab
RM
191762011-06-10 Roland McGrath <roland@hack.frob.com>
19177
decd4e50
RM
19178 * Makerules (shlib.lds): Fail if the linker script comes out empty.
19179 * elf/Makefile ($(objpfx)ld.so): Likewise.
19180
5615eaf2
RM
19181 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
19182 Don't list ld.so twice in dependencies.
19183
19184 * posix/bug-regex31.c: Include <stdlib.h>.
19185
19186 * nscd/hstcache.c (cache_addhst): Remove unused variable.
19187
19188 * nis/nss_compat/compat-spwd.c
19189 (getspent_next_nss_netgr): Remove unused variable.
19190 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
19191
19192 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
19193 nonmembers" output to use the right array.
19194
19195 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
19196
19197 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
19198
19199 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
19200 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
19201 * catgets/gencat.c (read_input_file): Likewise.
19202 * locale/programs/locarchive.c (enlarge_archive): Likewise.
19203
19204 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
19205 variable definition inside #if's controlling its use.
19206
19207 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
19208
19209 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
19210
19211 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
19212
19213 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
19214 unreachable code.
19215
19216 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
19217
b68e08db
RM
19218 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
19219 * configure: Regenerated.
19220
b350afab
RM
19221 * Makerules: Revert last change.
19222 * elf/Makefile: Likewise.
19223
28368601
RM
192242011-06-09 Roland McGrath <roland@hack.frob.com>
19225
19226 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
19227 * elf/Makefile ($(objpfx)librtld.os): Likewise.
19228 (reloc-link): Likewise.
19229
11988f8f
UD
192302011-06-09 Ulrich Drepper <drepper@gmail.com>
19231
19232 * elf/Makefile: Add rules to build pldd.
19233 * elf/pldd.c: New file.
19234 * elf/pldd-xx.c: New file.
19235
e80fab37
UD
192362011-06-07 Ulrich Drepper <drepper@gmail.com>
19237
19238 * version.h: Update for 2.15 development version.
19239
9b849836
DM
192402011-06-07 David S. Miller <davem@davemloft.net>
19241
19242 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
19243 ifuncs.
19244 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
19245 elf_machine_lazy_rel): Likewise.
19246 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
19247 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
19248 elf_machine_lazy_rel): Likewise.
19249 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
19250 dl_hwcap via passed in argument.
19251 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
19252 Likewise.
19253
5a31b283
AK
192542011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19255
19256 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
19257
069e52f8
RM
192582011-06-06 Roland McGrath <roland@hack.frob.com>
19259
19260 [BZ #12849]
19261 * manual/fdl-1.1.texi: New file, verbatim from:
19262 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
19263 * manual/lgpl-2.1.texi: New file, verbatim from:
19264 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
19265 * manual/Makefile (licenses): New variable, list those new file names.
19266 (texis): Use it.
19267 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
19268
19269 * manual/fdl.texi: File removed.
19270 * manual/lesser.texi: File removed.
19271 * manual/libc.texinfo (Copying, Documentation License):
19272 Use new @include file names, put @appendix directive before @include.
19273
f16846a5
JJ
192742011-06-04 Jakub Jelinek <jakub@redhat.com>
19275
19276 [BZ #12841]
19277 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
19278 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
19279 (mq_open): Add __NTH.
19280
3d29045b
L
192812011-06-02 H.J. Lu <hongjiu.lu@intel.com>
19282
19283 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19284 Assume Intel Core i3/i5/i7 processor if AVX is available.
19285
8c297311
UD
192862011-05-31 Ulrich Drepper <drepper@gmail.com>
19287
19288 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
19289 typo.
19290
c8fc0c91
UD
192912011-05-31 Andreas Schwab <schwab@redhat.com>
19292
19293 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
19294 memory. Use alloca_account. Fix memory leak when retrying.
19295
5b27a807
UD
192962011-05-31 Ulrich Drepper <drepper@gmail.com>
19297
356f8bc6
UD
19298 * version.h (RELEASE): Bump for 2.14 release.
19299 * include/features.h (__GLIBC_MINOR__): Bump to 14.
19300
5b27a807
UD
19301 * config.make.in (RANLIB): Remove entry.
19302
01f16ab0
UD
193032011-05-30 Ulrich Drepper <drepper@gmail.com>
19304
41fce8bd
UD
19305 * po/Makefile (po-sed-cmd): Add ksh to extensions.
19306 (libc.pot): Work around missing support for .ksh extension in xgettext.
19307
4769ae77
UD
19308 [BZ #12684]
19309 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
19310 if both request failed.
19311 (send_dg): In case of server errors clear resplen or *resplen2.
19312
6b1e7d19
UD
19313 [BZ #12454]
19314 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
19315 when there are multiple maps.
19316 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
19317 (_dl_fini): Remove test here.
19318
01f16ab0
UD
19319 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
19320
b1ebd700
UD
193212011-05-29 Ulrich Drepper <drepper@gmail.com>
19322
7ae22829
UD
19323 [BZ #12350]
19324 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
19325 bit from old_res_options.
19326 (gaih_inet): Likewise.
19327
553149f6 19328 [BZ #11099]
18a84741 19329 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
19330 as signed.
19331
652ffab1
UD
19332 * resolv/res_init.c (res_setoptions): Make the code more compact.
19333
16985fd0
UD
19334 [BZ #11558]
19335 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
19336 set RES_USEVC.
19337
0464f746
UD
19338 [BZ #11634]
19339 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
19340
7d17596c
UD
19341 * malloc/malloc.h: Mark malloc hook variables as deprecated.
19342
cf6bbbd7
UD
19343 [BZ #11781]
19344 * malloc/malloc.h: Declare malloc hook variables as volatile.
19345
13f1ab36
UD
19346 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
19347 in last patch.
19348
b1ebd700
UD
19349 [BZ #11799]
19350 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 19351 raise in the comment.
80e2212d
UD
19352 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19353 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19354 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 19355
ce67228d
UD
193562011-05-28 Ulrich Drepper <drepper@gmail.com>
19357
8887a920
UD
19358 [BZ #12811]
19359 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
19360 grow the buffers more if it already has to be sufficient.
19361 (build_wcs_upper_buffer): Likewise.
19362 * posix/regexec.c (check_matching): Likewise.
19363 (clean_state_log_if_needed): Likewise.
19364 (extend_buffers): Don't enlarge buffers beyond size of the input
19365 buffer.
19366 Patches mostly by Emil Wojak <emil@wojak.eu>.
19367 * posix/bug-regex32.c: New file.
19368 * posix/Makefile (tests): Add bug-regex32.
19369
4f031072
UD
19370 * locale/findlocale.c (_nl_find_locale): Return right away if
19371 _nl_explode_name failed.
19372 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
19373
d0478f0c
UD
19374 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
19375
de81b246
UD
19376 * debug/xtrace.sh: Unify messages.
19377 * malloc/memusage.sh: Likewise.
19378
c738465a
UD
19379 [BZ #12813]
19380 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
19381 time symbol from vDSO. Substitute with vsyscall if not available.
19382 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
19383 __vdso_time.
19384
f1f929d7
UD
19385 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
19386 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
19387 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
19388 Add sendmmsg and internal_sendmmsg.
19389 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
19390 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
19391 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
19392
ce67228d
UD
19393 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
19394 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
19395 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
19396
e57420c6
UD
193972011-05-27 Ulrich Drepper <drepper@gmail.com>
19398
a8509ca5
UD
19399 [BZ #12813]
19400 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
19401 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
19402 available.
19403 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
19404 __vdso_getcpu.
19405
e57420c6
UD
19406 [BZ #12814]
19407 * iconvdata/Makefile (tests): Add bug-iconv9.
19408 * iconvdata/bug-iconv9.c: New file.
19409
4d07db15
AS
194102011-05-27 Andreas Schwab <schwab@redhat.com>
19411
19412 [BZ #12814]
19413 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
19414
ea486f69
JJ
194152011-05-25 Jakub Jelinek <jakub@redhat.com>
19416
19417 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
19418 (struct user_regs_struct): Change intcs field back to cs.
19419
6f038433
UD
194202011-05-25 Ulrich Drepper <drepper@gmail.com>
19421
19422 * po/ja.po: Update from translation team.
19423
67f86a25
UD
194242011-05-23 Ulrich Drepper <drepper@gmail.com>
19425
19426 [BZ #12795]
19427 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
19428 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
19429
def7fbd6
AS
194302011-05-20 Andreas Schwab <schwab@redhat.com>
19431
19432 * stdlib/longlong.h: Update from GCC.
19433
f50ef8f1
AS
194342011-05-23 Andreas Schwab <schwab@redhat.com>
19435
19436 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
19437 parameter name.
19438 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
19439 Add parameter name.
19440 (__sysconf): Pass it down.
19441
de7ce8f1
UD
194422011-05-22 Ulrich Drepper <drepper@gmail.com>
19443
f2962a71
UD
19444 [BZ #12671]
19445 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
19446 some situations.
19447 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
19448 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
19449 add in in __libc_use_alloca calls. Adjust callers.
19450 (glob): Use malloc in some situations.
19451
de7ce8f1
UD
19452 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
19453 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
19454 pltexit.
19455
aec84f53
UD
194562011-05-21 Ulrich Drepper <drepper@gmail.com>
19457
05bb4a68
UD
19458 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
19459 and CLOCK_BOOTTIME_ALARM.
19460
7ea72f99
UD
19461 [BZ #12782]
19462 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
19463 is returned.
19464
7e4afad5
UD
19465 * string/_strerror.c (__strerror_r): Print negative errors as signed
19466 numbers.
19467
8e211fec
UD
19468 [BZ #12777]
19469 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
19470 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
19471 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
19472
f7d82dc9
UD
19473 * configure.in: Fix typo in redirection and correct removal of test
19474 files in two cases.
19475
cc9e536d
UD
19476 [BZ #12788]
19477 * locale/setlocale.c (new_composite_name): Fix test to check for
19478 identical name of all categories.
19479
aec84f53
UD
19480 [BZ #12792]
19481 * libio/filedoalloc.c (local_isatty): New function.
19482 (_IO_file_doallocate): Use local_isatty.
19483 * stdio-common/perror.c (perror): In case a new stream is used
19484 forward the stream error.
19485 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
19486 error flag.
19487
78e64fdc
RT
194882011-05-20 Ulrich Drepper <drepper@gmail.com>
19489
34a9094f
UD
19490 [BZ #11869]
19491 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
19492 alloca.
19493 * include/alloca.h (extend_alloca_account): Define.
19494
78e64fdc
RT
19495 [BZ #11857]
19496 * posix/regex.h: Fix comments with documentation of user-accessible
19497 fields after compilation and describe correct free'ing of pattern
19498 after re_compile_pattern.
19499 Patch by Reuben Thomas <rrt@sc3d.org>.
19500
457bddfc
RA
195012011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
19502
19503 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
19504 and -mno-altivec to prevent the compiler from using Altivec and/or
19505 VSX instructions when the corresponding registers are not available.
19506
a4527b51
AS
195072011-05-19 Andreas Schwab <schwab@redhat.com>
19508
19509 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
19510
ed690b2f
UD
195112011-05-19 Ulrich Drepper <drepper@gmail.com>
19512
19513 * libio/freopen.c (freopen): Use __dup2, not dup2.
19514 * libio/freopen64.c (freopen64): Likewise.
19515
8db73634
L
195162011-05-17 H.J. Lu <hongjiu.lu@intel.com>
19517
19518 [BZ #12775]
19519 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
19520 * math/Makefile (tests): Add test-powl.
19521 (CFLAGS-test-powl.c): Define.
19522 * math/test-powl.c: New file.
19523
0a197a9d
L
195242011-05-16 H.J. Lu <hongjiu.lu@intel.com>
19525
19526 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
19527
ee30c380
UD
195282011-05-17 Ulrich Drepper <drepper@gmail.com>
19529
19530 [BZ #11837]
19531 * iconvdata/gb18030.c: Update to GB18020-2005.
19532
6ce75379
UD
195332011-05-16 Ulrich Drepper <drepper@gmail.com>
19534
a4b89fd8
AR
19535 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
19536 RE_SYNTAX_POSIX_AWK): Update to match recent development.
19537 Patch by Aharon Robbins <arnold@skeeve.com>.
19538
ea389b12
UD
19539 [BZ #11892]
19540 * stdlib/putenv.c (putenv): Don't always create copy of the variable
19541 on the stack.
19542
68a3f91f
UD
19543 [BZ #11895]
19544 * misc/pselect.c (__pselect): Handle timeout value errors hidden
19545 through underflows.
19546
15cc7dd1
UD
19547 [BZ #12766]
19548 * misc/error.c (error_at_line): Ensure file_name and old_file_name
19549 point to strings before performing equality test for error_one_per_line
19550 mode.
19551
f3799213
UD
19552 [BZ #11697]
19553 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
19554
d79a9c94
UD
19555 [BZ #11820]
19556 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
19557 (struct user_fpregs_struct): Avoid __uint*_t types.
19558
56e5eb46
UD
19559 [BZ #6420]
19560 * malloc/mtrace.c (tr_where): Add additional parameter to point to
19561 symbol info. Use it instead of calling _dl_addr locally.
19562 (lock_and_info): New function.
19563 (tr_freehook): Call lock_and_info and pass symbol info as additional
19564 parameter to tr_where.
19565 (tr_mallochook): Likewise.
19566 (tr_reallochook): Likewise.
19567 (tr_memalignhook): Likewise.
19568
6ce75379
UD
19569 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
19570 used and couldn't be at all thread-safe.
19571
f8a3b5bf
UD
195722011-05-15 Ulrich Drepper <drepper@gmail.com>
19573
94b7cc37
UD
19574 * libio/freopen.c (freopen): Don't close old file descriptor
19575 before the new one is opened. Instead dup the new file descriptor
19576 to the old one after the new stream is created.
19577 * libio/freopen64.c (freopen64): Likewise.
19578 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
19579 * libio/fileops.c (_IO_new_file_close_it): Handle new
19580 _IO_FLAGS2_NOCLOSE flag.
19581 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
19582 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
19583 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
19584 _IO_FLAGS2_NOCLOSE flag.
19585 * include/unistd.h: Add hidden_proto for dup3.
19586 Define __have_dup3.
19587 * io/dup3.c: Define hidden symbol.
19588 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
19589
bd25564e
UD
19590 [BZ #7101]
19591 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
19592 when an incomplete long option is used.
19593 * posix/tst-getopt_long1.c: New file.
19594 * posix/Makefile (tests): Add tst-getopt_long1.
19595
c84cfef4
UD
19596 [BZ #10138]
19597 * scripts/config.guess: Update from autoconf-2.68.
19598 * scripts/config.sub: Likewise.
19599
3b85df27
UD
19600 [BZ #10157]
19601 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
19602 tests into ...
19603 (has_cpuclock): ...this. New function.
19604 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
19605 macro here based on has_cpuclock code.
19606
15a856b1
UD
19607 [BZ #10149]
19608 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19609 First byte (not low byte) is now always NUL.
19610 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
19611
05f399e6
UD
19612 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19613 Use non-cancelable interfaces.
19614
10a52685 19615 [BZ #9809]
94ecc67d
UD
19616 * locale/iso-639.def: Add entry for Sorani.
19617
f8a3b5bf
UD
19618 [BZ #11901]
19619 * include/stdlib.h: Move include protection to the right place.
19620 Define abort_msg_s. Declare __abort_msg with it.
19621 * stdlib/abort.c (__abort_msg): Adjust type.
19622 * assert/assert.c (__assert_fail_base): New function. Majority
19623 of code from __assert_fail. Allocate memory for __abort_msg with
19624 mmap.
19625 (__assert_fail): Now call __assert_fail_base.
19626 * assert/assert-perr.c: Remove bulk of implementation. Use
19627 __assert_fail_base.
19628 * include/assert.hL Declare __assert_fail_base.
19629 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
19630 mmap.
19631 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
19632
1af4e298
UD
196332011-05-14 Ulrich Drepper <drepper@gmail.com>
19634
f8a3b5bf 19635 [BZ #11952]
d26dfc60
MG
19636 [BZ #12453]
19637 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
19638 until all modules are registered in the DTV.
19639 * elf/Makefile: Add rules to build and run tst-tls19.
19640 * elf/tst-tls19.c: New file.
19641 * elf/tst-tls19mod1.c: New file.
19642 * elf/tst-tls19mod2.c: New file.
19643 * elf/tst-tls19mod3.c: New file.
19644 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
19645
2fc54d6f
UD
19646 [BZ #12083]
19647 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
19648 correctly.
19649
98d76b46
UD
19650 [BZ #12601]
19651 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
19652 two-byte sequence errors.
19653 * iconvdata/Makefile (tests): Add bug-iconv8.
19654 * iconvdata/bug-iconv8.c: New file.
19655
da3c19ef
UD
19656 [BZ #12626]
19657 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
19658 buf2 definition.
19659
ca408c15
UD
19660 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
19661
d6f67f7d
UD
19662 [BZ #12432]
19663 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
19664 (dummy_getcfa): New function.
19665 (init): Get _Unwind_GetCFA address, use dummy if not found.
19666 (backtrace_helper): In recursion check, also check whether CFA changes.
19667 (__backtrace): Completely initialize arg.
19668
1af4e298 19669 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
19670 storing incomplete byte sequence in state object. Avoid testing for
19671 guaranteed too small input if we know there is enough data available.
1af4e298 19672
da62f81b
AS
196732011-05-11 Andreas Schwab <schwab@redhat.com>
19674
19675 * Makeconfig (+link-pie): Indent.
19676 * Rules (binaries-pie): Define if $(have-fpie) and
19677 $(build-shared).
19678 (binaries-shared): Also filter out $(binaries-pie).
19679 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
19680 * nscd/Makefile (others-pie): Add nscd.
19681 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
19682 ($(objpfx)nscd): Remove command override.
19683 * login/Makefile (others-pie): Add pt_chown.
19684 ($(objpfx)pt_chown): Remove command override.
19685 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
19686 remove command overrides.
19687
fcabc0f8
UD
196882011-05-13 Ulrich Drepper <drepper@gmail.com>
19689
20030ae6
UD
19690 * libio/tst_putwc.c: Fix error messages.
19691
fcabc0f8
UD
19692 [BZ #12724]
19693 * libio/fileops.c (_IO_new_file_close_it): Always flush when
19694 currently writing and seek to current position when not.
19695 * libio/Makefile (tests): Add bug-fclose1.
19696 * libio/bug-fclose1.c: New file.
19697
320a5dc0
PB
196982011-05-12 Ulrich Drepper <drepper@gmail.com>
19699
19700 [BZ #12511]
19701 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
19702 don't set DF_1_NODELETE here.
19703 (do_lookup_x): When entering new entry test for copy relocation
19704 and if necessary set DF_1_NODELETE flag.
19705 * elf/tst-unique4.cc: New file.
19706 * elf/tst-unique4.h: New file.
19707 * elf/tst-unique4lib.cc: New file.
19708 * elf/Makefile: Add rules to build and run tst-unique4.
19709 Patch by Piotr Bury <pbury@goahead.com>.
19710
22836f52
UD
197112011-05-11 Ulrich Drepper <drepper@gmail.com>
19712
f574184a
UD
19713 [BZ #12052]
19714 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
19715
e1fb097f
UD
19716 [BZ #12625]
19717 * misc/mntent_r.c (addmntent): Flush the stream after the output
19718
22836f52
UD
19719 [BZ #12393]
19720 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
19721 (is_trusted_path_normalize): Skip initial colon. Append slash
19722 to empty buffer. Duplicate is_trusted_path code but allow
19723 constructed patch to be prefix.
19724 (is_dst): Allow $ORIGIN followed by /.
19725 (_dl_dst_substitute): Correct clearing of check_for_trusted.
19726 Correct testing of result of is_trusted_path_normalize
19727 (decompose_rpath): Fix warning.
19728
7b3b0b2a
UD
197292011-05-10 Ulrich Drepper <drepper@gmail.com>
19730
19731 [BZ #11257]
19732 * grp/initgroups.c (internal_getgrouplist): When we found the service
19733 list through the initgroups entry in nsswitch.conf do not always
19734 continue on a successful lookup. Don't always use the
eac80ce2 19735 __nss_group_database value if it is set.
7b3b0b2a
UD
19736 * nss/nsswitch.conf (initgroups): Change action for successful db
19737 lookup to continue for compatibility.
19738
2a81eaa5
UD
197392011-05-09 Ulrich Drepper <drepper@gmail.com>
19740
be97a69e
UD
19741 [BZ #11532]
19742 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
19743 and CP774 modules.
19744 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
19745 and CP774 modules.
19746 * iconvdata/tst-tables.sh: Likewise.
19747 * iconvdata/cp770.c: New file.
19748 * iconvdata/cp771.c: New file.
19749 * iconvdata/cp772.c: New file.
19750 * iconvdata/cp773.c: New file.
19751 * iconvdata/cp774.c: New file.
19752 * iconvdata/testdata/CP770: New file.
19753 * iconvdata/testdata/CP770..UTF8: New file.
19754 * iconvdata/testdata/CP771: New file.
19755 * iconvdata/testdata/CP771..UTF8: New file.
19756 * iconvdata/testdata/CP772: New file.
19757 * iconvdata/testdata/CP772..UTF8: New file.
19758 * iconvdata/testdata/CP773: New file.
19759 * iconvdata/testdata/CP773..UTF8: New file.
19760 * iconvdata/testdata/CP774: New file.
19761 * iconvdata/testdata/CP774..UTF8: New file.
19762
19763 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
19764 END CHARMAP line.
19765 * iconvdata/gen-8bit-gap.sh: Likewise.
19766 * iconvdata/gen-8bit.sh: Likewise.
19767
c1e9e399
UD
19768 * locale/iso-639.def: Add ary entry.
19769
24c55fb3 19770 [BZ #11258]
96b4b1b0
UD
19771 * locale/C-translit.h.in: Add U20A1 transliteration.
19772
bdc2f971
KB
19773 [BZ #12178]
19774 * locale/iso-639.def: Add wae entry.
19775 Patch by Kevin Bortis <bortis@translate-wae.ch>.
19776
2952b117
UD
19777 [BZ #12545]
19778 * locale/programs/localedef.c (construct_output_path): Use ssize_t
19779 for n.
19780
2a81eaa5
UD
19781 [BZ #12711]
19782 * locale/C-translit.h.in: Add entry for U20B9.
19783 Patch by pravin.d.s@gmail.com.
19784
28377d1b
UD
197852011-05-08 Ulrich Drepper <drepper@gmail.com>
19786
7fb90fb8
UD
19787 [BZ #12713]
19788 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
19789 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
19790 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
19791 in rtld. Use *stat64.
7fb90fb8 19792 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 19793 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 19794 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
19795 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
19796 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
19797 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
19798 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
19799 __fstatat64 macros.
7fb90fb8
UD
19800 * include/dirent.h: Add libc_hidden_proto for rewinddir.
19801 * dirent/rewinddir.c: Add libc_hidden_def.
19802 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 19803 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 19804
28377d1b
UD
19805 * include/dirent.h (__alloc_dir): Add flags parameter.
19806 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
19807 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
19808 __alloc_dir.
19809 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
19810 from fdopendir if O_CLOEXEC is already set.
19811
66bdbaa4
AM
198122011-03-15 Alan Modra <amodra@gmail.com>
19813
19814 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
19815 l_tls_firstbyte_offset non-zero. Save padding offset in
19816 l_tls_firstbyte_offset for later use.
19817 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
19818 freeing static tls block.
19819
95721191
JN
198202011-03-05 Jonathan Nieder <jrnieder@gmail.com>
19821
19822 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
19823 where #ifdef was intended. The intent is to prevent ARG_MAX from
19824 being defined by the kernel headers.
19825
f87dfb1f
UD
198262011-05-07 Ulrich Drepper <drepper@gmail.com>
19827
19828 [BZ #12734]
19829 * resolv/resolv.h: Define RES_NOTLDQUERY.
19830 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
19831 no-tld-query and set RES_NOTLDQUERY.
19832 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
19833 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
19834 modern BIND to search name as TLD unless forbidden.
19835
47c3cd7a
UD
198362011-05-07 Petr Baudis <pasky@suse.cz>
19837 Ulrich Drepper <drepper@gmail.com>
19838
19839 [BZ #12393]
19840 * elf/dl-load.c (fillin_rpath): Move trusted path check...
19841 (is_trusted_path): ...to here.
c1e9ea35 19842 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 19843 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 19844 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 19845
8a35c912
PP
198462011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
19847
19848 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
19849 __BEGIN/__END_DECLS.
19850
acd41f47
UD
198512011-05-06 Ulrich Drepper <drepper@gmail.com>
19852
19853 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
19854 NSS_STATUS_NOTFOUND if no record was found.
19855
597df647
AS
198562011-05-05 Andreas Schwab <schwab@redhat.com>
19857
19858 * sunrpc/Makefile (headers): Add rpc/netdb.h.
19859 (headers-not-in-tirpc): Remove rpc/netdb.h
19860 * resolv/netdb.h: Revert last change.
19861
b9af1301
PP
198622011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19863
19864 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
19865 circular dependency between libgcc.a and libc.a.
19866
4e34d5f5
AS
198672011-05-05 Andreas Schwab <schwab@redhat.com>
19868
19869 * resolv/netdb.h: Don't include <rpc/netdb.h>.
19870 * nis/Makefile: Don't install rpcsvc/*.
19871 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
19872 instead of <rpc/types.h>.
19873 (MAXHOSTNAMELEN): Define.
19874
00ee369c
AS
198752011-05-03 Andreas Schwab <schwab@redhat.com>
19876
19877 * elf/ldconfig.c (add_dir): Don't crash on empty path.
19878
0b592a30
MB
198792011-04-28 Maciej Babinski <mbabinski@google.com>
19880
19881 [BZ #12714]
19882 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
19883 gethostbyname4_r when IPv6 results are possible.
19884
6e04cbbe
UD
198852011-05-02 Ulrich Drepper <drepper@gmail.com>
19886
19887 [BZ #12723]
19888 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
19889 _PC_PIPE_BUF handling.
19890
e4ecafe0
BH
198912011-04-30 Bruno Haible <bruno@clisp.org>
19892
19893 [BZ #12717]
19894 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
19895 * resolv/netdb.h (getnameinfo): Change type of flags parameter
19896 to 'int'.
19897 * inet/getnameinfo.c (getnameinfo): Likewise.
19898
125ee683
UD
198992011-04-29 Ulrich Drepper <drepper@gmail.com>
19900
19901 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
19902 to groups setting in database lookup.
19903 * nss/nsswitch.conf: Add initgroups entry.
19904
b722481a
EB
199052011-04-22 Ulrich Drepper <drepper@gmail.com>
19906
19907 [BZ #12685]
19908 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
19909 mode string.
19910 Patch by Eric Blake <eblake@redhat.com>.
19911
4df46dbd
L
199122011-04-20 H.J. Lu <hongjiu.lu@intel.com>
19913
19914 * sunrpc/Makefile (need-export-routines): Add svc_run.
19915 (routines): Remove svc_run.
19916 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
19917 * sunrpc/clnt_perr.c (clnt_perrno): Export.
19918 * sunrpc/svc_run.c (svc_run): Likewise.
19919 * sunrpc/svc_udp.c (svcudp_create): Likewise.
19920
e84142d2
UD
199212011-04-21 Ulrich Drepper <drepper@gmail.com>
19922
19923 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
19924 problem in reallocation in last patch.
19925
877175d8
UD
199262011-04-20 Ulrich Drepper <drepper@gmail.com>
19927
19928 * sunrpc/Makefile: Move inclusion of Rules.
19929
ab8eed78
UD
199302011-04-19 Ulrich Drepper <drepper@gmail.com>
19931
19932 * nss/nss_files/files-initgroups.c: New file.
19933 * nss/Makefile (libnss_files-routines): Add files-initgroups.
19934 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
19935 _nss_files_initgroups_dyn.
19936
e3d8f584
RS
199372011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
19938
19939 * elf/elf.h (R_ARM_IRELATIVE): Define.
19940
af190f45
UD
199412011-04-19 Ulrich Drepper <drepper@gmail.com>
19942
19943 * po/ru.po: Update from translation team.
19944
53cf59ef
UD
199452011-04-17 Ulrich Drepper <drepper@gmail.com>
19946
19947 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
19948 dependencies.
19949
4c559bcd
MF
199502011-02-06 Mike Frysinger <vapier@gentoo.org>
19951
19952 [BZ #12653]
19953 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
19954 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
19955 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19956 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19957 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19958
4420675c
AS
199592011-03-28 Andreas Schwab <schwab@linux-m68k.org>
19960
19961 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
19962 differing bytes.
19963 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19964 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19965 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19966
75ea32ab
UD
199672011-04-17 Ulrich Drepper <drepper@gmail.com>
19968
19969 [BZ #12420]
19970 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
19971 storing it.
19972 * stdlib/bug-getcontext.c: New file.
19973 * stdlib/Makefile: Add rules to build and run bug-getcontext.
19974
27390476
AK
199752011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19976
19977 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
19978 instructions into .machine "z9-109".
19979 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
19980 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
19981
10442705
AK
199822011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19983
19984 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
19985 between environment variables and auxiliary vector.
19986
7b57bfe5
UD
199872011-04-16 Ulrich Drepper <drepper@gmail.com>
19988
19989 * Makefile: Add rules to build linkobj/libc.so.
19990 * include/libc-symbols.h: Define libc_hidden_nolink.
19991 * include/rpc/auth.h: Mark functions which are to be hidden.
19992 * include/rpc/auth_des.h: Likewise.
19993 * include/rpc/auth_unix.h: Likewise.
19994 * include/rpc/clnt.h: Likewise.
19995 * include/rpc/des_crypt.h: Likewise.
19996 * include/rpc/key_prot.h: Likewise.
19997 * include/rpc/pmap_clnt.h: Likewise.
19998 * include/rpc/pmap_prot.h: Likewise.
19999 * include/rpc/pmap_rmt.h: Likewise.
20000 * include/rpc/rpc_msg.h: Likewise.
20001 * include/rpc/svc.h: Likewise.
20002 * include/rpc/svc_auth.h: Likewise.
20003 * include/rpc/xdr.h: Likewise.
20004 * nis/Makefile: Link all DSOs against linkobj/libc.so.
20005 * nss/Makefile: Likewise.
20006 * sunrpc/Makefile: Don't install headers. Build library with normal
20007 entry points. Don't build rpcinfo. Link RPC tests appropriately.
20008 * sunrpc/auth_des.c: Hide exported symbols by default, export some
20009 for the compat linking library. Remove use of INTDEF/INTUSE.
20010 * sunrpc/auth_none.c: Likewise.
20011 * sunrpc/auth_unix.c: Likewise.
20012 * sunrpc/authdes_prot.c: Likewise.
20013 * sunrpc/authuxprot.c: Likewise.
20014 * sunrpc/clnt_gen.c: Likewise.
20015 * sunrpc/clnt_perr.c: Likewise.
20016 * sunrpc/clnt_raw.c: Likewise.
20017 * sunrpc/clnt_simp.c: Likewise.
20018 * sunrpc/clnt_tcp.c: Likewise.
20019 * sunrpc/clnt_udp.c: Likewise.
20020 * sunrpc/clnt_unix.c: Likewise.
20021 * sunrpc/des_crypt.c: Likewise.
20022 * sunrpc/des_soft.c: Likewise.
20023 * sunrpc/get_myaddr.c: Likewise.
20024 * sunrpc/key_call.c: Likewise.
20025 * sunrpc/key_prot.c: Likewise.
20026 * sunrpc/netname.c: Likewise.
20027 * sunrpc/pm_getmaps.c: Likewise.
20028 * sunrpc/pm_getport.c: Likewise.
20029 * sunrpc/pmap_clnt.c: Likewise.
20030 * sunrpc/pmap_prot.c: Likewise.
20031 * sunrpc/pmap_prot2.c: Likewise.
20032 * sunrpc/pmap_rmt.c: Likewise.
20033 * sunrpc/publickey.c: Likewise.
20034 * sunrpc/rpc_cmsg.c: Likewise.
20035 * sunrpc/rpc_common.c: Likewise.
20036 * sunrpc/rpc_dtable.c: Likewise.
20037 * sunrpc/rpc_prot.c: Likewise.
20038 * sunrpc/rpc_thread.c: Likewise.
20039 * sunrpc/rtime.c: Likewise.
20040 * sunrpc/svc.c: Likewise.
20041 * sunrpc/svc_auth.c: Likewise.
20042 * sunrpc/svc_authux.c: Likewise.
20043 * sunrpc/svc_raw.c: Likewise.
20044 * sunrpc/svc_run.c: Likewise.
20045 * sunrpc/svc_simple.c: Likewise.
20046 * sunrpc/svc_tcp.c: Likewise.
20047 * sunrpc/svc_udp.c: Likewise.
20048 * sunrpc/svc_unix.c: Likewise.
20049 * sunrpc/svcauth_des.c: Likewise.
20050 * sunrpc/xcrypt.c: Likewise.
20051 * sunrpc/xdr.c: Likewise.
20052 * sunrpc/xdr_array.c: Likewise.
20053 * sunrpc/xdr_float.c: Likewise.
20054 * sunrpc/xdr_intXX_t.c: Likewise.
20055 * sunrpc/xdr_mem.c: Likewise.
20056 * sunrpc/xdr_rec.c: Likewise.
20057 * sunrpc/xdr_ref.c: Likewise.
20058 * sunrpc/xdr_sizeof.c: Likewise.
20059 * sunrpc/xdr_stdio.c: Likewise.
20060
e6c61494
UD
200612011-04-10 Ulrich Drepper <drepper@gmail.com>
20062
20063 [BZ #12650]
20064 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
20065 * sysdeps/ia64/dl-tls.h: Likewise.
20066 * sysdeps/powerpc/dl-tls.h: Likewise.
20067 * sysdeps/s390/dl-tls.h: Likewise.
20068 * sysdeps/sh/dl-tls.h: Likewise.
20069 * sysdeps/sparc/dl-tls.h: Likewise.
20070 * sysdeps/x86_64/dl-tls.h: Likewise.
20071 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
20072
34fe483e
AS
200732011-03-14 Andreas Schwab <schwab@redhat.com>
20074
20075 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
20076 rpath element also skip the following colon.
20077 (expand_dynamic_string_token): Add is_path parameter and pass
20078 down to DL_DST_REQUIRED and _dl_dst_substitute.
20079 (decompose_rpath): Call expand_dynamic_string_token with
20080 non-zero is_path. Ignore empty rpaths.
20081 (_dl_map_object_from_fd): Call expand_dynamic_string_token
20082 with zero is_path.
20083
f12a32e6
AS
200842011-04-08 Andreas Schwab <schwab@linux-m68k.org>
20085
20086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
20087 Make cancelable.
20088
38a7d692
UD
200892011-04-09 Ulrich Drepper <drepper@gmail.com>
20090
20091 [BZ #12655]
20092 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
20093 Patch by Filipe David Manana <fdmanana@apache.org>.
20094
e451d22b
AS
200952011-04-07 Andreas Schwab <schwab@redhat.com>
20096
20097 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
20098 Maintain aligned stack.
20099 (CHECK_RSP): Remove unused macro.
20100
dedc7c7b
UD
201012011-04-03 Ulrich Drepper <drepper@gmail.com>
20102
20103 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
20104 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
20105
94521213
UD
201062011-04-02 Ulrich Drepper <drepper@gmail.com>
20107
20108 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
20109
8cb700c0 20110 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 20111
0354e355
L
201122011-03-26 H.J. Lu <hongjiu.lu@intel.com>
20113
20114 [BZ #12518]
20115 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
20116 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
20117 * sysdeps/x86_64/memmove.c: New file.
20118 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
20119 (memcpy): Renamed to ...
20120 (__new_memcpy): This.
20121 (memcpy): Provide GLIBC_2_14 memcpy.
20122 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
20123 (memcpy): Provide GLIBC_2_2_5 memcpy.
20124
8593482f
UD
201252011-04-01 Ulrich Drepper <drepper@gmail.com>
20126
20127 [BZ #12631]
20128 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
20129
81a5726b
AS
201302011-03-30 Andreas Schwab <schwab@redhat.com>
20131
20132 * misc/syncfs.c: New file.
20133 * misc/Makefile (routines): Add syncfs.
20134 * posix/unistd.h: Declare syncfs.
20135 * sysdeps/unix/syscalls.list: Add syncfs.
20136
00e5419f
AS
201372011-04-01 Andreas Schwab <schwab@redhat.com>
20138
20139 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
20140 open_by_handle_at.
20141 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20142 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20143 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20144 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20145 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20146 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
20147 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20148
748876bf
UD
201492011-04-01 Ulrich Drepper <drepper@gmail.com>
20150
658e451d
UD
20151 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
20152 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20153 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
20154 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20155 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20156 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20157 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20158
748876bf
UD
20159 * io/Makefile: Compile fallocate.c, fallocate64.c, and
20160 sync_file_range.c with -fexceptions.
20161 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
20162 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
20163 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
20164 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
20165 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
20166 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
20167 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
20168 sync_file_range as cancellation point
20169 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
20170 now a wrapper around __call_sync_file_range with cancellation handling.
20171 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
20172 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
20173 function name to __call_sync_file_range.
20174 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
20175 Add call_sync_file_range.
748876bf 20176
6e63d5e1
AS
201772011-04-01 Andreas Schwab <schwab@redhat.com>
20178
20179 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 20180 bits/timex.h.
6e63d5e1 20181
46998f74
UD
201822011-04-01 Ulrich Drepper <drepper@gmail.com>
20183
4c1423ed
UD
20184 * iconv/iconv.h: Fix typo in comment.
20185 * io/fcntl.h: Likewise.
20186 * libio/stdio.h: Likewise.
20187 * posix/spawn.h: Likewise.
20188 * posix/unistd.h: Likewise.
20189 * stdlib/stdlib.h: Likewise.
20190 * time/time.h: Likewise.
20191 * wcsmbs/wchar.h: Likewise.
20192
158648c0
UD
20193 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
20194 open_by_handle): Add.
20195 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
20196 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
20197 Augment a few comments.
20198 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20199 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20200 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20201 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20202 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20203 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
20204 open_by_handle.
20205
46998f74
UD
20206 * io/fcntl.h (AT_EMPTY_PATH): Define.
20207
83fe108b
UD
202082011-03-30 Ulrich Drepper <drepper@gmail.com>
20209
20210 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
20211 * sysdeps/unix/sysv/linux/bits/time.h: New file.
20212 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
20213 to...
20214 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
20215 * Versions.def: Add GLIBC_2.14.
20216 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
20217 Export.
83fe108b 20218
bb242059
UD
202192011-03-22 Ulrich Drepper <drepper@gmail.com>
20220
20221 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
20222 round counter.
20223 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
20224
c97a1282
L
202252011-03-20 H.J. Lu <hongjiu.lu@intel.com>
20226
20227 [BZ #12597]
20228 * string/test-strncmp.c (do_page_test): New function.
20229 (check2): Likewise.
20230 (test_main): Call check2.
20231 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
20232
2a115601
UD
202332011-03-20 Ulrich Drepper <drepper@gmail.com>
20234
20235 [BZ #12587]
20236 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
20237 Handle cache information in CPU leaf 4.
20238 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
20239
8126d904
UD
202402011-03-18 Ulrich Drepper <drepper@gmail.com>
20241
042c49c6 20242 [BZ #12583]
8126d904
UD
20243 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
20244 character representation.
20245 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
20246
ccfe366e
RA
202472011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
20248
20249 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
20250 END(__isnan) to END(__isnanf) to match function entry point/label
20251 EALIGN(__isnanf,...).
20252
c6e13027
JJ
202532011-03-10 Jakub Jelinek <jakub@redhat.com>
20254
20255 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
20256
33f85a3f
UD
202572011-03-10 Ulrich Drepper <drepper@gmail.com>
20258
028478fa
UD
20259 [BZ #12510]
20260 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
20261 copy from the symbol referenced in the relocation to initialize the
20262 used variable.
20263 Patch by Piotr Bury <pbury@goahead.com>.
20264 * elf/Makefile: Add rules to build and tst-unique3.
20265 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
20266 * elf/tst-unique3.cc: New file.
20267 * elf/tst-unique3.h: New file.
20268 * elf/tst-unique3lib.cc: New file.
20269 * elf/tst-unique3lib2.cc: New file.
20270
33f85a3f
UD
20271 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
20272
03592fc7
MF
202732011-03-10 Mike Frysinger <vapier@gentoo.org>
20274
20275 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
20276 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
20277 to _start.
03592fc7 20278
6a5ee102
UD
202792011-03-06 Ulrich Drepper <drepper@gmail.com>
20280
20281 * elf/dl-load.c (_dl_map_object): If we are looking for the first
20282 to-be-loaded object along a path to loader is ld.so.
20283
7e4ba49c
HJ
202842011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
20285 Ulrich Drepper <drepper@gmail.com>
20286
20287 * sysdeps/x86_64/memset.S: After aligning destination, code
20288 branches to different locations depending on the value of
20289 misalignment, when multiarch is enabled. Fix this.
20290
202912011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
20292
20293 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
20294 Set _x86_64_preferred_memory_instruction for AMD processsors.
20295 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20296 Set bit_Prefer_SSE_for_memop for AMD processors.
20297
13a804de
UD
202982011-03-04 Ulrich Drepper <drepper@gmail.com>
20299
20300 * libio/fmemopen.c (fmemopen): Optimize a bit.
20301
9d25c392
AS
203022011-03-03 Andreas Schwab <schwab@redhat.com>
20303
20304 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
20305
a5543c6a
RM
203062011-03-03 Roland McGrath <roland@redhat.com>
20307
20308 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
20309
012d35f7
DM
203102011-02-28 Aurelien Jarno <aurelien@aurel32.net>
20311
7e4ba49c 20312 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
20313 __bzero_ultra1 instead of __memset_ultra1.
20314
4bff6e01
AS
203152011-02-23 Andreas Schwab <schwab@redhat.com>
20316 Ulrich Drepper <drepper@gmail.com>
20317
20318 [BZ #12509]
20319 * include/link.h (struct link_map): Add l_orig_initfini.
20320 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
20321 returning unsuccessfully.
20322 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
20323 close of a file loaded at startup, restore the original l_initfini
20324 list.
20325 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
20326 list, store the pointer.
20327 * elf/Makefile ($(objpfx)noload-mem): New rule.
20328 (noload-ENV): Define.
20329 (tests): Add $(objpfx)noload-mem.
20330 * elf/noload.c: Include <memcheck.h>.
20331 (main): Call mtrace. Close all opened handles.
20332
f2092faf
AS
203332011-02-17 Andreas Schwab <schwab@redhat.com>
20334
20335 [BZ #12454]
20336 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
20337 dependencies are missing.
20338
6c8a2e88
ST
203392011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
20340
f2092faf 20341 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
20342 Hurd needs munmap.
20343 * sysdeps/mach/hurd/ifreq.h: New file.
20344
84a42118
PB
203452011-01-27 Petr Baudis <pasky@suse.cz>
20346 Ulrich Drepper <drepper@gmail.com>
20347
071f805e 20348 [BZ 12445]#
84a42118
PB
20349 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
20350 to extend_alloca().
20351 * stdio-common/bug23.c: New file.
20352 * stdio-common/Makefile (tests): Add bug23.
20353
e23fe25b
AS
203542010-09-28 Andreas Schwab <schwab@redhat.com>
20355 Ulrich Drepper <drepper@gmail.com>
20356
20357 [BZ #12489]
20358 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
20359 before performing relro protection. At old place add assertion
20360 to make sure nothing changed.
20361
d3f02e10
NS
203622011-02-17 Nathan Sidwell <nathan@codesourcery.com>
20363 Glauber de Oliveira Costa <glommer@gmail.com>
20364
20365 * elf/elf.h: Add new ARM TLS relocs.
20366
d55fd7a5
RA
203672011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
20368
20369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20370 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
20371 cast from r3.
20372 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
20373 'tests' variable.
20374 * sysdeps/wordsize-64/tst-writev.c: New file.
20375
2206397e
RA
203762011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
20377
20378 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
20379 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
20380 insns in _dl_start to prevent a TOC reference before relocs are
20381 resolved.
20382
e9433893
UD
203832011-02-15 Ulrich Drepper <drepper@gmail.com>
20384
20385 [BZ #12469]
20386 * Makeconfig: Remove RANLIB definition.
20387 * Makerules: Don't use RANLIB.
20388 * aclocal.m4: Remove ranlib test.
20389 * configure.in: No need to check for ranlib.
20390 * elf/rtld-Rules: Don't use RANLIB.
20391
f75286c6
ST
203922011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
20393
8e31c82d
ST
20394 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
20395 protection macro.
20396 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
20397 inclusion protection macro.
20398
f75286c6
ST
20399 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
20400 SIGRTMIN and SIGRTMAX and print information in that case only when
20401 SIGRTMIN is defined.
20402
c1d0e639
JJ
204032011-02-11 Jakub Jelinek <jakub@redhat.com>
20404
20405 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
20406 arginfo fn returning -1.
20407
20408 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
20409 and thousands string is zero terminated.
20410
edf9294e
AS
204112011-02-03 Andreas Schwab <schwab@redhat.com>
20412
20413 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
20414 sysdeps/unix/sysv/linux/bits/socket.h.
20415
2b7e92df
ST
204162011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
20417
edf9294e
AS
20418 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
20419 (__CPU_COUNT): Remove old macros.
20420 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
20421 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
20422 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
20423 (__sched_cpualloc, __sched_cpufree): Add declarations.
20424
a4c7ea7b
UD
204252011-02-05 Ulrich Drepper <drepper@gmail.com>
20426
20427 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
20428 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
20429 * nscd/aicache.c (addhstaiX): Return timeout of added value.
20430 (readdhstai): Return value of addhstaiX call.
20431 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
20432 (addgrbyX): Return value returned by cache_addgr.
20433 (readdgrbyname): Return value returned by addgrbyX.
20434 (readdgrbygid): Likewise.
20435 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
20436 (addpwbyX): Return value returned by cache_addpw.
20437 (readdpwbyname): Return value returned by addhstbyX.
20438 (readdpwbyuid): Likewise.
20439 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
20440 (addservbyX): Return value returned by cache_addserv.
20441 (readdservbyname): Return value returned by addservbyX:
20442 (readdservbyport): Likewise.
20443 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
20444 (addhstbyX): Return value returned by cache_addhst.
20445 (readdhstbyname): Return value returned by addhstbyX.
20446 (readdhstbyaddr): Likewise.
20447 (readdhstbynamev6): Likewise.
20448 (readdhstbyaddrv6): Likewise.
20449 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
20450 (readdinitgroups): Return value returned by addinitgroupsX.
20451 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
20452 (prune_cache): Keep track of timeout value of re-added entries.
20453 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
20454 * nscd/nscd.h: Adjust prototypes of readd* functions.
20455
a0bf67cc
RM
204562011-02-04 Roland McGrath <roland@redhat.com>
20457
20458 * nis/nis_server.c (nis_servstate): Use the right name for 0.
20459 (nis_stats): Likewise.
20460 * nis/nis_modify.c (nis_modify): Likewise.
20461 * nis/nis_remove.c (nis_remove): Likewise.
20462 * nis/nis_add.c (nis_add): Likewise.
20463
20464 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
20465
20466 * posix/fnmatch_loop.c: Add some consts.
20467
20468 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
20469
435b95eb
L
204702011-02-02 H.J. Lu <hongjiu.lu@intel.com>
20471
20472 [BZ #12460]
20473 * config.make.in (config-cflags-novzeroupper): Define.
20474 * configure.in: Substitute libc_cv_cc_novzeroupper.
20475 * elf/Makefile (AVX-CFLAGS): Define.
20476 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
20477 (CFLAGS-tst-auditmod4a.c): Likewise.
20478 (CFLAGS-tst-auditmod4b.c): Likewise.
20479 (CFLAGS-tst-auditmod6b.c): Likewise.
20480 (CFLAGS-tst-auditmod6c.c): Likewise.
20481 (CFLAGS-tst-auditmod7b.c): Likewise.
20482 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
20483
8517b15e
UD
204842011-02-02 Ulrich Drepper <drepper@gmail.com>
20485
20486 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
20487 function to the callback.
20488 Patch partly by Jiri Olsa <jolsa@redhat.com>.
20489
10a656fe
AS
204902011-02-02 Andreas Schwab <schwab@redhat.com>
20491
20492 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
20493 of errno.
20494
968dad0a
UD
204952011-01-19 Ulrich Drepper <drepper@gmail.com>
20496
9f94d2ea 20497 [BZ #11724]
968dad0a
UD
20498 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
20499 of constructors.
20500 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
20501 of destructors.
20502 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
20503
20504 [BZ #11724]
20505 * elf/Makefile: Add rules to build and run new test.
20506 * elf/tst-initorder.c: New file.
20507 * elf/tst-initorder.exp: New file.
20508 * elf/tst-initordera1.c: New file.
20509 * elf/tst-initordera2.c: New file.
20510 * elf/tst-initordera3.c: New file.
20511 * elf/tst-initordera4.c: New file.
20512 * elf/tst-initorderb1.c: New file.
20513 * elf/tst-initorderb2.c: New file.
20514 * elf/tst-order-a1.c: New file.
20515 * elf/tst-order-a2.c: New file.
20516 * elf/tst-order-a3.c: New file.
20517 * elf/tst-order-a4.c: New file.
20518 * elf/tst-order-b1.c: New file.
20519 * elf/tst-order-b2.c: New file.
20520 * elf/tst-order-main.c: New file.
20521 New test case by George Gensure <werkt0@gmail.com>.
20522
86e92359
UD
205232010-10-01 Andreas Schwab <schwab@redhat.com>
20524
20525 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
20526 decoding ACE if AI_CANONIDN.
20527
5d5732b0
UD
205282011-01-18 Ulrich Drepper <drepper@gmail.com>
20529
20530 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
20531
a77e8cbc
UD
205322011-01-17 Ulrich Drepper <drepper@gmail.com>
20533
6392473f
UD
20534 * version.h (RELEASE): Bump for 2.13 release.
20535 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
20536
620a0529
UD
20537 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
20538
18ba70a5
UD
20539 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
20540 MADV_NOHUGEPAGE.
32465c3e
UD
20541 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
20542 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
20543 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20544 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
20545 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20546 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
20547
c0dafcf1
UD
20548 * posix/getconf.c: Update copyright year.
20549 * catgets/gencat.c: Likewise.
20550 * csu/version.c: Likewise.
20551 * debug/catchsegv.sh: Likewise.
20552 * debug/xtrace.sh: Likewise.
20553 * elf/ldconfig.c: Likewise.
20554 * elf/ldd.bash.in: Likewise.
20555 * elf/sprof.c (print_version): Likewise.
20556 * iconv/iconv_prog.c: Likewise.
20557 * iconv/iconvconfig.c: Likewise.
20558 * locale/programs/locale.c: Likewise.
20559 * locale/programs/localedef.c: Likewise.
20560 * malloc/memusage.sh: Likewise.
20561 * malloc/mtrace.pl: Likewise.
20562 * nscd/nscd.c (print_version): Likewise.
20563 * nss/getent.c: Likewise.
20564
a77e8cbc
UD
20565 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
20566 PF_CAIF, and PF_ALG.
20567 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20568
77e8bddf
AS
205692011-01-16 Andreas Schwab <schwab@linux-m68k.org>
20570
1f20b93a
AS
20571 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
20572 (modules-names): Use them.
20573 (ifunc-test-modules, ifunc-pie-tests): Define.
20574 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
20575 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
20576 (test-extras): Likewise.
20577 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
20578 $(compile-command.c).
20579 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
20580 (all-built-dso): Define.
20581 (check-textrel.out, check-execstack.out): Depend on it.
20582
77e8bddf
AS
20583 * configure.in: Don't override --enable-multi-arch.
20584
bc425b33
UD
205852011-01-15 Ulrich Drepper <drepper@gmail.com>
20586
20587 [BZ #6812]
20588 * nscd/hstcache.c (tryagain): Define.
20589 (cache_addhst): Return tryagain not notfound for temporary errors.
20590 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
20591 failed.
20592
794c3ad3
UD
205932011-01-14 Ulrich Drepper <drepper@gmail.com>
20594
70181fdd
UD
20595 [BZ #10563]
20596 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
20597 to make the syscall.
20598 * sysdeps/unix/sysv/linux/setgroups.c: New file.
20599
794c3ad3
UD
20600 [BZ #12378]
20601 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
20602 and fall back to matching as normal character if the string ends before
20603 the matching ']' is found. This is what POSIX requires.
20604 * posix/testfnm.c: Adjust test result.
20605 * posix/globtest.sh: Adjust test result. Add new test.
20606 * posix/tst-fnmatch.input: Likewise.
20607 * posix/tst-fnmatch2.c: Add new test.
20608
68dc9497
AS
206092010-12-28 Andreas Schwab <schwab@linux-m68k.org>
20610
20611 * elf/Makefile (check-execstack): Revert last change. Depend on
20612 check-execstack.h.
20613 (check-execstack.h): New target.
20614 (generated): Add check-execstack.h.
20615 * elf/check-execstack.c: Include "check-execstack.h".
20616 (main): Revert last change.
20617 (handle_file): Return zero if GNU_STACK is absent and
20618 DEFAULT_STACK_PERMS doesn't include PF_X.
20619
451f001b
UD
206202011-01-13 Ulrich Drepper <drepper@gmail.com>
20621
cfa28e56
UD
20622 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
20623 in child fails because the descriptor is already closed.
8cf8ce17
UD
20624 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
20625 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
20626 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 20627
1086d70d
UD
20628 [BZ #12397]
20629 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
20630 syscall.
20631
451f001b
UD
20632 [BZ #10484]
20633 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
20634 temporary buffer used to handle multi lookups locally.
a85b5cb4 20635 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 20636
08769175
UD
206372011-01-12 Ulrich Drepper <drepper@gmail.com>
20638
20639 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
20640 loader is ld.so.
20641
5e49c52e
UD
206422011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
20643
20644 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
20645 alignment for SSE2.
20646
60522a5f
UD
206472011-01-12 Ulrich Drepper <drepper@gmail.com>
20648
20649 [BZ #12394]
20650 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
20651 characters. When rounding increased number of integer digits recompute
20652 number of groups.
20653 * stdio-common/tst-grouping.c: New file.
20654 * stdio-common/Makefile: Add rules to build and run tst-grouping.
20655
f257bbd7
UD
206562011-01-09 Ulrich Drepper <drepper@gmail.com>
20657
20658 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
20659 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
20660
20661 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
20662 void.
20663 * bits/select.h: Likewise.
20664
fa9c15cb
UD
206652011-01-08 Ulrich Drepper <drepper@gmail.com>
20666
20667 * po/ja.po: Update from translation team.
20668
16c2895f
DM
206692011-01-04 David S. Miller <davem@sunset.davemloft.net>
20670
20671 [BZ #11155]
20672 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
20673 implementation just like for lxstat, fxstatat, et al.
20674
2543fef2
JM
206752010-12-27 Jim Meyering <meyering@redhat.com>
20676
20677 [BZ #12348]
20678 * posix/regexec.c (build_trtable): Return failure indication upon
20679 calloc failure. Otherwise, re_search_internal could infloop on OOM.
20680
98727dbe
UD
206812010-12-25 Ulrich Drepper <drepper@gmail.com>
20682
5bd6dc5c
UD
20683 [BZ #12201]
20684 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
20685 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
20686 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
20687 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
20688
97983464
UD
20689 [BZ #12207]
20690 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
20691
98727dbe
UD
20692 [BZ #12204]
20693 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
20694 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
20695
4a531bb0
L
206962010-12-15 H.J. Lu <hongjiu.lu@intel.com>
20697
20698 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
20699 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
20700 script has SORT_BY_INIT_PRIORITY.
20701 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
20702 NO_CTORS_DTORS_SECTIONS is defined.
20703 * elf/soinit.c: Likewise.
20704 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
20705 NO_CTORS_DTORS_SECTIONS is defined.
20706 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
20707 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
20708 * sysdeps/sh/init-first.c: Likewise.
20709 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
20710
07eb4b71
UD
207112010-12-24 Ulrich Drepper <drepper@gmail.com>
20712
20713 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
20714 always use the slow path.
20715
30950a5f
RA
207162010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
20717
20718 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
20719 similar rule which adds the sysdep directories to the header search in
20720 order to pick up the correct platform stackinfo.h.
20721 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
20722 perform test if it is, otherwise return successfully without testing.
20723 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
20724 DEFAULT_STACK_PERMS define in stackinfo.h.
20725 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
20726 defined in stackinfo.h.
20727 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
20728 DEFAULT_STACK_PERMS defined in stackinfo.h.
20729 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
20730 * sysdeps/ia64/stackinfo.h: Likewise.
20731 * sysdeps/s390/stackinfo.h: Likewise.
20732 * sysdeps/sh/stackinfo.h: Likewise.
20733 * sysdeps/sparc/stackinfo.h: Likewise.
20734 * sysdeps/x86_64/stackinfo.h: Likewise.
20735 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
20736 PF_X for powerpc64. Retain PF_X for powerpc32.
20737
db753e2c
UD
207382010-12-19 Ulrich Drepper <drepper@gmail.com>
20739
14b697f7
UD
20740 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
20741 accurately.
db753e2c
UD
20742 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
20743 GETDENTS_64BIT_ALIGNED.
20744
28300719
UD
207452010-12-14 Ulrich Drepper <dreper@gmail.com>
20746
14b697f7 20747 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 20748
4f197237
AS
207492010-12-10 Andreas Schwab <schwab@redhat.com>
20750
dbb0472f
AS
20751 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
20752 _GNU_SOURCE.
20753
4f197237
AS
20754 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
20755 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
20756 Remove __restrict.
20757 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
20758 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
20759
fb88ac72
UD
207602010-12-09 Ulrich Drepper <drepper@gmail.com>
20761
20762 [BZ #11655]
20763 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
20764 are initialized.
20765
42acbb92
JJ
207662010-12-09 Jakub Jelinek <jakub@redhat.com>
20767
20768 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
20769
c038d98d
UD
207702010-12-03 Ulrich Drepper <drepper@gmail.com>
20771
20772 * po/it.po: Update from translation team.
20773
3a4a2499
L
207742010-12-01 H.J. Lu <hongjiu.lu@intel.com>
20775
20776 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
20777 unused codes.
20778
1e24cf6e
UD
207792010-11-30 Ulrich Drepper <drepper@gmail.com>
20780
20781 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
20782
a7690819
AS
207832010-11-24 Andreas Schwab <schwab@redhat.com>
20784
20785 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
20786 specially.
20787 (gaih_getanswer_slice): Likewise.
20788
3bf8d1b1
JJ
207892010-10-20 Jakub Jelinek <jakub@redhat.com>
20790
20791 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
20792
6db52fbb
PB
207932010-05-31 Petr Baudis <pasky@suse.cz>
20794
20795 [BZ #11149]
20796 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
20797 silently even in the chroot mode.
20798
eaca7569
UD
207992010-11-22 Ulrich Drepper <drepper@gmail.com>
20800
20801 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
20802 last patch a bit. Pretty printing
20803
3056dcdb
UD
208042010-05-31 Petr Baudis <pasky@suse.cz>
20805
20806 [BZ #10085]
20807 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
20808 initialization of skip_initgroups_dyn.
20809
cf7c9078
UD
208102010-11-19 Ulrich Drepper <drepper@gmail.com>
20811
20812 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
20813 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
20814
a1fb5e3e
UD
208152010-11-16 Ulrich Drepper <drepper@gmail.com>
20816
20817 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
20818
3540d66b
AS
208192010-11-11 Andreas Schwab <schwab@redhat.com>
20820
20821 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
20822 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
20823 (tst-fnmatch-ENV): Set MALLOC_TRACE.
20824 ($(objpfx)tst-fnmatch-mem): New rule.
20825 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
20826 * posix/tst-fnmatch.c (main): Call mtrace.
20827
13b69574
L
208282010-11-11 H.J. Lu <hongjiu.lu@intel.com>
20829
20830 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20831 Support Intel processor model 6 and model 0x2c.
20832
da93d214
LM
208332010-11-10 Luis Machado <luisgpm@br.ibm.com>
20834
20835 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
20836 signed comparison.
20837
8ca52c6e
L
208382010-11-09 H.J. Lu <hongjiu.lu@intel.com>
20839
20840 [BZ #12205]
20841 * string/test-strncasecmp.c (check_result): New function.
20842 (do_one_test): Use it.
20843 (check1): New function.
20844 (test_main): Use it.
20845 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
20846 Support strcasecmp and strncasecmp.
20847
69da074d
UD
208482010-11-08 Ulrich Drepper <drepper@gmail.com>
20849
20850 [BZ #12194]
20851 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
20852 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20853
ff02d528
L
208542010-11-07 H.J. Lu <hongjiu.lu@intel.com>
20855
20856 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
20857 IFUNC support.
20858 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20859 memset-x86-64.
20860 * sysdeps/x86_64/multiarch/bzero.S: New file.
20861 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
20862 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
20863 * sysdeps/x86_64/multiarch/memset.S: New file.
20864 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
20865 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20866 Set bit_Prefer_SSE_for_memop for Intel processors.
20867 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
20868 Define.
20869 (index_Prefer_SSE_for_memop): Define.
20870 (HAS_PREFER_SSE_FOR_MEMOP): Define.
20871
344d0b54
LM
208722010-11-04 Luis Machado <luisgpm@br.ibm.com>
20873
20874 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
20875 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
20876
c0dde15b
UD
208772010-11-03 H.J. Lu <hongjiu.lu@intel.com>
20878
20879 [BZ #12191]
20880 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
20881 (__x86_64_raw_data_cache_size_half): Likewise.
20882 (__x86_64_raw_shared_cache_size): Likewise.
20883 (__x86_64_raw_shared_cache_size_half): Likewise.
20884
20885 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
20886 (__x86_64_raw_data_cache_size_half): Likewise.
20887 (__x86_64_raw_shared_cache_size): Likewise.
20888 (__x86_64_raw_shared_cache_size_half): Likewise.
20889 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
20890 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
20891 and __x86_64_raw_shared_cache_size_half. Round
20892 __x86_64_data_cache_size_half, __x86_64_data_cache_size
20893 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
20894 to multiple of 256 bytes.
20895
0e516e0e
MS
208962010-11-03 Ulrich Drepper <drepper@gmail.com>
20897
20898 [BZ #12167]
20899 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
20900 of inacessible symlinks. Verify result of symlink before returning it.
20901 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
20902 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
20903
0e012e87
ER
209042010-10-28 Erich Ritz <erichritz@gmail.com>
20905
20906 * math/math.h (isinf): Fix typo in comment.
20907
de0ff7bc
UD
209082010-11-01 Ulrich Drepper <drepper@gmail.com>
20909
20910 * po/da.po: Update from translation team.
20911
fa41c84d
UD
209122010-10-26 Ulrich Drepper <drepper@gmail.com>
20913
20914 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
20915 is added to the list.
20916
f0967738
AK
209172010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20918 Ulrich Drepper <drepper@gmail.com>
20919
20920 * elf/dl-object.c (_dl_new_object): Don't append the new object to
20921 the global list here. Move code to...
20922 (_dl_add_to_namespace_list): ...here. New function.
20923 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
20924 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
20925 * elf/dl-load.c (lose): Don't remove the element from the list.
20926 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
20927 (_dl_map_object): Likewise.
20928
209292010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
20930
20931 [BZ #12159]
20932 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
20933 into all bytes of SSE register.
20934 Patch by Richard Li <richardpku@gmail.com>.
20935
f0967738 209362010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
20937
20938 [BZ #12140]
20939 * malloc/malloc.c (_int_free): Fill correct number of bytes when
20940 perturbing.
20941
d0b9e94f
MB
209422010-10-20 Michael B. Brutman <brutman@us.ibm.com>
20943
20944 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
20945 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
20946 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
20947 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
20949 submachine.
20950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
20951
8e9f92e9
AS
209522010-10-22 Andreas Schwab <schwab@redhat.com>
20953
20954 * include/dlfcn.h (__RTLD_SECURE): Define.
20955 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
20956 mode & __RTLD_SECURE instead.
20957 (open_path): Rename preloaded parameter to secure.
20958 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
20959 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
20960 * elf/dl-deps.c (openaux): Likewise.
20961 * elf/rtld.c (struct map_args): Remove is_preloaded.
20962 (map_doit): Don't use it.
20963 (dl_main): Likewise.
20964 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
20965 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
20966
bc96fbda
AS
209672010-09-09 Andreas Schwab <schwab@redhat.com>
20968
20969 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
20970 (sysd-rules-targets): Remove duplicates.
20971 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
20972 rtld-%.$o dependency.
20973
22cd1c9b
AS
209742010-10-18 Andreas Schwab <schwab@redhat.com>
20975
20976 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
20977 _dl_map_object do it.
20978
18edac48
UD
209792010-10-19 Ulrich Drepper <drepper@gmail.com>
20980
20981 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
20982 fast fma builtins, define the macros in the C99 standard.
20983 (FP_FAST_FMAF): Likewise.
20984 (FP_FAST_FMAL): Likewise.
20985 * sysdeps/x86_64/bits/mathdef.h: Likewise.
20986
20987 * bits/mathdef.h: Update copyright year.
20988 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20989
d2050124
MM
209902010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
20991
20992 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
20993 builtins, define the macros in the C99 standard.
20994 (FP_FAST_FMAF): Likewise.
20995 (FP_FAST_FMAL): Likewise.
20996 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
20997 multiply/add.
20998 (FP_FAST_FMAF): Likewise.
20999
475facd1
JJ
210002010-10-15 Jakub Jelinek <jakub@redhat.com>
21001
21002 [BZ #3268]
21003 * math/libm-test.inc (fma_test): Some new testcases.
21004 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
21005 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
21006 y and infinite z. Do multiplication by C already in long double.
21007 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
21008 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
21009 y and infinite z. Do bitwise or of inexact bit into u.d.
21010 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
21011 * sysdeps/i386/fpu/s_fmaf.S: Removed.
21012 * sysdeps/i386/fpu/s_fma.S: Removed.
21013 * sysdeps/i386/fpu/s_fmal.S: Removed.
21014
7c08a05c
JJ
210152010-10-16 Jakub Jelinek <jakub@redhat.com>
21016
21017 [BZ #3268]
21018 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
21019 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
21020 computation is not scheduled after fetestexcept. Fix value
21021 of minimum denormal long double.
21022
f3f7372d
JJ
210232010-10-14 Jakub Jelinek <jakub@redhat.com>
21024
21025 [BZ #3268]
21026 * math/libm-test.inc (fma_test): Add some more tests.
21027 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
21028 correctly.
21029
14d43591
AS
210302010-10-15 Andreas Schwab <schwab@redhat.com>
21031
21032 * scripts/data/localplt-s390-linux-gnu.data: New file.
21033 * scripts/data/localplt-s390x-linux-gnu.data: New file.
21034
5e908464
JJ
210352010-10-13 Jakub Jelinek <jakub@redhat.com>
21036
21037 [BZ #3268]
21038 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
21039 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
21040 instead of dbl-64.
21041 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
21042 inlines.
21043 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
21044 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
21045 if one of x and y is very large and the other is subnormal.
21046 * sysdeps/s390/fpu/s_fmaf.c: New file.
21047 * sysdeps/s390/fpu/s_fma.c: New file.
21048 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
21049 * sysdeps/powerpc/fpu/s_fma.S: New file.
21050 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
21051 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
21052 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
21053
210542010-10-12 Jakub Jelinek <jakub@redhat.com>
21055
21056 [BZ #3268]
21057 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
21058 fma tests.
21059 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
21060 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
21061 * sysdeps/i386/i686/multiarch/s_fma.c: Include
21062 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
21063 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
21064 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
21065 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
21066
b833d51f
UD
210672010-10-12 Ulrich Drepper <drepper@redhat.com>
21068
21069 [BZ #12078]
21070 * posix/regcomp.c (parse_branch): One more memory leak plugged.
21071 * posix/bug-regex31.input: Add test case.
21072
1751705d
UD
210732010-10-11 Ulrich Drepper <drepper@gmail.com>
21074
e9b9cbf5
UD
21075 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
21076 * posix/bug-regex31.input: New file.
21077
21078 [BZ #12078]
21079 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
21080 (parse_sub_exp): Fix last change, use postorder.
21081
ef06edbe
UD
21082 * posix/bug-regex31.c: New file.
21083 * posix/Makefile: Add rules to build and run bug-regex31.
21084
a129c80d
UD
21085 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
21086
21087 [BZ #12078]
21088 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
21089
b76b818e
UD
21090 [BZ #12108]
21091 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
21092 to have entries in sys_siglist.
21093
1751705d
UD
21094 [BZ #12093]
21095 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
21096 be NULL.
21097
9ff8d36f
JJ
210982010-10-07 Jakub Jelinek <jakub@redhat.com>
21099
21100 [BZ #3268]
21101 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
21102 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
21103 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
21104 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
21105 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21106 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
21107 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
21108 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
21109 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
21110 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
21111 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
21112 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
21113 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
21114 * math/ftestexcept.c (fetestexcept): Likewise.
21115 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
21116 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
21117 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
21118 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
21119 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
21120 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
21121 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21122
af325969
UD
211232010-10-11 Ulrich Drepper <drepper@gmail.com>
21124
c579b202 21125 [BZ #12107]
af325969
UD
21126 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
21127 newline.
21128
67a67b95
UD
211292010-10-06 Ulrich Drepper <drepper@gmail.com>
21130
21131 * string/bug-strstr1.c: New file.
21132 * string/Makefile: Add rules to build and run bug-strstr1.
21133
5fb308bc
EB
211342010-10-05 Eric Blake <eblake@redhat.com>
21135
21136 [BZ #12092]
21137 * string/str-two-way.h (two_way_long_needle): Always clear memory
21138 when skipping input due to the shift table.
21139
45db99c7
UD
211402010-10-03 Ulrich Drepper <drepper@gmail.com>
21141
3b111893
UD
21142 [BZ #12005]
21143 * malloc/mcheck.c: Handle large requests.
21144
45db99c7
UD
21145 [BZ #12077]
21146 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
21147 for strncmp and strncasecmp.
21148 * string/stratcliff.c: Add tests for strcmp and strncmp.
21149 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
21150
cf7a1eb8
NI
211512010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21152
21153 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
21154 __set_fpscr.
21155
6484ba5e
AJ
211562010-09-30 Andreas Jaeger <aj@suse.de>
21157
21158 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
21159 (CGROUP_SUPER_MAGIC): Define.
21160 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21161 Handle btrfs and cgroup file systems.
21162 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21163 Likewise.
21164
91c42559
LM
211652010-09-27 Luis Machado <luisgpm@br.ibm.com>
21166
21167 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
21168 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
21169
87a97932
AK
211702010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21171
21172 [BZ #12067]
21173 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
21174 trying to locate the ELF header.
21175
c21cc9bc
AS
211762010-09-27 Andreas Schwab <schwab@redhat.com>
21177
21178 [BZ #11611]
21179 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
21180 Mask out sign-bit copies when constructing f_fsid.
21181
315970f6
PB
211822010-09-24 Petr Baudis <pasky@suse.cz>
21183
21184 * debug/stack_chk_fail_local.c: Add missing licence exception.
21185 * debug/warning-nop.c: Likewise.
21186
1ac7a2c7
JM
211872010-09-15 Joseph Myers <joseph@codesourcery.com>
21188
21189 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
21190 implementing getdents64 using getdents syscall, set d_type if
21191 __ASSUME_GETDENTS32_D_TYPE.
21192
56801c50
AS
211932010-09-16 Andreas Schwab <schwab@redhat.com>
21194
21195 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
21196 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
21197
dda51327
UD
211982010-09-21 Ulrich Drepper <drepper@redhat.com>
21199
21200 [BZ #12037]
21201 * posix/unistd.h: Undo change of feature selection for ftruncate from
21202 2010-01-11.
21203
8ffcee4a
UD
212042010-09-20 Ulrich Drepper <drepper@redhat.com>
21205
a545ecd9 21206 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
21207 detection.
21208
e24f0a8b
AS
212092010-09-20 Andreas Schwab <schwab@redhat.com>
21210
21211 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
21212 fanotify_mark.
21213 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
21214
7291c56f
AS
212152010-09-14 Andreas Schwab <schwab@redhat.com>
21216
21217 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
21218 variables after CHECK_SP call.
21219 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
21220
bc5fb037
AS
212212010-09-13 Andreas Schwab <schwab@redhat.com>
21222 Ulrich Drepper <drepper@redhat.com>
21223
21224 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
21225 re-relocationg ld.so.
21226 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
21227 _dl_init_paths call.
21228 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
21229 here anymore.
21230
e66e7419
UD
212312010-09-14 Ulrich Drepper <drepper@redhat.com>
21232
21233 * resolv/res_init.c (__res_vinit): Count the default server we added.
21234
c044aa75
CLT
212352010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
21236 Ulrich Drepper <drepper@redhat.com>
21237
21238 [BZ #11968]
21239 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
21240 (____longjmp_chk): Use %ebx for saving value across system call.
21241 Add unwind info.
21242
32cf4069
AS
212432010-09-06 Andreas Schwab <schwab@redhat.com>
21244
21245 * manual/Makefile: Don't mix pattern rules with normal rules.
21246
817328ee
AS
212472010-09-05 Andreas Schwab <schwab@linux-m68k.org>
21248
21249 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
21250 operation.
21251 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
21252 * libio/iofopncook.c (_IO_cookie_init): Likewise.
21253 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
21254 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
21255 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21256 Likewise.
21257
29fddf61
UD
212582010-09-04 Ulrich Drepper <drepper@redhat.com>
21259
21260 [BZ #11979]
21261 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
21262 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
21263
0959ffc9
UD
212642010-09-02 Ulrich Drepper <drepper@redhat.com>
21265
21266 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
21267 * sysdeps/x86_64/addmul_1.S: Likewise.
21268 * sysdeps/x86_64/lshift.S: Likewise.
21269 * sysdeps/x86_64/mul_1.S: Likewise.
21270 * sysdeps/x86_64/rshift.S: Likewise.
21271 * sysdeps/x86_64/sub_n.S: Likewise.
21272 * sysdeps/x86_64/submul_1.S: Likewise.
21273
ece29840
ST
212742010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
21275
0959ffc9
UD
21276 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
21277 Define __sched_param instead of SCHED_* and sched_param when
ece29840 21278 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 21279 * bits/sched.h [__need_schedparam]
ece29840 21280 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
21281 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
21282 (__defined_schedparam): Define to 1.
ece29840
ST
21283 (__sched_param): New structure, identical to sched_param.
21284 (__need_schedparam): Undefine.
21285
e53a31fe
MF
212862010-08-31 Mike Frysinger <vapier@gentoo.org>
21287
fdc0c10d
MF
21288 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
21289 (epoll_create1): Declare.
21290
e53a31fe
MF
21291 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
21292
a726d796
AS
212932010-08-31 Andreas Schwab <schwab@redhat.com>
21294
21295 [BZ #7066]
21296 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
21297 shifting retval into place.
21298
2f3e3dc7
UD
212992010-09-01 Ulrich Drepper <drepper@redhat.com>
21300
f2933da9
UD
21301 * nis/rpcsvc/nis.h: Update copyright notice.
21302 * nis/rpcsvc/nis.x: Likewise.
21303 * nis/rpcsvc/nis_callback.h: Likewise.
21304 * nis/rpcsvc/nis_callback.x: Likewise.
21305 * nis/rpcsvc/nis_object.x: Likewise.
21306 * nis/rpcsvc/nis_tags.h: Likewise.
21307 * nis/rpcsvc/yp.h: Likewise.
21308 * nis/rpcsvc/yp.x: Likewise.
21309 * nis/rpcsvc/ypupd.h: Likewise.
21310 * nis/yp_xdr.c: Likewise.
21311 * nis/ypupdate_xdr.c: Likewise.
21312
2f3e3dc7
UD
21313 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
21314 mainly the body of pmap_getport. Add parameters to specify timeouts.
21315 (pmap_getport): Use __libc_rpc_getport.
21316 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
21317 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
21318 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
21319
f3dcc2f9
AS
213202010-08-31 Andreas Schwab <schwab@linux-m68k.org>
21321
21322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
21323 fanotify_mark.
21324
6d34eb5b
RM
213252010-08-27 Roland McGrath <roland@redhat.com>
21326
21327 * sysdeps/i386/i686/multiarch/Makefile
21328 (CFLAGS-varshift.c): New variable.
21329
9ea3de11
UD
213302010-08-27 Ulrich Drepper <drepper@redhat.com>
21331
c96d23fc
UD
21332 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
21333 * sysdeps/i386/i686/multiarch/varshift.c: New file.
21334
9ea3de11
UD
21335 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
21336
21337 * sysdeps/x86_64/strlen.S: Minimal code improvement.
21338
623aac7f
L
213392010-08-26 H.J. Lu <hongjiu.lu@intel.com>
21340
21341 * sysdeps/x86_64/strlen.S: Unroll the loop.
21342 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21343 strlen-sse2 strlen-sse2-bsf.
21344 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
21345 __strlen_no_bsf if bit_Slow_BSF is set.
21346 (__strlen_sse42): Removed.
21347 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
21348 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
21349
8b2b7715
RM
213502010-08-25 Roland McGrath <roland@redhat.com>
21351
21352 * sysdeps/x86_64/multiarch/varshift.S: File removed.
21353 * sysdeps/x86_64/multiarch/varshift.c: New file.
21354 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
21355 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
21356 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
21357 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21358
e73015f2
L
213592010-08-25 H.J. Lu <hongjiu.lu@intel.com>
21360
21361 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21362 strlen-sse2 strlen-sse2-bsf.
21363 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
21364 __strlen_sse2_bsf if bit_Slow_BSF is unset.
21365 (__strlen_sse2): Removed.
21366 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
21367 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
21368 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
21369 bit_Slow_BSF for Atom.
21370 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
21371 (index_Slow_BSF): Define.
21372 (HAS_SLOW_BSF): Define.
21373
df24a73e
UD
213742010-08-25 Ulrich Drepper <drepper@redhat.com>
21375
21376 [BZ #10851]
21377 * resolv/res_init.c (__res_vinit): When no server address at all
21378 is given default to loopback.
21379
f2ac4868
RM
213802010-08-24 Roland McGrath <roland@redhat.com>
21381
09055553
RM
21382 * configure.in: Remove config-name.h generation.
21383 * configure: Regenerated.
21384 * config-name.in: File removed.
21385 * scripts/config-uname.sh: New file.
21386 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
21387 ($(objdir)config-name.h): New target.
21388
f2ac4868
RM
21389 * sunrpc/rpc_parse.h: Avoid nested comment.
21390
73f27d5e
RH
213912010-08-24 Richard Henderson <rth@redhat.com>
21392 Ulrich Drepper <drepper@redhat.com>
21393 H.J. Lu <hongjiu.lu@intel.com>
21394
21395 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
21396 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
21397 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
21398 Replace _mm_srli_si128 with __m128i_shift_right. Replace
21399 _mm_alignr_epi8 with _mm_loadu_si128.
21400 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
21401 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
21402 (__m128i_shift_right): Removed.
21403 * sysdeps/i386/i686/multiarch/varshift.h: New file.
21404 * sysdeps/i386/i686/multiarch/varshift.S: New file.
21405 * sysdeps/x86_64/multiarch/varshift.h: New file.
21406 * sysdeps/x86_64/multiarch/varshift.S: New file.
21407
84b9230c
MF
214082010-08-21 Mike Frysinger <vapier@gentoo.org>
21409
21410 * configure.in: Move assembler checks to before sysdep dir checking.
21411
9bbd0ddc
PB
214122010-08-20 Petr Baudis <pasky@suse.cz>
21413
21414 * LICENSES: Sync the sunrpc license.
21415
9da4bb31
UD
214162010-08-19 Ulrich Drepper <drepper@redhat.com>
21417
a7ab6ec8
UD
21418 * sunrpc/auth_des.c: Update copyright notice once again.
21419 * sunrpc/auth_none.c: Likewise.
21420 * sunrpc/auth_unix.c: Likewise.
21421 * sunrpc/authdes_prot.c: Likewise.
21422 * sunrpc/authuxprot.c: Likewise.
21423 * sunrpc/bindrsvprt.c: Likewise.
21424 * sunrpc/clnt_gen.c: Likewise.
21425 * sunrpc/clnt_perr.c: Likewise.
21426 * sunrpc/clnt_raw.c: Likewise.
21427 * sunrpc/clnt_simp.c: Likewise.
21428 * sunrpc/clnt_tcp.c: Likewise.
21429 * sunrpc/clnt_udp.c: Likewise.
21430 * sunrpc/clnt_unix.c: Likewise.
21431 * sunrpc/des_crypt.c: Likewise.
21432 * sunrpc/des_soft.c: Likewise.
21433 * sunrpc/get_myaddr.c: Likewise.
21434 * sunrpc/getrpcport.c: Likewise.
21435 * sunrpc/key_call.c: Likewise.
21436 * sunrpc/key_prot.c: Likewise.
21437 * sunrpc/openchild.c: Likewise.
21438 * sunrpc/pm_getmaps.c: Likewise.
21439 * sunrpc/pm_getport.c: Likewise.
21440 * sunrpc/pmap_clnt.c: Likewise.
21441 * sunrpc/pmap_prot.c: Likewise.
21442 * sunrpc/pmap_prot2.c: Likewise.
21443 * sunrpc/pmap_rmt.c: Likewise.
21444 * sunrpc/rpc/auth.h: Likewise.
21445 * sunrpc/rpc/auth_unix.h: Likewise.
21446 * sunrpc/rpc/clnt.h: Likewise.
21447 * sunrpc/rpc/des_crypt.h: Likewise.
21448 * sunrpc/rpc/key_prot.h: Likewise.
21449 * sunrpc/rpc/netdb.h: Likewise.
21450 * sunrpc/rpc/pmap_clnt.h: Likewise.
21451 * sunrpc/rpc/pmap_prot.h: Likewise.
21452 * sunrpc/rpc/pmap_rmt.h: Likewise.
21453 * sunrpc/rpc/rpc.h: Likewise.
21454 * sunrpc/rpc/rpc_des.h: Likewise.
21455 * sunrpc/rpc/rpc_msg.h: Likewise.
21456 * sunrpc/rpc/svc.h: Likewise.
21457 * sunrpc/rpc/svc_auth.h: Likewise.
21458 * sunrpc/rpc/types.h: Likewise.
21459 * sunrpc/rpc/xdr.h: Likewise.
21460 * sunrpc/rpc_clntout.c: Likewise.
21461 * sunrpc/rpc_cmsg.c: Likewise.
21462 * sunrpc/rpc_common.c: Likewise.
21463 * sunrpc/rpc_cout.c: Likewise.
21464 * sunrpc/rpc_dtable.c: Likewise.
21465 * sunrpc/rpc_hout.c: Likewise.
21466 * sunrpc/rpc_main.c: Likewise.
21467 * sunrpc/rpc_parse.c: Likewise.
21468 * sunrpc/rpc_parse.h: Likewise.
21469 * sunrpc/rpc_prot.c: Likewise.
21470 * sunrpc/rpc_sample.c: Likewise.
21471 * sunrpc/rpc_scan.c: Likewise.
21472 * sunrpc/rpc_scan.h: Likewise.
21473 * sunrpc/rpc_svcout.c: Likewise.
21474 * sunrpc/rpc_tblout.c: Likewise.
21475 * sunrpc/rpc_util.c: Likewise.
21476 * sunrpc/rpc_util.h: Likewise.
21477 * sunrpc/rpcinfo.c: Likewise.
21478 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
21479 * sunrpc/rpcsvc/key_prot.x: Likewise.
21480 * sunrpc/rpcsvc/klm_prot.x: Likewise.
21481 * sunrpc/rpcsvc/mount.x: Likewise.
21482 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
21483 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
21484 * sunrpc/rpcsvc/rex.x: Likewise.
21485 * sunrpc/rpcsvc/rstat.x: Likewise.
21486 * sunrpc/rpcsvc/rusers.x: Likewise.
21487 * sunrpc/rpcsvc/sm_inter.x: Likewise.
21488 * sunrpc/rpcsvc/spray.x: Likewise.
21489 * sunrpc/rpcsvc/yppasswd.x: Likewise.
21490 * sunrpc/rtime.c: Likewise.
21491 * sunrpc/svc.c: Likewise.
21492 * sunrpc/svc_auth.c: Likewise.
21493 * sunrpc/svc_authux.c: Likewise.
21494 * sunrpc/svc_raw.c: Likewise.
21495 * sunrpc/svc_run.c: Likewise.
21496 * sunrpc/svc_simple.c: Likewise.
21497 * sunrpc/svc_tcp.c: Likewise.
21498 * sunrpc/svc_udp.c: Likewise.
21499 * sunrpc/svc_unix.c: Likewise.
21500 * sunrpc/svcauth_des.c: Likewise.
21501 * sunrpc/xcrypt.c: Likewise.
21502 * sunrpc/xdr.c: Likewise.
21503 * sunrpc/xdr_array.c: Likewise.
21504 * sunrpc/xdr_float.c: Likewise.
21505 * sunrpc/xdr_mem.c: Likewise.
21506 * sunrpc/xdr_rec.c: Likewise.
21507 * sunrpc/xdr_ref.c: Likewise.
21508 * sunrpc/xdr_sizeof.c: Likewise.
21509 * sunrpc/xdr_stdio.c: Likewise.
21510
9da4bb31
UD
21511 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
21512 handling.
21513
bdaa77bc
AS
215142010-08-19 Andreas Schwab <schwab@redhat.com>
21515
21516 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
21517
fe2f79db
LM
215182010-08-19 Luis Machado <luisgpm@br.ibm.com>
21519
21520 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
21521 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
21522 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
21523 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
21524 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
21525 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
21526 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
21527 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
21528 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
21529 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
21530 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
21531 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
21532 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
21533 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
21534
b9b42ee0
AB
215352010-07-26 Anton Blanchard <anton@samba.org>
21536
21537 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
21538 * malloc/arena.c (heap_trim): Likewise.
21539
1c06ba31
UD
215402010-08-16 Ulrich Drepper <drepper@redhat.com>
21541
21542 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
21543 here. Not...
21544 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
21545 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
21546
f8392f40
L
215472010-08-12 H.J. Lu <hongjiu.lu@intel.com>
21548
21549 * sysdeps/i386/elf/Makefile: New file.
21550
3162f12e
AS
215512010-08-14 Andreas Schwab <schwab@linux-m68k.org>
21552
21553 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
21554 from fanotify_init.
21555 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
21556 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
21557
28c90b2c
UD
215582010-08-15 Ulrich Drepper <drepper@redhat.com>
21559
21560 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
21561 of strncasecmp_l.
1feccb6c 21562 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 21563
ca6bb004
UD
215642010-08-14 Ulrich Drepper <drepper@redhat.com>
21565
e9f82e0d
UD
21566 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
21567 strncase_l-nonascii.
21568 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
21569 Add strncase_l-ssse3.
21570 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
21571 * sysdeps/x86_64/strcmp.S: Likewise.
21572 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
21573 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
21574 * sysdeps/x86_64/strncase.S: New file.
21575 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
21576 * sysdeps/x86_64/strncase_l.S: New file.
21577 * string/Makefile (strop-tests): Add strncasecmp.
21578 * string/test-strncasecmp.c: New file.
21579
21580 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
21581 warning.
21582
ca6bb004
UD
21583 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
21584 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
21585
052fa7b3
AS
215862010-08-14 Andreas Schwab <schwab@linux-m68k.org>
21587
21588 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
21589
962dba78
UD
215902010-08-12 Ulrich Drepper <drepper@redhat.com>
21591
21592 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
21593 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
21594 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
21595
bebff237
AM
215962010-05-01 Alan Modra <amodra@gmail.com>
21597
21598 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
21599 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
21600 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
21601 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
21602 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
21603 tidying. Don't tail-call __sigjmp_save for static lib.
21604 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
21605 save location.
21606 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
21607 (CALL_MCOUNT): Add eh info, and nop after bl.
21608 (TAIL_CALL_SYSCALL_ERROR): New macro.
21609 (PSEUDO_RET): Use it.
21610 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
21611 Correct save location of integer regs and cr.
21612 (_dl_profile_resolve): Correct cr save location. Delete nops
21613 after bl when SHARED. Reduce cfi size a little by better
21614 placement of cfi directives.
21615 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
21616 make a stack frame. Instead use parm save area as a temp.
21617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
21618 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
21619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21620 Don't make a stack frame for parent, use parm save area.
21621 Increase child stack frame to 112 bytes. Don't save unused reg,
21622 and adjust reg usage. Set up cfi on error recovery and
21623 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
21624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21625 (__makecontext): Add dummy nop after jump to exit.
21626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
21627 Use correct parm save area and cr save, reduce stack frame.
21628 Correct cfi for possible PSEUDO_RET frame setup.
21629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
21630 Branch to local label emitted by PSEUDO_RET rather than
21631 __syscall_error.
21632
02637374
AS
216332010-08-12 Andreas Schwab <schwab@redhat.com>
21634
21635 [BZ #11904]
21636 * locale/programs/locale.c (print_assignment): New function.
21637 (show_locale_vars): Use it.
21638
c3e2f19b
UD
216392010-08-11 Ulrich Drepper <drepper@redhat.com>
21640
3cdaa6ad
UD
21641 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
21642 field.
21643 (struct statfs64): Likewise.
21644 (_STATFS_F_FLAGS): Define.
21645 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
21646 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21647 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
21648 (ST_VALID): Define locally.
21649 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
21650 __statvfs_getflags, use the provided value.
21651 * sysdeps/unix/sysv/linux/kernel-features.h: Define
21652 __ASSUME_STATFS_F_FLAGS.
21653
754f7da3
UD
21654 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
21655
10b3bedc
UD
21656 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
21657 Add sys/fanotify.h.
21658 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
21659 fanotify_mask for GLIBC_2.13.
21660 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
21661 fanotify_init and fanotify_mark.
21662 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
21663 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
21664
c08fb0d7
UD
21665 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
21666 Add prlimit.
21667 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
21668 prlimit64 for GLIBC_2.13.
21669 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
21670 prlimit64.
21671 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
21672 syscall.
21673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
21674 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
21675 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
21676 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
21677 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
21678 add prlimit alias.
21679 * sysdeps/unix/sysv/linux/prlimit.c: New file.
21680
15bac72b
UD
21681 [BZ #11903]
21682 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
21683 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
21684
c3e2f19b
UD
21685 * nss/Makefile: Add rules to build and run tst-nss-test1.
21686 * shlib-versions: Add entry for libnss_test1.
21687 * nss/nss_test1.c: New file.
21688 * nss/tst-nss-test1.c: New file.
21689
21690 * nss/nsswitch.c (__nss_database_custom): Define new variable.
21691 (__nss_configure_lookup): Set appropriate entry in
21692 __nss_configure_lookup to true.
21693 * nss/nsswitch.h: Define enum with indeces of databases in
21694 databases and __nss_database_custom arrays. Declare
21695 __nss_database_custom.
21696 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
21697 to avoid using nscd when custom rules are installed.
21698 * nss/getXXbyYY_r.c: Likewise.
21699 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21700
21701 * nss/nss_files/files-parse.c: Whitespace fixes.
21702
f15ce4d8
UD
217032010-08-09 Ulrich Drepper <drepper@redhat.com>
21704
21705 [BZ #11883]
21706 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
21707 * posix/fnmatch_loop.c: Likewise.
21708
d22e4cc9
AK
217092010-07-17 Andi Kleen <ak@linux.intel.com>
21710
21711 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
21712 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
21713 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
21714 * Versions.def [GLIBC_2.13]: Add.
21715
805bc17d
UD
217162010-08-06 Ulrich Drepper <drepper@redhat.com>
21717
21718 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
21719 Also fail if tpwd after pwuid call is NULL.
21720
5a42321d
ST
217212010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
21722
21723 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
21724 when converting to ms.
21725
fd3ebeda
ST
217262010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
21727
21728 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
21729 EOPNOTSUPP errors with ENOTTY.
21730 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
21731 EOPNOTSUPP errors with ENOTTY.
21732
73507d3a
UD
217332010-07-31 Ulrich Drepper <drepper@redhat.com>
21734
21735 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
21736 Add strcasecmp_l-ssse3.
21737 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
21738 strcasecmp.
21739 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
21740 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
21741 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
21742
fe36dd02
UD
217432010-07-30 Ulrich Drepper <drepper@redhat.com>
21744
66f6765a
UD
21745 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
21746
42e08a54
UD
21747 * string/Makefile (strop-tests): Add strcasecmp.
21748 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
21749 strcasecmp_l-nonascii.
21750 (gen-as-const-headers): Add locale-defines.sym.
21751 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
21752 * sysdeps/x86_64/strcasecmp.S: New file.
21753 * sysdeps/x86_64/strcasecmp_l.S: New file.
21754 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
21755 * sysdeps/x86_64/locale-defines.sym: New file.
21756 * string/test-strcasecmp.c: New file.
21757
fe36dd02
UD
21758 * string/test-strcasestr.c: Test both ends of the range of characters.
21759 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
21760
48cbc0d6
RM
217612010-07-29 Roland McGrath <roland@redhat.com>
21762
76e6d6bc 21763 [BZ #11856]
48cbc0d6
RM
21764 * manual/locale.texi (Yes-or-No Questions): Fix example code.
21765
880113d9
UD
217662010-07-27 Ulrich Drepper <drepper@redhat.com>
21767
21768 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
21769 for ld.so.
21770
deb9cabb
AS
217712010-07-27 Andreas Schwab <schwab@redhat.com>
21772
21773 * manual/memory.texi (Malloc Tunable Parameters): Document
21774 M_PERTURB.
21775
1c7570ff
RM
217762010-07-26 Roland McGrath <roland@redhat.com>
21777
21778 [BZ #11840]
21779 * configure.in (-fgnu89-inline check): Set and substitute
21780 gnu89_inline, not libc_cv_gnu89_inline.
21781 * configure: Regenerated.
21782 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
21783
24fb0f88
UD
217842010-07-26 Ulrich Drepper <drepper@redhat.com>
21785
21786 * string/test-strnlen.c: New file.
21787 * string/Makefile (strop-tests): Add strnlen.
21788 * string/tester.c (test_strnlen): Add a few more test cases.
21789 * string/tst-strlen.c: Better error reporting.
21790
21791 * sysdeps/x86_64/strnlen.S: New file.
21792
8e96b93a
UD
217932010-07-24 Ulrich Drepper <drepper@redhat.com>
21794
21795 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
21796 lower-latency instructions.
21797
dbc676d4
UD
217982010-07-23 Ulrich Drepper <drepper@redhat.com>
21799
21800 * string/test-strcasestr.c: New file.
21801 * string/test-strstr.c: New file.
21802 * string/Makefile (strop-tests): Add strstr and strcasestr.
21803 * string/str-two-way.h: Don't undefine MAX.
21804 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
21805
f6a31e0e
AS
218062010-07-21 Andreas Schwab <schwab@redhat.com>
21807
21808 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21809 strcasestr-nonascii.
21810 (CFLAGS-strcasestr-nonascii.c): Define.
21811 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
21812 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
21813 Remove unused attribute.
21814
5dbc3b6c
RM
218152010-07-20 Roland McGrath <roland@redhat.com>
21816
21817 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
21818 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
21819 ld.so.cache was broken. With it, there is no way to disable dsocaps
21820 like LD_HWCAP_MASK can disable hwcaps.
21821
23d101d8
EPM
218222010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
21823
21824 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
21825
cc9f2e47
UD
218262010-07-16 Ulrich Drepper <drepper@redhat.com>
21827
21828 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
21829 call in strcasestr.
21830 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
21831 __strcasestr_sse42_nonascii.
21832 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
21833 strcasestr-nonascii.c.
21834 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
21835
77c1b069
LM
218362010-06-15 Luis Machado <luisgpm@br.ibm.com>
21837
21838 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
21839 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
21840 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
21841 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
21842
440566c3
UD
218432010-07-09 Ulrich Drepper <drepper@redhat.com>
21844
21845 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
21846 fcntl.
21847
5be9d05d
AS
218482010-07-06 Andreas Schwab <schwab@redhat.com>
21849
c30b7ee2 21850 [BZ #11577]
5be9d05d
AS
21851 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
21852 dl_signal_cerror.
21853
8a492a67
UD
218542010-07-06 Ulrich Drepper <drepper@redhat.com>
21855
21856 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
21857 _PC_PIPE_BUF using F_GETPIPE_SZ.
21858
713df3d5
RM
218592010-07-05 Roland McGrath <roland@redhat.com>
21860
21861 * manual/arith.texi (Rounding Functions): Fix rint description
21862 implicit in round description.
21863
702e8f14
UD
218642010-07-02 Ulrich Drepper <drepper@redhat.com>
21865
21866 * elf/Makefile: Fix linking for a few tests to make recent linker
21867 happy.
21868
52ed8be9
AS
218692010-06-30 Andreas Schwab <schwab@redhat.com>
21870
21871 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
21872 $(common-objpfx)libc_nonshared.a.
21873
f47c9a11
LM
218742010-06-21 Luis Machado <luisgpm@br.ibm.com>
21875
21876 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
21877 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
21878 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
21879 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
21880 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
21881 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
21882 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
21883 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
21884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
21885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
21886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
21887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
21888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
21889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
21890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
21891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
21892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
21893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
21894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
21895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
21896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
21897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
21898 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
21899 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
21900 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
21901 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
21902 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
21903 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
21904 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
21905 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
21906 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
21907 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
21908 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
21909 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
21910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
21911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
21912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
21913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
21914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
21915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
21916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
21917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
21918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
21919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
21920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
21921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
21922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
21923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
21924
6fb8cbcb
L
219252010-06-25 H.J. Lu <hongjiu.lu@intel.com>
21926
21927 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
21928 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
21929 * string/memmove.c (memmove): Renamed to ...
21930 (MEMMOVE): ...this. Default to memmove.
21931 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
21932 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
21933 (END_CHK): Define.
21934 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21935 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
21936 mempcpy-ssse3-back memmove-ssse3-back.
21937 * sysdeps/x86_64/multiarch/bcopy.S: New file .
21938 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
21939 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
21940 * sysdeps/x86_64/multiarch/memcpy.S: New file.
21941 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
21942 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
21943 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
21944 * sysdeps/x86_64/multiarch/memmove.c: New file.
21945 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
21946 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
21947 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
21948 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
21949 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
21950 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
21951 Define.
21952 (index_Fast_Copy_Backward): Define.
21953 (HAS_ARCH_FEATURE): Define.
21954 (HAS_FAST_REP_STRING): Define.
21955 (HAS_FAST_COPY_BACKWARD): Define.
21956
4e733bac 219572010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
21958
21959 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
21960 Restore proper fallback handling.
21961
63c4ed22
UD
219622010-06-19 Ulrich Drepper <drepper@redhat.com>
21963
ac2b484c
UD
21964 [BZ #11701]
21965 * posix/group_member.c (__group_member): Correct checking loop.
21966
63c4ed22
UD
21967 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
21968 OOM in getpwuid_r correctly. Return error number when the caller
21969 should return, otherwise -1.
21970 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
21971 call returning > 0 value.
21972 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
21973
765ade4b
AS
219742010-06-07 Andreas Schwab <schwab@redhat.com>
21975
21976 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
21977 libc_nonshared.a from targets in modules-names.
21978
80da2e09
KS
219792010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
21980
21981 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
21982 requires it.
21983
158db122
LM
219842010-06-10 Luis Machado <luisgpm@br.ibm.com>
21985
21986 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
21987 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
21988 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
21989 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
21990
caa78cf8
AS
219912010-06-02 Andreas Schwab <schwab@redhat.com>
21992
21993 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
21994
b2ef2c01
UD
219952010-06-14 Ulrich Drepper <drepper@redhat.com>
21996
21997 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
21998 and F_GETPIPE_SZ.
21999 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22000 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22001 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22002 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22003 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22004 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
22005
fbd643b6
RM
220062010-06-14 Roland McGrath <roland@redhat.com>
22007
22008 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
22009
f32f2869
JJ
220102010-06-07 Jakub Jelinek <jakub@redhat.com>
22011
22012 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
22013 __REDIRECT followed by __THROW.
22014 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
22015 * posix/getopt.h (getopt): Likewise.
22016
2a50c078
EPM
220172010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22018
22019 * hurd/lookup-at.c (__file_name_lookup_at): Accept
22020 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
22021 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
22022 in AT_FLAGS.
22023 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
22024 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
22025
eb5ad2eb
LM
220262010-05-28 Luis Machado <luisgpm@br.ibm.com>
22027
22028 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
22029
3c88fe1e
L
220302010-05-26 H.J. Lu <hongjiu.lu@intel.com>
22031
22032 [BZ #11640]
22033 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22034 Properly check family and model.
22035
d2f73151
TY
220362010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
22037
22038 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
22039
ebd2e13d
LM
220402010-05-24 Luis Machado <luisgpm@br.ibm.com>
22041
22042 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
22043
b32b8b45
UD
220442010-05-21 Ulrich Drepper <drepper@redhat.com>
22045
22046 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
22047 symbol reference.
22048
9acbe24d
AS
220492010-05-19 Andreas Schwab <schwab@redhat.com>
22050
22051 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
22052 symbol reference.
22053
f0ccf6ea
AS
220542010-05-21 Andreas Schwab <schwab@redhat.com>
22055
3d04ff3a
AS
22056 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
22057 and internal_recvmmsg.
22058 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
22059 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
22060 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
22061 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
22062
f0ccf6ea
AS
22063 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
22064 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22065 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22066
5b08ac57
AS
220672010-05-20 Andreas Schwab <schwab@redhat.com>
22068
22069 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
22070
4828935d
LM
220712010-05-17 Luis Machado <luisgpm@br.ibm.com>
22072
22073 POWER7 optimizations.
22074 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
22075 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
22076
373d545e
UD
220772010-05-19 Ulrich Drepper <drepper@redhat.com>
22078
22079 * version.h: Update for 2.13 development version.
22080
21a2b1ae
AS
220812010-05-12 Andrew Stubbs <ams@codesourcery.com>
22082
22083 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
22084 exceptions. Return 0.
22085
3f7dcb2b
RM
220862010-05-07 Roland McGrath <roland@redhat.com>
22087
22088 * elf/ldconfig.c (main): Add a const.
22089
5f24d53a 220902010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 22091
a160f8d8
UD
22092 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
22093 (args_options): Add no-idn option.
22094 (ahosts_keys_int): Add idn_flags to ai_flags.
22095 (parse_option): Handle 'i' option to clear idn_flags.
22096
5f24d53a
UD
22097 * malloc/malloc.c (_int_free): Possible race in the most recently
22098 added check. Only act on the data if no current modification
22099 happened.
265bb1ce
UD
22100
22101See ChangeLog.17 for earlier changes.