1 2012-11-07 Joseph Myers <joseph@codesourcery.com>
3 * conform/conformtest.pl: Preprocess allow-header data with -x c
5 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
6 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
7 [C99-based standards] (cerfc): Likewise.
8 [C99-based standards] (cexp2): Likewise.
9 [C99-based standards] (cexpm1): Likewise.
10 [C99-based standards] (clog10): Likewise.
11 [C99-based standards] (clog1p): Likewise.
12 [C99-based standards] (clog2): Likewise.
13 [C99-based standards] (clgamma): Likewise.
14 [C99-based standards] (ctgamma): Likewise.
15 [C99-based standards] (cerff): Likewise.
16 [C99-based standards] (cerfcf): Likewise.
17 [C99-based standards] (cexp2f): Likewise.
18 [C99-based standards] (cexpm1f): Likewise.
19 [C99-based standards] (clog10f): Likewise.
20 [C99-based standards] (clog1pf): Likewise.
21 [C99-based standards] (clog2f): Likewise.
22 [C99-based standards] (clgammaf): Likewise.
23 [C99-based standards] (ctgammaf): Likewise.
24 [C99-based standards] (cerfl): Likewise.
25 [C99-based standards] (cerfcl): Likewise.
26 [C99-based standards] (cexp2l): Likewise.
27 [C99-based standards] (cexpm1l): Likewise.
28 [C99-based standards] (clog10l): Likewise.
29 [C99-based standards] (clog1pl): Likewise.
30 [C99-based standards] (clog2l): Likewise.
31 [C99-based standards] (clgammal): Likewise.
32 [C99-based standards] (ctgammal): Likewise.
33 * conform/data/inttypes.h-data [C99-based standards]: Include
34 stdint.h-data. Remove all expectations for stdint.h contents.
35 [C99-based standards] (PRI*): Do not allow.
36 [C99-based standards] (SCN*): Likewise.
37 [C99-based standards] (*_t): Likewise.
38 [C99-based-standards] (PRId8): Expect macro.
39 [C99-based-standards] (PRIi8): Likewise.
40 [C99-based-standards] (PRIo8): Likewise.
41 [C99-based-standards] (PRIu8): Likewise.
42 [C99-based-standards] (PRIx8): Likewise.
43 [C99-based-standards] (PRIX8): Likewise.
44 [C99-based-standards] (SCNd8): Likewise.
45 [C99-based-standards] (SCNi8): Likewise.
46 [C99-based-standards] (SCNo8): Likewise.
47 [C99-based-standards] (SCNu8): Likewise.
48 [C99-based-standards] (SCNx8): Likewise.
49 [C99-based-standards] (PRIdLEAST8): Likewise.
50 [C99-based-standards] (PRIiLEAST8): Likewise.
51 [C99-based-standards] (PRIoLEAST8): Likewise.
52 [C99-based-standards] (PRIuLEAST8): Likewise.
53 [C99-based-standards] (PRIxLEAST8): Likewise.
54 [C99-based-standards] (PRIXLEAST8): Likewise.
55 [C99-based-standards] (SCNdLEAST8): Likewise.
56 [C99-based-standards] (SCNiLEAST8): Likewise.
57 [C99-based-standards] (SCNoLEAST8): Likewise.
58 [C99-based-standards] (SCNuLEAST8): Likewise.
59 [C99-based-standards] (SCNxLEAST8): Likewise.
60 [C99-based-standards] (PRIdFAST8): Likewise.
61 [C99-based-standards] (PRIiFAST8): Likewise.
62 [C99-based-standards] (PRIoFAST8): Likewise.
63 [C99-based-standards] (PRIuFAST8): Likewise.
64 [C99-based-standards] (PRIxFAST8): Likewise.
65 [C99-based-standards] (PRIXFAST8): Likewise.
66 [C99-based-standards] (SCNdFAST8): Likewise.
67 [C99-based-standards] (SCNiFAST8): Likewise.
68 [C99-based-standards] (SCNoFAST8): Likewise.
69 [C99-based-standards] (SCNuFAST8): Likewise.
70 [C99-based-standards] (SCNxFAST8): Likewise.
71 [C99-based-standards] (PRId16): Likewise.
72 [C99-based-standards] (PRIi16): Likewise.
73 [C99-based-standards] (PRIo16): Likewise.
74 [C99-based-standards] (PRIu16): Likewise.
75 [C99-based-standards] (PRIx16): Likewise.
76 [C99-based-standards] (PRIX16): Likewise.
77 [C99-based-standards] (SCNd16): Likewise.
78 [C99-based-standards] (SCNi16): Likewise.
79 [C99-based-standards] (SCNo16): Likewise.
80 [C99-based-standards] (SCNu16): Likewise.
81 [C99-based-standards] (SCNx16): Likewise.
82 [C99-based-standards] (PRIdLEAST16): Likewise.
83 [C99-based-standards] (PRIiLEAST16): Likewise.
84 [C99-based-standards] (PRIoLEAST16): Likewise.
85 [C99-based-standards] (PRIuLEAST16): Likewise.
86 [C99-based-standards] (PRIxLEAST16): Likewise.
87 [C99-based-standards] (PRIXLEAST16): Likewise.
88 [C99-based-standards] (SCNdLEAST16): Likewise.
89 [C99-based-standards] (SCNiLEAST16): Likewise.
90 [C99-based-standards] (SCNoLEAST16): Likewise.
91 [C99-based-standards] (SCNuLEAST16): Likewise.
92 [C99-based-standards] (SCNxLEAST16): Likewise.
93 [C99-based-standards] (PRIdFAST16): Likewise.
94 [C99-based-standards] (PRIiFAST16): Likewise.
95 [C99-based-standards] (PRIoFAST16): Likewise.
96 [C99-based-standards] (PRIuFAST16): Likewise.
97 [C99-based-standards] (PRIxFAST16): Likewise.
98 [C99-based-standards] (PRIXFAST16): Likewise.
99 [C99-based-standards] (SCNdFAST16): Likewise.
100 [C99-based-standards] (SCNiFAST16): Likewise.
101 [C99-based-standards] (SCNoFAST16): Likewise.
102 [C99-based-standards] (SCNuFAST16): Likewise.
103 [C99-based-standards] (SCNxFAST16): Likewise.
104 [C99-based-standards] (PRId32): Likewise.
105 [C99-based-standards] (PRIi32): Likewise.
106 [C99-based-standards] (PRIo32): Likewise.
107 [C99-based-standards] (PRIu32): Likewise.
108 [C99-based-standards] (PRIx32): Likewise.
109 [C99-based-standards] (PRIX32): Likewise.
110 [C99-based-standards] (SCNd32): Likewise.
111 [C99-based-standards] (SCNi32): Likewise.
112 [C99-based-standards] (SCNo32): Likewise.
113 [C99-based-standards] (SCNu32): Likewise.
114 [C99-based-standards] (SCNx32): Likewise.
115 [C99-based-standards] (PRIdLEAST32): Likewise.
116 [C99-based-standards] (PRIiLEAST32): Likewise.
117 [C99-based-standards] (PRIoLEAST32): Likewise.
118 [C99-based-standards] (PRIuLEAST32): Likewise.
119 [C99-based-standards] (PRIxLEAST32): Likewise.
120 [C99-based-standards] (PRIXLEAST32): Likewise.
121 [C99-based-standards] (SCNdLEAST32): Likewise.
122 [C99-based-standards] (SCNiLEAST32): Likewise.
123 [C99-based-standards] (SCNoLEAST32): Likewise.
124 [C99-based-standards] (SCNuLEAST32): Likewise.
125 [C99-based-standards] (SCNxLEAST32): Likewise.
126 [C99-based-standards] (PRIdFAST32): Likewise.
127 [C99-based-standards] (PRIiFAST32): Likewise.
128 [C99-based-standards] (PRIoFAST32): Likewise.
129 [C99-based-standards] (PRIuFAST32): Likewise.
130 [C99-based-standards] (PRIxFAST32): Likewise.
131 [C99-based-standards] (PRIXFAST32): Likewise.
132 [C99-based-standards] (SCNdFAST32): Likewise.
133 [C99-based-standards] (SCNiFAST32): Likewise.
134 [C99-based-standards] (SCNoFAST32): Likewise.
135 [C99-based-standards] (SCNuFAST32): Likewise.
136 [C99-based-standards] (SCNxFAST32): Likewise.
137 [C99-based-standards] (PRId64): Likewise.
138 [C99-based-standards] (PRIi64): Likewise.
139 [C99-based-standards] (PRIo64): Likewise.
140 [C99-based-standards] (PRIu64): Likewise.
141 [C99-based-standards] (PRIx64): Likewise.
142 [C99-based-standards] (PRIX64): Likewise.
143 [C99-based-standards] (SCNd64): Likewise.
144 [C99-based-standards] (SCNi64): Likewise.
145 [C99-based-standards] (SCNo64): Likewise.
146 [C99-based-standards] (SCNu64): Likewise.
147 [C99-based-standards] (SCNx64): Likewise.
148 [C99-based-standards] (PRIdLEAST64): Likewise.
149 [C99-based-standards] (PRIiLEAST64): Likewise.
150 [C99-based-standards] (PRIoLEAST64): Likewise.
151 [C99-based-standards] (PRIuLEAST64): Likewise.
152 [C99-based-standards] (PRIxLEAST64): Likewise.
153 [C99-based-standards] (PRIXLEAST64): Likewise.
154 [C99-based-standards] (SCNdLEAST64): Likewise.
155 [C99-based-standards] (SCNiLEAST64): Likewise.
156 [C99-based-standards] (SCNoLEAST64): Likewise.
157 [C99-based-standards] (SCNuLEAST64): Likewise.
158 [C99-based-standards] (SCNxLEAST64): Likewise.
159 [C99-based-standards] (PRIdFAST64): Likewise.
160 [C99-based-standards] (PRIiFAST64): Likewise.
161 [C99-based-standards] (PRIoFAST64): Likewise.
162 [C99-based-standards] (PRIuFAST64): Likewise.
163 [C99-based-standards] (PRIxFAST64): Likewise.
164 [C99-based-standards] (PRIXFAST64): Likewise.
165 [C99-based-standards] (SCNdFAST64): Likewise.
166 [C99-based-standards] (SCNiFAST64): Likewise.
167 [C99-based-standards] (SCNoFAST64): Likewise.
168 [C99-based-standards] (SCNuFAST64): Likewise.
169 [C99-based-standards] (SCNxFAST64): Likewise.
170 [C99-based-standards] (PRIdMAX): Likewise.
171 [C99-based-standards] (PRIiMAX): Likewise.
172 [C99-based-standards] (PRIoMAX): Likewise.
173 [C99-based-standards] (PRIuMAX): Likewise.
174 [C99-based-standards] (PRIxMAX): Likewise.
175 [C99-based-standards] (PRIXMAX): Likewise.
176 [C99-based-standards] (SCNdMAX): Likewise.
177 [C99-based-standards] (SCNiMAX): Likewise.
178 [C99-based-standards] (SCNoMAX): Likewise.
179 [C99-based-standards] (SCNuMAX): Likewise.
180 [C99-based-standards] (SCNxMAX): Likewise.
181 [C99-based-standards] (PRIdPTR): Likewise.
182 [C99-based-standards] (PRIiPTR): Likewise.
183 [C99-based-standards] (PRIoPTR): Likewise.
184 [C99-based-standards] (PRIuPTR): Likewise.
185 [C99-based-standards] (PRIxPTR): Likewise.
186 [C99-based-standards] (PRIXPTR): Likewise.
187 [C99-based-standards] (SCNdPTR): Likewise.
188 [C99-based-standards] (SCNiPTR): Likewise.
189 [C99-based-standards] (SCNoPTR): Likewise.
190 [C99-based-standards] (SCNuPTR): Likewise.
191 [C99-based-standards] (SCNxPTR): Likewise.
192 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
194 * conform/data/stdint.h-data: Update comments to clarify
196 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
198 [C99-based standards] (INT8_MAX): Likewise.
199 [C99-based standards] (INT16_MIN): Likewise.
200 [C99-based standards] (INT16_MAX): Likewise.
201 [C99-based standards] (INT32_MIN): Likewise.
202 [C99-based standards] (INT32_MAX): Likewise.
203 [C99-based standards] (INT64_MIN): Likewise.
204 [C99-based standards] (INT64_MAX): Likewise.
205 [C99-based standards] (UINT8_MAX): Likewise.
206 [C99-based standards] (UINT16_MAX): Likewise.
207 [C99-based standards] (UINT32_MAX): Likewise.
208 [C99-based standards] (UINT64_MAX): Likewise.
209 [C99-based standards] (INT_LEAST8_MIN): Likewise.
210 [C99-based standards] (INT_LEAST8_MAX): Likewise.
211 [C99-based standards] (INT_LEAST16_MIN): Likewise.
212 [C99-based standards] (INT_LEAST16_MAX): Likewise.
213 [C99-based standards] (INT_LEAST32_MIN): Likewise.
214 [C99-based standards] (INT_LEAST32_MAX): Likewise.
215 [C99-based standards] (INT_LEAST64_MIN): Likewise.
216 [C99-based standards] (INT_LEAST64_MAX): Likewise.
217 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
218 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
219 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
220 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
221 [C99-based standards] (INT_FAST8_MIN): Likewise.
222 [C99-based standards] (INT_FAST8_MAX): Likewise.
223 [C99-based standards] (INT_FAST16_MIN): Likewise.
224 [C99-based standards] (INT_FAST16_MAX): Likewise.
225 [C99-based standards] (INT_FAST32_MIN): Likewise.
226 [C99-based standards] (INT_FAST32_MAX): Likewise.
227 [C99-based standards] (INT_FAST64_MIN): Likewise.
228 [C99-based standards] (INT_FAST64_MAX): Likewise.
229 [C99-based standards] (UINT_FAST8_MAX): Likewise.
230 [C99-based standards] (UINT_FAST16_MAX): Likewise.
231 [C99-based standards] (UINT_FAST32_MAX): Likewise.
232 [C99-based standards] (UINT_FAST64_MAX): Likewise.
233 [C99-based standards] (INTPTR_MIN): Likewise.
234 [C99-based standards] (INTPTR_MAX): Likewise.
235 [C99-based standards] (UINTPTR_MAX): Likewise.
236 [C99-based standards] (INTMAX_MIN): Likewise.
237 [C99-based standards] (INTMAX_MAX): Likewise.
238 [C99-based standards] (UINTMAX_MAX): Likewise.
239 [C99-based standards] (PTRDIFF_MIN): Likewise.
240 [C99-based standards] (PTRDIFF_MAX): Likewise.
241 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
242 [C99-based standards] (SIZE_MAX): Likewise.
243 [C99-based standards] (WCHAR_MAX): Likewise.
244 [C99-based standards] (WINT_MAX): Likewise.
245 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
247 [C99-based standards] (WCHAR_MIN): Likewise.
248 [C99-based standards] (WINT_MIN): Likewise.
249 [C99-based standards] (*_t): Allow.
250 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
251 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
252 Include math.h-data and complex.h-data. Remove all expectations
253 of math.h and complex.h contents.
254 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
256 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
257 (struct tm): Expect tag.
258 [C99-based-standards] (wcstof): Expect function.
259 [C99-based-standards] (wcstold): Likewise.
260 [C99-based-standards] (wcstoll): Likewise.
261 [C99-based-standards] (wcstoull): Likewise.
262 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
263 macro-int-constant. Specify type.
264 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
266 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
268 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
270 [ISO C standards]: Do not allow headers.
271 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
272 wcs[abcdefghijklmnopqrstuvwxyz]*.
273 [ISO C standards] (*_t): Do not allow.
274 * conform/data/wctype.h-data [C99-based standards] (iswblank):
276 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
277 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
279 [ISO C standards]: Do not allow headers.
280 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
281 is[abcdefghijklmnopqrstuvwxyz]*.
282 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
283 to[abcdefghijklmnopqrstuvwxyz]*.
284 [ISO C standards] (*_t): Do not allow.
285 * conform/data/stdalign.h-data: New file.
286 * conform/data/stdbool.h-data: Likewise.
287 * conform/data/stdnoreturn.h-data: Likewise.
289 2012-11-07 Andreas Jaeger <aj@suse.de>
292 * sysdeps/unix/sysv/linux/sys/sysctl.h (_UAPI_LINUX_KERNEL_H)
293 (_UAPI_LINUX_TYPES_H): Starting with Linux 3.7, the include header
294 guards are changed. Only define if not yet defined, #undef back
295 after including linux/sysctl.h if defined here.
297 2012-11-07 Roland McGrath <roland@hack.frob.com>
300 * manual/filesys.texi (Directory Entries): Typo fix.
301 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
303 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
305 * elf/elf.h (EM_AARCH64): New macro.
306 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
307 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
308 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
309 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
310 (R_AARCH64_TLSDESC): Likewise.
311 (NT_ARM_TLS): Likewise.
312 (NT_ARM_HW_BREAK): Likewise.
313 (NT_ARM_HW_WATCH): Likewise.
315 2012-11-07 Joseph Myers <joseph@codesourcery.com>
318 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
319 (__ieee754_powl): Saturate nonzero exponents with absolute value
320 below 0x1p-79 to +/- 0x1p-79.
321 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
322 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
323 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
324 nonzero exponents with absolute value below 0x1p-32 to +/-
326 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
327 (__ieee754_powl): Saturate nonzero exponents with absolute value
328 below 0x1p-79 to +/- 0x1p-79.
329 * math/libm-test.inc (pow_test): Add more tests.
331 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
333 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
334 _dl_s390_cap_flags with kernel. Increase string length.
335 (_dl_s390_platforms): Add z196 and zEC12.
337 2012-11-07 Joseph Myers <joseph@codesourcery.com>
339 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
340 Change XOPEN21K to XOPEN2K.
342 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
344 * string/memmove.c: Use memcpy when possible.
346 2012-11-06 Andreas Jaeger <aj@suse.de>
348 * po/eo.po: Update from translation team.
350 2012-11-06 Joseph Myers <joseph@codesourcery.com>
353 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
354 exponent and small x and y exponents, scale x or y up. Increase
355 by 2 the exponent used in scaling up.
356 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
357 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
358 * math/libm-test.inc (fma_test): Add more tests.
359 (fma_test_towardzero): Likewise.
360 (fma_test_downward): Likewise.
361 (fma_test_upward): Likewise.
363 2012-11-05 Joseph Myers <joseph@codesourcery.com>
366 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
370 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
371 namespace for names of struct fields.
372 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
374 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
375 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
377 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
380 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
382 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
384 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
388 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
391 2012-11-04 Joseph Myers <joseph@codesourcery.com>
394 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
395 definitely overflow as x * y not x * y + z.
396 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
397 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
398 * math/libm-test.inc (fma_test): Add more tests.
399 (fma_test_towardzero): Likewise.
400 (fma_test_downward): Likewise.
401 (fma_test_upward): Likewise.
403 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
407 * include/stub-tag.h: Remove file.
408 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
410 * manual/maint.texi (Porting): Don't reference it.
411 * Makerules ($(objpfx)stubs): Likewise.
412 * dirent/closedir.c: Don't include <stub-tag.h>.
413 * dirent/dirfd.c: Likewise.
414 * dirent/fdopendir.c: Likewise.
415 * dirent/getdents.c: Likewise.
416 * dirent/getdents64.c: Likewise.
417 * dirent/opendir.c: Likewise.
418 * dirent/readdir.c: Likewise.
419 * dirent/readdir64.c: Likewise.
420 * dirent/readdir64_r.c: Likewise.
421 * dirent/readdir_r.c: Likewise.
422 * dirent/rewinddir.c: Likewise.
423 * dirent/seekdir.c: Likewise.
424 * dirent/telldir.c: Likewise.
425 * gmon/profil.c: Likewise.
426 * grp/setgroups.c: Likewise.
427 * inet/if_index.c: Likewise.
428 * io/access.c: Likewise.
429 * io/chdir.c: Likewise.
430 * io/chmod.c: Likewise.
431 * io/chown.c: Likewise.
432 * io/close.c: Likewise.
433 * io/dup.c: Likewise.
434 * io/dup2.c: Likewise.
435 * io/dup3.c: Likewise.
436 * io/euidaccess.c: Likewise.
437 * io/faccessat.c: Likewise.
438 * io/fchdir.c: Likewise.
439 * io/fchmod.c: Likewise.
440 * io/fchmodat.c: Likewise.
441 * io/fchown.c: Likewise.
442 * io/fchownat.c: Likewise.
443 * io/fcntl.c: Likewise.
444 * io/flock.c: Likewise.
445 * io/fstatfs.c: Likewise.
446 * io/fstatfs64.c: Likewise.
447 * io/fstatvfs.c: Likewise.
448 * io/fstatvfs64.c: Likewise.
449 * io/futimens.c: Likewise.
450 * io/fxstat.c: Likewise.
451 * io/fxstat64.c: Likewise.
452 * io/fxstatat.c: Likewise.
453 * io/fxstatat64.c: Likewise.
454 * io/getcwd.c: Likewise.
455 * io/isatty.c: Likewise.
456 * io/lchmod.c: Likewise.
457 * io/lchown.c: Likewise.
458 * io/link.c: Likewise.
459 * io/linkat.c: Likewise.
460 * io/lseek.c: Likewise.
461 * io/lseek64.c: Likewise.
462 * io/lxstat64.c: Likewise.
463 * io/mkdir.c: Likewise.
464 * io/mkdirat.c: Likewise.
465 * io/mkfifo.c: Likewise.
466 * io/mkfifoat.c: Likewise.
467 * io/open.c: Likewise.
468 * io/open64.c: Likewise.
469 * io/openat.c: Likewise.
470 * io/openat64.c: Likewise.
471 * io/pipe.c: Likewise.
472 * io/pipe2.c: Likewise.
473 * io/poll.c: Likewise.
474 * io/posix_fadvise.c: Likewise.
475 * io/posix_fadvise64.c: Likewise.
476 * io/posix_fallocate.c: Likewise.
477 * io/posix_fallocate64.c: Likewise.
478 * io/read.c: Likewise.
479 * io/readlink.c: Likewise.
480 * io/readlinkat.c: Likewise.
481 * io/rmdir.c: Likewise.
482 * io/sendfile.c: Likewise.
483 * io/sendfile64.c: Likewise.
484 * io/statfs.c: Likewise.
485 * io/statfs64.c: Likewise.
486 * io/statvfs.c: Likewise.
487 * io/statvfs64.c: Likewise.
488 * io/symlink.c: Likewise.
489 * io/symlinkat.c: Likewise.
490 * io/ttyname.c: Likewise.
491 * io/ttyname_r.c: Likewise.
492 * io/umask.c: Likewise.
493 * io/unlink.c: Likewise.
494 * io/unlinkat.c: Likewise.
495 * io/utime.c: Likewise.
496 * io/utimensat.c: Likewise.
497 * io/write.c: Likewise.
498 * io/xmknod.c: Likewise.
499 * io/xmknodat.c: Likewise.
500 * io/xstat.c: Likewise.
501 * io/xstat64.c: Likewise.
502 * login/getpt.c: Likewise.
503 * login/grantpt.c: Likewise.
504 * login/unlockpt.c: Likewise.
505 * math/e_acoshl.c: Likewise.
506 * math/e_acosl.c: Likewise.
507 * math/e_asinl.c: Likewise.
508 * math/e_atan2l.c: Likewise.
509 * math/e_atanhl.c: Likewise.
510 * math/e_coshl.c: Likewise.
511 * math/e_expl.c: Likewise.
512 * math/e_fmodl.c: Likewise.
513 * math/e_gammal_r.c: Likewise.
514 * math/e_hypotl.c: Likewise.
515 * math/e_j0l.c: Likewise.
516 * math/e_j1l.c: Likewise.
517 * math/e_jnl.c: Likewise.
518 * math/e_lgammal_r.c: Likewise.
519 * math/e_log10l.c: Likewise.
520 * math/e_log2l.c: Likewise.
521 * math/e_logl.c: Likewise.
522 * math/e_powl.c: Likewise.
523 * math/e_rem_pio2l.c: Likewise.
524 * math/e_sinhl.c: Likewise.
525 * math/e_sqrtl.c: Likewise.
526 * math/fclrexcpt.c: Likewise.
527 * math/fedisblxcpt.c: Likewise.
528 * math/feenablxcpt.c: Likewise.
529 * math/fegetenv.c: Likewise.
530 * math/fegetexcept.c: Likewise.
531 * math/fegetround.c: Likewise.
532 * math/feholdexcpt.c: Likewise.
533 * math/fesetenv.c: Likewise.
534 * math/fesetround.c: Likewise.
535 * math/feupdateenv.c: Likewise.
536 * math/fgetexcptflg.c: Likewise.
537 * math/fraiseexcpt.c: Likewise.
538 * math/fsetexcptflg.c: Likewise.
539 * math/ftestexcept.c: Likewise.
540 * math/k_cosl.c: Likewise.
541 * math/k_rem_pio2l.c: Likewise.
542 * math/k_sinl.c: Likewise.
543 * math/k_tanl.c: Likewise.
544 * math/s_asinhl.c: Likewise.
545 * math/s_atanl.c: Likewise.
546 * math/s_cbrtl.c: Likewise.
547 * math/s_erfl.c: Likewise.
548 * math/s_expm1l.c: Likewise.
549 * math/s_log1pl.c: Likewise.
550 * math/s_tanhl.c: Likewise.
551 * misc/acct.c: Likewise.
552 * misc/brk.c: Likewise.
553 * misc/chflags.c: Likewise.
554 * misc/chroot.c: Likewise.
555 * misc/fchflags.c: Likewise.
556 * misc/fgetxattr.c: Likewise.
557 * misc/flistxattr.c: Likewise.
558 * misc/fremovexattr.c: Likewise.
559 * misc/fsetxattr.c: Likewise.
560 * misc/fsync.c: Likewise.
561 * misc/ftruncate.c: Likewise.
562 * misc/futimes.c: Likewise.
563 * misc/futimesat.c: Likewise.
564 * misc/getdomain.c: Likewise.
565 * misc/getdtsz.c: Likewise.
566 * misc/gethostid.c: Likewise.
567 * misc/gethostname.c: Likewise.
568 * misc/getloadavg.c: Likewise.
569 * misc/getpagesize.c: Likewise.
570 * misc/getsysstats.c: Likewise.
571 * misc/getxattr.c: Likewise.
572 * misc/gtty.c: Likewise.
573 * misc/ioctl.c: Likewise.
574 * misc/lgetxattr.c: Likewise.
575 * misc/listxattr.c: Likewise.
576 * misc/llistxattr.c: Likewise.
577 * misc/lremovexattr.c: Likewise.
578 * misc/lsetxattr.c: Likewise.
579 * misc/lutimes.c: Likewise.
580 * misc/madvise.c: Likewise.
581 * misc/mincore.c: Likewise.
582 * misc/mlock.c: Likewise.
583 * misc/mlockall.c: Likewise.
584 * misc/mmap.c: Likewise.
585 * misc/mprotect.c: Likewise.
586 * misc/msync.c: Likewise.
587 * misc/munlock.c: Likewise.
588 * misc/munlockall.c: Likewise.
589 * misc/munmap.c: Likewise.
590 * misc/preadv.c: Likewise.
591 * misc/preadv64.c: Likewise.
592 * misc/ptrace.c: Likewise.
593 * misc/pwritev.c: Likewise.
594 * misc/pwritev64.c: Likewise.
595 * misc/readv.c: Likewise.
596 * misc/reboot.c: Likewise.
597 * misc/remap_file_pages.c: Likewise.
598 * misc/removexattr.c: Likewise.
599 * misc/revoke.c: Likewise.
600 * misc/select.c: Likewise.
601 * misc/setdomain.c: Likewise.
602 * misc/setegid.c: Likewise.
603 * misc/seteuid.c: Likewise.
604 * misc/sethostid.c: Likewise.
605 * misc/sethostname.c: Likewise.
606 * misc/setregid.c: Likewise.
607 * misc/setreuid.c: Likewise.
608 * misc/setxattr.c: Likewise.
609 * misc/sstk.c: Likewise.
610 * misc/stty.c: Likewise.
611 * misc/swapoff.c: Likewise.
612 * misc/swapon.c: Likewise.
613 * misc/sync.c: Likewise.
614 * misc/syncfs.c: Likewise.
615 * misc/syscall.c: Likewise.
616 * misc/truncate.c: Likewise.
617 * misc/ualarm.c: Likewise.
618 * misc/usleep.c: Likewise.
619 * misc/ustat.c: Likewise.
620 * misc/utimes.c: Likewise.
621 * misc/vhangup.c: Likewise.
622 * misc/writev.c: Likewise.
623 * posix/_exit.c: Likewise.
624 * posix/alarm.c: Likewise.
625 * posix/execve.c: Likewise.
626 * posix/fexecve.c: Likewise.
627 * posix/fork.c: Likewise.
628 * posix/fpathconf.c: Likewise.
629 * posix/getaddrinfo.c: Likewise.
630 * posix/getegid.c: Likewise.
631 * posix/geteuid.c: Likewise.
632 * posix/getgid.c: Likewise.
633 * posix/getgroups.c: Likewise.
634 * posix/getlogin.c: Likewise.
635 * posix/getlogin_r.c: Likewise.
636 * posix/getpgid.c: Likewise.
637 * posix/getpid.c: Likewise.
638 * posix/getppid.c: Likewise.
639 * posix/getresgid.c: Likewise.
640 * posix/getresuid.c: Likewise.
641 * posix/getsid.c: Likewise.
642 * posix/getuid.c: Likewise.
643 * posix/glob64.c: Likewise.
644 * posix/nanosleep.c: Likewise.
645 * posix/pathconf.c: Likewise.
646 * posix/pause.c: Likewise.
647 * posix/posix_madvise.c: Likewise.
648 * posix/pread.c: Likewise.
649 * posix/pread64.c: Likewise.
650 * posix/pwrite.c: Likewise.
651 * posix/pwrite64.c: Likewise.
652 * posix/sched_getaffinity.c: Likewise.
653 * posix/sched_getp.c: Likewise.
654 * posix/sched_gets.c: Likewise.
655 * posix/sched_primax.c: Likewise.
656 * posix/sched_primin.c: Likewise.
657 * posix/sched_rr_gi.c: Likewise.
658 * posix/sched_setaffinity.c: Likewise.
659 * posix/sched_setp.c: Likewise.
660 * posix/sched_sets.c: Likewise.
661 * posix/sched_yield.c: Likewise.
662 * posix/setgid.c: Likewise.
663 * posix/setlogin.c: Likewise.
664 * posix/setpgid.c: Likewise.
665 * posix/setresgid.c: Likewise.
666 * posix/setresuid.c: Likewise.
667 * posix/setsid.c: Likewise.
668 * posix/setuid.c: Likewise.
669 * posix/sleep.c: Likewise.
670 * posix/spawni.c: Likewise.
671 * posix/sysconf.c: Likewise.
672 * posix/times.c: Likewise.
673 * posix/wait.c: Likewise.
674 * posix/wait3.c: Likewise.
675 * posix/wait4.c: Likewise.
676 * posix/waitpid.c: Likewise.
677 * resolv/gai_sigqueue.c: Likewise.
678 * resource/getpriority.c: Likewise.
679 * resource/getrlimit.c: Likewise.
680 * resource/getrusage.c: Likewise.
681 * resource/nice.c: Likewise.
682 * resource/setpriority.c: Likewise.
683 * resource/setrlimit.c: Likewise.
684 * resource/ulimit.c: Likewise.
685 * rt/aio_cancel.c: Likewise.
686 * rt/aio_fsync.c: Likewise.
687 * rt/aio_read.c: Likewise.
688 * rt/aio_sigqueue.c: Likewise.
689 * rt/aio_suspend.c: Likewise.
690 * rt/aio_write.c: Likewise.
691 * rt/clock_getres.c: Likewise.
692 * rt/clock_gettime.c: Likewise.
693 * rt/clock_nanosleep.c: Likewise.
694 * rt/clock_settime.c: Likewise.
695 * rt/lio_listio.c: Likewise.
696 * rt/mq_close.c: Likewise.
697 * rt/mq_getattr.c: Likewise.
698 * rt/mq_notify.c: Likewise.
699 * rt/mq_open.c: Likewise.
700 * rt/mq_receive.c: Likewise.
701 * rt/mq_send.c: Likewise.
702 * rt/mq_setattr.c: Likewise.
703 * rt/mq_timedreceive.c: Likewise.
704 * rt/mq_timedsend.c: Likewise.
705 * rt/mq_unlink.c: Likewise.
706 * rt/shm_open.c: Likewise.
707 * rt/shm_unlink.c: Likewise.
708 * rt/timer_create.c: Likewise.
709 * rt/timer_delete.c: Likewise.
710 * rt/timer_getoverr.c: Likewise.
711 * rt/timer_gettime.c: Likewise.
712 * rt/timer_settime.c: Likewise.
713 * setjmp/__longjmp.c: Likewise.
714 * setjmp/setjmp.c: Likewise.
715 * signal/kill.c: Likewise.
716 * signal/killpg.c: Likewise.
717 * signal/raise.c: Likewise.
718 * signal/sigaction.c: Likewise.
719 * signal/sigaltstack.c: Likewise.
720 * signal/sigblock.c: Likewise.
721 * signal/sigignore.c: Likewise.
722 * signal/sigintr.c: Likewise.
723 * signal/signal.c: Likewise.
724 * signal/sigpause.c: Likewise.
725 * signal/sigpending.c: Likewise.
726 * signal/sigqueue.c: Likewise.
727 * signal/sigreturn.c: Likewise.
728 * signal/sigset.c: Likewise.
729 * signal/sigsetmask.c: Likewise.
730 * signal/sigstack.c: Likewise.
731 * signal/sigsuspend.c: Likewise.
732 * signal/sigtimedwait.c: Likewise.
733 * signal/sigvec.c: Likewise.
734 * signal/sigwait.c: Likewise.
735 * signal/sigwaitinfo.c: Likewise.
736 * signal/sysv_signal.c: Likewise.
737 * socket/accept.c: Likewise.
738 * socket/accept4.c: Likewise.
739 * socket/bind.c: Likewise.
740 * socket/connect.c: Likewise.
741 * socket/getpeername.c: Likewise.
742 * socket/getsockname.c: Likewise.
743 * socket/getsockopt.c: Likewise.
744 * socket/isfdtype.c: Likewise.
745 * socket/listen.c: Likewise.
746 * socket/recv.c: Likewise.
747 * socket/recvfrom.c: Likewise.
748 * socket/recvmsg.c: Likewise.
749 * socket/send.c: Likewise.
750 * socket/sendmsg.c: Likewise.
751 * socket/sendto.c: Likewise.
752 * socket/setsockopt.c: Likewise.
753 * socket/shutdown.c: Likewise.
754 * socket/sockatmark.c: Likewise.
755 * socket/socket.c: Likewise.
756 * socket/socketpair.c: Likewise.
757 * stdio-common/ctermid.c: Likewise.
758 * stdio-common/cuserid.c: Likewise.
759 * stdio-common/remove.c: Likewise.
760 * stdio-common/rename.c: Likewise.
761 * stdio-common/renameat.c: Likewise.
762 * stdio-common/tempname.c: Likewise.
763 * stdlib/getcontext.c: Likewise.
764 * stdlib/makecontext.c: Likewise.
765 * stdlib/setcontext.c: Likewise.
766 * stdlib/swapcontext.c: Likewise.
767 * stdlib/system.c: Likewise.
768 * streams/fattach.c: Likewise.
769 * streams/fdetach.c: Likewise.
770 * streams/getmsg.c: Likewise.
771 * streams/getpmsg.c: Likewise.
772 * streams/putmsg.c: Likewise.
773 * streams/putpmsg.c: Likewise.
774 * sysdeps/unix/bsd/getpt.c: Likewise.
775 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
776 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
777 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
780 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
781 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
782 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
783 * sysvipc/msgctl.c: Likewise.
784 * sysvipc/msgget.c: Likewise.
785 * sysvipc/msgrcv.c: Likewise.
786 * sysvipc/msgsnd.c: Likewise.
787 * sysvipc/semctl.c: Likewise.
788 * sysvipc/semget.c: Likewise.
789 * sysvipc/semop.c: Likewise.
790 * sysvipc/semtimedop.c: Likewise.
791 * sysvipc/shmat.c: Likewise.
792 * sysvipc/shmctl.c: Likewise.
793 * sysvipc/shmdt.c: Likewise.
794 * sysvipc/shmget.c: Likewise.
795 * termios/tcdrain.c: Likewise.
796 * termios/tcflow.c: Likewise.
797 * termios/tcflush.c: Likewise.
798 * termios/tcgetattr.c: Likewise.
799 * termios/tcgetpgrp.c: Likewise.
800 * termios/tcsendbrk.c: Likewise.
801 * termios/tcsetattr.c: Likewise.
802 * termios/tcsetpgrp.c: Likewise.
803 * time/adjtime.c: Likewise.
804 * time/clock.c: Likewise.
805 * time/getitimer.c: Likewise.
806 * time/gettimeofday.c: Likewise.
807 * time/setitimer.c: Likewise.
808 * time/settimeofday.c: Likewise.
809 * time/stime.c: Likewise.
810 * time/time.c: Likewise.
812 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
814 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
817 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
819 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
821 2012-11-03 Joseph Myers <joseph@codesourcery.com>
824 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
825 FE_TONEAREST before applying Dekker multiplication and Knuth
826 addition. Clear inexact exceptions and check for exact zero
828 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
829 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
830 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
831 * math/libm-test.inc (fma_test): Add more tests.
832 (fma_test_towardzero): Likewise.
833 (fma_test_downward): Likewise.
834 (fma_test_upward): Likewise.
835 * sysdeps/generic/math_private.h (default_libc_fesetround): New
837 (libc_fesetround): New macro.
838 (libc_fesetroundf): Likewise.
839 (libc_fesetroundl): Likewise.
840 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
842 (libc_fesetround_387): Likewise.
843 (libc_fesetroundf): New macro.
844 (libc_fesetround): Likewise.
845 (libc_fesetroundl): Likewise.
846 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
848 (libc_fesetroundf): New macro.
849 (libc_fesetround): Likewise.
850 (libc_fesetroundl): Likewise.
851 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
852 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
853 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
855 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
856 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
858 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
859 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
861 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
865 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
866 integer constant usable in #if and use that to give value to enum
868 (FE_DIVBYZERO): Likewise.
869 (FE_UNDERFLOW): Likewise.
870 (FE_OVERFLOW): Likewise.
871 (FE_INVALID): Likewise.
872 (FE_INVALID_SNAN): Likewise.
873 (FE_INVALID_ISI): Likewise.
874 (FE_INVALID_IDI): Likewise.
875 (FE_INVALID_ZDZ): Likewise.
876 (FE_INVALID_IMZ): Likewise.
877 (FE_INVALID_COMPARE): Likewise.
878 (FE_INVALID_SOFTWARE): Likewise.
879 (FE_INVALID_SQRT): Likewise.
880 (FE_INVALID_INTEGER_CONVERSION): Likewise.
881 (FE_TONEAREST): Likewise.
882 (FE_TOWARDZERO): Likewise.
883 (FE_UPWARD): Likewise.
884 (FE_DOWNWARD): Likewise.
885 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
886 (FE_DIVBYZERO): Likewise.
887 (FE_OVERFLOW): Likewise.
888 (FE_UNDERFLOW): Likewise.
889 (FE_INEXACT): Likewise.
890 (FE_TONEAREST): Likewise.
891 (FE_DOWNWARD): Likewise.
892 (FE_UPWARD): Likewise.
893 (FE_TOWARDZERO): Likewise.
894 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
895 (FE_UNDERFLOW): Likewise.
896 (FE_OVERFLOW): Likewise.
897 (FE_DIVBYZERO): Likewise.
898 (FE_INVALID): Likewise.
899 (FE_TONEAREST): Likewise.
900 (FE_TOWARDZERO): Likewise.
901 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
902 (FE_OVERFLOW): Likewise.
903 (FE_UNDERFLOW): Likewise.
904 (FE_DIVBYZERO): Likewise.
905 (FE_INEXACT): Likewise.
906 (FE_TONEAREST): Likewise.
907 (FE_TOWARDZERO): Likewise.
908 (FE_UPWARD): Likewise.
909 (FE_DOWNWARD): Likewise.
910 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
911 (FE_DIVBYZERO): Likewise.
912 (FE_OVERFLOW): Likewise.
913 (FE_UNDERFLOW): Likewise.
914 (FE_INEXACT): Likewise.
915 (FE_TONEAREST): Likewise.
916 (FE_DOWNWARD): Likewise.
917 (FE_UPWARD): Likewise.
918 (FE_TOWARDZERO): Likewise.
920 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
922 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
924 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
926 * scripts/cross-test-ssh.sh (command): Use newlines to separate
927 commands. Quote $PWD.
928 (blacklist_exports): Don't use remove_newlines. Replace "declare
930 (remove_newlines): Remove.
932 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
934 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
935 * stdlib/stdlib.h (atof): Moved to ...
936 * include/bits/stdlib-float.h: Here. New file.
937 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
938 * stdlib/bits/stdlib-float.h: New file.
939 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
941 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
944 2012-11-02 Joseph Myers <joseph@codesourcery.com>
946 * conform/conformtest.pl (@headers): Add fenv.h.
947 * conform/data/fenv.h-data: New file.
948 * include/fenv.h [_ISOMAC]: Disable all contents of file except
949 include of <math/fenv.h>.
951 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
952 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
953 && !UNIX98]. Enables tests for XOPEN2K8.
954 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
955 POSIX2008]: Likewise.
957 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
958 (struct rusage): Do not expect type or its members.
961 * math/math.h (FP_NAN): Define macro to integer constant usable in
962 #if and use that to give value to enum constant.
963 (FP_INFINITE): Likewise.
965 (FP_SUBNORMAL): Likewise.
966 (FP_NORMAL): Likewise.
968 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
970 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
971 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
974 2012-11-02 Roland McGrath <roland@hack.frob.com>
976 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
977 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
978 autoconf-time if not.
979 * configure.in: Remove AC_PREREQ.
981 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
983 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
984 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
985 of the internal implementation.
987 2012-11-02 Joseph Myers <joseph@codesourcery.com>
989 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
990 except include of <misc/sys/syslog.h>.
992 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
995 function returns with a NULL context exit with zero.
997 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
999 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
1001 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
1003 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
1004 (run_program_cmd): This.
1005 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
1006 (tst_langinfo): New variable. Use it.
1008 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
1010 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
1011 floating point opcodes.
1013 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1015 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
1018 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
1020 * sysdeps/mach/hurd/powerpc: Remove directory.
1021 * sysdeps/mach/powerpc: Likewise.
1023 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1025 * scripts/check-local-headers.sh: Ignore c++ headers.
1027 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1029 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
1030 __libc_cleanup_region_start argument.
1032 2012-11-01 Joseph Myers <joseph@codesourcery.com>
1036 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
1037 x * y using scaling, not as x * y + z.
1038 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1039 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1040 * math/libm-test.inc (fma_test): Add more tests.
1041 (fma_test_towardzero): Likewise.
1042 (fma_test_downward): Likewise.
1043 (fma_test_upward): Likewise.
1045 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1047 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
1049 2012-10-31 Joseph Myers <joseph@codesourcery.com>
1051 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
1054 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
1056 * rt/tst-shm.c (worker): Correct checking for mmap failure.
1058 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
1060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1065 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1068 Fix the order of the list for glibc 2.17.
1069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1072 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
1074 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1076 2012-10-31 Joseph Myers <joseph@codesourcery.com>
1079 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
1080 for low part of x being zero before using __atanl (y).
1081 * math/libm-test.inc (atan2_test): Add another test.
1083 * manual/install.texi (Configuring and compiling): Document
1084 general use of test-wrapper and test-wrapper-env.
1085 * INSTALL: Regenerated.
1087 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
1088 (__fma): Do not extract and scale down low bits on after-rounding
1089 systems when result rounded to normal precision would have normal
1091 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
1092 (__fmal): Do not extract and scale down low bits on after-rounding
1093 systems when result rounded to normal precision would have normal
1095 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
1096 (__fmal): Do not extract and scale down low bits on after-rounding
1097 systems when result rounded to normal precision would have normal
1099 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
1101 (fma_test): Add more tests.
1102 (fma_test_towardzero): Likewise.
1103 (fma_test_downward): Likewise.
1104 (fma_test_upward): Likewise.
1106 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
1108 * sysdeps/i386/tininess.h: Renamed to ...
1109 * sysdeps/x86/tininess.h: This.
1110 * sysdeps/x86_64/tininess.h: Removed.
1112 2012-10-30 Joseph Myers <joseph@codesourcery.com>
1114 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
1115 input. Use $(build-program-cmd).
1116 ($(objpfx)tst-array1-static.out): Likewise.
1117 ($(objpfx)tst-array2.out): Likewise.
1118 ($(objpfx)tst-array3.out): Likewise.
1119 ($(objpfx)tst-array4.out): Likewise.
1120 ($(objpfx)tst-array5.out): Likewise.
1121 ($(objpfx)tst-array5-static.out): Likewise.
1123 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
1125 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
1128 * nss/nsswitch.h (nss_interface_function): Provide new
1129 macro for use with NSS functions.
1130 * grp/initgroups.c: Use new macro.
1131 * nss/getXXbyYY.c: Likewise.
1132 * nss/getXXbyYY_r.c: Likewise.
1133 * nss/getXXent.c: Likewise.
1134 * nss/getXXent_r.c: Likewise.
1135 * sysdeps/posix/getaddrinfo.c: Likewise.
1137 2012-10-30 Andreas Jaeger <aj@suse.de>
1139 * po/ru.po: Update Russion translation from translation project.
1141 2012-10-30 Joseph Myers <joseph@codesourcery.com>
1145 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
1146 result and shift together with sticky bit instead of replicating
1147 round-to-nearest rounding.
1148 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1149 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1150 * math/libm-test.inc (fma_test): Add more tests. Do not permit
1151 missing underflow exceptions.
1152 (fma_test_towardzero): Add more tests.
1153 (fma_test_downward): Likewise.
1154 (fma_test_upward): Likewise.
1157 * sysdeps/generic/tininess.h: New file.
1158 * sysdeps/i386/tininess.h: Likewise.
1159 * sysdeps/sh/tininess.h: Likewise.
1160 * sysdeps/x86_64/tininess.h: Likewise.
1161 * stdlib/tst-strtod-underflow.c: Likewise.
1162 * stdlib/tst-tininess.c: Likewise.
1163 * stdlib/strtod_l.c: Include <tininess.h>.
1164 (round_and_return): Do not set errno for exact underflow cases.
1165 Force an underflow exception when setting errno for underflow.
1166 Determine underflow based on rounding to normal precision if
1167 TININESS_AFTER_ROUNDING.
1168 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
1169 ERANGE for exact underflow cases.
1170 * stdlib/Makefile (tests): Add tst-tininess and
1171 tst-strtod-underflow.
1172 ($(objpfx)tst-tininess): Use $(link-libm).
1173 ($(objpfx)tst-strtod-underflow): Likewise.
1175 2012-10-30 Andreas Jaeger <aj@suse.de>
1178 * elf/Makefile (tests): Remove conditional for have-initfini-array
1179 since this is now always required and the variable does not exist
1181 (tests-static): Likewise.
1182 (modules-names): Likewise.
1184 * po/eo.po: Add Esperanto translation from translation project.
1186 * elf/tst-array1.c (fini_array): Make writeable so that it can be
1187 merged with constructor/destructor.
1188 (init_array): Likewise.
1189 * elf/tst-array2dep.c (fini_array): Likewise.
1190 (init_array): Likewise.
1192 2012-10-29 Mike Frysinger <vapier@gentoo.org>
1194 * manual/message.texi: Delete @cartouche tags.
1196 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
1198 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
1200 * sysdeps/mach/hurd/fsync.c: Likewise.
1202 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
1203 [_POSIX_REALTIME_SIGNALS]: Change condition to
1204 [_POSIX_REALTIME_SIGNALS > 0].
1206 2012-10-27 Andreas Jaeger <aj@suse.de>
1208 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
1209 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
1210 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
1211 [__WORDSIZE != 64]: Likewise.
1213 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
1215 * iconvdata/tst-table.sh: Remove ${SHELL}.
1216 * iconvdata/tst-tables.sh: Likewise.
1218 2012-10-25 David S. Miller <davem@davemloft.net>
1220 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1221 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
1224 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
1226 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1227 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
1228 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
1231 2012-10-25 Roland McGrath <roland@hack.frob.com>
1233 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1234 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
1237 2012-10-25 Joseph Myers <joseph@codesourcery.com>
1238 Jim Blandy <jimb@codesourcery.com>
1240 * scripts/cross-test-ssh.sh: New file.
1241 * manual/install.texi (Configuring and compiling): Document use of
1243 * INSTALL: Regenerated.
1245 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
1247 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
1250 2012-10-25 Joseph Myers <joseph@codesourcery.com>
1252 * Makeconfig (run-program-prefix): Fix comment.
1254 2012-10-24 Joseph Myers <joseph@codesourcery.com>
1255 Jim Blandy <jimb@codesourcery.com>
1257 * Makeconfig (test-wrapper): New variable,
1258 (test-wrapper-env): Likewise.
1259 [$(cross-compiling) = yes && $(test-wrapper) != ""]
1260 (run-built-tests): Define to yes.
1261 (run-program-prefix): Use $(test-wrapper).
1262 (built-program-cmd): Likewise.
1263 * Rules (make-test-out): Use $(test-wrapper-env) and
1264 $(host-built-program-cmd).
1265 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
1266 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
1268 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
1269 $(test-wrapper-env) to tst-rtld-load-self.sh.
1270 ($(objpfx)order2.out): Use $(test-wrapper).
1271 ($(objpfx)tst-initorder.out): Likewise.
1272 ($(objpfx)tst-initorder2.out): Likewise.
1273 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
1274 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
1275 (test_wrapper_env): New variable. Use it to run ld.so.
1276 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
1277 Use it to run ld.so.
1278 (test_wrapper_env): Likewise.
1279 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
1280 $(test-wrapper) to run-iconv-test.sh.
1281 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
1282 (ICONV): Use $test_wrapper.
1283 * posix/Makefile ($(objpfx)globtest.out): Pass
1284 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
1285 globtest.sh, not $(run-program-prefix).
1286 * posix/globtest.sh (run_via_rtld_prefix): New variable.
1287 (test_wrapper): Likewise.
1288 (test_wrapper_env): Likewise. Use it to run globtest with HOME
1289 set together with run_via_rtld_prefix.
1290 (run_program_prefix): Define in terms of test_wrapper and
1291 run_via_rtld_prefix.
1293 2012-10-24 Roland McGrath <roland@hack.frob.com>
1295 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
1296 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
1300 * include/time.h: Remove librt_hidden_proto (clock_gettime).
1301 Declare __clock_getres, __clock_gettime, __clock_settime,
1302 __clock_nanosleep, and __clock_getcpuclockid.
1303 * rt/clock_gettime.c: Define __clock_gettime as an alias.
1304 Remove librt_hidden_def (clock_gettime).
1305 * sysdeps/unix/clock_gettime.c: Likewise.
1306 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
1307 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1308 * rt/clock_getres.c: Define __clock_getres as an alias.
1309 * sysdeps/posix/clock_getres.c: Likewise.
1310 * rt/clock_settime.c: Define __clock_settime as an alias.
1311 * sysdeps/unix/clock_settime.c: Likewise.
1312 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
1313 * sysdeps/unix/clock_nanosleep.c: Likewise.
1314 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1315 * rt/clock-compat.c: New file.
1316 * rt/Makefile (librt-routines): Add clock-compat and move
1317 $(clock-routines) to ...
1318 (routines): ... here, new variable.
1319 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
1320 Don't add get_clockfreq here.
1321 * rt/Versions (libc: GLIBC_2.17): New version set.
1322 Add clock_* symbols here.
1323 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
1324 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
1325 (GLIBC_2.17): Add clock_* symbols.
1326 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1327 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1328 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1333 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1334 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
1335 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1336 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1337 * NEWS: Mention the move.
1339 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1340 Use __open, __read, __close rather than their public counterparts.
1341 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1342 (__get_clockfreq_via_cpuinfo): Likewise.
1343 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
1344 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
1346 * config.h.in (HAVE_IFUNC): New #undef.
1347 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
1349 * configure: Regenerated.
1351 2012-10-24 Mike Frysinger <vapier@gentoo.org>
1353 * configure.in: Move READELF check to start of file.
1354 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
1355 libc_cv_asm_gnu_indirect_function in the process.
1356 * configure: Regenerated.
1358 2012-10-24 Mike Frysinger <vapier@gentoo.org>
1360 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
1361 send the output to /dev/null.
1362 (libc_cv_cc_with_libunwind): Likewise.
1363 (libc_cv_as_noexecstack): Likewise.
1364 * configure: Regenerate.
1366 2012-10-24 Joseph Myers <joseph@codesourcery.com>
1368 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
1370 * posix/globtest.sh (TMPDIR): Do not set.
1371 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
1372 (testout): Likewise.
1374 2012-10-24 Andreas Jaeger <aj@suse.de>
1376 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
1377 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
1378 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
1379 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
1380 posix_fadvise64, posix_fallocate64.
1382 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
1383 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
1384 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
1386 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
1388 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
1390 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
1391 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
1392 <bits/fcntl-linux.h>.
1393 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
1395 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
1396 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
1397 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
1398 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
1399 [__WORDSIZE != 64]: Likewise.
1401 2012-10-23 Joseph Myers <joseph@codesourcery.com>
1403 * Makeconfig (run-built-tests): New variable.
1404 * Rules [$(cross-compiling) = yes]: Change condition to
1405 [$(run-built-tests) = no].
1406 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
1407 to [$(run-built-tests) = yes].
1408 * elf/Makefile [$(cross-compiling) = no]: Likewise
1409 * grp/Makefile [$(cross-compiling) = no]: Likewise.
1410 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
1411 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
1412 * intl/Makefile [$(cross-compiling) = no]: Likewise.
1413 * io/Makefile [$(cross-compiling) = no]: Likewise.
1414 * libio/Makefile [$(cross-compiling) = no]: Likewise.
1415 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
1416 * misc/Makefile [$(cross-compiling) = no]: Likewise.
1417 * posix/Makefile [$(cross-compiling) = no]: Likewise.
1418 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
1419 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
1420 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
1421 * string/Makefile [$(cross-compiling) = no]: Likewise.
1423 * posix/Makefile ($(objpfx)globtest.out): Pass
1424 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
1425 $(rtld-installed-name).
1426 * posix/globtest.sh (elf_objpfx): Remove variable.
1427 (rtld_installed_name): Likewise.
1428 (library_path): Likewise.
1429 (run_program_prefix): New variable. Use for running globtest
1432 2012-10-23 Jim Blandy <jimb@codesourcery.com>
1433 Joseph Myers <joseph@codesourcery.com>
1435 * Makeconfig (host-built-program-cmd): New variable.
1436 * elf/Makefile (tst-stackguard1-ARGS): Use
1437 $(host-built-program-cmd).
1438 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
1439 (tst-spawn-ARGS): Likewise.
1440 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
1442 2012-10-23 Joseph Myers <joseph@codesourcery.com>
1443 Jim Blandy <jimb@codesourcery.com>
1445 * Makeconfig (run-via-rtld-prefix): New variable.
1446 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
1447 (built-program-cmd): Likewise.
1449 2012-10-22 Andreas Jaeger <aj@suse.de>
1451 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
1452 __O_RSYNC if it exists, otherwise to O_SYNC.
1454 2012-10-22 Jim Blandy <jimb@codesourcery.com>
1455 Joseph Myers <joseph@codesourcery.com>
1457 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
1459 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
1461 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
1464 2012-10-22 Andreas Jaeger <aj@suse.de>
1466 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
1468 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
1470 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1473 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
1474 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
1476 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
1478 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
1481 2012-10-21 Jim Blandy <jimb@codesourcery.com>
1482 Joseph Myers <joseph@codesourcery.com>
1484 * config.make.in (NM): New variable.
1486 2012-10-21 Andreas Jaeger <aj@suse.de>
1488 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
1489 definitions and declarations that are provided by
1490 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1492 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
1495 * elf/Makefile (tests-static): Add tst-leaks1-static.
1496 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
1497 ($(objpfx)tst-leaks1-static): New rule.
1498 ($(objpfx)tst-leaks1-static-mem): Likewise.
1499 (tst-leaks1-static-ENV): New macro.
1500 * elf/dl-open.c (dl_open_worker): Check the main application
1501 only if SHARED is defined.
1502 * elf/tst-leaks1-static.c: New file.
1504 2012-10-20 Andreas Jaeger <aj@suse.de>
1506 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
1507 generic values for Linux.
1508 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
1509 and declarations that are provided by <bits/fcntl-linux.h> and
1510 include <bits/fcntl-linux.h>.
1511 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1512 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
1514 2012-10-20 Roland McGrath <roland@hack.frob.com>
1516 * io/fcntl.h: Move include of <bits/types.h> to the top and
1517 include it unconditionally.
1519 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
1521 * wcsmbs/Makefile (tests-ifunc): New variable.
1522 (tests): Add $(tests-ifunc).
1523 * wcsmbs/test-wcschr-ifunc.c: New file.
1524 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
1525 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
1526 * wcsmbs/test-wcslen-ifunc.c: Likewise.
1527 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
1528 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
1530 * string/Makefile (tests-ifunc): New variable.
1531 (tests): Add $(tests-ifunc).
1532 * string/test-memccpy.c (TEST_NAME): New macro.
1533 * string/test-memchr.c (TEST_NAME): Likewise.
1534 * string/test-memcmp.c (TEST_NAME): Likewise.
1535 * string/test-memcpy.c (TEST_NAME): Likewise.
1536 * string/test-memmem.c (TEST_NAME): Likewise.
1537 * string/test-memmove.c (TEST_NAME): Likewise.
1538 * string/test-memset.c (TEST_NAME): Likewise.
1539 * string/test-rawmemchr.c (TEST_NAME): Likewise.
1540 * string/test-stpcpy.c (TEST_NAME): Likewise.
1541 * string/test-stpncpy.c (TEST_NAME): Likewise.
1542 * string/test-strcasecmp.c (TEST_NAME): Likewise.
1543 * string/test-strcasestr.c (TEST_NAME): Likewise.
1544 * string/test-strcat.c (TEST_NAME): Likewise.
1545 * string/test-strchr.c (TEST_NAME): Likewise.
1546 * string/test-strcmp.c(TEST_NAME): Likewise.
1547 * string/test-strcpy.c (TEST_NAME): Likewise.
1548 * string/test-strcspn.c (TEST_NAME): Likewise.
1549 * string/test-strlen.c (TEST_NAME): Likewise.
1550 * string/test-strncasecmp.c (TEST_NAME): Likewise.
1551 * string/test-strncmp.c (TEST_NAME): Likewise.
1552 * string/test-strncpy.c (TEST_NAME): Likewise.
1553 * string/test-strnlen.c (TEST_NAME): Likewise.
1554 * string/test-strpbrk.c (TEST_NAME): Likewise.
1555 * string/test-strrchr.c (TEST_NAME): Likewise.
1556 * string/test-strspn.c (TEST_NAME): Likewise.
1557 * string/test-strstr.c (TEST_NAME): Likewise.
1558 * string/test-bcopy-ifunc.c: New file.
1559 * string/test-bzero-ifunc.c: Likewise.
1560 * string/test-memccpy-ifunc.c: Likewise.
1561 * string/test-memchr-ifunc.c: Likewise.
1562 * string/test-memcmp-ifunc.c: Likewise.
1563 * string/test-memcpy-ifunc.c: Likewise.
1564 * string/test-memmem-ifunc.c: Likewise.
1565 * string/test-memmove-ifunc.c: Likewise.
1566 * string/test-mempcpy-ifunc.c: Likewise.
1567 * string/test-memset-ifunc.c: Likewise.
1568 * string/test-rawmemchr-ifunc.c: Likewise.
1569 * string/test-stpcpy-ifunc.c: Likewise.
1570 * string/test-stpncpy-ifunc.c: Likewise.
1571 * string/test-strcasecmp-ifunc.c: Likewise.
1572 * string/test-strcasestr-ifunc.c: Likewise.
1573 * string/test-strcat-ifunc.c: Likewise.
1574 * string/test-strchr-ifunc.c: Likewise.
1575 * string/test-strchrnul-ifunc.c: Likewise.
1576 * string/test-strcmp-ifunc.c: Likewise.
1577 * string/test-strcpy-ifunc.c: Likewise.
1578 * string/test-strcspn-ifunc.c: Likewise.
1579 * string/test-strlen-ifunc.c: Likewise.
1580 * string/test-strncasecmp-ifunc.c: Likewise.
1581 * string/test-strncat-ifunc.c: Likewise.
1582 * string/test-strncmp-ifunc.c: Likewise.
1583 * string/test-strncpy-ifunc.c: Likewise.
1584 * string/test-strnlen-ifunc.c: Likewise.
1585 * string/test-strpbrk-ifunc.c: Likewise.
1586 * string/test-strrchr-ifunc.c: Likewise.
1587 * string/test-strspn-ifunc.c: Likewise.
1588 * string/test-strstr-ifunc.c: Likewise.
1590 * debug/Makefile (tests-ifunc): New variable.
1591 (tests): Add $(tests-ifunc).
1592 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
1593 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
1594 * debug/test-stpcpy_chk-ifunc.c: New file.
1595 * debug/test-strcpy_chk-ifunc.c: Likewise.
1597 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1600 * elf/dl-load.c (open_verify): Retry read if the entire ELF
1601 header is not read in.
1603 2012-10-19 Joseph Myers <joseph@codesourcery.com>
1605 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
1606 script to $(SHELL) as $<. Pass $(common-objpfx) to script
1607 directly. Pass built executable to script as
1608 $(built-program-cmd).
1609 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
1610 $testprogram without using LD_LIBRARY_PATH and $ldso.
1612 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
1613 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
1614 $(rtld-installed-name).
1615 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
1616 (rtld_installed_name): Likewise.
1617 (library_path): Likewise.
1618 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
1619 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
1620 $(run-program-prefix) to tst-tables.sh.
1621 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
1622 it to run tst-table-from and tst-table-to.
1623 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
1624 Pass it to tst-table.sh.
1625 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
1626 $(run-program-prefix) to tst-gettext.sh.
1627 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
1629 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
1631 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
1633 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
1634 to run tst-gettext2.
1635 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
1636 to run tst-translit.
1637 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
1638 $(run-program-prefix) to tst-mtrace.sh.
1639 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
1641 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
1642 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
1643 $(rtld-installed-name).
1644 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
1645 (rtld_installed_name): Likewise.
1646 (run_program_prefix): New variable. Use it to run wordexp-test.
1648 * Makeconfig (ARCH): Remove all definitions.
1649 (machine): Likewise.
1650 [ARCH]: Remove conditional code.
1651 [!objdir]: Give error.
1652 [!objdir] (objpfx): Remove.
1653 [!objdir] (common-objpfx): Likewise.
1654 [!objdir] (common-objdir): Likewise.
1655 * configure.in (config_makefile): Remove. Hardcode Makefile in
1656 AC_CONFIG_FILES call.
1657 * configure: Regenerated.
1660 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
1662 (testout): Likewise.
1664 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
1665 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
1666 $(rtld-installed-name).
1667 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
1668 (rtld_installed_name): Likwise.
1669 (runit): Remove function.
1670 (run_getconf): New variable, Use it for running getconf binary.
1672 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
1675 * string/test-memmem.c (check_result): New function.
1676 (do_one_test): Use it.
1677 (check1): New function.
1678 (test_main): Use it.
1680 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
1682 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
1684 2012-10-18 Joseph Myers <joseph@codesourcery.com>
1686 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
1687 (_G_LSEEK64): Likewise.
1688 (_G_MMAP64): Likewise.
1689 (_G_FSTAT64): Likewise.
1690 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
1691 (_G_LSEEK64): Likewise.
1692 (_G_MMAP64): Likewise.
1693 (_G_FSTAT64): Likewise.
1694 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
1695 unconditional. Call __mmap64 directly.
1696 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
1697 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
1699 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
1700 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
1702 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
1703 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
1705 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
1706 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
1708 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
1709 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
1711 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
1712 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
1713 __fxstat64 directly.
1714 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
1715 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
1717 (freopen64) [!_G_OPEN64]: Remove conditional code.
1718 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
1720 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
1721 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
1723 (ftello64) [!_G_LSEEK64]: Remove conditional code.
1724 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
1726 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
1727 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
1729 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
1730 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
1732 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
1733 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
1735 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
1736 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
1738 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
1740 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1743 * manual/memory.texi (Malloc Tunable Parameters): Add note
1744 about free list pointers overwriting some perturb bytes.
1745 Wording suggested by Roland McGrath.
1747 2012-10-17 Joseph Myers <joseph@codesourcery.com>
1749 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
1750 (lgamma_test): Likewise.
1751 (tgamma_test): Likewise.
1753 2012-10-16 Florian Weimer <fweimer@redhat.com>
1756 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
1757 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
1759 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
1761 * NEWS: Mention BZ #14716.
1762 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
1763 when removing AVAILABLE1_USES_J macro.
1765 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
1767 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
1768 (__bswap_64): __uint64_t for unsigned 64-bit int.
1770 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
1772 * include/string.h (memmem): Declare libc hidden alias.
1773 * string/memmem.c (memmem): Define libc hidden alias.
1774 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
1775 __read, __close instead of open, read, close.
1777 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
1779 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
1780 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
1782 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
1783 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
1784 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
1786 (__rawmemchr_sse2): Likewise.
1787 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
1788 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
1789 (__strchr_sse2): Likewise.
1790 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
1791 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
1792 (__strcasecmp_sse2): Likewise.
1793 (__strncasecmp_sse2): Likewise.
1794 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
1795 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
1796 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
1797 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
1798 (__strrchr_sse2): Likewise.
1799 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
1801 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1802 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1803 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1804 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1805 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1806 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1807 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1808 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1809 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
1810 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
1811 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
1812 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
1813 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
1814 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
1815 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
1816 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1817 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1818 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
1819 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
1820 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
1821 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
1822 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
1823 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
1824 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
1825 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
1826 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1827 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1828 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
1829 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
1830 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1832 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
1834 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
1835 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
1836 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
1837 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
1839 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
1841 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
1842 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
1843 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
1844 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
1846 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1847 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1848 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1849 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1850 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1851 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1852 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1853 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1854 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1855 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1856 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1857 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1858 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1859 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
1860 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
1861 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1862 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
1863 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
1864 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1865 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1866 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1867 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1868 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1869 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1870 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1871 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
1872 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
1873 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
1874 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
1875 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1876 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
1877 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1878 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1879 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
1880 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1881 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1882 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1883 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1884 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1885 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1886 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
1888 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
1889 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
1890 * include/ifunc-impl-list.h: New file.
1891 * misc/ifunc-impl-list.c: Likewise.
1892 * misc/Makefile (routines): Add ifunc-impl-list.
1893 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
1894 * string/test-string.h: Include <ifunc-impl-list.h>.
1895 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
1896 impl_array): New variables.
1897 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
1899 (test_init): Call __libc_ifunc_impl_list to initialize
1900 func_list if TEST_IFUNC and TEST_NAME are defined.
1902 * string/Makefile (strop-tests): Add bcopy and bzero.
1903 * string/test-bcopy.c: New file.
1904 * string/test-bzero.c: Likewise.
1905 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
1907 * string/test-memset.c: Support bzero test if TEST_BZERO is
1909 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
1911 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
1913 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
1916 2012-10-10 Joseph Myers <joseph@codesourcery.com>
1918 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
1919 * configure: Regenerated.
1921 * Makeconfig (+link-static-before-libc): Don't include
1922 $(link-static-libc).
1924 * libio/libio.h (_IO_pos_t): Remove.
1926 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
1928 * NEWS: Add note about FIPS mode. Wording suggested by Roland
1931 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
1933 * crypt/crypt-entry.c: Include fips-private.h.
1934 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
1935 * crypt/md5c-test.c (main): Tolerate disabled MD5.
1936 * sysdeps/unix/sysv/linux/fips-private.h: New file.
1937 * sysdeps/generic/fips-private.h: New file, dummy fallback.
1939 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
1941 * crypt/crypt-private.h: Include stdbool.h.
1942 (_ufc_setup_salt_r): Return bool.
1943 * crypt/crypt-entry.c: Include errno.h.
1944 (__crypt_r): Return NULL with EINVAL for bad salt.
1945 * crypt/crypt_util.c (bad_for_salt): New.
1946 (_ufc_setup_salt_r): Check that salt is long enough and within
1947 the specified alphabet.
1948 * crypt/badsalttest.c: New file.
1949 * crypt/Makefile (tests): Add it.
1950 ($(objpfx)badsalttest): New.
1952 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
1954 * NEWS: Add entry for BZ #14602.
1956 2012-10-09 Joseph Myers <joseph@codesourcery.com>
1958 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
1960 * math/libm-test.inc: Update comment listing what functions and
1962 (isgreater_test): New function.
1963 (isgreaterequal_test): Likewise.
1964 (isless_test): Likewise.
1965 (islessequal_test): Likewise.
1966 (islessgreater_test): Likewise.
1967 (isunordered_test): Likewise.
1968 (main): Call the new functions.
1970 2012-10-09 Roland McGrath <roland@hack.frob.com>
1972 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
1973 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
1974 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
1975 * sysdeps/i386/configure: Regenerated.
1976 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
1977 * sysdeps/mach/configure: Regenerated.
1978 * sysdeps/mach/hurd/configure: Regenerated.
1979 * sysdeps/powerpc/configure: Regenerated.
1980 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1981 * sysdeps/powerpc/powerpc64/configure: Regenerated.
1982 * sysdeps/s390/s390-32/configure: Regenerated.
1983 * sysdeps/s390/s390-64/configure: Regenerated.
1984 * sysdeps/sh/configure: Regenerated.
1985 * sysdeps/sparc/configure: Regenerated.
1986 * sysdeps/unix/sysv/linux/configure: Regenerated.
1987 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1988 * sysdeps/x86_64/configure: Regenerated.
1990 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
1991 defined. Don't check if MAP is NULL.
1993 2012-10-09 Joseph Myers <joseph@codesourcery.com>
1995 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
1996 (_G_stat64): Likewise.
1997 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
1998 (_G_stat64): Likewise.
1999 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
2000 instead of struct _G_stat64.
2001 * libio/fileops.c (mmap_remap_check): Likewise.
2002 (decide_maybe_mmap): Likewise.
2003 (_IO_new_file_seekoff): Likewise.
2004 (_IO_file_stat): Likewise.
2005 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
2007 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
2008 instead of struct _G_stat64.
2009 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2011 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
2014 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2016 (CHECK_EOL): New macro.
2017 (two_way_short_needle): Check beginning of haystack for EOL. Use
2019 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2020 Replace with CHECK_EOL.
2021 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2022 Replace with CHECK_EOL.
2024 2012-10-08 Joseph Myers <joseph@codesourcery.com>
2026 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
2028 * math/libm-test.inc: Update comment listing what functions and
2030 (finite_test): New function.
2031 (isinf_test): Likewise.
2032 (isnan_test): Likewise.
2033 (fpclassify_test): Test subnormal input.
2034 (isfinite_test): Likewise.
2035 (isnormal_test): Likewise.
2036 (main): Call the new functions.
2038 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
2041 * Makerules (%.dynsym): Force C locale when running
2042 $(OBJDUMP) --dynamic-syms.
2044 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
2046 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
2049 2012-10-06 David S. Miller <davem@davemloft.net>
2051 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
2052 upper 32-bits of the length value in %o2 since we use branch-on-register
2053 tests which consider the entire 64-bit register.
2055 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
2057 * string/test-strstr.c (check2): Add a test for page boundary.
2059 2012-10-05 David S. Miller <davem@davemloft.net>
2061 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
2062 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
2064 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
2066 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
2067 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
2068 and bzero when HWCAP_SPARC_CRYPTO is present.
2070 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
2073 * string/test-strstr.c (check2): New function.
2074 (test_main): Call check2.
2076 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
2078 * string/bug-strcasestr1.c (do_test): Moved to ...
2079 * string/test-strcasestr.c (check1): Here. New function.
2080 (do_one_test): Break out result checking code into ...
2081 (check_result): This. New function.
2082 (do_one_test): Call check_result.
2083 (test_main): Call check1.
2084 * string/bug-strchr1.c (do_test): Moved to ...
2085 * string/test-strchr.c (check1): Here. New function.
2086 (do_one_test): Break out result checking code into ...
2087 (check_result): This. New function.
2088 (do_one_test): Call check_result.
2089 (test_main): Call check1.
2090 * string/bug-strstr1.c (main): Moved to ...
2091 * string/test-strchr.c (check1): Here. New function.
2092 (do_one_test): Break out result checking code into ...
2093 (check_result): This. New function.
2094 (do_one_test): Call check_result.
2095 (test_main): Call check1.
2096 * string/bug-strcasestr1.c: Removed.
2097 * string/bug-strchr1.c: Likewise.
2098 * string/bug-strstr1.c: Likewise.
2100 * elf/Makefile (dl-routines): Add hwcaps.
2101 * elf/dl-support.c (_dl_important_hwcaps): Removed.
2102 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
2103 (_dl_important_hwcaps): Moved to ...
2104 * elf/dl-hwcaps.c: Here. New file.
2105 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
2108 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
2109 if IS_IN_rtld isn't defined.
2111 * elf/dl-support.c (_dl_sysinfo_map): New.
2112 Include "get-dynamic-info.h" and "setup-vdso.h".
2113 (_dl_non_dynamic_init): Call setup_vdso.
2114 * elf/dynamic-link.h: Don't include <assert.h>.
2115 (elf_get_dynamic_info): Moved to ...
2116 * elf/get-dynamic-info.h: Here. New file.
2117 * elf/dynamic-link.h: Include "get-dynamic-info.h".
2118 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
2119 * elf/setup-vdso.h: Here. New file.
2120 * elf/rtld.c: Include "setup-vdso.h".
2121 (dl_main): Call setup_vdso.
2123 2012-10-05 Joseph Myers <joseph@codesourcery.com>
2125 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
2126 creal in comment listing functions tested. List finite, isinf,
2127 isnan, isless, islessequal, isgreater, isgreaterequal,
2128 islessgreater, isunordered, lgamma_r and pow10 as functions and
2129 macros not tested. Mention which functions not tested are aliases
2130 for other functions. Fix typo. Note that signs of NaNs are not
2133 * scripts/config.guess: Update from config.git.
2134 * scripts/config.sub: Likewise.
2136 2012-10-04 Roland McGrath <roland@hack.frob.com>
2138 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
2139 * misc/madvise.c (madvise): Renamed to __madvise.
2140 Make madvise a weak alias.
2141 * include/sys/mman.h: Declare __madvise.
2142 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
2143 * sysdeps/unix/syscalls.list
2144 (madvise): Make __madvise the strong name, and madvise a weak alias.
2145 * sysdeps/unix/sysv/linux/syscalls.list
2146 (madvise, mmap): Remove redundant entries.
2147 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
2148 * malloc/malloc.c (mtrim): Likewise.
2149 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
2151 2012-10-03 Roland McGrath <roland@hack.frob.com>
2153 * sysdeps/mach/hurd/dl-cache.c: File removed.
2154 * config.h.in (USE_LDCONFIG): New #undef.
2155 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
2156 * configure: Regenerated.
2157 * elf/Makefile (dl-routines): Add dl-cache only under
2158 [$(use-ldconfig) = yes].
2159 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
2160 cache on [USE_LDCONFIG].
2161 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
2163 * elf/rtld.c (dl_main): Likewise.
2165 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
2167 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
2168 _SC_LEVEL4_CACHE_LINESIZE.
2170 2012-10-03 Roland McGrath <roland@hack.frob.com>
2172 * sysdeps/unix/bsd/confstr.h: File removed.
2174 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
2176 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
2179 2012-10-02 Roland McGrath <roland@hack.frob.com>
2181 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
2182 Make 'mapoff' field ElfW(Off) rather than off_t.
2184 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
2186 * nscd/Makefile: Remove nscd-cflags and all its users.
2187 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
2188 (CFLAGS-nonlib): Add compiler flags for nscd modules.
2191 * malloc.c (malloc_printerr): Clarify error message.
2193 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
2196 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2197 Set bit_FMA_Usable if FMA is supported.
2198 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
2200 (bit_FMA4_Usable): Updated.
2201 (index_FMA_Usable): New macro.
2202 (CPUID_FMA): Likewise
2203 (HAS_FMA): Defined with bit_FMA_Usable.
2205 2012-10-01 Roland McGrath <roland@hack.frob.com>
2207 * bits/types.h (__swblk_t): Type removed.
2208 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
2209 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
2210 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2211 (__SWBLK_T_TYPE): Likewise.
2212 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2213 (__SWBLK_T_TYPE): Likewise.
2214 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2215 (__SWBLK_T_TYPE): Likewise.
2216 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2217 (__SWBLK_T_TYPE): Likewise.
2219 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
2220 Honza Horak <hhorak@redhat.com>
2222 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
2223 (xdr_mapname): Use YPMAXMAP as maxsize.
2224 (xdr_peername): Use YPMAXPEER as maxsize.
2225 (xdr_keydat): Use YPAXRECORD as maxsize.
2226 (xdr_valdat): Use YPMAXRECORD as maxsize.
2228 2012-10-01 Roland McGrath <roland@hack.frob.com>
2230 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
2232 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
2233 * csu/init-first.c: ... here.
2234 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
2235 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
2236 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
2237 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2238 * sysdeps/i386/init-first.c: File removed.
2239 * sysdeps/sh/init-first.c: File removed.
2241 2012-10-01 Joseph Myers <joseph@codesourcery.com>
2244 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
2245 if x * y might underflow to zero and z is zero.
2246 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2247 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2248 * math/libm-test.inc (min_subnorm_value): New variable.
2249 (fma_test): Add more tests.
2250 (fma_test_towardzero): Likewise.
2251 (fma_test_downward): Likewise
2252 (fma_test_upward): Likewise.
2253 (initialize): Set min_subnorm_value.
2255 2012-09-29 Joseph Myers <joseph@codesourcery.com>
2258 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
2260 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
2261 mode for addition resulting in exact zero.
2262 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
2263 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
2265 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2266 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2267 * math/libm-test.inc (fma_test): Add more tests.
2268 (fma_test_towardzero): New function.
2269 (fma_test_downward): Likewise.
2270 (fma_test_upward): Likewise.
2271 (main): Call the new functions.
2273 2012-09-28 David S. Miller <davem@davemloft.net>
2275 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
2277 2012-09-28 Roland McGrath <roland@hack.frob.com>
2279 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
2282 * sysdeps/gnu/_G_config.h: Moved to ...
2283 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
2284 * sysdeps/mach/hurd/_G_config.h: Moved to ...
2285 * sysdeps/generic/_G_config.h: ... here.
2287 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
2289 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
2291 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
2292 Conditionalize target on [libnss_test1.so-version].
2294 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
2296 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
2297 (elfobjdir): Move out of conditionals.
2299 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
2300 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
2301 (__nss_lookup_function): Conditionalize label remove_from_tree on
2302 [!DO_STATIC_NSS || SHARED], matching its only use.
2304 2012-09-28 David S. Miller <davem@davemloft.net>
2306 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
2307 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
2309 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
2311 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
2312 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
2313 when HWCAP_SPARC_CRYPTO is present.
2315 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2317 * io/tst-mknodat.c: Create a FIFO instead of a socket.
2319 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
2322 * stdio-common/vfprintf.c (process_string_arg): Revert
2325 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
2327 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
2329 * stdio-common/tst-sprintf.c: Include <locale.h>
2330 (main): Test sprintf's handling of incomplete multibyte
2333 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
2335 * elf/dl-runtime.c (VERSYMIDX): Removed.
2336 * elf/dl-version.c (VERSYMIDX): Likewise.
2337 * elf/do-rel.h (VERSYMIDX): Likewise.
2339 * elf/dynamic-link.h (VERSYMIDX): Likewise.
2340 * elf/rtld.c (VALIDX): Likewise.
2341 (ADDRIDX): Likewise.
2342 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
2343 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
2344 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
2345 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
2347 (ADDRIDX): Likewise.
2349 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2351 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
2353 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
2356 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
2358 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
2359 addresses are in the same scope as 192.0.2/24.
2360 * posix/gai.conf: Document new scope table defaults.
2362 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2365 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
2366 for ftell. Compute offsets from write pointers instead.
2367 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2369 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2372 * libio/Makefile (tests): New test case tst-fseek.
2373 * libio/tst-fseek.c: New test case to verify that fseek/ftell
2374 combination works in wide mode.
2375 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
2376 state when the external buffer state changes.
2378 2012-09-27 David S. Miller <davem@davemloft.net>
2381 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
2382 pass reloc->r_addend in as the 'high' argument to
2383 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
2385 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2387 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2389 * rt/tst-aio2.c: Include <pthread.h>.
2390 * rt/tst-aio3.c: Likewise.
2392 2012-09-27 Steve Ellcey <sellcey@mips.com>
2394 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
2396 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
2398 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
2399 contents on [SHARED].
2401 2012-09-26 Marek Polacek <polacek@redhat.com>
2405 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
2406 for C++ and GCC <4.3 as well as for non GCC compilers.
2408 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
2410 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2412 2012-09-25 Roland McGrath <roland@hack.frob.com>
2414 * Makefile.in (all, install): Declare with .PHONY.
2415 Reported by Michael Hope <michael.hope@linaro.org>.
2417 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2419 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
2420 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
2422 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
2424 (sydep_routines): Add the new and the internal functions.
2425 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
2426 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
2427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
2428 (GLIBC_2.17): Add the new function.
2429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2430 (GLIBC_2.17): Likewise.
2431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
2432 (GLIBC_2.17): Likewise.
2433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
2434 (GLIBC_2.17): Likewise.
2435 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
2437 2012-09-25 Alan Modra <amodra@gmail.com>
2439 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
2440 Add release barrier before setting once_control to say
2441 initialisation is done. Add hints on lwarx. Use macro in
2443 (clear_once_control): Add release barrier.
2445 2012-09-25 Joseph Myers <joseph@codesourcery.com>
2448 * math/s_clog.c (__clog): Handle more values close to |z| = 1
2450 * math/s_clog10.c (__clog10): Likewise.
2451 * math/s_clog10f.c (__clog10f): Likewise.
2452 * math/s_clog10l.c (__clog10l): Likewise.
2453 * math/s_clogf.c (__clogf): Likewise.
2454 * math/s_clogl.c (__clogl): Likewise.
2455 * math/Makefile (libm-calls): Add x2y2m1.
2456 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
2457 (__x2y2m1): Likewise.
2458 (__x2y2m1l): Likewise.
2459 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
2460 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
2461 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2462 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
2463 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
2464 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
2465 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
2466 * sysdeps/i386/fpu/libm-test-ulps: Update.
2467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2470 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
2471 int as type of variable DEPTH.
2472 (glob): Use size_t instead of int as type of variables NEWCOUNT
2475 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2477 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
2479 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
2480 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
2481 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
2482 macros for using routine as __sincosf_ia32.
2483 Use macro for function declaration and weak_alias.
2484 * sysdeps/i386/fpu/libm-test-ulps: Update.
2486 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
2487 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2489 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
2491 * math/s_cexpf.c (__cexpf): Likewise.
2492 * math/s_csinf.c (__csinf): Likewise.
2493 * math/s_csinhf.c (__csinhf): Likewise.
2494 * math/s_ctanf.c (__ctanf): Likewise.
2495 * math/s_ctanhf.c (__ctanhf): Likewise.
2496 * math/s_ccosh.c (__ccoshf): Likewise.
2497 * math/s_cexp.c (__cexpl): Likewise.
2498 * math/s_csin.c (__csin): Likewise.
2499 * math/s_csinh.c (__csinh): Likewise.
2500 * math/s_ctan.c (__ctan): Likewise.
2501 * math/s_ctanh.c (ctanh): Likewise.
2502 * math/s_ccoshl.c (__ccoshl): Likewise.
2503 * math/s_cexpl.c (__cexpl): Likewise.
2504 * math/s_csinl.c (__csinl): Likewise.
2505 * math/s_csinhl.c (__csinhl): Likewise.
2506 * math/s_ctanl.c (__ctanl): Likewise.
2507 * math/s_ctanhl.c (__ctanhl): Likewise.
2509 2012-09-25 Joseph Myers <joseph@codesourcery.com>
2511 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
2512 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
2513 (_IO_off_t): Define to __off_t, not _G_off_t.
2514 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
2515 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
2516 (_IO_wint_t): Define to wint_t, not _G_wint_t.
2517 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
2518 type of __dummy and __dummy2 fields.
2519 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
2520 (_G_ssize_t): Likewise.
2521 (_G_off_t): Likewise.
2522 (_G_pid_t): Likewise.
2523 (_G_uid_t): Likewise.
2524 (_G_wchar_t): Likewise.
2525 (_G_wint_t): Likewise.
2526 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
2527 (_G_ssize_t): Likewise.
2528 (_G_off_t): Likewise.
2529 (_G_pid_t): Likewise.
2530 (_G_uid_t): Likewise.
2531 (_G_wchar_t): Likewise.
2532 (_G_wint_t): Likewise.
2533 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
2534 (_G_ssize_t): Likewise.
2535 (_G_off_t): Likewise.
2536 (_G_pid_t): Likewise.
2537 (_G_uid_t): Likewise.
2538 (_G_wchar_t): Likewise.
2539 (_G_wint_t): Likewise.
2541 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2543 * malloc/arena.c: Include malloc-sysdep.h.
2544 (shrink_heap): Use check_may_shrink_heap to decide if madvise
2545 is sufficient to shrink the heap or an unmap is needed.
2546 * sysdeps/generic/malloc-sysdep.h: New file. Define
2547 new function check_may_shrink_heap.
2548 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
2549 new function check_may_shrink_heap.
2551 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2553 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
2556 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
2558 * catgets/test-gencat.sh: Add "set -e".
2559 * elf/tst-pathopt.sh: Likewise.
2560 * grp/tst_fgetgrent.sh: Likewise.
2561 * iconvdata/run-iconv-test.sh: Likewise.
2562 * intl/tst-gettext.sh: Likewise.
2563 * intl/tst-gettext2.sh: Likewise.
2564 * intl/tst-gettext4.sh: Likewise.
2565 * intl/tst-gettext6.sh: Likewise.
2566 * intl/tst-translit.sh: Likewise.
2567 * io/ftwtest-sh: Likewise.
2568 * libio/test-freopen.sh: Likewise.
2569 * malloc/tst-mtrace.sh: Likewise.
2570 * posix/globtest.sh: Likewise.
2571 * posix/tst-getconf.sh: Likewise.
2572 * posix/wordexp-tst.sh: Likewise.
2573 * stdio-common/tst-printf.sh: Likewise.
2574 * stdio-common/tst-unbputc.sh: Likewise.
2575 * stdlib/tst-fmtmsg.sh: Likewise.
2576 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
2577 * catgets/Makefile: Do not specify -e option when running
2578 testsuite shell scripts.
2579 * elf/Makefile: Likewise.
2580 * grp/Makefile: Likewise.
2581 * iconvdata/Makefile: Likewise.
2582 * intl/Makefile: Likewise.
2583 * io/Makefile: Likewise.
2584 * libio/Makefile: Likewise.
2585 * malloc/Makefile: Likewise.
2586 * posix/Makefile: Likewise.
2587 * stdio-common/Makefile: Likewise.
2588 * stdlib/Makefile: Likewise.
2589 * sysdeps/x86_64/Makefile: Likewise.
2591 * io/ftwtest-sh: Add copyright header.
2592 * posix/globtest.sh: Likewise.
2593 * posix/tst-getconf.sh: Likewise.
2594 * posix/wordexp-tst.sh: Likewise.
2595 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
2597 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
2600 * Makeconfig (+link): Defined as $(+link-static) if
2601 $(build-shared) isn't yes.
2602 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
2604 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
2606 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
2609 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
2610 new chunk size with MALLOC_ALIGN_MASK.
2612 2012-09-24 Joseph Myers <joseph@codesourcery.com>
2615 * stdio-common/printf_fphex.c: Include <stdbool.h> and
2617 (__printf_fphex): Determine rounding using get_rounding_mode and
2619 * stdio-common/tst-printf-round.c (struct hex_test): New
2621 (hex_tests): New variable.
2622 (test_hex_in_one_mode): New function.
2623 (do_test): Also run tests for hex float output.
2625 2012-09-21 Joseph Myers <joseph@codesourcery.com>
2627 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
2628 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
2629 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
2630 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
2631 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
2632 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
2633 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
2634 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
2636 2012-09-20 Joseph Myers <joseph@codesourcery.com>
2638 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
2639 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
2640 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
2641 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
2643 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
2646 * elf/rtld.c (dl_main): Limit the check for self loading to normal
2648 * elf/tst-rtld-load-self.sh: New test.
2649 * elf/Makefile: Run it.
2651 2012-09-18 Joseph Myers <joseph@codesourcery.com>
2653 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
2654 (tst-writev-ENV): Remove.
2655 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
2657 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
2659 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
2661 2012-09-17 Joseph Myers <joseph@codesourcery.com>
2663 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
2665 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
2667 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
2668 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
2669 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
2672 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
2675 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
2676 * config.make.in (have-cpp-asm-debuginfo): Removed.
2677 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
2678 * configure: Regenerated.
2680 2012-09-14 Joseph Myers <joseph@codesourcery.com>
2683 * stdio-common/printf_fp.c: Include <stdbool.h> and
2685 (___printf_fp): Determine rounding using get_rounding_mode and
2687 * stdio-common/tst-printf-round.c: New file.
2688 * stdio-common/Makefile (tests): Add tst-printf-round.
2689 (link-libm): New variable.
2690 ($(objpfx)tst-printf-round): Depend in $(link-libm).
2692 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
2695 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
2696 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
2698 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
2701 2012-09-13 Joseph Myers <joseph@codesourcery.com>
2703 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
2704 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
2705 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
2706 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
2708 2012-09-12 Joseph Myers <joseph@codesourcery.com>
2711 * include/rounding-mode.h: New file.
2712 * sysdeps/generic/get-rounding-mode.h: Likewise.
2713 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
2714 * stdlib/strtod_l.c: Include <rounding-mode.h>.
2715 (MAX_VALUE): New macro.
2716 (MIN_VALUE): Likewise.
2717 (overflow_value): New function.
2718 (underflow_value): Likewise.
2719 (round_and_return): Use overflow_value and underflow_value to
2720 determine return values in overflow and underflow cases. Use
2721 round_away to determine rounding depending on rounding mode.
2722 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
2723 determine return values in overflow and underflow cases.
2724 * stdlib/tst-strtod-round.c: Include <fenv.h>.
2725 (struct test_results): New structure.
2726 (struct test): Use struct test_results to store expected results
2727 for all rounding modes.
2728 (TEST): Include expected results for all rounding modes.
2729 (test_in_one_mode): New function.
2730 (do_test): Use test_in_one_mode to compute and check results.
2731 Check results for all rounding modes.
2732 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
2735 2012-12-09 Allan McRae <allan@archlinux.org>
2737 * sysdeps/i386/fpu/libm-test-ulps: Update
2739 2012-09-11 Joseph Myers <joseph@codesourcery.com>
2741 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
2742 (_G_int32_t): Likewise.
2743 (_G_uint16_t): Likewise.
2744 (_G_uint32_t): Likewise.
2745 (_G_HAVE_BOOL): Likewise.
2746 (_G_HAVE_ATEXIT): Likewise.
2747 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
2748 (_G_HAVE_IO_FILE_OPEN): Likewise.
2749 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
2750 (_G_int32_t): Likewise.
2751 (_G_uint16_t): Likewise.
2752 (_G_uint32_t): Likewise.
2753 (_G_HAVE_BOOL): Likewise.
2754 (_G_HAVE_ATEXIT): Likewise.
2755 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
2756 (_G_HAVE_IO_FILE_OPEN): Likewise.
2757 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
2758 (_G_int32_t): Likewise.
2759 (_G_uint16_t): Likewise.
2760 (_G_uint32_t): Likewise.
2761 (_G_HAVE_BOOL): Likewise.
2762 (_G_HAVE_ATEXIT): Likewise.
2763 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
2764 (_G_HAVE_IO_FILE_OPEN): Likewise.
2766 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
2768 * csu/libc-tls.c: Update copyright years.
2770 2012-09-10 Joseph Myers <joseph@codesourcery.com>
2772 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
2773 [!_G_USING_THUNKS]: Remove conditional code.
2774 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
2775 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
2777 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
2778 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
2779 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
2780 (_G_VTABLE_LABEL_PREFIX): Likewise.
2781 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
2782 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
2783 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
2784 (_G_VTABLE_LABEL_PREFIX): Likewise.
2785 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
2786 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
2787 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
2788 (_G_VTABLE_LABEL_PREFIX): Likewise.
2789 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
2791 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
2793 * libio/Makefile: Include ../Makeconfig before tests.
2794 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
2795 only if $(build-shared) is yes.
2797 * iconv/gconv_db.c: Update copyright years.
2799 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2801 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
2802 unwind info if defined PIC. Fix special cases description.
2803 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
2805 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
2807 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
2809 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
2811 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
2813 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
2816 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
2817 (LDLIBS-tst-chk4): This.
2818 (LDFLAGS-tst-chk5): Renamed to ...
2819 (LDLIBS-tst-chk5): This.
2820 (LDFLAGS-tst-chk6): Renamed to ...
2821 (LDLIBS-tst-chk6): This.
2822 (LDFLAGS-tst-lfschk4): Renamed to ...
2823 (LDLIBS-tst-lfschk4): This.
2824 (LDFLAGS-tst-lfschk5): Renamed to ...
2825 (LDLIBS-tst-lfschk5): This.
2826 (LDFLAGS-tst-lfschk6): Renamed to ...
2827 (LDLIBS-tst-lfschk6): This.
2829 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
2830 on $(common-objpfx)soversions.mk.
2832 2012-09-07 Joseph Myers <joseph@codesourcery.com>
2835 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
2838 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
2840 * malloc/arena.c (arena_get_retry): New function that gets
2841 another arena for the caller to try its request on.
2842 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
2843 current arena cannot fulfill the request.
2844 (__libc_memalign): Likewise.
2845 (__libc_memalign): Likewise.
2846 (__libc_pvalloc): Likewise.
2847 (__libc_calloc): Likewise.
2849 2012-09-05 John Tobey <john.tobey@gmail.com>
2852 * manual/arith.texi (Operations on Complex): Fix description
2855 2012-09-06 Joseph Myers <joseph@codesourcery.com>
2858 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
2862 * manual/memory.texi (Memory): Make order of menu items match
2865 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
2867 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
2868 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
2869 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
2871 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
2873 * csu/libc-tls.c (static_dtv): Renamed to ...
2874 (_dl_static_dtv): This. Make it global.
2875 (_dl_initial_dtv): Removed.
2876 (__libc_setup_tls): Updated.
2877 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
2878 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
2881 2012-09-06 Petr Machata <pmachata@redhat.com>
2883 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
2884 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
2885 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
2886 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
2888 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
2891 * csu/libc-tls.c (_dl_initial_dtv): New variable.
2892 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
2895 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
2898 * Makeconfig (link-static-before-libc): Replace $(+prector)
2900 (link-static-after-libc): Replace $(+postctor) with
2902 (link-bounded): Replace $(+prector)/$(+postctor) with
2903 $(+prectorT)/$(+postctorT).
2904 (+prectorT): New macro.
2905 (+postctorT): Likewise.
2907 2012-09-06 Joseph Myers <joseph@codesourcery.com>
2909 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
2910 (round_str): Handle values above the maximum for IBM long double
2912 * stdlib/tst-strtod-round.c (tests): Regenerated.
2914 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2916 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
2918 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
2919 zarch_nohighgprs around the zarch optimized routines.
2920 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
2921 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
2922 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
2925 2012-09-05 David S. Miller <davem@davemloft.net>
2927 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2929 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
2930 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
2931 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
2932 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
2935 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
2937 * malloc/arena.c: Fold copyright years.
2938 * malloc/mcheck.c, malloc/memusage.c: Likewise.
2940 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
2942 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
2944 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
2946 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
2948 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
2950 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
2951 change internal state upon failure.
2953 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
2955 * malloc/mcheck.c (mcheck_check_all): Fix typo.
2956 * malloc/memusage.c (mmap): Likewise.
2957 (mmap64, mremap): Likewise. Adjust name in comment.
2959 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2961 * libio/fileops.c: Fix typos in comments.
2962 * libio/oldfileops.c: Likewise.
2963 * libio/wfileops.c: Likewise.
2965 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2968 * malloc/Makefile (tests): Add tst-malloc-usable test case.
2969 (tst-malloc-usable-ENV): Set environment for test case.
2970 * malloc/hooks.c (malloc_check_get_size): New function to get
2972 * malloc/malloc.c (musable): Use malloc_check_get_size.
2973 * malloc/tst-malloc-usable.c: New test case.
2975 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
2977 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
2979 2012-09-05 Allan McRae <allan@archlinux.org>
2982 * configure.in (CXX_SYSINCLUDES): Use compiler output to
2983 determine header location.
2984 * configure: Regenerated.
2986 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
2988 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
2990 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
2991 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
2995 2012-09-04 David S. Miller <davem@davemloft.net>
2997 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
2998 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
2999 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
3001 2012-09-04 Florian Weimer <fweimer@redhat.com>
3003 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
3006 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
3008 2012-09-04 Joseph Myers <joseph@codesourcery.com>
3011 * libio/iogetdelim.c: Include <limits.h>.
3012 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
3013 + len + 1 would overflow.
3015 2012-09-03 Andreas Jaeger <aj@suse.de>
3017 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3018 * sysdeps/i386/fpu/libm-test-ulps: Update.
3020 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3022 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3023 Add s_sinf-sse2, s_conf-sse2.
3025 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
3026 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
3027 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
3028 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
3030 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
3031 for using routine as __sinf_ia32.
3032 Use macro for function declaration and weak_alias.
3033 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
3034 for using routine as __cosf_ia32.
3035 Use macro for function declaration and weak_alias.
3037 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
3038 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
3040 * sysdeps/x86_64/fpu/s_sinf.S: New file.
3041 * sysdeps/x86_64/fpu/s_cosf.S: New file.
3042 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3044 * math/libm-test.inc (cos_test): Add more test cases.
3045 (sin_test): Likewise.
3046 (sincos_test): Likewise.
3048 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3050 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
3051 (IFUNC_RESOLVE): Make pointers to the specialized implementations
3053 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3055 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
3058 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
3059 first element of the GOT.
3060 (elf_machine_load_address): Return the difference between
3061 the runtime address of _DYNAMIC and elf_machine_dynamic ().
3063 2012-09-01 Allan McRae <allan@archlinux.org>
3066 * configure.in (AWK): Require gawk version 3.0 or later.
3067 * configure: Regenerated.
3069 2012-09-01 Joseph Myers <joseph@codesourcery.com>
3071 * sysdeps/unix/sysv/linux/kernel-features.h
3072 (__ASSUME_POSIX_CPU_TIMERS): Remove.
3073 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3074 [__NR_clock_getres]: Make code unconditional.
3075 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
3076 (clock_getcpuclockid): Remove code left unreachable by removal of
3078 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
3080 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3081 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3082 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
3083 Make code unconditional.
3084 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3085 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3086 * sysdeps/unix/sysv/linux/clock_settime.c
3087 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
3089 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
3090 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3092 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
3095 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
3096 scripts/test-installation.pl.
3098 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
3099 and $ld_so_version if it is set.
3101 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3104 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
3105 failure if reading from procfs failed.
3106 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
3108 2012-08-27 Joseph Myers <joseph@codesourcery.com>
3110 * sysdeps/unix/sysv/linux/kernel-features.h
3111 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
3112 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
3113 Remove conditional code.
3114 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3115 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
3116 Remove conditional code.
3117 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3118 * sysdeps/unix/sysv/linux/i386/fxstat.c
3119 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3120 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3121 * sysdeps/unix/sysv/linux/i386/fxstatat.c
3122 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3123 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3124 * sysdeps/unix/sysv/linux/i386/lxstat.c
3125 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3126 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3127 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
3128 Remove conditional code.
3129 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3130 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
3131 Remove conditional code.
3132 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3133 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
3134 <kernel-features.h>.
3135 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
3137 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
3138 Remove conditional code.
3139 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3140 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
3143 2012-08-27 Mike Frysinger <vapier@gentoo.org>
3146 * NEWS: Add fixed bug number.
3148 2012-08-27 Joseph Myers <joseph@codesourcery.com>
3151 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
3152 underflowing exponent in case of negative sign.
3153 * stdlib/tst-strtod-round-data: Add more tests.
3154 * stdlib/tst-strtod-round.c (tests): Regenerated.
3157 * stdlib/strtod_l.c (NDIG): Remove.
3158 (HEXNDIG): Likewise.
3159 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
3160 smallest representable value.
3161 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
3162 lie within an exact representation of 1/2 ulp of the result.
3163 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
3165 (TENS_P9_IDX): Define unconditionally.
3166 (TENS_P9_SIZE): Likewise.
3167 (TENS_P10_IDX): Likewise.
3168 (TENS_P10_SIZE): Likewise.
3169 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
3170 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
3171 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
3172 entries for 10^2^13 and 10^2^14.
3173 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
3174 (TENS_P13_IDX): Define.
3175 (TENS_P13_SIZE): Likewise.
3176 (TENS_P14_IDX): Likewise.
3177 (TENS_P14_SIZE): Likewise.
3178 (_fpioconst_pow10): Change array size to
3179 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
3181 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
3182 1024]: Add entries for 10^2^13 and 10^2^14.
3183 [LAST_POW10 > _LAST_POW10]: Remove #error.
3184 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
3185 (_fpioconst_pow10): Change array size to
3186 FPIOCONST_POW10_ARRAY_SIZE.
3187 * stdlib/gen-fpioconst.c: New file.
3188 * stdlib/gen-tst-strtod-round.c: Likewise.
3189 * stdlib/tst-strtod-round-data: Likewise.
3190 * stdlib/tst-strtod-round.c: Likewise.
3191 * stdlib/Makefile (tests): Add tst-strtod-round.
3194 * stdlib/strtod_l.c: Include <stdint.h>.
3195 (NDEBUG): Do not define.
3196 (round_and_return): Change EXPONENT parameter to type intmax_t.
3197 Rearrange calculations to avoid internal overflow possibilities.
3198 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
3199 Rearrange calculations to avoid internal overflow possibilities.
3200 Assert that number fits inside MPNSIZE limbs.
3201 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
3202 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
3203 calculations and add assertions to avoid internal overflow
3204 possibilities. Add casts to avoid signed/unsigned operations.
3205 * stdlib/tst-strtod-overflow.c: New file.
3206 * stdlib/Makefile (tests): Add tst-strtod-overflow.
3208 2012-08-25 Marek Polacek <polacek@redhat.com>
3210 * time/time.h: Fix some typos in comments.
3212 2012-08-23 Roland McGrath <roland@hack.frob.com>
3214 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
3215 * posix/tst-rfc3484-2.c: Likewise.
3216 * posix/tst-rfc3484-3.c: Likewise.
3218 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
3220 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
3221 (EF_ARM_ABI_FLOAT_HARD): Likewise.
3223 2012-08-23 Joseph Myers <joseph@codesourcery.com>
3225 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
3226 #include of fxstatat64.c.
3228 2012-08-22 Roland McGrath <roland@hack.frob.com>
3230 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
3231 * shadow/getspent_r.c: Likewise.
3232 * shadow/getspnam.c: Likewise.
3233 * shadow/getspnam_r.c: Likewise.
3234 * gshadow/getsgent.c: Likewise.
3235 * gshadow/getsgent_r.c: Likewise.
3236 * gshadow/getsgnam.c: Likewise.
3237 * gshadow/getsgnam_r.c: Likewise.
3238 * inet/getnetbyad.c: Likewise.
3239 * inet/getnetbyad_r.c: Likewise.
3240 * inet/getnetbynm.c: Likewise.
3241 * inet/getnetbynm_r.c: Likewise.
3242 * inet/getnetent.c: Likewise.
3243 * inet/getnetent_r.c: Likewise.
3244 * inet/getproto.c: Likewise.
3245 * inet/getproto_r.c: Likewise.
3246 * inet/getprtent.c: Likewise.
3247 * inet/getprtent_r.c: Likewise.
3248 * inet/getprtname.c: Likewise.
3249 * inet/getprtname_r.c: Likewise.
3250 * inet/getrpcbyname.c: Likewise.
3251 * inet/getrpcbyname_r.c: Likewise.
3252 * inet/getrpcbynumber.c: Likewise.
3253 * inet/getrpcbynumber_r.c: Likewise.
3254 * inet/getrpcent.c: Likewise.
3255 * inet/getrpcent_r.c: Likewise.
3256 * inet/getaliasent.c: Likewise.
3257 * inet/getaliasent_r.c: Likewise.
3258 * inet/getaliasname.c: Likewise.
3259 * inet/getaliasname_r.c: Likewise.
3260 * nscd/getgrgid_r.c: Likewise.
3261 * nscd/getgrnam_r.c: Likewise.
3262 * nscd/gethstbyad_r.c: Likewise.
3263 * nscd/gethstbynm3_r.c: Likewise.
3264 * nscd/getpwnam_r.c: Likewise.
3265 * nscd/getpwuid_r.c: Likewise.
3266 * nscd/getsrvbynm_r.c: Likewise.
3267 * nscd/getsrvbypt_r.c: Likewise.
3268 * nscd/gai.c: Likewise.
3270 * configure.in (build_nscd): New substituted variable, set
3271 by --disable-build-nscd and defaults to $use_nscd.
3272 * configure: Regenerated.
3273 * config.make.in (build-nscd): New substituted variable.
3274 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
3275 Change conditional to require [$(build-nscd) = yes] as well.
3276 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
3279 * configure.in (use_nscd): New substituted variable, set by
3280 --disable-nscd. If enabled, define USE_NSCD.
3281 * configure: Regenerated.
3282 * config.h.in: Add USE_NSCD.
3283 * config.make.in (use-nscd): New substituted variable.
3284 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
3285 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
3286 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
3287 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
3288 (CFLAGS-getgrnam_r.c): Likewise.
3289 (CFLAGS-initgroups.c): Likewise.
3290 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
3291 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
3293 * inet/getnetgrent_r.c
3294 (nscd_setnetgrent): New function, broken out of ...
3295 (setnetgrent): ... here. Call it.
3296 (innetgr): Conditionalize nscd bits on [USE_NSCD].
3297 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
3298 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
3299 * nscd/Makefile (routines, aux): Move definitions after include of
3300 Makeconfig. Conditionalize on [$(use-nscd) != no].
3301 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
3302 Conditionalize on [USE_NSCD].
3303 (is_nscd, nscd_init_cb): Likewise.
3304 (nss_load_library): Conditionalize init callback on [USE_NSCD].
3305 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
3306 * nss/nss_db/db-init.c: Likewise.
3307 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
3309 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
3310 (make_request): Use it.
3311 (cache_valid_p): New function.
3312 (__check_pf): Use it.
3313 * NEWS: Add item for --disable-nscd.
3315 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
3317 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
3318 to support sed >= 4.2.1-20-ga9bf076.
3319 * configure: Regenerated.
3321 2012-08-22 Roland McGrath <roland@hack.frob.com>
3323 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
3324 Conditionalize whole body on [IREL].
3326 2012-08-22 Jeff Law <law@redhat.com>
3329 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
3330 if the family is PF_UNSPEC.
3332 2012-08-22 Mike Frysinger <vapier@gentoo.org>
3334 * Makerules (lib-version): Rename from V.
3335 (install-lib-nosubdir): Change V to lib-version.
3337 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
3340 * powerpc32/power6/wcschr.c: New file.
3341 * powerpc32/power6/wcscpy.c: New file.
3342 * powerpc32/power6/wcsrchr.c: New file.
3343 * powerpc64/power6/wcschr.c: New file.
3344 * powerpc64/power6/wcscpy.c: New file.
3345 * powerpc64/power6/wcsrchr.c: New file.
3347 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
3349 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
3350 (two_way_short_needle): Use it.
3351 * string/strstr.c (AVAILABLE1_USES_J): Define.
3352 * string/strcasestr.c: Likewise.
3354 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
3356 * string/strcasestr.c (TOLOWER): Make side-effect safe.
3359 * NEWS: Add an entry.
3360 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
3361 define their defaults.
3362 (two_way_short_needle): Detect end-of-string on-the-fly.
3363 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
3364 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
3365 * string/bug-strcasestr1.c: New test.
3366 * string/Makefile: Run it.
3368 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
3371 * string/str-two-way.h (two_way_short_needle): Optimize matching of
3372 the first character.
3374 2012-08-21 Roland McGrath <roland@hack.frob.com>
3376 * csu/elf-init.c (__libc_csu_irel): Function removed.
3377 * csu/libc-start.c (apply_irel): New function.
3378 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
3380 2012-08-21 Joseph Myers <joseph@codesourcery.com>
3382 * sysdeps/unix/sysv/linux/kernel-features.h
3383 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
3384 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
3385 <kernel-features.h>.
3386 [__NR_fadvise64_64]: Make code unconditional.
3387 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
3388 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
3389 !__NR_fadvise64_64)]: Likewise.
3390 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
3391 !__NR_fadvise64_64))]: Likewise.
3392 [__NR_fadvise64]: Make code unconditional.
3393 [!__NR_fadvise64]: Remove conditional code.
3394 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
3395 <kernel-features.h>.
3396 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3398 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
3401 not include <kernel-features.h>.
3402 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3404 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3406 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
3407 include <kernel-features.h>.
3408 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3410 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3413 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
3415 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
3416 slight instruction rearrangements per scrollpipe analysis.
3417 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3419 2012-08-20 Roland McGrath <roland@hack.frob.com>
3421 * manual/syslog.texi (syslog; vsyslog, closelog):
3422 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
3423 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
3425 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
3426 DSOCAPS to match condition on defining it.
3428 2012-08-20 Joseph Myers <joseph@codesourcery.com>
3430 * sysdeps/unix/sysv/linux/kernel-features.h
3431 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
3432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
3433 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3434 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
3436 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3437 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
3439 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3440 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3442 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
3443 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
3445 * sysdeps/unix/sysv/linux/kernel-features.h
3446 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
3447 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
3449 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3450 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
3451 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
3452 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3453 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
3454 Make code unconditional.
3455 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3456 (__mmap64) [!__NR_mmap2]: Likewise.
3457 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
3458 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
3459 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3460 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
3461 [__NR_mmap2]: Make code unconditional.
3462 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3463 (__mmap64) [!__NR_mmap2]: Likewise.
3465 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3467 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
3469 2012-08-18 Andreas Jaeger <aj@suse.de>
3471 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
3473 2012-08-18 Mike Frysinger <vapier@gentoo.org>
3475 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
3476 * include/unistd.h (__have_sock_cloexec): Likewise.
3477 (__have_pipe2): Likewise.
3478 (__have_dup3): Likewise.
3480 2012-08-18 Mike Frysinger <vapier@gentoo.org>
3483 * include/unistd.h (__have_pipe2): Change define into an extern int.
3484 (__have_dup3): Likewise.
3485 * socket/have_sock_cloexec.c: Include fcntl.h.
3486 (__have_pipe2): New variable.
3487 (__have_dup3): Likewise.
3489 2012-08-17 Mike Frysinger <vapier@gentoo.org>
3491 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
3493 2012-08-17 Marek Polacek <polacek@redhat.com>
3495 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
3496 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
3498 2012-08-17 Roland McGrath <roland@hack.frob.com>
3500 * configure.in: Add AC_SUBST for sysheaders.
3501 * configure: Regenerated.
3502 * config.make.in (sysheaders): New substituted variable.
3504 * sysdeps/unix/mkfifo.c: Moved ...
3505 * sysdeps/posix/mkfifo.c: ... here.
3506 * sysdeps/unix/mkfifoat.c: Moved ...
3507 * sysdeps/posix/mkfifoat.c: ... here.
3509 * sysdeps/unix/utime.c: Moved ...
3510 * sysdeps/posix/utime.c: ... here.
3512 * sysdeps/unix/time.c: Moved ...
3513 * sysdeps/posix/time.c: ... here.
3514 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
3515 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
3517 * sysdeps/unix/nice.c: Moved ...
3518 * sysdeps/posix/nice.c: ... here.
3520 * sysdeps/unix/alarm.c: Moved ...
3521 * sysdeps/posix/alarm.c: ... here.
3523 * intl/Makefile ($(codeset_mo)): Depend on the input file.
3525 2012-08-17 Jeff Law <law@redhat.com>
3527 * intl/Makefile (codeset_mo): New variable.
3528 ($(codeset_mo)): New target.
3529 (tst-codeset.out): Depend on that. Remove explicit rule.
3530 (tst-gettext3.out, tst-gettext5.out): Likewise.
3531 (LOCPATH-ENV, tst-codeset-ENV): New variables.
3532 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
3533 * intl/tst-codeset.sh: Remove.
3534 * intl/tst-gettext3.sh: Likewise.
3535 * intl/tst-gettext5.sh: Likewise.
3537 2012-08-17 Roland McGrath <roland@hack.frob.com>
3539 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
3540 * sysdeps/unix/syscalls.list: ... here.
3542 * sysdeps/posix/getaddrinfo.c
3543 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
3544 (gaiconf_init, gaiconf_reload): Use them.
3546 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
3547 Define using time_t rather than struct timespec.
3549 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
3550 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
3552 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
3554 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
3555 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
3558 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
3559 __libc_cleanup_push argument.
3561 * bits/param.h: New file.
3562 * misc/sys/param.h: New file.
3563 * include/sys/param.h: New file.
3564 * misc/Makefile (headers): Add bits/param.h.
3565 * sysdeps/generic/sys/param.h: File removed.
3566 * sysdeps/unix/sysv/linux/bits/param.h: New file.
3567 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
3568 * sysdeps/mach/hurd/bits/param.h: New file.
3569 * sysdeps/mach/hurd/sys/param.h: File removed.
3571 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
3574 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
3576 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
3577 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
3580 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
3581 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
3582 rather than -D_IO_MTSAFE_IO conditionally.
3583 * stdio-common/Makefile (CPPFLAGS): Likewise.
3584 * wcsmbs/Makefile (CPPFLAGS): Likewise.
3585 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
3586 Use $(libio-mtsafe).
3587 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
3589 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
3590 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
3591 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
3592 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
3593 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
3594 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
3595 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
3596 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
3597 (CFLAGS-fread_u_chk.c): Likewise.
3598 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
3599 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
3600 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
3601 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
3602 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
3603 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
3604 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
3605 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
3606 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
3608 * libio/Makefile: Test [$(libc-reentrant) = yes]
3609 instead of [$(filter %REENTRANT, $(defines)) nonempty].
3612 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
3613 * sysdeps/pthread/configure: File removed.
3614 * sysdeps/pthread/Makeconfig: New file.
3615 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
3616 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
3618 2012-08-16 Gary Benson <gbenson@redhat.com>
3620 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
3621 unmapping the first object in a namespace.
3623 2012-08-16 Roland McGrath <roland@hack.frob.com>
3625 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
3626 (__internal_setnetgrent): ... this. Add internal_function to
3627 definition. Add libc_hidden_def.
3628 (setnetgrent): Update caller.
3629 (internal_endnetgrent): Renamed to ...
3630 (__internal_endnetgrent): ... this. Add internal_function to
3631 definition. Add libc_hidden_def.
3632 (endnetgrent): Update caller.
3633 (internal_getnetgrent_r): Renamed to ...
3634 (__internal_getnetgrent_r): ... this. Add internal_function to
3635 definition. Add libc_hidden_def.
3636 (__getnetgrent_r): Update caller.
3637 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
3639 2012-08-16 Joseph Myers <joseph@codesourcery.com>
3641 * stdlib/longlong.h: Update from GCC.
3643 2012-08-16 Roland McGrath <roland@hack.frob.com>
3645 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
3646 on _QL, which is set by umul_ppmm but never used.
3647 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
3648 variables, which are set by GMP macros but never used.
3649 * stdio-common/_itowa.c (_itowa): Likewise.
3650 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
3651 * stdlib/mod_1.c (mpn_mod_1): Likewise.
3653 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
3655 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
3656 struct La_sh_regs is not constant.
3657 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
3658 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
3659 and struct La_sparc64_regs are not constant.
3661 2012-08-16 Joseph Myers <joseph@codesourcery.com>
3663 * sysdeps/unix/sysv/linux/kernel-features.h
3664 (__ASSUME_POSIX_TIMERS): Remove.
3665 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3666 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3667 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
3668 Make code unconditional.
3669 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3670 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
3671 Make code unconditional.
3672 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3673 * sysdeps/unix/sysv/linux/clock_nanosleep.c
3674 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
3675 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3676 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
3677 Make code unconditional.
3678 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
3679 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
3680 (__libc_missing_posix_timers): Remove.
3682 2012-08-15 Roland McGrath <roland@hack.frob.com>
3684 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
3685 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
3687 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
3689 * elf/dl-sym.c: Include <stdlib.h>.
3691 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
3692 constants, which avoids warnings in 32-bit builds.
3694 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
3695 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
3697 * misc/lseek.c: File moved to ...
3698 * io/lseek.c: ... here.
3700 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
3702 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
3703 shifting LEN more than 31 bits at once.
3705 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3708 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
3709 segmentation fault for a case of two empty input strings.
3710 * string/test-strncasecmp.c (check1): Renamed to...
3712 (bz14195): Add new testcase for two empty input strings and N > 0.
3713 (test_main): Call new testcase, adapt for renamed function.
3715 2012-08-15 Andreas Jaeger <aj@suse.de>
3718 * crypt/md5test2.c: New test, based on test supplied by Serge
3719 Belyshev <belyshev@depni.sinp.msu.ru>.
3720 * crypt/Makefile (xtests): Add md5test-giant..
3721 * crypt/Makefile ($(objpfx)md5test-giant): Add.
3723 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
3726 * crypt/md5.c (md5_process_block): Don't assume the buffer
3727 length is less than 2**32.
3728 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
3729 length is less than 2**64.
3731 2012-08-15 Roland McGrath <roland@hack.frob.com>
3733 * string/str-two-way.h: Include <sys/param.h>.
3734 (MAX): Macro removed.
3736 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
3737 Move #define and #undef of memmove to just before and after
3738 including <string.h>.
3740 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
3741 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
3742 and after including <string.h>. Move declarations of
3743 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
3744 to before #include "string/memmove.c".
3746 * include/dirent.h: Declare __getdirentries.
3748 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
3749 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
3751 2012-08-14 Mike Frysinger <vapier@gentoo.org>
3753 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
3754 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
3755 * sysdeps/i386/configure: Regenerated.
3756 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
3757 STABS_CURRENT_FILE, and STABS_FUN.
3758 (END): Remove call to STABS_FUN_END.
3759 (STABS_CURRENT_FILE1): Delete.
3760 (STABS_CURRENT_FILE): Likewise.
3761 (STABS_FUN): Likewise.
3762 (STABS_FUN_END): Likewise.
3763 (STABS_FUN2): Likewise.
3764 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
3765 * sysdeps/x86_64/configure: Regenerated.
3767 2012-08-14 Roland McGrath <roland@hack.frob.com>
3769 * elf/dl-open.c: Include <atomic.h>.
3770 * elf/dl-lookup.c: Likewise.
3772 2012-08-14 Joseph Myers <joseph@codesourcery.com>
3774 * sysdeps/unix/sysv/linux/kernel-features.h
3775 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
3776 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
3778 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
3780 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
3781 condition on __ASSUME_CLONE_THREAD_FLAGS.
3783 2012-08-14 Andreas Jaeger <aj@suse.de>
3785 * sysdeps/i386/fpu/libm-test-ulps: Update.
3787 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
3789 * include/atomic.h (atomic_exchange_and_add): Split into ...
3790 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
3793 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
3795 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3797 2012-08-13 Jeff Law <law@redhat.com>
3799 * manual/stdio.texi (snprintf): Clarify handling of the trailing
3800 null byte in the output string.
3802 2012-08-10 Joseph Myers <joseph@codesourcery.com>
3804 * sysdeps/unix/sysv/linux/kernel-features.h
3805 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
3806 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
3807 (__ASSUME_ARG_MAX_STACK_BASED): Define.
3808 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
3809 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
3810 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
3811 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
3813 2012-08-09 Jeff Law <law@redhat.com>
3816 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
3817 When avoid_arena is set, don't retry in the that arena. Pick the
3818 next one, whatever it might be.
3819 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
3820 (arena_lock): Pass in new parameter to arena_get2.
3821 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
3823 (__libc_malloc): Unify retrying after main arena failure with
3824 __libc_memalign version.
3825 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
3827 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
3830 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
3831 to __redirect_strstr.
3832 (__strstr_sse42): Use typeof __redirect_strstr.
3833 (__strstr_ia32): Likewise.
3834 (__libc_strstr): New prototype.
3835 (strstr): Renamed to ...
3836 (__libc_strstr): This.
3837 (strstr): New strong alias of __libc_strstr.
3838 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
3839 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
3842 (__libc_time): New prototype.
3843 (time_ifunc): Replace time with __libc_time.
3844 (time): New strong alias and hidden definition of __libc_time.
3845 (__GI_time): Remove strong alias.
3846 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
3848 (memmove): Redefined to __redirect_memmove.
3849 (__memmove_sse2): Use typeof __redirect_memmove.
3850 (__memmove_ssse3): Likewise.
3851 (__memmove_ssse3_back): Likewise.
3852 (__libc_memmove): New prototype.
3853 (memmove): Renamed to ...
3854 (__libc_memmove): This.
3855 (memmove): New strong alias of __libc_memmove.
3857 2012-08-08 Mark Salter <msalter@redhat.com>
3860 (R_MN10300_TLS_GD): Define.
3861 (R_MN10300_TLS_LD): Likewise.
3862 (R_MN10300_TLS_LDO): Likewise.
3863 (R_MN10300_TLS_GOTIE): Likewise.
3864 (R_MN10300_TLS_IE): Likewise.
3865 (R_MN10300_TLS_LE): Likewise.
3866 (R_MN10300_TLS_DTPMOD): Likewise.
3867 (R_MN10300_TLS_DTPOFF): Likewise.
3868 (R_MN10300_TLS_TPOFF): Likewise.
3869 (R_MN10300_SYM_DIFF): Likewise.
3870 (R_MN10300_ALIGN): Likewise.
3871 (R_MN10300_NUM): Update.
3873 2012-08-08 Joseph Myers <joseph@codesourcery.com>
3875 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
3878 2012-08-08 Roland McGrath <roland@hack.frob.com>
3880 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
3882 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
3883 sysdeps/unix -> sysdeps/posix move.
3884 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
3886 2012-08-07 Allan McRae <allan@archlinux.org>
3889 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
3890 (SUNOS_CPP): Likewise.
3891 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
3893 (open_input): Call CPP using execvp.
3895 2012-08-07 Joseph Myers <joseph@codesourcery.com>
3897 * sysdeps/unix/sysv/linux/kernel-features.h
3898 (__ASSUME_PROT_GROWSUPDOWN): Remove.
3899 (__ASSUME_NO_CLONE_DETACHED): Likewise.
3900 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
3901 (__ASSUME_WAITID_SYSCALL): Likewise.
3902 * sysdeps/unix/sysv/linux/dl-execstack.c
3903 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
3905 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
3907 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
3908 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
3909 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
3911 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
3913 [__ASSUME_WAITID_SYSCALL]: Likewise.
3914 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
3916 2012-08-07 Roland McGrath <roland@hack.frob.com>
3918 * sysdeps/unix/closedir.c: Renamed to ...
3919 * sysdeps/posix/closedir.c: ... here.
3920 * sysdeps/unix/dirfd.c: Renamed to ...
3921 * sysdeps/posix/dirfd.c: ... here.
3922 * sysdeps/unix/dirstream.h: Renamed to ...
3923 * sysdeps/posix/dirstream.h: ... here.
3924 * sysdeps/unix/fdopendir.c: Renamed to ...
3925 * sysdeps/posix/fdopendir.c: ... here.
3926 * sysdeps/unix/opendir.c: Renamed to ...
3927 * sysdeps/posix/opendir.c: ... here.
3928 * sysdeps/unix/readdir.c: Renamed to ...
3929 * sysdeps/posix/readdir.c: ... here.
3930 * sysdeps/unix/readdir_r.c: Renamed to ...
3931 * sysdeps/posix/readdir_r.c: ... here.
3932 * sysdeps/unix/rewinddir.c: Renamed to ...
3933 * sysdeps/posix/rewinddir.c: ... here.
3934 * sysdeps/unix/seekdir.c: Renamed to ...
3935 * sysdeps/posix/seekdir.c: ... here.
3936 * sysdeps/unix/telldir.c: Renamed to ...
3937 * sysdeps/posix/telldir.c: ... here.
3938 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
3939 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
3940 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
3941 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
3943 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
3944 * bits/fcntl.h: ... here.
3946 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
3948 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
3949 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
3950 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
3951 (struct flock): Move l_start, l_len to the beginning.
3952 Use __pid_t for l_pid.
3953 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
3954 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
3955 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
3956 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
3957 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
3958 [__USE_LARGEFILE64] (struct flock64): New type.
3959 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
3961 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
3962 * bits/dirent.h: ... here.
3964 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
3965 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
3967 2012-08-07 Joseph Myers <joseph@codesourcery.com>
3969 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3970 Change from 2.6.0 to 2.6.16.
3971 * sysdeps/unix/sysv/linux/configure: Regenerated.
3972 * sysdeps/unix/sysv/linux/kernel-features.h
3973 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
3974 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
3976 (__ASSUME_UTIMES): Likewise.
3977 (__ASSUME_CLONE_STOPPED): Remove.
3978 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
3979 architectures, not kernel version.
3980 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
3981 (__ASSUME_NO_CLONE_DETACHED): Likewise.
3982 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
3983 (__ASSUME_WAITID_SYSCALL): Likewise.
3984 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
3985 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
3986 * README: State 2.6.16 as minimum Linux kernel version. Do not
3987 refer to older versions.
3989 2012-08-06 Roland McGrath <roland@hack.frob.com>
3991 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
3992 Define alphasort64 as an alias.
3993 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
3994 Define versionsort64 as an alias.
3995 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
3996 Define scandir64 as an alias.
3997 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
3998 Define scandirat64 as an alias.
3999 * dirent/alphasort64.c (alphasort64):
4000 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
4001 * dirent/versionsort64.c: Likewise.
4002 * dirent/scandir64.c: Likewise.
4003 * dirent/scandirat64.c: Likewise.
4004 * sysdeps/wordsize-64/alphasort.c: File removed.
4005 * sysdeps/wordsize-64/alphasort64.c: File removed.
4006 * sysdeps/wordsize-64/scandir.c: File removed.
4007 * sysdeps/wordsize-64/scandir64.c: File removed.
4008 * sysdeps/wordsize-64/scandirat.c: File removed.
4009 * sysdeps/wordsize-64/scandirat64.c: File removed.
4010 * sysdeps/wordsize-64/versionsort.c: File removed.
4011 * sysdeps/wordsize-64/versionsort64.c: File removed.
4012 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
4013 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
4014 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
4015 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
4016 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
4017 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
4018 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
4019 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
4021 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
4022 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4023 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
4024 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4025 [defined __arch64__ || defined __sparcv9]
4026 (__INO_T_MATCHES_INO64_T): New macro.
4027 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4028 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
4029 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
4030 * sysdeps/unix/sysv/linux/bits/dirent.h
4031 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
4032 (_DIRENT_MATCHES_DIRENT64): New macro.
4034 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
4035 Define lockf64 as an alias.
4036 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
4037 Define fseeko64 as an alias.
4038 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
4039 Define ftello64 as an alias.
4040 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
4041 Define _IO_fgetpos64 and fgetpos64 as aliases.
4042 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
4043 Define _IO_fsetpos64 and fsetpos64 as aliases.
4044 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
4045 Conditionalize body on this.
4046 * libio/fseeko64.c: Likewise.
4047 * libio/ftello64.c: Likewise.
4048 * libio/iofgetpos64.c: Likewise.
4049 * libio/iofsetpos64.c: Likewise.
4050 * sysdeps/wordsize-64/lockf.c: File removed.
4051 * sysdeps/wordsize-64/lockf64.c: File removed.
4052 * sysdeps/wordsize-64/fseeko.c: File removed.
4053 * sysdeps/wordsize-64/fseeko64.c: File removed.
4054 * sysdeps/wordsize-64/ftello.c: File removed.
4055 * sysdeps/wordsize-64/ftello64.c: File removed.
4056 * sysdeps/wordsize-64/iofgetpos.c: File removed.
4057 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
4058 * sysdeps/wordsize-64/iofsetpos.c: File removed.
4059 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
4060 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
4061 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
4062 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
4063 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
4064 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
4065 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
4066 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
4067 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
4068 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
4069 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
4071 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4072 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4073 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
4074 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4075 [defined __arch64__ || defined __sparcv9]
4076 (__OFF_T_MATCHES_OFF64_T): New macro.
4077 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4078 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4079 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4080 (__OFF_T_MATCHES_OFF64_T): New macro.
4082 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
4084 * stdlib/secure-getenv.c (__secure_getenv): Replace
4085 GLIBC_2_16 with GLIBC_2_17.
4087 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
4089 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
4090 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4092 2012-08-03 David S. Miller <davem@davemloft.net>
4094 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4096 2012-08-03 Joseph Myers <joseph@codesourcery.com>
4098 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
4100 (__ASSUME_CORRECT_SI_PID): Likewise.
4101 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
4102 (__ASSUME_TMPFS_NAME): Likewise.
4103 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
4104 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
4105 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
4106 (HAVE_AUX_SECURE): Make definition unconditional.
4107 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
4108 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
4110 2012-08-03 Roland McGrath <roland@hack.frob.com>
4112 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
4113 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
4114 * sysdeps/mach/hurd/eloop-threshold.h: New file.
4115 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4116 __eloop_threshold instead of SYMLOOP_MAX.
4118 * sysdeps/generic/eloop-threshold.h: New file.
4119 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
4121 * elf/chroot_canon.c (chroot_canon): Likewise.
4123 2012-08-03 Joseph Myers <joseph@codesourcery.com>
4126 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4127 Change to 2.6.0 everywhere.
4128 * sysdeps/unix/sysv/linux/configure: Regenerated.
4129 * sysdeps/unix/sysv/linux/kernel-features.h
4130 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
4131 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
4133 (__ASSUME_POSIX_TIMERS): Define unconditionally.
4134 (__ASSUME_FUTEX_REQUEUE): Remove.
4135 (__ASSUME_STATFS64): Define unconditionally.
4136 (__ASSUME_AT_SECURE): Likewise.
4137 (__ASSUME_CORRECT_SI_PID): Likewise.
4138 (__ASSUME_TGKILL): Define without depending on kernel version for
4140 (__ASSUME_UTIMES): Likewise.
4141 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
4143 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
4144 (__ASSUME_TMPFS_NAME): Likewise.
4145 * README: Update reference to Linux kernel versions.
4147 2012-08-02 Marek Polacek <polacek@redhat.com>
4150 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
4151 libc_cv_asm_type_prefix with %.
4152 * configure: Regenerated.
4153 * include/libc-symbols.h: Remove comment about
4154 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
4155 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
4156 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
4157 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
4158 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
4159 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
4160 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
4161 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
4162 * elf/tst-unique2mod1.c: Likewise.
4163 * elf/tst-unique1mod2.c: Likewise.
4164 * elf/tst-unique1mod1.c: Likewise.
4165 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
4166 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
4167 Replace ASM_TYPE_DIRECTIVE with .type.
4168 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4169 * sysdeps/i386/sysdep.h: Likewise.
4170 * sysdeps/x86_64/sysdep.h: Likewise.
4171 * sysdeps/sh/sysdep.h: Likewise.
4172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
4173 Do not define ASM_TYPE_DIRECTIVE.
4174 * sysdeps/powerpc/sysdep.h: Likewise.
4175 * sysdeps/powerpc/powerpc32/sysdep.h:
4176 Replace ASM_TYPE_DIRECTIVE with .type.
4177 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
4178 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4179 * sysdeps/i386/fpu/e_powf.S: Likewise.
4180 * sysdeps/i386/fpu/e_expl.S: Likewise.
4181 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4182 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4183 * sysdeps/i386/fpu/e_pow.S: Likewise.
4184 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4185 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4186 * sysdeps/i386/fpu/s_expm1.S: Likewise.
4187 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4188 * sysdeps/i386/fpu/e_log2.S: Likewise.
4189 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4190 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4191 * sysdeps/i386/fpu/e_powl.S: Likewise.
4192 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4193 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4194 * sysdeps/i386/fpu/e_logl.S: Likewise.
4195 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4196 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4197 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4198 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4199 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4200 * sysdeps/i386/fpu/e_log.S: Likewise.
4201 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4202 * sysdeps/i386/fpu/e_logf.S: Likewise.
4203 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4204 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4205 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4206 * sysdeps/i386/fpu/e_log10.S: Likewise.
4207 * sysdeps/i386/fpu/s_frexp.S: Likewise.
4208 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4209 * sysdeps/i386/fpu/s_asinh.S: Likewise.
4210 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4211 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4212 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
4213 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4214 * sysdeps/i386/i686/strtok.S: Likewise.
4215 * sysdeps/i386/i386-mcount.S: Likewise.
4216 * sysdeps/i386/strtok.S: Likewise.
4217 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
4218 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4219 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4220 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4221 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4222 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4223 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4224 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4225 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4226 * sysdeps/x86_64/_mcount.S: Likewise.
4227 * sysdeps/x86_64/strtok.S: Likewise.
4228 * sysdeps/sh/_mcount.S: Likewise.
4230 2012-08-01 Roland McGrath <roland@hack.frob.com>
4232 * libio/iofopen.c: Include <fcntl.h>.
4233 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
4234 (_IO_fopen64, fopen64): Define as aliases.
4235 * libio/iofopen64.c: Include <fcntl.h>.
4236 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
4237 Conditionalize body on this.
4238 * sysdeps/wordsize-64/iofopen.c: File removed.
4239 * sysdeps/wordsize-64/iofopen64.c: File removed.
4241 2012-08-01 Marek Polacek <polacek@redhat.com>
4243 * libc/Makeconfig: Use elf in place of binfmt-subdir.
4244 Use dlfcn directly instead of a variable.
4245 (binfmt-subdir): Do not define.
4248 2012-08-01 Joseph Myers <joseph@codesourcery.com>
4250 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
4251 Remove all definitions.
4252 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
4253 <kernel-features.h>.
4254 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
4255 (miss_F_GETOWN_EX): Remove all definitions.
4256 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
4258 [!__ASSUME_FCNTL64]: Remove conditional code.
4259 [__ASSUME_FCNTL64]: Make code unconditional.
4260 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
4261 <kernel-features.h>.
4262 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
4263 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
4264 (lockf64) [__NR_fcntl64]: Make code unconditional.
4265 (lockf64) [__ASSUME_FCNTL64]: Likewise.
4267 * sysdeps/unix/sysv/linux/kernel-features.h
4268 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
4269 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
4270 Make code unconditional.
4271 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4272 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
4274 [__NR_vfork]: Make code unconditional.
4275 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4276 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
4278 [__NR_vfork]: Make code unconditional.
4279 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4280 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4282 2012-08-01 Roland McGrath <roland@hack.frob.com>
4284 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
4285 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
4287 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4288 Define mkstemp64 as an alias.
4289 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4290 Define mkstemps64 as an alias.
4291 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4292 Define mkostemp64 as an alias.
4293 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4294 Define mkostemps64 as an alias.
4295 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
4296 Conditionalize body on this.
4297 * misc/mkostemp64.c: Likewise.
4298 * misc/mkostemps64.c: Likewise.
4299 * misc/mkstemps64.c: Likewise.
4300 * sysdeps/wordsize-64/mkstemp64.c: File removed.
4301 * sysdeps/wordsize-64/mkostemp64.c: File removed.
4302 * sysdeps/wordsize-64/mkostemp.c: File removed.
4303 * sysdeps/wordsize-64/mkstemp.c: File removed.
4304 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
4305 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
4306 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
4307 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
4310 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
4311 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
4312 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
4313 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
4315 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
4316 compat_symbol macros from <shlib-compat.h> rather than the underlying
4317 default_symbol_version and symbol_version macros, so that DEFAULT
4318 lines in shlib-versions are respected.
4319 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
4321 2012-08-01 Florian Weimer <fweimer@redhat.com>
4323 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
4324 Declare with warn_unused_result.
4325 (setgid, setregid, setegid, setresgid): Likewise.
4326 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
4328 * WUR-REPORT: Remove set*id functions.
4330 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
4332 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
4334 2012-07-31 Roland McGrath <roland@hack.frob.com>
4336 * include/sys/socket.h (__libc_accept, __libc_accept4):
4337 Add attribute_hidden.
4338 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
4340 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
4342 * inet/getnetgrent_r.c (setup): Likewise.
4344 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
4346 2012-07-31 David S. Miller <davem@davemloft.net>
4348 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4350 2012-07-31 Joseph Myers <joseph@codesourcery.com>
4353 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
4354 value between 1.0 and 2.0 and smaller part has absolute value less
4356 * math/s_clog10.c (__clog10): Likewise.
4357 * math/s_clog10f.c (__clog10f): Likewise.
4358 * math/s_clog10l.c (__clog10l): Likewise.
4359 * math/s_clogf.c (__clogf): Likewise.
4360 * math/s_clogl.c (__clogl): Likewise.
4361 * math/libm-test.inc (clog_test): Add more tests.
4362 (clog10_test): Likewise.
4363 * sysdeps/i386/fpu/libm-test-ulps: Update.
4364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4366 2012-07-31 Florian Weimer <fweimer@redhat.com>
4368 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
4369 Exit with zero in case no suitable GID is found, and write a
4370 message to standard error.
4372 2012-07-30 Roland McGrath <roland@hack.frob.com>
4374 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
4376 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
4377 (MAXPATHLEN): Removed.
4378 (NOGROUP, NODEV): New macros.
4379 (setbit, clrbit, isset, isclr): New macros.
4380 (howmany, roundup, powerof2): New macros.
4381 (DEV_BSIZE): New macro.
4383 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
4384 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
4386 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
4387 definition on [!__NO_LONG_DOUBLE_MATH].
4389 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
4390 PTR_MANGLE and PTR_DEMANGLE.
4392 * socket/accept4.c (accept4): Rename to __libc_accept4.
4393 Define accept4 as a weak alias.
4395 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
4396 on [_DIRENT_HAVE_D_TYPE].
4397 * io/ftw.c (ftw_dir): Likewise.
4399 * io/xmknod.c (__xmknod): Don't check PATH for being null.
4401 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
4403 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
4404 Use the BSD numbers rather than the arbitrary ones we had.
4405 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
4406 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
4407 (SIGXCPU, SIGXFSZ): New macros.
4410 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
4411 initializer on [_LIBC_REENTRANT].
4413 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
4414 definitions inside [_POSIX_MAPPED_FILES].
4416 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
4418 * dirent/opendir.c: Include <fcntl.h>.
4420 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
4421 (__libc_getspecific): Likewise.
4422 (__libc_key_create): Likewise.
4424 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
4425 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
4426 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
4427 (tmpfile64): Define as alias.
4428 * sysdeps/wordsize-64/tmpfile.c: File removed.
4429 * sysdeps/wordsize-64/tmpfile64.c: File removed.
4430 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
4431 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
4433 * stdio-common/vfscanf.c: Include <stdbool.h>.
4434 * nss/makedb.c: Likewise.
4435 * stdio-common/_i18n_number.h: Likewise.
4436 * argp/argp-help.c: Likewise.
4437 * posix/wordexp.c: Likewise.
4438 * sysdeps/posix/spawni.c: Likewise.
4439 * nss/nss_files/files-initgroups.c: Likewise.
4440 * stdio-common/reg-modifier.c: Include <stdlib.h>.
4441 * nss/nss_files/files-initgroups.c: Likewise.
4442 * nss/nss_db/db-netgrp.c: Likewise.
4443 * nss/nss_db/db-initgroups.c: Likewise.
4444 * io/fchmodat.c: Include <sys/stat.h>.
4446 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
4447 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
4449 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
4452 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
4453 Add multiple inclusion protection.
4455 2012-07-27 David S. Miller <davem@davemloft.net>
4457 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4459 2012-07-27 Gary Benson <gbenson@redhat.com>
4462 * elf/rtld.c: Include <stap-probe.h>.
4463 (dl_main): Added static probes "init_start" and "init_complete".
4464 * elf/dl-load.c: Include <stap-probe.h>.
4465 (lose): Take new parameter "nsid".
4466 Added static probe "map_failed".
4467 (_dl_map_object_from_fd): Pass namespace id to lose.
4468 Added static probe "map_start".
4469 (open_verify): Pass namespace id to lose.
4470 * elf/dl-open.c: Include <stap-probe.h>.
4471 (dl_open_worker) Added static probes "map_complete", "reloc_start"
4472 and "reloc_complete".
4473 * elf/dl-close.c: Include <stap-probe.h>.
4474 (_dl_close_worker): Added static probes "unmap_start" and
4476 * elf/rtld-debugger-interface.txt: New file documenting the above.
4478 2012-07-26 Roland McGrath <roland@hack.frob.com>
4480 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
4481 rather than a string variable.
4482 * sunrpc/rpc_main.c (h_output): Likewise.
4483 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
4485 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
4487 * inet/check_native.c: New file.
4489 2012-07-26 Joseph Myers <joseph@codesourcery.com>
4492 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
4493 if larger part has absolute value 1.0.
4494 * math/s_clog10.c (__clog10): Likewise.
4495 * math/s_clog10f.c (__clog10f): Likewise.
4496 * math/s_clog10l.c (__clog10l): Likewise.
4497 * math/s_clogf.c (__clogf): Likewise.
4498 * math/s_clogl.c (__clogl): Likewise.
4499 * math/libm-test.inc (clog_test): Add more tests.
4500 (clog10_test): Likewise.
4501 * sysdeps/i386/fpu/libm-test-ulps: Update.
4502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4504 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
4505 (pltexit): Likewise.
4506 (La_regs): Likewise.
4507 (La_retval): Likewise.
4508 (int_retval): Likewise.
4509 Update #error for removed macros to refer only to definitions in
4511 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
4513 (pltexit): Likewise.
4514 (La_regs): Likewise.
4515 (La_retval): Likewise.
4516 (int_retval): Likewise.
4517 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
4519 (pltexit): Likewise.
4520 (La_regs): Likewise.
4521 (La_retval): Likewise.
4522 (int_retval): Likewise.
4523 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
4525 (pltexit): Likewise.
4526 (La_regs): Likewise.
4527 (La_retval): Likewise.
4528 (int_retval): Likewise.
4529 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
4531 (pltexit): Likewise.
4532 (La_regs): Likewise.
4533 (La_retval): Likewise.
4534 (int_retval): Likewise.
4535 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
4537 (pltexit): Likewise.
4538 (La_regs): Likewise.
4539 (La_retval): Likewise.
4540 (int_retval): Likewise.
4541 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
4543 (pltexit): Likewise.
4544 (La_regs): Likewise.
4545 (La_retval): Likewise.
4546 (int_retval): Likewise.
4547 * sysdeps/generic/tst-audit.h: Update comment to refer only to
4548 macro definitions in tst-audit.h.
4549 * sysdeps/i386/tst-audit.h: New file.
4550 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
4551 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
4552 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
4553 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
4554 * sysdeps/sh/tst-audit.h: Likewise.
4555 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
4556 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
4557 * sysdeps/x86_64/tst-audit.h: Likewise.
4559 2012-07-26 Andreas Jaeger <aj@suse.de>
4561 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
4564 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
4565 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
4566 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
4568 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
4569 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
4570 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
4572 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
4575 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
4577 (si_call_addr, si_syscall, si_arch): Define new macro.
4578 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
4580 (si_call_addr, si_syscall, si_arch): Define new marcro.
4581 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
4583 (si_call_addr, si_syscall, si_arch): Define new macro.
4584 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
4586 (si_call_addr, si_syscall, si_arch): Define new macro.
4588 2012-07-25 Joseph Myers <joseph@codesourcery.com>
4591 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4592 Change to 2.4.21 where previously 2.4.1.
4593 * sysdeps/unix/sysv/linux/configure: Regenerated.
4594 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
4595 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
4596 Linux kernel version.
4597 (__ASSUME_STD_AUXV): Remove.
4598 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
4600 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
4601 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
4602 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
4603 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
4604 (__ASSUME_NETLINK_SUPPORT): Likewise.
4605 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
4606 (__no_netlink_support): Remove conditional definition.
4607 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
4609 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
4610 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
4611 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
4612 (if_nameindex_ioctl): Remove.
4613 (if_nameindex_netlink): Do not handle __no_netlink_support.
4614 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
4616 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
4617 Remove conditional code.
4618 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
4620 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
4622 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
4623 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
4624 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
4626 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
4627 [!__ASSUME_STD_AUXV]: Remove conditional code.
4628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
4629 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
4630 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
4631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
4632 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
4633 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
4635 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
4636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4637 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
4638 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
4640 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
4641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
4642 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
4644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4645 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
4647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
4648 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
4650 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4652 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4654 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4657 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4659 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
4662 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
4664 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4666 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4668 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
4671 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
4673 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4675 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
4677 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
4680 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
4682 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
4683 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
4684 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4685 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
4686 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
4687 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
4688 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4689 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
4690 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
4691 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
4692 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
4693 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
4694 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
4695 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
4696 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
4697 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
4698 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
4699 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
4700 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
4701 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
4702 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
4703 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
4704 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4706 2012-07-25 Florian Weimer <fweimer@redhat.com>
4708 * Versions.def: Add GLIBC_2.17.
4709 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
4710 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
4711 Introduce __libc_secure_getenv.
4712 * stdlib/Versions (2.17): Add secure_getenv
4713 (GLIBC_PRIVATE): Add __libc_secure_getenv.
4714 * stdlib/secure-getenv.c: Rename __secure_getenv to
4715 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
4716 symbol __secure_getenv for GLIBC_2.0.
4717 * stdlib/tst-secure-getenv.c: New.
4718 * stdlib/Makefile (tests): Add testcase.
4719 * manual/startup.texi (Environment Access): Document
4721 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
4722 __libc_secure_getenv.
4723 * inet/ruserpass.c (ruserpass): Likewise.
4724 * malloc/mtrace.c (mtrace): Likewise.
4725 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
4726 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
4727 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
4728 * sysdeps/posix/tempname.c: Likewise. Evaluate
4730 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
4731 __secure_getenv to __libc_secure_getenv.
4732 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
4733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4737 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
4738 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
4739 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
4740 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
4741 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
4742 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
4743 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
4745 2012-07-25 Joseph Myers <joseph@codesourcery.com>
4747 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
4748 (struct La_i86_retval): Likewise.
4749 (struct La_x86_64_regs): Likewise.
4750 (struct La_x86_64_retval): Likewise.
4751 (struct La_x32_regs): Likewise.
4752 (struct La_x32_retval): Likewise.
4753 (struct La_ppc32_regs): Likewise.
4754 (struct La_ppc32_retval): Likewise.
4755 (struct La_ppc64_regs): Likewise.
4756 (struct La_ppc64_retval): Likewise.
4757 (struct La_sh_regs): Likewise.
4758 (struct La_sh_retval): Likewise.
4759 (struct La_s390_32_regs): Likewise.
4760 (struct La_s390_32_retval): Likewise.
4761 (struct La_s390_64_regs): Likewise.
4762 (struct La_s390_64_retval): Likewise.
4763 (struct La_sparc32_regs): Likewise.
4764 (struct La_sparc32_retval): Likewise.
4765 (struct La_sparc64_regs): Likewise.
4766 (struct La_sparc64_retval): Likewise.
4767 (struct audit_ifaces): Remove architecture-specific pltenter and
4769 * sysdeps/i386/ldsodefs.h: New file.
4770 * sysdeps/powerpc/ldsodefs.h: Likewise.
4771 * sysdeps/s390/ldsodefs.h: Likewise.
4772 * sysdeps/sh/ldsodefs.h: Likewise.
4773 * sysdeps/sparc/ldsodefs.h: Likewise.
4774 * sysdeps/x86_64/ldsodefs.h: Likewise.
4776 2012-07-25 Marek Polacek <polacek@redhat.com>
4779 * math/libm-test.inc (yn_test): Add another test.
4780 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
4781 to ERANGE when the result is +-Inf.
4782 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
4783 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
4784 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
4785 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
4787 2012-07-24 Joseph Myers <joseph@codesourcery.com>
4789 * conform/data/time.h-data (NULL): Use macro-constant. Require
4791 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
4793 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
4795 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
4797 * configure.in <sysdeps resolving>: Correct printing
4799 * configure: Regenerate.
4801 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
4803 * math/w_ilogb.c: Include <limits.h>.
4804 * math/w_ilogbl.c: Likewise.
4806 2012-07-20 Joseph Myers <joseph@codesourcery.com>
4808 * manual/lang.texi (__va_copy): Document primarily as ISO C99
4809 va_copy. Document allowing for unavailable va_copy only as
4810 pre-C99 compatibility.
4811 * manual/string.texi (Copying and Concatenation): Use va_copy
4812 instead of __va_copy in concat example.
4814 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
4816 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
4817 (__sendto): Use create_address_port. Initialize APORT and deallocate
4820 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
4821 with O_NOLINK passed to __file_name_lookup.
4823 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
4824 with O_NOLINK passed to __file_name_lookup.
4826 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
4827 negative N or less than NGIDS.
4829 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
4830 type to string_t. Set ERANGE as errno and return it if NAME is not big
4831 enough. Use memcpy instead of strncpy.
4833 2012-07-20 Joseph Myers <joseph@codesourcery.com>
4835 * elf/Makefile (check-data): Remove.
4836 (localplt.data): New vpath directive.
4837 ($(objpfx)check-localplt.out): Use localplt.data from vpath
4838 instead of $(check-data).
4839 * scripts/data/localplt-generic.data: Move to ...
4840 * sysdeps/generic/localplt.data: ... here.
4841 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
4842 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
4843 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
4844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
4846 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
4847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
4849 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
4850 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
4852 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
4853 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
4855 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
4856 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
4858 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
4859 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
4862 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4864 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
4865 PPC32 and PPC64 files.
4866 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
4867 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
4869 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4871 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
4872 __makecontext_ret to ...
4873 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
4874 ... here and call exit if uc_link is NULL. New file.
4875 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
4876 __makecontext_ret.S.
4877 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
4878 __makecontext_ret to ...
4879 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
4880 ... here and call exit if uc_link is NULL. New file.
4881 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
4882 __makecontext_ret.S.
4884 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4886 * elf/elf.h (R_390_IRELATIVE): New definition.
4887 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
4888 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
4889 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
4890 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
4891 (elf_machine_lazy_rel): Likewise.
4892 * sysdeps/s390/dl-irel.h: New file.
4893 * sysdeps/s390/s390-64/memcpy.S: New asm code.
4894 * sysdeps/s390/s390-64/memset.S: New asm code.
4895 * sysdeps/s390/s390-64/memcmp.S: New asm code.
4896 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
4897 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
4898 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
4899 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
4900 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
4901 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
4902 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
4903 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
4904 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
4905 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
4906 * sysdeps/s390/s390-32/memcpy.S: New asm code.
4907 * sysdeps/s390/s390-32/memset.S: New asm code.
4908 * sysdeps/s390/s390-32/memcmp.S: New asm code.
4910 2012-07-17 Marek Polacek <polacek@redhat.com>
4913 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
4914 * sysdeps/s390/s390-64/configure.in: Likewise.
4915 * sysdeps/sparc/configure.in: Likewise.
4916 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
4917 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
4918 * sysdeps/i386/configure.in: Likewise.
4919 * sysdeps/x86_64/configure.in: Likewise.
4920 * sysdeps/sh/configure.in: Likewise.
4921 * sysdeps/s390/s390-32/configure: Regenerated.
4922 * sysdeps/s390/s390-64/configure: Likewise.
4923 * sysdeps/x86_64/configure: Likewise.
4924 * sysdeps/sh/configure: Likewise.
4925 * sysdeps/powerpc/powerpc64/configure: Likewise.
4926 * sysdeps/powerpc/powerpc32/configure: Likewise.
4927 * sysdeps/sparc/configure: Likwise.
4928 * sysdeps/i386/configure: Likewise.
4930 * elf/dl-open.c: Comment fixes.
4932 2012-07-17 Joseph Myers <joseph@codesourcery.com>
4934 * Makefile [CXX] (check-data): Remove.
4935 [CXX] (c++-types.data): New vpath directive.
4936 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
4937 vpath. Do not allow for C++ type data being missing.
4938 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
4939 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
4940 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
4941 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
4942 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
4943 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
4944 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
4945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
4947 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
4948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
4950 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
4951 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
4953 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
4954 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
4956 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
4957 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
4959 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
4960 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
4962 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
4963 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
4965 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
4966 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
4968 * elf/tls-macros.h (TLS_LE): Move architecture-specific
4969 definitions to architecture-specific files.
4973 * sysdeps/i386/tls-macros.h: New file.
4974 * sysdeps/powerpc/tls-macros.h: Likewise.
4975 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
4976 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
4977 * sysdeps/sh/tls-macros.h: Likewise.
4978 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
4979 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
4980 * sysdeps/x86_64/tls-macros.h: Likewise.
4982 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
4984 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
4985 zero value for regular exit case.
4987 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
4988 (__start_context): Preserve zero value for regular exit case.
4990 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
4991 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4993 * manual/setjmp.texi (setcontext): Clarify normal process
4994 termination when uc_link is the null pointer.
4995 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
4998 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
5000 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
5001 preprocessor. Test for each exception mask separately.
5003 2012-07-16 Andreas Jaeger <aj@suse.de>
5005 * po/ru.po: Update from translation team.
5007 2012-07-15 Joseph Myers <joseph@codesourcery.com>
5009 * conform/data/string.h-data (NULL): Use macro-constant. Require
5011 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5012 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5013 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
5014 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
5015 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5017 2012-07-13 Andreas Jaeger <aj@suse.de>
5019 * po/fr.po: Update from translation team.
5021 2012-07-12 Marek Polacek <polacek@redhat.com>
5024 * math/libm-test.inc (yn_test): Add test for BZ #14173.
5025 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
5028 2012-07-12 Joseph Myers <joseph@codesourcery.com>
5031 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5032 Change to 2.4.1 where previously 2.4.0.
5033 * sysdeps/unix/sysv/linux/configure: Regenerated.
5034 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
5035 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
5037 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
5038 (__ASSUME_AT_CLKTCK): Remove.
5039 (__ASSUME_AT_PAGESIZE): Likewise.
5040 (__ASSUME_AT_XID): Likewise.
5041 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
5042 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
5043 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
5045 (HAVE_AUX_PAGESIZE): Likewise.
5046 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
5047 [__ASSUME_AT_CLKTCK]: Make code unconditional.
5048 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
5050 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
5053 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
5054 the temporary buffer used to invoke __gethostbyname2_r,
5055 __gethostbyaddr_r and gethostbyname4_r to make room for struct
5056 host_data / struct gaih_addrtuple.
5057 * resolv/nss_dns/dns-host.c (global scope): Move definition of
5058 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
5059 header file nss/nsswitch.h.
5060 * nss/nsswitch.h (global scope): Add definition of implementation
5061 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
5062 resolv/nss_dns/dns-host.c).
5064 2012-07-11 Andreas Jaeger <aj@suse.de>
5066 * po/fr.po: Update from translation team.
5068 * po/sv.po: Update from translation team
5069 * po/fr.po: Another update from translation team.
5071 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5073 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
5074 for subnormals or multiply small sinh result by itself.
5075 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5076 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5078 2012-07-11 David S. Miller <davem@davemloft.net>
5080 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5082 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
5085 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
5086 (INTERNAL_MARK): Shift it here.
5088 2012-07-10 Marek Polacek <polacek@redhat.com>
5091 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
5092 libc_cv_asm_global_directive with .globl.
5093 * configure: Regenerated.
5094 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
5096 * sysdeps/i386/configure: Regenerated.
5097 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
5099 * sysdeps/x86_64/configure: Regenerated.
5100 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
5101 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
5102 * elf/tst-unique2mod2.c: Likewise.
5103 * elf/tst-unique2mod1.c: Likewise.
5104 * elf/tst-unique1mod2.c: Likewise.
5105 * elf/tst-unique1mod1.c: Likewise.
5106 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5107 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5108 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5109 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5110 * sysdeps/mach/sysdep.h: Likewise.
5111 * sysdeps/i386/sysdep.h: Likewise.
5112 * sysdeps/i386/i386-mcount.S: Likewise.
5113 * sysdeps/x86_64/_mcount.S: Likewise.
5114 * sysdeps/x86_64/sysdep.h: Likewise.
5115 * sysdeps/sh/_mcount.S: Likewise.
5116 * sysdeps/sh/sysdep.h: Likewise.
5117 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
5118 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
5119 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
5120 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5121 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
5122 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
5123 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
5124 * locale/localeinfo.h: Likewise.
5125 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
5126 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
5128 2012-07-09 Roland McGrath <roland@hack.frob.com>
5131 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
5133 * manual/message.texi (The Uniforum approach): Likewise.
5134 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
5135 (glibc iconv Implementation): Likewise.
5137 2012-07-09 Joseph Myers <joseph@codesourcery.com>
5140 * math/s_clog.c (__clog): Avoid scaling a value down where that
5141 could result in underflow.
5142 * math/s_clog10.c (__clog10): Likewise.
5143 * math/s_clog10f.c (__clog10f): Likewise.
5144 * math/s_clog10l.c (__clog10l): Likewise.
5145 * math/s_clogf.c (__clogf): Likewise.
5146 * math/s_clogl.c (__clogl): Likewise.
5147 * math/libm-test.inc (clog_test): Add more tests.
5148 (clog10_test): Likewise.
5149 * sysdeps/i386/fpu/libm-test-ulps: Update.
5150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5152 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
5155 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
5156 by 7 not 8 to examine high bit of fractional part.
5159 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
5160 for call to __mcount_internal.
5161 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
5162 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
5163 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
5165 2012-07-06 Joseph Myers <joseph@codesourcery.com>
5168 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
5169 approximation for values within 0x1p-13f of an odd multiple of
5171 * math/libm-test.inc (tan_test): Do not allow spurious underflow
5172 exception. Add more tests.
5173 * sysdeps/i386/fpu/libm-test-ulps: Update.
5176 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
5177 inputs and return -1 for them. Do not check for +Inf in case not
5179 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5180 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
5181 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
5182 and return -1 for them. Do not check for +Inf in case not
5184 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
5186 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
5187 and return -1 for them. Do not check for +Inf in case not
5189 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
5191 * sysdeps/i386/fpu/libm-test-ulps: Update.
5192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5194 2012-07-06 Mike Frysinger <vapier@gentoo.org>
5196 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
5198 2012-07-05 Joseph Myers <joseph@codesourcery.com>
5202 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
5203 could result in spurious underflow. Scale down values above
5204 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
5205 * math/s_csqrtf.c (__csqrtf): Likewise.
5206 * math/s_csqrtl.c (__csqrtl): Likewise.
5207 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
5209 * sysdeps/i386/fpu/libm-test-ulps: Update.
5210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5212 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
5214 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
5216 * catgets/xopen-msg.awk: New file.
5217 * catgets/xopen-msg.sed: Removed.
5219 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
5221 * intl/po2test.awk: New file.
5222 * intl/po2test.sed: Removed.
5224 2012-07-04 Joseph Myers <joseph@codesourcery.com>
5227 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
5228 or multiply small sinh result by itself.
5229 * math/s_ctanf.c (__ctanf): Likewise.
5230 * math/s_ctanh.c (__ctanh): Likewise.
5231 * math/s_ctanhf.c (__ctanhf): Likewise.
5232 * math/s_ctanhl.c (__ctanhl): Likewise.
5233 * math/s_ctanl.c (__ctanl): Likewise.
5234 * math/libm-test.inc (ctan_test_tonearest): New function.
5235 (ctan_test_towardzero): Likewise.
5236 (ctan_test_downward): Likewise.
5237 (ctan_test_upward): Likewise.
5238 (ctanh_test_tonearest): Likewise.
5239 (ctanh_test_towardzero): Likewise.
5240 (ctanh_test_downward): Likewise.
5241 (ctanh_test_upward): Likewise.
5242 (main): Call these new functions.
5243 * sysdeps/i386/fpu/libm-test-ulps: Update.
5244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5246 2012-07-03 Mike Frysinger <vapier@gentoo.org>
5248 * .gitignore: Delete /ports entry.
5250 2012-07-03 Andreas Jaeger <aj@suse.de>
5252 * po/bg.po: Update from translation team.
5253 * po/cs.po: Likewise.
5254 * po/de.po: Likewise.
5255 * po/hr.po: Likewise.
5256 * po/nl.pl: Likewise.
5257 * po/pl.po: Likewise.
5258 * po/vi.po: Likewise.
5260 2012-07-03 Joseph Myers <joseph@codesourcery.com>
5262 * Makeconfig [!+link] (+link-before-libc): New variable.
5263 [!+link] (+link-after-libc): Likewise.
5264 [!+link] (+link-tests): Likewise.
5265 [!+link] (+link): Define in terms of $(+link-before-libc) and
5266 $(+link-after-libc).
5267 [!+link-static] (+link-static-before-libc): New variable.
5268 [!+link-static] (+link-static-after-libc): Likewise.
5269 [!+link-static] (+link-static-tests): Likewise.
5270 [!+link-static] (+link-static): Define in terms of
5271 $(+link-static-before-libc) and $(+link-static-after-libc).
5272 [build-shared] (link-libc-before-gnulib): New variable.
5273 [build-shared] (link-libc-tests): Likewise.
5274 [build-shared] (link-libc): Define in terms of
5275 $(link-libc-before-gnulib).
5276 [!build-shared] (link-libc-tests): New variable.
5277 (link-libc-static-tests): New variable.
5278 [!gnulib] (gnulib-arch): New variable.
5279 [!gnulib] (gnulib-tests): Likewise.
5280 [!gnulib] (static-gnulib-arch): Likewise.
5281 [!gnulib] (static-gnulib-tests): Likewise.
5282 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
5283 Define with "=" instead of ":=".
5284 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
5285 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
5286 * Rules (binaries-all-notests): New variable.
5287 (binaries-all-tests): Likewise.
5288 (binaries-static-notests): Likewise.
5289 (binaries-static-tests): Likewise.
5290 (binaries-all): Define using $(binaries-all-notests) and
5291 $(binaries-all-tests).
5292 (binaries-static): Define using $(binaries-static-notests) and
5293 $(binaries-static-tests).
5294 (binaries-shared-tests): New variable.
5295 (binaries-shared-notests): Likewise.
5296 (binaries-shared): Remove variable.
5297 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
5298 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
5299 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
5300 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
5301 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
5302 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
5303 * elf/Makefile (sln-modules): New variable.
5304 (extra-objs): Add $(sln-modules:=.o).
5305 (ldconfig-modules): Add static-stubs.
5306 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
5307 * elf/static-stubs.c: New file.
5310 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
5311 by 7 not 8 to examine high bit of fractional part. Use volatile
5312 variables when splitting into final array of floats if
5313 __FLT_EVAL_METHOD__ != 0.
5314 * math/libm-test.inc (cos_test): Add another test.
5315 (sin_test): Likewise.
5316 * sysdeps/i386/fpu/libm-test-ulps: Update.
5319 * math/libm-test.inc (cosh_test): Add more tests.
5321 * version.h (RELEASE): Set to "development".
5322 (VERSION): Set to "2.16.90".
5324 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
5326 * NEWS: Update copyright. Remove last-updated date.
5327 Mention math library bug fixes and timezone data changes.
5328 * README: Mention GNU/Hurd, x32, and HPPA support status.
5330 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
5332 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
5334 2012-06-27 Andreas Jaeger <aj@suse.de>
5336 * manual/contrib.texi (Contributors): Add Samuel Thibault.
5338 2012-06-25 Andreas Jaeger <aj@suse.de>
5340 * sysdeps/s390/fpu/libm-test-ulps: Update.
5342 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
5343 Thomas Schwinge <thomas@codesourcery.com>
5345 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
5346 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
5347 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
5350 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
5352 * sysdeps/mach/start.c: Remove file.
5353 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
5354 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
5355 * sysdeps/sh/init-first.c: Likewise.
5357 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
5358 registers for frame unwinding purposes, add CFI directives.
5359 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
5360 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
5361 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
5364 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
5365 __fortify_fail returning.
5366 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
5368 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
5369 sysdeps/sh/____longjmp_chk.S.
5370 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
5371 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
5372 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
5373 (gen-as-const-headers): Append sigaltstack-offsets.sym.
5375 * sysdeps/sh/abort-instr.h: New file.
5376 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
5377 process in case exit returns.
5379 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
5380 initialize the GOT register before use.
5382 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
5383 calculation of ARGC > 4.
5385 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
5386 meaningful names to some local labels.
5388 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5389 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5391 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
5392 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
5393 (__arch_compare_and_exchange_val_16_acq): Likewise.
5394 (__arch_compare_and_exchange_val_32_acq): Likewise.
5395 (atomic_exchange_and_add): Fix gUSA sequence.
5396 (atomic_add): Likewise.
5397 (atomic_add_negative): Likewise.
5398 (atomic_add_zero): Likewise.
5399 (atomic_bit_test_set): Likewise.
5401 2012-06-22 Andreas Schwab <schwab@redhat.com>
5404 * include/link.h (struct link_map): Add l_free_initfini.
5405 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
5407 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
5408 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
5409 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
5412 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
5414 * configure.in: Use AC_LANG_SOURCE.
5415 * configure: Regenerate.
5417 2012-06-22 Roland McGrath <roland@hack.frob.com>
5419 * configure.in (libc_cv_localstatedir): New substituted variable.
5420 * configure: Regenerated.
5421 * config.make.in (localstatedir): New variable, substituted from
5422 libc_cv_localstatedir.
5423 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
5424 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
5425 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
5426 * sysdeps/gnu/configure: Regenerated.
5428 2012-06-21 Jeff Law <law@redhat.com>
5431 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
5432 free. Simplify list management for _LIBC case.
5434 2012-06-21 Joseph Myers <joseph@codesourcery.com>
5437 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
5438 Clear sign bit of 64-bit integer value before comparing against
5441 * sysdeps/mach/configure: Regenerated.
5443 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
5446 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
5448 2012-06-21 Jeff Law <law@redhat.com>
5451 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
5452 uint16_t for elements in the "seen" array to avoid char overflows.
5453 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5454 * elf/dl-open.c (dl_open_worker): Likewise.
5456 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
5458 * scripts/list-sources.sh: Scan PORTS for translations.
5459 * po/libc.pot: Regenerated.
5461 2012-06-21 Andreas Jaeger <aj@suse.de>
5464 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
5466 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
5467 * bits/byteswap-16.h (__bswap_16): Likewise.
5468 * bits/byteswap.h (__bswap_constant_16): Likewise.
5470 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
5473 * sysdeps/i386/fpu_control.h: Removed.
5474 * sysdeps/x86_64/fpu_control.h: Moved to ...
5475 * sysdeps/x86/fpu_control.h: Here.
5477 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
5478 (_FPU_SETCW): Likewise.
5480 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
5483 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
5484 * sysdeps/x86/fpu/bits/mathinline.h: This.
5485 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
5489 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
5490 functions if __x86_64__ is defined.
5492 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
5494 * string/endian.h: Add !__ASSEMBLER__ condition for including
5495 conversion interfaces.
5497 2012-06-15 Joseph Myers <joseph@codesourcery.com>
5500 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
5501 of ABS(x) in calculating zero to negative powers other than odd
5503 * math/libm-test.inc (pow_test): Add more tests.
5505 2012-06-15 Andreas Jaeger <aj@suse.de>
5507 * manual/contrib.texi (Contributors): Update entry of Liubov
5508 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
5511 2012-06-15 Cyril Hrubis <metan@ucw.cz>
5513 * string/string.h: Add __wur to GNU version of strerror_r.
5515 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
5518 * string/Makefile (tests): Add tst-strtok_r.
5519 * string/tst-strtok_r.c: New file.
5520 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
5521 RAX_LP/RDX_LP on SAVE_PTR.
5523 2012-06-14 Roland McGrath <roland@hack.frob.com>
5525 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
5527 2012-06-14 Joseph Myers <joseph@codesourcery.com>
5529 * libm_test.inc (csqrt_test): Allow more spurious underflow
5531 (j0_test): Likewise.
5532 (j1_test): Likewise.
5533 (y0_test): Likewise.
5534 (y1_test): Likewise.
5536 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
5538 * po/Makefile (libc.pot): Use UTF-8 charset.
5540 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
5543 Suppress sign-conversion warning from FD_SET.
5544 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
5545 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
5546 not unsigned long int.
5547 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
5549 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
5553 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
5554 __extern_always_inline instead of __extern_inline.
5555 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
5556 (__signbit): Likewise.
5557 (__signbitl): Support C++ namespace.
5558 (lrintf): New inline function.
5560 (llrintf): Likewise.
5572 (nearbyint): Likewise.
5573 (nearbyintf): Likewise.
5575 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
5577 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
5578 non-default versions.
5580 2012-06-11 Roland McGrath <roland@hack.frob.com>
5583 * manual/argp.texi (Argp): Reword argp_parse description slightly.
5585 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
5587 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
5588 (FE_UPWARD, FE_DOWNWARD): Don't define.
5589 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
5590 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
5592 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
5594 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
5595 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
5597 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5599 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
5600 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
5601 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
5602 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
5604 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
5607 * sysdeps/i386/fpu/bits/fenv.h: Removed.
5608 * sysdeps/i386/fpu/Implies: New file.
5609 * sysdeps/x86_64/fpu/Implies: Likewise.
5610 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
5611 * sysdeps/x86/fpu/bits/fenv.h: This.
5613 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
5616 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5619 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
5620 character 0xffff that matches the last element of the
5623 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5625 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
5628 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5630 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
5631 values higher than 25.6283.
5633 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5635 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
5636 subnormal exponent extraction and add some __builtin_expect.
5637 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
5638 Fix for subnormal mantissa calculation.
5640 2012-06-04 Mike Frysinger <vapier@gentoo.org>
5642 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
5643 cpu2 is -1 and errno is not ENOSYS.
5645 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
5648 * sysdeps/i386/i486/bits/string.h: Renamed to ...
5649 * sysdeps/x86/bits/string.h: This.
5650 * sysdeps/x86_64/bits/string.h: Removed.
5652 * sysdeps/i386/i486/bits/string.h: Define inline functions only
5653 if not compiling for x86-64, but compiling for >= i486.
5655 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
5656 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
5658 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
5659 New macro from Linux kernel 3.4.0.
5660 (FP_XSTATE_MAGIC2): Likewise.
5661 (FP_XSTATE_MAGIC2_SIZE): Likewise.
5662 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
5663 (struct _fpx_sw_bytes): New struct.
5664 (struct _xsave_hdr): Likewise.
5665 (struct _ymmh_state): Likewise.
5666 (struct _xstate): Likewise.
5668 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
5669 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
5670 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
5671 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
5672 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
5673 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
5675 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
5676 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
5677 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
5678 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
5679 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
5680 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
5682 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5685 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
5686 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
5687 (sysdep_headers): Include sys/platform/ppc.h.
5688 * sysdeps/powerpc/test-gettimebase.c: Test for
5689 __ppc_get_timebase() to catch future ISA opcode/insn changes.
5690 * manual/Makefile (appendices): Include platform.texi.
5691 * manual/contrib.texi (Contributors): Update @node pointers.
5692 * manual/maint.texi (Maintenance): Likewise.
5693 (Platform): New node.
5694 * manual/platform.texi: New file. Document the new features.
5696 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5697 Jakub Jelinek <jakub@redhat.com>
5700 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
5701 where __builtin_expect is unavailable.
5703 2012-06-03 David S. Miller <davem@davemloft.net>
5705 * stdlib/longlong.h: Updated from GCC.
5707 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
5710 * sysdeps/powerpc/powerpc32/mcount.c: New file.
5711 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
5713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
5714 (GLIBC_2.16): Likewise.
5716 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
5718 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
5720 2012-06-01 Joseph Myers <joseph@codesourcery.com>
5722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
5723 (default-abi): New variable.
5724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
5725 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
5727 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
5729 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
5731 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
5734 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
5735 definition. Document in comment.
5737 2012-06-01 David S. Miller <davem@davemloft.net>
5739 * stdlib/longlong.h: Updated from GCC.
5741 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
5744 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
5745 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
5746 sys/debugreg.h sys/io.h here.
5747 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
5748 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
5750 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
5751 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
5752 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
5753 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
5754 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
5755 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
5757 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
5758 Define only if __x86_64__ is defined.
5760 2012-06-01 Joseph Myers <joseph@codesourcery.com>
5763 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
5764 Use int64_t for variable i.
5765 * math/libm-test.inc (fmod_test): Add more tests.
5767 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
5768 z computation is not scheduled after fetestexcept.
5769 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
5770 Use math_force_eval instead of asm to ensure calculation scheduled
5771 before exception test.
5772 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
5773 Ensure a1 + u.d computation is not scheduled after fetestexcept.
5775 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
5777 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
5778 computation is not scheduled after fetestexcept.
5780 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
5783 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
5784 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
5786 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5788 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
5789 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
5791 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
5794 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
5796 (__WCHAR_MIN): Support __WORDSIZE == 64.
5797 (__WCHAR_MAX): Likewise.
5799 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
5800 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
5803 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
5804 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
5807 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
5808 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
5810 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
5811 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
5813 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
5814 Defined to 1 if __x86_64__ isn't defined.
5815 (_STAT_VER_LINUX_OLD): New.
5816 (st_atime): Remove duplicate.
5817 (st_mtime): Likewise.
5818 (st_ctime): Likewise.
5820 2012-05-31 David S. Miller <davem@davemloft.net>
5822 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
5825 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
5827 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
5831 * elf/dl-reloc.c: Include <_itoa.h>.
5832 (_dl_reloc_bad_type): Remove use of INTUSE.
5833 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
5834 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
5835 * stdio-common/psiginfo.c (psiginfo): Likewise.
5836 * stdio-common/psignal.c (psignal): Likewise.
5837 * string/strsignal.c (strsignal): Likewise.
5838 * include/signal.h (_sys_siglist): Declare hidden proto.
5839 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
5840 INTVARDEF with libc_hidden_data_def.
5841 * stdio-common/itoa-udigits.c: Likewise.
5842 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
5843 (_itoa_lower_digits_internal): Remove declaration.
5844 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
5845 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
5846 (_sys_sigabbrev_internal): Remove aliases.
5847 (_sys_siglist): Define hidden alias.
5849 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
5851 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5854 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
5857 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
5858 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
5860 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
5861 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
5862 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
5863 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
5864 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
5865 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
5867 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
5868 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
5869 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
5871 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
5879 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
5880 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
5881 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
5883 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
5884 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
5885 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
5886 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
5887 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
5888 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
5890 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
5891 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
5893 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
5894 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
5896 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
5897 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
5898 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
5900 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
5901 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
5903 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
5905 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
5906 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
5907 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
5909 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
5911 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
5913 2012-05-31 Joseph Myers <joseph@codesourcery.com>
5915 * math/math.h (M_El): Use two more decimal places.
5916 (M_LOG2El): Likewise.
5917 (M_LOG10El): Likewise.
5919 (M_LN10l): Likewise.
5921 (M_PI_2l): Likewise.
5922 (M_PI_4l): Likewise.
5923 (M_1_PIl): Likewise.
5924 (M_2_PIl): Likewise.
5925 (M_2_SQRTPIl): Likewise.
5926 (M_SQRT2l): Likewise.
5927 (M_SQRT1_2l): Likewise.
5929 2012-05-31 David S. Miller <davem@davemloft.net>
5931 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
5932 values between float registers.
5933 * sysdeps/sparc/sparc64/memset.S: Likewise.
5934 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5936 2012-05-31 Mike Frysinger <vapier@gentoo.org>
5938 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
5939 -D_FORTIFY_SOURCE=1.
5940 (CPPFLAGS-tst-longjmp_chk.c): Define.
5941 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
5942 (CPPFLAGS-tst-longjmp_chk2.c): Define.
5943 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
5944 CFLAGS-tst-wchar-h.c.
5946 2012-05-31 Marek Polacek <polacek@redhat.com>
5949 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
5950 __endmntent_internal): Remove declaration.
5951 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
5952 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
5953 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
5955 2012-05-30 David S. Miller <davem@davemloft.net>
5957 * sysdeps/sparc/sparc32/soft-fp/q_util.c
5958 (___Q_simulate_exceptions): Use real FP ops rather than writing
5960 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
5963 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5966 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
5967 * sysdeps/x86/bits/xtitypes.h: This.
5969 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
5970 * sysdeps/x86/bits/wordsize.h: This.
5972 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
5973 * sysdeps/x86/bits/huge_vall.h: This.
5975 * sysdeps/i386/bits/select.h: Removed.
5976 * sysdeps/x86_64/bits/select.h: Renamed to ...
5977 * sysdeps/x86/bits/select.h: This.
5979 * sysdeps/i386/bits/setjmp.h: Removed.
5980 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
5981 * sysdeps/x86/bits/setjmp.h: This.
5983 * sysdeps/i386/bits/mathdef.h: Removed.
5984 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
5985 * sysdeps/x86/bits/mathdef.h: This.
5987 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
5990 * include/sys/socket.h (__connect_internal)
5991 (__libc_sa_len_internal): Remove declaration.
5992 (__connect, __libc_sa_len): Declare hidden_proto.
5993 (SA_LEN): Remove use of INTUSE.
5994 * socket/connect.c: Add libc_hidden_def.
5995 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
5996 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
5997 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
5999 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6000 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6001 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
6002 of adding _internal alias.
6004 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6007 * sysdeps/i386/bits/link.h: Removed.
6008 * sysdeps/i386/bits/linkmap.h: Likewise.
6009 * sysdeps/x86_64/bits/link.h: Renamed to ...
6010 * sysdeps/x86/bits/link.h: This.
6011 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
6012 * sysdeps/x86/bits/linkmap.h: This.
6014 * sysdeps/i386/bits/endian.h: Removed.
6015 * sysdeps/x86_64/bits/endian.h: Renamed to ...
6016 * sysdeps/x86/bits/endian.h: This.
6018 * sysdeps/i386/bits/byteswap.h: Removed.
6019 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6020 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
6021 * sysdeps/x86/bits/byteswap.h: This.
6022 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
6023 * sysdeps/x86/bits/byteswap-16.h: This.
6024 * sysdeps/i386/Implies: Add x86.
6025 * sysdeps/x86_64/Implies: Likewise.
6027 2012-05-30 David S. Miller <davem@davemloft.net>
6029 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
6030 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
6031 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6032 (FP_TRAPPING_EXCEPTIONS): Define.
6033 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6034 (FP_TRAPPING_EXCEPTIONS): Define.
6035 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
6036 subnormals only when inexact has been signalled or underflow
6037 exceptions are enabled.
6038 (_FP_PACK_CANONICAL): Likewise.
6040 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6043 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
6044 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
6046 2012-05-30 Richard Henderson <rth@twiddle.net>
6048 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
6049 with #ifndef NOT_IN_libc.
6051 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
6052 marked to avoid plt entry.
6054 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6057 * Makeconfig (default-abi): New macro.
6058 (abi-includes): Likewise.
6059 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
6060 $(abi-$(default-abi)-lib-soname) for soname if defined.
6061 ($(common-objpfx)gnu/lib-names.stmp): Generate from
6063 * Makefile (installed-stubs): Likewise.
6064 * include/stubs-biarch.h: Removed.
6065 * scripts/lib-names.awk: Only handle one library at a time.
6066 * scripts/soversions.awk: Remove WORDSIZE support.
6067 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
6069 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
6071 (syscall-list-default-condition): Likewise.
6072 (syscall-list-default-condition): Likewise.
6073 (syscall-list-includes): Likewise.
6074 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
6075 syscall-list-* with abi-*. Handle undefined abi-variants.
6076 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
6077 * sysdeps/unix/sysv/linux/i386/Implies: New file.
6078 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
6079 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
6080 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
6081 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
6083 (syscall-list-32-options): Likewise.
6084 (syscall-list-32-condition): Likewise.
6085 (syscall-list-64-options): Likewise.
6086 (syscall-list-64-condition): Likewise.
6087 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
6089 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
6092 (abi-64-ld-soname): New macro.
6093 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
6094 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
6097 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
6098 * sysdeps/x86_64/x32/shlib-versions: Likewise.
6100 2012-05-30 Joseph Myers <joseph@codesourcery.com>
6102 * sysdeps/unix/sysv/linux/kernel-features.h
6103 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
6104 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
6105 include <kernel-features.h>.
6106 [!__NR_ftruncate64]: Remove conditional code.
6107 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6108 [__NR_ftruncate64]: Make code unconditional.
6109 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6110 * sysdeps/unix/sysv/linux/truncate64.c: Do not
6111 include <kernel-features.h>.
6112 [!__NR_ftruncate64]: Remove conditional code.
6113 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6114 [__NR_ftruncate64]: Make code unconditional.
6115 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
6117 include <kernel-features.h>.
6118 [!__NR_ftruncate64]: Remove conditional code.
6119 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6120 [__NR_ftruncate64]: Make code unconditional.
6121 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
6123 include <kernel-features.h>.
6124 [!__NR_ftruncate64]: Remove conditional code.
6125 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6126 [__NR_ftruncate64]: Make code unconditional.
6127 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6129 * configure.in (libc_cv_fpie): Weaken to a compile test using
6131 * configure: Regenerated.
6133 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6135 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
6136 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
6137 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
6138 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6140 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
6141 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
6142 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
6143 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
6144 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
6145 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6148 2012-05-27 David S. Miller <davem@davemloft.net>
6150 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
6152 (__Q_simulate_exceptions): Return void. Change to simulate
6153 exceptions by writing into the %fsr.
6154 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
6155 (__Qp_handle_exceptions): Likewise.
6157 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
6158 __Qp_handle_exceptions.
6159 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
6160 __Qp_handle_exceptions.
6161 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
6162 as unused and give dummy FP_RND_NEAREST initializer.
6163 (FP_INHIBIT_RESULTS): Define.
6164 (___Q_simulate_exceptions): Update declaration.
6165 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
6167 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
6168 as unused and give dummy FP_RND_NEAREST initializer.
6169 (__Qp_handle_exceptions): Update declaration.
6170 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
6173 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
6175 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
6176 the temporary FPU control word.
6177 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6178 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
6179 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
6180 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6181 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6182 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
6183 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
6184 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6185 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6186 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
6187 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6189 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6191 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
6194 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
6196 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
6197 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
6198 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
6199 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
6201 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
6202 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
6205 2012-05-27 Ulrich Drepper <drepper@gmail.com>
6207 * po/h.po: Update from translation team.
6209 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
6211 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
6213 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
6214 handling of denormals.
6215 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6216 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
6217 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6218 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6219 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6220 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
6221 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
6224 2012-05-26 Marek Polacek <polacek@redhat.com>
6227 * math/libm-test.inc (fma_test): Don't always expect underflow
6230 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6233 * elf/tst-execstack.c: Include stackinfo.h.
6234 (do_test): Adjust test case to ensure that pthread_getattr_np
6235 behaviour remains the same after marking stack executable.
6237 2012-05-25 Joseph Myers <joseph@codesourcery.com>
6239 * sysdeps/unix/sysv/linux/kernel-features.h
6240 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
6241 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
6243 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
6244 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
6245 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
6247 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
6248 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
6250 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
6252 * configure.in: Define the default includes to being none.
6253 * configure: Regenerated.
6255 2012-05-25 Roland McGrath <roland@hack.frob.com>
6257 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
6258 * sysdeps/x86_64/setjmp.S: Likewise.
6259 * sysdeps/i386/bsd-setjmp.S: Likewise.
6260 * sysdeps/i386/bsd-_setjmp.S: Likewise.
6261 * sysdeps/i386/setjmp.S: Likewise.
6262 * sysdeps/i386/__longjmp.S: Likewise.
6263 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
6264 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
6266 * include/stap-probe.h: New file.
6267 * configure.in: Handle --enable-systemtap.
6268 * configure: Regenerated.
6269 * config.h.in (USE_STAP_PROBE): New #undef.
6270 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
6271 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
6272 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
6274 2012-05-25 Joseph Myers <joseph@codesourcery.com>
6277 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
6278 to 2.4.0 where earlier.
6279 * sysdeps/unix/sysv/linux/configure: Regenerated.
6280 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
6281 <kernel-features.h>.
6282 [__ASSUME_32BITUIDS]: Make code unconditional.
6283 [!__ASSUME_32BITUIDS]: Remove conditional code.
6284 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
6285 <kernel-features.h>.
6286 [__ASSUME_32BITUIDS]: Make code unconditional.
6287 [!__ASSUME_32BITUIDS]: Remove conditional code.
6288 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
6289 [__ASSUME_32BITUIDS]: Make code unconditional.
6290 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
6291 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
6292 <kernel-features.h>.
6293 [__ASSUME_32BITUIDS]: Make code unconditional.
6294 [!__ASSUME_32BITUIDS]: Remove conditional code.
6295 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
6296 <kernel-features.h>.
6297 [__ASSUME_32BITUIDS]: Make code unconditional.
6298 [!__ASSUME_32BITUIDS]: Remove conditional code.
6299 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
6300 <kernel-features.h>.
6301 [__ASSUME_32BITUIDS]: Make code unconditional.
6302 [!__ASSUME_32BITUIDS]: Remove conditional code.
6303 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
6304 <kernel-features.h>.
6305 [__ASSUME_32BITUIDS]: Make code unconditional.
6306 [!__ASSUME_32BITUIDS]: Remove conditional code.
6307 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
6308 <kernel-features.h>.
6309 [__ASSUME_32BITUIDS]: Make code unconditional.
6310 [!__ASSUME_32BITUIDS]: Remove conditional code.
6311 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
6312 <kernel-features.h>.
6313 [__ASSUME_32BITUIDS]: Make code unconditional.
6314 [!__ASSUME_32BITUIDS]: Remove conditional code.
6315 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
6316 <kernel-features.h>.
6317 [__ASSUME_32BITUIDS]: Make code unconditional.
6318 [!__ASSUME_32BITUIDS]: Remove conditional code.
6319 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
6320 <kernel-features.h>.
6321 [__ASSUME_32BITUIDS]: Make code unconditional.
6322 [!__ASSUME_32BITUIDS]: Remove conditional code.
6323 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
6324 <kernel-features.h>.
6325 [__ASSUME_32BITUIDS]: Make code unconditional.
6326 [!__ASSUME_32BITUIDS]: Remove conditional code.
6327 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
6328 <kernel-features.h>.
6329 [__ASSUME_32BITUIDS]: Make code unconditional.
6330 [!__ASSUME_32BITUIDS]: Remove conditional code.
6331 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
6332 <kernel-features.h>.
6333 [__NR_setresgid] (__setresgid): Do not declare.
6334 [__ASSUME_32BITUIDS]: Make code unconditional.
6335 [!__ASSUME_32BITUIDS]: Remove conditional code.
6336 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
6337 <kernel-features.h>.
6338 [__NR_setresuid] (__setresuid): Do not declare.
6339 [__ASSUME_32BITUIDS]: Make code unconditional.
6340 [!__ASSUME_32BITUIDS]: Remove conditional code.
6341 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
6342 <kernel-features.h>.
6343 [__ASSUME_32BITUIDS]: Make code unconditional.
6344 [!__ASSUME_32BITUIDS]: Remove conditional code.
6345 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
6346 <kernel-features.h>.
6347 [__ASSUME_32BITUIDS]: Make code unconditional.
6348 [!__ASSUME_32BITUIDS]: Remove conditional code.
6349 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
6350 <kernel-features.h>.
6351 [__ASSUME_32BITUIDS]: Make code unconditional.
6352 [!__ASSUME_32BITUIDS]: Remove conditional code.
6353 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
6354 <kernel-features.h>.
6355 [__ASSUME_32BITUIDS]: Make code unconditional.
6356 [!__ASSUME_32BITUIDS]: Remove conditional code.
6357 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
6358 <kernel-features.h>.
6359 [__ASSUME_32BITUIDS]: Make code unconditional.
6360 [!__ASSUME_32BITUIDS]: Remove conditional code.
6361 * sysdeps/unix/sysv/linux/i386/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
6382 (__ASSUME_SETRESUID_SYSCALL): Remove.
6383 (__ASSUME_SETRESGID_SYSCALL): Likewise.
6384 (__ASSUME_32BITUIDS): Likewise.
6385 (__ASSUME_LDT_WORKS): Likewise.
6386 (__ASSUME_O_DIRECTORY): Likewise.
6387 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
6388 architecture but not kernel version.
6389 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6390 (__ASSUME_MMAP2_SYSCALL): Likewise.
6391 (__ASSUME_STAT64_SYSCALL): Likewise.
6392 (__ASSUME_IPC64): Likewise.
6393 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
6394 <kernel-features.h>.
6395 [__ASSUME_32BITUIDS]: Make code unconditional.
6396 [!__ASSUME_32BITUIDS]: Remove conditional code.
6397 * sysdeps/unix/sysv/linux/opendir.c: Do not include
6398 <kernel-features.h>.
6399 [__ASSUME_O_DIRECTORY]: Make code unconditional.
6400 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
6401 132096]: Remove conditional code.
6402 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
6403 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
6404 <kernel-features.h>.
6405 [__ASSUME_32BITUIDS]: Make code unconditional.
6406 [!__ASSUME_32BITUIDS]: Remove conditional code.
6407 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
6408 <kernel-features.h>.
6409 [__ASSUME_32BITUIDS]: Make code unconditional.
6410 [!__ASSUME_32BITUIDS]: Remove conditional code.
6411 * sysdeps/unix/sysv/linux/setegid.c: Do not include
6412 <kernel-features.h>.
6413 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
6415 (__setresgid): Do not declare.
6416 [__ASSUME_32BITUIDS]: Make code unconditional.
6417 [!__ASSUME_32BITUIDS]: Remove conditional code.
6418 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
6419 <kernel-features.h>.
6420 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
6422 (__setresuid): Do not declare.
6423 [__ASSUME_32BITUIDS]: Make code unconditional.
6424 [!__ASSUME_32BITUIDS]: Remove conditional code.
6425 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
6426 <kernel-features.h>.
6427 [__ASSUME_32BITUIDS]: Make code unconditional.
6428 [!__ASSUME_32BITUIDS]: Remove conditional code.
6429 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
6430 <kernel-features.h>.
6431 [__ASSUME_32BITUIDS]: Make code unconditional.
6432 [!__ASSUME_32BITUIDS]: Remove conditional code.
6434 2012-05-25 Richard Henderson <rth@twiddle.net>
6436 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
6437 dl_hwcap to ifunc resolver.
6438 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
6440 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
6441 dl_hwcap to ifunc resolver.
6442 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
6444 2012-05-24 Joseph Myers <joseph@codesourcery.com>
6447 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
6448 for |x| <= 2**-26, not 2**-57.
6449 * math/libm-test.inc (acos_test): Do not allow spurious underflow
6452 2012-05-24 Jeff Law <law@redhat.com>
6454 * stdio-common/Makefile (tests): Add bug25.
6455 * stdio-common/bug25.c: New test.
6457 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
6460 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
6461 multiple of MALLOC_ALIGNMENT in size.
6462 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
6464 2012-05-24 Joseph Myers <joseph@codesourcery.com>
6466 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
6468 (FILENAME_MAX): Use macro-int-constant.
6469 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
6470 (_IOFBF): Use macro-int-constant.
6473 (SEEK_CUR): Likewise.
6474 (SEEK_END): Likewise.
6475 (SEEK_SET): Likewise.
6476 (TMP_MAX): Likewise.
6477 (EOF): Use macro-int-constant. Require < 0.
6478 (NULL): Use macro-constant. Require == 0.
6479 (stdin): Require type to be FILE *.
6482 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
6484 (EXIT_SUCCESS): Likewise.
6485 (NULL): Use macro-constant. Require == 0.
6486 (RAND_MAX): Use macro-int-constant.
6487 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
6488 [C99-based standards] (strtof): Require function.
6489 [C99-based standards] (strtold): Likewise.
6490 [C99-based standards] (strtoll): Likewise.
6491 [C99-based standards] (strtoull): Likewise.
6492 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6493 [ISO || ISO99 || ISO11] (limits.h): Likewise.
6494 [ISO || ISO99 || ISO11] (math.h): Likewise.
6495 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
6496 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6497 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6499 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
6502 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
6503 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
6504 * intl/dgettext.c (DCGETTEXT): Likewise.
6505 * intl/gettext.c (DCGETTEXT): Likewise.
6506 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
6507 * posix/regex_internal.h (gettext): Likewise.
6508 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
6510 * include/argz.h (__argz_count_internal)
6511 (__argz_stringify_internal): Remove declaration.
6512 (__argz_count, __argz_stringify): Declare hidden proto.
6513 * intl/dcgettext.c: Remove use of INTDEF.
6514 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
6515 * string/argz-stringify.c: Likewise.
6516 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
6517 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
6518 Declare hidden proto.
6519 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
6520 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
6521 Declare hidden proto.
6522 * include/stdio.h (__asprintf_internal): Don't declare.
6523 (__asprintf): Don't define as macro. Declare hidden proto.
6524 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
6525 (__fsetlocking): Declare hidden proto.
6526 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
6527 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
6529 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
6530 (_IO_setlinebuf): Remove use of INTUSE.
6531 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
6532 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
6533 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
6535 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
6536 (_IO_do_flush): Remove use of INTUSE.
6537 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
6538 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
6539 (_IO_adjust_column, _IO_least_wmarker)
6540 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
6541 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
6542 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
6543 (_IO_default_doallocate, _IO_wdefault_doallocate)
6544 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
6545 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
6546 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
6547 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
6548 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
6549 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
6550 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
6551 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
6552 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
6553 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
6554 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
6555 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
6556 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
6558 (_IO_flush_all_internal, _IO_adjust_column_internal)
6559 (_IO_default_uflow_internal, _IO_default_finish_internal)
6560 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
6561 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
6562 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
6563 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
6564 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
6565 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
6566 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
6567 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
6568 (_IO_file_close_internal, _IO_file_close_it_internal)
6569 (_IO_file_underflow_internal, _IO_file_overflow_internal)
6570 (_IO_file_init_internal, _IO_file_attach_internal)
6571 (_IO_file_fopen_internal, _IO_file_read_internal)
6572 (_IO_file_sync_internal, _IO_file_seek_internal)
6573 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
6574 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
6575 (_IO_str_underflow_internal, _IO_str_overflow_internal)
6576 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
6577 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
6578 (_IO_list_all_internal, _IO_link_in_internal)
6579 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
6580 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
6581 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
6582 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
6583 (_IO_do_write_internal, _IO_padn_internal)
6584 (_IO_getline_info_internal, _IO_getline_internal)
6585 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
6586 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
6587 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
6588 (_IO_vfscanf_internal, _IO_vfprintf_internal)
6589 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
6590 (_IO_init_internal, _IO_un_link_internal): Don't declare.
6591 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
6592 with libc_hidden_ver, remove use of INTUSE.
6593 * libio/genops.c: Likewise.
6594 * libio/freopen.c: Likewise.
6595 * libio/freopen64.c: Likewise.
6596 * libio/iofclose.c: Likewise.
6597 * libio/iofdopen.c: Likewise.
6598 * libio/iofflush.c: Likewise.
6599 * libio/iofflush_u.c: Likewise.
6600 * libio/iofgets.c: Likewise.
6601 * libio/iofgets_u.c: Likewise.
6602 * libio/iofopen.c: Likewise.
6603 * libio/iofopncook.c: Likewise.
6604 * libio/iofread.c: Likewise.
6605 * libio/iofread_u.c: Likewise.
6606 * libio/ioftell.c: Likewise.
6607 * libio/iofwrite.c: Likewise.
6608 * libio/iogetline.c: Likewise.
6609 * libio/iogets.c: Likewise.
6610 * libio/iogetwline.c: Likewise.
6611 * libio/iopadn.c: Likewise.
6612 * libio/iopopen.c: Likewise.
6613 * libio/ioseekoff.c: Likewise.
6614 * libio/ioseekpos.c: Likewise.
6615 * libio/iosetbuffer.c: Likewise.
6616 * libio/iosetvbuf.c: Likewise.
6617 * libio/ioungetc.c: Likewise.
6618 * libio/ioungetwc.c: Likewise.
6619 * libio/iovdprintf.c: Likewise.
6620 * libio/iovsprintf.c: Likewise.
6621 * libio/iovsscanf.c: Likewise.
6622 * libio/memstream.c: Likewise.
6623 * libio/obprintf.c: Likewise.
6624 * libio/oldfileops.c: Likewise.
6625 * libio/oldiofclose.c: Likewise.
6626 * libio/oldiofdopen.c: Likewise.
6627 * libio/oldiofopen.c: Likewise.
6628 * libio/oldiopopen.c: Likewise.
6629 * libio/oldstdfiles.c: Likewise.
6630 * libio/putc.c: Likewise.
6631 * libio/setbuf.c: Likewise.
6632 * libio/setlinebuf.c: Likewise.
6633 * libio/stdfiles.c: Likewise.
6634 * libio/strops.c: Likewise.
6635 * libio/vasprintf.c: Likewise.
6636 * libio/vscanf.c: Likewise.
6637 * libio/vsnprintf.c: Likewise.
6638 * libio/vswprintf.c: Likewise.
6639 * libio/wfiledoalloc.c: Likewise.
6640 * libio/wfileops.c: Likewise.
6641 * libio/wgenops.c: Likewise.
6642 * libio/wmemstream.c: Likewise.
6643 * libio/wstrops.c: Likewise.
6644 * libio/__fpurge.c: Likewise.
6645 * libio/__fsetlocking.c: Likewise.
6646 * assert/assert.c: Likewise.
6647 * debug/fgets_chk.c: Likewise.
6648 * debug/fgets_u_chk.c: Likewise.
6649 * debug/fread_chk.c: Likewise.
6650 * debug/fread_u_chk.c: Likewise.
6651 * debug/gets_chk.c: Likewise.
6652 * debug/obprintf_chk.c: Likewise.
6653 * debug/vasprintf_chk.c: Likewise.
6654 * debug/vdprintf_chk.c: Likewise.
6655 * debug/vsnprintf_chk.c: Likewise.
6656 * debug/vsprintf_chk.c: Likewise.
6657 * malloc/mtrace.c: Likewise.
6658 * misc/error.c: Likewise.
6659 * misc/syslog.c: Likewise.
6660 * stdio-common/asprintf.c: Likewise.
6661 * stdio-common/fxprintf.c: Likewise.
6662 * stdio-common/getw.c: Likewise.
6663 * stdio-common/isoc99_fscanf.c: Likewise.
6664 * stdio-common/isoc99_scanf.c: Likewise.
6665 * stdio-common/isoc99_vfscanf.c: Likewise.
6666 * stdio-common/isoc99_vscanf.c: Likewise.
6667 * stdio-common/isoc99_vsscanf.c: Likewise.
6668 * stdio-common/printf-prs.c: Likewise.
6669 * stdio-common/printf_fp.c: Likewise.
6670 * stdio-common/printf_fphex.c: Likewise.
6671 * stdio-common/printf_size.c: Likewise.
6672 * stdio-common/putw.c: Likewise.
6673 * stdio-common/scanf.c: Likewise.
6674 * stdio-common/sprintf.c: Likewise.
6675 * stdio-common/tmpfile.c: Likewise.
6676 * stdio-common/vfprintf.c: Likewise.
6677 * stdio-common/vfscanf.c: Likewise.
6678 * stdlib/strfmon_l.c: Likewise.
6679 * sunrpc/openchild.c: Likewise.
6680 * sunrpc/xdr_stdio.c: Likewise.
6681 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
6682 * sysdeps/mach/hurd/tmpfile.c: Likewise.
6684 2012-05-24 Roland McGrath <roland@hack.frob.com>
6686 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
6688 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
6689 in the third column, to generate for the shared library an IFUNC
6690 that uses _dl_vdso_vsym.
6691 * Makerules (COMPILE.c, compile-stdin.c): New variables.
6692 * Makeconfig (object-suffixes-noshared): New variable.
6694 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
6695 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
6696 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
6697 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
6700 * include/sys/time.h (__gettimeofday): Remove macro.
6701 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
6702 * time/gettimeofday.c (__gettimeofday): Remove #undef.
6704 (__gettimeofday): Add libc_hidden_def.
6705 (gettimeofday): Add libc_hidden_weak.
6706 * sysdeps/mach/gettimeofday.c: Likewise.
6707 * sysdeps/posix/gettimeofday.c: Likewise.
6708 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
6709 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
6710 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
6711 (__gettimeofday_internal): Remove strong_alias.
6712 (__gettimeofday): Add libc_hidden_def.
6713 (gettimeofday): Add libc_hidden_weak.
6714 * sysdeps/unix/syscalls.list (gettimeofday):
6715 Remove __gettimeofday_internal alias.
6717 2012-05-24 Daniel Jacobowitz <drow@false.org>
6718 H.J. Lu <hongjiu.lu@intel.com>
6721 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
6722 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
6723 (largebin_index_32_big): New.
6724 (largebin_index): Use it for 16-byte alignment.
6725 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
6726 correction with front_misalign.
6728 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
6730 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
6731 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
6733 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
6735 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6737 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
6739 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
6741 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
6743 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
6745 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6747 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
6749 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
6751 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
6753 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
6756 * scripts/data/c++-types-x32-linux-gnu.data: New file.
6757 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
6759 2012-05-24 Joseph Myers <joseph@codesourcery.com>
6763 * math/libm-test.inc (exp_test): Add test from bug 14036.
6764 (pow_test): Add test from bug 10846.
6766 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
6768 (special_function): Do not include flags in test name.
6769 (parse_args): Likewise.
6770 * sysdeps/i386/fpu/libm-test-ulps: Update.
6771 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6772 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6773 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6776 * math/gen-libm-test.pl (%beautify): Add entries for underflow
6778 * math/libm-test.inc ("Philosophy"): Update comment about
6780 (UNDERFLOW_EXCEPTION): New macro.
6781 (UNDERFLOW_EXCEPTION_OK): Likewise.
6782 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
6783 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
6784 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
6785 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
6786 (INVALID_EXCEPTION_OK): Update value.
6787 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6788 (OVERFLOW_EXCEPTION_OK): Likewise.
6789 (IGNORE_ZERO_INF_SIGN): Likewise.
6790 (test_exceptions): Handle underflow exceptions.
6791 (acos_test): Update for underflow exception expectations.
6792 (cexp_test): Likewise.
6793 (clog_test): Likewise.
6794 (clog10_test): Likewise.
6795 (csqrt_test): Likewise.
6796 (ctan_test): Likewise.
6797 (ctanh_test): Likewise.
6798 (exp_test): Likewise.
6799 (exp10_test): Likewise.
6800 (exp2_test): Likewise.
6801 (expm1_test): Likewise.
6802 (fma_test): Likewise.
6803 (j0_test): Likewise.
6804 (jn_test): Likewise.
6805 (nexttoward_test): Likewise.
6806 (pow_test): Likewise.
6807 (scalbn_test): Likewise.
6808 (scalbln_test): Likewise.
6809 (tan_test): Likewise.
6810 (y1_test): Likewise.
6811 * sysdeps/i386/fpu/libm-test-ulps: Update.
6812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6814 2012-05-23 David S. Miller <davem@davemloft.net>
6816 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
6817 (__libc_sigaction): Remove unused local variables.
6819 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
6821 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
6823 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
6825 mktime: avoid signed integer overflow
6826 * time/mktime.c (__mktime_internal): Do not mishandle the case
6827 where diff == INT_MIN.
6829 mktime: simplify computation of average
6830 * time/mktime.c (ranged_convert): Use new time_t_avg function
6831 instead of rolling our own (probably-slower) code.
6833 mktime: do not assume signed right shift propagates sign bit
6834 * time/mktime.c (isdst_differ): New static function.
6835 (__mktime_internal): No need to normalize tm_isdst now.
6836 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
6839 mktime: merge another wrapv change from gnulib
6840 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
6841 from some compilers.
6843 mktime: remove incorrect attempt at unusual arithmetics
6844 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
6845 The code didn't really work on such machines anyway.
6846 (TYPE_MINIMUM): Assume two's complement.
6847 (twos_complement_arithmetic): Verify that long_int and time_t
6848 are two's complement (or unsigned, in the latter case).
6850 mktime: check signed shifts on long_int and time_t, too
6851 * time/mktime.c (SHR): Check that shifts work as desired
6852 on the types long_int and time_t too, as SHR is used on
6855 mktime: do not assume 'long' is wide enough
6856 * time/mktime.c (verify): Move decl up.
6857 (long_int): New type.
6858 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
6859 to remove assumption in the code that 'long' is wide enough to
6860 store year values. This assumption is not true on x32 and on
6861 some non-glibc platforms.
6863 mktime: merge wrapv change from gnulib
6864 * time/mktime.c (WRAPV): New macro.
6865 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
6866 (guess_time_tm, __mktime_internal): Do not assume that signed
6867 integer overflow wraps around; modern compilers generate code
6868 where this assumption is no longer valid.
6870 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
6872 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
6873 Replace "jmp L(pseudo_end)" with "ret".
6874 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
6877 2012-05-23 Andreas Jaeger <aj@suse.de>
6879 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
6880 * sysdeps/unix/sysv/linux/poll.c: Remove file.
6882 2012-05-23 Andreas Jaeger <aj@suse.de>
6883 Maximilian Attems <max@stro.at>
6885 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
6888 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
6890 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
6891 code so that pseudo_end is just ret and the stack pointer is
6892 correct also for static library in error case.
6894 2012-05-23 Joseph Myers <joseph@codesourcery.com>
6896 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
6897 move to syscalls.list.
6898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
6899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6903 * manual/install.texi (Running make install): Do not mention Linux
6904 kernel version for which pt_chown is not needed.
6905 (Linux): Do not mention problems with nscd with 2.0 kernels.
6906 * INSTALL: Regenerated.
6908 2012-05-23 Andreas Jaeger <aj@suse.de>
6910 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
6911 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
6913 * sysdeps/unix/sysv/linux/s390/bits/mman.h
6914 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
6915 * sysdeps/unix/sysv/linux/sh/bits/mman.h
6916 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
6917 * sysdeps/unix/sysv/linux/i386/bits/mman.h
6918 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
6919 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
6920 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
6921 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
6922 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
6923 * sysdeps/unix/sysv/linux/bits/in.h
6924 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
6926 2012-05-22 Roland McGrath <roland@hack.frob.com>
6928 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
6929 (PREPARE_VERSION): Just use assert instead, it will be elided
6930 under [NDEBUG] anyway.
6932 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
6934 * sysdeps/unix/sysv/linux/Makefile: Include
6935 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
6936 (sysdep_routines): Remove sysctl.
6937 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
6938 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
6939 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
6940 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
6941 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
6943 2012-05-22 Andreas Jaeger <aj@suse.de>
6945 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
6946 that pseudo_end is just ret and the stack pointer is correct also
6947 for static library in error case.
6949 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
6952 * nss/nsswitch.c (defconfig_entries): New variable.
6953 (__nss_database_lookup): Don't leak defconfig entries.
6954 (nss_parse_service_list): Don't leak on error paths.
6955 (free_database_entries): New function.
6956 (free_defconfig): New function.
6957 (free_mem): Move common code to free_database_entries.
6959 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
6961 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
6963 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
6965 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6966 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
6967 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
6969 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
6970 (INTERNAL_SYSCALL_TYPES): Likewise.
6971 (LOAD_ARGS_TYPES_[1-6]): Likewise.
6972 (LOAD_REGS_TYPES_[1-6]): Likewise.
6973 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
6974 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
6976 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6978 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
6979 copysignl for GLIBC_2_0.
6980 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
6981 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
6982 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
6983 logbl for GLIBC_2_0.
6984 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
6985 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
6987 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
6989 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
6990 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6992 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
6995 * time/mktime.c: Update copyright years.
6997 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
6999 mktime: merge comment-quoting-style change from gnulib
7000 * time/mktime.c: Quote 'like this' in comments.
7001 The GNU coding standards suggest that we no longer quote `like this',
7002 as "`" and "'" are typically rendered asymmetrically nowadays.
7003 The typical gnulib style is to quote 'like this' when quoting
7004 code, and "like this" when quoting English.
7006 * time/mktime.c (compile-command): Add "-I.".
7008 mktime: merge mktime-internal.h change from gnulib
7009 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
7011 mktime: merge time_r change from gnulib
7012 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
7014 mktime: merge DEBUG change from gnulib
7015 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
7016 case system <time.h> has a #define.
7018 mktime: merge <sys/types.h> change from gnulib
7019 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
7020 since <time.t> is now guaranteed to define time_t.
7022 mktime: merge HAVE_CONFIG_H change from gnulib
7023 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
7025 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7027 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7030 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
7032 (struct rusage): Use anonymous union to pad each field to
7035 2012-05-21 David S. Miller <davem@davemloft.net>
7037 * Makefules (o-iterator): Remove .s cases.
7038 (compile-command.s): Delete.
7039 (COMPILE.s): Delete.
7040 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
7042 2012-05-21 Joseph Myers <joseph@codesourcery.com>
7044 * configure.in (libc_cv_predef_stack_protector): Only consider
7045 "foobar" and "__stack_chk_fail" lines in libc_undefs.
7046 * configure: Regenerated.
7048 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7050 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7051 New macro. Use R*LP on int and pointer.
7052 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
7053 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
7054 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
7055 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
7057 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
7058 [__WORDSIZE_TIME64_COMPAT32] instead of
7059 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
7060 (struct utmp): Likewise.
7061 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
7062 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
7064 (__WORDSIZE_TIME64_COMPAT32): This.
7065 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
7066 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
7067 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
7068 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
7069 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
7070 (__WORDSIZE_TIME64_COMPAT32): New macro.
7072 2012-05-21 Andreas Jaeger <aj@suse.de>
7074 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
7075 only if [SHARED]. Add prototype for __wcschr_ia32.
7077 2012-05-21 Roland McGrath <roland@hack.frob.com>
7079 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
7080 of %rbp unmolested in the jmp_buf while mangling the low bits.
7081 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
7082 unmolested high bits of %rbp while demangling the low bits.
7083 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7085 2012-05-21 Andreas Jaeger <aj@suse.de>
7087 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
7088 * sunrpc/svc_simple.c: Use it for registerrpc.
7089 * sunrpc/xcrypt.c: Use it for passwd2des.
7091 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
7093 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7095 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
7096 Don't define if [__SYSCALL_WORDSIZE != 32].
7097 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
7100 2012-05-21 Bruno Haible <bruno@clisp.org>
7101 Andreas Jaeger <aj@suse.de>
7103 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
7104 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
7105 inptr and inend for must_buffer_ch.
7106 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
7107 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
7108 * stdio-common/Makefile (tests): Remove bug15.
7109 (bug15-ENV): Remove macro.
7110 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
7113 2012-05-19 Andreas Jaeger <aj@suse.de>
7114 Roland McGrath <roland@hack.frob.com>
7116 * manual/contrib.texi: Completely rewritten. It contains now an
7117 alphabetical list of contributors and their contributions.
7119 2012-05-21 Richard Henderson <rth@twiddle.net>
7121 * misc/getauxval.c (__getauxval): Use unsigned long int.
7122 * misc/sys/auxv.h: Include <sys/cdefs.h>.
7123 (getauxval): Use unsigned long int.
7125 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7127 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7129 2012-05-21 Roland McGrath <roland@hack.frob.com>
7131 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
7132 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
7133 __alignof__ (long double).
7135 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7137 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7139 2012-05-20 Richard Henderson <rth@twiddle.net>
7141 * misc/getauxval.c: New file.
7142 * misc/sys/auxv.h: New file.
7143 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
7144 (routines): Add getauxval.
7145 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
7146 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
7147 * elf/dl-sysdep.c (_dl_auxv): Remove.
7148 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
7149 * elf/dl-support.c (_dl_auxv): New variable.
7150 (_dl_aux_init): Initialize it.
7151 * manual/startup.texi (Auxiliary Vector): New node.
7152 * sysdeps/generic/bits/hwcap.h: New file.
7153 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
7154 * sysdeps/powerpc/sysdep.h: ... here. Include it.
7155 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
7156 * sysdeps/sparc/sysdep.h: ... here. Include it.
7157 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
7158 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
7159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
7162 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
7163 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
7164 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
7165 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
7166 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
7167 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
7168 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
7170 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7172 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7174 2012-05-19 David S. Miller <davem@davemloft.net>
7176 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7178 2012-05-19 Joseph Myers <joseph@codesourcery.com>
7181 * math/s_ccosh.c: Include <float.h>
7182 (__ccosh): Avoid internal overflow calculating sinh and cosh
7183 values before multiplying by sin and cos values.
7184 * math/s_ccoshf.c: Likewise.
7185 * math/s_ccoshl.c: Likewise.
7186 * math/s_csin.c: Likewise.
7187 * math/s_csinf.c: Likewise.
7188 * math/s_csinl.c: Likewise.
7189 * math/s_csinh.c: Likewise.
7190 * math/s_csinhf.c: Likewise.
7191 * math/s_csinhl.c: Likewise.
7192 * math/libm-test.inc (ccos_test): Add more tests.
7193 (ccosh_test): Likewise.
7194 (csin_test): Likewise.
7195 (csinh_test): Likewise.
7196 * sysdeps/i386/fpu/libm-test-ulps: Update.
7197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7199 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
7201 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
7202 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
7204 * sysdeps/x86_64/x32/_itoa.h: Add comment.
7206 2012-05-19 Joseph Myers <joseph@codesourcery.com>
7208 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
7209 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
7210 * sysdeps/powerpc/soft-fp/Versions: Likewise.
7211 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
7212 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
7213 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
7214 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
7215 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
7216 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
7217 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
7218 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
7219 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
7220 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
7221 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
7222 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
7223 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
7224 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
7225 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
7226 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
7227 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
7228 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
7229 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
7230 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
7231 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
7232 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
7233 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
7234 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
7235 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
7236 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
7237 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
7238 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
7240 2012-05-18 Andreas Jaeger <aj@suse.de>
7242 * csu/.gitignore: Delete.
7244 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7246 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
7247 (timex): Use __syscall_slong_t.
7249 2012-05-18 Andreas Jaeger <aj@suse.de>
7250 Carlos O'Donell <carlos_odonell@mentor.com>
7252 * manual/install.texi (Configuring and compiling): Update
7253 description about files modified in the source directory.
7254 * INSTALL: Regenerated.
7256 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7258 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
7259 value. Use "or" to set return value to -1.
7260 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
7261 negate return value.
7263 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7265 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
7266 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
7267 failure if the compiler has Graphite support disabled.
7268 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
7270 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
7271 CFLAGS-memmove.c): Likewise.
7272 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
7275 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7277 * sysdeps/x86_64/x32/_itoa.h: New file.
7279 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
7280 getdents system call only if kernel and user dirents have the
7281 same d_ino and d_off.
7283 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7284 LLONG_MAX != LONG_MAX.
7285 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7286 (_fitoa_word): Likewise.
7288 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
7290 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
7291 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
7292 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
7294 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
7295 include <bits/wordsize.h>. Check __x86_64__ instead of
7297 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
7298 if __x86_64__ is defined. Use anonymous union on fpstate.
7300 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
7303 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
7305 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
7306 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
7307 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
7308 Refer to _rtld_local_ro instead of _rtld_global_ro.
7309 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
7311 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
7313 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
7315 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
7316 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
7317 of _rtld_global, and rtld_progname instead of _dl_argv[0].
7319 * sysdeps/powerpc/powerpc32/dl-machine.c
7320 (__elf_machine_runtime_setup) [PROF]: Don't reference
7323 2012-05-18 Andreas Jaeger <aj@suse.de>
7325 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
7326 function only available for GCCs before 3.4 since GCC 3.4
7327 introduced a builtin.
7329 (llrintf): Likewise.
7337 (nearbyint): Likewise.
7338 (nearbyintf): Likewise.
7344 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7346 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
7347 on both fields and cast pointer to __syscall_ulong_t.
7349 * bits/types.h (__fsword_t): New type.
7350 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
7351 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
7352 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7353 (__FSWORD_T_TYPE): Likewise.
7354 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7355 (__FSWORD_T_TYPE): Likewise.
7356 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7357 (__FSWORD_T_TYPE): Likewise.
7358 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
7359 (__FSWORD_T_TYPE): Likewise.
7360 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
7361 __SWORD_TYPE with __fsword_t.
7362 (statfs64): Likewise.
7364 2012-05-17 David S. Miller <davem@davemloft.net>
7366 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
7368 2012-05-17 Andreas Jaeger <aj@suse.de>
7370 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
7373 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7375 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
7377 2012-05-17 Andreas Jaeger <aj@suse.de>
7379 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
7382 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
7384 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
7386 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7388 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
7389 * sysdeps/x86_64/tst-mallocalign1.c: New file.
7391 2012-05-17 Andreas Jaeger <aj@suse.de>
7392 Carlos O'Donell <carlos_odonell@mentor.com>
7395 * sysdeps/x86_64/multiarch/init-arch.h
7396 (bit_YMM_Usable): Rename to...
7397 (bit_AVX_Usable): ... this.
7398 (bit_FMA4_Usable): New macro.
7399 (bit_XMM_state): New macro.
7400 (bit_YMM_state): New macro.
7401 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
7402 [__ASSEMBLER__] (index_AVX_Usable): ... this.
7403 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
7404 (CPUID_OSXSAVE): New macro.
7405 (CPUID_AVX): New macro.
7406 (CPUID_FMA4): New macro.
7407 (index_YMM_Usable): Rename to...
7408 (index_AVX_Usable): ... this.
7409 (HAS_AVX): Use HAS_ARCH_FEATURE.
7410 (HAS_FMA4): Likewise.
7411 (HAS_YMM_USABLE): Remove.
7412 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7413 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
7415 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
7416 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
7417 * sysdeps/x86_64/multiarch/Makefile: Likewise.
7418 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
7419 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
7421 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
7423 * math/libm-test.c: Support platforms without multiple rounding modes.
7424 * math/bug-nextafter.c: Support platforms without FP exceptions.
7425 * math/bug-nexttoward.c: Likewise.
7426 * math/test-fenv.c: Likewise.
7427 * math/test-misc.c: Likewise.
7428 * stdlib/bug-getcontext.c: Likewise.
7430 2012-05-17 Andreas Jaeger <aj@suse.de>
7432 * manual/examples/search.c (critter_cmp): Change signature to
7434 * manual/string.texi (Collation Functions): Likewise.
7436 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7438 * bits/types.h: Fold copyright years.
7439 * bits/typesizes.h: Likewise.
7440 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
7441 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7442 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
7443 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
7444 * time/time.h: Likewise.
7446 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
7449 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
7450 in instead of returning them. Return void.
7451 (__libc_mallinfo): Accumulate over all arenas.
7452 (__malloc_stats): Adjust for change in int_mallinfo interface.
7454 2012-05-16 Roland McGrath <roland@hack.frob.com>
7457 * configure.in (NM): Add AC_CHECK_TOOL for it.
7458 (libc_extra_cflags): New substituted variable.
7459 Check for -fstack-protector being used implicitly.
7460 * configure: Regenerated.
7461 * config.make.in (config-extra-cflags): New variable,
7462 gets @libc_extra_cflags@.
7463 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
7466 * configure.in: Check for _FORTIFY_SOURCE being predefined.
7467 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
7468 * configure: Regenerated.
7469 * config.make.in (CPPUNDEFS): New substituted variable.
7470 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
7471 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
7472 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
7474 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7476 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
7477 (mq_attr): Use __syscall_slong_t.
7479 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7481 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
7482 Check __x86_64__ instead of __WORDSIZE.
7483 (_STAT_VER_LINUX): Likewise.
7484 (stat): Check __x86_64__ instead of __WORDSIZE. Use
7485 __syscall_ulong_t and __syscall_slong_t.
7488 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7490 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
7492 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7494 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
7496 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7498 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
7501 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
7502 include <bits/wordsize.h>. Check __x86_64__ instead of
7504 (greg_t): Use "__extension__ long long int" if __x86_64__ is
7506 (mcontext_t): Replace "unsigned long" with "unsigned long long".
7508 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
7509 include <bits/wordsize.h>. Check __x86_64__ instead of
7511 (user_regs_struct): Use "__extension__ unsigned long long"
7512 instead of "unsigned long" if __x86_64__ is defined.
7513 (user): Likewise. Pad after pointer field if __ILP32__ is
7516 2012-05-16 Joseph Myers <joseph@codesourcery.com>
7518 * configure.in (makeinfo): Require version 4.5 or later. Allow
7520 * configure: Regenerated.
7521 * manual/install.texi (texinfo): Increase version requirement to
7523 * INSTALL: Regenerated.
7525 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
7527 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7529 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
7531 * sysdeps/x86_64/x32/ffs.c: New file.
7533 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
7535 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
7536 defined. Use __syscall_ulong_t.
7537 (shminfo): Use __syscall_ulong_t.
7538 (shm_info): Likewise.
7540 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
7543 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
7545 (msgqnum_t): Use __syscall_ulong_t.
7546 (msglen_t): Likewise.
7547 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
7550 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
7551 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7553 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
7555 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
7556 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
7558 * sysvipc/sys/msg.h (msgbuf): Replace long int with
7561 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
7562 include <bits/wordsize.h>. Check __x86_64__ instead of
7565 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
7566 "unsigned long long int" if __x86_64__ is defined.
7567 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
7569 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
7570 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7571 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
7573 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
7575 (GET_PC): Cast to uintptr_t first.
7576 (GET_FRAME): Likewise.
7577 (GET_STACK): Likewise.
7579 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
7580 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
7581 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
7582 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
7583 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
7584 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
7585 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
7586 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
7587 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
7588 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
7589 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
7590 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
7591 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
7592 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
7593 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
7594 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
7595 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
7596 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
7597 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
7598 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
7599 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
7600 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
7601 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
7602 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
7603 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
7604 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
7605 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
7606 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
7607 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
7609 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
7611 * Makerules (+depfiles): Also collect depfiles from .oS in
7613 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
7614 .oS, $(libnldbl-routines)).
7616 * Makerules (native-compile-mkdep-flags): Define.
7617 * sunrpc/Makefile (extra-objs): Add $(addprefix
7618 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
7619 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
7620 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
7621 calling $(make-target-directory).
7623 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7625 * bits/types.h (__snseconds_t): Removed.
7626 * time/time.h (struct timespec): Replace __snseconds_t with
7628 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
7629 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
7631 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7632 (__SNSECONDS_T_TYPE): Likewise.
7633 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7634 (__SNSECONDS_T_TYPE): Likewise.
7635 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7636 (__SNSECONDS_T_TYPE): Likewise.
7638 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7640 * sysdeps/mach/hurd/bits/typesizes.h
7641 (__SYSCALL_SLONG_TYPE): New macro.
7642 (__SYSCALL_ULONG_TYPE): Likewise.
7644 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7646 * bits/types.h (__syscall_slong_t): New type.
7647 (__syscall_ulong_t): Likewise.
7649 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
7650 (__SYSCALL_ULONG_TYPE): Likewise.
7651 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7652 (__SYSCALL_SLONG_TYPE): Likewise.
7653 (__SYSCALL_ULONG_TYPE): Likewise.
7654 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7655 (__SYSCALL_SLONG_TYPE): Likewise.
7656 (__SYSCALL_ULONG_TYPE): Likewise.
7657 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7658 (__SYSCALL_SLONG_TYPE): Likewise.
7659 (__SYSCALL_ULONG_TYPE): Likewise.
7661 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7663 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
7664 Add sigaltstack-offsets.sym.
7665 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
7666 <sigaltstack-offsets.h>.
7667 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
7668 longjmp_msg pointer.
7669 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
7670 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
7672 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
7674 2012-05-15 Joseph Myers <joseph@codesourcery.com>
7676 * elf/stackguard-macros.h: Remove file.
7677 * sysdeps/generic/stackguard-macros.h: New file.
7678 * sysdeps/i386/stackguard-macros.h: Likewise.
7679 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
7680 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
7681 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
7682 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
7683 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
7684 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
7685 * sysdeps/x86_64/stackguard-macros.h: Likewise.
7686 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
7687 <elf/stackguard-macros.h>.
7690 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
7691 __aligned__ in attribute.
7692 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
7693 (gregset_t): Likewise.
7695 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7697 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
7698 * sysdeps/x86_64/64/Implies-after: Here. New file.
7699 * sysdeps/x86_64/x32/Implies-after: New file.
7701 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7703 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
7704 and access return value for _dl_profile_fixup. Use R10_LP to
7707 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7709 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
7711 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7713 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
7714 * sysdeps/x86_64/x32/sysdep.h: New file.
7716 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7718 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
7719 * sysdeps/x86_64/setjmp.S: Likewise.
7721 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7723 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
7724 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
7725 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
7726 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
7727 remove unused global constant.
7729 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
7731 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
7732 include of <not-cancel.h>.
7734 2012-05-15 Roland McGrath <roland@hack.frob.com>
7736 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
7738 2012-05-15 Jeff Law <law@redhat.com>
7739 Andreas Jaeger <aj@suse.de>
7742 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
7744 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
7745 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
7746 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
7747 code changing __hst_map_handle.map.
7749 2012-05-15 Roland McGrath <roland@hack.frob.com>
7751 * configure.in (sysnames): Look for Implies-before and Implies-after
7753 * configure: Regenerated.
7755 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7757 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
7758 8-byte data alignment with LP_SIZE alignment.
7760 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7762 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
7765 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7767 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
7769 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7771 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
7772 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
7773 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
7775 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
7777 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7779 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
7780 (stackinfo_sub_sp): Likewise.
7782 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7784 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
7787 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7789 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
7792 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7794 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
7797 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7799 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
7801 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7803 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
7804 into R11_LP and load __x86_64_shared_cache_size_half into
7807 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7809 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
7812 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7814 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
7816 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
7818 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
7820 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
7821 powerpc32/power7/fpu/s_logb.c via #include.
7822 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
7823 powerpc32/power7/fpu/s_logbf.c via #include.
7824 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
7825 powerpc32/power7/fpu/s_logbl.c via #include.
7827 2012-05-15 Joseph Myers <joseph@codesourcery.com>
7829 * README.libm: Remove file.
7831 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7833 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
7834 count for x32. Use R*_LP and omit operand-size suffix.
7836 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7838 * shlib-versions: Move x86_64-.*-linux.* entries to ...
7839 * sysdeps/x86_64/64/shlib-versions: Here. New file.
7840 * sysdeps/x86_64/x32/shlib-versions: New file.
7842 2012-05-14 Roland McGrath <roland@hack.frob.com>
7844 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
7845 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
7846 Use _dl_fatal_printf instead.
7848 2012-05-14 Joseph Myers <joseph@codesourcery.com>
7850 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
7851 set if not set by the user. Do not allow for being unset.
7852 * sysdeps/unix/sysv/linux/configure: Regenerated.
7854 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7856 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
7857 the `q' suffix from lea and replace .quad with ASM_ADDR.
7859 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7861 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
7862 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
7864 (PTR_DEMANGLE): Likewise.
7866 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7868 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
7870 (ASM_ADDR): Likewise.
7888 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7890 * sysdeps/x86_64/x32/dl-machine.h: New file.
7892 2012-05-14 Andreas Jaeger <aj@suse.de>
7894 * manual/Makefile (subdir): Remove export of subdir.
7895 (all): Remove target.
7896 (.PHONY): Remove all from list.
7897 (mkinstalldirs): Remove.
7898 (.PHONY): Remove installdirs from list.
7899 ($(inst_infodir)/libc.info): Use make-target-directory.
7900 (installdirs): Remove.
7902 (glibc-targets): Remove.
7905 ($(objpfx)stubs ../po/manual.pot): Remove.
7906 ($(objpfx)stamp%): Remove.
7907 (make-target-directory): Remove.
7908 (subdir_install): Remove.
7916 * manual/.gitignore: Remove, it's not needed anymore.
7917 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
7919 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
7921 (texis): Renamed to $(objpfx)texis.
7922 (texis-path): New, contains path to generated files.
7923 (chapters.%): Use texis-path for complete path, add extra argument
7925 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
7926 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
7927 (summary,texi, stamp-summary): Use complete path of
7928 files. Generate files in build dir.
7929 (dir-add.texi): Build in build dir.
7930 (libm-err.texi,stamp-libm-err): Likewise.
7931 (version.texi, stamp-version): Likewise.
7932 (.%c.texi): Likewise.
7933 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
7934 (mostlyclean): Remove target.
7935 (realclean): Remove target.
7936 (generated): Add new variable with contents from mostlyclean and
7937 realclean, remove entries duplicated in common-mostlyclean, add
7938 stamp-libm-err and stamp-version.
7939 (generated-dirs): Add libc directory.
7940 ($(inst_infodir)/libc.info): Install files from build dir.
7942 * manual/install.texi (Configuring and compiling): Adjust since
7943 the info files are not part of the tar ball anymore.
7945 2012-05-14 Andreas Jaeger <aj@suse.de>
7947 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
7950 2012-05-14 Joseph Myers <joseph@codesourcery.com>
7953 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
7954 to 2.2.0 where earlier.
7955 * sysdeps/unix/sysv/linux/configure: Regenerated.
7956 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
7957 Remove conditional code.
7958 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
7959 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
7960 Remove conditional code.
7961 [!__NR_lchown]: Likewise.
7962 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
7963 [__NR_lchown]: Likewise.
7964 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
7965 comment referencing __ASSUME_LCHOWN_SYSCALL.
7966 * sysdeps/unix/sysv/linux/i386/sigaction.c
7967 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7968 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7969 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
7970 Remove conditional code.
7971 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
7972 (__protocol_available): Remove #if 0 code.
7973 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
7975 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
7976 * sysdeps/unix/sysv/linux/kernel-features.h
7977 (__ASSUME_GETCWD_SYSCALL): Don't define.
7978 (__ASSUME_REALTIME_SIGNALS): Likewise.
7979 (__ASSUME_PREAD_SYSCALL): Likewise.
7980 (__ASSUME_PWRITE_SYSCALL): Likewise.
7981 (__ASSUME_POLL_SYSCALL): Likewise.
7982 (__ASSUME_LCHOWN_SYSCALL): Likewise.
7983 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
7985 (__ASSUME_SIOCGIFNAME): Don't define.
7986 (__ASSUME_MSG_NOSIGNAL): Likewise.
7987 (__ASSUME_SENDFILE): Define unconditionally.
7988 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
7989 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
7991 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
7992 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
7993 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
7994 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
7995 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
7996 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
7997 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
7998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
7999 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8000 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8002 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8003 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
8005 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8006 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
8008 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8009 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
8011 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8012 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
8014 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8015 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
8017 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8018 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
8020 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8021 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8022 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
8023 Remove conditional code.
8024 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8025 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8026 Remove conditional code.
8027 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8028 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
8029 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
8030 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8031 Remove conditional code.
8032 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8033 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
8034 Remove conditional code.
8035 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8036 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
8037 Remove conditional code.
8038 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8039 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8040 Remove conditional code.
8041 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8042 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8043 Remove conditional code.
8044 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8045 * sysdeps/unix/sysv/linux/sh/pwrite64.c
8046 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8047 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8048 * sysdeps/unix/sysv/linux/sigaction.c
8049 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8050 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8051 * sysdeps/unix/sysv/linux/sigpending.c
8052 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8053 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8054 * sysdeps/unix/sysv/linux/sigprocmask.c
8055 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8056 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8057 * sysdeps/unix/sysv/linux/sigsuspend.c
8058 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8059 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8060 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8061 (__libc_missing_rt_sigs): Remove.
8062 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
8063 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
8064 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
8065 Remove conditional code.
8066 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
8067 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
8069 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
8070 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
8071 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
8072 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
8074 2012-05-14 Andreas Jaeger <aj@suse.de>
8076 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
8077 it's not used in glibc.
8078 (__coshm1): Likewise.
8079 (__acosh1p): Likewise.
8082 * manual/string.texi (Copying and Concatenation): Add missing
8083 variable in concat example.
8084 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
8086 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8089 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
8090 __builtin_clzl with __builtin_clzll.
8092 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8095 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
8098 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8100 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
8101 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
8102 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
8103 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
8105 2012-05-14 Mike Frysinger <vapier@gentoo.org>
8107 * NEWS: Update ia64 info.
8109 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
8111 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
8114 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
8116 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
8117 * sysdeps/unix/syscalls.list (dup3): Likewise.
8118 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
8119 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
8121 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
8123 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
8124 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
8126 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
8128 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
8130 (TLS_IE): Use mov/add instead of movq/addq to load thread
8132 (TLS_GD_PREFIX): New.
8135 2012-05-11 David S. Miller <davem@davemloft.net>
8137 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
8138 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
8139 (_FPU_SETCW): Likewise.
8141 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8143 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
8146 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
8149 * iconvdata/gb18030.c: Update tables.
8150 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
8151 characters specially.
8152 (BODY for TO_LOOP): Add encoding of missing ranges.
8154 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
8157 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
8158 * sysdeps/mach/hurd/dup3.c: Likewise.
8159 * sysdeps/mach/hurd/readlinkat.c: Likewise.
8160 * sysdeps/powerpc/memmove.c:: Likewise.
8162 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8164 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
8165 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
8167 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8169 * elf/elf.h (R_X86_64_RELATIVE64): New.
8170 (R_X86_64_NUM): Updated.
8171 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8172 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
8173 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
8174 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
8175 tst-quad1pie tst-quad2pie
8176 (modules-names): Add tst-quadmod1 tst-quadmod2.
8177 ($(objpfx)tst-quad1): New dependency.
8178 ($(objpfx)tst-quad2): Likewise.
8179 ($(objpfx)tst-quad1pie): Likewise.
8180 ($(objpfx)tst-quad2pie): Likewise.
8181 * sysdeps/x86_64/tst-quad1.c: New file.
8182 * sysdeps/x86_64/tst-quad1pie.c: New file.
8183 * sysdeps/x86_64/tst-quad2.c: Likewise.
8184 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
8185 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
8186 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
8187 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
8188 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
8190 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8192 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
8193 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
8194 * streams/stropts.h (t_scalar_t): Define type.
8196 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
8197 (_PATH_PRESERVE): Set to "/var/lib".
8198 (_PATH_RWHODIR): Set to "/var/spool/rwho".
8200 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
8203 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
8204 if __dir_mkfile succeeded.
8206 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
8207 checking for _hurd_dtablesize. Unlock it right after having
8208 finished _hurd_dtable allocation.
8210 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8212 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
8213 * sysdeps/mach/hurd/configure: Regenerated.
8214 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
8215 special-casing to...
8216 * sysdeps/gnu/configure.in: ... this new file.
8217 * sysdeps/unix/sysv/linux/configure: Regenerated.
8218 * sysdeps/gnu/configure: New generated file.
8220 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
8221 for Linux: use nsec instead of usec, as well as:
8222 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
8223 members of type struct timespec.
8224 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
8226 (struct stat64): Likewise.
8227 (_STATBUF_ST_NSEC): New macro.
8228 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
8230 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
8231 __strtoul_internal rather than strtoul.
8233 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8235 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
8238 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8240 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
8241 which preserves existing values.
8242 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
8244 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8246 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
8247 TIMEOUT values. Return EINVAL for NFDS values either negative or
8248 greater than FD_SETSIZE.
8250 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8252 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
8253 allocated, call __vm_protect to finish enabling the existing space, and
8254 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
8255 allocate the remainder.
8257 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8259 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
8260 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
8262 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8264 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
8265 sysdeps/mach/hurd/readlink.c.
8267 * posix/tst-sysconf.c (posix_options): Only use
8268 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
8269 _POSIX_SYNCHRONIZED_IO when they are defined
8270 * sysdeps/mach/hurd/bits/posix_opt.h:
8271 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
8272 (_XOPEN_REALTIME): Undefine macro.
8273 (_XOPEN_REALTIME_THREADS): Undefine macro.
8274 (_XOPEN_SHM): Undefine macro.
8275 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
8277 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
8279 (_POSIX_ASYNC_IO): Undefine macro.
8280 (_POSIX_PRIORITIZED_IO): Undefine macro.
8281 (_POSIX_SPIN_LOCKS): Define macro to -1.
8283 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
8284 SA_NODEFER, SA_RESETHAND.
8285 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
8286 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
8289 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8291 * elf/Makefile (pldd-modules): Define unconditionally.
8293 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8295 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
8297 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8299 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
8300 Return ENOENT when name is empty.
8301 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
8303 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8305 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
8307 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
8309 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8311 Fix mlock in all cases except non-readable pages.
8312 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
8313 instead of VM_PROT_ALL as parameter to __vm_wire function.
8315 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
8316 (__mkdir): When path is `/', just fail with EEXIST.
8317 * sysdeps/mach/hurd/mkdirat.c: Likewise.
8319 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8321 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
8322 <sys/uio.h> (for writev).
8323 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
8324 and <sys/param.h> (for MIN).
8326 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8328 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
8329 REQUESTED_TIME. Properly set the remaining time and return EINTR
8332 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8334 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
8335 Depend on against $(link-rpcuserlibs).
8337 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8339 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
8340 (__libc_stack_end): Do not use attribute_relro.
8341 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
8342 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
8343 to libthread-provided value.
8344 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
8347 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8350 * bits/libc-lock.h (__libc_once_get): New macro.
8351 * sysdeps/mach/bits/libc-lock.h: Likewise.
8352 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
8353 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
8354 instead of using implementation details.
8356 * libio/fileops.c: Unconditionally include <kernel-features.h>.
8357 * libio/freopen.c: Likewise.
8358 * libio/freopen64.c: Likewise.
8359 * misc/syslog.c: Likewise.
8360 * nscd/connections.c: Likewise.
8361 * nscd/netgroupcache.c: Likewise.
8362 * sysdeps/posix/getcwd.c: Likewise.
8364 2012-05-10 Roland McGrath <roland@hack.frob.com>
8366 * math/w_ilogbf.c: Add #include <limits.h>.
8368 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8370 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
8371 path instead of returning without unlocking.
8373 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
8374 immediate-write ioctls.
8375 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
8377 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8379 * sysdeps/mach/hurd/i386/init-first.c (init): Use
8380 __builtin_frame_address instead of making assumptions about the
8381 location of the return address relative to DATA. Force early load of
8383 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
8384 __builtin_frame_address.
8387 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
8388 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
8389 implement dup3 and do some further code clean-ups.
8390 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
8391 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
8393 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8395 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
8397 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
8398 HURD_CRITICAL_END around holding _hurd_dtable_lock.
8399 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
8400 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
8401 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
8404 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
8405 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
8406 when handler == SIG_ERR, not when handler != SIG_ERR.
8408 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8410 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
8411 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
8414 accept4 for GNU Hurd.
8415 * include/sys/socket.h (__libc_accept4): New prototype.
8416 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
8417 to implement __libc_accept4.
8418 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
8420 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
8422 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
8423 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
8424 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
8427 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8429 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
8431 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8433 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
8434 assertion on O_CLOEXEC flag.
8435 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
8436 * hurd/intern-fd.c: Likewise.
8437 * hurd/port2fd.c: Likewise.
8439 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8442 * bits/in.h (IPV6_PKTINFO): Define new macro.
8443 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
8445 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8450 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
8451 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8452 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
8453 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
8454 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8455 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
8456 * math/libm-test.inc (logb_test) : Additional logb tests.
8458 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
8459 Andreas Jaeger <aj@suse.de>
8461 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
8462 * configure: Regenerated.
8463 * config.h.in (LINK_OBSOLETE_RPC): New macro.
8464 * config.make.in (link-obsolete-rpc): New substituted variable.
8465 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
8466 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
8467 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
8468 (shared-only-routines): Don't set it under [link-obsolete-rpc],
8469 so that libc.a contains the symbols.
8470 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
8471 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
8472 * sunrpc/auth_none.c: Likewise.
8473 * sunrpc/auth_unix.c: Likewise.
8474 * sunrpc/authdes_prot.c: Likewise.
8475 * sunrpc/authuxprot.c: Likewise.
8476 * sunrpc/clnt_gen.c: Likewise.
8477 * sunrpc/clnt_perr.c: Likewise.
8478 * sunrpc/clnt_raw.c: Likewise.
8479 * sunrpc/clnt_simp.c: Likewise.
8480 * sunrpc/clnt_tcp.c: Likewise.
8481 * sunrpc/clnt_udp.c: Likewise.
8482 * sunrpc/clnt_unix.c: Likewise.
8483 * sunrpc/des_crypt.c: Likewise.
8484 * sunrpc/des_soft.c: Likewise.
8485 * sunrpc/get_myaddr.c: Likewise.
8486 * sunrpc/key_call.c: Likewise.
8487 * sunrpc/key_prot.c: Likewise.
8488 * sunrpc/netname.c: Likewise.
8489 * sunrpc/pm_getmaps.c: Likewise.
8490 * sunrpc/pm_getport.c: Likewise.
8491 * sunrpc/pmap_clnt.c: Likewise.
8492 * sunrpc/pmap_prot.c: Likewise.
8493 * sunrpc/pmap_prot2.c: Likewise.
8494 * sunrpc/pmap_rmt.c: Likewise.
8495 * sunrpc/publickey.c: Likewise.
8496 * sunrpc/rpc_cmsg.c: Likewise.
8497 * sunrpc/rpc_common.c: Likewise.
8498 * sunrpc/rpc_dtable.c: Likewise.
8499 * sunrpc/rpc_prot.c: Likewise.
8500 * sunrpc/rpc_thread.c: Likewise.
8501 * sunrpc/rtime.c: Likewise.
8502 * sunrpc/svc.c: Likewise.
8503 * sunrpc/svc_auth.c: Likewise.
8504 * sunrpc/svc_raw.c: Likewise.
8505 * sunrpc/svc_run.c: Likewise.
8506 * sunrpc/svc_tcp.c: Likewise.
8507 * sunrpc/svc_udp.c: Likewise.
8508 * sunrpc/svc_unix.c: Likewise.
8509 * sunrpc/svcauth_des.c: Likewise.
8510 * sunrpc/xcrypt.c: Likewise.
8511 * sunrpc/xdr.c: Likewise.
8512 * sunrpc/xdr_array.c: Likewise.
8513 * sunrpc/xdr_float.c: Likewise.
8514 * sunrpc/xdr_intXX_t.c: Likewise.
8515 * sunrpc/xdr_mem.c: Likewise.
8516 * sunrpc/xdr_rec.c: Likewise.
8517 * sunrpc/xdr_ref.c: Likewise.
8518 * sunrpc/xdr_sizeof.c: Likewise.
8519 * sunrpc/xdr_stdio.c: Likewise.
8521 2012-05-10 Roland McGrath <roland@hack.frob.com>
8523 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
8524 change. Update copyright years.
8526 2012-05-10 Joseph Myers <joseph@codesourcery.com>
8528 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
8530 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
8531 Joseph Myers <joseph@codesourcery.com>
8532 Paul Pluzhnikov <ppluzhnikov@google.com>
8535 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
8537 [cross-compiling] (extra-libs): Likewise.
8538 [cross-compiling] (extra-libs-others): Likewise.
8539 [cross-compiling] (librpcsvc-routines): Likewise.
8540 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
8541 [cross-compiling] (omit-deps): Likewise.
8542 (sunrpc-CPPFLAGS): New variable.
8543 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
8544 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
8545 (cross-rpcgen-objs): New variable.
8546 (extra-objs): Append $(cross-rpcgen-objs).
8547 ($(cross-rpcgen-objs)): New rule.
8548 ($(objpfx)cross-rpcgen): Likewise.
8549 (rpcgen-cmd): Define to use $(built-program-file). Expand
8551 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
8552 ($(objpfx)x%.stmp): Likewise.
8553 * sunrpc/proto.h [IS_IN_build] (_): Define.
8554 [IS_IN_build] (_libc_intl_domainname): Likewise.
8556 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8558 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
8559 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
8560 and R_X86_64_TPOFF64.
8562 2012-05-10 Joseph Myers <joseph@codesourcery.com>
8564 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
8565 sysdeps/unix/sysv/syscalls.list.
8568 * sysdeps/unix/sysv/syscalls.list: Remove file.
8570 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
8573 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
8574 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
8575 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
8576 (__LC_IDENTIFICATION): Make these macros useful in #if
8577 expressions, as required by C99.
8579 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
8581 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
8582 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
8585 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
8587 * stdlib/longlong.h: Updated from GCC.
8589 2012-05-09 Andreas Jaeger <aj@suse.de>
8591 * nscd/nscd.c (run_modes): Make named enum, reorder so that
8592 default is first entry.
8593 (run_mode): Set type.
8594 (main): Remove informal message about syslog.
8595 (options): Fix typo.
8598 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
8601 (llrintf): Likewise.
8605 (nearbyint): Likewise.
8606 (nearbyintf): Likewise.
8608 2012-05-09 Andreas Jaeger <aj@suse.de>
8609 Pedro Alves <palves@redhat.com>
8611 * nscd/nscd.c (run_mode): Use enum.
8612 (main): Cleanup coding style issue.
8614 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
8615 Andreas Jaeger <aj@suse.de>
8617 * nscd/nscd.c (go_background): Replaced with...
8618 (run_mode): ... this.
8619 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
8620 (options): Add -F --foreground.
8621 (main): Implement it.
8622 (parse_opt): Parse it.
8624 2012-05-09 Andreas Jaeger <aj@suse.de>
8627 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
8628 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
8629 -Wconversion warning.
8630 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
8633 2012-05-09 Joseph Myers <joseph@codesourcery.com>
8635 * conform/data/locale.h-data (NULL): Use macro-constant. Require
8637 (LC_ALL): Use macro-int-constant.
8638 (LC_COLLATE): Likewise.
8639 (LC_CTYPE): Likewise.
8640 (LC_MESSAGES): Likewise.
8641 (LC_MONETARY): Likewise.
8642 (LC_NUMERIC): Likewise.
8643 (LC_TIME): Likewise.
8644 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
8645 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
8646 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8647 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
8649 [C99-based standards] (float_t): Expect type.
8650 [C99-based standards] (double_t): Expect type.
8651 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
8653 [C99-based standards] (HUGE_VALL): Likewise.
8654 [C99-based standards] (INFINITY): Likewise.
8655 [C99-based standards] (NAN): Likewise.
8656 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
8657 [C99-based standards] (FP_NAN): Likewise.
8658 [C99-based standards] (FP_NORMAL): Likewise.
8659 [C99-based standards] (FP_SUBNORMAL): Likewise.
8660 [C99-based standards] (FP_ZERO): Likewise.
8661 [C99-based standards] (FP_FAST_FMA): Use
8662 optional-macro-int-constant. Specify type. Require == 1.
8663 [C99-based standards] (FP_FAST_FMAF): Likewise.
8664 [C99-based standards] (FP_FAST_FMAL): Likewise.
8665 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
8666 [C99-based standards] (FP_ILOGBNAN): Likewise.
8667 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
8669 [C99-based standards] (MATH_ERREXCEPT): Likewise.
8670 [C99-based standards] (math_errhandling): Specify type.
8671 [ISO99 || ISO11] (signgam): Do not allow.
8672 [non-C99-based standards] (copysignf): Do not allow.
8673 [non-C99-based standards] (exp2f): Likewise.
8674 [non-C99-based standards] (log2f): Likewise.
8675 [non-C99-based standards] (modff): Allow.
8676 [non-C99-based standards] (erff): Do not allow.
8677 [non-C99-based standards] (erfcf): Likewise.
8678 [non-C99-based standards] (gammaf): Likewise.
8679 [non-C99-based standards] (hypotf): Likewise.
8680 [non-C99-based standards] (j0f): Likewise.
8681 [non-C99-based standards] (j1f): Likewise.
8682 [non-C99-based standards] (jnf): Likewise.
8683 [non-C99-based standards] (lgammaf): Likewise.
8684 [non-C99-based standards] (tgammaf): Likewise.
8685 [non-C99-based standards] (y0f): Likewise.
8686 [non-C99-based standards] (y1f): Likewise.
8687 [non-C99-based standards] (ynf): Likewise.
8688 [non-C99-based standards] (isnanf): Likewise.
8689 [non-C99-based standards] (acoshf): Likewise.
8690 [non-C99-based standards] (asinhf): Likewise.
8691 [non-C99-based standards] (atanhf): Likewise.
8692 [non-C99-based standards] (cbrtf): Likewise.
8693 [non-C99-based standards] (expm1f): Likewise.
8694 [non-C99-based standards] (ilogbf): Likewise.
8695 [non-C99-based standards] (log1pf): Likewise.
8696 [non-C99-based standards] (logbf): Likewise.
8697 [non-C99-based standards] (nextafterf): Likewise.
8698 [non-C99-based standards] (remainderf): Likewise.
8699 [non-C99-based standards] (rintf): Likewise.
8700 [non-C99-based standards] (scalbf): Likewise.
8701 [non-C99-based standards] (copysignl): Likewise.
8702 [non-C99-based standards] (exp2l): Likewise.
8703 [non-C99-based standards] (log2l): Likewise.
8704 [non-C99-based standards] (modfl): Allow.
8705 [non-C99-based standards] (erfl): Do not allow.
8706 [non-C99-based standards] (erfcl): Likewise.
8707 [non-C99-based standards] (gammal): Likewise.
8708 [non-C99-based standards] (hypotl): Likewise.
8709 [non-C99-based standards] (j0l): Likewise.
8710 [non-C99-based standards] (j1l): Likewise.
8711 [non-C99-based standards] (jnl): Likewise.
8712 [non-C99-based standards] (lgammal): Likewise.
8713 [non-C99-based standards] (tgammal): Likewise.
8714 [non-C99-based standards] (y0l): Likewise.
8715 [non-C99-based standards] (y1l): Likewise.
8716 [non-C99-based standards] (ynl): Likewise.
8717 [non-C99-based standards] (isnanl): Likewise.
8718 [non-C99-based standards] (acoshl): Likewise.
8719 [non-C99-based standards] (asinhl): Likewise.
8720 [non-C99-based standards] (atanhl): Likewise.
8721 [non-C99-based standards] (cbrtl): Likewise.
8722 [non-C99-based standards] (expm1l): Likewise.
8723 [non-C99-based standards] (ilogbl): Likewise.
8724 [non-C99-based standards] (log1pl): Likewise.
8725 [non-C99-based standards] (logbl): Likewise.
8726 [non-C99-based standards] (nextafterl): Likewise.
8727 [non-C99-based standards] (remainderl): Likewise.
8728 [non-C99-based standards] (rintl): Likewise.
8729 [non-C99-based standards] (scalbl): Likewise.
8730 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8731 [non-C99-based standards] (FP_*): Do not allow.
8732 [C99-based standards] (FP_*): Change to
8733 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
8734 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
8736 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
8737 (SIG_ERR): Likewise.
8738 [X/Open-based standards] (SIG_HOLD): Likewise.
8739 (SIG_IGN): Likewise.
8740 (SIGABRT): Use macro-int-constant. Specify type. Require
8745 (SIGSEGV): Likewise.
8747 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
8748 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
8749 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
8750 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
8751 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
8752 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
8753 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
8754 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
8755 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
8756 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
8757 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
8758 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
8759 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
8760 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
8761 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
8762 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
8763 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
8764 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
8765 [X/Open-based standards] (SIGTRAP): Likewise.
8766 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
8767 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
8768 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
8769 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
8770 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
8773 2012-05-08 Ian Wienand <ianw@vmware.com>
8776 * time/tzset.c (__tzset_parse_tz): Update default rules for
8777 daylight time changes in the Energy Policy Act of 2005.
8779 2012-05-09 Andreas Jaeger <aj@suse.de>
8782 * elf/ldconfig.c (parse_conf): Change string to make clear that
8783 ldconfig only issued a warning if ld.so.conf does not exist.
8785 2012-05-08 David S. Miller <davem@davemloft.net>
8787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
8788 movxtod instead of popping the value on the stack.
8790 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8792 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
8794 * config.h.in: Add HAVE_ARM_PCS_VFP.
8796 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
8799 * include/features.h: Warn if user requests __FORTIFY_SOURCE
8800 checking but the checks are disabled for any reason.
8802 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
8804 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
8805 and ELF64_R_TYPE with ELFW(R_TYPE).
8807 2012-05-08 Joseph Myers <joseph@codesourcery.com>
8809 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
8812 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
8813 (settimeofday): Likewise.
8815 2012-05-08 Mike Frysinger <vapier@gentoo.org>
8817 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
8818 a struct th_u2 inside the union, and move tu_block/tu_code into
8819 a new th_u3 union of tu_block/tu_code inside of that. Move
8820 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
8821 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
8822 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
8823 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
8824 (th_stuff): Change to th_u1.tu_stuff.
8826 (th_msg): Change to th_u1.th_u2.tu_data.
8828 2012-05-07 David S. Miller <davem@davemloft.net>
8830 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8833 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
8834 (SETUP_PIC_REG): Use it.
8835 (SETUP_PIC_REG_LEAF): Use it.
8837 2012-05-07 Joseph Myers <joseph@codesourcery.com>
8841 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
8843 (EXPL_FINITE): Likewise.
8845 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
8846 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
8848 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
8850 (EXPL_FINITE): Likewise.
8852 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
8853 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
8855 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
8856 test of -max_value argument for long double.
8857 * sysdeps/i386/fpu/libm-test-ulps: Update.
8858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8860 2012-05-06 David S. Miller <davem@davemloft.net>
8862 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
8863 quad soft-float symbols whose references which are compiler
8865 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
8867 2012-05-06 Joseph Myers <joseph@codesourcery.com>
8871 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
8873 (EXPL_FINITE): Likewise.
8877 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
8878 Adjust comments for base varying.
8879 (__expl_finite): Change alias to EXPL_FINITE.
8880 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
8882 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
8883 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
8884 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
8885 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
8886 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
8888 (EXPL_FINITE): Likewise.
8892 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
8893 Adjust comments for base varying.
8894 (__expl_finite): Change alias to EXPL_FINITE.
8895 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
8897 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8900 * math/libm-test.inc (check_float_internal): Correct ulp
8901 calculation for subnormal expected results.
8903 2012-05-06 Andreas Jaeger <aj@suse.de>
8905 * Makeconfig (+math-flags): New, set to -frounding-math.
8906 (+cflags): Add +math-flags so that all of glibc gets compiled with
8909 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
8911 2012-05-05 Joseph Myers <joseph@codesourcery.com>
8913 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
8919 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
8920 (__ieee754_expl): Allow for and saturate large arguments.
8921 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
8922 (u_threshold): Likewise.
8923 (__exp): Call __ieee754_exp before checking for overflow and
8925 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
8926 (u_threshold): Likewise.
8927 (__expf): Call __ieee754_expf before checking for overflow and
8929 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
8930 (u_threshold): Likewise.
8931 (__expl): Call __ieee754_expl before checking for overflow and
8933 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
8934 (__ieee754_expl): Allow for and saturate large arguments.
8935 * math/libm-test.inc (exp_test): Add another test. Do not allow
8936 missing overflow exception on overflow.
8937 (expm1_test): Do not allow missing overflow exception on overflow.
8939 * sysdeps/i386/fpu/e_expl.c: Move to ...
8940 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
8941 rather than using inline asm.
8942 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
8943 * sysdeps/x86_64/fpu/e_expl.S: Copy from
8944 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
8946 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
8953 2012-05-04 Joseph Myers <joseph@codesourcery.com>
8955 * sysdeps/unix/syscalls.list (adjtime): Add entry from
8956 sysdeps/unix/common/syscalls.list.
8959 (ftruncate): Likewise.
8960 (getrusage): Likewise.
8961 (gettimeofday): Likewise.
8962 (setpgid): Likewise.
8963 (setregid): Likewise.
8964 (setreuid): Likewise.
8965 (sigaction): Likewise.
8966 (truncate): Likewise.
8967 (vhangup): Likewise.
8968 * sysdeps/unix/common/syscalls.list: Remove file.
8969 * sysdeps/unix/bsd/Implies: Don't include unix/common.
8970 * sysdeps/unix/sysv/linux/Implies: Likewise.
8972 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
8974 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
8975 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
8976 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
8978 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
8980 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
8982 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
8983 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
8985 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
8986 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
8988 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
8989 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
8991 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
8992 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
8994 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
8995 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
8997 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
8998 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
9000 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
9002 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
9004 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
9006 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
9008 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
9009 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
9011 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
9013 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
9015 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
9017 2012-05-04 Joseph Myers <joseph@codesourcery.com>
9019 * sysdeps/unix/common/bits/dirent.h: Remove file.
9020 * sysdeps/unix/common/bits/fcntl.h: Likewise.
9022 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
9023 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
9024 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
9025 * sysdeps/unix/bsd/isatty.c: Likewise.
9026 * sysdeps/unix/bsd/tcdrain.c: Likewise.
9027 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
9028 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
9030 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9033 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
9034 long double comparison inaccuracies.
9035 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9036 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9038 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
9040 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
9041 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
9043 2012-05-04 Joseph Myers <joseph@codesourcery.com>
9046 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
9047 nonzero digits before rounding a hex value.
9048 * stdlib/tst-strtod.c (tests): Add another test.
9050 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9052 * sysdeps/s390/fpu/libm-test-ulps: Update.
9054 2012-05-03 Andreas Jaeger <aj@suse.de>
9056 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
9057 does not get optimized out.
9058 (malloc_opt_barrier): New.
9060 2012-05-03 Andreas Jaeger <aj@suse.de>
9061 Roland McGrath <roland@hack.frob.com>
9063 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
9064 intermediate file deletion.
9065 (generated): Add .symlist files.
9067 2012-05-03 Joseph Myers <joseph@codesourcery.com>
9070 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
9071 Redirect under this condition.
9072 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9073 [__USE_GNU] (__dprintf_chk): Not under this condition.
9074 [__USE_GNU] (__vdprintf_chk): Likewise.
9075 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
9076 under this condition.
9077 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9078 [__USE_XOPEN2K8] (dprintf): Define under this condition.
9079 [__USE_XOPEN2K8] (vdprintf): Likewise.
9080 [__USE_GNU] (__dprintf_chk): Not under this condition.
9081 [__USE_GNU] (__vdprintf_chk): Likewise.
9082 [__USE_GNU] (dprintf): Likewise.
9083 [__USE_GNU] (vdprintf): Likewise.
9085 2012-05-03 Roland McGrath <roland@hack.frob.com>
9087 * elf/Makefile (common-generated): Set this instead of generated for
9088 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
9089 $(all-built-dso)-derived lists.
9091 2012-05-03 Andreas Jaeger <aj@suse.de>
9093 * sysdeps/i386/fpu/libm-test-ulps: Update.
9097 * scripts/gen-FAQ.pl: Likewise.
9098 * manual/install.texi (Installation): Point to online location of
9100 * Makefile (files-for-dist): Remove FAQ.
9103 2012-05-02 Allan McRae <allan@archlinux.org>
9105 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
9106 (LDFLAGS-reldepmod5.so): Likewise.
9107 (LDFLAGS-reldep6mod1.so): Likewise.
9108 (LDFLAGS-reldep6mod4.so): Likewise.
9109 (LDFLAGS-reldep8mod3.so): Likewise.
9110 (LDFLAGS-unload4mod1.so): Likewise.
9111 (LDFLAGS-unload4mod2.so): Likewise.
9112 (LDFLAGS-tst-initorder): Likewise.
9113 (LDFLAGS-tst-initordera2.so): Likewise.
9114 (LDFLAGS-tst-initordera3.so): Likewise.
9115 (LDFLAGS-tst-initordera4.so): Likewise.
9116 (LDFLAGS-tst-initorderb2.so): Likewise.
9117 (LDFLAGS-noload): Likewise.
9118 (LDFLAGS-next): Likewise.
9119 (LDFLAGS-order2mod1.so): Likewise.
9120 (LDFLAGS-order2mod2.so): Likewise.
9121 (LDFLAGS-tst-initorder2): Likewise.
9122 (LDFLAGS-tst-initorder2a.so): Likewise.
9123 (LDFLAGS-tst-initorder2b.so): Likewise.
9124 (LDFLAGS-tst-initorder2c.so): Likewise.
9125 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
9127 2012-05-02 David S. Miller <davem@davemloft.net>
9129 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9131 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
9134 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
9136 2012-05-02 Andreas Jaeger <aj@suse.de>
9138 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
9139 since we manipulate rounding mode.
9140 (CPPFLAGS-test-idouble.c): Likewise.
9141 (CPPFLAGS-test-ifloat.c): Likewise.
9142 (CFLAGS-test-ldouble.c): Likewise.
9143 (CFLAGS-test-double.c): Likewise.
9144 (CFLAGS-test-float.c): Likewise.
9145 (CFLAGS-test-misc.c): Likewise.
9146 (CFLAGS-test-test-fenv.c): Likewise.
9148 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9152 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
9153 comparisons to determine direction to adjust input.
9155 2012-05-01 Roland McGrath <roland@hack.frob.com>
9157 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
9158 output to the target.
9160 * scripts/localplt.awk: New file.
9161 * elf/Makefile ($(objpfx)check-localplt): Target removed.
9162 (check-localplt-CFLAGS): Variable removed.
9163 ($(all-built-dso:=.jmprel)): New static pattern rule.
9164 (generated): Add those targets.
9165 (localplt-built-dso): New variable.
9166 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
9168 * elf/check-localplt.c: File removed.
9170 * scripts/check-execstack.awk: New file.
9171 * elf/Makefile ($(objpfx)check-execstack): Target removed.
9172 (check-execstack-CFLAGS): Variable removed.
9173 ($(objpfx)check-execstack.h): Target removed.
9174 ($(objpfx)execstack-default): New target.
9175 (generated): Add that instead of check-execstack.h.
9176 ($(all-built-dso:=.phdr)): New static pattern rule.
9177 (generated): Add those targets.
9178 * elf/check-execstack.c: File removed.
9180 * scripts/check-textrel.awk: New file.
9181 * elf/Makefile ($(objpfx)check-textrel): Target removed.
9182 (check-textrel-CFLAGS): Variable removed.
9183 (all-built-dso): Use := to define.o
9184 ($(all-built-dso:=.dyn)): New static pattern rule.
9185 (generated): Add those targets.
9186 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
9187 * config.make.in (READELF): New substituted variable.
9188 * elf/check-textrel.c: File removed.
9190 2012-05-01 Joseph Myers <joseph@codesourcery.com>
9192 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9194 * conform/data/ctype.h-data [C99-based standards] (isblank):
9196 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
9197 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
9198 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9199 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
9200 Specify type. Require positive value.
9203 [ISO || POSIX] (EILSEQ): Do not expect.
9204 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
9205 Specify type. Require positive value.
9206 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
9207 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
9208 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
9209 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
9210 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
9211 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
9212 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
9213 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
9214 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
9215 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
9216 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
9217 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
9218 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
9219 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
9220 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
9221 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
9222 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
9223 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
9224 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
9225 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
9226 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
9227 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
9228 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
9229 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
9230 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
9231 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
9232 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
9233 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
9234 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
9235 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
9236 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
9237 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
9238 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
9239 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
9240 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
9241 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
9242 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
9243 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
9244 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
9245 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
9246 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
9247 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
9248 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
9249 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
9250 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
9251 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
9252 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
9253 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
9254 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
9255 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
9256 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
9257 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
9258 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
9259 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
9260 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
9261 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
9262 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
9263 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
9264 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
9265 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
9266 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
9267 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
9268 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
9269 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
9270 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
9271 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
9272 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
9273 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
9274 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
9275 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
9276 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
9277 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
9278 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
9279 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
9280 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
9281 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
9282 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
9284 (FLT_ROUNDS): Expect as macro, not constant.
9285 (FLT_MANT_DIG): Use macro-int-constant.
9286 (DBL_MANT_DIG): Likewise.
9287 (LDBL_MANT_DIG): Likewise.
9288 (FLT_DIG): Likewise.
9289 (DBL_DIG): Likewise.
9290 (LDBL_DIG): Likewise.
9291 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
9292 (DBL_MIN_EXP): Likewise.
9293 (LDBL_MIN_EXP): Likewise.
9294 (FLT_MAX_EXP): Use macro-int-constant.
9295 (DBL_MAX_EXP): Likewise.
9296 (LDBL_MAX_EXP): Likewise.
9297 (FLT_MAX_10_EXP): Likewise.
9298 (DBL_MAX_10_EXP): Likewise.
9299 (LDBL_MAX_10_EXP): Likewise.
9300 (FLT_MAX): Use macro-constant.
9301 (DBL_MAX): Likewise.
9302 (LDBL_MAX): Likewise.
9303 (FLT_EPSILON): Use macro-constant. Give upper bound.
9304 (DBL_EPSILON): Likewise.
9305 (LDBL_EPSILON): Likewise.
9306 (FLT_MIN): Likewise.
9307 (DBL_MIN): Likewise.
9308 (LDBL_MIN): Likewise.
9309 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
9310 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
9311 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
9312 [ISO11] (FLT_HAS_SUBNORM): Likewise.
9313 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
9314 [ISO11] (DBL_DECIMAL_DIG): Likewise.
9315 [ISO11] (FLT_DECIMAL_DIG): Likewise.
9316 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
9317 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
9318 [ISO11] (FLT_TRUE_MIN): Likewise.
9319 [ISO11] (LDBL_TRUE_MIN): Likewise.
9320 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9321 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
9322 (SCHAR_MIN): Use macro-int-constant. Specify type.
9323 (SCHAR_MAX): Likewise.
9324 (UCHAR_MAX): Likewise.
9325 (CHAR_MIN): Likewise.
9326 (CHAR_MAX): Likewise.
9327 (MB_LEN_MAX): Use macro-int-constant.
9328 (SHRT_MIN): Use macro-int-constant. Specify type.
9329 (SHRT_MAX): Likewise.
9330 (USHRT_MAX): Likewise.
9331 (INT_MAX): Likewise.
9332 (INT_MIN): Use macro-int-constant. Specify type. Make upper
9334 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
9336 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
9338 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
9339 bound negative. Suffix upper bound with "L".
9340 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
9342 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
9344 [C99-based standards] (LLONG_MAX): Likewise.
9345 [C99-based standards] (ULLONG_MAX): Likewise.
9346 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
9348 [ISO11] (max_align_t): Require type.
9349 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9351 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
9352 from $CFLAGS, without defining away __attribute__ calls.
9353 (checknamespace): Use $CFLAGS_namespace.
9355 * conform/conformtest.pl (@keywords): Only include C99 keywords
9356 for standards based on C99 or C11.
9358 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
9360 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
9363 * conform/conformtest.pl: Handle "macro-int-constant" and test for
9364 usability of symbols in #if.
9366 * conform/conformtest.pl: If macro or constant types start
9367 "promoted:", expect the symbol to be of the following type
9368 promoted by the integer promotions.
9370 * conform/conformtest.pl: Parse all "constant" and "macro" lines
9371 in one place. Also handle "macro-constant".
9373 * conform/conformtest.pl: Only accept expected macro values with
9374 "==". Parse all "macro" lines in one place.
9375 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
9377 * conform/conformtest.pl: Handle braced types on "constant" lines
9378 instead of handling "typed-constant".
9379 * conform/data/signal.h-data: Use "constant" instead of
9382 * conform/conformtest.pl: Handle "optional-" at start of lines in
9383 one place rather than duplicating several cases. Handle each
9384 format of "macro" line with initial "optional-".
9386 * conform/conformtest.pl: Only accept expected constant or
9387 optional-constant values with "==". Parse all "constant" lines in
9388 one place. Parse all "optional-constant" lines in one place.
9389 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
9390 * conform/data/fmtmsg.h-data: Likewise.
9391 * conform/data/netinet/in.h-data: Likewise.
9392 * conform/data/tar.h-data: Likewise.
9393 * conform/data/limits.h-data: Use "==" form on "constant" and
9394 "optional-constant" lines.
9396 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
9397 Use -std=c99 for XOPEN2K.
9398 (@knownproblems): Remove.
9399 (newtoken): Don't check %isknown.
9401 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
9402 Do not expect macro.
9403 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
9404 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
9405 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
9406 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
9407 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
9408 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
9409 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
9410 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
9411 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
9412 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
9413 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
9414 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
9415 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
9416 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
9417 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
9418 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
9419 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
9420 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
9421 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
9422 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
9423 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
9424 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
9425 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
9426 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
9427 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
9428 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
9429 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
9430 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
9431 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
9432 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
9433 [XPG3] (acosh): Likewise.
9434 [XPG3] (asinh): Likewise.
9435 [XPG3] (atanh): Likewise.
9436 [XPG3] (cbrt): Likewise.
9437 [XPG3] (expm1): Likewise.
9438 [XPG3] (ilogb): Likewise.
9439 [XPG3] (log1p): Likewise.
9440 [XPG3] (logb): Likewise.
9441 [XPG3] (nextafter): Likewise.
9442 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
9443 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
9444 [XPG3] (remainder): Likewise.
9445 [XPG3] (rint): Likewise.
9446 [XPG3 || XPG4 || UNIX98] (round): Likewise.
9447 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
9448 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
9449 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
9450 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
9451 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
9452 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
9453 [UNIX98 || XOPEN2K] (scalb): Expect.
9454 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
9455 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
9456 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
9457 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
9458 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
9459 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
9460 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
9461 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
9462 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
9463 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
9464 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
9465 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
9466 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
9467 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
9468 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
9469 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
9470 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
9471 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
9472 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
9473 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
9474 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
9475 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
9476 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
9477 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
9478 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
9479 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
9480 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
9481 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
9482 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
9483 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
9484 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
9485 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
9486 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
9487 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
9488 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
9489 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
9490 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
9491 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
9492 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
9493 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
9494 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
9495 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
9496 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
9497 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
9498 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
9499 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
9500 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
9501 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
9502 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
9503 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
9504 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
9505 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
9506 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
9507 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
9508 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
9509 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
9510 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
9511 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
9512 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
9513 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
9514 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
9515 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
9516 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
9517 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
9518 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
9519 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
9520 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
9521 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
9522 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
9523 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
9524 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
9525 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
9526 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
9527 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
9528 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
9529 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
9530 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
9531 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
9532 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
9533 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
9534 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
9535 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
9536 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
9537 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
9538 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
9539 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
9540 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
9541 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
9542 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
9543 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
9544 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
9545 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
9546 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
9547 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
9548 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
9549 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
9550 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
9551 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
9552 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
9553 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
9554 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
9555 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
9556 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
9557 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
9558 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
9559 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
9560 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
9561 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
9562 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
9563 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
9564 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
9565 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
9566 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
9567 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
9568 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
9569 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
9570 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
9571 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
9572 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
9573 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
9574 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
9575 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
9576 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
9577 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
9578 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
9579 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
9580 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
9581 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
9582 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
9583 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
9584 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
9585 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
9586 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
9587 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
9588 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
9589 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
9590 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
9592 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
9593 _XOPEN_SOURCE_EXTENDED for XPG4.
9595 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
9597 * Makeconfig (localtime): Remove variable.
9598 (inst_localtime-file): Likewise.
9600 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
9602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
9604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
9608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
9612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
9614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
9618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9621 2012-05-01 Joseph Myers <joseph@codesourcery.com>
9625 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
9626 comparisons to determine direction to adjust input.
9627 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
9628 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
9629 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
9631 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
9633 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9635 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
9636 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
9638 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
9640 * math/libm-test.inc (nexttoward_test): Add more tests.
9642 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
9645 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
9646 in version GLIBC_2.1, not GLIBC_2.0.
9647 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
9650 2012-04-30 Joseph Myers <joseph@codesourcery.com>
9653 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
9655 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
9656 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
9657 * math/libm-test.inc (acos_test): Add more tests.
9658 (asin_test): Likewise.
9659 * sysdeps/i386/fpu/libm-test-ulps: Update.
9660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9663 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
9665 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
9666 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
9667 * math/libm-test.inc (acos_test_tonearest): New function.
9668 (acos_test_towardzero): Likewise.
9669 (acos_test_downward): Likewise.
9670 (acos_test_upward): Likewise.
9671 (asin_test_tonearest): Likewise.
9672 (asin_test_towardzero): Likewise.
9673 (asin_test_downward): Likewise.
9674 (asin_test_upward): Likewise.
9675 (main): Call the new functions.
9676 * sysdeps/i386/fpu/libm-test-ulps: Update.
9677 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9681 * math/e_exp10.c: Include <float.h>.
9682 (__ieee754_exp10): Handle underflow here rather than multiplying
9683 large negative argument by M_LN10.
9684 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
9686 * math/e_exp10l.c: Include <float.h>.
9687 (__ieee754_exp10l): Handle underflow here rather than multiplying
9688 large negative argument by M_LN10l.
9689 * math/libm-test.inc (exp10_test): Add another test. Do not allow
9690 spurious overflow exception on underflow.
9692 2012-04-29 Marek Polacek <polacek@redhat.com>
9694 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
9695 (__fortify_function): New macro.
9696 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
9697 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
9698 __extern_always_inline.
9699 * libio/bits/stdio2.h: Likewise.
9700 * libio/bits/stdio.h: Likewise.
9701 * string/string.h: Likewise.
9702 * string/bits/string3.h: Likewise.
9703 * include/stdio.h: Likewise.
9704 * stdlib/bits/stdlib.h: Likewise.
9705 * stdlib/stdlib.h: Likewise.
9706 * rt/bits/mqueue2.h: Likewise.
9707 * rt/mqueue.h: Likewise.
9708 * posix/bits/unistd.h: Likewise.
9709 * posix/unistd.h: Likewise.
9710 * io/bits/poll2.h: Likewise.
9711 * io/bits/fcntl2.h: Likewise.
9712 * io/fcntl.h: Likewise.
9713 * io/sys/poll.h: Likewise.
9714 * misc/bits/syslog.h: Likewise.
9715 * misc/bits/syslog-ldbl.h: Likewise.
9716 * misc/sys/syslog.h: Likewise.
9717 * socket/bits/socket2.h: Likewise.
9718 * socket/sys/socket.h: Likewise.
9719 * debug/tst-chk1.c: Likewise.
9720 * wcsmbs/bits/wchar2.h: Likewise.
9721 * wcsmbs/bits/wchar-ldbl.h: Likewise.
9722 * wcsmbs/wchar.h: Likewise.
9724 2012-04-29 Andreas Jaeger <aj@suse.de>
9726 * Makerules (tests): Remove enable-check-abi protection.
9727 (check-abi-warn): Remove.
9728 (check-abi-%): Remove check-abi-warn usage.
9730 * configure.in: Remove check-abi configure option.
9731 * configure: Regenerated.
9732 * config.make.in (enable-check-abi): Remove.
9734 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
9737 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
9738 double functions to double *_finite functions.
9741 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
9742 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
9744 * stdio-common/Makefile (tests): Add tst-sprintf3.
9745 * stdio-common/tst-sprintf3.c: New file.
9747 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
9748 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
9750 2012-04-28 Joseph Myers <joseph@codesourcery.com>
9752 * conform/conformtest.pl: Remove duplicate typed-constant
9755 2012-04-28 David S. Miller <davem@davemloft.net>
9757 * Makerules (%.abilist): Add vpath on sysdep_dirs.
9758 (check-abi-%): Remove AWK script prerequisite and explicit
9760 (check-abi): Rewrite to just diff the symlist with the abilist.
9761 (config-tls, config-abi-config): Delete, no longer used.
9762 (update-abi-%): Remove AWK script and explicit abilist directory.
9763 (update-abi): Rewrite to simply compare and conditionally copy the
9764 symlist and the sysdep abilist file. Remove update-abi-config
9766 * abilist/ld.abilist: Remove.
9767 * abilist/libBrokenLocale.abilist: Remove.
9768 * abilist/libanl.abilist: Remove.
9769 * abilist/libcrypt.abilist: Remove.
9770 * abilist/libdl.abilist: Remove.
9771 * abilist/librt.abilist: Remove.
9772 * abilist/libthread_db.abilist: Remove.
9773 * abilist/libutil.abilist: Remove.
9774 * scripts/extract-abilist.awk: Remove.
9775 * scripts/merge-abilist.awk: Remove.
9776 * sysdeps/generic/libcidn.abilist: New file.
9777 * sysdeps/generic/libnss_compat.abilist: New file.
9778 * sysdeps/generic/libnss_db.abilist: New file.
9779 * sysdeps/generic/libnss_dns.abilist: New file.
9780 * sysdeps/generic/libnss_files.abilist: New file.
9781 * sysdeps/generic/libnss_hesiod.abilist: New file.
9782 * sysdeps/generic/libnss_nis.abilist: New file.
9783 * sysdeps/generic/libnss_nisplus.abilist: New file.
9784 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
9785 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
9786 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
9788 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
9789 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
9790 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
9791 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
9792 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
9793 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
9794 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
9795 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
9796 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
9798 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
9799 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
9800 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
9801 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
9803 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
9804 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
9805 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
9806 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
9807 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
9808 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
9810 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
9811 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
9812 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
9814 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
9815 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
9817 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
9819 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
9821 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
9823 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
9825 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
9827 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
9829 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
9831 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
9833 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
9835 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
9837 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
9839 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
9841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
9843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
9845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
9847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
9849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
9851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
9853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
9855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
9857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
9861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
9863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
9865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
9867 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
9868 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
9870 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
9872 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
9874 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
9876 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
9878 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
9880 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
9882 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9884 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
9886 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
9888 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
9890 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
9892 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
9893 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
9895 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
9897 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
9899 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
9901 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
9903 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
9905 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
9907 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9909 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
9911 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
9913 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
9915 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
9917 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
9918 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
9919 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
9921 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
9922 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
9923 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
9924 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
9925 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
9926 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
9927 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
9928 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
9929 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
9930 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
9931 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
9932 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
9934 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
9936 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
9938 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
9940 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
9942 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
9944 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
9946 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
9948 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
9950 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
9952 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
9954 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
9956 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
9957 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
9959 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
9961 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
9963 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
9965 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
9967 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
9969 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
9971 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
9973 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
9975 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
9977 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
9979 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
9982 2012-04-28 Joseph Myers <joseph@codesourcery.com>
9984 * conform/conformtest.pl: Fix typo in handling typed-constant from
9987 2012-04-27 Joseph Myers <joseph@codesourcery.com>
9989 * README: Cut down references to pre-2.6 Linux kernels and
9990 Linuxthreads. Update lists of configurations in libc and ports
9991 and sort alphabetically. Say "or newer" with Linux kernel version
9994 * config.h.in [IS_IN_build]: Allow compiling without optimization.
9996 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9999 * math/libm-test.inc (logb_test_downward): New test to expose
10000 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
10003 2012-04-27 Joseph Myers <joseph@codesourcery.com>
10006 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
10008 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
10009 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
10011 2012-04-26 Joseph Myers <joseph@codesourcery.com>
10013 * sysdeps/unix/i386/brk.S: Remove file.
10014 * sysdeps/unix/i386/dl-brk.S: Likewise.
10015 * sysdeps/unix/i386/pipe.S: Likewise.
10016 * sysdeps/unix/i386/sigreturn.S: Likewise.
10017 * sysdeps/unix/i386/syscall.S: Likewise.
10018 * sysdeps/unix/i386/vfork.S: Likewise.
10019 * sysdeps/unix/i386/wait.S: Likewise.
10021 * sysdeps/unix/common/tcsendbrk.c: Move to ...
10022 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
10024 * configure.in (arm*-none*): Do not allow without
10025 --enable-hacker-mode.
10026 (netbsd*): Remove case setting base_os.
10027 (386bsd*): Likewise.
10028 (freebsd*): Likewise.
10031 (sunos*): Likewise.
10032 (ultrix*): Likewise.
10033 (newsos*): Likewise.
10034 (dynix*): Likewise.
10040 (minix*): Likewise.
10041 (irix4*): Likewise.
10042 (irix6*): Likewise.
10043 (solaris[2-9]*): Likewise.
10045 * configure: Regenerated.
10047 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10050 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
10051 overflow or cancellation in calculating denominator.
10052 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
10053 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
10054 down expression to avoid unexpected rounding in newer GCCs.
10055 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
10057 2012-04-26 David S. Miller <davem@davemloft.net>
10059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
10060 long-double compat symbols.
10061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
10065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
10067 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
10068 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
10069 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
10070 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
10071 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
10072 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
10073 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10075 2012-04-25 David S. Miller <davem@davemloft.net>
10077 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
10078 HWCAP_* values only after the memory barriers have been defined.
10079 (atomic_full_barrier): Define.
10080 (atomic_read_barrier): Define.
10081 (atomic_write_barrier): Define.
10083 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10085 * shlib-versions: Add libgcc_s version information.
10086 * sysdeps/generic/libgcc_s.h: Remove.
10087 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
10089 * sysdeps/gnu/unwind-resume.c: Likewise.
10090 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
10092 2012-04-25 David S. Miller <davem@davemloft.net>
10094 * sysdeps/unix/sparc/brk.S: Delete.
10095 * sysdeps/unix/sparc/dl-brk.S: Delete.
10096 * sysdeps/unix/sparc/pipe.S: Delete.
10097 * sysdeps/unix/sparc/sysdep.S: Delete.
10098 * sysdeps/unix/sparc/sysdep.h: Delete.
10099 * sysdeps/unix/sparc/vfork.S: Delete.
10100 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
10101 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
10102 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
10103 ret_ERRVAL, r0, r1, MOVE): Define.
10104 (JUMPTARGET): Remove.
10105 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
10106 sysdeps/unix/sparc/sysdep.h
10107 (ENTRY, END): Remove.
10108 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10110 2012-04-25 Joseph Myers <joseph@codesourcery.com>
10112 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
10113 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
10116 * timezone/README: Update upstream location and email address for
10118 * timezone/zdump.c: Update from tzcode 2012b.
10119 * timezone/zic.c: Likewise.
10121 * configure.in (libc_cv_as_needed): Remove test.
10122 * configure: Regenerated.
10123 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
10124 conditional definition.
10125 [$(have-as-needed) != yes] (no-as-needed): Likewise.
10126 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
10127 * config.make.in (have-as-needed): Remove variable.
10129 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10130 Paul Pluzhnikov <ppluzhnikov@google.com>
10132 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
10135 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
10137 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
10138 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
10139 * sysdeps/sh/strlen.S: Likewise.
10141 2012-04-24 Joseph Myers <joseph@codesourcery.com>
10143 * sysdeps/unix/fork.S: Remove file.
10144 * sysdeps/unix/i386/fork.S: Likewise.
10145 * sysdeps/unix/sparc/fork.S: Likewise.
10147 * sysdeps/unix/system.c: Remove file.
10148 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
10150 * sysdeps/unix/getegid.S: Remove file.
10151 * sysdeps/unix/geteuid.S: Likewise.
10153 2012-04-24 Roland McGrath <roland@hack.frob.com>
10155 * scripts/check-localplt.awk: New file.
10156 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
10158 * scripts/data/localplt-generic.data: Add a comment.
10160 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
10161 NODE when __dir_mkfile failed.
10162 * sysdeps/mach/hurd/symlinkat.c: Likewise.
10163 Reported by Ludovic Courtès <ludo@gnu.org>.
10165 2012-04-24 Andreas Jaeger <aj@suse.de>
10167 * Makerules (common-clean): Also remove gen-as-const-headers
10170 2012-04-24 Joseph Myers <joseph@codesourcery.com>
10172 * Makerules (native-compile): Do not change working directory for
10173 build. Use $(OUTPUT_OPTION) in command.
10174 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
10176 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10179 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
10180 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
10181 * math/libm-test.inc (floor_test): Add more tests.
10182 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
10184 2012-04-24 Joseph Myers <joseph@codesourcery.com>
10186 * sysdeps/unix/getdents.c: Remove file.
10187 * sysdeps/unix/sysv/getdents.c: Likewise.
10188 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
10190 * sysdeps/unix/syscalls.list (madvise): Add syscall from
10191 sysdeps/unix/mman/syscalls.list.
10193 (mprotect): Likewise.
10195 (munmap): Likewise.
10196 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
10197 * sysdeps/unix/mman/syscalls.list: Remove.
10198 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
10200 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
10201 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
10202 * configure: Regenerated.
10203 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
10204 $(libgcc_s_suffix).
10205 * config.make.in (libgcc_s_suffix): Remove variable.
10207 2012-04-23 Joseph Myers <joseph@codesourcery.com>
10209 * sysdeps/unix/sysv/gethostname.c: Move to ...
10210 * sysdeps/posix/gethostname.c: ... here.
10212 * sysdeps/unix/execve.S: Remove file.
10214 * sysdeps/unix/_exit.S: Remove file.
10216 2012-04-23 Andreas Jaeger <aj@suse.de>
10219 * manual/Makefile: Remove make dist support, there's no
10220 need for a stand-alone documentation tar ball.
10221 (TEXI2DVI): Define always, it's not in Makeconfig.
10224 (edition): Removed.
10225 (glibc-doc-$(edition).tar): Removed
10229 (ETAGS): Remove, it's in Makeconfig.
10230 (move-if-change): Remove, it's in Makeconfig.
10232 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
10235 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
10236 (strtod, strtof, strtold, strtol, strtoul, strtoq)
10237 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
10238 (strtod_l, strtof_l, strtold_l): Remove __wur.
10239 It is not necessarily an error to ignore strtol's return value.
10240 One can reliably look at the stored endptr to decide whether
10241 the number had valid syntax.
10243 2012-04-21 Andreas Jaeger <aj@suse.de>
10246 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
10248 2012-04-21 Joseph Myers <joseph@codesourcery.com>
10250 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
10251 * sysdeps/unix/sysv/Versions: Remove file.
10253 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
10256 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10258 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
10261 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
10262 version from __vm86.
10264 2012-04-20 Joseph Myers <joseph@codesourcery.com>
10266 * sysdeps/unix/common/lxstat.c: Remove file.
10267 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
10269 * sysdeps/unix/sysv/Makefile: Remove file.
10271 * sysdeps/unix/sysv/direct.h: Remove file.
10273 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
10274 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
10275 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
10276 * sysdeps/unix/sysv/bits/signum.h: Likewise.
10277 * sysdeps/unix/sysv/bits/stat.h: Likewise.
10278 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
10279 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
10281 * sysdeps/unix/sysv/setrlimit.c: Remove file.
10283 * sysdeps/unix/xmknod.c: Remove file.
10284 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
10286 * sysdeps/unix/sysv/settimeofday.c: Remove file.
10288 * sysdeps/unix/sysv/i386/time.S: Remove file.
10290 * sysdeps/unix/fxstat.c: Remove file.
10291 * sysdeps/unix/xstat.c: Likewise.
10292 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
10294 * sysdeps/unix/sysv/sigaction.c: Remove file.
10296 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
10297 (sysdep_headers): Remove variable.
10298 [termio.h not in sysdep_headers] (generated): Likewise.
10299 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
10300 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
10301 * sysdeps/unix/sysv/tcdrain.c: Likewise.
10302 * sysdeps/unix/sysv/tcflow.c: Likewise.
10303 * sysdeps/unix/sysv/tcflush.c: Likewise.
10304 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
10305 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
10306 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
10307 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
10308 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
10310 * sysdeps/unix/siglist.c: Remove file.
10312 * sysdeps/unix/getppid.S: Remove file.
10314 * sysdeps/unix/mkdir.c: Remove file.
10315 * sysdeps/unix/rmdir.c: Likewise.
10317 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
10319 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
10321 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
10322 errlist-compat value.
10324 2012-04-18 David S. Miller <davem@davemloft.net>
10326 * sysdeps/generic/memcopy.h (reg_char): Delete.
10327 * debug/strcat_chk.c: Use char, not reg_char.
10328 * debug/strcpy_chk.c: Likewise.
10329 * debug/strncat_chk.c: Likewise.
10330 * debug/strncpy_chk.c: Likewise.
10331 * string/memchr.c: Likewise.
10332 * string/memrchr.c: Likewise.
10333 * string/rawmemchr.c: Likewise.
10334 * string/strcat.c: Likewise.
10335 * string/strchr.c: Likewise.
10336 * string/strchrnul.c: Likewise.
10337 * string/strcmp.c: Likewise.
10338 * string/strcpy.c: Likewise.
10339 * string/strncat.c: Likewise.
10340 * string/strncmp.c: Likewise.
10341 * string/strncpy.c: Likewise.
10343 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10345 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
10346 __builtin_memcopy is called when src and dest ranges are known to not
10349 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10351 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
10352 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
10353 fwd_align_merge macro call.
10354 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
10355 bwd_align_merge macro call.
10356 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
10358 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10360 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
10361 bwd_align_merge macros.
10362 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
10363 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
10364 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
10366 2012-04-18 David S. Miller <davem@davemloft.net>
10368 * sysdeps/sparc/sparc64/memcopy.h: Delete.
10370 2012-04-18 Andreas Jaeger <aj@suse.de>
10373 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
10374 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
10375 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10377 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
10378 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
10379 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10381 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
10382 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
10383 Adjust for changed ldbl-128 files.
10385 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
10386 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
10387 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10389 2012-04-17 David S. Miller <davem@davemloft.net>
10391 * sysdeps/sparc/sparc32/memcopy.h: Delete.
10393 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
10395 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
10396 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
10397 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
10398 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
10399 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10400 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
10402 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10405 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
10406 * math/libm-test.inc: Add ilogb errno and exception tests.
10407 * math/w_ilogb.c: New file: ilogb wrapper.
10408 * math/w_ilogbf.c: New file: ilogbf wrapper.
10409 * math/w_ilogbl.c: New file: ilogbl wrapper.
10410 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
10411 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
10412 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
10413 exception being thrown with 0.0 as argument.
10414 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
10415 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
10416 exception being thrown with 0.0 as argument.
10417 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
10418 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
10419 exception being thrown with 0.0 as argument.
10420 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
10421 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
10422 exception being thrown with 0.0 as argument.
10423 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
10424 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
10425 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
10426 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
10427 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
10428 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
10429 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
10430 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
10431 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
10433 2012-04-17 Petr Baudis <pasky@ucw.cz>
10435 * include/sys/uio.h: Change __vector to __iovec to avoid clash
10438 2012-04-16 Marek Polacek <polacek@redhat.com>
10440 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
10442 2012-04-16 Marek Polacek <polacek@redhat.com>
10444 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
10445 operands of fdivp instruction.
10447 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
10449 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
10450 * elf/tst-auditmod3b.c: Likewise.
10451 * elf/tst-auditmod4b.c: Likewise.
10452 * elf/tst-auditmod5b.c: Likewise.
10453 * elf/tst-auditmod6b.c: Likewise.
10454 * elf/tst-auditmod6c.c: Likewise.
10455 * elf/tst-auditmod7b.c: Likewise.
10456 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
10457 * sysdeps/x86_64/preconfigure.in: Likewise.
10458 * sysdeps/x86_64/preconfigure: Regenerated.
10460 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
10462 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
10465 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
10467 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10468 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
10470 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
10473 * locale/iso-639.def: Fix gl language name. Spotted by
10476 2012-04-12 Roland McGrath <roland@hack.frob.com>
10479 * libio/libio.h (__io_write_fn): Update comment.
10481 2012-04-12 Petr Baudis <pasky@ucw.cz>
10484 * stdio.texi (Hook Functions): The user provided writer function
10485 is not allowed to return -1.
10487 2012-04-11 David S. Miller <davem@davemloft.net>
10489 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10491 2012-04-11 Mike Frysinger <vapier@gentoo.org>
10493 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
10494 Add a leading slash to rtkaio.
10496 2012-04-11 Jim Meyering <meyering@redhat.com>
10499 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
10500 It is not necessarily an error to ignore fwrite's return
10501 value. One can reliably use ferror to test for errors after
10504 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
10506 * bits/types.h (__snseconds_t): New type.
10507 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
10509 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
10510 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10511 (__SNSECONDS_T_TYPE): Likewise.
10512 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10513 (__SNSECONDS_T_TYPE): Likewise.
10514 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10515 (__SNSECONDS_T_TYPE): Likewise.
10517 2012-04-10 Andreas Jaeger <aj@suse.de>
10520 * manual/time.texi (Processor Time): Return type of times is
10521 elapsed real time since an arbitrary point in the past.
10522 (CPU Time): Move CLK_TCK from here...
10523 (Processor Time): ...to here. Correct description.
10524 * manual/conf.texi (Constants for Sysconf): Correct description of
10527 2012-04-10 David S. Miller <davem@davemloft.net>
10530 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
10531 where the is a gap between DT_REL(A) and DT_JMPREL.
10533 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
10535 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
10536 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
10537 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
10539 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10541 * elf/dl-support.c (_dl_inhibit_cache): New variable.
10542 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
10543 (dl_main): Handle --inhibit-cache.
10544 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
10546 * elf/dl-load.c (_dl_map_object): Use it.
10547 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
10549 2012-04-09 Joseph Myers <joseph@codesourcery.com>
10552 * sysdeps/i386/fpu/e_powl.S (p78): New object.
10553 (__ieee754_powl): Saturate large exponents rather than testing for
10554 overflow of y*log2(x).
10555 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10556 * math/libm-test.inc (pow_test): Do not permit spurious overflow
10560 * math/s_ctan.c: Include <float.h>.
10561 (__ctan): Avoid internal overflow or cancellation in calculating
10563 * math/s_ctanf.c: Likewise.
10564 * math/s_ctanl.c: Likewise.
10565 * math/s_ctanh.c: Likewise.
10566 * math/s_ctanhf.c: Likewise.
10567 * math/s_ctanhl.c: Likewise.
10568 * math/libm-test.inc (ctan_test): Add more tests.
10569 (ctanh_test): Likewise.
10570 * sysdeps/i386/fpu/libm-test-ulps: Update.
10571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10573 2012-04-09 Andreas Jaeger <aj@suse.de>
10576 * manual/filesys.texi (Directory Entries): Mention that d_namlen
10577 is an optional BSD extension.
10580 * manual/stdio.texi (Opening Streams): Document additional fopen
10583 2012-04-09 Roland McGrath <roland@hack.frob.com>
10585 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
10586 %eax without telling the compiler.
10588 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
10591 * manual/install.texi: Use sourceware.org.
10593 2012-04-09 Joseph Myers <joseph@codesourcery.com>
10596 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
10597 (__ieee754_pow): Generate overflow and underflow using huge*huge
10598 and tiny*tiny rather than just returning constant infinity or zero
10599 for large exponents.
10600 * math/libm-test.inc (pow_test): Require overflow exceptions for
10601 applicable cases of large exponents.
10604 * sysdeps/i386/fpu/e_pow.S (p10): New object.
10605 (__ieee754_pow): Use iterative multiplication algorithm only for
10606 integer exponents with absolute value below 1024. Check for odd
10607 integer exponents when using algorithm for real exponents.
10608 * math/libm-test.inc (pow_test): Add more tests.
10609 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10611 2012-04-08 Joseph Myers <joseph@codesourcery.com>
10614 * math/libm-test.inc (exp_test): Do not allow overflow exception
10617 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
10620 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
10621 instead of __kernel_standard_f.
10623 2012-04-08 Mike Frysinger <vapier@gentoo.org>
10625 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
10626 * sysdeps/x86_64/memset_chk.S: Likewise.
10628 2012-04-08 Andreas Jaeger <aj@suse.de>
10631 * manual/startup.texi (Environment Access): Describe return value
10632 for putenv and setenv.
10635 * manual/filesys.texi (Directory Entries): Add description for
10639 * manual/filesys.texi (Directory Entries): Clarify that it's file
10640 system not operating system in the description of DT_UNKNOWN.
10643 * manual/syslog.texi (closelog): Fix reference, it's openlog.
10645 2012-04-08 Stephen Compall <s11@member.fsf.org>
10648 * manual/llio.texi (Opening and Closing Files): Add cross
10649 reference to explain mode argument.
10651 2012-04-07 Mike Frysinger <vapier@gentoo.org>
10653 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
10654 * sysdeps/x86_64/memset_chk.S: Likewise.
10656 2012-04-07 David S. Miller <davem@davemloft.net>
10658 * elf/elf.h (R_SPARC_WDISP10): Define.
10659 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
10661 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
10662 R_SPARC_SIZE64 and R_SPARC_H34.
10664 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
10666 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
10667 conditions and remove no longer applicable assertion.
10669 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
10671 * bits/byteswap.h: Include <features.h>.
10672 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
10673 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
10675 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
10677 * bits/byteswap.h (__bswap_16): Removed.
10678 Include <bits/byteswap-16.h> to get __bswap_16.
10679 * sysdeps/i386/bits/byteswap.h: Likewise.
10680 * sysdeps/s390/bits/byteswap.h: Likewise.
10681 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10682 * bits/byteswap-16.h: New file.
10683 * sysdeps/i386/bits/byteswap-16.h: Likewise.
10684 * sysdeps/s390/bits/byteswap-16.h: Likewise.
10685 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
10686 * string/Makefile (headers): Add bits/byteswap-16.h.
10688 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10691 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
10693 * nss/Makefile (tests-static, tests): Add tst-nss-static.
10694 * nss/tst-nss-static.c: New.
10696 2012-04-06 Robert Millan <rmh@gnu.org>
10699 * manual/llio.texi (File Position Primitive): lseek
10700 refers to WHENCE when it really means OFFSET.
10702 2012-04-06 Andreas Jaeger <aj@suse.de>
10704 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
10705 strncmp declarations.
10707 * abilist/libc.abilist: Add __poll and __ppoll.
10709 2012-04-05 David S. Miller <davem@davemloft.net>
10711 * scripts/check-local-headers.sh: Accept a host triplet in the
10712 path matched by the exclude regexp.
10714 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
10716 * sysdeps/powerpc/powerpc32/dl-machine.h
10717 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
10718 * sysdeps/s390/s390-32/dl-machine.h
10719 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
10720 * sysdeps/sparc/sparc32/dl-machine.h
10721 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
10722 * sysdeps/sparc/sparc64/dl-machine.h
10723 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
10725 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
10727 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
10728 undefined symbol errors.
10730 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
10733 2012-04-05 Michael Matz <matz@suse.de>
10736 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
10738 2012-04-05 Andreas Jaeger <aj@suse.de>
10741 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
10744 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10746 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
10747 which ROUND is no valid rounding mode.
10749 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10751 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
10753 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
10755 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10757 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
10758 an exception using FPU order intentionally.
10760 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10762 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
10763 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
10764 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
10765 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
10767 2012-04-05 Simon Josefsson <simon@josefsson.org>
10770 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
10771 EINVAL when BUFLEN is too smal.
10773 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
10776 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
10777 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
10779 2012-04-03 Andreas Jaeger <aj@suse.de>
10782 * manual/setjmp.texi (System V contexts): Fix sentence.
10785 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
10786 New macro for this case.
10787 [!__GNUC__] (__bswap_64): New inline function for this case.
10788 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10789 * bits/byteswap.h: Likewise.
10790 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
10791 ull, guard with __GLIBC_HAVE_LONG_LONG.
10793 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
10794 __GLIBC_HAVE_LONG_LONG.
10796 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
10797 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
10799 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10802 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
10803 inptr and inend, rather than using last_ch.
10805 2012-04-02 David S. Miller <davem@davemloft.net>
10807 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
10808 * stdio-common/printf-parse.h (read_int): Change return type to
10809 'int', return -1 on INT_MAX overflow.
10810 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
10811 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
10812 overflows INT_MAX. Check for overflow of in-format-string precision
10813 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
10814 SIZE_MAX not INT_MAX for integer overflow test.
10815 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
10816 skip the construct in the format string but do not record anything.
10817 * stdio-common/bug22.c: Adjust to test both width/prevision
10818 INT_MAX overflow as well as total length INT_MAX overflow. Check
10819 explicitly for proper errno values.
10821 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
10823 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
10825 * string/test-strcmp.c [! WIDE]: Likewise.
10826 * time/tst-mktime2.c: Likewise for INT_MAX.
10827 * string/test-string.h: #include <sys/param.h> for MIN.
10829 * csu/init-first.c (__libc_init_first): Call __ctype_init.
10830 * sysdeps/i386/init-first.c (init): Likewise.
10831 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
10832 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
10833 * sysdeps/sh/init-first.c (init): Likewise.
10835 2012-04-01 Ulrich Drepper <drepper@gmail.com>
10837 * po/ru.po: Update from translation team.
10838 * po/vi.po: Likewise.
10840 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10842 * resolv/nss_dns/dns-host.c: Merge copyright years.
10844 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10846 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10847 Optimize memcpy with prefetch if
10848 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
10849 src, dst pointers have unequal 16 byte alignments.
10851 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10854 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
10855 from a CNAME entry and return the minimum ttl for the query.
10856 (gaih_getanswer_slice): Likewise.
10858 2012-03-30 Jeff Law <law@redhat.com>
10860 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
10862 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
10863 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
10865 * resolv/nss_dns/dns-host.c: Update copyright year.
10867 2012-03-30 Ulrich Drepper <drepper@gmail.com>
10869 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
10870 requests to save a system call. Fix check that all bytes are sent.
10872 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
10873 comments for sendmmsg.
10875 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10878 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
10879 with only 1 character between 0x0041 and 0x01b0.
10880 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
10881 * wcsmbs/tst-mbsnrtowcs.c: New file.
10883 2012-03-29 David S. Miller <davem@davemloft.net>
10885 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
10886 small copies by hand.
10888 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10891 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
10892 _nss_compat_initgroups_dyn): Fall back to malloc/free
10893 for large group memberships.
10895 2012-03-28 David S. Miller <davem@davemloft.net>
10897 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
10898 that branches into memcpy.
10899 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
10900 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
10901 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10902 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
10903 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
10905 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
10906 implementation too.
10907 * sysdeps/sparc/mempcpy.S: New file.
10909 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
10910 the IFUNC routine in the libc case.
10911 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10913 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
10914 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
10915 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
10916 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
10917 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
10918 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
10919 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
10920 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
10922 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
10923 loop to 256 bytes instead of 64 bytes and fix test signedness.
10925 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
10926 * sysdeps/sparc/sparc32/Makefile: rather than here...
10927 * sysdeps/sparc/sparc64/Makefile: and here.
10929 2012-03-28 Ulrich Drepper <drepper@gmail.com>
10931 * malloc/mallocbug.c: Avoid warnings about unused variables.
10933 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10936 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
10937 in the right place. Discard and retry query if response is
10938 larger than input buffer size.
10940 2012-03-28 Joseph Myers <joseph@codesourcery.com>
10945 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
10946 x for large integer exponent.
10947 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10948 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
10949 sign of result as needed afterwards.
10950 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
10951 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
10952 result for underflowing pow the same as for overflow.
10953 (__kernel_standard_l): Handle powl overflow and underflow here
10954 rather than calling __kernel_standard.
10955 * math/libm-test.inc (pow_test): Add more tests.
10970 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
10971 * sysdeps/ieee754/k_standard.c: Include <float.h>.
10972 (__kernel_standard_l): New function.
10973 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
10975 * math/w_acosl.c (__acosl): Likewise.
10976 * math/w_asinl.c (__asinl): Likewise.
10977 * math/w_atan2l.c (__atan2l): Likewise.
10978 * math/w_atanhl.c (__atanhl): Likewise.
10979 * math/w_coshl.c (__coshl): Likewise.
10980 * math/w_exp10l.c (__exp10l): Likewise.
10981 * math/w_exp2l.c (__exp2l): Likewise.
10982 * math/w_fmodl.c (__fmodl): Likewise.
10983 * math/w_hypotl.c (__hypotl): Likewise.
10984 * math/w_j0l.c (__j0l, __y0l): Likewise.
10985 * math/w_j1l.c (__j1l, __y1l): Likewise.
10986 * math/w_jnl.c (__jnl, __ynl): Likewise.
10987 * math/w_lgammal.c (__lgammal): Likewise.
10988 * math/w_log10l.c (__log10l): Likewise.
10989 * math/w_log2l.c (__log2l): Likewise.
10990 * math/w_logl.c (__logl): Likewise.
10991 * math/w_powl.c (__powl): Likewise.
10992 * math/w_remainderl.c (__remainderl): Likewise.
10993 * math/w_scalbl.c (sysv_scalbl): Likewise.
10994 * math/w_sinhl.c (__sinhl): Likewise.
10995 * math/w_sqrtl.c (__sqrtl): Likewise.
10996 * math/w_tgammal.c (__tgammal): Likewise.
10997 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
10998 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
10999 * math/libm-test.inc (acos_test): Add more tests.
11000 (acosh_test): Likewise.
11001 (asin_test): Likewise.
11002 (atanh_test): Likewise.
11003 (exp_test): Likewise.
11004 (exp10_test): Likewise.
11005 (exp2_test): Likewise.
11006 (expm1_test): Likewise.
11007 (lgamma_test): Likewise.
11008 (log_test): Likewise.
11009 (log10_test): Likewise.
11010 (log1p_test): Likewise.
11011 (log2_test): Likewise.
11012 (pow_test): Do not allow some spurious overflow exceptions.
11013 (sqrt_test): Add more tests.
11014 (tgamma_test): Likewise.
11015 (y0_test): Likewise.
11016 (y1_test): Likewise.
11017 (yn_test): Likewise.
11019 2012-03-27 Anton Blanchard <anton@samba.org>
11021 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
11023 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11024 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11025 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11027 2012-03-27 David S. Miller <davem@davemloft.net>
11029 * conform/Makefile: Run run-conformtest.sh using $(BASH).
11031 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
11032 have-as-vis3 check.
11034 2012-03-27 Andreas Jaeger <aj@suse.de>
11036 * sysdeps/x86_64/elf/configure.in: Moved to ...
11037 * sysdeps/x86_64/configure.in: ... here.
11038 * sysdeps/x86_64/elf/start.S: Moved to ...
11039 * sysdeps/x86_64/start.S: ... here.
11040 * sysdeps/x86_64/elf/configure: Delete.
11042 * sysdeps/x86_64/configure.in: Merge contents from
11043 sysdeps/i386/configure.in (without i686 check).
11045 * sysdeps/i386/elf/Versions: Merge into ...
11046 * sysdeps/i386/Versions: ... this.
11047 * sysdeps/i386/elf/Versions: Delete file.
11048 * sysdeps/i386/elf/start.S: Moved to ...
11049 * sysdeps/i386/start.S: ...here.
11050 * sysdeps/i386/elf/configure.in: Merge into...
11051 * sysdeps/i386/configure.in: ...here.
11052 * sysdeps/i386/elf/configure.in: Delete file.
11053 * sysdeps/i386/elf/configure: Delete file.
11055 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
11056 * debug/backtracesyms.c: ... here.
11057 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
11058 * debug/backtracesymsfd.c: ... here.
11059 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
11060 * sysdeps/generic/ifunc-sel.h: ... here.
11062 * sysdeps/unix/i386/start.c: Delete file.
11063 * sysdeps/unix/sparc/start.c: Delete file.
11064 * sysdeps/unix/start.c: Delete file.
11066 * sysdeps/sh/elf/configure.in: Moved to ...
11067 * sysdeps/sh/configure.in: ... here.
11068 * sysdeps/sh/elf/start.S: Moved to ...
11069 * sysdeps/sh/start.S: ... here.
11070 * sysdeps/sh/elf/configure: Delete file.
11072 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
11073 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
11074 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
11075 * sysdeps/powerpc/powerpc64/entry.h: ... here.
11076 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
11077 * sysdeps/powerpc/powerpc64/start.S: here.
11078 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
11079 * sysdeps/powerpc/powerpc64/Makefile: ... this.
11080 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
11081 * sysdeps/powerpc/powerpc64/configure.in: ... this.
11082 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
11084 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
11085 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
11086 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
11087 * sysdeps/powerpc/powerpc32/start.S: ... here.
11088 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
11089 * sysdeps/powerpc/powerpc32/configure.in: ... this.
11090 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
11092 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
11093 * sysdeps/powerpc/ifunc-sel.h: ... here.
11094 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
11095 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
11097 * sysdeps/sparc/elf/configure.in: Moved to ...
11098 * sysdeps/sparc/configure.in: ... here.
11099 * sysdeps/sparc/elf/configure: Delete file.
11100 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
11101 * sysdeps/sparc/sparc32/start.S: ... here.
11102 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
11103 * sysdeps/sparc/sparc64/start.S: ... here.
11104 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
11105 * sysdeps/sparc/sparc32/Makefile: ... this.
11106 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
11107 * sysdeps/sparc/sparc64/Makefile: ... this.
11109 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
11110 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
11111 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
11112 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
11113 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
11114 * sysdeps/s390/s390-32/setjmp.S: ... here.
11115 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
11116 * sysdeps/s390/s390-32/configure.in: ... here.
11117 * sysdeps/s390/s390-32/elf/configure: Delete file.
11118 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
11119 * sysdeps/s390/s390-32/start.S: ... here.
11121 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
11122 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
11123 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
11124 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
11125 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
11126 * sysdeps/s390/s390-64/setjmp.S: ... here.
11127 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
11128 * sysdeps/s390/s390-64/configure.in: ... here
11129 * sysdeps/s390/s390-64/elf/configure: Delete file.
11130 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
11131 * sysdeps/s390/s390-64/start.S: ... here.
11132 * sysdeps/s390/s390-64/elf/configure: Delete.
11134 * configure.in: Remove support for elf directories in sysdeps.
11136 * configure: Regenerated.
11137 * sysdeps/i386/configure: Regenerated.
11138 * sysdeps/powerpc/powerpc32/configure: Regenerated.
11139 * sysdeps/powerpc/powerpc64/configure: Regenerated.
11140 * sysdeps/s390/s390-32/configure: Regenerated.
11141 * sysdeps/s390/s390-64/configure: Regenerated.
11142 * sysdeps/sh/configure: Regenerated.
11143 * sysdeps/sparc/configure: Regenerated.
11144 * sysdeps/x86_64/configure: Regenerated.
11146 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
11148 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11150 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
11151 denormal result into account.
11153 2012-03-25 Roland McGrath <roland@hack.frob.com>
11155 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
11156 Reported by Allan McRae <allan@archlinux.org>.
11158 2012-03-23 Jeff Law <law@redhat.com>
11160 * nss/getnssent.c (__nss_getent): Fix typo.
11162 2012-03-23 David S. Miller <davem@davemloft.net>
11164 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11166 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
11168 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
11169 to pad to uint64_t for each field.
11170 (dl_tls_index): Replace unsigned long with uint64_t.
11172 2012-03-23 Daniel Jacobowitz <dmj@google.com>
11173 Paul Pluzhnikov <ppluzhnikov@google.com>
11176 * grp/Makefile (otherlibs): Don't set it.
11177 * inet/Makefile (otherlibs): Likewise.
11178 * login/Makefile (otherlibs): Likewise.
11179 * nscd/Makefile (otherlibs): Likewise.
11180 * posix/Makefile (otherlibs): Likewise.
11181 * pwd/Makefile (otherlibs): Likewise.
11182 * rt/Makefile (otherlibs): Likewise.
11183 * sunrpc/Makefile (otherlibs): Likewise.
11184 * nss/Makefile (otherlibs): Likewise.
11185 Add libnss_files to routines and static-only-routines.
11186 ($(objpfx)getent): Remove rule.
11187 * resolv/Makefile: Add libnss_dns and libresolv to routines and
11188 static-only-routines.
11190 2012-03-22 Joseph Myers <joseph@codesourcery.com>
11193 * math/s_cexp.c: Include <float.h>.
11194 (__cexp): Handle exp result overflowing not necessarily
11195 overflowing both real and imaginary parts of result.
11196 * math/s_cexpf.c: Likewise.
11197 * math/s_cexpl.c: Likewise.
11198 * math/libm-test.inc (cexp_test): Add more tests.
11199 * sysdeps/i386/fpu/libm-test-ulps: Update.
11200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11202 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11204 * include/link.h (ELFW): New macro.
11205 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
11206 Replace ELF64_R_TYPE with ELFW(R_TYPE).
11208 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11210 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
11213 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11215 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
11217 (struct La_x32_retval): Likewise.
11219 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11221 * sysdeps/x86_64/preconfigure.in: New file.
11222 * sysdeps/x86_64/preconfigure: New generated file.
11224 2012-03-22 Joseph Myers <joseph@codesourcery.com>
11227 * math/e_exp2l.c: Include <float.h>.
11228 (__ieee754_exp2l): Handle overflow and underflow cases
11229 separately. Only pass fractional part of argument to
11231 * math/libm-test.inc (exp2_test): Add more tests.
11233 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
11234 negating x to take absolute value.
11235 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
11237 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11238 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
11240 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
11241 computing low part if x was negated.
11242 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11244 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11246 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
11247 la_x32_gnu_pltexit.
11248 (pltexit): Cast int_retval to ptrdiff_t.
11249 * elf/tst-auditmod3b.c: Likewise.
11250 * elf/tst-auditmod4b.c: Likewise.
11251 * elf/tst-auditmod5b.c: Likewise.
11252 * elf/tst-auditmod6b.c: Likewise.
11253 * elf/tst-auditmod6c.c: Likewise.
11254 * elf/tst-auditmod7b.c: Likewise.
11256 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
11257 and x32_gnu_pltexit.
11259 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
11260 __ELF_NATIVE_CLASS.
11261 (La_x32_regs): New macro.
11262 (La_x32_retval): Likewise.
11263 (la_x32_gnu_pltenter): New function prototype.
11264 (la_x32_gnu_pltexit): Likewise.
11266 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
11268 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
11271 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11273 * configure.in (libc_cv_cc_nofma): Check for option to disable
11274 generation of FMA instructions.
11275 * configure: Regenerate.
11276 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
11277 * sysdeps/ieee754/dbl-64/Makefile: New file.
11278 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
11279 Remove brandred-fma4.
11280 (CFLAGS-brandred-fma4.c): Remove.
11281 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
11282 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
11284 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
11287 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11289 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
11290 LLONG_MAX != LONG_MAX.
11291 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11292 (_fitoa_word): Likewise.
11293 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
11294 LLONG_MAX != LONG_MAX.
11295 * stdio-common/_itowa.h: Include <_itoa.h>.
11296 (_itowa_word): Use _ITOA_WORD_TYPE on value.
11297 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
11298 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
11299 only if not defined.
11300 (_ITOA_WORD_TYPE): Likewise.
11301 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11302 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
11304 2012-03-21 David S. Miller <davem@davemloft.net>
11306 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11308 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11310 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
11311 of x86_64 when setting libc_cv_slibdir, libdir and
11313 * sysdeps/unix/sysv/linux/configure: Regenerated.
11315 2012-03-21 Joseph Myers <joseph@codesourcery.com>
11317 * manual/lang.texi (Old Varargs): Remove section.
11318 (How Variadic): Update menu.
11319 (va_start): Do not mention varargs.h.
11321 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
11322 Joseph Myers <joseph@codesourcery.com>
11324 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
11326 * configure: Regenerated.
11328 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
11330 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
11331 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
11334 2012-03-21 Joseph Myers <joseph@codesourcery.com>
11337 * Makefile (files-for-dist): Remove NOTES.
11338 (NOTES): Remove rule.
11339 * README: Don't refer to NOTES.
11340 * manual/creature.texi: Don't include macros.texi.
11341 * manual/intro.texi (creature.texi): Remove comment referring to
11344 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
11345 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
11346 * configure: Regenerated.
11347 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
11348 LIBC_TRY_CC_OPTION.
11349 (libc_cv_as_i686): Likewise.
11350 (libc_cv_cc_avx): Likewise.
11351 (libc_cv_cc_sse2avx): Likewise.
11352 (libc_cv_cc_fma4): Likewise.
11353 (libc_cv_cc_novzeroupper): Likewise.
11354 * sysdeps/i386/configure: Regenerated.
11357 * sysdeps/i386/fpu/s_cexp.S: Remove.
11358 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11359 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11360 * math/libm-test.inc (cexp_test): Add more tests.
11361 * sysdeps/i386/fpu/libm-test-ulps: Update.
11362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11364 2012-03-21 Allan McRae <allan@archlinux.org>
11366 * timezone/Makefile: Do not install iso3166.tab and zone.tab
11368 2012-03-21 Joseph Myers <joseph@codesourcery.com>
11371 * math/w_exp2.c: Do not include <float.h>.
11372 (o_threshold, u_threshold): Remove.
11373 (__exp2): Calculate result before checking finiteness and calling
11375 * math/w_exp2f.c: Likewise.
11376 * math/w_exp2l.c: Likewise.
11377 * math/libm-test.inc (exp2_test): Require overflow exception for
11381 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
11382 range of signed 64-bit integers before using fistpll. Remove
11383 checks for whether integers fit in mantissa bits.
11384 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
11385 the range of signed 32-bit integers before using fistpl. Remove
11386 checks for whether integers fit in mantissa bits.
11387 * sysdeps/i386/fpu/e_powl.S (p64): New object.
11388 (__ieee754_powl): Test for y outside the range of signed 64-bit
11389 integers before using fistpll. Reduce 64-bit values to 63-bit
11391 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
11392 divide-by-zero is raised for zero to large negative powers.
11393 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
11394 (__ieee754_powl): Test for y outside the range of signed 64-bit
11395 integers before using fistpll. Reduce 64-bit values to 63-bit
11397 * math/libm-test.inc (pow_test): Add more tests.
11399 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11401 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
11402 <stdio-common/_itoa.h>.
11403 * debug/segfault.c: Likewise.
11404 * elf/dl-cache.c: Likewise.
11405 * elf/dl-minimal.c: Likewise.
11406 * elf/dl-misc.c: Likewise.
11407 * elf/dl-sysdep.c: Likewise.
11408 * elf/dl-version.c: Likewise.
11409 * elf/rtld.c: Likewise.
11410 * hurd/hurdsock.c: Likewise.
11411 * hurd/lookup-retry.c: Likewise.
11412 * malloc/malloc.c: Likewise.
11413 * malloc/mtrace.c: Likewise.
11414 * nscd/nscd_getgr_r.c: Likewise.
11415 * nscd/nscd_getpw_r.c: Likewise.
11416 * nscd/nscd_getserv_r.c: Likewise.
11417 * posix/getopt_init.c: Likewise.
11418 * posix/wordexp.c: Likewise.
11419 * stdio-common/_itoa.c: Likewise.
11420 * stdio-common/printf_fphex.c: Likewise.
11421 * stdio-common/vfprintf.c: Likewise.
11422 * string/_strerror.c: Likewise.
11423 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
11424 * sysdeps/i386/i686/hp-timing.h: Likewise.
11425 * sysdeps/mach/_strerror.c: Likewise.
11426 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
11427 * sysdeps/mach/hurd/sethostid.c: Likewise.
11428 * sysdeps/mach/hurd/xmknodat.c: Likewise.
11429 * sysdeps/mach/xpg-strerror.c: Likewise.
11430 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11431 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11432 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
11433 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
11434 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11435 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
11436 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
11437 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
11438 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
11439 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
11440 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
11441 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11442 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
11443 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
11444 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
11445 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
11446 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
11447 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
11448 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
11449 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
11450 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
11452 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
11454 * stdio-common/_itoa.h: Moved to ...
11455 * sysdeps/generic/_itoa.h: Here.
11457 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
11459 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
11460 instead of "_itoa.h" and "_itowa.h".
11461 * stdio-common/vfprintf.: Likewise.
11463 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11465 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
11467 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
11468 (__signbit): Likwise.
11469 (llrintf): Likwise.
11472 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11474 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
11477 2012-03-20 Joseph Myers <joseph@codesourcery.com>
11479 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
11480 OVERFLOW_EXCEPTION_OK.
11481 * math/libm-test.inc ("Philosophy"): Update comment about
11483 (OVERFLOW_EXCEPTION): Define.
11484 (OVERFLOW_EXCEPTION_OK): Likewise.
11485 (INVALID_EXCEPTION_OK): Renumber.
11486 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11487 (IGNORE_ZERO_INF_SIGN): Likewise.
11488 (test_exceptions): Handle FE_OVERFLOW.
11489 (exp10_test): Expect overflow exceptions.
11490 (exp2_test): Likewise.
11491 (expm1_test): Likewise.
11492 (nextafter_test): Likewise.
11493 (pow_test): Likewise.
11494 (scalbn_test): Likewise.
11495 (scalbln_test): Likewise.
11497 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11499 * sysdeps/x86_64/bits/atomic.h
11500 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
11502 (atomic_exchange_acq): Likewise.
11503 (__arch_exchange_and_add_body): Likewise.
11504 (__arch_add_body): Likewise.
11505 (atomic_add_negative): Likewise.
11506 (atomic_add_zero): Likewise.
11508 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11510 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
11511 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
11513 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11515 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
11516 Check __x86_64__ instead of __WORDSIZE.
11518 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11520 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
11522 2012-03-19 David S. Miller <davem@davemloft.net>
11524 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11526 * sysdeps/sparc/fpu/fenv_private.h: New file.
11527 * sysdeps/sparc/fpu/math_private.h: Use it.
11528 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
11530 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
11531 (libc_feholdexcept_setroundl): Remove.
11532 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
11534 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
11535 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
11537 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11539 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
11540 int64_t instead of long int.
11541 (INSERT_WORDS64): Likwise.
11543 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11545 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
11546 _Unwind_GetCFA return to _Unwind_Ptr first.
11548 2012-03-19 Joseph Myers <joseph@codesourcery.com>
11551 * math/s_clog.c: Include <float.h>.
11552 (__clog): Scale large or subnormal inputs.
11553 * math/s_clogf.c: Likewise.
11554 * math/s_clogl.c: Likewise.
11555 * math/s_clog10.c: Include <float.h>.
11556 (M_LOG10_2): Define.
11557 (__clog10): Scale large or subnormal inputs.
11558 * math/s_clog10f.c: Likewise.
11559 * math/s_clog10l.c: Likewise.
11560 * math/libm-test.inc (clog_test): Add more tests.
11561 (clog10_test): Likewise.
11562 * sysdeps/i386/fpu/libm-test-ulps: Update.
11563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11566 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
11568 * math/libm-test.inc (atan2_test): Add another test.
11570 * Makerules (common-objdir-compile): Remove.
11571 * sysdeps/unix/Makefile (config-generated): Do not add
11572 $(unix-generated) to variable.
11573 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
11574 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
11576 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
11578 [generic bits/local_lim.h] (before-compile): Do not append to
11580 [generic bits/local_lim.h] (common-generated): Likewise.
11581 [generic sys/param.h] (before-compile): Do not append to variable.
11582 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
11583 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
11584 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
11585 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
11587 [generic sys/param.h] (sys/param.h-includes): Remove variable.
11588 [generic sys/param.h] (sys/param.h-includes): Remove rule.
11589 [generic sys/param.h] ($(addprefix
11590 $(common-objpfx),$(sys/param.h-includes))): Likewise.
11591 [generic sys/param.h] (common-generated): Do not append to
11593 [generic sys/param.h] (sysdep_headers): Likewise.
11594 [generic bits/errno.h] (before-compile): Do not append to
11596 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
11598 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
11599 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
11600 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
11601 [generic bits/errno.h] (common-generated): Do not append to
11603 [generic bits/ioctls.h] (before-compile): Do not append to
11605 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
11607 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
11608 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
11609 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
11611 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
11612 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
11613 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
11614 [generic bits/ioctls.h] (common-generated): Do not append to
11616 [generic sys/syscall.h] (syscall.h): Remove variable.
11617 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
11619 [generic sys/syscall.h] (before-compile): Do not append to
11621 [generic sys/syscall.h] (common-generated): Likewise.
11622 * sysdeps/unix/errnos-tmpl.c: Remove file.
11623 * sysdeps/unix/errnos.awk: Likewise.
11624 * sysdeps/unix/ioctls-tmpl.c: Likewise.
11625 * sysdeps/unix/ioctls.awk: Likewise.
11626 * sysdeps/unix/mk-local_lim.c: Likewise.
11627 * sysdeps/unix/snarf-ioctls: Likewise.
11629 2012-03-19 Richard Henderson <rth@twiddle.net>
11631 * sysdeps/i386/fpu/fenv_private.h: New file.
11632 * sysdeps/i386/fpu/math_private.h: Use it.
11633 (math_opt_barrier, math_force_eval): Remove.
11634 (libc_feholdexcept_setround_53bit): Remove.
11635 (libc_feupdateenv_53bit): Remove.
11636 * sysdeps/x86_64/fpu/math_private.h: Likewise.
11637 (math_opt_barrier, math_force_eval): Remove.
11638 (libc_feholdexcept): Remove.
11639 (libc_feholdexcept_setround): Remove.
11640 (libc_fetestexcept, libc_fesetenv): Remove.
11641 (libc_feupdateenv_test): Remove.
11642 (libc_feupdateenv, libc_feholdsetround): Remove.
11643 (libc_feresetround): Remove.
11645 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
11646 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
11648 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
11649 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
11650 (libc_feupdateenv_testl): New.
11651 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
11652 (libc_feupdateenv_testf): New.
11653 (libc_feupdateenv): Use libc_feupdateenv_test.
11654 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
11655 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
11657 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
11658 (libc_feholdsetroundf, libc_feholdsetroundl): New.
11659 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
11660 (libc_feresetround_noex): New.
11661 (libc_feresetround_noexf): New.
11662 (libc_feresetround_noexl): New.
11663 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
11664 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
11665 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
11666 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
11668 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11669 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
11671 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
11672 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
11673 SET_RESTORE_ROUND_NOEX.
11674 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
11675 SET_RESTORE_ROUND_NOEXF.
11676 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
11677 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
11678 (libc_feholdsetroundf): New.
11679 (libc_feresetround, libc_feresetroundf): New.
11681 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
11682 (libc_feholdexcept_setround_53bit): Convert from macro to function.
11683 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
11685 * sysdeps/generic/math_private.h: Include <fenv.h>.
11686 (default_libc_feholdexcept): New.
11687 (default_libc_feholdexcept_setround): New.
11688 (default_libc_fesetenv, default_libc_feupdateenv): New.
11689 (libc_feholdexcept): Only define if undefined.
11690 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
11691 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
11692 (libc_feholdexcept_setroundl): Likewise.
11693 (libc_feholdexcept_setround_53bit): Likewise.
11694 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
11695 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
11696 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
11697 (libc_feupdateenv_53bit): Likewise.
11698 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
11699 (libc_feholdexcept): Convert from macro to inline function.
11700 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
11701 (libc_fesetenv, libc_feupdateenv): Likewise.
11703 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
11704 not previously defined.
11705 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
11706 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
11707 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
11708 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
11709 * sysdeps/ieee754/flt-32/math_private.h: New file.
11710 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
11711 math_private.h below SET_FLOAT_WORD.
11712 (__isnan, __isinf_ns, __finite): Remove.
11713 (__isnanf, __isinf_nsf, __finitef): Remove.
11715 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
11717 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11719 2012-03-17 David S. Miller <davem@davemloft.net>
11722 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
11725 2012-03-16 David S. Miller <davem@davemloft.net>
11727 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
11731 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
11733 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
11734 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
11735 sysdep_routines when subdir is sysvipc.
11736 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
11737 __getshmlba helper.
11739 * sysdeps/sparc/fpu/libm-test/ulps: Update.
11741 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
11743 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
11746 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
11748 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
11749 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
11750 (__lround): Renamed to ...
11751 (__llround): This. Replace long int with long long int.
11752 Define lround functions as aliases of llround functions.
11753 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
11755 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
11757 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
11758 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
11759 adresses to uintptr_t. Replace "long int" and "unsigned long
11760 int" with "greg_t" on va_arg.
11762 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
11764 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
11765 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
11767 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
11768 Move e_machine check before EI_CLASS check. Handle x32
11769 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
11770 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
11771 SKIP_EM_IA_64 and include
11772 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
11774 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
11775 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
11776 (add_system_dir): New macro.
11778 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
11779 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
11781 2012-03-16 Joseph Myers <joseph@codesourcery.com>
11792 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
11794 * math/w_j0f.c (j0f): Likewise.
11796 * math/w_j0l.c (__j0l): Likewise.
11798 * math/w_j1.c (j1): Likewise.
11800 * math/w_j1f.c (j1f): Likewise.
11802 * math/w_j1l.c (__j1l): Likewise.
11804 * math/w_jn.c (jn): Likewise.
11806 * math/w_jnf.c (jnf): Likewise.
11808 * math/w_jnl.c (__jnl): Likewise.
11810 * math/libm-test.inc (j0_test): Add more tests.
11811 (j1_test): Likewise.
11812 (jn_test): Likewise. Add trailing semicolon to existing test.
11813 (y0_test): Likewise.
11814 (y1_test): Likewise.
11815 * sysdeps/i386/fpu/libm-test-ulps: Update.
11816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11820 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
11821 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
11822 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
11823 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
11824 (__tanl): Set errno for infinite argument.
11825 * sysdeps/i386/fpu/mptan.c: Remove.
11826 * sysdeps/i386/fpu/s_tan.S: Likewise.
11827 * sysdeps/i386/fpu/s_tanl.S: Likewise.
11828 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
11829 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
11830 * math/libm-test.inc (tan_test): Add more tests and enable more
11831 tests for double and long double.
11832 * sysdeps/i386/fpu/libm-test-ulps: Update.
11833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11835 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11837 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
11838 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
11840 2012-03-16 Roland McGrath <roland@hack.frob.com>
11842 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
11843 * configure.in: Use it for both main tree and add-ons.
11844 * configure: Regenerated.
11846 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
11848 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
11850 2012-03-16 Joseph Myers <joseph@codesourcery.com>
11852 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
11856 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
11857 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
11858 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
11859 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
11860 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
11862 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
11863 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
11864 != 0 for prec == 2.
11865 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
11866 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
11867 * sysdeps/i386/fpu/s_cosl.S: Likewise.
11868 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
11869 * sysdeps/i386/fpu/s_sinl.S: Likewise.
11870 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
11871 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
11872 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
11873 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
11874 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
11875 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
11876 * math/libm-test.inc (cos_test): Add more tests and enable more
11877 tests for long double.
11878 (sin_test): Likewise.
11879 (sincos_test): Likewise.
11880 * sysdeps/i386/fpu/libm-test-ulps: Update.
11881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11883 2012-03-16 David S. Miller <davem@davemloft.net>
11885 * sysdeps/sparc/fpu/math_private.h: New file.
11887 2012-03-15 David S. Miller <davem@davemloft.net>
11889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
11891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
11892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
11894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
11895 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
11896 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
11897 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
11898 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
11899 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
11901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
11903 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
11904 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
11906 * sysdeps/sparc/sparc-ifunc.h: New file.
11907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
11909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
11910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
11912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
11914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
11915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
11916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
11919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
11920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
11921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
11922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
11923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
11925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
11927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
11928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
11929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
11930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
11931 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
11932 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
11933 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
11934 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
11935 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
11936 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
11937 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
11938 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
11939 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
11940 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
11941 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
11942 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
11943 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
11944 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
11945 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
11946 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
11947 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
11948 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
11949 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
11950 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
11952 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
11954 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
11956 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11958 2012-03-15 Andreas Jaeger <aj@suse.de>
11961 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
11962 ieee754/flt-32 implementation for sin, cos and sincos.
11963 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
11964 * sysdeps/i386/fpu/s_cosf.S: Likewise.
11965 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
11966 * sysdeps/i386/fpu/s_sinf.S: Likewise.
11967 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
11968 ieee754/flt-32 implementation for tan.
11970 * math/libm-test.inc (cos_test): Enable some large input tests for
11972 (sin_test): Likewise.
11973 (sincos_test): Likewise.
11974 (tan_test): Add tests for large input.
11976 * sysdeps/i386/fpu/libm-test-ulps: Update.
11978 2012-03-15 Andreas Jaeger <aj@suse.de>
11981 * math/libm-test.inc (cos_test): Add more test cases.
11982 (sin_test): Likewise.
11983 (sincos_test): Likewise.
11985 2012-03-15 Andreas Jaeger <aj@suse.de>
11988 * math/libm-test.inc (cos_test): Add a test case for large input
11990 (sin_test): Likewise.
11991 (sincos_test): Likewise.
11993 2012-03-15 Andreas Jaeger <aj@suse.de>,
11994 Joseph Myers <joseph@codesourcery.com>
11997 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
11998 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
11999 * sysdeps/i386/fpu/branred.c: Likewise.
12000 * sysdeps/i386/fpu/dosincos.c: Likewise.
12001 * sysdeps/i386/fpu/mpa.c: Likewise.
12002 * sysdeps/i386/fpu/s_cos.S: Likewise.
12003 * sysdeps/i386/fpu/s_sin.S: Likewise.
12004 * sysdeps/i386/fpu/s_sincos.S: Likewise.
12005 * sysdeps/i386/fpu/sincos32.c: Likewise.
12007 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
12009 (libc_feupdateenv_53bit): Define.
12010 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
12012 (libc_feupdateenv_53bit): Define.
12014 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
12015 53 bit (without extend i386 double precision).
12017 * math/libm-test.inc (sincos_test): Add tests for large input.
12021 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12023 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12025 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12027 2012-03-15 David S. Miller <davem@davemloft.net>
12029 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
12030 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
12031 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
12032 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
12033 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
12034 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
12035 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
12036 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
12037 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
12038 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
12039 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
12040 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
12041 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
12042 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
12043 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
12044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
12046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
12047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
12049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
12050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
12052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
12053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
12055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
12056 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
12057 fmin/fmax sysdep routines.
12058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12060 2012-03-14 David S. Miller <davem@davemloft.net>
12062 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
12063 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
12064 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
12065 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
12066 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
12067 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
12068 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
12069 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
12070 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
12071 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
12072 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
12073 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
12074 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
12075 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
12076 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
12077 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
12078 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
12079 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
12080 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
12081 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
12082 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
12083 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
12084 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
12085 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
12086 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
12087 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
12088 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
12089 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
12090 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
12092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
12094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
12095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
12097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
12098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
12100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
12101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
12103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
12104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
12106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
12107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
12109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
12111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
12113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
12115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
12117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
12119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
12121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
12122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
12124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
12125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
12127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
12128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
12130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
12131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
12134 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
12137 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12139 * sysdeps/sparc/configure.in: New file.
12140 * sysdeps/sparc/configure: Generate.
12141 * configure.in (libc_cv_sparc_as_vis3): Substitute.
12142 * configure: Regenerate.
12143 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
12144 * config.make.in (have-as-vis3): New.
12145 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
12146 available use -Av9d instead of -Av9a.
12147 * sysdeps/sparc/sparc64/Makefile: Likewise.
12148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
12149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
12151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
12153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
12155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
12157 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
12158 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
12159 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
12160 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
12161 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
12163 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
12164 fzeros/fnegs to load 0x80000000 into a float register instead of
12166 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
12168 2012-03-14 Joseph Myers <joseph@codesourcery.com>
12170 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12172 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
12173 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
12174 ($(inst_includedir)/bits/syscall.h): Remove rule.
12175 ($(objpfx)bits/syscall.d): Include instead of
12176 $(objpfx)syscall-list.d.
12177 (generated): Change syscall-list.h and syscall-list.d to
12178 bits/syscall.h and bits/syscall.d.
12180 2012-03-14 Roland McGrath <roland@hack.frob.com>
12183 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
12185 2012-03-14 Joseph Myers <joseph@codesourcery.com>
12188 * math/s_csqrt.c: Include <float.h>.
12189 (__csqrt): Scale large or subnormal inputs.
12190 * math/s_csqrtf.c: Likewise.
12191 * math/s_csqrtl.c: Likewise.
12192 * math/libm-test.inc (csqrt_test): Add more tests.
12193 * sysdeps/i386/fpu/libm-test-ulps: Update.
12194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12197 * math/libm-test.inc (hypot_test): Add more tests.
12199 2012-03-13 David S. Miller <davem@davemloft.net>
12202 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
12203 double-precision for the calculation instead of scaling.
12205 2012-03-13 Joseph Myers <joseph@codesourcery.com>
12207 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
12208 manipulate bits before adding and subtracting TWO52[sx].
12209 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
12210 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
12212 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
12214 2012-03-13 David S. Miller <davem@davemloft.net>
12216 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
12217 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
12218 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
12219 rtld-global-offsets.h
12220 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12222 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
12225 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
12227 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
12228 'err' in the ifdef scope in which it is actually used.
12230 * nss/nss_db/db-init.c: Include string.h
12232 2012-03-12 David S. Miller <davem@davemloft.net>
12234 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
12235 masking out of the most significant byte of random value used.
12236 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12237 Fix coding style in previous change.
12239 * sysdeps/unix/sysv/linux/kernel-features.h
12240 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
12241 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
12243 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
12246 2012-03-11 David S. Miller <davem@davemloft.net>
12248 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
12249 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
12250 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
12251 for 'resultvar' otherwise things get truncated on 64-bit.
12253 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12254 Fix masking out of the most significant byte of random value used.
12256 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12258 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
12260 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12262 2012-03-09 David S. Miller <davem@davemloft.net>
12264 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
12265 variables with appropriate CPP guards.
12266 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
12267 frame pointer, not the stack pointer. Correct layout comments. Fix test
12268 on resulting framesize and the management of the outregs buffer for pltexit.
12269 Preserve floating point return values across _dl_call_pltexit call.
12270 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
12271 framesize and the management of the outregs buffer for pltexit.
12272 Preserve floating point return values across _dl_call_pltexit
12274 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
12275 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
12276 (print_exit): Fix format string for return register value.
12278 2012-03-10 Joseph Myers <joseph@codesourcery.com>
12280 * sunrpc/Makefile (others): Add rpcgen.
12281 ($(objpfx)rpcgen): Remove special build rule and dependency on
12283 * sunrpc/rpcgen.c: New file.
12285 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
12288 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
12289 * stdio-common/bug-vfprintf-nargs.c: Likewise.
12290 * sysdeps/i386/crti.S: Likewise.
12291 * sysdeps/i386/crtn.S: Likewise.
12292 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
12293 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
12294 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
12295 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
12296 * sysdeps/sh/crti.S: Likewise.
12297 * sysdeps/sh/crtn.S: Likewise.
12298 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
12301 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
12303 * locale/programs/locfile-kw.gperf: Likewise.
12304 * locale/programs/charmap-kw.h: Regenerated.
12305 * locale/programs/locfile-kw.h: Likewise.
12308 * intl/plural.y: Replace FSF snail mail address with URL.
12309 * intl/plural.c: Regenerated.
12311 2012-03-09 Richard Henderson <rth@twiddle.net>
12313 * include/math_private.h: Remove file.
12314 * math/math_private.h: Move file ...
12315 * sysdeps/generic/math_private.h: ... here.
12317 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
12318 * sysdeps/powerpc/fpu/math_private.h: Likewise.
12319 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12321 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
12322 and <math_private.h>.
12323 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
12324 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
12325 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12326 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12327 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12328 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
12329 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12330 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12331 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12332 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12333 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12334 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12335 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12336 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12337 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12338 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12339 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12340 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12341 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12342 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12343 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12344 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12345 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12346 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12347 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12348 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12349 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12350 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12351 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12352 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12353 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12354 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12355 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12356 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12357 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12358 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12359 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12360 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12361 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12362 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12363 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
12364 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12365 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
12366 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12367 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12368 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12369 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12370 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12371 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12372 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12373 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12374 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
12375 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12376 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12377 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12378 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12379 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12380 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12381 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12382 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
12383 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12384 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12385 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12386 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12387 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
12388 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12389 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12390 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12391 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
12392 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
12393 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
12394 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12395 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
12396 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12397 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
12398 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
12399 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
12400 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12401 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
12402 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
12403 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
12404 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
12405 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
12406 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12407 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12408 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
12409 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
12410 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
12411 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
12412 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12413 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12414 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
12415 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12416 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12417 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
12418 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
12419 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12420 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12421 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12422 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12423 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
12424 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
12425 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
12426 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
12427 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12428 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
12429 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12430 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
12431 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12432 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12433 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12434 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12435 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12436 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12437 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
12438 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12439 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12440 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12441 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12442 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12443 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12444 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12445 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12446 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
12447 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12448 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12449 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
12450 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
12451 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12452 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12453 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
12454 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12455 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12456 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12457 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
12458 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12459 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12460 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12461 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
12462 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12463 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12464 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12465 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12466 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
12467 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
12468 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12469 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12470 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12471 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
12472 * sysdeps/ieee754/k_standard.c: Likewise.
12473 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
12474 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12475 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12476 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12477 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12478 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12479 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12480 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12481 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12482 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12483 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12484 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12485 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12486 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12487 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12488 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12489 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12490 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12491 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12492 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
12493 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
12494 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
12495 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12496 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12497 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12498 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
12499 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12500 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12501 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12502 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12503 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12504 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12505 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12506 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12507 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12508 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12509 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
12510 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
12511 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
12512 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12513 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12514 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12515 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12516 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12517 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12518 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12519 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12520 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12521 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12522 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12523 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12524 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12525 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12526 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
12527 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12528 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12529 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
12530 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
12531 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12532 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12533 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12534 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12535 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12536 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
12537 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12538 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12539 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
12540 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12541 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
12542 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
12543 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12544 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12545 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
12546 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
12547 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
12548 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12549 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
12550 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
12551 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12552 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12553 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12554 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12555 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12556 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12557 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
12558 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12559 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
12560 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
12561 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12562 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12563 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
12564 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
12565 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
12566 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12567 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12568 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
12569 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
12570 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
12571 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
12572 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
12573 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
12574 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12575 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12576 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12577 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
12578 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12579 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12580 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
12581 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
12582 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
12583 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12584 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
12585 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
12586 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12587 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
12588 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12589 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
12590 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12591 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12592 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12593 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12594 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
12595 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12596 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12597 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12598 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
12599 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12600 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12601 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
12602 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12603 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12604 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12605 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12606 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12607 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
12608 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
12609 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
12610 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12611 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12612 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
12613 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
12614 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12615 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
12616 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
12617 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
12618 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12619 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12620 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12621 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12622 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
12623 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12624 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12625 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12626 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12627 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
12628 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
12629 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
12630 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12631 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
12632 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12633 * sysdeps/ieee754/s_lib_version.c: Likewise.
12634 * sysdeps/ieee754/s_matherr.c: Likewise.
12635 * sysdeps/ieee754/s_signgam.c: Likewise.
12636 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12637 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12638 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
12639 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
12640 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
12641 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12642 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
12643 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
12644 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
12645 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
12646 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12647 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
12648 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
12649 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12650 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
12651 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
12652 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12653 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
12654 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12655 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12656 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12658 2012-03-09 Joseph Myers <joseph@codesourcery.com>
12660 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
12661 * sunrpc/rpc_main.c: Likewise.
12662 * sunrpc/rpc_svcout.c: Likewise.
12664 2012-03-09 David S. Miller <davem@davemloft.net>
12666 * include/math_private.h: New file.
12668 2012-03-09 Joseph Myers <joseph@codesourcery.com>
12670 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
12671 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
12672 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
12673 from <bits/socket_type.h>.
12674 (enum __socket_type): Don't define here.
12675 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
12676 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12677 bits/socket_type.h.
12680 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
12681 checking __USE_GNU.
12683 * Makerules ($(inst_includedir)/%.h): New rule.
12684 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
12685 (install-others): Remove variable setting.
12686 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
12688 2012-03-08 Richard Henderson <rth@twiddle.net>
12690 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
12691 from macro to inline function; merge with the
12692 !__LIBC_INTERNAL_MATH_INLINES version.
12693 (__ieee754_sqrtf): Likewise.
12695 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
12696 to inline function.
12697 (__rintf, __floor, __floorf): Likewise.
12699 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
12700 macro to inline function.
12701 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
12703 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
12704 not <math/math_private.h>.
12706 2012-03-08 David S. Miller <davem@davemloft.net>
12708 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
12710 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
12712 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
12714 * resolv/gai_misc.c (handle_requests): Fix struct timespec
12716 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
12717 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
12719 2012-03-08 Ulrich Drepper <drepper@gmail.com>
12721 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
12722 be defined individually, they must be defined as a block. Define
12723 S for printing a string instead of hidint the different by using a
12724 macro for adding the 'l'.
12725 * stdio-common/tst-fphex-wide.c: Adjust.
12727 2012-03-07 Marek Polacek <polacek@redhat.com>
12729 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
12731 2012-03-08 Marek Polacek <polacek@redhat.com>
12734 * stdio-common/Makefile (tests): Add tst-fphex-wide.
12735 * stdio-common/tst-fphex.c: Define a few macros to make the
12736 test reusable. Use them.
12737 * stdio-common/tst-fphex-wide.c: New file.
12739 2012-03-08 Joseph Myers <joseph@codesourcery.com>
12742 * manual/macros.texi (gnusystems): New macro.
12743 (nongnusystems): Likewise.
12744 (gnulinuxhurdsystems): Likewise.
12745 (gnuhurdsystems): Likewise..
12746 (gnulinuxsystems): Likewise.
12747 * manual/charset.texi: Use new macros or @theglibc{} to refer to
12748 variants of the GNU system, not "GNU system".
12749 * manual/conf.texi: Likewise.
12750 * manual/errno.texi: Likewise. Update example of errno macro
12752 * manual/filesys.texi: Likewise.
12753 (getumask): Document as specific to GNU/Hurd.
12754 * manual/install.texi: Likewise. Reword some references to
12756 * manual/intro.texi: Likewise.
12757 * manual/io.texi: Likewise.
12758 (File Name Portability): Detail which constraints are inapplicable
12759 to all GNU systems and which are only inapplicable to GNU/Hurd.
12760 * manual/job.texi: Likewise.
12761 * manual/llio.texi: Likewise.
12762 (O_NOCTTY): Document as present on GNU/Linux.
12763 * manual/maint.texi: Likewise.
12764 * manual/memory.texi: Likewise.
12765 * manual/pattern.texi: Likewise.
12766 * manual/pipe.texi: Likewise.
12767 * manual/process.texi: Likewise.
12768 * manual/resource.texi: Likewise.
12769 (RUSAGE_CHILDREN): Remove statement about specifying a particular
12771 * manual/setjmp.texi: Likewise.
12772 * manual/signal.texi: Likewise.
12773 * manual/startup.texi: Likewise.
12774 * manual/stdio.texi: Likewise.
12775 * manual/terminal.texi: Likewise.
12776 (ONLCR): Document as POSIX.
12777 (OXTABS): Document availability on GNU/Linux as XTABS.
12778 (ONOEOT): Document availability separately from other bits.
12779 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
12780 * manual/time.texi: Likewise.
12781 * manual/users.texi: Likewise.
12782 * INSTALL: Regenerated.
12783 * sysdeps/gnu/errlist.c: Regenerated.
12785 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
12786 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
12787 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
12789 * configure: Regenerated.
12791 2012-03-07 Joseph Myers <joseph@codesourcery.com>
12793 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
12794 default includes instead of AC_HEADER_CHECK.
12795 * sysdeps/i386/configure: Regenerated.
12798 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
12799 * math/s_cacoshf.c (__cacoshf): Likewise.
12800 * math/s_cacoshl.c (__cacoshl): Likewise.
12801 * math/s_casinh.c (__casinh): Set signs of result from argument.
12802 * math/s_casinhf.c (__casinhf): Likewise.
12803 * math/s_casinhl.c (__casinhl): Likewise.
12804 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
12805 (casinh_test): Add more tests.
12806 * sysdeps/i386/fpu/libm-test-ulps: Update.
12807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12809 2012-03-07 Ulrich Drepper <drepper@gmail.com>
12811 * po/zh_TW.po: Update from translation team.
12813 * login/Makefile (distribute): Remove variable.
12814 * catgets/Makefile: Likewise.
12815 * mach/Makefile: Likewise.
12816 * malloc/Makefile: Likewise.
12817 * misc/Makefile: Likewise.
12818 * iconv/Makefile: Likewise.
12819 * nscd/Makefile: Likewise.
12820 * hurd/Makefile: Likewise.
12821 * manual/Makefile: Likewise.
12822 * locale/Makefile: Likewise.
12823 * intl/Makefile: Likewise.
12824 * conform/Makefile: Likewise.
12825 * nss/Makefile: Likewise.
12826 * time/Makefile: Likewise.
12827 * soft-fp/Makefile: Likewise.
12828 * dirent/Makefile: Likewise.
12829 * gmon/Makefile: Likewise.
12830 * po/Makefile: Likewise.
12831 * rt/Makefile: Likewise.
12832 * socket/Makefile: Likewise.
12833 * math/Makefile: Likewise.
12834 * signal/Makefile: Likewise.
12835 * debug/Makefile: Likewise.
12836 * elf/Makefile: Likewise.
12837 * timezone/Makefile: Likewise.
12838 * stdlib/Makefile: Likewise.
12839 * iconvdata/Makefile: Likewise.
12840 * sunrpc/Makefile: Likewise.
12841 * io/Makefile: Likewise.
12842 * argp/Makefile: Likewise.
12843 * inet/Makefile: Likewise.
12844 * hesiod/Makefile: Likewise.
12845 * grp/Makefile: Likewise.
12846 * csu/Makefile: Likewise.
12847 * wctype/Makefile: Likewise.
12848 * crypt/Makefile: Likewise.
12849 * libio/Makefile: Likewise.
12850 * string/Makefile: Likewise.
12851 * nis/Makefile: Likewise.
12852 * resolv/Makefile: Likewise.
12853 * stdio-common/Makefile: Likewise.
12854 * wcsmbs/Makefile: Likewise.
12855 * dlfcn/Makefile: Likewise.
12856 * posix/Makefile: Likewise.
12859 * timezone/Makefile: Don't install timezone files, just the programs
12862 2012-03-06 Ulrich Drepper <drepper@gmail.com>
12864 * nss/databases.def: Add missing gshadow entry.
12866 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
12868 2012-03-06 Marek Polacek <polacek@redhat.com>
12871 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
12872 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
12873 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
12874 * stdio-common/tst-long-dbl-fphex.c: New file.
12876 2012-03-06 David S. Miller <davem@davemloft.net>
12878 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12879 (set_obp_int): New function.
12880 (get_obp_int): New function.
12881 (__get_clockfreq_via_dev_openprom): Likewise.
12882 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
12883 Avoid unused variable warnings on 'val' and use builtin_expect.
12884 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
12886 (INLINE_CLONE_SYSCALL): Likewise.
12888 2012-03-05 David S. Miller <davem@davemloft.net>
12890 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12892 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
12894 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12896 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
12897 only for |x| >= 40.
12898 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12900 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
12902 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
12903 Replace gettimeofday with __vdso_gettimeofday.
12905 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12906 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
12907 __vdso_clock_gettime and __vdso_getcpu.
12909 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
12910 time with __vdso_time.
12912 2012-03-05 Joseph Myers <joseph@codesourcery.com>
12914 * manual/lang.texi (size_t): Note types to which size_t may be
12915 equivalent with the GNU C Library, but do not describe when
12916 differences between them are significant.
12918 2012-03-05 Andreas Jaeger <aj@suse.de>
12920 * sysdeps/i386/fpu/libm-test-ulps: Update.
12922 2012-03-05 Joseph Myers <joseph@codesourcery.com>
12925 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
12926 (__ieee754_pow): Save and restore rounding mode and use
12927 round-to-nearest for main computations.
12928 * math/libm-test.inc (pow_test_tonearest): New function.
12929 (pow_test_towardzero): Likewise.
12930 (pow_test_downward): Likewise.
12931 (pow_test_upward): Likewise.
12932 (main): Call the new functions.
12933 * sysdeps/i386/fpu/libm-test-ulps: Update.
12934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12937 * math/libm-test.inc (cosh_test_tonearest): New function.
12938 (cosh_test_towardzero): Likewise.
12939 (cosh_test_downward): Likewise.
12940 (cosh_test_upward): Likewise.
12941 (sinh_test_tonearest): Likewise.
12942 (sinh_test_towardzero): Likewise.
12943 (sinh_test_downward): Likewise.
12944 (sinh_test_upward): Likewise.
12945 (main): Call the new functions.
12946 * sysdeps/i386/fpu/libm-test-ulps: Update.
12947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12949 2012-03-05 Tom de Vries <tom@codesourcery.com>
12951 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
12952 default stack guard is set in last bytes.
12953 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
12955 2012-03-05 Kees Cook <keescook@chromium.org>
12957 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
12960 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
12961 possibly allocate from heap instead of stack.
12962 * stdio-common/bug-vfprintf-nargs.c: New file.
12963 * stdio-common/Makefile (tests): Add nargs overflow test.
12965 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
12967 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12969 2012-03-03 Marek Polacek <polacek@redhat.com>
12971 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
12972 * math/math_private.h: Likewise.
12973 * stdlib/tst-strtod.c: Likewise.
12974 * sysdeps/i386/i486/bits/atomic.h: Likewise.
12975 * sysdeps/x86_64/bits/atomic.h: Likewise.
12977 2012-03-02 David S. Miller <davem@davemloft.net>
12979 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
12980 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
12981 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
12982 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
12983 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
12984 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
12985 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
12986 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
12988 2012-03-02 Roland McGrath <roland@hack.frob.com>
12991 * manual/examples/README: New file, says the example source files
12992 can be used under GPL>=2.
12993 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
12994 line containing just "*/".
12995 * manual/examples/add.c: Add copyright header (GPL>=2).
12996 * manual/examples/argp-ex1.c: Likewise.
12997 * manual/examples/argp-ex2.c: Likewise.
12998 * manual/examples/argp-ex3.c: Likewise.
12999 * manual/examples/argp-ex4.c: Likewise.
13000 * manual/examples/atexit.c: Likewise.
13001 * manual/examples/db.c: Likewise.
13002 * manual/examples/dir.c: Likewise.
13003 * manual/examples/dir2.c: Likewise.
13004 * manual/examples/execinfo.c: Likewise.
13005 * manual/examples/filecli.c: Likewise.
13006 * manual/examples/filesrv.c: Likewise.
13007 * manual/examples/fmtmsgexpl.c: Likewise.
13008 * manual/examples/genpass.c: Likewise.
13009 * manual/examples/inetcli.c: Likewise.
13010 * manual/examples/inetsrv.c: Likewise.
13011 * manual/examples/isockad.c: Likewise.
13012 * manual/examples/longopt.c: Likewise.
13013 * manual/examples/memopen.c: Likewise.
13014 * manual/examples/memstrm.c: Likewise.
13015 * manual/examples/mkfsock.c: Likewise.
13016 * manual/examples/mkisock.c: Likewise.
13017 * manual/examples/mygetpass.c: Likewise.
13018 * manual/examples/pipe.c: Likewise.
13019 * manual/examples/popen.c: Likewise.
13020 * manual/examples/rprintf.c: Likewise.
13021 * manual/examples/search.c: Likewise.
13022 * manual/examples/select.c: Likewise.
13023 * manual/examples/setjmp.c: Likewise.
13024 * manual/examples/sigh1.c: Likewise.
13025 * manual/examples/sigusr.c: Likewise.
13026 * manual/examples/stpcpy.c: Likewise.
13027 * manual/examples/strdupa.c: Likewise.
13028 * manual/examples/strftim.c: Likewise.
13029 * manual/examples/strncat.c: Likewise.
13030 * manual/examples/subopt.c: Likewise.
13031 * manual/examples/swapcontext.c: Likewise.
13032 * manual/examples/termios.c: Likewise.
13033 * manual/examples/testopt.c: Likewise.
13034 * manual/examples/testpass.c: Likewise.
13035 * manual/examples/timeval_subtract.c: Likewise.
13038 * manual/time.texi (Elapsed Time): Move timeval_subtract example
13040 * manual/timeval_subtract.c.texi: ... here, new file.
13042 2012-03-02 David S. Miller <davem@davemloft.net>
13044 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
13046 2012-03-02 Joseph Myers <joseph@codesourcery.com>
13049 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
13050 (__sin): Save and restore rounding mode and use round-to-nearest
13051 for all computations.
13052 (__cos): Save and restore rounding mode and use round-to-nearest
13053 for all computations.
13054 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
13056 (tan): Save and restore rounding mode and use round-to-nearest for
13058 * math/libm-test.inc (cos_test_tonearest): New function.
13059 (cos_test_towardzero): Likewise.
13060 (cos_test_downward): Likewise.
13061 (cos_test_upward): Likewise.
13062 (sin_test_tonearest): Likewise.
13063 (sin_test_towardzero): Likewise.
13064 (sin_test_downward): Likewise.
13065 (sin_test_upward): Likewise.
13066 (tan_test_tonearest): Likewise.
13067 (tan_test_towardzero): Likewise.
13068 (tan_test_downward): Likewise.
13069 (tan_test_upward): Likewise.
13070 (main): Call the new functions.
13071 * sysdeps/i386/fpu/libm-test-ulps: Update.
13072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13075 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
13076 small n, then large n, before computing and testing k+n.
13077 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13078 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
13080 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
13082 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
13083 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
13084 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
13085 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
13086 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13087 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13088 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
13089 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
13090 * math/libm-test.inc (scalbn_test): Add more tests.
13091 (scalbln_test): Likewise.
13093 * manual/filesys.texi (mode_t): Describe constraints on size and
13094 signedness, not exact equivalence to a particular type.
13096 (ino64_t): Likewise.
13098 (nlink_t): Likewise.
13099 (blkcnt_t): Likewise.
13100 (blkcnt64_t): Likewise.
13101 * manual/llio.texi (off_t): Likewise.
13104 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
13105 (__ieee754_exp): Save and restore rounding mode and use
13106 round-to-nearest for all computations.
13107 * math/libm-test.inc (exp_test_tonearest): New function.
13108 (exp_test_towardzero): Likewise.
13109 (exp_test_downward): Likewise.
13110 (exp_test_upward): Likewise.
13111 (main): Call the new functions.
13112 * sysdeps/i386/fpu/libm-test-ulps: Update.
13113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13115 2012-03-01 Chris Demetriou <cgd@google.com>
13117 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
13118 have predictable order.
13120 2012-03-01 David S. Miller <davem@davemloft.net>
13122 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
13124 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
13125 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
13126 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
13127 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
13129 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
13130 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
13131 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
13132 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
13133 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
13134 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
13135 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
13136 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
13137 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
13139 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13141 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
13142 * sysdeps/sparc/fpu/libm-test-ulps: to here.
13143 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
13145 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
13146 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13147 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
13148 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
13149 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
13150 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
13151 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
13152 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13153 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
13154 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
13155 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
13156 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
13157 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13158 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
13159 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13160 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13161 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
13162 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
13163 * sysdeps/sparc/elf/configure: Regenerated.
13165 2012-03-01 Joseph Myers <joseph@codesourcery.com>
13167 * configure.in (AS, LD): Require binutils 2.20 or later.
13168 * configure: Regenerated.
13169 * manual/install.texi (Tools for Compilation): Give binutils 2.20
13170 as required minimum version.
13171 * INSTALL: Regenerated.
13175 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
13176 before squaring exponent.
13177 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
13178 bottom long double and 27 bits of top long double before squaring
13180 * math/libm-test.inc (erfc_test): Add more tests.
13181 * sysdeps/i386/fpu/libm-test-ulps: Update.
13182 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13185 2012-03-01 Kai Tietz <ktietz@redhat.com>
13187 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
13188 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
13189 containing bit-fields.
13190 * soft-fp/extended.h (_FP_UNION_E): Likewise.
13191 * soft-fp/single.h (_FP_UNION_S): Likewise.
13192 * soft-fp/double.h (_FP_UNION_D): Likewise.
13194 2012-02-29 Joseph Myers <joseph@codesourcery.com>
13197 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
13198 not include ../strcmp.S.
13199 [USE_AS_STRNCASECMP_L]: Likewise.
13200 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
13201 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
13202 * sysdeps/i386/i686/multiarch/strncase_l-c.c
13203 (__strncasecmp_l_ia32): Define as alias to
13204 __strncasecmp_l_nonascii.
13207 * math/libm-test.inc (expm1_test): Add test for bug 5794.
13208 * sysdeps/i386/fpu/libm-test-ulps: Update.
13209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13211 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
13212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13214 2012-02-29 Jeff Law <law@redhat.com>
13216 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
13217 out of bounds read.
13219 2012-02-29 Marek Polacek <polacek@redhat.com>
13222 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
13223 * elf/Makefile: Add rules to run tst-unused-dep.out.
13225 2012-02-28 David S. Miller <davem@davemloft.net>
13227 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
13228 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
13229 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
13230 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
13231 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
13232 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
13234 2012-02-29 Joseph Myers <joseph@codesourcery.com>
13236 * math/libm-test.inc (llround_test): Move one test from
13237 lround_test. Use TEST_f_L in moved test.
13238 (lround_test): Move misplaced test to llround_test. Add testcase
13241 2012-02-28 Ulrich Drepper <drepper@gmail.com>
13243 * sysdeps/x86_64/fpu/e_expf.S: New file.
13244 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
13246 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
13249 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
13250 of remain_len that may cause incomplete multi-byte character and
13252 * posix/bug-regex33.c: New file.
13253 * posix/Makefile (tests): Add bug-regex33.
13255 2012-02-28 Joseph Myers <joseph@codesourcery.com>
13257 * manual/macros.texi: New file.
13258 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
13259 * manual/libc.texinfo: Include macros.texi.
13260 * manual/creatute.texi: Likewise.
13261 * manual/install.texi: Likewise.
13262 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
13263 @glibcadj{} in references to the GNU C Library.
13264 * manual/charset.texi: Likewise.
13265 * manual/conf.texi: Likewise.
13266 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
13267 when not using those macros.
13268 * manual/creature.texi: Likewise.
13269 * manual/crypt.texi: Likewise.
13270 * manual/errno.texi: Likewise.
13271 * manual/filesys.texi: Likewise.
13272 * manual/header.texi: Likewise.
13273 * manual/install.texi: Likewise.
13274 * manual/intro.texi: Likewise.
13275 * manual/io.texi: Likewise.
13276 * manual/job.texi: Likewise.
13277 * manual/lang.texi: Likewise.
13278 * manual/libc.texiinfo: Likewise.
13279 * manual/llio.texi: Likewise.
13280 * manual/locale.texi: Likewise.
13281 * manual/maint.texi: Likewise.
13282 * manual/math.texi: Likewise.
13283 * manual/memory.texi: Likewise.
13284 * manual/message.texi: Likewise.
13285 * manual/nss.texi: Likewise.
13286 * manual/pattern.texi: Likewise.
13287 * manual/process.texi: Likewise.
13288 * manual/resource.texi: Likewise.
13289 * manual/search.texi: Likewise.
13290 * manual/setjmp.texi: Likewise.
13291 * manual/signal.texi: Likewise.
13292 * manual/socket.texi: Likewise.
13293 * manual/startup.texi: Likewise.
13294 * manual/stdio.texi: Likewise.
13295 * manual/string.texi: Likewise.
13296 * manual/sysinfo.texi: Likewise.
13297 * manual/syslog.texi: Likewise.
13298 * manual/terminal.texi: Likewise.
13299 * manual/time.texi: Likewise.
13300 * manual/users.texi: Likewise.
13301 * INSTALL: Regenerated.
13302 * NOTES: Regenerated.
13303 * sysdeps/gnu/errlist.c: Regenerated.
13305 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
13307 * include/dirent.h: Include <dirstream.h> before
13310 2012-02-28 David S. Miller <davem@davemloft.net>
13312 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
13313 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
13314 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
13315 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
13317 2012-02-27 David S. Miller <davem@davemloft.net>
13319 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
13320 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
13321 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
13322 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
13324 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
13325 frame pointer instead of stack pointer relative arg slot.
13326 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
13327 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
13328 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
13330 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
13333 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
13335 2012-02-27 David S. Miller <davem@davemloft.net>
13337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
13338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
13339 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
13340 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
13341 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
13342 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
13343 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
13344 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
13346 2012-02-27 Joseph Myers <joseph@codesourcery.com>
13348 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
13349 later. Allow versions 5-9.
13350 * configure: Regenerated.
13351 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
13352 required minimum version and 4.6 as recommended version. Do not
13353 mention bugs in GCC 2.7 and 2.8.
13354 * INSTALL: Regenerated.
13356 2012-02-27 David S. Miller <davem@davemloft.net>
13358 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
13359 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
13360 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
13361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
13362 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
13363 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
13364 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
13365 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
13367 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
13368 manipulate bits before adding and subtracting TWO112[sx].
13369 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
13371 2012-02-27 Roland McGrath <roland@hack.frob.com>
13374 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
13375 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
13376 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
13377 being in POSIX, because they are in 1003.1-2008.
13379 * rt/tst-aio.c: Include <fcntl.h>.
13380 * rt/tst-aio7.c: Likewise.
13381 * rt/tst-aio64.c: Likewise.
13383 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
13385 2012-02-27 Joseph Myers <joseph@codesourcery.com>
13387 * manual/install.texi (--with-headers): Describe headers as
13388 interface headers, not private headers.
13389 (Specific advice for GNU/Linux systems): Describe use of headers
13390 from "make headers_install", not private headers from older
13392 * INSTALL: Regenerated.
13393 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
13395 * sysdeps/unix/sysv/linux/configure: Regenerated.
13397 * manual/llio.texi (fclean): Remove documentation.
13399 * manual/Makefile (libc-texi-generated): New variable. Include
13401 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
13402 $(libc-texi-generated), not duplicated list of files.
13403 (version.texi, stamp-version): New rules.
13404 (realclean): Remove $(libc-texi-generated), not individual files
13405 from that list. Do not remove dir-add.texinfo.
13406 * manual/libc.texinfo: Comment out uses of edition numbers and
13407 references to printed manual. Remove last-updated dates.
13408 (EDITION): Comment out.
13410 (VERSION, UPDATED): Remove.
13411 (version.texi): Include.
13413 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
13415 * sysdeps/posix/spawni.c: Include <signal.h>.
13416 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
13417 * sysdeps/pthread/aio_fsync.c: Likewise.
13419 2012-02-26 Ulrich Drepper <drepper@gmail.com>
13421 * conform/Makefile (tests): Run only when not cross-compiling and
13422 when fast-check is not defined.
13424 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
13425 * conform/data/limits.h-data: Fixes for POSIX2008.
13426 * conform/run-conformtest.sh: Run all tests.
13427 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
13429 * include/bits/dlfcn.h: Likewise.
13430 * include/langinfo.h: Likewise.
13431 * include/monetary.h: Likewise.
13432 * include/sys/poll.h: Likewise.
13434 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
13436 * posix/spawn.h: Define __need_sigset_t.
13437 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
13438 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
13439 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
13440 to get sigevent_t only.
13441 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
13442 only for __USE_GNU.
13443 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13444 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13445 process_vm_writev only for __USE_GNU.
13446 * termios/termios.h: Declare tcgetsid also for POSIX2008.
13448 * conform/Makefile: For now ignore errors from run-conformtest.
13449 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
13450 POSIX to avoid namespace pollution. Don't prepend headers.
13451 * conform/data/aio.h-data: Fixes for POSIX testing.
13452 * conform/data/fcntl.h-data: Likewise.
13453 * conform/data/glob.h-data: Likewise.
13454 * conform/data/grp.h-data: Likewise.
13455 * conform/data/pthread.h-data: Likewise.
13456 * conform/data/pwd.h-data: Likewise.
13457 * conform/data/signal.h-data: Likewise.
13458 * conform/data/spawn.h-data: Likewise.
13459 * conform/data/stdio.h-data: Likewise.
13460 * conform/data/stdlib.h-data: Likewise.
13461 * conform/data/stropts.h-data: Likewise.
13462 * conform/data/sys/mman.h-data: Likewise.
13463 * conform/data/sys/stat.h-data: Likewise.
13464 * conform/data/sys/types.h-data: Likewise.
13465 * conform/data/sys/wait.h-data: Likewise.
13466 * conform/data/time.h-data: Likewise.
13467 * conform/data/unistd.h-data: Likewise.
13468 * conform/data/utime.h-data: Likewise.
13470 * io/sys/stat.h: fchmod was always in POSIX.
13471 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
13472 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
13473 * rt/aio.h: Define __need_timespec before including <time.h>.
13474 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
13475 struct. Add forward declaration of pthread_attr_t and use it in
13477 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13478 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13479 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
13480 always remove CLK_TCK definition.
13482 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
13484 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
13486 2012-02-25 Ulrich Drepper <drepper@gmail.com>
13488 * conform/run-conformtest.sh: New file.
13489 * conform/Makefile: Run run-conformtest for tests.
13490 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
13493 * conform/data/uchar.h-data: New file.
13494 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
13495 * conform/data/arpa/inet.h-data: Likewise.
13496 * conform/data/assert.h-data: Likewise.
13497 * conform/data/complex.h-data: Likewise.
13498 * conform/data/cpio.h-data: Likewise.
13499 * conform/data/ctype.h-data: Likewise.
13500 * conform/data/dirent.h-data: Likewise.
13501 * conform/data/dlfcn.h-data: Likewise.
13502 * conform/data/errno.h-data: Likewise.
13503 * conform/data/fcntl.h-data: Likewise.
13504 * conform/data/float.h-data: Likewise.
13505 * conform/data/fmtmsg.h-data: Likewise.
13506 * conform/data/fnmatch.h-data: Likewise.
13507 * conform/data/ftw.h-data: Likewise.
13508 * conform/data/glob.h-data: Likewise.
13509 * conform/data/grp.h-data: Likewise.
13510 * conform/data/iconv.h-data: Likewise.
13511 * conform/data/inttypes.h-data: Likewise.
13512 * conform/data/langinfo.h-data: Likewise.
13513 * conform/data/libgen.h-data: Likewise.
13514 * conform/data/limits.h-data: Likewise.
13515 * conform/data/locale.h-data: Likewise.
13516 * conform/data/math.h-data: Likewise.
13517 * conform/data/monetary.h-data: Likewise.
13518 * conform/data/mqueue.h-data: Likewise.
13519 * conform/data/ndbm.h-data: Likewise.
13520 * conform/data/net/if.h-data: Likewise.
13521 * conform/data/netdb.h-data: Likewise.
13522 * conform/data/netinet/in.h-data: Likewise.
13523 * conform/data/nl_types.h-data: Likewise.
13524 * conform/data/poll.h-data: Likewise.
13525 * conform/data/pthread.h-data: Likewise.
13526 * conform/data/pwd.h-data: Likewise.
13527 * conform/data/regex.h-data: Likewise.
13528 * conform/data/sched.h-data: Likewise.
13529 * conform/data/search.h-data: Likewise.
13530 * conform/data/semaphore.h-data: Likewise.
13531 * conform/data/setjmp.h-data: Likewise.
13532 * conform/data/signal.h-data: Likewise.
13533 * conform/data/spawn.h-data: Likewise.
13534 * conform/data/stdarg.h-data: Likewise.
13535 * conform/data/stdio.h-data: Likewise.
13536 * conform/data/stdlib.h-data: Likewise.
13537 * conform/data/string.h-data: Likewise.
13538 * conform/data/strings.h-data: Likewise.
13539 * conform/data/stropts.h-data: Likewise.
13540 * conform/data/sys/ipc.h-data: Likewise.
13541 * conform/data/sys/mman.h-data: Likewise.
13542 * conform/data/sys/msg.h-data: Likewise.
13543 * conform/data/sys/resource.h-data: Likewise.
13544 * conform/data/sys/select.h-data: Likewise.
13545 * conform/data/sys/sem.h-data: Likewise.
13546 * conform/data/sys/shm.h-data: Likewise.
13547 * conform/data/sys/socket.h-data: Likewise.
13548 * conform/data/sys/stat.h-data: Likewise.
13549 * conform/data/sys/statvfs.h-data: Likewise.
13550 * conform/data/sys/time.h-data: Likewise.
13551 * conform/data/sys/timeb.h-data: Likewise.
13552 * conform/data/sys/times.h-data: Likewise.
13553 * conform/data/sys/types.h-data: Likewise.
13554 * conform/data/sys/uio.h-data: Likewise.
13555 * conform/data/sys/un.h-data: Likewise.
13556 * conform/data/sys/utsname.h-data: Likewise.
13557 * conform/data/sys/wait.h-data: Likewise.
13558 * conform/data/syslog.h-data: Likewise.
13559 * conform/data/tar.h-data: Likewise.
13560 * conform/data/termios.h-data: Likewise.
13561 * conform/data/utime.h-data: Likewise.
13562 * conform/data/utmpx.h-data: Likewise.
13563 * conform/data/varargs.h-data: Likewise.
13564 * conform/data/wchar.h-data: Likewise.
13565 * conform/data/wctype.h-data: Likewise.
13566 * conform/data/wordexp.h-data: Likewise.
13568 * include/stropts.h: New file.
13569 * include/uchar.h: New file.
13570 * include/aio.h: Changes to allow conformtest.pl to use the headers.
13571 * include/assert.h: Likewise.
13572 * include/ctype.h: Likewise.
13573 * include/dirent.h: Likewise.
13574 * include/dlfcn.h: Likewise.
13575 * include/fcntl.h: Likewise.
13576 * include/fnmatch.h: Likewise.
13577 * include/glob.h: Likewise.
13578 * include/grp.h: Likewise.
13579 * include/libio.h: Likewise.
13580 * include/locale.h: Likewise.
13581 * include/math.h: Likewise.
13582 * include/net/if.h: Likewise.
13583 * include/netdb.h: Likewise.
13584 * include/netinet/in.h: Likewise.
13585 * include/pthread.h: Likewise.
13586 * include/pwd.h: Likewise.
13587 * include/regex.h: Likewise.
13588 * include/sched.h: Likewise.
13589 * include/search.h: Likewise.
13590 * include/setjmp.h: Likewise.
13591 * include/signal.h: Likewise.
13592 * include/stdio.h: Likewise.
13593 * include/stdlib.h: Likewise.
13594 * include/string.h: Likewise.
13595 * include/sys/cdefs.h: Likewise.
13596 * include/sys/mman.h: Likewise.
13597 * include/sys/msg.h: Likewise.
13598 * include/sys/resource.h: Likewise.
13599 * include/sys/select.h: Likewise.
13600 * include/sys/socket.h: Likewise.
13601 * include/sys/stat.h: Likewise.
13602 * include/sys/statvfs.h: Likewise.
13603 * include/sys/time.h: Likewise.
13604 * include/sys/times.h: Likewise.
13605 * include/sys/uio.h: Likewise.
13606 * include/sys/utsname.h: Likewise.
13607 * include/sys/wait.h: Likewise.
13608 * include/termios.h: Likewise.
13609 * include/time.h: Likewise.
13610 * include/ulimit.h: Likewise.
13611 * include/unistd.h: Likewise.
13612 * include/utime.h: Likewise.
13613 * include/wchar.h: Likewise.
13614 * include/wctype.h: Likewise.
13615 * include/wordexp.h: Likewise.
13617 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
13619 * time/time.h: TIME_UTC must be a macro.
13620 Make timespec_get available for ISO C11 only as well.
13622 2012-02-24 Ulrich Drepper <drepper@gmail.com>
13624 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
13625 Reported by Peng Haitao <penght@cn.fujitsu.com>.
13627 2012-02-24 Joseph Myers <joseph@codesourcery.com>
13629 * configure.in: Use -o not -a in test for unsupported multi-arch.
13631 2012-02-24 Joseph Myers <joseph@codesourcery.com>
13633 * manual/texinfo.tex: Update to version 2012-01-19.16.
13635 2012-02-24 Joseph Myers <joseph@codesourcery.com>
13637 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
13639 2012-02-24 Roland McGrath <roland@hack.frob.com>
13642 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
13643 * manual/fdl-1.3.texi: New file.
13644 * manual/fdl-1.1.texi: File removed.
13647 * manual/libc.texinfo (FDL_VERSION): New @set.
13648 Use it for mention of FDL in cover text.
13649 (Documentation License): Use it in @include file name.
13651 2012-02-22 Joseph Myers <joseph@codesourcery.com>
13652 Roland McGrath <roland@hack.frob.com>
13655 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
13656 not LONG_LONG_MAX and LONG_LONG_MIN.
13657 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
13658 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
13660 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
13662 2012-02-22 Joseph Myers <joseph@codesourcery.com>
13666 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
13667 manipulate bits before adding and subtracting TWO23[sx].
13668 * math/libm-test.inc (nearbyint_test): Add more tests.
13670 2012-02-22 Joseph Myers <joseph@codesourcery.com>
13673 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
13674 bits before adding and subtracting TWO23[sx].
13675 * math/libm-test.inc (rint_test): Add more tests.
13676 (rint_test_tonearest): Likewise.
13677 (rint_test_towardzero): Likewise.
13678 (rint_test_downward): Likewise.
13679 (rint_test_upward: Likewise.
13681 2012-02-22 Joseph Myers <joseph@codesourcery.com>
13684 * include/stdc-predef.h: New file. Extracted from features.h.
13685 * include/features.h: Include stdc-predef.h.
13686 * Makefile (headers): Add stdc-predef.h.
13687 * CONFORMANCE (Compiler limitations): Update.
13689 2012-02-22 Joseph Myers <joseph@codesourcery.com>
13691 * manual/libc.texinfo (VERSION, UPDATED): Revert.
13693 2012-02-21 David S. Miller <davem@davemloft.net>
13695 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
13696 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
13698 2012-02-20 David S. Miller <davem@davemloft.net>
13700 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
13701 using a normal save/restore sequence, rather than allocating a
13702 dummy stack frame just to store a frame pointer and restore.
13703 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
13705 2012-02-21 Joseph Myers <joseph@codesourcery.com>
13707 * manual/install.texi: Fix stray word in line-wrapped comment.
13709 2012-02-20 David S. Miller <davem@davemloft.net>
13711 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
13712 both binutils and gcc support GOTDATA.
13714 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
13715 "rd %pc" in the PIC register setup sequences.
13717 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
13718 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
13719 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
13720 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
13721 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
13722 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
13723 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13724 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
13725 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
13726 (SYSCALL_ERROR_HANDLER): Likewise.
13727 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
13728 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13729 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
13730 (SYSCALL_ERROR_HANDLER): Likewise.
13732 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
13733 (HAVE_GCC_GOTDATA): New.
13734 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
13735 relocation support in both binutils and gcc.
13736 * sysdeps/sparc/elf/configure: Regenerate.
13738 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
13739 * sysdeps/sparc/sparc32/elf/configure: Delete.
13740 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
13741 * sysdeps/sparc/sparc64/elf/configure: Delete.
13742 * sysdeps/sparc/elf/configure.in: New file.
13743 * sysdeps/sparc/elf/configure: Generate.
13745 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
13746 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
13747 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
13748 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
13749 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
13751 2012-02-21 Joseph Myers <joseph@codesourcery.com>
13753 * manual/install.texi: Do not mention specific glibc version
13755 * manual/libc.texinfo (VERSION, UPDATED): Update.
13756 (@copying): Use @copyright{} and range of years.
13758 2012-02-21 Joseph Myers <joseph@codesourcery.com>
13761 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
13762 [crti.S not in sysdirs] (generated): Do not append.
13763 [crti.S not in sysdirs] (omit-deps): Likewise.
13764 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
13765 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
13766 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
13767 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
13768 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
13770 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
13771 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
13772 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
13773 * csu/defs.awk: Remove file.
13774 * sysdeps/generic/initfini.c: Likewise.
13775 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
13777 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
13780 2012-02-20 Joseph Myers <joseph@codesourcery.com>
13782 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
13783 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
13784 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
13785 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
13786 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13787 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
13789 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
13790 (__EPOLL_PACKED): Define to empty if not defined by
13792 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
13793 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13796 2012-02-20 Joseph Myers <joseph@codesourcery.com>
13798 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
13799 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
13800 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
13801 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
13803 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
13804 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13807 2012-02-20 Joseph Myers <joseph@codesourcery.com>
13809 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
13811 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13812 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13813 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
13814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13816 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
13818 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13819 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
13821 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
13823 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
13824 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
13826 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
13828 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
13831 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
13833 * math/w_acos.c: Use non-signaling floating-point comparisons.
13834 * math/w_acosf.c: Likewise.
13835 * math/w_acosh.c: Likewise.
13836 * math/w_acoshf.c: Likewise.
13837 * math/w_acoshl.c: Likewise.
13838 * math/w_acosl.c: Likewise.
13839 * math/w_asin.c: Likewise.
13840 * math/w_asinf.c: Likewise.
13841 * math/w_asinl.c: Likewise.
13842 * math/w_atanh.c: Likewise.
13843 * math/w_atanhf.c: Likewise.
13844 * math/w_atanhl.c: Likewise.
13845 * math/w_exp2.c: Likewise.
13846 * math/w_exp2f.c: Likewise.
13847 * math/w_exp2l.c: Likewise.
13848 * math/w_j0.c: Likewise.
13849 * math/w_j0f.c: Likewise.
13850 * math/w_j0l.c: Likewise.
13851 * math/w_j1.c: Likewise.
13852 * math/w_j1f.c: Likewise.
13853 * math/w_j1l.c: Likewise.
13854 * math/w_jn.c: Likewise.
13855 * math/w_jnf.c: Likewise.
13856 * math/w_log.c: Likewise.
13857 * math/w_log10.c: Likewise.
13858 * math/w_log10f.c: Likewise.
13859 * math/w_log10l.c: Likewise.
13860 * math/w_log2.c: Likewise.
13861 * math/w_log2f.c: Likewise.
13862 * math/w_log2l.c: Likewise.
13863 * math/w_logf.c: Likewise.
13864 * math/w_logl.c: Likewise.
13865 * math/w_sqrt.c: Likewise.
13866 * math/w_sqrtf.c: Likewise.
13867 * math/w_sqrtl.c: Likewise.
13868 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13869 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
13870 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13871 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13872 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13874 2012-02-19 Joseph Myers <joseph@codesourcery.com>
13877 * manual/string.texi (strnlen): Use correct parameter name in
13878 equivalent expression.
13880 2012-02-19 Joseph Myers <joseph@codesourcery.com>
13883 * manual/users.texi (seteuid): Consistently use neweuid for
13886 2012-02-19 Joseph Myers <joseph@codesourcery.com>
13889 * manual/nss.texi (Services in the NSS configuration): Correct
13890 list of services in example configuration file.
13892 2012-02-19 Nick Bowler <nbowler@draconx.ca>
13895 * manual/arith.texi: Remove statements about negative zero
13896 behaving identically to zero.
13898 2012-02-18 Joseph Myers <joseph@codesourcery.com>
13901 * manual/install.texi: Do not document upgrading from libc5.
13903 2012-02-18 Joseph Myers <joseph@codesourcery.com>
13906 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
13908 2012-02-18 David S. Miller <davem@davemloft.net>
13910 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
13911 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
13912 %o7 across the call.
13913 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
13915 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
13916 SETUP_PIC_REG_LEAF.
13917 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13918 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
13919 * sysdeps/sparc/crtn.S: Likewise.
13921 2012-02-17 Ulrich Drepper <drepper@gmail.com>
13923 * aout/Makefile: Remove.
13925 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
13928 * manual/examples/argp-ex1.c (main): Format definition in GNU
13930 * manual/examples/argp-ex2.c (main): Likewise.
13931 * manual/examples/argp-ex3.c (main): Likewise.
13932 * manual/examples/argp-ex4.c (main): Likewise.
13933 * manual/examples/longopt.c (main): Use new-style prototype
13935 * manual/examples/strncat.c (main): Specify return type and use
13936 (void) for arguments.
13937 * manual/examples/subopt.c (main): Use char **argv argument.
13939 2012-02-17 Joseph Myers <joseph@codesourcery.com>
13942 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
13945 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
13948 * manual/string.texi (strchr): Change when strchrnul is
13951 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
13954 * manual/locale.texi (setlocale): Document LOCPATH.
13956 2012-02-17 Joseph Myers <joseph@codesourcery.com>
13959 * manual/process.texi (execle): Move @dots{} before last argument.
13961 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
13964 * manual/charset.texi (Generic Charset Conversion): Fix typo
13965 (LC_TYPE -> LC_CTYPE).
13967 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
13970 * manual/arith.texi (scalbn): Use @var{} on parameter names.
13971 (scalbnf): Likewise.
13972 (scalbnl): Likewise.
13973 (scalbln): Likewise.
13974 (scalblnf): Likewise.
13975 (scalblnl): Likewise.
13976 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
13977 (vwarnx): Likewise.
13980 * manual/filesys.texi (telldir): Use braces around return type.
13981 * manual/llio.texi (mmap): Add space after comma.
13982 (mmap64): Likewise.
13983 * manual/math.texi (jn): Use @var{} on parameter names.
13989 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
13991 * manual/resource.texi (ulimit): Use @dots{} instead of literal
13993 (sched_get_priority_min): Remove semicolon on @deftypefun line.
13994 (sched_get_priority_max): Likewise.
13995 * manual/signal.texi (sigvec): Add space after comma.
13996 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
13998 (if_indextoname): Likewise.
13999 (if_freenameindex): Likewise.
14000 (sendto): Use ',' instead of '.' in prototype.
14001 * manual/startup.texi (syscall): Use @dots{} instead of literal
14003 * manual/stdio.texi (__fpending): Separate initial words of
14004 paragraph from @deftypefun line.
14005 * manual/syslog.texi (syslog): Use @dots{} instead of literal
14007 (vsyslog): Use @var{} on parameter names.
14008 * manual/terminal.texi (stty): Use @var{} on parameter names.
14009 * manual/users.texi (getutmp): Use @var{} on parameter names.
14010 (getutmpx): Likewise.
14012 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14015 * manual/stdio.texi (fopen): Fix typos in description of
14018 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
14021 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
14022 get clock_id definition.
14024 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
14027 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
14028 (madvise): Cast every argument to void on its own.
14030 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14033 * manual/startup.texi (Exit Status): Fix typo.
14035 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14038 * manual/examples/argp-ex1.c: Include <stdlib.h>.
14039 * manual/examples/argp-ex2.c: Likewise.
14040 * manual/examples/argp-ex3.c: Likewise.
14042 2012-02-16 Richard Henderson <rth@redhat.com>
14044 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
14045 * sysdeps/s390/s390-32/initfini.c: Remove.
14046 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
14047 * sysdeps/s390/s390-64/initfini.c: Remove.
14049 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14051 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
14052 compiler output for sysdeps/generic/initfini.c.
14053 * sysdeps/sh/elf/initfini.c: Remove file.
14055 2012-02-16 David S. Miller <davem@davemloft.net>
14058 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
14060 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
14061 * sysdeps/sparc/crti.S: New file.
14062 * sysdeps/sparc/crtn.S: New file.
14063 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
14064 * sysdeps/sparc/sparc64/Makefile: Likewise.
14066 2012-02-15 Mike Frysinger <vapier@gentoo.org>
14069 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
14071 2012-02-15 Roland McGrath <roland@hack.frob.com>
14074 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
14076 * mach/devstream.c (cookie_io_functions_t): Macro removed.
14077 (write, read, close): Likewise.
14078 Patch by Aurelien Jarno <aurelien@aurel32.net>.
14080 2012-02-15 Joseph Myers <joseph@codesourcery.com>
14082 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
14083 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
14084 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
14085 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
14087 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
14088 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14091 2012-02-14 Marek Polacek <polacek@redhat.com>
14093 * sysdeps/x86_64/crti.S: New file.
14094 * sysdeps/x86_64/crtn.S: New file.
14095 * sysdeps/x86_64/elf/initfini.c: Remove file.
14097 2012-02-13 Joseph Myers <joseph@codesourcery.com>
14099 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
14100 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
14101 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
14102 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
14104 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
14105 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14108 2012-02-13 Joseph Myers <joseph@codesourcery.com>
14110 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
14111 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
14112 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
14113 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
14115 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
14116 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14119 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
14121 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
14122 __feraiseexcept instead of feraiseexcept.
14124 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
14125 nanosleep invocations.
14126 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
14127 strings, and add error checking for a nanosleep invocations.
14129 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
14131 Replace FSF snail mail address with URLs, as per GNU coding standards.
14132 Most of the snail mail addresses were wrong anyway, and omitting
14133 them makes the source code easier to maintain. Almost all of the
14134 changes are to license notices and to locale LC_IDENTIFICATION
14135 addresses, except for this one:
14136 * manual/libc.texinfo: In "Published by", give the FSF's URL,
14137 not its snail mail address.
14139 2012-02-09 Richard Henderson <rth@twiddle.net>
14141 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
14142 of kernel-features.h.
14144 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
14146 2012-02-08 Marek Polacek <polacek@redhat.com>
14148 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
14149 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
14150 * sysdeps/gnu/_G_config.h: Likewise.
14151 * sysdeps/generic/_G_config.h: Likewise.
14153 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
14155 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
14157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14159 * sysdeps/powerpc/powerpc32/crti.S: New file.
14160 * sysdeps/powerpc/powerpc32/crtn.S: New file.
14161 * sysdeps/powerpc/powerpc64/crti.S: New file.
14162 * sysdeps/powerpc/powerpc64/crtn.S: New file.
14164 * Makeconfig (have-initfini): Don't set.
14165 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
14166 * configure.in (nopic_initfini): Don't substitute.
14167 * config.h.in (HAVE_INITFINI): Don't #undef.
14168 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
14169 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
14171 2012-02-08 Joseph Myers <joseph@codesourcery.com>
14173 Support crti.S and crtn.S provided directly by architectures.
14174 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
14175 [crti.S in sysdirs] (omit-deps): Likewise.
14176 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
14177 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
14178 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
14179 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
14180 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
14181 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
14182 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
14183 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
14184 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
14185 compiler output for sysdeps/generic/initfini.c.
14186 * sysdeps/i386/elf/Makefile: Remove file.
14187 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
14189 2012-02-07 Marek Polacek <polacek@redhat.com>
14191 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
14192 * sysdeps/gnu/_G_config.h: Likewise.
14193 * sysdeps/mach/hurd/_G_config.h: Likewise.
14195 2012-02-07 Marek Polacek <polacek@redhat.com>
14197 * math/Makefile (tests): Add tst-CMPLX2.
14198 * math/tst-CMPLX2.c: New file.
14200 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
14202 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14204 * math/libm-test.inc (jn_test): Add missing L suffix.
14206 2012-02-06 Marek Polacek <polacek@redhat.com>
14208 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
14209 * sysdeps/i386/fpu/e_powf.S: Likewise.
14210 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14211 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
14212 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14213 * sysdeps/i386/fpu/e_pow.S: Likewise.
14214 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14215 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14216 * sysdeps/i386/fpu/s_expm1.S: Likewise.
14217 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14218 * sysdeps/i386/fpu/e_log2.S: Likewise.
14219 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14220 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14221 * sysdeps/i386/fpu/e_powl.S: Likewise.
14222 * sysdeps/i386/fpu/s_log1p.S: Likewise.
14223 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14224 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14225 * sysdeps/i386/fpu/e_logl.S: Likewise.
14226 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14227 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
14228 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14229 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14230 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14231 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14232 * sysdeps/i386/fpu/e_log.S: Likewise.
14233 * sysdeps/i386/fpu/s_cexp.S: Likewise.
14234 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14235 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
14236 * sysdeps/i386/fpu/e_logf.S: Likewise.
14237 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14238 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14239 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
14240 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14241 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
14242 * sysdeps/i386/fpu/e_log10.S: Likewise.
14243 * sysdeps/i386/fpu/s_frexp.S: Likewise.
14244 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14245 * sysdeps/i386/fpu/s_asinh.S: Likewise.
14246 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14247 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14248 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14249 * sysdeps/i386/asm-syntax.h: Likewise.
14250 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14251 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14252 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14253 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
14254 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
14255 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14256 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14257 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14258 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14259 * sysdeps/powerpc/sysdep.h: Likewise.
14260 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
14261 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14263 2012-02-06 Joseph Myers <joseph@codesourcery.com>
14266 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
14268 2012-02-06 Joseph Myers <joseph@codesourcery.com>
14270 * sysdeps/i386/sysdep.h: Include <features.h>.
14271 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
14274 2012-02-05 Joseph Myers <joseph@codesourcery.com>
14276 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
14278 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
14281 2012-02-03 Joseph Myers <joseph@codesourcery.com>
14283 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
14284 (SETUP_PIC_REG): Use GET_PC_THUNK.
14285 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
14288 2012-02-03 Joseph Myers <joseph@codesourcery.com>
14290 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
14291 for non-PIC compilation.
14292 (SETUP_PIC_REG): Add .p2align directive.
14293 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
14294 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
14295 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14296 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14297 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14298 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14299 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
14300 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14301 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14302 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14303 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14304 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14305 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14306 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14307 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14308 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14309 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14310 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14311 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14312 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14313 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14314 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14315 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14316 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14317 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14318 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14319 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14320 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14321 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14322 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14323 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14324 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14325 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14326 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14327 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14328 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14329 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14330 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14331 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14332 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14333 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14335 2012-02-03 Joseph Myers <joseph@codesourcery.com>
14337 * math/tst-CMPLX.c: Include <stdio.h>.
14339 2012-01-31 Joseph Myers <joseph@codesourcery.com>
14341 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
14343 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
14344 * sysdeps/sparc/bits/mathdef.h: Likewise.
14346 2012-01-31 Marek Polacek <polacek@redhat.com>
14348 * libio/libio.h: Don't define _PARAMS.
14349 * locale/programs/config.h: Don't define PARAMS.
14350 * stdlib/strtol_l.c: Likewise.
14351 (__strtol_l): Remove PARAMS from the prototype.
14353 2012-01-31 Ulrich Drepper <drepper@gmail.com>
14355 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
14356 names. Just use the correct names. Remove unnecessary wrapper
14358 * malloc/arena.c: Likewise.
14359 * malloc/hooks.c: Likewise.
14361 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
14362 ARENA_TEST says not to. Simplify test for creation of a new arena.
14363 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
14365 2012-01-30 Ulrich Drepper <drepper@gmail.com>
14367 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
14369 (update_get_addr): New function.
14370 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
14371 GET_ADDR_MODULE parameter.
14373 2012-01-30 Joseph Myers <joseph@codesourcery.com>
14375 * crypt/cert.c: Remove __STDC__ conditionals.
14376 * crypt/crypt-entry.c: Likewise.
14377 * crypt/crypt_util.c: Likewise.
14378 * libio/filedoalloc.c: Likewise.
14379 * libio/fileops.c: Likewise.
14380 * libio/genops.c: Likewise.
14381 * libio/iofclose.c: Likewise.
14382 * libio/iofdopen.c: Likewise.
14383 * libio/iofopen.c: Likewise.
14384 * libio/iofopen64.c: Likewise.
14385 * libio/iogetdelim.c: Likewise.
14386 * libio/iopopen.c: Likewise.
14387 * libio/obprintf.c: Likewise.
14388 * libio/oldfileops.c: Likewise.
14389 * libio/oldiofclose.c: Likewise.
14390 * libio/oldiofdopen.c: Likewise.
14391 * libio/oldiofopen.c: Likewise.
14392 * libio/oldiopopen.c: Likewise.
14393 * libio/wfiledoalloc.c: Likewise.
14394 * libio/wgenops.c: Likewise.
14395 * locale/programs/xmalloc.c: Likewise.
14396 * misc/syslog.c: Likewise.
14397 * stdio-common/xbug.c: Likewise.
14398 * string/memchr.c: Likewise.
14399 * string/memcmp.c: Likewise.
14400 * string/memrchr.c: Likewise.
14401 * string/rawmemchr.c: Likewise.
14402 * sysdeps/posix/getcwd.c: Likewise.
14403 * time/strftime_l.c: Likewise.
14405 2012-01-30 Joseph Myers <joseph@codesourcery.com>
14407 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
14408 * config.make.in (config-cflags-sse2avx): Define.
14409 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
14412 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
14414 * scripts/config.guess: Update from upstream config git repository.
14415 * scripts/config.sub: Likewise.
14417 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
14419 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
14421 (R_TILEPRO_*, R_TILEGX_*): New macros.
14423 * scripts/firstversions.awk: Fix bug in version range handling.
14425 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
14427 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
14429 * include/sys/epoll.h: New file.
14430 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
14433 2012-01-28 Ulrich Drepper <drepper@gmail.com>
14435 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
14436 Avoid unnecessary __WORDSIZE == 64 test.
14437 (fmaxf): Use VEX format if possible.
14442 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
14443 * math/math_private.h: Remove libc_fegetround* and
14445 * sysdeps/i386/configure.in: Check for -msse2avx.
14446 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
14447 also if SSE2AVX is defined.
14448 Remove libc_fegetround* and libc_fesetround*.
14449 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
14450 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
14451 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
14453 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14454 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14455 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14456 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14457 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14459 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
14461 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14463 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
14465 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
14467 2012-01-27 Ulrich Drepper <drepper@gmail.com>
14470 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
14472 * Makeconfig (libm): Define.
14473 * elf/Makefile: Add rules to build and run tst-relsort1.
14474 * elf/tst-relsort1.c: New file.
14475 * elf/tst-relsort1mod1.c: New file.
14476 * elf/tst-relsort1mod2.c: New file.
14478 2012-01-27 Joseph Myers <joseph@codesourcery.com>
14480 * math/s_ldexp.c: Remove __STDC__ conditionals.
14481 * math/s_ldexpf.c: Likewise.
14482 * math/s_ldexpl.c: Likewise.
14483 * math/s_nextafter.c: Likewise.
14484 * math/s_nexttowardf.c: Likewise.
14485 * math/s_significand.c: Likewise.
14486 * math/s_significandf.c: Likewise.
14487 * math/s_significandl.c: Likewise.
14488 * math/w_jnl.c: Likewise.
14489 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
14490 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
14491 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14492 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14493 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14494 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14495 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
14496 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14497 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14498 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14499 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14500 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14501 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14502 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
14503 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14504 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14505 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14506 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14507 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14508 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14509 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14510 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14511 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14512 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14513 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14514 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14515 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14516 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14517 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
14518 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14519 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14520 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
14521 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14522 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
14523 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
14524 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14525 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14526 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14527 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
14528 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14529 * sysdeps/ieee754/k_standard.c: Likewise.
14530 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14531 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14532 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14533 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14534 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14535 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14536 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14537 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14538 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14539 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14540 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14541 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
14542 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14543 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14544 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14545 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14546 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14547 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14548 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14549 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14550 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14551 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14552 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14553 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14554 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14555 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
14556 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14557 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14558 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14559 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14560 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14561 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
14562 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
14563 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
14564 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14565 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
14566 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
14567 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
14568 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
14569 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
14570 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
14571 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
14572 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
14573 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
14574 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
14575 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14576 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14577 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14578 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14579 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
14580 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
14581 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14582 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14583 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
14584 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14585 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
14586 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
14587 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14588 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14589 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14590 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14591 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
14592 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
14593 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14594 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14595 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14596 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14597 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
14598 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
14599 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14600 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14601 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14602 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14603 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14604 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14605 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14606 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
14607 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14608 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
14609 * sysdeps/ieee754/s_matherr.c: Likewise.
14610 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
14611 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14612 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14613 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14615 2012-01-26 Joseph Myers <joseph@codesourcery.com>
14617 * crypt/md5.h: Remove __STDC__ conditionals.
14618 * libio/libioP.h: Likewise.
14619 * locale/programs/config.h: Likewise.
14620 * sysdeps/generic/sysdep.h: Likewise.
14621 * sysdeps/i386/asm-syntax.h: Likewise.
14622 * sysdeps/s390/asm-syntax.h: Likewise.
14623 * sysdeps/unix/sysdep.h: Likewise.
14624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
14625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14627 2012-01-26 Joseph Myers <joseph@codesourcery.com>
14629 * libio/libio.h: Remove __STDC__ conditionals.
14630 * malloc/obstack.h: Likewise.
14631 * math/complex.h: Likewise.
14632 * math/math.h: Likewise.
14633 * sysdeps/generic/_G_config.h: Likewise.
14634 * sysdeps/gnu/_G_config.h: Likewise.
14635 * sysdeps/mach/hurd/_G_config.h: Likewise.
14636 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14637 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
14638 * sysdeps/sparc/bits/mathdef.h: Likewise.
14640 2012-01-26 Ulrich Drepper <drepper@gmail.com>
14643 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
14644 Clean up HAS_* macros.
14645 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
14646 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
14648 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
14650 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14651 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14652 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14653 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14654 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14656 2012-01-25 Joseph Myers <joseph@codesourcery.com>
14658 * elf/tst-unique3.cc (gets): Remove declaration.
14659 * elf/tst-unique3lib.cc (gets): Likewise.
14660 * elf/tst-unique3lib2.cc (gets): Likewise.
14661 * elf/tst-unique4.cc (gets): Likewise.
14663 2012-01-24 Ulrich Drepper <drepper@gmail.com>
14665 * include/stdio.h: Add C++ protection. Add gets declarations and
14667 * debug/tst-chk1.c: Don't declare gets here.
14668 * stdio-common/tst-gets.c: Likewise.
14670 2012-01-24 Joseph Myers <joseph@codesourcery.com>
14672 * posix/glob: Remove directory.
14674 2012-01-24 Joseph Myers <joseph@codesourcery.com>
14676 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
14678 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
14680 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
14681 of the non-standard EPFNOSUPPORT.
14683 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
14685 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
14686 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
14687 ANYWHERE set to 1 only on KERN_NO_SPACE error.
14689 2012-01-21 Ulrich Drepper <drepper@gmail.com>
14691 * wcsmbs/uchar.h: Test __STDC_VERSION__.
14693 2012-01-20 Ulrich Drepper <drepper@gmail.com>
14695 * nscd/aicache.c (addhstaiX): Do not cache negative results of
14697 * nscd/grpcache.c (cache_addgr): Likewise.
14698 * nscd/hstcache.c (cache_addhst): Likewise.
14699 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14700 * nscd/pwdcache.c (cache_addpw): Likewise.
14701 * nscd/servicescache.c (cache_addserv): Likewise.
14703 2012-01-16 Ulrich Drepper <drepper@gmail.com>
14705 * malloc/malloc.c: Various cleanups.
14706 * malloc/hooks.c: Likewise.
14708 * stdlib/Makefile (tests): Add bug-fmtmsg1.
14709 * stdlib/bug-fmtmsg1.c: New file.
14711 * stdlib/fmtmsg.c (init): Add missing unlock.
14712 Patch by Peng Haitao <penght@cn.fujitsu.com>.
14714 2012-01-12 Marek Polacek <polacek@redhat.com>
14716 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
14719 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
14721 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
14722 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
14723 macro to ensure uniqueness of label name.
14724 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
14725 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
14727 2012-01-11 Ulrich Drepper <drepper@gmail.com>
14729 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
14731 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
14732 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
14733 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14734 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
14736 2012-01-10 Ulrich Drepper <drepper@gmail.com>
14738 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
14740 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
14741 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
14742 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
14744 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
14746 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
14747 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
14748 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14749 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
14751 * math/bits/math-finite.h: Add ldexp support.
14753 2012-01-10 Marek Polacek <polacek@redhat.com>
14755 * locale/programs/localedef.h (show_archive_content): Add noreturn
14758 2012-01-09 Ulrich Drepper <drepper@gmail.com>
14760 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
14762 2012-01-08 Ulrich Drepper <drepper@gmail.com>
14764 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
14766 * io/Makefile (headers): Add bits/poll2.h.
14768 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
14770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
14771 typo #include statement.
14773 2012-01-08 Ulrich Drepper <drepper@gmail.com>
14775 * include/sys/cdefs.h: Define __attribute_alloc_size.
14776 * catgets/gencat.c: Add alloc_size attribute and apply consistently
14777 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
14778 * elf/pldd.c: Likewise.
14779 * iconv/iconv_charmap.c: Likewise.
14780 * iconv/iconvconfig.c: Likewise.
14781 * iconv/strtab.c: Likewise.
14782 * locale/programs/locale.c: Likewise.
14783 * locale/programs/localedef.h: Likewise.
14784 * locale/programs/simple-hash.c: Likewise.
14785 * nscd/nscd.h: Likewise.
14786 * nss/makedb.c: Likewise.
14787 * sysdeps/generic/ldconfig.h: Likewise.
14788 * locale/programs/localedef.c: Remove xmalloc prototype.
14789 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
14791 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14793 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
14796 2012-01-08 Ulrich Drepper <drepper@gmail.com>
14798 * math/Makefile (tests): Add tst-CMPLX.
14799 * math/tst-CMPLX.c: New file.
14801 * math/complex.h (CMPLXL): Fix typo.
14803 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
14804 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
14806 * debug/tst-chk1.c: Add poll and ppoll tests.
14807 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
14808 * include/sys/poll.h: Add hidden proto for ppoll.
14809 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
14810 * sysdeps/mach/hurd/ppoll.c: Likewise.
14811 * io/ppoll.c: Likewise.
14812 * debug/poll_chk.c: New file.
14813 * debug/ppoll_chk.c: New file.
14814 * include/bits/poll2.h: New file.
14815 * io/bits/poll2.h: New file.
14818 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
14820 * configure.in: static is always set to yes. Remove.
14821 * config.make.in: Don't set build-static.
14822 * Makeconfig: Remove use of build-static.
14823 * dlfcn/Makefile: Likewise.
14824 * elf/Makefile: Likewise.
14825 * math/Makefile: Likewise.
14826 * misc/Makefile: Likewise.
14827 * nptl/Makefile: Likewise.
14828 * sysdeps/mach/hurd/Makefile: Likewise.
14830 * configure.in: PWD_P is not used anymore.
14831 * config.make.in: Remove PWD_P entry.
14833 * configure.in: Remove last remnants of RANLIB.
14834 No need to check for signed size_t anymore.
14835 Don't set libc_commonpagesize and libc_relro_required here for Alpha
14837 Remove __builtin_expect test because we require at least gcc 3.4.
14838 * aclocal.m4: Likewise.
14840 * wcsmbs/mbrtoc16.c: Implement using towc function.
14841 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
14842 * wcsmbs/wcsmbsload.c: Likewise.
14843 * iconv/gconv_simple.c: Likewise.
14844 * iconv/gconv_int.h: Likewise.
14845 * iconv/gconv_builtin.h: Likewise.
14846 * iconv/iconv_prog.c: Remove CHAR16 handling.
14848 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
14850 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
14852 * configure.in: Remove --with-elf and --enable-bounded options.
14853 Dont set base_machine for ia64. More non-ELF conditions removed.
14854 Remove testing and setting of leading underscore information.
14855 * config.make.in (build-bounded): Set to no.
14856 * config.h.in: Remove NO_UNDERSCORES entry.
14857 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
14859 * csu/start.c: Remove !NO_UNDERSCORE code.
14860 * locale/localeinfo.h: Likewise.
14861 * sysdeps/generic/machine-gmon.h: Likewise.
14862 * sysdeps/generic/sysdep.h: Likewise.
14863 * sysdeps/i386/sysdep.h: Likewise.
14864 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
14865 * sysdeps/mach/sysdep.h: Likewise.
14866 * sysdeps/s390/s390-32/sysdep.h: Likewise.
14867 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14868 * sysdeps/sh/sysdep.h: Likewise.
14869 * sysdeps/sparc/sparc32/alloca.S: Likewise.
14870 * sysdeps/unix/i386/sysdep.S: Likewise.
14871 * sysdeps/unix/sparc/start.c: Likewise.
14872 * sysdeps/unix/sparc/sysdep.S: Likewise.
14873 * sysdeps/unix/sparc/sysdep.h: Likewise.
14874 * sysdeps/unix/start.c: Likewise.
14875 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14876 * sysdeps/x86_64/sysdep.h: Likewise.
14878 2012-01-07 Ulrich Drepper <drepper@gmail.com>
14881 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
14883 * argp/argp-fmtstream.h: Use const instead __const.
14884 * argp/argp.h: Likewise.
14885 * assert/assert.h: Likewise.
14886 * bits/fenv.h: Likewise.
14887 * bits/sched.h: Likewise.
14888 * bits/sigset.h: Likewise.
14889 * bits/sigthread.h: Likewise.
14890 * catgets/nl_types.h: Likewise.
14891 * conform/data/pthread.h-data: Likewise.
14892 * crypt/crypt-private.h: Likewise.
14893 * crypt/crypt.h: Likewise.
14894 * crypt/crypt_util.c: Likewise.
14895 * ctype/ctype.h: Likewise.
14896 * debug/execinfo.h: Likewise.
14897 * debug/mbsnrtowcs_chk.c: Likewise.
14898 * debug/mbsrtowcs_chk.c: Likewise.
14899 * debug/wcsnrtombs_chk.c: Likewise.
14900 * debug/wcsrtombs_chk.c: Likewise.
14901 * debug/wcstombs_chk.c: Likewise.
14902 * dirent/dirent.h: Likewise.
14903 * dlfcn/dlfcn.h: Likewise.
14904 * elf/neededtest4.c: Likewise.
14905 * grp/grp.h: Likewise.
14906 * gshadow/gshadow.h: Likewise.
14907 * iconv/gconv.h: Likewise.
14908 * iconv/gconv_int.h: Likewise.
14909 * iconv/gconv_simple.c: Likewise.
14910 * iconv/iconv.h: Likewise.
14911 * iconv/loop.c: Likewise.
14912 * iconv/skeleton.c: Likewise.
14913 * include/aio.h: Likewise.
14914 * include/aliases.h: Likewise.
14915 * include/argz.h: Likewise.
14916 * include/arpa/inet.h: Likewise.
14917 * include/assert.h: Likewise.
14918 * include/dirent.h: Likewise.
14919 * include/dlfcn.h: Likewise.
14920 * include/execinfo.h: Likewise.
14921 * include/fcntl.h: Likewise.
14922 * include/fenv.h: Likewise.
14923 * include/glob.h: Likewise.
14924 * include/grp.h: Likewise.
14925 * include/libintl.h: Likewise.
14926 * include/mntent.h: Likewise.
14927 * include/netdb.h: Likewise.
14928 * include/pwd.h: Likewise.
14929 * include/rpc/netdb.h: Likewise.
14930 * include/sched.h: Likewise.
14931 * include/search.h: Likewise.
14932 * include/shadow.h: Likewise.
14933 * include/signal.h: Likewise.
14934 * include/stdio.h: Likewise.
14935 * include/stdlib.h: Likewise.
14936 * include/string.h: Likewise.
14937 * include/sys/socket.h: Likewise.
14938 * include/sys/stat.h: Likewise.
14939 * include/sys/statfs.h: Likewise.
14940 * include/sys/statvfs.h: Likewise.
14941 * include/sys/syslog.h: Likewise.
14942 * include/sys/time.h: Likewise.
14943 * include/sys/uio.h: Likewise.
14944 * include/time.h: Likewise.
14945 * include/unistd.h: Likewise.
14946 * include/utmp.h: Likewise.
14947 * include/wchar.h: Likewise.
14948 * include/wctype.h: Likewise.
14949 * inet/aliases.h: Likewise.
14950 * inet/arpa/inet.h: Likewise.
14951 * inet/netinet/ether.h: Likewise.
14952 * inet/netinet/in.h: Likewise.
14953 * intl/libintl.h: Likewise.
14954 * io/bits/fcntl2.h: Likewise.
14955 * io/fcntl.h: Likewise.
14956 * io/ftw.h: Likewise.
14957 * io/sys/poll.h: Likewise.
14958 * io/sys/stat.h: Likewise.
14959 * io/sys/statfs.h: Likewise.
14960 * io/sys/statvfs.h: Likewise.
14961 * io/utime.h: Likewise.
14962 * libio/bits/stdio.h: Likewise.
14963 * libio/bits/stdio2.h: Likewise.
14964 * libio/libio.h: Likewise.
14965 * libio/libioP.h: Likewise.
14966 * libio/stdio.h: Likewise.
14967 * locale/lc-ctype.c: Likewise.
14968 * locale/locale.h: Likewise.
14969 * login/utmp.h: Likewise.
14970 * malloc/arena.c: Likewise.
14971 * malloc/malloc.c: Likewise.
14972 * malloc/malloc.h: Likewise.
14973 * malloc/mcheck.c: Likewise.
14974 * malloc/mtrace.c: Likewise.
14975 * math/bits/mathcalls.h: Likewise.
14976 * math/fenv.h: Likewise.
14977 * math/math_private.h: Likewise.
14978 * misc/bits/error.h: Likewise.
14979 * misc/bits/syslog.h: Likewise.
14980 * misc/err.h: Likewise.
14981 * misc/error.h: Likewise.
14982 * misc/fstab.h: Likewise.
14983 * misc/mntent.h: Likewise.
14984 * misc/regexp.h: Likewise.
14985 * misc/search.h: Likewise.
14986 * misc/sgtty.h: Likewise.
14987 * misc/sys/mman.h: Likewise.
14988 * misc/sys/syslog.h: Likewise.
14989 * misc/sys/uio.h: Likewise.
14990 * misc/sys/xattr.h: Likewise.
14991 * misc/ttyent.h: Likewise.
14992 * nis/rpcsvc/ypclnt.h: Likewise.
14993 * nss/nss.h: Likewise.
14994 * posix/bits/unistd.h: Likewise.
14995 * posix/fnmatch.h: Likewise.
14996 * posix/glob.h: Likewise.
14997 * posix/sched.h: Likewise.
14998 * posix/spawn.h: Likewise.
14999 * posix/sys/wait.h: Likewise.
15000 * posix/unistd.h: Likewise.
15001 * posix/wordexp.h: Likewise.
15002 * pwd/pwd.h: Likewise.
15003 * resolv/netdb.h: Likewise.
15004 * resource/sys/resource.h: Likewise.
15005 * rt/aio.h: Likewise.
15006 * rt/bits/mqueue2.h: Likewise.
15007 * rt/mqueue.h: Likewise.
15008 * shadow/shadow.h: Likewise.
15009 * signal/signal.h: Likewise.
15010 * socket/send.c: Likewise.
15011 * socket/sendto.c: Likewise.
15012 * socket/sys/socket.h: Likewise.
15013 * stdio-common/printf.h: Likewise.
15014 * stdlib/bits/stdlib.h: Likewise.
15015 * stdlib/fmtmsg.h: Likewise.
15016 * stdlib/monetary.h: Likewise.
15017 * stdlib/stdlib.h: Likewise.
15018 * stdlib/ucontext.h: Likewise.
15019 * streams/stropts.h: Likewise.
15020 * string/argz.h: Likewise.
15021 * string/bits/string2.h: Likewise.
15022 * string/string.h: Likewise.
15023 * string/strings.h: Likewise.
15024 * sunrpc/rpc/auth.h: Likewise.
15025 * sunrpc/rpc/auth_des.h: Likewise.
15026 * sunrpc/rpc/clnt.h: Likewise.
15027 * sunrpc/rpc/netdb.h: Likewise.
15028 * sunrpc/rpc/pmap_clnt.h: Likewise.
15029 * sunrpc/rpc/xdr.h: Likewise.
15030 * sysdeps/generic/inttypes.h: Likewise.
15031 * sysdeps/generic/net/if.h: Likewise.
15032 * sysdeps/generic/sys/swap.h: Likewise.
15033 * sysdeps/gnu/net/if.h: Likewise.
15034 * sysdeps/gnu/utmpx.h: Likewise.
15035 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
15036 * sysdeps/i386/i486/bits/string.h: Likewise.
15037 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
15038 * sysdeps/s390/bits/string.h: Likewise.
15039 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
15040 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
15041 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
15042 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
15043 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
15044 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
15045 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
15046 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
15047 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
15048 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
15049 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
15050 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15051 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
15052 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15053 * sysdeps/unix/sysv/linux/readv.c: Likewise.
15054 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
15055 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15056 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15057 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15058 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15059 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
15060 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
15061 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
15062 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
15063 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
15064 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
15065 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
15066 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15067 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
15068 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
15069 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
15070 * sysvipc/sys/ipc.h: Likewise.
15071 * sysvipc/sys/msg.h: Likewise.
15072 * sysvipc/sys/sem.h: Likewise.
15073 * sysvipc/sys/shm.h: Likewise.
15074 * termios/termios.h: Likewise.
15075 * time/sys/time.h: Likewise.
15076 * time/time.h: Likewise.
15077 * wcsmbs/bits/wchar2.h: Likewise.
15078 * wcsmbs/uchar.h: Likewise.
15079 * wcsmbs/wchar.h: Likewise.
15080 * wctype/wctype.h: Likewise.
15083 * Makeconfig: Remove all but ELF support including AIX support.
15084 * Makerules: Likewise.
15085 * config.h.in: Likewise.
15086 * config.make.in: Likewise.
15087 * configure: Likewise.
15088 * configure.in: Likewise.
15089 * csu/Makefile: Likewise.
15090 * csu/version.c: Likewise.
15091 * debug/Makefile: Likewise.
15092 * dlfcn/Makefile: Likewise.
15093 * elf/Makefile: Likewise.
15094 * extra-lib.mk: Likewise.
15095 * iconv/Makefile: Likewise.
15096 * include/libc-symbols.h: Likewise.
15097 * include/shlib-compat.h: Likewise.
15098 * resolv/Makefile: Likewise.
15099 * resolv/res_libc.c: Likewise.
15100 * rt/Makefile: Likewise.
15101 * sysdeps/i386/asm-syntax.h: Likewise.
15102 * sysdeps/i386/sysdep.h: Likewise.
15103 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15104 * sysdeps/mach/sysdep.h: Likewise.
15105 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
15106 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
15107 * sysdeps/s390/asm-syntax.h: Likewise.
15108 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15109 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15110 * sysdeps/sh/sysdep.h: Likewise.
15111 * sysdeps/unix/sparc/sysdep.h: Likewise.
15112 * sysdeps/wordsize-32/divdi3.c: Likewise.
15113 * sysdeps/x86_64/sysdep.h: Likewise.
15115 * argp/Versions: Remove _argp_unlock_xxx.
15118 * abilist/ld.abilist: Update. Adjust for removal of tls option.
15119 * abilist/libBrokenLocale.abilist: Likewise.
15120 * abilist/libanl.abilist: Likewise.
15121 * abilist/libc.abilist: Likewise.
15122 * abilist/libcrypt.abilist: Likewise.
15123 * abilist/libdl.abilist: Likewise.
15124 * abilist/libm.abilist: Likewise.
15125 * abilist/libnsl.abilist: Likewise.
15126 * abilist/libpthread.abilist: Likewise.
15127 * abilist/libresolv.abilist: Likewise.
15128 * abilist/librt.abilist: Likewise.
15129 * abilist/libthread_db.abilist: Likewise.
15130 * abilist/libutil.abilist: Likewise.
15131 * abilist/libnss_db.abilist: New file.
15133 * scripts/abilist.awk: Add support for indirect functions.
15135 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
15137 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
15139 * shlib-versions: Remove entries for ports architectures.
15141 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
15143 * elf/stackguard-macros.h: Remove support for IA-64.
15144 * elf/tst-auditmod1.c: Likewise.
15145 * sysdeps/generic/ldsodefs.h: Likewise.
15147 * sysdeps/unix/sysv/linux/configure.in: Ports should define
15148 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
15152 * configure.in: Remove --enable-omitfp support.
15154 * config.make.in: Likewise.
15155 * Makeconfig: Likewise.
15156 * manual/install.texi: Likewise.
15158 In case anyone cares, the IA-64 architecture could move to ports.
15159 * sysdeps/ia64/*: Removed.
15160 * sysdeps/unix/sysv/linux/ia64/*: Removed.
15161 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
15164 * configure.in: Remove entries for unsupported architectures.
15167 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
15168 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
15170 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
15171 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
15172 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
15173 fall back to using wcrtomb.
15174 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
15175 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
15177 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
15178 * wcsmbs/tst-c16c32-1.c: New file.
15180 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
15183 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
15185 * elf/tst-unique3.cc: Add explicit declaration of gets.
15186 * elf/tst-unique3lib.cc: Likewise.
15187 * elf/tst-unique3lib2.cc: Likewise.
15188 * elf/tst-unique4.cc: Likewise.
15190 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
15192 2012-01-06 Joseph Myers <joseph@codesourcery.com>
15195 * assert/assert.h (static_assert): Don't define for C++.
15196 * libio/stdio.h (gets): Do declare for C++ <= C++11.
15197 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
15199 2012-01-03 Ulrich Drepper <drepper@gmail.com>
15201 * iconv/loop.c (single loop): Fix assertion in storing of
15204 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
15206 2012-01-01 Ulrich Drepper <drepper@gmail.com>
15208 * posix/getconf.c: Update copyright year.
15209 * nss/getent.c: Likewise.
15210 * nss/makedb.c: Likewise.
15211 * iconv/iconvconfig.c: Likewise.
15212 * iconv/iconv_prog.c: Likewise.
15213 * elf/ldconfig.c: Likewise.
15214 * elf/pldd.c: Likewise.
15215 * elf/sotruss.ksh: Likewise.
15216 * catgets/gencat.c: Likewise.
15217 * csu/version.c: Likewise.
15218 * elf/ldd.bash.in: Likewise.
15219 * elf/sprof.c (print_version): Likewise.
15220 * locale/programs/locale.c: Likewise.
15221 * locale/programs/localedef.c: Likewise.
15222 * login/programs/pt_chown.c: Likewise.
15223 * nscd/nscd.c (print_version): Likewise.
15224 * debug/xtrace.sh: Likewise.
15225 * malloc/memusage.sh: Likewise.
15226 * malloc/mtrace.pl: Likewise.
15227 * debug/catchsegv.sh: Likewise.
15229 2011-12-30 Jakub Jelinek <jakub@redhat.com>
15231 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
15234 2011-12-24 Ulrich Drepper <drepper@gmail.com>
15237 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
15238 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
15240 * iconv/gconv_int.h: Likewise.
15241 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
15242 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
15243 from libc for GLIBC_2.16.
15244 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
15245 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
15246 * wcsmbs/uchar.h: Really define mbstate_t.
15247 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
15248 * wcsmbs/c16rtomb.c: New file.
15249 * wcsmbs/mbrtoc16.c: New file.
15250 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
15251 for C/POSIX locale.
15252 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
15253 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
15255 * wcsmbs/wchar.h: Add missing __restrict.
15257 2011-12-23 Ulrich Drepper <drepper@gmail.com>
15260 * time/Makefile (routines): Add timespec_get.
15261 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
15262 * time/time.h: Define TIME_UTC and declare timespec_get. Define
15263 timespec for ISO C11.
15264 * time/timespec_get.c: New file.
15265 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
15266 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
15269 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
15270 * stdlib/stdlib.h: Declare aligned_alloc.
15271 * Versions.def: Add GLIBC_2.16 for libc.
15272 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
15275 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
15278 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
15282 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
15285 * assert/assert.h (static_assert): Define.
15287 * version.h: Update for 2.16 development version.
15290 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
15293 * version.h (RELEASE): Bump for 2.15 release.
15294 * include/features.h (__GLIBC_MINOR__): Bump to 15.
15296 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
15297 Patch by Marek Polacek <mpolacek@redhat.com>.
15299 * bits/byteswap.h: Protect long long constants with __extension__.
15300 * sysdeps/i386/bits/byteswap.h: Likewise.
15301 * sysdeps/ia64/bits/byteswap.h: Likewise.
15302 * sysdeps/s390/bits/byteswap.h: Likewise.
15303 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15305 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15308 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
15309 destination buffer.
15310 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
15312 2011-12-23 Marek Polacek <polacek@redhat.com>
15314 * elf/dl-addr.c (determine_info): Add inline keyword.
15315 * elf/tst-auditmod4b.c (check_avx): Likewise.
15316 * elf/tst-auditmod6b.c (check_avx): Likewise.
15317 * elf/tst-auditmod6c.c (check_avx): Likewise.
15318 * elf/tst-auditmod7b.c (check_avx): Likewise.
15320 2011-12-23 Ulrich Drepper <drepper@gmail.com>
15322 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
15325 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15328 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
15329 processing for last bytes.
15331 2011-08-06 Bruno Haible <bruno@clisp.org>
15334 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
15335 U+0385, not to U+1FEE.
15338 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
15339 entry for U+00A5 U+0301.
15341 2011-12-22 Ulrich Drepper <drepper@gmail.com>
15344 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
15345 buffer for the output is too small.
15347 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
15351 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
15352 SSE flags if possible.
15354 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15357 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
15358 processing for last bytes.
15360 2011-12-22 Joseph Myers <joseph@codesourcery.com>
15362 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
15363 (syscall-list-default-options, syscall-list-default-condition)
15364 (syscall-list-includes): Define.
15365 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
15366 list of ABIs and options and #if conditions for each ABI. Do not
15367 handle common syscalls between ABIs specially.
15368 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
15370 (syscall-list-variants, syscall-list-32bit-options)
15371 (syscall-list-32bit-condition, syscall-list-64bit-options)
15372 (syscall-list-64bit-condition): Define.
15373 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
15374 (syscall-list-variants, syscall-list-32bit-options)
15375 (syscall-list-32bit-condition, syscall-list-64bit-options)
15376 (syscall-list-64bit-condition): Define.
15377 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
15379 (syscall-list-variants, syscall-list-32bit-options)
15380 (syscall-list-32bit-condition, syscall-list-64bit-options)
15381 (syscall-list-64bit-condition): Define.
15382 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
15384 (syscall-list-variants, syscall-list-32bit-options)
15385 (syscall-list-32bit-condition, syscall-list-64bit-options)
15386 (syscall-list-64bit-condition): Define.
15388 2011-12-22 Ulrich Drepper <drepper@gmail.com>
15390 * locale/iso-639.def: Add brx entry.
15393 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
15394 Proposed by Mariusz_Cukr <marcukr@op.pl>.
15396 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
15397 __feraiseexcept_renamed.
15399 2011-12-21 Ulrich Drepper <drepper@gmail.com>
15402 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
15403 EPOLLET with unsigned values.
15404 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15405 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
15407 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
15408 to large cancellation.
15409 * math/s_cacoshf.c: Likewise.
15410 * math/s_cacoshl.c: Likewise.
15412 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
15416 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
15417 * math/s_cacoshf.c: Likewise.
15418 * math/s_cacoshl.c: Likewise.
15420 2011-12-21 Ulrich Drepper <drepper@gmail.com>
15423 * iconv/gconv.h: Define __GCONV_SWAP.
15424 * iconvdata/unicode.c: The swap bit must be stored in __flags.
15425 * iconvdata/utf-16.c: Likewise.
15426 * iconvdata/utf-32.c: Likewise.
15428 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
15431 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
15432 numerator after shifting it by one limb.
15434 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
15436 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
15437 under [__USE_EXTERN_INLINES].
15439 2011-12-17 Ulrich Drepper <drepper@gmail.com>
15442 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
15444 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15446 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
15447 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
15449 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
15450 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
15451 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
15452 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
15453 for strncasecmp/strncasecmp_l compilation.
15454 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
15455 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
15457 2011-12-08 Marek Polacek <mpolacek@redhat.com>
15460 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
15463 2011-12-17 Ulrich Drepper <drepper@gmail.com>
15466 * time/tzfile.c (__tzfile_read): Check values from file header.
15468 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
15470 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
15471 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
15472 * powerpc/powerpc32/dl-start.S: Likewise.
15473 * powerpc/powerpc32/elf/start.S: Likewise.
15474 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
15475 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
15476 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
15477 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
15478 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15479 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
15480 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
15481 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15482 * powerpc/powerpc32/fpu/s_round.S: Likewise.
15483 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15484 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15485 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15486 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
15487 * powerpc/powerpc32/memset.S: Likewise.
15488 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15489 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15490 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15491 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15492 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15493 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15494 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15495 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15496 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
15497 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
15498 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
15499 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15500 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15502 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15504 * math/libm-test.inc: Added more nearbyint tests.
15505 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
15506 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
15507 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
15508 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
15510 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
15512 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
15515 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15517 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
15518 Add wcscpy-ssse3 wcscpy-c.
15519 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
15520 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
15521 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
15522 * sysdeps/x86_64/wcschr.S: New file.
15523 * sysdeps/x86_64/wcsrchr.S: New file.
15524 * string/test-strcmp.c: Remove checking of wcscmp function for
15526 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
15527 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
15528 wcsrchr-sse2 wcsrchr-c.
15529 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
15530 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
15531 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
15532 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
15533 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
15534 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
15535 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
15536 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
15537 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
15538 * wcsmbc/wcschr.c (WCSCHR): New macro.
15540 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15542 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
15543 * wcsmbs/test-wcsrchr.c: New file.
15544 * string/test-strrchr.c: Add wcsrchr support.
15546 * wcsmbs/test-wcscpy.c: New file.
15547 * string/test-strcpy.c: Add wcscpy support.
15550 2011-12-10 Ulrich Drepper <drepper@gmail.com>
15552 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
15555 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
15558 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
15560 2011-12-04 Ulrich Drepper <drepper@gmail.com>
15562 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
15563 Minor optimizations.
15565 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
15566 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
15567 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
15569 2011-12-03 Ulrich Drepper <drepper@gmail.com>
15571 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
15572 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
15573 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
15574 for gcc to avoid warnings.
15575 * inet/Makefile (tests): Add tst-checks.
15576 * inet/tst-checks.c: New file.
15578 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
15581 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
15584 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
15585 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
15587 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
15589 2011-12-02 Ulrich Drepper <drepper@gmail.com>
15591 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
15594 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
15596 2011-11-29 Joseph Myers <joseph@codesourcery.com>
15598 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
15599 conditional on GCC version.
15600 (__arch_compare_and_exchange_val_8_acq)
15601 (__arch_compare_and_exchange_val_16_acq)
15602 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
15603 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
15604 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
15606 2011-12-02 Joseph Myers <joseph@codesourcery.com>
15608 * sysdeps/sh/backtrace.c: New file.
15610 2011-12-02 Andreas Schwab <schwab@redhat.com>
15612 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
15615 2011-12-01 Andreas Schwab <schwab@redhat.com>
15617 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
15618 falling back to utime.
15620 2011-11-30 Andreas Schwab <schwab@redhat.com>
15622 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
15623 expectations for float.
15625 2011-11-29 Andreas Schwab <schwab@redhat.com>
15627 * locale/weight.h (findidx): Add parameter len.
15628 * locale/weightwc.h (findidx): Likewise.
15629 * posix/fnmatch_loop.c (FCT): Adjust caller.
15630 * posix/regcomp.c (build_equiv_class): Likewise.
15631 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
15632 * posix/regexec.c (check_node_accept_bytes): Likewise.
15633 * string/strcoll_l.c (STRCOLL): Likewise.
15634 * string/strxfrm_l.c (STRXFRM): Likewise.
15636 2011-11-17 Ulrich Drepper <drepper@gmail.com>
15638 * Makefile.in: Remove CVSOPT handling.
15639 * configure.in: Remove use of AC_REVISION.
15640 * iconvdata/Makefile (distribute): No need to filter out CVS.
15641 * scripts/list-sources.sh: Remove CVS, subversion and monotone
15644 2011-11-16 Andreas Schwab <schwab@redhat.com>
15646 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
15647 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
15648 [USE_AS_STRNCASECMP_L]: Likewise.
15649 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
15650 NO_TLS_DIRECT_SEG_REFS.
15651 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
15652 Fix argument offsets for non-PIC.
15653 [USE_AS_STRNCASECMP_L]: Likewise.
15654 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
15655 NO_TLS_DIRECT_SEG_REFS.
15657 2011-11-15 Ulrich Drepper <drepper@gmail.com>
15659 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
15661 * locale/loadlocale.c (_nl_load_locale): Likewise.
15663 2011-11-15 Andreas Schwab <schwab@redhat.com>
15665 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
15666 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
15667 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
15668 (SYSCALL_GETTIME): Set errno on error.
15670 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
15671 count references to noai6ai_cached.
15673 2011-11-15 Ulrich Drepper <drepper@gmail.com>
15675 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
15677 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
15678 FD_CLOEXEC for /proc/self/maps.
15680 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
15681 FD_CLOEXEC for /proc/meminfo.
15683 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
15686 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
15687 FD_CLOEXEC for given file.
15689 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
15691 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
15692 FD_CLOEXEC for /etc/hosts.
15693 (_gethtent): Likewise.
15695 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
15697 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
15698 cancellation and set FD_CLOEXEC for /etc/netgroup.
15700 * nss/nss_files/files-key.c (search): Don't allow cancellation when
15701 reading /etc/publickey.
15703 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
15704 allow cancellation when reading /etc/group.
15706 * nss/nss_files/files-alias.c (internal_setent): Don't allow
15708 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
15710 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
15711 when using data file.
15713 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
15715 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
15716 (write_nis_obj): Use "c" and "e" in fopen.
15718 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
15720 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
15722 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
15724 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
15726 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
15729 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
15731 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
15733 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
15735 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
15736 file parsing and set FD_CLOEXEC.
15738 2011-11-14 Ulrich Drepper <drepper@gmail.com>
15740 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
15742 2011-11-14 Andreas Schwab <schwab@redhat.com>
15744 * malloc/arena.c (arena_get2): Don't call reused_arena when
15745 _int_new_arena failed.
15747 2011-11-14 Ulrich Drepper <drepper@gmail.com>
15749 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
15750 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
15751 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
15752 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15753 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15754 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
15755 to compile strcasecmp and strncasecmp.
15756 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
15757 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
15759 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
15761 2011-11-13 Ulrich Drepper <drepper@gmail.com>
15763 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
15764 locale-defines.sym to gen-as-const-headers.
15765 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
15766 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
15767 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
15768 to compile strcasecmp and strncasecmp.
15769 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
15770 strcasecmp_l and strncasecmp_l.
15771 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
15772 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
15773 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
15774 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
15775 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
15776 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
15777 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
15778 * sysdeps/i386/i686/multiarch/strncase.S: New file.
15779 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
15780 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
15781 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
15783 2011-11-12 Ulrich Drepper <drepper@gmail.com>
15785 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
15786 result of SYSDEP_GETTIME_CPU to retval.
15787 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
15788 parameter list to macro. Remove trailing semicolon. Adjust users.
15790 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
15793 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
15795 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
15797 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
15798 from unused variable.
15800 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
15802 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
15805 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
15808 * sunrpc/rpc_prot.c (rejected): Fix case value.
15810 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
15811 unsigned long long int to avoid warnings in shift.
15813 * posix/regex_internal.c (re_string_reconstruct): Actually use result
15815 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
15818 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
15819 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
15820 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
15822 * nis/nis_table.c (nis_list): Use variable of correct type for
15823 result of __follow_path call.
15825 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15827 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
15828 of math functions ceil, trunc, floor, round, and sqrt, when
15829 avaliable on the platform.
15830 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
15832 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15833 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
15834 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
15836 2011-10-30 Marek Polacek <mpolacek@redhat.com>
15838 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
15839 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
15841 2011-11-11 Roland McGrath <roland@hack.frob.com>
15843 * include/unistd.h: Fix __readlink return type.
15844 Reported by Chris Metcalf <cmetcalf@tilera.com>.
15846 2011-11-11 Ulrich Drepper <drepper@gmail.com>
15848 * stdlib/ucontext.h: Undo last change for makecontext.
15850 2011-11-11 Andreas Schwab <schwab@redhat.com>
15852 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
15854 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
15855 * setjmp/setjmp.h: Mark functions as non-leaf.
15856 * setjmp/bits/setjmp2.h: Likewise.
15857 * stdlib/ucontext.h: Likewise.
15859 2011-11-10 Andreas Schwab <schwab@redhat.com>
15861 * malloc/arena.c (_int_new_arena): Don't increment narenas.
15862 (reused_arena): Don't check arena limit.
15863 (arena_get2): Atomically check arena limit.
15865 2011-11-08 Ulrich Drepper <drepper@gmail.com>
15867 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
15868 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
15870 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
15873 2011-11-07 Andreas Schwab <schwab@redhat.com>
15875 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
15876 handler when locking.
15878 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15879 Fix size of allocated buffer.
15881 2011-11-04 Andreas Schwab <schwab@redhat.com>
15884 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
15885 declarations for long double functions.
15886 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
15888 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
15890 2011-11-03 Andreas Schwab <schwab@redhat.com>
15892 * nscd/nscd.c (main): Don't start AVC thread until credentials are
15895 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
15898 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15900 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
15902 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
15904 * include/alloca.h (stackinfo_alloca_round): Define.
15905 (extend_alloca): Use it.
15906 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
15907 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
15910 * scripts/check-local-headers.sh: Ignore libaudit.h.
15912 * nscd/Makefile (extra-objs): Make recursively expanded.
15914 2011-11-01 Ulrich Drepper <drepper@gmail.com>
15916 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
15917 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
15919 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
15920 * posix/tst-rfc3484-2.c: Likewise.
15921 * posix/tst-rfc3484-3.c: Likewise.
15923 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
15925 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
15927 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
15928 process_vm_writev from libc using GLIBC_2.15 version.
15930 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
15932 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
15934 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
15937 2011-10-31 Ulrich Drepper <drepper@gmail.com>
15940 * nss/getent.c (initgroups_keys): Show error message in case no group
15943 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
15944 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
15945 __bump_nl_timestamp.
15946 * nscd/connections (nscd_init): When host database is served open
15947 netlink socket and request notification about configuration changes.
15948 (main_loop_poll): Track netlink file descriptor and bump timestamp
15949 in case data becomes available.
15950 (main_loop_epoll): Likewise.
15951 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
15952 (database_pers_head): Add extra_data fileds.
15953 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
15954 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
15955 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
15957 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
15958 in6ai data, call __free_in6ai.
15959 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
15960 Add -DHAVE_NETLINK.
15961 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
15962 interface information. Reuse previous data if netlink timestamp
15964 (__bump_nl_timestamp): New function.
15965 (__free_in6ai): New function.
15967 2011-10-30 Ulrich Drepper <drepper@gmail.com>
15969 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
15970 close_not_cancel_no_status here.
15971 (__check_pf): Reorganize code a bit to not call close twice if OOM.
15973 2011-10-29 Ulrich Drepper <drepper@gmail.com>
15976 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
15979 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
15980 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
15981 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
15983 2011-07-03 Andreas Jaeger <aj@suse.de>
15986 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
15987 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
15988 * math/libm-test.inc (sin_test): Add test case.
15990 2011-10-29 Ulrich Drepper <drepper@gmail.com>
15993 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
15994 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
15996 * elf/chroot_canon.c (chroot_canon): Cleanups.
15998 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
16001 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
16002 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16004 * string/test-strchr.c: Make usable for strchrnul testing.
16005 * string/test-strchrnul.c: New file.
16006 * string/Makefile (strop-tests): Add strchrnul.
16008 * po/it.po: Update from translation team.
16009 * po/es.po: Likewise.
16011 2011-10-28 Ulrich Drepper <drepper@gmail.com>
16013 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
16014 the three constants needed as parameters. Drop the others.
16015 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
16016 __m128i_strloadu_tolower.
16017 Create and initialize variable zero and use it in all the places
16018 where _mm_setzero_si128 was used.
16020 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
16021 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
16022 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
16023 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
16025 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
16026 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
16027 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
16028 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
16029 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
16030 __mpranred, __mptan.
16031 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
16032 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
16033 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
16034 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
16035 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
16036 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
16037 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
16038 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
16039 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
16041 2011-10-28 Andreas Schwab <schwab@redhat.com>
16043 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
16044 redefine if SHARED.
16045 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
16047 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
16048 wide char related routines to wcsmbs subdir.
16050 2011-10-27 Andreas Schwab <schwab@redhat.com>
16053 * misc/sys/cdefs.h (__THROWNL): Define.
16054 * posix/unistd.h: Use __THREADNL instead of __THREAD
16055 for memory synchronization functions.
16057 2011-10-26 Roland McGrath <roland@hack.frob.com>
16060 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
16062 * manual/stdio.texi (Obstack Streams): Node removed.
16064 2011-10-26 Andreas Schwab <schwab@redhat.com>
16066 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
16067 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16068 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16070 * math/math_private.h (math_force_eval): Allow non-addressable
16072 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
16074 2011-10-25 Ulrich Drepper <drepper@gmail.com>
16076 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
16077 file is not needed.
16079 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
16080 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
16081 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16082 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16083 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16084 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16085 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16086 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
16088 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
16089 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
16090 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
16091 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
16092 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
16093 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
16094 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
16095 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
16096 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
16097 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
16098 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
16099 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
16100 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
16101 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
16102 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
16103 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
16104 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
16105 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
16106 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
16108 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
16109 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
16111 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
16112 place. Use VEX encoding when compiling for AVX.
16114 2011-10-25 Andreas Schwab <schwab@redhat.com>
16116 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
16117 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16119 * string/test-strchr.c (do_test): Don't generate NUL bytes.
16121 2011-10-25 Ulrich Drepper <drepper@gmail.com>
16123 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
16124 useless if() expression.
16125 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16126 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16127 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16128 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16129 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16130 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16131 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16132 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16133 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16134 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16135 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16136 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16137 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16138 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16139 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16140 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16141 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16142 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16143 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16145 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
16147 2011-10-25 Andreas Schwab <schwab@redhat.com>
16149 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
16151 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16153 2011-10-25 Ulrich Drepper <drepper@gmail.com>
16155 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
16156 .text section. Avoid duplicate constants.
16157 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16158 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16159 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16160 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16161 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16162 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16163 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16164 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16165 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16166 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
16167 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16168 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16169 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
16170 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
16171 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
16172 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
16173 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
16174 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16175 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16176 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16177 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16178 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16179 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16180 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
16181 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
16182 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
16183 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
16184 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
16185 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
16186 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
16187 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
16188 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
16189 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16190 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
16191 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
16192 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
16193 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
16194 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
16195 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
16196 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
16197 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
16198 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
16199 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
16200 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
16201 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
16203 2011-10-24 Ulrich Drepper <drepper@gmail.com>
16205 * sysdeps/x86_64/dla.h: Move to ...
16206 * sysdeps/x86_64/fpu/dla.h: ...here.
16207 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
16208 situations. Use __builtin_fma only for gcc 4.6 and up.
16210 * config.make.in: Add have-mfma4 entry.
16211 * configure.in: Substitute libc_cv_cc_fma4.
16212 * math/Makefile (dbl-only-routines): Add sincostab.
16213 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
16214 Use __sincostab not sincos.
16215 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
16217 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16218 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16219 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16220 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
16222 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
16223 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
16224 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
16225 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
16227 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
16228 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
16230 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
16231 define aliases when function name is a macro.
16232 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
16233 sysdeps/ieee754/dbl-64/sincos.tbl.
16234 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
16235 fma4-enabled routines.
16236 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
16237 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
16238 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
16239 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
16240 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
16241 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
16242 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
16243 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
16244 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
16245 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
16246 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
16247 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
16248 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
16249 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
16250 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
16251 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
16252 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
16253 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
16254 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
16255 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
16256 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
16257 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
16258 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
16259 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
16260 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
16261 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
16262 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
16263 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
16264 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
16265 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
16267 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
16269 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16270 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16271 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16272 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16273 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16274 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16275 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16276 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16278 2011-10-24 Andreas Schwab <schwab@redhat.com>
16280 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
16282 2011-10-23 Ulrich Drepper <drepper@gmail.com>
16284 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
16286 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
16288 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
16290 * string/strnlen.c: Don't define STRNLEN, reverse logic.
16291 Remove unused variable magic_bits.
16292 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
16294 * string/strnlen.c: Define and use STRNLEN macro.
16295 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
16296 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
16297 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
16298 * wcsmbs/wcslen.c: Define and use WCSLEN.
16299 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
16300 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
16301 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
16302 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
16303 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
16304 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
16305 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
16307 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16309 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16310 strnlen-sse2-no-bsf.
16311 Rename strlen-no-bsf to strlen-sse2-no-bsf.
16312 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
16313 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
16314 Add strnlen support.
16315 (USE_AS_STRNLEN): New macro.
16316 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
16317 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
16318 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
16319 * sysdeps/x86_64/wcslen.S: New file.
16321 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
16323 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16324 XMM-moves are used for copying on small sizes.
16326 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16328 * wcsmbs/Makefile (strop-tests): Add wcschr.
16329 * wcsmbs/test-wcschr.c: New file.
16330 * string/test-strchr.c: Update.
16331 Add wcschr support.
16334 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16336 * wcsmbs/Makefile (strop-tests): Add wcslen.
16337 * wcsmbs/test-wcslen.c: New file.
16338 * string/test-strlen.c: Update.
16339 Add wcslen support.
16342 2011-10-23 Ulrich Drepper <drepper@gmail.com>
16344 * po/it.po: Update from translation team.
16346 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16348 * sysdeps/x86_64/wcscmp.S: Update.
16349 Fix wrong comparison semantics.
16350 wcscmp shall use signed comparison not unsigned.
16351 Don't use substraction to avoid overflow bug.
16352 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
16353 * wcsmbc/wcscmp.c: Likewise.
16354 * string/test-strcmp.c: Likewise.
16355 Add new tests to check cases with negative values.
16357 2011-10-23 Ulrich Drepper <drepper@gmail.com>
16359 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
16360 * sysdeps/x86_64/dla.h: ...here. New file.
16361 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
16362 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16363 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16364 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16365 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16366 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16367 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16368 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16369 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16371 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
16373 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
16374 __ynl_finite aliases.
16376 2011-10-22 Ulrich Drepper <drepper@gmail.com>
16378 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16380 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
16382 [DLA_FMA] (EMULV): Use DLA_FMA.
16383 [DLA_FMA] (MUL12): Use EMULV.
16384 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
16385 that are not needed.
16386 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16387 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16388 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16389 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16390 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16391 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16392 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16394 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
16396 * math/s_nan.c: Undef __nan.
16397 * math/s_nanf.c: Undef __nanf.
16398 * math/s_nanl.c: Undef __nanl.
16399 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
16402 2011-10-22 Ulrich Drepper <drepper@gmail.com>
16404 * math/s_catan.c: Add branch predictions.
16405 * math/s_catanf.c: Likewise.
16406 * math/s_catanh.c: Likewise.
16407 * math/s_catanhf.c: Likewise.
16408 * math/s_catanhl.c: Likewise.
16409 * math/s_catanl.c: Likewise.
16410 * math/s_cexp.c: Likewise.
16411 * math/s_cexpf.c: Likewise.
16412 * math/s_cexpl.c: Likewise.
16413 * math/s_clog.c: Likewise.
16414 * math/s_clog10.c: Likewise.
16415 * math/s_clog10f.c: Likewise.
16416 * math/s_clog10l.c: Likewise.
16417 * math/s_clogf.c: Likewise.
16418 * math/s_clogl.c: Likewise.
16419 * math/s_csqrt.c: Likewise.
16420 * math/s_csqrtf.c: Likewise.
16421 * math/s_csqrtl.c: Likewise.
16422 * math/s_ctanf.c: Likewise.
16423 * math/s_ctanh.c: Likewise.
16424 * math/s_ctanhf.c: Likewise.
16425 * math/s_ctanhl.c: Likewise.
16426 * math/s_ctanl.c: Likewise.
16428 * math/math_private.h: Define __nan, __nanf, __nanl.
16429 * math/s_cacosh.c: Include <math_private.h>.
16430 * math/s_cacoshl.c: Likewise.
16431 * math/s_casinh.c: Likewise.
16432 * math/s_casinhf.c: Likewise.
16433 * math/s_casinhl.c: Likewise.
16434 * math/s_ccos.c: Rely entire on ccosh.
16435 * math/s_ccosf.c: Rely entire on ccoshf.
16436 * math/s_ccosl.c: Rely entirely on ccoshl.
16437 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
16438 Remove tests for FE_INVALID.
16439 * math/s_ccoshf.c: Likewise.
16440 * math/s_ccoshl.c: Likewise.
16441 * math/s_csin.c: Likewise.
16442 * math/s_csinf.c: Likewise.
16443 * math/s_csinh.c Likewise.
16444 * math/s_csinhf.c: Likewise.
16445 * math/s_csinhl.c: Likewise.
16446 * math/s_csinl.c: Likewise.
16447 * math/s_ctan.c: Likewise.
16448 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
16449 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
16450 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
16452 2011-10-21 Ulrich Drepper <drepper@gmail.com>
16454 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
16455 compilation problems.
16457 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
16460 2011-10-20 Ulrich Drepper <drepper@gmail.com>
16462 * sysdeps/i386/configure.in: Test for -mfma4 option.
16463 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
16464 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
16465 COMMON_CPUID_INDEX_80000001.
16466 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
16467 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
16468 use it if FMA3 is not supported.
16469 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
16471 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
16472 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
16474 2011-10-20 Andreas Schwab <schwab@redhat.com>
16477 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
16478 it would create a cycle with a link time dependency.
16480 2011-10-19 Ulrich Drepper <drepper@gmail.com>
16482 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
16484 * string/Makefile (strop-tests): Add rawmemchr.
16485 * string/test-rawmemchr.c: New file.
16487 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
16488 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
16489 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
16490 when compiling str{,n}casecmp and when AVX is available. Hook up
16491 new optimized code in initializers.
16493 2011-10-19 Andreas Schwab <schwab@redhat.com>
16495 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
16496 __feraiseexcept instead of feraiseexcept.
16498 2011-10-18 Ulrich Drepper <drepper@gmail.com>
16500 * math/math_private.h: Define defaults for libc_fetestexcept and
16502 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
16503 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
16504 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
16505 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
16506 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16507 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
16508 libc_fetestexcept and libc_feupdateenv.
16510 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
16511 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
16512 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
16513 * sysdeps/x86_64/fpu/math_private.h: Define special version of
16514 libc_feholdexcept_setround.
16516 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
16517 Add s_nearbyint-c and s_nearbyintf-c.
16518 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
16519 nearbyintf inlines.
16520 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
16521 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
16522 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
16523 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
16525 * math/math_private.h: Define defaults for libc_fegetround,
16526 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
16527 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
16528 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
16529 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
16530 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
16531 standard functions.
16532 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16533 Remove comments and hacks for old compiler versions.
16534 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
16535 libc_fegetround, libc_fesetround, libc_feholdexcept, and
16536 libc_feholdexceptl.
16538 2011-10-18 Andreas Schwab <schwab@redhat.com>
16540 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
16541 (__feraiseexcept_renamed): Add __NTH.
16542 (feraiseexcept): Add __NTH. Rename local variables to fix
16543 namespace violations.
16545 2011-10-17 Ulrich Drepper <drepper@gmail.com>
16547 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
16549 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
16551 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
16552 recently added interfaces.
16553 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
16555 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
16556 about macro parameter expansion.
16558 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
16559 __NO_MATH_INLINES is defined. Cleanups.
16561 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
16562 and __floorf is target has SSE4.1.
16563 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
16564 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
16565 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
16566 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
16568 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
16570 (floorf): Likewise.
16572 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
16574 2011-10-17 Andreas Schwab <schwab@redhat.com>
16576 * misc/sys/cdefs.h: Fix last change.
16578 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
16581 2011-10-16 Ulrich Drepper <drepper@gmail.com>
16583 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
16585 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
16586 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16587 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16588 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16589 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16590 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
16591 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16592 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16593 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
16594 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
16595 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
16596 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
16597 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
16598 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
16599 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
16600 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
16601 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
16602 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
16603 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
16604 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
16605 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
16606 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
16608 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
16609 ceil, ceilf, floor, floorf.
16611 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
16612 Perform IRELATIVE relocations last.
16614 * elf/do-rel.h: Add another parameter nrelative, replacing the
16615 local variable with the same name. Change name of the function
16616 to end in Rel or Rela (uppercase).
16617 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
16618 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
16619 elf_dynamic_do_##reloc function.
16621 2011-10-15 Ulrich Drepper <drepper@gmail.com>
16623 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
16624 is sufficient, at least on modern CPUs.
16626 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
16628 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
16629 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
16631 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
16633 * math/bits/math-finite.h: Add entries for exp.
16634 * math/e_expl.c: Add __*_finite alias.
16635 * sysdeps/i386/fpu/e_exp.S: Likewise.
16636 * sysdeps/i386/fpu/e_expf.S: Likewise.
16637 * sysdeps/i386/fpu/e_expl.c: Likewise.
16638 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16639 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
16640 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16641 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16642 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
16643 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
16644 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
16646 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
16647 is sufficient, at least on modern CPUs.
16649 * ctype/ctype-info.c (__ctype_init): Define.
16650 * include/ctype.h (__ctype_init): Declare.
16651 (__ctype_b_loc): The variable is always initialized.
16652 (__ctype_toupper_loc): Likewise.
16653 (__ctype_tolower_loc): Likewise.
16654 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
16655 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
16657 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
16659 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
16661 * configure.in: Also look in $cxxmachine/include for C++ system
16664 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16666 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
16667 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
16668 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
16669 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
16670 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
16671 (USE_AS_WMEMCMP): New macro.
16673 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
16674 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
16675 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
16676 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
16677 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16678 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
16679 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
16680 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
16681 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
16682 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
16683 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
16684 (USE_AS_WMEMCMP): New macro.
16685 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
16686 * sysdeps/string/test-memcmp.c: Update.
16687 Fix simple_wmemcmp.
16689 * wcsmbs/wmemcmp.c: Update.
16690 (WMEMCMP): New macro.
16693 2011-10-12 Andreas Jaeger <aj@suse.de>
16696 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
16698 2011-10-15 Ulrich Drepper <drepper@gmail.com>
16700 * libio/iofwide.c (do_length): Avoid warning.
16702 * ctype/ctype.h (__isctype_f): Add missing __THROW.
16704 2011-10-14 Ulrich Drepper <drepper@gmail.com>
16706 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
16708 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
16709 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
16710 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
16711 * sysdeps/i386/i686/fpu/e_log.S: New file.
16712 * sysdeps/i386/i686/fpu/e_logf.S: New file.
16713 * sysdeps/i386/i686/fpu/e_logl.S: New file.
16715 * ctype/ctype.h: Add support for inlined isXXX functions when
16716 compiling C++ code.
16718 2011-10-14 Andreas Schwab <schwab@redhat.com>
16720 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16722 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
16724 2011-10-13 Roland McGrath <roland@hack.frob.com>
16727 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
16729 2011-10-13 Andreas Schwab <schwab@redhat.com>
16731 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
16732 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
16735 * sysdeps/x86_64/memrchr.S: Check for zero size.
16737 * string/stratcliff.c: Add memrchr tests.
16739 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16741 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16742 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
16743 rawmemchr-sse2 rawmemchr-sse2-bsf.
16744 * sysdeps/i386/i686/multiarch/memchr.S: New file.
16745 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
16746 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
16747 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
16748 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
16749 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
16750 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
16751 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
16752 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
16753 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
16754 * string/memrchr.c (MEMRCHR): New macro.
16756 2011-10-12 Ulrich Drepper <drepper@gmail.com>
16758 Add integration with gcc's -ffinite-math-only and optimize wrapper
16760 * Versions.def: Define GLIBC_2.15 version for libm.
16761 * math/Makefile (headers): Add bits/math-finite.h.
16762 * math/bits/math-finite.h: New file.
16763 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
16764 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
16765 * math/e_acoshl.c: Add __*_finite alias.
16766 * math/e_acosl.c: Likewise.
16767 * math/e_asinl.c: Likewise.
16768 * math/e_atan2l.c: Likewise.
16769 * math/e_atanhl.c: Likewise.
16770 * math/e_coshl.c: Likewise.
16771 * math/e_exp10.c: Likewise.
16772 * math/e_exp10f.c: Likewise.
16773 * math/e_exp10l.c: Likewise.
16774 * math/e_exp2l.c: Likewise.
16775 * math/e_fmodl.c: Likewise.
16776 * math/e_gammal_r.c: Likewise.
16777 * math/e_hypotl.c: Likewise.
16778 * math/e_j0l.c: Likewise.
16779 * math/e_j1l.c: Likewise.
16780 * math/e_jnl.c: Likewise.
16781 * math/e_lgammal_r.c: Likewise.
16782 * math/e_log10l.c: Likewise.
16783 * math/e_log2l.c: Likewise.
16784 * math/e_logl.c: Likewise.
16785 * math/e_powl.c: Likewise.
16786 * math/e_sinhl.c: Likewise.
16787 * math/e_sqrtl.c: Likewise.
16788 * math/e_scalb.c: Completely rewritten and optimized.
16789 * math/e_scalbf.c: Likewise.
16790 * math/e_scalbl.c: Likewise.
16791 * math/w_acos.c: Likewise.
16792 * math/w_acosf.c: Likewise.
16793 * math/w_acosl.c: Likewise.
16794 * math/w_acosh.c: Likewise.
16795 * math/w_acoshf.c: Likewise.
16796 * math/w_acoshl.c: Likewise.
16797 * math/w_asin.c: Likewise.
16798 * math/w_asinf.c: Likewise.
16799 * math/w_asinl.c: Likewise.
16800 * math/w_atan2.c: Likewise.
16801 * math/w_atan2f.c: Likewise.
16802 * math/w_atan2l.c: Likewise.
16803 * math/w_atanh.c: Likewise.
16804 * math/w_atanhf.c: Likewise.
16805 * math/w_atanhl.c: Likewise.
16806 * math/w_exp10.c: Likewise.
16807 * math/w_exp10f.c: Likewise.
16808 * math/w_exp10l.c: Likewise.
16809 * math/w_fmod.c: Likewise.
16810 * math/w_fmodf.c: Likewise.
16811 * math/w_fmodl.c: Likewise.
16812 * math/w_j0.c: Likewise.
16813 * math/w_j0f.c: Likewise.
16814 * math/w_j0l.c: Likewise.
16815 * math/w_j1.c: Likewise.
16816 * math/w_j1f.c: Likewise.
16817 * math/w_j1l.c: Likewise.
16818 * math/w_jn.c: Likewise.
16819 * math/w_jnf.c: Likewise.
16820 * math/w_log.c: Likewise.
16821 * math/w_logf.c: Likewise.
16822 * math/w_logl.c: Likewise.
16823 * math/w_log10.c: Likewise.
16824 * math/w_log10f.c: Likewise.
16825 * math/w_log10l.c: Likewise.
16826 * math/w_log2.c: Likewise.
16827 * math/w_log2f.c: Likewise.
16828 * math/w_log2l.c: Likewise.
16829 * math/w_pow.c: Likewise.
16830 * math/w_powf.c: Likewise.
16831 * math/w_powl.c: Likewise.
16832 * math/w_remainder.c: Likewise.
16833 * math/w_remainderf.c: Likewise.
16834 * math/w_remainderl.c: Likewise.
16835 * math/w_scalb.c: Likewise.
16836 * math/w_scalbf.c: Likewise.
16837 * math/w_scalbl.c: Likewise.
16838 * math/w_sqrt.c: Likewise.
16839 * math/w_sqrtf.c: Likewise.
16840 * math/w_sqrtl.c: Likewise.
16841 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
16842 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
16844 * math/math_private.h: Declare __kernel_standard_f.
16845 * math/w_cosh.c: Remove cruft and optimize a bit.
16846 * math/w_coshf.c: Likewise.
16847 * math/w_coshl.c: Likewise.
16848 * math/w_exp2.c: Likewise.
16849 * math/w_exp2f.c: Likewise.
16850 * math/w_exp2l.c: Likewise.
16851 * math/w_hypot.c: Likewise.
16852 * math/w_hypotf.c: Likewise.
16853 * math/w_hypotl.c: Likewise.
16854 * math/w_lgamma.c: Likewise.
16855 * math/w_lgamma_r.c: Likewise.
16856 * math/w_lgammaf.c: Likewise.
16857 * math/w_lgammaf_r.c: Likewise.
16858 * math/w_lgammal.c: Likewise.
16859 * math/w_lgammal_r.c: Likewise.
16860 * math/w_sinh.c: Likewise.
16861 * math/w_sinhf.c: Likewise.
16862 * math/w_sinhl.c: Likewise.
16863 * math/w_tgamma.c: Likewise.
16864 * math/w_tgammaf.c: Likewise.
16865 * math/w_tgammal.c: Likewise.
16866 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16867 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16868 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
16869 Minor optimizations. Pretty printing. Remove cruft.
16870 * sysdeps/i386/fpu/e_acosf.S: Likewise.
16871 * sysdeps/i386/fpu/e_acosh.S: Likewise.
16872 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16873 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16874 * sysdeps/i386/fpu/e_acosl.c: Likewise.
16875 * sysdeps/i386/fpu/e_asin.S: Likewise.
16876 * sysdeps/i386/fpu/e_asinf.S: Likewise.
16877 * sysdeps/i386/fpu/e_atan2.S: Likewise.
16878 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
16879 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
16880 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16881 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16882 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16883 * sysdeps/i386/fpu/e_exp10.S: Likewise.
16884 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
16885 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
16886 * sysdeps/i386/fpu/e_exp2.S: Likewise.
16887 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
16888 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
16889 * sysdeps/i386/fpu/e_fmod.S: Likewise.
16890 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
16891 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
16892 * sysdeps/i386/fpu/e_hypot.S: Likewise.
16893 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
16894 * sysdeps/i386/fpu/e_log.S: Likewise.
16895 * sysdeps/i386/fpu/e_log10.S: Likewise.
16896 * sysdeps/i386/fpu/e_log10f.S: Likewise.
16897 * sysdeps/i386/fpu/e_log10l.S: Likewise.
16898 * sysdeps/i386/fpu/e_log2.S: Likewise.
16899 * sysdeps/i386/fpu/e_log2f.S: Likewise.
16900 * sysdeps/i386/fpu/e_log2l.S: Likewise.
16901 * sysdeps/i386/fpu/e_logf.S: Likewise.
16902 * sysdeps/i386/fpu/e_logl.S: Likewise.
16903 * sysdeps/i386/fpu/e_pow.S: Likewise.
16904 * sysdeps/i386/fpu/e_powf.S: Likewise.
16905 * sysdeps/i386/fpu/e_powl.S: Likewise.
16906 * sysdeps/i386/fpu/e_remainder.S: Likewise.
16907 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
16908 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
16909 * sysdeps/i386/fpu/e_scalb.S: Likewise.
16910 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16911 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16912 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
16913 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
16914 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
16915 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16916 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16917 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16918 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16919 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16920 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16921 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
16922 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16923 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16924 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16925 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16926 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
16927 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16928 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16929 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16930 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16931 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16932 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16933 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16934 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16935 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16936 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
16937 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16938 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16939 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
16940 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
16941 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
16942 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
16943 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
16944 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
16945 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16946 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16947 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16948 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
16949 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
16950 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
16951 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
16952 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
16953 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
16954 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
16955 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
16956 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
16957 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
16958 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16959 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16960 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16961 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16962 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16963 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
16964 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
16965 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16966 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16967 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16968 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16969 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16970 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16971 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16972 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16973 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16974 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16975 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16976 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
16977 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16978 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16979 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
16980 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
16981 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
16982 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
16983 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
16984 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
16985 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
16986 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
16987 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
16988 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
16989 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
16990 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16991 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
16992 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
16993 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16994 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
16995 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16996 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
16997 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
16998 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16999 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17000 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17001 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17002 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17003 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17004 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17005 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17006 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17007 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17008 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17009 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17010 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17011 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17012 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
17013 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
17014 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
17015 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
17016 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
17017 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
17018 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
17019 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17020 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17021 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17022 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17023 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
17024 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17025 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
17026 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
17027 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
17028 (__isnanf): Likewise.
17029 (__isinf_ns): Likewise.
17030 (__isinf_nsf): Likewise.
17031 (__finite): Likewise.
17032 (__finitef): Likewise.
17033 (__ieee754_sqrt): Define as macro.
17034 (__ieee754_sqrtf): Define as macro.
17035 (__ieee754_sqrtl): Define as macro.
17036 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
17038 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
17039 __FINITE_MATH_ONLY__ consistent.
17040 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
17042 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
17044 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
17047 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
17049 2011-10-09 Ulrich Drepper <drepper@gmail.com>
17051 * po/ja.po: Update from translation team.
17053 2011-10-08 Roland McGrath <roland@hack.frob.com>
17055 * locale/programs/locarchive.c (prepare_address_space): New function.
17056 (create_archive, enlarge_archive, open_archive): Use it.
17058 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
17059 inside [SHARED], where it is used.
17061 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
17063 * nss/getent.c (netgroup_keys): Remove unused variable.
17064 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17066 2011-10-08 Ulrich Drepper <drepper@gmail.com>
17068 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
17069 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
17070 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
17071 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
17072 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
17073 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
17074 * math/Makefile (libm-calls): Add s_isinf_ns.
17075 * math/divtc3.c: Use __isinf_nsl instead of isinf.
17076 * math/multc3.c: Likewise.
17077 * math/s_casin.c: Likewise.
17078 * math/s_casinf.c: Likewise.
17079 * math/s_casinl.c: Likewise.
17080 * math/s_ccos.c: Likewise.
17081 * math/s_ccosf.c: Likewise.
17082 * math/s_ccosl.c: Likewise.
17083 * math/s_ctan.c: Likewise.
17084 * math/s_ctanf.c: Likewise.
17085 * math/s_ctanh.c: Likewise.
17086 * math/s_ctanhf.c: Likewise.
17087 * math/s_ctanhl.c: Likewise.
17088 * math/s_ctanl.c: Likewise.
17089 * math/w_fmod.c: Likewise.
17090 * math/w_fmodf.c: Likewise.
17091 * math/w_fmodl.c: Likewise.
17092 * math/w_remainder.c: Likewise.
17093 * math/w_remainderf.c: Likewise.
17094 * math/w_remainderl.c: Likewise.
17095 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
17096 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
17097 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
17098 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
17099 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
17100 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
17101 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
17102 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
17104 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
17106 * stdio-common/printf_fphex.c: Likewise.
17107 * stdio-common/printf_size.c: Likewise.
17109 * math/e_exp10.c: Include math_private.h using <...> not "...".
17110 * math/e_exp10f.c: Likewise.
17111 * math/e_exp10l.c: Likewise.
17112 * math/e_exp2l.c: Likewise.
17113 * math/e_j0l.c: Likewise.
17114 * math/e_j1l.c: Likewise.
17115 * math/e_jnl.c: Likewise.
17116 * math/e_lgammal_r.c: Likewise.
17117 * math/e_rem_pio2l.c: Likewise.
17118 * math/e_scalb.c: Likewise.
17119 * math/e_scalbf.c: Likewise.
17120 * math/e_scalbl.c: Likewise.
17121 * math/k_cosl.c: Likewise.
17122 * math/k_sinl.c: Likewise.
17123 * math/k_tanl.c: Likewise.
17124 * math/s_cacoshf.c: Likewise.
17125 * math/s_catan.c: Likewise.
17126 * math/s_catanf.c: Likewise.
17127 * math/s_catanh.c: Likewise.
17128 * math/s_catanhf.c: Likewise.
17129 * math/s_catanhl.c: Likewise.
17130 * math/s_catanl.c: Likewise.
17131 * math/s_ccosh.c: Likewise.
17132 * math/s_ccoshf.c: Likewise.
17133 * math/s_ccoshl.c: Likewise.
17134 * math/s_cexp.c: Likewise.
17135 * math/s_cexpf.c: Likewise.
17136 * math/s_cexpl.c: Likewise.
17137 * math/s_clog.c: Likewise.
17138 * math/s_clog10.c: Likewise.
17139 * math/s_clog10f.c: Likewise.
17140 * math/s_clog10l.c: Likewise.
17141 * math/s_clogf.c: Likewise.
17142 * math/s_clogl.c: Likewise.
17143 * math/s_csin.c: Likewise.
17144 * math/s_csinf.c: Likewise.
17145 * math/s_csinh.c: Likewise.
17146 * math/s_csinhf.c: Likewise.
17147 * math/s_csinhl.c: Likewise.
17148 * math/s_csinl.c: Likewise.
17149 * math/s_csqrt.c: Likewise.
17150 * math/s_csqrtf.c: Likewise.
17151 * math/s_csqrtl.c: Likewise.
17152 * math/s_ctan.c: Likewise.
17153 * math/s_ctanf.c: Likewise.
17154 * math/s_ctanh.c: Likewise.
17155 * math/s_ctanhf.c: Likewise.
17156 * math/s_ctanhl.c: Likewise.
17157 * math/s_ctanl.c: Likewise.
17158 * math/s_ldexp.c: Likewise.
17159 * math/s_ldexpf.c: Likewise.
17160 * math/s_ldexpl.c: Likewise.
17161 * math/s_significand.c: Likewise.
17162 * math/s_significandf.c: Likewise.
17163 * math/s_significandl.c: Likewise.
17164 * math/w_acos.c: Likewise.
17165 * math/w_acosf.c: Likewise.
17166 * math/w_acosh.c: Likewise.
17167 * math/w_acoshf.c: Likewise.
17168 * math/w_acoshl.c: Likewise.
17169 * math/w_acosl.c: Likewise.
17170 * math/w_asin.c: Likewise.
17171 * math/w_asinf.c: Likewise.
17172 * math/w_asinl.c: Likewise.
17173 * math/w_atan2.c: Likewise.
17174 * math/w_atan2f.c: Likewise.
17175 * math/w_atan2l.c: Likewise.
17176 * math/w_atanh.c: Likewise.
17177 * math/w_atanhf.c: Likewise.
17178 * math/w_atanhl.c: Likewise.
17179 * math/w_cosh.c: Likewise.
17180 * math/w_coshf.c: Likewise.
17181 * math/w_coshl.c: Likewise.
17182 * math/w_dremf.c: Likewise.
17183 * math/w_exp10.c: Likewise.
17184 * math/w_exp10f.c: Likewise.
17185 * math/w_exp10l.c: Likewise.
17186 * math/w_exp2.c: Likewise.
17187 * math/w_exp2f.c: Likewise.
17188 * math/w_fmod.c: Likewise.
17189 * math/w_fmodf.c: Likewise.
17190 * math/w_fmodl.c: Likewise.
17191 * math/w_hypot.c: Likewise.
17192 * math/w_hypotf.c: Likewise.
17193 * math/w_hypotl.c: Likewise.
17194 * math/w_j0.c: Likewise.
17195 * math/w_j0f.c: Likewise.
17196 * math/w_j0l.c: Likewise.
17197 * math/w_j1.c: Likewise.
17198 * math/w_j1f.c: Likewise.
17199 * math/w_j1l.c: Likewise.
17200 * math/w_jn.c: Likewise.
17201 * math/w_jnf.c: Likewise.
17202 * math/w_jnl.c: Likewise.
17203 * math/w_lgamma.c: Likewise.
17204 * math/w_lgamma_r.c: Likewise.
17205 * math/w_lgammaf.c: Likewise.
17206 * math/w_lgammaf_r.c: Likewise.
17207 * math/w_lgammal.c: Likewise.
17208 * math/w_lgammal_r.c: Likewise.
17209 * math/w_log.c: Likewise.
17210 * math/w_log10.c: Likewise.
17211 * math/w_log10f.c: Likewise.
17212 * math/w_log10l.c: Likewise.
17213 * math/w_log2.c: Likewise.
17214 * math/w_log2f.c: Likewise.
17215 * math/w_log2l.c: Likewise.
17216 * math/w_logf.c: Likewise.
17217 * math/w_logl.c: Likewise.
17218 * math/w_pow.c: Likewise.
17219 * math/w_powf.c: Likewise.
17220 * math/w_powl.c: Likewise.
17221 * math/w_remainder.c: Likewise.
17222 * math/w_remainderf.c: Likewise.
17223 * math/w_remainderl.c: Likewise.
17224 * math/w_scalb.c: Likewise.
17225 * math/w_scalbf.c: Likewise.
17226 * math/w_scalbl.c: Likewise.
17227 * math/w_sinh.c: Likewise.
17228 * math/w_sinhf.c: Likewise.
17229 * math/w_sinhl.c: Likewise.
17230 * math/w_sqrt.c: Likewise.
17231 * math/w_sqrtf.c: Likewise.
17232 * math/w_sqrtl.c: Likewise.
17233 * math/w_tgamma.c: Likewise.
17234 * math/w_tgammaf.c: Likewise.
17235 * math/w_tgammal.c: Likewise.
17237 * po/ja.po: Update from translation team.
17239 2011-09-29 Andreas Jaeger <aj@suse.de>
17242 * sunrpc/netname.c (netname2host): Fix logic.
17246 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
17248 * math/w_remainder.c (__remainder): Likewise.
17249 * math/w_remainderf.c (__remainderf): Likewise.
17250 * math/libm-test.inc (remainder_test): Add test cases.
17252 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17254 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
17257 2011-10-07 Ulrich Drepper <drepper@gmail.com>
17259 * string/test-memcmp.c: Avoid unncessary #defines.
17260 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17262 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17264 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
17265 Use new sse2 version for core i3 - i7 as it's faster
17266 than sse42 version.
17267 (bit_Prefer_PMINUB_for_stringop): New.
17268 * sysdeps/x86_64/rawmemchr.S: Update.
17269 Replace with faster SSE2 version.
17270 * sysdeps/x86_64/memrchr.S: New file.
17271 * sysdeps/x86_64/memchr.S: Update.
17272 Replace with faster SSE2 version.
17274 2011-09-12 Marek Polacek <mpolacek@redhat.com>
17276 * elf/dl-load.c (lose): Add cast to avoid warning.
17278 2011-10-07 Ulrich Drepper <drepper@gmail.com>
17280 * po/ca.po: Update from translation team.
17282 * inet/getnetgrent_r.c: Hook up nscd.
17283 * nscd/Makefile (routines): Add nscd_netgroup.
17284 (nscd-modules): Add netgroupcache.
17285 (CFLAGS-netgroupcache.c): Define.
17286 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
17287 (cache_search): Add const to second parameter.
17288 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
17290 (dbs): Add netgrdb entry.
17291 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
17292 (verify_persistent_db): Handle netgrdb.
17293 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
17294 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
17296 (netgroup_response_header): Define.
17297 (innetgroup_response_header): Define.
17298 (datahead): Add netgroup_response_header and innetgroup_response_header
17300 * nscd/nscd.conf: Add entries for netgroup cache.
17301 * nscd/nscd.h (dbtype): Add netgrdb.
17302 (_PATH_NSCD_NETGROUP_DB): Define.
17303 (netgroup_iov_disabled): Declare.
17304 (xmalloc, xcalloc, xrealloc): Move declarations here.
17305 (cache_search): Adjust prototype.
17306 Add netgroup-related prototypes.
17307 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
17308 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
17309 (__nscd_innetgr): Declare.
17310 * nscd/selinux.c (perms): Use access_vector_t as element type and
17311 add netgroup-related initializers.
17312 * nscd/netgroupcache.c: New file.
17313 * nscd/nscd_netgroup.c: New file.
17314 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
17315 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
17316 For four parameters use innetgr.
17317 * nss/nss_files/files-init.c: Add definition and callback for netgr.
17318 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
17319 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
17320 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
17322 * nscd/connections.c (register_traced_file): Don't register file
17323 for disabled databases.
17325 2011-10-06 Ulrich Drepper <drepper@gmail.com>
17327 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
17329 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
17330 from tree and freeing node.
17332 2011-09-25 Jiri Olsa <jolsa@redhat.com>
17334 * nss/nsswitch.c (__nss_database_lookup): Handle
17335 nss_parse_service_list out of memory case.
17337 2011-09-15 Jiri Olsa <jolsa@redhat.com>
17339 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
17340 out of memory case.
17342 2011-10-04 Andreas Schwab <schwab@redhat.com>
17344 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
17345 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
17347 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
17348 elf_machine_rela, elf_machine_lazy_rel.
17349 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
17350 (ELF_DYNAMIC_DO_REL): Likewise.
17351 (ELF_DYNAMIC_DO_RELA): Likewise.
17352 (ELF_DYNAMIC_RELOCATE): Likewise.
17353 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
17354 to ELF_DYNAMIC_DO_REL.
17355 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
17356 (dl_main): In trace mode always set __RTLD_NOIFUNC.
17357 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
17359 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
17360 skip_ifunc, don't call ifunc function if non-zero.
17361 (elf_machine_rela): Likewise.
17362 (elf_machine_lazy_rel): Likewise.
17363 (elf_machine_lazy_rela): Likewise.
17364 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
17365 (elf_machine_lazy_rel): Likewise.
17366 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
17368 (elf_machine_lazy_rel): Likewise.
17369 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17371 (elf_machine_lazy_rel): Likewise.
17372 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
17373 (elf_machine_lazy_rel): Likewise.
17374 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
17375 (elf_machine_lazy_rel): Likewise.
17376 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17377 (elf_machine_lazy_rel): Likewise.
17378 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
17379 (elf_machine_lazy_rel): Likewise.
17380 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
17381 (elf_machine_lazy_rel): Likewise.
17382 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17383 (elf_machine_lazy_rel): Likewise.
17385 2011-09-28 Ulrich Drepper <drepper@gmail.com>
17387 * nss/nss_files/files-init.c (_nss_files_init): Use static
17388 initialization for all the *_traced_file variables.
17390 2011-09-28 Andreas Schwab <schwab@redhat.com>
17392 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17394 2011-09-27 Roland McGrath <roland@hack.frob.com>
17397 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
17399 2011-09-27 Andreas Schwab <schwab@redhat.com>
17401 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17402 Reread the line before reparsing it.
17404 2011-09-26 Andreas Schwab <schwab@redhat.com>
17406 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
17408 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
17409 Maxim Kuvyrkov <maxim@codesourcery.com>
17410 Joseph Myers <joseph@codesourcery.com>
17412 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
17413 if needed for __stack_chk_guard.
17415 2011-09-19 Roland McGrath <roland@hack.frob.com>
17417 * sysdeps/posix/spawni.c (script_execute): Always define it.
17418 It will be optimized away if unused.
17419 (maybe_script_execute): New function.
17420 (__spawni): Call it.
17422 * Makerules: Don't include tls.make.
17423 (config-tls): Always set to thread.
17424 * tls.make.c: File removed.
17426 2011-09-19 Mike Frysinger <vapier@gentoo.org>
17428 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
17429 * config.make.in (CPPFLAGS-config): New substituted variable.
17431 2011-09-15 Ulrich Drepper <drepper@gmail.com>
17433 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
17436 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
17437 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
17439 2011-09-15 Roland McGrath <roland@hack.frob.com>
17441 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
17442 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
17443 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17444 (CALL_FAIL): Likewise.
17445 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
17446 (CALL_FAIL): Macro removed.
17447 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
17449 2011-09-15 Ulrich Drepper <drepper@gmail.com>
17451 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
17452 for __FINITE_MATH_ONLY__ == 1.
17454 2011-09-15 Andreas Schwab <schwab@redhat.com>
17456 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
17457 __ieee754_sqrt instead of sqrt.
17458 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
17459 __ieee754_sqrtf instead of sqrtf.
17460 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
17461 __floorf instead of floorf.
17462 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
17463 __floorf, __truncf instead of floorf, truncf.
17465 2011-09-14 Ulrich Drepper <drepper@gmail.com>
17467 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
17469 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
17470 __extern_always_inline.
17471 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
17474 2011-09-14 Andreas Schwab <schwab@redhat.com>
17476 * elf/rtld.c (dl_main): Also relocate in dependency order when
17477 doing symbol dependency testing.
17479 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
17481 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17482 Always define `refsym'.
17484 2011-09-13 Andreas Schwab <schwab@redhat.com>
17486 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
17487 (__FD_ELT): Renamed from __FDELT.
17488 * misc/bits/select2.h (__FD_ELT): Likewise.
17489 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
17490 __FD_MASK instead of __FDELT, __FDMASK.
17491 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
17493 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
17496 * elf/Makefile (gen-ldd): Fix pattern.
17498 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
17499 (init_tls): Likewise.
17501 2011-09-12 Ulrich Drepper <drepper@gmail.com>
17503 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
17505 2011-09-12 Andreas Schwab <schwab@redhat.com>
17507 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
17508 `struct cmsghdr *' instead of `void *'.
17509 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
17512 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
17514 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
17516 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
17517 ldd_rewrite_script.
17519 2011-09-11 Ulrich Drepper <drepper@gmail.com>
17521 * configure.in: Remove --with-tls option.
17522 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
17523 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
17524 out in case it is missing.
17525 * sysdeps/ia64/elf/configure.in: Likewise.
17526 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
17527 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
17528 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
17529 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
17530 * sysdeps/sh/elf/configure.in: Likewise.
17531 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
17532 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
17533 * sysdeps/x86_64/elf/configure.in: Likewise.
17534 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
17535 * sysdeps/mach/hurd/tls.h: Likewise.
17538 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
17541 * configure.in: Fix use of AC_INIT.
17543 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
17545 2011-09-10 Ulrich Drepper <drepper@gmail.com>
17547 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
17549 * malloc/hooks.c: Likewise.
17552 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
17553 variables statically.
17554 (narenas): Initialize.
17555 (list_lock): Initialize.
17556 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
17557 initializtion of main_arena and list_lock. Small cleanups.
17558 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
17559 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
17560 Add initializers to main_arena and mp_.
17561 (malloc_state): Remove pagesize member. Change all users to use
17564 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
17565 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
17566 is always initialized.
17568 * malloc/malloc.c: Removed unused configurations and dead code.
17569 * malloc/arena.c: Likewise.
17570 * malloc/hooks.c: Likewise.
17571 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
17573 * include/tls.h: Removed. USE___THREAD must always be defined.
17574 * bits/libc-tsd.h: Don't handle !USE___THREAD.
17575 * elf/dl-libc.c: Likewise.
17576 * elf/dl-tsd.c: Likewise.
17577 * include/errno.h: Likewise.
17578 * include/netdb.h: Likewise.
17579 * include/resolv.h: Likewise.
17580 * inet/herrno-loc.c: Likewise.
17581 * inet/herrno.c: Likewise.
17582 * malloc/arena.c: Likewise.
17583 * malloc/hooks.c: Likewise.
17584 * malloc/malloc.c: Likewise.
17585 * resolv/res-state.c: Likewise.
17586 * resolv/res_libc.c: Likewise.
17587 * sysdeps/i386/dl-machine.h: Likewise.
17588 * sysdeps/ia64/dl-machine.h: Likewise.
17589 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
17590 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
17591 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
17592 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
17593 * sysdeps/sh/dl-machine.h: Likewise.
17594 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17595 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17596 * sysdeps/unix/i386/sysdep.S: Likewise.
17597 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17598 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
17599 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
17600 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17601 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
17602 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17603 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
17604 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17605 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17606 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17607 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17608 * sysdeps/x86_64/dl-machine.h: Likewise.
17609 * tls.make.c: Likewise.
17611 * configure.in: Remove --with-__thread option. Make tests for
17612 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
17613 tls_model attribute fail if no support is available. Remove
17615 * Makeconfig: Adjust for dropped configure option. All features are
17617 * Makerules: Likewise.
17618 * Versions.def: Likewise.
17619 * argp/argp-fmtstream.c: Likewise.
17620 * argp/argp-fmtstream.h: Likewise.
17621 * argp/argp-help.c: Likewise.
17622 * assert/assert.c: Likewise.
17623 * config.h.in: Likewise.
17624 * config.make.in: Likewise.
17625 * configure: Likewise.
17626 * configure.in: Likewise.
17627 * csu/Versions: Likewise.
17628 * csu/init.c: Likewise.
17629 * elf/tst-audit2.c: Likewise.
17630 * elf/tst-tls10.c: Likewise.
17631 * elf/tst-tls10.h: Likewise.
17632 * elf/tst-tls11.c: Likewise.
17633 * elf/tst-tls12.c: Likewise.
17634 * elf/tst-tls14.c: Likewise.
17635 * elf/tst-tlsmod11.c: Likewise.
17636 * elf/tst-tlsmod12.c: Likewise.
17637 * elf/tst-tlsmod13.c: Likewise.
17638 * elf/tst-tlsmod13a.c: Likewise.
17639 * elf/tst-tlsmod14a.c: Likewise.
17640 * elf/tst-tlsmod15b.c: Likewise.
17641 * elf/tst-tlsmod16a.c: Likewise.
17642 * elf/tst-tlsmod16b.c: Likewise.
17643 * elf/tst-tlsmod7.c: Likewise.
17644 * elf/tst-tlsmod8.c: Likewise.
17645 * elf/tst-tlsmod9.c: Likewise.
17646 * gmon/gmon.c: Likewise.
17647 * grp/fgetgrent_r.c: Likewise.
17648 * grp/putgrent.c: Likewise.
17649 * hurd/fopenport.c: Likewise.
17650 * include/libc-symbols.h: Likewise.
17651 * include/tls.h: Likewise.
17652 * intl/gettextP.h: Likewise.
17653 * intl/loadinfo.h: Likewise.
17654 * locale/global-locale.c: Likewise.
17655 * locale/localeinfo.h: Likewise.
17656 * mach/devstream.c: Likewise.
17657 * malloc/arena.c: Likewise.
17658 * malloc/set-freeres.c: Likewise.
17659 * misc/err.c: Likewise.
17660 * misc/getttyent.c: Likewise.
17661 * misc/mntent_r.c: Likewise.
17662 * posix/getopt.c: Likewise.
17663 * posix/wordexp.c: Likewise.
17664 * pwd/fgetpwent_r.c: Likewise.
17665 * resolv/Versions: Likewise.
17666 * resolv/res_hconf.c: Likewise.
17667 * shadow/fgetspent_r.c: Likewise.
17668 * shadow/putspent.c: Likewise.
17669 * stdio-common/printf_fphex.c: Likewise.
17670 * stdio-common/tmpfile.c: Likewise.
17671 * stdlib/abort.c: Likewise.
17672 * stdlib/fmtmsg.c: Likewise.
17673 * sunrpc/auth_unix.c: Likewise.
17674 * sunrpc/clnt_perr.c: Likewise.
17675 * sunrpc/clnt_tcp.c: Likewise.
17676 * sunrpc/clnt_udp.c: Likewise.
17677 * sunrpc/clnt_unix.c: Likewise.
17678 * sunrpc/openchild.c: Likewise.
17679 * sunrpc/svc_simple.c: Likewise.
17680 * sunrpc/svc_tcp.c: Likewise.
17681 * sunrpc/svc_udp.c: Likewise.
17682 * sunrpc/svc_unix.c: Likewise.
17683 * sunrpc/xdr.c: Likewise.
17684 * sunrpc/xdr_array.c: Likewise.
17685 * sunrpc/xdr_rec.c: Likewise.
17686 * sunrpc/xdr_ref.c: Likewise.
17687 * sunrpc/xdr_stdio.c: Likewise.
17689 2011-09-09 Ulrich Drepper <drepper@gmail.com>
17691 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17693 2011-07-03 Andreas Jaeger <aj@suse.de>
17695 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
17696 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
17697 regenerate with gen-libm-tests.pl.
17699 2010-05-12 Petr Baudis <pasky@suse.cz>
17702 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
17703 around j0() zero points by switching to j1().
17704 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17705 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17706 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17707 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17709 2011-09-09 Ulrich Drepper <drepper@gmail.com>
17711 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
17713 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
17715 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17716 Patch in part by Pavel Roskin <proski@gnu.org>.
17719 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
17721 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
17722 Free memory block if necessary.
17725 * libio/genops.c (INTDEF): For string streams the _lock pointer can
17726 be NULL. Don't lock in this case.
17728 2011-09-09 Roland McGrath <roland@hack.frob.com>
17730 * elf/elf.h (ELFOSABI_GNU): New macro.
17731 (ELFOSABI_LINUX): Define to that.
17733 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
17735 * string/strncat.c (strncat): Undef the symbol in case it has been
17736 defined in bits/string.h.
17738 2011-09-09 Ulrich Drepper <drepper@gmail.com>
17740 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
17742 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
17745 2011-08-17 Andreas Jaeger <aj@suse.de>
17747 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
17749 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
17750 Ian Lance Taylor <iant@google.com>
17752 * math/libm-test.inc (lround_test): New testcase.
17753 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
17755 2011-09-08 Ulrich Drepper <drepper@gmail.com>
17757 * Makefile: Remove support for automatic cvs check-ins.
17758 * Makerules: Likewise.
17759 * config.make.in: Likewise.
17760 * configure.in: Likewise.
17761 * intl/Makefile: Likewise.
17762 * locale/Makefile: Likewise.
17763 * po/Makefile: Likewise.
17764 * posix/Makefile: Likewise.
17765 * sysdeps/gnu/Makefile: Likewise.
17766 * sysdeps/mach/hurd/Makefile: Likewise.
17767 * sysdeps/sparc/sparc32/Makefile: Likewise.
17770 * posix/Makefile (bug-regex32-ENV): Define.
17771 Patch by John Stanley <jpsinthemix@verizon.net>.
17773 * misc/Makefile (headers): Add bits/select2.h.
17774 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
17775 * misc/bits/select2.h: New file.
17776 * include/bits/select2.h: New file.
17777 * debug/Makefile (routines): Add fdelt_chk.
17778 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
17779 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
17781 * debug/fdelt_chk.c: New file.
17783 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
17784 * wcsmbs/test-wmemcmp.c: Likewise.
17785 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
17786 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
17788 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17790 * string/Makefile (strop-tests): Add memcmp.
17791 * string/test-wmemcmp.c: New file.
17792 * string/test-memcmp.c: Add wmemcmp support.
17794 2011-09-08 Roland McGrath <roland@hack.frob.com>
17797 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
17800 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
17801 garbage value in a __mach_port_mod_refs call in the cases of the
17802 task-self and thread-self ports.
17804 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17806 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
17808 2011-09-08 Andreas Schwab <schwab@redhat.com>
17810 * elf/dl-load.c (lose): Check for non-null L.
17812 2011-09-07 Ulrich Drepper <drepper@gmail.com>
17814 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
17816 * elf/dl-libc.c (dlerror_run): Pass back error code from
17820 * elf/dl-load.c (lose): Free l_origin if it is valid.
17822 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
17824 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
17825 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
17826 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
17827 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
17828 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
17829 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
17831 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17833 * sysdeps/powerpc/fpu/e_hypot.c: New file.
17834 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
17835 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
17836 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
17837 * sysdeps/powerpc/fpu/k_cosf.c: New file.
17838 * sysdeps/powerpc/fpu/k_sinf.c: New file.
17839 * sysdeps/powerpc/fpu/s_cosf.c: New file.
17840 * sysdeps/powerpc/fpu/s_sinf.c: New file.
17841 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
17842 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
17844 2011-08-15 Alan Modra <amodra@gmail.com>
17847 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
17848 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
17849 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
17850 ppc_mcount to static-only-routines.
17851 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
17853 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
17854 __mcount_internal with usual JUMPTARGET. Remove useless nop.
17856 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
17858 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
17859 for finite and infinity parameters.
17861 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
17863 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
17864 and add nop instructions for throughput optimization.
17865 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17867 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
17869 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
17870 aligned copy for power7 with vector-scalar instructions.
17871 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
17873 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
17875 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
17878 2011-09-07 Andreas Schwab <schwab@redhat.com>
17881 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
17884 2011-09-07 Ulrich Drepper <drepper@gmail.com>
17886 * sysdeps/unix/sysv/linux/x86_64/init-first.c
17887 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
17888 syscall wrapper around clock_gettime in __vdso_clock_gettime.
17889 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
17892 2011-09-06 Ulrich Drepper <drepper@gmail.com>
17894 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
17895 Forgot to demangle the pointer.
17897 * sysdeps/i386/sysdep.h: Define atom_text_section.
17898 * sysdeps/x86_64/sysdep.h: Likewise.
17899 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
17900 section with atom_text_section.
17901 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
17902 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
17903 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
17904 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
17905 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
17907 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
17908 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
17909 already be defined. Change to take two parameters and don't assign
17910 result to variable. Adjust all users.
17911 Define INTERNAL_GETTIME if not already defined.
17912 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
17914 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
17915 HAVE_CLOCK_GETTIME_VSYSCALL.
17916 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
17918 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
17919 gettimeofday vsyscall, just use time.
17921 2011-09-06 Andreas Schwab <schwab@redhat.com>
17923 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
17926 2011-09-06 Ulrich Drepper <drepper@gmail.com>
17928 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
17930 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
17932 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
17933 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
17934 syscall if possible.
17936 2011-09-05 Ulrich Drepper <drepper@gmail.com>
17938 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
17939 e_ident. Don't pass to find_mapsXX.
17940 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
17942 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17944 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17945 strchr-sse2-no-bsf strrchr-sse2-no-bsf
17946 * sysdeps/x86_64/multiarch/strchr.S: Update.
17947 Check bit_slow_BSF bit.
17948 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17949 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
17950 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
17952 2011-09-05 Ulrich Drepper <drepper@gmail.com>
17955 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
17957 (tryshell): Define.
17958 (__spawni): Change last parameter to be flag. Test
17959 SPAWN_XFLAGS_USE_PATH flag to use path or not.
17960 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
17961 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
17962 * posix/spawni.c: Likewise.
17963 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
17964 * posix/spawnp.c: Likewise. Change normal version to use
17965 SPAWN_XFLAGS_USE_PATH.
17966 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
17967 SPAWN_XFLAGS_TRY_SHELL.
17970 * posix/glob.h: Remove gcc 1.x support.
17973 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
17975 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17977 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17978 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
17980 * sysdeps/i386/i686/multiarch/strchr.S: New file.
17981 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
17982 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
17983 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
17984 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
17985 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
17987 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17989 * sysdeps/x86_64/wcscmp.S: New file.
17991 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
17992 wcscmp-c wcscmp-sse2
17993 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
17994 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
17995 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
17996 * wcsmbs/wcscmp.c: Allow renaming.
17998 2011-09-05 David S. Miller <davem@davemloft.net>
18000 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
18001 stack slot, rather than the struct return pointer slot.
18002 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
18003 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
18004 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
18005 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
18007 2011-09-05 Ulrich Drepper <drepper@gmail.com>
18009 * po/ja.po: Update from translation team.
18012 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
18013 kernel in 64-bit binaries.
18015 2011-09-01 David S. Miller <davem@davemloft.net>
18017 * elf/elf.h (HWCAP_SPARC_*): Move to..
18018 * sysdeps/sparc/sysdep.h: this new file and add new values.
18019 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
18020 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
18021 _DL_HWCAP_COUNT to 24.
18022 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18024 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
18025 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
18026 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
18027 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
18028 instead of magic constants.
18029 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18031 2011-08-31 David S. Miller <davem@davemloft.net>
18033 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
18034 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
18035 Reimplement to do errno handling inline.
18036 (SYSCALL_ERROR_HANDLER): New macro.
18037 (__SYSCALL_STRING): Do not do errno handling in asm.
18038 (__CLONE_SYSCALL_STRING): Delete.
18039 (__INTERNAL_SYSCALL_STRING): Delete.
18040 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
18041 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
18042 (PSEUDO): Reimplement to do errno handling inline.
18043 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
18044 (SYSCALL_ERROR_HANDLER): New macro.
18045 (__SYSCALL_STRING): Do not do errno handling in asm.
18046 (__CLONE_SYSCALL_STRING): Delete.
18047 (__INTERNAL_SYSCALL_STRING): Delete.
18048 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
18049 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
18051 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
18052 (inline_syscall*): Add 'err' argument.
18053 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
18054 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
18055 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
18056 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
18058 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
18059 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18061 2011-08-30 Andreas Schwab <schwab@redhat.com>
18063 * elf/rtld.c (dl_main): Relocate objects in dependency order.
18065 2011-08-29 Jiri Olsa <jolsa@redhat.com>
18067 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
18070 2011-08-24 David S. Miller <davem@davemloft.net>
18072 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
18074 2011-08-24 Andreas Schwab <schwab@redhat.com>
18076 * elf/Makefile: Add rules to build and run unload8 test.
18077 * elf/unload8.c: New file.
18078 * elf/unload8mod1.c: New file.
18079 * elf/unload8mod1x.c: New file.
18080 * elf/unload8mod2.c: New file.
18081 * elf/unload8mod3.c: New file.
18083 * elf/dl-close.c (_dl_close_worker): Reset private search list if
18086 2011-08-23 David S. Miller <davem@davemloft.net>
18088 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
18089 subtract stack bias.
18090 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
18091 %sp not %fp in calculations.
18092 (_JMPBUF_UNWINDS_ADJ): Likewise.
18094 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
18095 (aio_suspend): Call it to force an exception region around the
18096 AIO_MISC_WAIT() invocation.
18098 2011-08-23 Andreas Schwab <schwab@redhat.com>
18100 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
18103 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
18105 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
18107 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
18108 and <dl-machine.h>.
18109 (Elf64_FuncDesc): Remove.
18111 2011-08-22 David S. Miller <davem@davemloft.net>
18113 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
18114 sigaltstack check, add missing cfi directives.
18115 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
18116 missing cfi directives, and sigaltstack handling.
18118 2011-08-16 Andreas Schwab <schwab@redhat.com>
18121 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
18122 object is seen twice.
18123 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18125 * elf/Makefile (distribute): Add tst-initorder2.c.
18126 (tests): Add tst-initorder2.
18127 (modules-names): Add tst-initorder2a tst-initorder2b
18128 tst-initorder2c tst-initorder2d. Add rules to build them.
18129 ($(objpfx)tst-initorder2.out): New rule.
18130 * elf/tst-initorder2.c: New file.
18131 * elf/tst-initorder2.exp: New file.
18133 2011-08-22 Andreas Schwab <schwab@redhat.com>
18135 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
18137 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
18138 dependencies back to end of function.
18140 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18141 $(elfobjdir)/ld.so.
18143 2011-08-21 Ulrich Drepper <drepper@gmail.com>
18145 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
18146 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
18147 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
18148 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
18149 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
18150 of __vdso_gettimeofday.
18151 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
18152 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
18154 (_libc_vdso_platform_setup): Remove initialization of
18155 __vdso_gettimeofday and __vdso_time.
18157 2011-08-20 Ulrich Drepper <drepper@gmail.com>
18159 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
18160 and fgetc_unlocked.
18161 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
18164 * elf/dl-open.c (add_to_global): Report additions to the global scope
18165 for LD_DEBUG=scopes.
18166 (dl_open_worker): Also print scope of newly loaded dependencies.
18167 (_dl_show_scope): Indicate if there is no scope.
18170 * stdio-common/Makefile (tests): Add bug24.
18171 * stdio-common/bug24.c: New file.
18173 2011-08-19 Andreas Jaeger <aj@suse.de>
18176 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
18177 non-existant file when using close-on-exec mode.
18179 2011-08-20 Ulrich Drepper <drepper@gmail.com>
18181 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
18182 the very first instruction.
18184 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
18185 the CFI state in the end.
18186 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
18187 inclusion of dl-trampoline.h.
18188 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
18190 2011-08-19 Andreas Schwab <schwab@redhat.com>
18192 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
18193 expectations for long double.
18195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
18196 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
18198 2011-08-14 David S. Miller <davem@davemloft.net>
18200 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
18201 artificual limit depends upon the system page size.
18203 2011-08-17 Ulrich Drepper <drepper@gmail.com>
18205 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
18206 * resolv/Makefile: Define CFLAGS-libresolv.
18208 2011-08-17 Andreas Schwab <schwab@redhat.com>
18210 * nss/makedb.c (compute_tables): Make variables used in nested
18213 2011-08-17 Ulrich Drepper <drepper@gmail.com>
18215 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
18216 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
18217 if buffer was too small.
18219 * elf/pldd.c (main): Attach to all threads in the process.
18220 Rewrite /proc handling to use *at functions.
18222 2011-08-16 Ulrich Drepper <drepper@gmail.com>
18224 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
18225 specifies first scope to show.
18226 (dl_open_worker): Update callers. Move printing scope of new
18227 object to before the relocation.
18228 * elf/rtld.c (dl_main): Update _dl_show_scope call.
18229 * sysdeps/generic/ldsodefs.h: Update declaration.
18231 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
18232 string for the scope number.
18234 2011-08-14 Ulrich Drepper <drepper@gmail.com>
18236 * nscd/servicescache.c (cache_addserv): Make sure written is always
18239 2011-08-14 Roland McGrath <roland@hack.frob.com>
18241 * sysdeps/i386/i486/bits/atomic.h
18242 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
18243 statement expression, so as to suppress "set but not used" warning.
18244 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
18246 * string/strncat.c (STRNCAT): Use prototype definition.
18248 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
18249 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
18251 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
18252 (localedef-modules): Add localedef.
18253 (locale-modules): Add locale.
18255 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
18256 * elf/rtld.c (dl_main): Invert order of assignment in last change,
18257 to avoid a warning.
18259 2011-08-14 David S. Miller <davem@davemloft.net>
18261 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
18262 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
18264 2011-08-13 Ulrich Drepper <drepper@gmail.com>
18266 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
18267 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
18268 * elf/rtld.c (dl_main): Set l_name of vDSO.
18269 Call _dl_show_scope when DL_DEBUG_SCOPES.
18270 (process_dl_debug): Recognize scopes flag and also set it for all.
18271 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
18272 Declare _dl_show_scope.
18274 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
18275 (do_dlopen): Pass caller_dlopen to dl_open.
18276 (__libc_dlopen_mode): Initialize caller_dlopen.
18278 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
18279 of libc. Make tolower call locale-independent. Optimize a bit by
18280 using isdigit instead of isalnum.
18281 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
18283 2011-08-12 Ulrich Drepper <drepper@gmail.com>
18285 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
18286 was a dependency or dynamically loaded.
18288 2011-08-11 Ulrich Drepper <drepper@gmail.com>
18290 * intl/l10nflist.c: Allow architecture-specific pop function.
18291 * sysdeps/x86_64/l10nflist.c: New file.
18293 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
18296 2011-08-10 Andreas Schwab <schwab@redhat.com>
18298 * include/dirent.h: Add libc_hidden_proto for scandirat and
18299 scandirat64. Don't declare __scandirat64.
18300 * dirent/scandirat.c: Add libc_hidden_def.
18301 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
18302 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
18304 2011-08-10 David S. Miller <davem@davemloft.net>
18306 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
18308 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18309 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18310 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18312 2011-08-09 Ulrich Drepper <drepper@gmail.com>
18314 * Versions.def [libc]: Add GLIBC_2.15.
18315 * dirent/Makefile (routines): Add scandirat and scandirat64.
18316 * dirent/Versions [libc]: Export scandirat and scandirat64 for
18318 * dirent/dirent.h: Declare scandirat and scandirat64.
18319 * dirent/scandirat.c: New file.
18320 * dirent/scandirat64.c: New file.
18321 * sysdeps/wordsize-64/scandirat.c: New file.
18322 * sysdeps/wordsize-64/scandirat64.c: New file.
18323 * dirent/opendir.c: Define opendirat.
18324 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
18326 * dirent/scandir64.c: Adjust for scandir.c change.
18327 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
18328 __scandirat64, and __scandir_cancel_handler.
18329 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
18330 additional parameter and use openat instead of open (outside of ld.so).
18331 Add new __opendir as wrapper around __opendirat.
18332 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
18333 here without requiring old scandirat implementation.
18335 2011-08-08 Ulrich Drepper <drepper@gmail.com>
18337 * dirent/scandir.c (cancel_handler): Renamed to
18338 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
18339 defined. Adjust users.
18340 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
18341 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
18343 2011-08-04 Ulrich Drepper <drepper@gmail.com>
18345 * string/test-string.h (IMPL): Use __STRING to expand name and then
18348 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
18351 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18353 * string/Makefile: Update.
18354 (strop-tests): Append strncat.
18355 * string/test-wcscmp.c: New file.
18356 New comprehensive test for wcscmp.
18357 * string/test-strcmp.c: Update.
18358 (WIDE): New define.
18360 2011-07-22 Andreas Schwab <schwab@redhat.com>
18362 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
18365 2011-07-26 Andreas Schwab <schwab@redhat.com>
18367 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18368 encoding to ACE if AI_IDN.
18370 2011-08-01 Jakub Jelinek <jakub@redhat.com>
18372 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
18373 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
18375 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18377 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
18378 Fix overflow bug in strncat.
18379 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
18381 * string/test-strncat.c: Update.
18382 Add new tests for checking overflow bugs.
18384 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18386 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18387 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
18388 * sysdeps/i386/i686/multiarch/strcat.S: New file.
18389 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
18390 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
18391 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
18392 * sysdeps/i386/i686/multiarch/strncat.S: New file.
18393 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
18394 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
18396 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
18397 (USE_AS_STRCAT): Define.
18398 Add strcat and strncat support.
18399 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18401 2011-07-25 Andreas Schwab <schwab@redhat.com>
18403 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
18404 __n bigger than INT_MAX+1.
18405 (__strncmp_g): Likewise.
18407 2011-07-23 Ulrich Drepper <drepper@gmail.com>
18409 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
18410 * libio/stido.h: Likewise.
18412 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
18414 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
18417 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
18418 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18419 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18420 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18421 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18424 * scripts/test-installation.pl: Don't expect libnss_test1 to be
18427 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
18429 (_dl_x86_64_save_sse): Likewise.
18431 2011-07-22 Ulrich Drepper <drepper@gmail.com>
18433 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
18435 (_dl_x86_64_save_sse): Likewise.
18437 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
18439 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
18441 2011-07-21 Andreas Schwab <schwab@redhat.com>
18443 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
18445 (_dl_x86_64_save_sse): Use correct AVX check.
18447 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18449 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
18450 bug in strncpy/strncat.
18451 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
18453 2011-07-21 Ulrich Drepper <drepper@gmail.com>
18455 * string/tester.c (test_strcat): Add tests for different alignments
18456 of source and destination.
18457 (test_strncat): Likewise.
18459 2011-07-20 Ulrich Drepper <drepper@gmail.com>
18462 * posix/glob.c (glob): Check passed in values before using them in
18463 expressions to avoid some overflows.
18464 (glob_in_dir): Likewise.
18467 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
18468 check for AVX enablement so that we don't crash with old kernels and
18470 * elf/tst-audit4.c: Add same checks here.
18471 * elf/tst-audit6.c: Likewise.
18473 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
18475 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
18477 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
18479 2011-07-20 Ulrich Drepper <drepper@gmail.com>
18481 * po/cs.po: Update from translation team.
18482 * po/bg.po: Likewise.
18484 2011-07-12 Marek Polacek <mpolacek@redhat.com>
18486 * misc/sys/cdefs.h: Add support for const attribute.
18487 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
18488 to gnu_dev_{major,minor,makedev} functions.
18490 2011-07-20 Marek Polacek <mpolacek@redhat.com>
18492 * intl/dcigettext.c (get_output_charset): Add missing bracket.
18494 2011-07-20 Andreas Schwab <schwab@redhat.com>
18496 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
18499 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18501 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
18502 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
18503 register in order to avoid conflicts with the soft frame pointer
18504 being held in r11 when necessary.
18505 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
18506 (INTERNAL_VSYSCALL_NCS): Likewise.
18508 2011-07-14 Marek Polacek <mpolacek@redhat.com>
18510 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
18511 * elf/dl-fini.c (_dl_fini): Adjust caller.
18512 * elf/dl-close.c (_dl_close_worker): Likewise.
18513 * sysdeps/generic/ldsodefs.h: Adjust declaration.
18515 2011-07-15 Marek Polacek <mpolacek@redhat.com>
18517 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
18518 "aux_cache->nlibs < 0".
18520 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
18521 in the reload-count case.
18523 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18525 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18526 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
18527 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
18528 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
18529 * sysdeps/x86_64/multiarch/strcat.S: New file.
18530 * sysdeps/x86_64/multiarch/strncat.S: New file.
18531 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
18532 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
18533 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
18534 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
18535 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
18536 (USE_AS_STRCAT): Define.
18537 Add strcat and strncat support.
18538 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
18539 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18540 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
18541 * string/strncat.c: Update.
18542 (USE_AS_STRNCAT): Define.
18543 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18544 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
18546 * sysdeps/x86_64/multiarch/init-arch.h
18547 (bit_Prefer_PMINUB_for_stringop): New.
18548 (index_Prefer_PMINUB_for_stringop): Likewise.
18549 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
18550 bit_Prefer_PMINUB_for_stringop.
18552 2011-07-19 Ulrich Drepper <drepper@gmail.com>
18554 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
18556 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
18557 of casting of buffer.
18558 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
18559 buffer32 and buffer64.
18560 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
18561 writes instead of casting of buffer.
18562 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
18564 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
18567 2011-07-19 Andreas Schwab <schwab@redhat.com>
18569 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
18571 2011-07-19 Ulrich Drepper <drepper@gmail.com>
18573 * nscd/nscd.c (termination_handler): Don't do anything for a database
18574 if it has not yet been initialized.
18576 2011-07-18 Ulrich Drepper <drepper@gmail.com>
18578 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
18580 2011-07-15 Marek Polacek <mpolacek@redhat.com>
18582 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
18584 2011-07-18 Ulrich Drepper <drepper@gmail.com>
18586 * po/nl.po: Update from translation team.
18587 * po/sv.po: Likewise.
18589 2011-07-16 Roland McGrath <roland@hack.frob.com>
18591 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
18592 now disallowed by GCC.
18594 * configure.in (use-default-link): Default to yes if a test -shared
18595 link meets our qualifications.
18596 * configure: Regenerated.
18598 * config.make.in (output-format): New variable.
18599 * configure.in: Check for ld --print-output-format support.
18600 * configure: Regenerated.
18601 * Makerules ($(common-objpfx)format.lds)
18602 [$(output-format) != unknown]: Just use $(output-format),
18603 instead of the linker-script munging.
18605 2011-07-14 Roland McGrath <roland@hack.frob.com>
18607 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
18608 of $(common-objpfx)shlib.lds.
18609 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
18611 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
18612 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
18614 * configure.in (-z relro check): Adjust test code to add a large
18615 writable data section after it.
18616 * configure: Regenerated.
18618 2011-07-11 Roland McGrath <roland@hack.frob.com>
18620 * configure.in (-z relro check): Fix test code to make the variable
18622 * configure: Regenerated.
18624 2011-07-11 Ulrich Drepper <drepper@gmail.com>
18626 * nscd/nscd.h (struct traced_file): Define.
18627 (struct database_dyn): Remove inotify_descr, reset_res, and filename
18628 elements. Add traced_files.
18629 (inotify_fd): Declare.
18630 (register_traced_file): Declare.
18631 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
18632 (inotify_fd): Export.
18633 (resolv_conf_descr): Remove.
18634 (nscd_init): Move inotify descriptor creation to main.
18635 Don't register files for notification here.
18636 (register_traced_file): New function.
18637 (invalidate_cache): Don't use reset_res to determine whether to call
18638 res_init, go through the list of registered files.
18639 (main_loop_poll): The inotify descriptors are now stored in the
18640 structures for the traced files.
18641 (main_loop_epoll): Likewise
18642 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
18643 to __nss_disable_nscd.
18644 * nscd/cache.c (prune_cache): There is no single inotify descriptor
18645 for a database anymore. Check the records for all the registered
18647 * nss/Makefile (libnss_files-routines): Add files-init.
18648 (libnss_db-routines): Add db-init.
18649 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
18650 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
18651 * nss/nss_db/db-init.c: New file.
18652 * nss/nss_files/files-init.c: New file.
18653 * nss/nsswitch.c (nss_load_library): New function. Broken out of
18654 __nss_lookup_function.
18655 (__nss_lookup_function): Call nss_load_library.
18656 (nss_load_all_libraries): New function.
18657 (__nss_disable_nscd): Take parameter with callback function for files
18658 to register. Set is_nscd. Load all the DSOs for the NSS modules
18659 used for the cached services.
18660 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
18661 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
18662 options for features to all the files in nscd.
18664 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
18666 2011-07-10 Roland McGrath <roland@hack.frob.com>
18668 * csu/elf-init.c (__libc_csu_init): Comment typo.
18670 2011-07-09 Ulrich Drepper <drepper@gmail.com>
18672 * po/pl.po: Update from translation team.
18673 * po/ja.po: Likewise.
18674 * po/ru.po: Likewise.
18675 * po/ko.po: Likewise.
18676 * po/fr.po: Likewise.
18678 2011-07-09 Roland McGrath <roland@hack.frob.com>
18680 * configure.in (.ctors/.dtors header and trailer check):
18681 Use an empirical test on a built program.
18682 * configure: Regenerated.
18684 * configure.in (-z relro check): Use an empirical test on a built DSO.
18685 Detect, but do not require, on ia64.
18686 * configure: Regenerated.
18688 * configure.in (READELF): Find it with AC_CHECK_TOOL.
18689 Update tests that use readelf to use $READELF instead.
18690 * configure: Regenerated.
18692 2011-07-08 Ulrich Drepper <drepper@gmail.com>
18694 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
18695 if the result is not used.
18697 2011-07-05 Andreas Jaeger <aj@suse.de>
18700 * stdlib/tst-strtod.c: Add testcase.
18702 2011-07-07 Ulrich Drepper <drepper@gmail.com>
18704 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
18705 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
18706 The latter has a higher limit. Take additional parameter to pass to
18708 (__pathconf): Pass file to __statfs_link_max.
18709 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
18711 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
18715 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
18716 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18718 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
18719 (__statfs_filesize_max): Likewise.
18720 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
18722 2011-07-05 Andreas Jaeger <aj@suse.de>
18724 * resolv/res_comp.c (dn_skipname): Remove unused variable.
18726 2011-07-06 Marek Polacek <mpolacek@redhat.com>
18728 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
18730 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
18733 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
18735 * Makefile (strop-tests): Add strncat.
18736 * string/test-strncat.c: New file.
18738 2011-06-30 Marek Polacek <mpolacek@redhat.com>
18740 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
18742 2011-06-21 Andreas Jaeger <aj@suse.de>
18744 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
18745 Copy rule from iconvdata/Makefile.
18747 2011-07-06 Ulrich Drepper <drepper@gmail.com>
18750 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
18751 but no long options are defined, just return 'W'.
18753 2011-06-22 Marek Polacek <mpolacek@redhat.com>
18756 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
18758 2011-07-06 Ulrich Drepper <drepper@gmail.com>
18760 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
18762 (innetgr): Likewise.
18764 2011-07-05 Roland McGrath <roland@hack.frob.com>
18766 * config.make.in (install_root): Default to $(DESTDIR).
18768 2011-07-05 Ulrich Drepper <drepper@gmail.com>
18770 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
18772 2011-07-02 Roland McGrath <roland@hack.frob.com>
18774 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
18776 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
18777 containing directory rather than embedding absolute directory names.
18779 * scripts/check-local-headers.sh: Rewritten using awk.
18780 Match by word, not by line. Print error messages for matches.
18781 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
18783 * Makerules [shlib-lds-flags empty]:
18784 ($(common-objpfx)libc_pic.opts): New target.
18785 ($(common-objpfx)libc_pic.os.clean): New target.
18786 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
18788 * config.make.in (OBJCOPY): New variable.
18789 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
18790 * configure: Regenerated.
18792 * config.make.in (use-default-link): New variable.
18793 * configure.in (use_default_link): Grok --with-default-link to set it.
18794 * configure: Regenerated.
18795 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
18796 (shlib-lds, shlib-lds-flags): Define to empty.
18798 * Makerules (shlib-lds): New variable.
18799 (shlib-lds-flags): New variable.
18800 (build-shlib, build-moduile, build-module-asneeded): Use it.
18801 ($(common-objpfx)libc.so): Use $(shlib-lds).
18802 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
18803 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
18805 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
18806 DT_FLAGS/DT_FLAGS_1 with zero flags.
18808 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
18809 linker script munging.
18811 2011-07-02 Ulrich Drepper <drepper@gmail.com>
18813 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
18815 * crypt/sha512.c (sha512_process_block): Perform total addition using
18816 128-bit if possible.
18817 (__sha512_finish_ctx): Likewise.
18818 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
18820 * crypt/sha256.c (SWAP64): Define.
18821 (sha256_process_block): Perform total addition using 64-bit if
18823 (__sha256_finish_ctx): Likewise.
18825 2011-07-01 Ulrich Drepper <drepper@gmail.com>
18827 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
18828 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18829 * nscd/hstcache.c (cache_addhst): Likewise.
18830 * nscd/grpcache.c (cache_addgr): Likewise.
18831 * nscd/aicache.c (addhstaiX): Likewise
18832 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
18834 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
18836 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
18837 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18838 * nscd/hstcache.c (cache_addhst): Likewise.
18839 * nscd/grpcache.c (cache_addgr): Likewise.
18840 * nscd/aicache.c (addhstaiX): Likewise
18842 2011-07-01 Andreas Schwab <schwab@redhat.com>
18844 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
18845 domain only when needed.
18847 2011-06-30 Andreas Schwab <schwab@redhat.com>
18849 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
18850 is always restored.
18852 2011-06-29 Ulrich Drepper <drepper@gmail.com>
18854 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
18855 are re-adding the entry.
18856 * nscd/servicescache.c (cache_addserv): Likewise.
18858 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
18860 * sysdeps/generic/dl-irel.h: fix protection against multiple
18862 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
18864 2011-06-28 Ulrich Drepper <drepper@gmail.com>
18867 * malloc/memusage.sh: Fix quoting in message.
18868 * debug/xtrace.sh: Likewise.
18870 * configure.in: Remove support for --experimental-malloc option, make
18872 * config.make.in: Likewise.
18873 * malloc/Makefile: Likewise.
18875 2011-06-27 Andreas Schwab <schwab@redhat.com>
18877 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
18878 two-byte characters.
18880 2011-06-27 Roland McGrath <roland@hack.frob.com>
18882 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
18883 AC_CACHE_CHECK invocation.
18884 * configure: Regenerated.
18886 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
18888 2011-06-27 Ulrich Drepper <drepper@gmail.com>
18891 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
18892 bit from old_res_options.
18894 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
18896 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
18897 value type for setfct.
18899 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
18901 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
18902 __gettimeofday instead of gettimeofday.
18904 2011-06-26 Ulrich Drepper <drepper@gmail.com>
18906 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
18908 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
18910 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
18912 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
18915 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
18917 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18918 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
18919 strcpy-sse2-unaligned strncpy-sse2-unaligned
18920 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
18921 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
18922 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
18923 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
18924 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
18925 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
18926 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
18927 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
18928 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
18929 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
18930 (STRCPY): Support SSE2 and SSSE3 versions.
18932 2011-06-24 Ulrich Drepper <drepper@gmail.com>
18935 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
18936 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
18937 kernels which artificially limit size of requests.
18939 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
18941 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18942 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
18943 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
18944 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
18945 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
18946 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
18947 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
18948 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
18949 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
18950 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
18951 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
18952 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
18953 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
18954 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
18955 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
18956 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18957 Enable unaligned load optimization for Intel Core i3, i5 and i7
18959 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
18961 (index_Fast_Unaligned_Load): Define.
18962 (HAS_FAST_UNALIGNED_LOAD): Define.
18964 2011-06-23 Marek Polacek <mpolacek@redhat.com>
18966 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
18968 2011-06-22 Ulrich Drepper <drepper@gmail.com>
18971 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
18972 until it is clear that the information is realy needed.
18973 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
18975 2011-06-22 Andreas Schwab <schwab@redhat.com>
18977 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
18979 2011-06-22 Ulrich Drepper <drepper@gmail.com>
18981 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
18982 /sys/devices/system/cpu/online if it is usable.
18984 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
18985 reading the information from the /proc filesystem to once a second.
18987 2011-06-21 Andreas Jaeger <aj@suse.de>
18989 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
18990 NULL after inclusion of kernel headers.
18992 2011-06-21 Ulrich Drepper <drepper@gmail.com>
18994 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
18995 calls to internal_setent.
18998 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
18999 addresses using gethostbyname4_r ignore IPv4 addresses.
19001 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
19002 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
19004 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
19006 2011-06-20 David S. Miller <davem@davemloft.net>
19008 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
19010 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
19012 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
19013 (elf_irel): Use it.
19014 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
19015 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
19016 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
19017 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
19018 * sysdeps/x86_64/dl-irel.h: Likewise.
19020 * elf/dl-runtime.c: Use elf_ifunc_invoke.
19021 * elf/dl-sym.c: Likewise.
19023 2011-06-15 Ulrich Drepper <drepper@gmail.com>
19025 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
19026 need to dereference resplen2.
19028 2011-06-14 Andreas Schwab <schwab@redhat.com>
19030 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
19032 2011-06-15 Ulrich Drepper <drepper@gmail.com>
19034 * Makeconfig: Define vardbdir and inst_vardbdir.
19035 * nss/Makefile: Add rules to install db-Makefile.
19037 * nss/nss_db/db-XXX.c: Cleanup.
19039 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
19040 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
19042 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
19043 * nss/makedb.c: Implement -g option to specify that value strings
19044 are generated and should not be added to table iterated over for
19046 * nss/nss_db/db-initgroups.c: New file.
19048 * nss/getent.c: Add support for initgroups lookups through getgrouplist
19051 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
19052 (internal_getgrouplist): Adjust to name change.
19053 Update use_initgroups_entry if this is not the first call.
19054 * nss/databases.def: Add initgroups entry.
19056 * nss/makedb.c (compute_tables): Check result of multiple hash table
19057 sizes to minimize maximum chain length.
19059 2011-06-14 Ulrich Drepper <drepper@gmail.com>
19061 * Versions.def: Add entry for libnss_db.
19062 * shlib-versions: Likewise.
19063 * nss/Makefile: Add rules to build libnss_db.
19064 * nss/Versions: Add libnss_db information. Organize libnss_files
19066 * nss/db-Makefile: Add gshadow support. Change rules for the new
19067 makedb progra. Some minor improvements to generate smaller files.
19068 * nss/nss_db/nss_db.h: Move NSS database header data structures to
19070 * nss/makedb.c: ...here.
19071 Improve database format to be smaller and require less memory at
19073 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
19075 * nss/nss_db/db-netgrp.c: Likewise.
19076 * nss/nss_db/db-open.c: Likewise.
19077 * nss/nss_files/flies-XXX.x: Adjust comments.
19078 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
19079 * nss/nss_files/files-grp.c: Likewise.
19080 * nss/nss_files/files-hosts.c: Likewise.
19081 * nss/nss_files/files-network.c: Likewise.
19082 * nss/nss_files/files-proto.c: Likewise.
19083 * nss/nss_files/files-pwd.c: Likewise.
19084 * nss/nss_files/files-rpc.c: Likewise.
19085 * nss/nss_files/files-service.c: Likewise.
19086 * nss/nss_files/files-sgrp.c: Likewise.
19087 * nss/nss_files/files-spwd.c: Likewise.
19088 * nss/nss_db/db-alias.c: Removed.
19089 * nss/nss_db/dummy-db.h: Removed.
19091 2011-06-02 Ulrich Drepper <drepper@gmail.com>
19093 * nss/makedb.c: Rewritten to not use database library.
19094 * nss/Makefile: Update to build new makedb program.
19096 2011-06-14 Andreas Jaeger <aj@suse.de>
19098 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
19099 memset declaration.
19101 2011-06-10 Andreas Schwab <schwab@redhat.com>
19103 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
19106 2011-06-10 Roland McGrath <roland@hack.frob.com>
19108 * Makerules (shlib.lds): Fail if the linker script comes out empty.
19109 * elf/Makefile ($(objpfx)ld.so): Likewise.
19111 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
19112 Don't list ld.so twice in dependencies.
19114 * posix/bug-regex31.c: Include <stdlib.h>.
19116 * nscd/hstcache.c (cache_addhst): Remove unused variable.
19118 * nis/nss_compat/compat-spwd.c
19119 (getspent_next_nss_netgr): Remove unused variable.
19120 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
19122 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
19123 nonmembers" output to use the right array.
19125 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
19127 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
19129 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
19130 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
19131 * catgets/gencat.c (read_input_file): Likewise.
19132 * locale/programs/locarchive.c (enlarge_archive): Likewise.
19134 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
19135 variable definition inside #if's controlling its use.
19137 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
19139 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
19141 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
19143 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
19146 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
19148 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
19149 * configure: Regenerated.
19151 * Makerules: Revert last change.
19152 * elf/Makefile: Likewise.
19154 2011-06-09 Roland McGrath <roland@hack.frob.com>
19156 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
19157 * elf/Makefile ($(objpfx)librtld.os): Likewise.
19158 (reloc-link): Likewise.
19160 2011-06-09 Ulrich Drepper <drepper@gmail.com>
19162 * elf/Makefile: Add rules to build pldd.
19163 * elf/pldd.c: New file.
19164 * elf/pldd-xx.c: New file.
19166 2011-06-07 Ulrich Drepper <drepper@gmail.com>
19168 * version.h: Update for 2.15 development version.
19170 2011-06-07 David S. Miller <davem@davemloft.net>
19172 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
19174 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
19175 elf_machine_lazy_rel): Likewise.
19176 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
19177 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
19178 elf_machine_lazy_rel): Likewise.
19179 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
19180 dl_hwcap via passed in argument.
19181 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
19184 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19186 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
19188 2011-06-06 Roland McGrath <roland@hack.frob.com>
19191 * manual/fdl-1.1.texi: New file, verbatim from:
19192 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
19193 * manual/lgpl-2.1.texi: New file, verbatim from:
19194 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
19195 * manual/Makefile (licenses): New variable, list those new file names.
19197 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
19199 * manual/fdl.texi: File removed.
19200 * manual/lesser.texi: File removed.
19201 * manual/libc.texinfo (Copying, Documentation License):
19202 Use new @include file names, put @appendix directive before @include.
19204 2011-06-04 Jakub Jelinek <jakub@redhat.com>
19207 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
19208 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
19209 (mq_open): Add __NTH.
19211 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
19213 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19214 Assume Intel Core i3/i5/i7 processor if AVX is available.
19216 2011-05-31 Ulrich Drepper <drepper@gmail.com>
19218 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
19221 2011-05-31 Andreas Schwab <schwab@redhat.com>
19223 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
19224 memory. Use alloca_account. Fix memory leak when retrying.
19226 2011-05-31 Ulrich Drepper <drepper@gmail.com>
19228 * version.h (RELEASE): Bump for 2.14 release.
19229 * include/features.h (__GLIBC_MINOR__): Bump to 14.
19231 * config.make.in (RANLIB): Remove entry.
19233 2011-05-30 Ulrich Drepper <drepper@gmail.com>
19235 * po/Makefile (po-sed-cmd): Add ksh to extensions.
19236 (libc.pot): Work around missing support for .ksh extension in xgettext.
19239 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
19240 if both request failed.
19241 (send_dg): In case of server errors clear resplen or *resplen2.
19244 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
19245 when there are multiple maps.
19246 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
19247 (_dl_fini): Remove test here.
19249 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
19251 2011-05-29 Ulrich Drepper <drepper@gmail.com>
19254 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
19255 bit from old_res_options.
19256 (gaih_inet): Likewise.
19259 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
19262 * resolv/res_init.c (res_setoptions): Make the code more compact.
19265 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
19269 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
19271 * malloc/malloc.h: Mark malloc hook variables as deprecated.
19274 * malloc/malloc.h: Declare malloc hook variables as volatile.
19276 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
19280 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
19281 raise in the comment.
19282 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19283 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19284 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
19286 2011-05-28 Ulrich Drepper <drepper@gmail.com>
19289 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
19290 grow the buffers more if it already has to be sufficient.
19291 (build_wcs_upper_buffer): Likewise.
19292 * posix/regexec.c (check_matching): Likewise.
19293 (clean_state_log_if_needed): Likewise.
19294 (extend_buffers): Don't enlarge buffers beyond size of the input
19296 Patches mostly by Emil Wojak <emil@wojak.eu>.
19297 * posix/bug-regex32.c: New file.
19298 * posix/Makefile (tests): Add bug-regex32.
19300 * locale/findlocale.c (_nl_find_locale): Return right away if
19301 _nl_explode_name failed.
19302 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
19304 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
19306 * debug/xtrace.sh: Unify messages.
19307 * malloc/memusage.sh: Likewise.
19310 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
19311 time symbol from vDSO. Substitute with vsyscall if not available.
19312 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
19315 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
19316 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
19317 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
19318 Add sendmmsg and internal_sendmmsg.
19319 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
19320 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
19321 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
19323 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
19324 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
19325 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
19327 2011-05-27 Ulrich Drepper <drepper@gmail.com>
19330 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
19331 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
19333 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
19337 * iconvdata/Makefile (tests): Add bug-iconv9.
19338 * iconvdata/bug-iconv9.c: New file.
19340 2011-05-27 Andreas Schwab <schwab@redhat.com>
19343 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
19345 2011-05-25 Jakub Jelinek <jakub@redhat.com>
19347 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
19348 (struct user_regs_struct): Change intcs field back to cs.
19350 2011-05-25 Ulrich Drepper <drepper@gmail.com>
19352 * po/ja.po: Update from translation team.
19354 2011-05-23 Ulrich Drepper <drepper@gmail.com>
19357 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
19358 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
19360 2011-05-20 Andreas Schwab <schwab@redhat.com>
19362 * stdlib/longlong.h: Update from GCC.
19364 2011-05-23 Andreas Schwab <schwab@redhat.com>
19366 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
19368 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
19369 Add parameter name.
19370 (__sysconf): Pass it down.
19372 2011-05-22 Ulrich Drepper <drepper@gmail.com>
19375 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
19377 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
19378 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
19379 add in in __libc_use_alloca calls. Adjust callers.
19380 (glob): Use malloc in some situations.
19382 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
19383 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
19386 2011-05-21 Ulrich Drepper <drepper@gmail.com>
19388 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
19389 and CLOCK_BOOTTIME_ALARM.
19392 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
19395 * string/_strerror.c (__strerror_r): Print negative errors as signed
19399 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
19400 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
19401 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
19403 * configure.in: Fix typo in redirection and correct removal of test
19404 files in two cases.
19407 * locale/setlocale.c (new_composite_name): Fix test to check for
19408 identical name of all categories.
19411 * libio/filedoalloc.c (local_isatty): New function.
19412 (_IO_file_doallocate): Use local_isatty.
19413 * stdio-common/perror.c (perror): In case a new stream is used
19414 forward the stream error.
19415 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
19418 2011-05-20 Ulrich Drepper <drepper@gmail.com>
19421 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
19423 * include/alloca.h (extend_alloca_account): Define.
19426 * posix/regex.h: Fix comments with documentation of user-accessible
19427 fields after compilation and describe correct free'ing of pattern
19428 after re_compile_pattern.
19429 Patch by Reuben Thomas <rrt@sc3d.org>.
19431 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
19433 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
19434 and -mno-altivec to prevent the compiler from using Altivec and/or
19435 VSX instructions when the corresponding registers are not available.
19437 2011-05-19 Andreas Schwab <schwab@redhat.com>
19439 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
19441 2011-05-19 Ulrich Drepper <drepper@gmail.com>
19443 * libio/freopen.c (freopen): Use __dup2, not dup2.
19444 * libio/freopen64.c (freopen64): Likewise.
19446 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
19449 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
19450 * math/Makefile (tests): Add test-powl.
19451 (CFLAGS-test-powl.c): Define.
19452 * math/test-powl.c: New file.
19454 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
19456 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
19458 2011-05-17 Ulrich Drepper <drepper@gmail.com>
19461 * iconvdata/gb18030.c: Update to GB18020-2005.
19463 2011-05-16 Ulrich Drepper <drepper@gmail.com>
19465 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
19466 RE_SYNTAX_POSIX_AWK): Update to match recent development.
19467 Patch by Aharon Robbins <arnold@skeeve.com>.
19470 * stdlib/putenv.c (putenv): Don't always create copy of the variable
19474 * misc/pselect.c (__pselect): Handle timeout value errors hidden
19475 through underflows.
19478 * misc/error.c (error_at_line): Ensure file_name and old_file_name
19479 point to strings before performing equality test for error_one_per_line
19483 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
19486 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
19487 (struct user_fpregs_struct): Avoid __uint*_t types.
19490 * malloc/mtrace.c (tr_where): Add additional parameter to point to
19491 symbol info. Use it instead of calling _dl_addr locally.
19492 (lock_and_info): New function.
19493 (tr_freehook): Call lock_and_info and pass symbol info as additional
19494 parameter to tr_where.
19495 (tr_mallochook): Likewise.
19496 (tr_reallochook): Likewise.
19497 (tr_memalignhook): Likewise.
19499 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
19500 used and couldn't be at all thread-safe.
19502 2011-05-15 Ulrich Drepper <drepper@gmail.com>
19504 * libio/freopen.c (freopen): Don't close old file descriptor
19505 before the new one is opened. Instead dup the new file descriptor
19506 to the old one after the new stream is created.
19507 * libio/freopen64.c (freopen64): Likewise.
19508 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
19509 * libio/fileops.c (_IO_new_file_close_it): Handle new
19510 _IO_FLAGS2_NOCLOSE flag.
19511 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
19512 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
19513 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
19514 _IO_FLAGS2_NOCLOSE flag.
19515 * include/unistd.h: Add hidden_proto for dup3.
19516 Define __have_dup3.
19517 * io/dup3.c: Define hidden symbol.
19518 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
19521 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
19522 when an incomplete long option is used.
19523 * posix/tst-getopt_long1.c: New file.
19524 * posix/Makefile (tests): Add tst-getopt_long1.
19527 * scripts/config.guess: Update from autoconf-2.68.
19528 * scripts/config.sub: Likewise.
19531 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
19533 (has_cpuclock): ...this. New function.
19534 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
19535 macro here based on has_cpuclock code.
19538 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19539 First byte (not low byte) is now always NUL.
19540 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
19542 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19543 Use non-cancelable interfaces.
19546 * locale/iso-639.def: Add entry for Sorani.
19549 * include/stdlib.h: Move include protection to the right place.
19550 Define abort_msg_s. Declare __abort_msg with it.
19551 * stdlib/abort.c (__abort_msg): Adjust type.
19552 * assert/assert.c (__assert_fail_base): New function. Majority
19553 of code from __assert_fail. Allocate memory for __abort_msg with
19555 (__assert_fail): Now call __assert_fail_base.
19556 * assert/assert-perr.c: Remove bulk of implementation. Use
19557 __assert_fail_base.
19558 * include/assert.hL Declare __assert_fail_base.
19559 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
19561 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
19563 2011-05-14 Ulrich Drepper <drepper@gmail.com>
19567 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
19568 until all modules are registered in the DTV.
19569 * elf/Makefile: Add rules to build and run tst-tls19.
19570 * elf/tst-tls19.c: New file.
19571 * elf/tst-tls19mod1.c: New file.
19572 * elf/tst-tls19mod2.c: New file.
19573 * elf/tst-tls19mod3.c: New file.
19574 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
19577 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
19581 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
19582 two-byte sequence errors.
19583 * iconvdata/Makefile (tests): Add bug-iconv8.
19584 * iconvdata/bug-iconv8.c: New file.
19587 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
19590 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
19593 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
19594 (dummy_getcfa): New function.
19595 (init): Get _Unwind_GetCFA address, use dummy if not found.
19596 (backtrace_helper): In recursion check, also check whether CFA changes.
19597 (__backtrace): Completely initialize arg.
19599 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
19600 storing incomplete byte sequence in state object. Avoid testing for
19601 guaranteed too small input if we know there is enough data available.
19603 2011-05-11 Andreas Schwab <schwab@redhat.com>
19605 * Makeconfig (+link-pie): Indent.
19606 * Rules (binaries-pie): Define if $(have-fpie) and
19608 (binaries-shared): Also filter out $(binaries-pie).
19609 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
19610 * nscd/Makefile (others-pie): Add nscd.
19611 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
19612 ($(objpfx)nscd): Remove command override.
19613 * login/Makefile (others-pie): Add pt_chown.
19614 ($(objpfx)pt_chown): Remove command override.
19615 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
19616 remove command overrides.
19618 2011-05-13 Ulrich Drepper <drepper@gmail.com>
19620 * libio/tst_putwc.c: Fix error messages.
19623 * libio/fileops.c (_IO_new_file_close_it): Always flush when
19624 currently writing and seek to current position when not.
19625 * libio/Makefile (tests): Add bug-fclose1.
19626 * libio/bug-fclose1.c: New file.
19628 2011-05-12 Ulrich Drepper <drepper@gmail.com>
19631 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
19632 don't set DF_1_NODELETE here.
19633 (do_lookup_x): When entering new entry test for copy relocation
19634 and if necessary set DF_1_NODELETE flag.
19635 * elf/tst-unique4.cc: New file.
19636 * elf/tst-unique4.h: New file.
19637 * elf/tst-unique4lib.cc: New file.
19638 * elf/Makefile: Add rules to build and run tst-unique4.
19639 Patch by Piotr Bury <pbury@goahead.com>.
19641 2011-05-11 Ulrich Drepper <drepper@gmail.com>
19644 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
19647 * misc/mntent_r.c (addmntent): Flush the stream after the output
19650 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
19651 (is_trusted_path_normalize): Skip initial colon. Append slash
19652 to empty buffer. Duplicate is_trusted_path code but allow
19653 constructed patch to be prefix.
19654 (is_dst): Allow $ORIGIN followed by /.
19655 (_dl_dst_substitute): Correct clearing of check_for_trusted.
19656 Correct testing of result of is_trusted_path_normalize
19657 (decompose_rpath): Fix warning.
19659 2011-05-10 Ulrich Drepper <drepper@gmail.com>
19662 * grp/initgroups.c (internal_getgrouplist): When we found the service
19663 list through the initgroups entry in nsswitch.conf do not always
19664 continue on a successful lookup. Don't always use the
19665 __nss_group_database value if it is set.
19666 * nss/nsswitch.conf (initgroups): Change action for successful db
19667 lookup to continue for compatibility.
19669 2011-05-09 Ulrich Drepper <drepper@gmail.com>
19672 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
19674 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
19676 * iconvdata/tst-tables.sh: Likewise.
19677 * iconvdata/cp770.c: New file.
19678 * iconvdata/cp771.c: New file.
19679 * iconvdata/cp772.c: New file.
19680 * iconvdata/cp773.c: New file.
19681 * iconvdata/cp774.c: New file.
19682 * iconvdata/testdata/CP770: New file.
19683 * iconvdata/testdata/CP770..UTF8: New file.
19684 * iconvdata/testdata/CP771: New file.
19685 * iconvdata/testdata/CP771..UTF8: New file.
19686 * iconvdata/testdata/CP772: New file.
19687 * iconvdata/testdata/CP772..UTF8: New file.
19688 * iconvdata/testdata/CP773: New file.
19689 * iconvdata/testdata/CP773..UTF8: New file.
19690 * iconvdata/testdata/CP774: New file.
19691 * iconvdata/testdata/CP774..UTF8: New file.
19693 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
19695 * iconvdata/gen-8bit-gap.sh: Likewise.
19696 * iconvdata/gen-8bit.sh: Likewise.
19698 * locale/iso-639.def: Add ary entry.
19701 * locale/C-translit.h.in: Add U20A1 transliteration.
19704 * locale/iso-639.def: Add wae entry.
19705 Patch by Kevin Bortis <bortis@translate-wae.ch>.
19708 * locale/programs/localedef.c (construct_output_path): Use ssize_t
19712 * locale/C-translit.h.in: Add entry for U20B9.
19713 Patch by pravin.d.s@gmail.com.
19715 2011-05-08 Ulrich Drepper <drepper@gmail.com>
19718 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
19719 ENAMETOOLONG use generic getcwd.
19720 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
19721 in rtld. Use *stat64.
19722 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
19723 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
19724 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
19725 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
19726 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
19727 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
19728 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
19729 __fstatat64 macros.
19730 * include/dirent.h: Add libc_hidden_proto for rewinddir.
19731 * dirent/rewinddir.c: Add libc_hidden_def.
19732 * sysdeps/mach/hurd/rewinddir.c: Likewise.
19733 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
19735 * include/dirent.h (__alloc_dir): Add flags parameter.
19736 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
19737 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
19739 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
19740 from fdopendir if O_CLOEXEC is already set.
19742 2011-03-15 Alan Modra <amodra@gmail.com>
19744 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
19745 l_tls_firstbyte_offset non-zero. Save padding offset in
19746 l_tls_firstbyte_offset for later use.
19747 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
19748 freeing static tls block.
19750 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
19752 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
19753 where #ifdef was intended. The intent is to prevent ARG_MAX from
19754 being defined by the kernel headers.
19756 2011-05-07 Ulrich Drepper <drepper@gmail.com>
19759 * resolv/resolv.h: Define RES_NOTLDQUERY.
19760 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
19761 no-tld-query and set RES_NOTLDQUERY.
19762 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
19763 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
19764 modern BIND to search name as TLD unless forbidden.
19766 2011-05-07 Petr Baudis <pasky@suse.cz>
19767 Ulrich Drepper <drepper@gmail.com>
19770 * elf/dl-load.c (fillin_rpath): Move trusted path check...
19771 (is_trusted_path): ...to here.
19772 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
19773 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
19774 using is_trusted_path_normalize() in setuid scripts.
19776 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
19778 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
19779 __BEGIN/__END_DECLS.
19781 2011-05-06 Ulrich Drepper <drepper@gmail.com>
19783 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
19784 NSS_STATUS_NOTFOUND if no record was found.
19786 2011-05-05 Andreas Schwab <schwab@redhat.com>
19788 * sunrpc/Makefile (headers): Add rpc/netdb.h.
19789 (headers-not-in-tirpc): Remove rpc/netdb.h
19790 * resolv/netdb.h: Revert last change.
19792 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19794 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
19795 circular dependency between libgcc.a and libc.a.
19797 2011-05-05 Andreas Schwab <schwab@redhat.com>
19799 * resolv/netdb.h: Don't include <rpc/netdb.h>.
19800 * nis/Makefile: Don't install rpcsvc/*.
19801 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
19802 instead of <rpc/types.h>.
19803 (MAXHOSTNAMELEN): Define.
19805 2011-05-03 Andreas Schwab <schwab@redhat.com>
19807 * elf/ldconfig.c (add_dir): Don't crash on empty path.
19809 2011-04-28 Maciej Babinski <mbabinski@google.com>
19812 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
19813 gethostbyname4_r when IPv6 results are possible.
19815 2011-05-02 Ulrich Drepper <drepper@gmail.com>
19818 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
19819 _PC_PIPE_BUF handling.
19821 2011-04-30 Bruno Haible <bruno@clisp.org>
19824 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
19825 * resolv/netdb.h (getnameinfo): Change type of flags parameter
19827 * inet/getnameinfo.c (getnameinfo): Likewise.
19829 2011-04-29 Ulrich Drepper <drepper@gmail.com>
19831 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
19832 to groups setting in database lookup.
19833 * nss/nsswitch.conf: Add initgroups entry.
19835 2011-04-22 Ulrich Drepper <drepper@gmail.com>
19838 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
19840 Patch by Eric Blake <eblake@redhat.com>.
19842 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
19844 * sunrpc/Makefile (need-export-routines): Add svc_run.
19845 (routines): Remove svc_run.
19846 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
19847 * sunrpc/clnt_perr.c (clnt_perrno): Export.
19848 * sunrpc/svc_run.c (svc_run): Likewise.
19849 * sunrpc/svc_udp.c (svcudp_create): Likewise.
19851 2011-04-21 Ulrich Drepper <drepper@gmail.com>
19853 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
19854 problem in reallocation in last patch.
19856 2011-04-20 Ulrich Drepper <drepper@gmail.com>
19858 * sunrpc/Makefile: Move inclusion of Rules.
19860 2011-04-19 Ulrich Drepper <drepper@gmail.com>
19862 * nss/nss_files/files-initgroups.c: New file.
19863 * nss/Makefile (libnss_files-routines): Add files-initgroups.
19864 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
19865 _nss_files_initgroups_dyn.
19867 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
19869 * elf/elf.h (R_ARM_IRELATIVE): Define.
19871 2011-04-19 Ulrich Drepper <drepper@gmail.com>
19873 * po/ru.po: Update from translation team.
19875 2011-04-17 Ulrich Drepper <drepper@gmail.com>
19877 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
19880 2011-02-06 Mike Frysinger <vapier@gentoo.org>
19883 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
19884 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
19885 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19886 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19887 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19889 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
19891 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
19893 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19894 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19895 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19897 2011-04-17 Ulrich Drepper <drepper@gmail.com>
19900 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
19902 * stdlib/bug-getcontext.c: New file.
19903 * stdlib/Makefile: Add rules to build and run bug-getcontext.
19905 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19907 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
19908 instructions into .machine "z9-109".
19909 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
19910 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
19912 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19914 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
19915 between environment variables and auxiliary vector.
19917 2011-04-16 Ulrich Drepper <drepper@gmail.com>
19919 * Makefile: Add rules to build linkobj/libc.so.
19920 * include/libc-symbols.h: Define libc_hidden_nolink.
19921 * include/rpc/auth.h: Mark functions which are to be hidden.
19922 * include/rpc/auth_des.h: Likewise.
19923 * include/rpc/auth_unix.h: Likewise.
19924 * include/rpc/clnt.h: Likewise.
19925 * include/rpc/des_crypt.h: Likewise.
19926 * include/rpc/key_prot.h: Likewise.
19927 * include/rpc/pmap_clnt.h: Likewise.
19928 * include/rpc/pmap_prot.h: Likewise.
19929 * include/rpc/pmap_rmt.h: Likewise.
19930 * include/rpc/rpc_msg.h: Likewise.
19931 * include/rpc/svc.h: Likewise.
19932 * include/rpc/svc_auth.h: Likewise.
19933 * include/rpc/xdr.h: Likewise.
19934 * nis/Makefile: Link all DSOs against linkobj/libc.so.
19935 * nss/Makefile: Likewise.
19936 * sunrpc/Makefile: Don't install headers. Build library with normal
19937 entry points. Don't build rpcinfo. Link RPC tests appropriately.
19938 * sunrpc/auth_des.c: Hide exported symbols by default, export some
19939 for the compat linking library. Remove use of INTDEF/INTUSE.
19940 * sunrpc/auth_none.c: Likewise.
19941 * sunrpc/auth_unix.c: Likewise.
19942 * sunrpc/authdes_prot.c: Likewise.
19943 * sunrpc/authuxprot.c: Likewise.
19944 * sunrpc/clnt_gen.c: Likewise.
19945 * sunrpc/clnt_perr.c: Likewise.
19946 * sunrpc/clnt_raw.c: Likewise.
19947 * sunrpc/clnt_simp.c: Likewise.
19948 * sunrpc/clnt_tcp.c: Likewise.
19949 * sunrpc/clnt_udp.c: Likewise.
19950 * sunrpc/clnt_unix.c: Likewise.
19951 * sunrpc/des_crypt.c: Likewise.
19952 * sunrpc/des_soft.c: Likewise.
19953 * sunrpc/get_myaddr.c: Likewise.
19954 * sunrpc/key_call.c: Likewise.
19955 * sunrpc/key_prot.c: Likewise.
19956 * sunrpc/netname.c: Likewise.
19957 * sunrpc/pm_getmaps.c: Likewise.
19958 * sunrpc/pm_getport.c: Likewise.
19959 * sunrpc/pmap_clnt.c: Likewise.
19960 * sunrpc/pmap_prot.c: Likewise.
19961 * sunrpc/pmap_prot2.c: Likewise.
19962 * sunrpc/pmap_rmt.c: Likewise.
19963 * sunrpc/publickey.c: Likewise.
19964 * sunrpc/rpc_cmsg.c: Likewise.
19965 * sunrpc/rpc_common.c: Likewise.
19966 * sunrpc/rpc_dtable.c: Likewise.
19967 * sunrpc/rpc_prot.c: Likewise.
19968 * sunrpc/rpc_thread.c: Likewise.
19969 * sunrpc/rtime.c: Likewise.
19970 * sunrpc/svc.c: Likewise.
19971 * sunrpc/svc_auth.c: Likewise.
19972 * sunrpc/svc_authux.c: Likewise.
19973 * sunrpc/svc_raw.c: Likewise.
19974 * sunrpc/svc_run.c: Likewise.
19975 * sunrpc/svc_simple.c: Likewise.
19976 * sunrpc/svc_tcp.c: Likewise.
19977 * sunrpc/svc_udp.c: Likewise.
19978 * sunrpc/svc_unix.c: Likewise.
19979 * sunrpc/svcauth_des.c: Likewise.
19980 * sunrpc/xcrypt.c: Likewise.
19981 * sunrpc/xdr.c: Likewise.
19982 * sunrpc/xdr_array.c: Likewise.
19983 * sunrpc/xdr_float.c: Likewise.
19984 * sunrpc/xdr_intXX_t.c: Likewise.
19985 * sunrpc/xdr_mem.c: Likewise.
19986 * sunrpc/xdr_rec.c: Likewise.
19987 * sunrpc/xdr_ref.c: Likewise.
19988 * sunrpc/xdr_sizeof.c: Likewise.
19989 * sunrpc/xdr_stdio.c: Likewise.
19991 2011-04-10 Ulrich Drepper <drepper@gmail.com>
19994 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
19995 * sysdeps/ia64/dl-tls.h: Likewise.
19996 * sysdeps/powerpc/dl-tls.h: Likewise.
19997 * sysdeps/s390/dl-tls.h: Likewise.
19998 * sysdeps/sh/dl-tls.h: Likewise.
19999 * sysdeps/sparc/dl-tls.h: Likewise.
20000 * sysdeps/x86_64/dl-tls.h: Likewise.
20001 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
20003 2011-03-14 Andreas Schwab <schwab@redhat.com>
20005 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
20006 rpath element also skip the following colon.
20007 (expand_dynamic_string_token): Add is_path parameter and pass
20008 down to DL_DST_REQUIRED and _dl_dst_substitute.
20009 (decompose_rpath): Call expand_dynamic_string_token with
20010 non-zero is_path. Ignore empty rpaths.
20011 (_dl_map_object_from_fd): Call expand_dynamic_string_token
20014 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
20016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
20019 2011-04-09 Ulrich Drepper <drepper@gmail.com>
20022 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
20023 Patch by Filipe David Manana <fdmanana@apache.org>.
20025 2011-04-07 Andreas Schwab <schwab@redhat.com>
20027 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
20028 Maintain aligned stack.
20029 (CHECK_RSP): Remove unused macro.
20031 2011-04-03 Ulrich Drepper <drepper@gmail.com>
20033 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
20034 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
20036 2011-04-02 Ulrich Drepper <drepper@gmail.com>
20038 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
20040 * include/features.h: Mention __USE_XOPEN2K8 in comment.
20042 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
20045 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
20046 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
20047 * sysdeps/x86_64/memmove.c: New file.
20048 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
20049 (memcpy): Renamed to ...
20050 (__new_memcpy): This.
20051 (memcpy): Provide GLIBC_2_14 memcpy.
20052 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
20053 (memcpy): Provide GLIBC_2_2_5 memcpy.
20055 2011-04-01 Ulrich Drepper <drepper@gmail.com>
20058 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
20060 2011-03-30 Andreas Schwab <schwab@redhat.com>
20062 * misc/syncfs.c: New file.
20063 * misc/Makefile (routines): Add syncfs.
20064 * posix/unistd.h: Declare syncfs.
20065 * sysdeps/unix/syscalls.list: Add syncfs.
20067 2011-04-01 Andreas Schwab <schwab@redhat.com>
20069 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
20071 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20072 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20073 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20074 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20075 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20076 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
20077 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20079 2011-04-01 Ulrich Drepper <drepper@gmail.com>
20081 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
20082 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20083 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
20084 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20085 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20086 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20087 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20089 * io/Makefile: Compile fallocate.c, fallocate64.c, and
20090 sync_file_range.c with -fexceptions.
20091 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
20092 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
20093 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
20094 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
20095 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
20096 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
20097 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
20098 sync_file_range as cancellation point
20099 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
20100 now a wrapper around __call_sync_file_range with cancellation handling.
20101 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
20102 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
20103 function name to __call_sync_file_range.
20104 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
20105 Add call_sync_file_range.
20107 2011-04-01 Andreas Schwab <schwab@redhat.com>
20109 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20112 2011-04-01 Ulrich Drepper <drepper@gmail.com>
20114 * iconv/iconv.h: Fix typo in comment.
20115 * io/fcntl.h: Likewise.
20116 * libio/stdio.h: Likewise.
20117 * posix/spawn.h: Likewise.
20118 * posix/unistd.h: Likewise.
20119 * stdlib/stdlib.h: Likewise.
20120 * time/time.h: Likewise.
20121 * wcsmbs/wchar.h: Likewise.
20123 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
20124 open_by_handle): Add.
20125 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
20126 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
20127 Augment a few comments.
20128 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20129 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20130 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20131 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20132 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20133 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
20136 * io/fcntl.h (AT_EMPTY_PATH): Define.
20138 2011-03-30 Ulrich Drepper <drepper@gmail.com>
20140 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
20141 * sysdeps/unix/sysv/linux/bits/time.h: New file.
20142 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
20144 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
20145 * Versions.def: Add GLIBC_2.14.
20146 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
20149 2011-03-22 Ulrich Drepper <drepper@gmail.com>
20151 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
20153 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
20155 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
20158 * string/test-strncmp.c (do_page_test): New function.
20159 (check2): Likewise.
20160 (test_main): Call check2.
20161 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
20163 2011-03-20 Ulrich Drepper <drepper@gmail.com>
20166 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
20167 Handle cache information in CPU leaf 4.
20168 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
20170 2011-03-18 Ulrich Drepper <drepper@gmail.com>
20173 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
20174 character representation.
20175 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
20177 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
20179 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
20180 END(__isnan) to END(__isnanf) to match function entry point/label
20181 EALIGN(__isnanf,...).
20183 2011-03-10 Jakub Jelinek <jakub@redhat.com>
20185 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
20187 2011-03-10 Ulrich Drepper <drepper@gmail.com>
20190 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
20191 copy from the symbol referenced in the relocation to initialize the
20193 Patch by Piotr Bury <pbury@goahead.com>.
20194 * elf/Makefile: Add rules to build and tst-unique3.
20195 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
20196 * elf/tst-unique3.cc: New file.
20197 * elf/tst-unique3.h: New file.
20198 * elf/tst-unique3lib.cc: New file.
20199 * elf/tst-unique3lib2.cc: New file.
20201 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
20203 2011-03-10 Mike Frysinger <vapier@gentoo.org>
20205 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
20206 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
20209 2011-03-06 Ulrich Drepper <drepper@gmail.com>
20211 * elf/dl-load.c (_dl_map_object): If we are looking for the first
20212 to-be-loaded object along a path to loader is ld.so.
20214 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
20215 Ulrich Drepper <drepper@gmail.com>
20217 * sysdeps/x86_64/memset.S: After aligning destination, code
20218 branches to different locations depending on the value of
20219 misalignment, when multiarch is enabled. Fix this.
20221 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
20223 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
20224 Set _x86_64_preferred_memory_instruction for AMD processsors.
20225 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20226 Set bit_Prefer_SSE_for_memop for AMD processors.
20228 2011-03-04 Ulrich Drepper <drepper@gmail.com>
20230 * libio/fmemopen.c (fmemopen): Optimize a bit.
20232 2011-03-03 Andreas Schwab <schwab@redhat.com>
20234 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
20236 2011-03-03 Roland McGrath <roland@redhat.com>
20238 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
20240 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
20242 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
20243 __bzero_ultra1 instead of __memset_ultra1.
20245 2011-02-23 Andreas Schwab <schwab@redhat.com>
20246 Ulrich Drepper <drepper@gmail.com>
20249 * include/link.h (struct link_map): Add l_orig_initfini.
20250 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
20251 returning unsuccessfully.
20252 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
20253 close of a file loaded at startup, restore the original l_initfini
20255 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
20256 list, store the pointer.
20257 * elf/Makefile ($(objpfx)noload-mem): New rule.
20258 (noload-ENV): Define.
20259 (tests): Add $(objpfx)noload-mem.
20260 * elf/noload.c: Include <memcheck.h>.
20261 (main): Call mtrace. Close all opened handles.
20263 2011-02-17 Andreas Schwab <schwab@redhat.com>
20266 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
20267 dependencies are missing.
20269 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
20271 Fix __if_freereq crash: Unlike the generic version which uses free,
20273 * sysdeps/mach/hurd/ifreq.h: New file.
20275 2011-01-27 Petr Baudis <pasky@suse.cz>
20276 Ulrich Drepper <drepper@gmail.com>
20279 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
20280 to extend_alloca().
20281 * stdio-common/bug23.c: New file.
20282 * stdio-common/Makefile (tests): Add bug23.
20284 2010-09-28 Andreas Schwab <schwab@redhat.com>
20285 Ulrich Drepper <drepper@gmail.com>
20288 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
20289 before performing relro protection. At old place add assertion
20290 to make sure nothing changed.
20292 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
20293 Glauber de Oliveira Costa <glommer@gmail.com>
20295 * elf/elf.h: Add new ARM TLS relocs.
20297 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
20299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20300 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
20302 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
20304 * sysdeps/wordsize-64/tst-writev.c: New file.
20306 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
20308 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
20309 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
20310 insns in _dl_start to prevent a TOC reference before relocs are
20313 2011-02-15 Ulrich Drepper <drepper@gmail.com>
20316 * Makeconfig: Remove RANLIB definition.
20317 * Makerules: Don't use RANLIB.
20318 * aclocal.m4: Remove ranlib test.
20319 * configure.in: No need to check for ranlib.
20320 * elf/rtld-Rules: Don't use RANLIB.
20322 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
20324 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
20326 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
20327 inclusion protection macro.
20329 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
20330 SIGRTMIN and SIGRTMAX and print information in that case only when
20331 SIGRTMIN is defined.
20333 2011-02-11 Jakub Jelinek <jakub@redhat.com>
20335 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
20336 arginfo fn returning -1.
20338 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
20339 and thousands string is zero terminated.
20341 2011-02-03 Andreas Schwab <schwab@redhat.com>
20343 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
20344 sysdeps/unix/sysv/linux/bits/socket.h.
20346 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
20348 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
20349 (__CPU_COUNT): Remove old macros.
20350 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
20351 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
20352 (__CPU_ALLOC, __CPU_FREE): Add macros.
20353 (__sched_cpualloc, __sched_cpufree): Add declarations.
20355 2011-02-05 Ulrich Drepper <drepper@gmail.com>
20357 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
20358 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
20359 * nscd/aicache.c (addhstaiX): Return timeout of added value.
20360 (readdhstai): Return value of addhstaiX call.
20361 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
20362 (addgrbyX): Return value returned by cache_addgr.
20363 (readdgrbyname): Return value returned by addgrbyX.
20364 (readdgrbygid): Likewise.
20365 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
20366 (addpwbyX): Return value returned by cache_addpw.
20367 (readdpwbyname): Return value returned by addhstbyX.
20368 (readdpwbyuid): Likewise.
20369 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
20370 (addservbyX): Return value returned by cache_addserv.
20371 (readdservbyname): Return value returned by addservbyX:
20372 (readdservbyport): Likewise.
20373 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
20374 (addhstbyX): Return value returned by cache_addhst.
20375 (readdhstbyname): Return value returned by addhstbyX.
20376 (readdhstbyaddr): Likewise.
20377 (readdhstbynamev6): Likewise.
20378 (readdhstbyaddrv6): Likewise.
20379 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
20380 (readdinitgroups): Return value returned by addinitgroupsX.
20381 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
20382 (prune_cache): Keep track of timeout value of re-added entries.
20383 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
20384 * nscd/nscd.h: Adjust prototypes of readd* functions.
20386 2011-02-04 Roland McGrath <roland@redhat.com>
20388 * nis/nis_server.c (nis_servstate): Use the right name for 0.
20389 (nis_stats): Likewise.
20390 * nis/nis_modify.c (nis_modify): Likewise.
20391 * nis/nis_remove.c (nis_remove): Likewise.
20392 * nis/nis_add.c (nis_add): Likewise.
20394 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
20396 * posix/fnmatch_loop.c: Add some consts.
20398 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
20400 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
20403 * config.make.in (config-cflags-novzeroupper): Define.
20404 * configure.in: Substitute libc_cv_cc_novzeroupper.
20405 * elf/Makefile (AVX-CFLAGS): Define.
20406 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
20407 (CFLAGS-tst-auditmod4a.c): Likewise.
20408 (CFLAGS-tst-auditmod4b.c): Likewise.
20409 (CFLAGS-tst-auditmod6b.c): Likewise.
20410 (CFLAGS-tst-auditmod6c.c): Likewise.
20411 (CFLAGS-tst-auditmod7b.c): Likewise.
20412 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
20414 2011-02-02 Ulrich Drepper <drepper@gmail.com>
20416 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
20417 function to the callback.
20418 Patch partly by Jiri Olsa <jolsa@redhat.com>.
20420 2011-02-02 Andreas Schwab <schwab@redhat.com>
20422 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
20425 2011-01-19 Ulrich Drepper <drepper@gmail.com>
20428 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
20430 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
20432 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
20435 * elf/Makefile: Add rules to build and run new test.
20436 * elf/tst-initorder.c: New file.
20437 * elf/tst-initorder.exp: New file.
20438 * elf/tst-initordera1.c: New file.
20439 * elf/tst-initordera2.c: New file.
20440 * elf/tst-initordera3.c: New file.
20441 * elf/tst-initordera4.c: New file.
20442 * elf/tst-initorderb1.c: New file.
20443 * elf/tst-initorderb2.c: New file.
20444 * elf/tst-order-a1.c: New file.
20445 * elf/tst-order-a2.c: New file.
20446 * elf/tst-order-a3.c: New file.
20447 * elf/tst-order-a4.c: New file.
20448 * elf/tst-order-b1.c: New file.
20449 * elf/tst-order-b2.c: New file.
20450 * elf/tst-order-main.c: New file.
20451 New test case by George Gensure <werkt0@gmail.com>.
20453 2010-10-01 Andreas Schwab <schwab@redhat.com>
20455 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
20456 decoding ACE if AI_CANONIDN.
20458 2011-01-18 Ulrich Drepper <drepper@gmail.com>
20460 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
20462 2011-01-17 Ulrich Drepper <drepper@gmail.com>
20464 * version.h (RELEASE): Bump for 2.13 release.
20465 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
20467 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
20469 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
20471 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
20472 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
20473 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20474 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
20475 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20476 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
20478 * posix/getconf.c: Update copyright year.
20479 * catgets/gencat.c: Likewise.
20480 * csu/version.c: Likewise.
20481 * debug/catchsegv.sh: Likewise.
20482 * debug/xtrace.sh: Likewise.
20483 * elf/ldconfig.c: Likewise.
20484 * elf/ldd.bash.in: Likewise.
20485 * elf/sprof.c (print_version): Likewise.
20486 * iconv/iconv_prog.c: Likewise.
20487 * iconv/iconvconfig.c: Likewise.
20488 * locale/programs/locale.c: Likewise.
20489 * locale/programs/localedef.c: Likewise.
20490 * malloc/memusage.sh: Likewise.
20491 * malloc/mtrace.pl: Likewise.
20492 * nscd/nscd.c (print_version): Likewise.
20493 * nss/getent.c: Likewise.
20495 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
20496 PF_CAIF, and PF_ALG.
20497 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20499 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
20501 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
20502 (modules-names): Use them.
20503 (ifunc-test-modules, ifunc-pie-tests): Define.
20504 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
20505 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
20506 (test-extras): Likewise.
20507 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
20508 $(compile-command.c).
20509 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
20510 (all-built-dso): Define.
20511 (check-textrel.out, check-execstack.out): Depend on it.
20513 * configure.in: Don't override --enable-multi-arch.
20515 2011-01-15 Ulrich Drepper <drepper@gmail.com>
20518 * nscd/hstcache.c (tryagain): Define.
20519 (cache_addhst): Return tryagain not notfound for temporary errors.
20520 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
20523 2011-01-14 Ulrich Drepper <drepper@gmail.com>
20526 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
20527 to make the syscall.
20528 * sysdeps/unix/sysv/linux/setgroups.c: New file.
20531 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
20532 and fall back to matching as normal character if the string ends before
20533 the matching ']' is found. This is what POSIX requires.
20534 * posix/testfnm.c: Adjust test result.
20535 * posix/globtest.sh: Adjust test result. Add new test.
20536 * posix/tst-fnmatch.input: Likewise.
20537 * posix/tst-fnmatch2.c: Add new test.
20539 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
20541 * elf/Makefile (check-execstack): Revert last change. Depend on
20543 (check-execstack.h): New target.
20544 (generated): Add check-execstack.h.
20545 * elf/check-execstack.c: Include "check-execstack.h".
20546 (main): Revert last change.
20547 (handle_file): Return zero if GNU_STACK is absent and
20548 DEFAULT_STACK_PERMS doesn't include PF_X.
20550 2011-01-13 Ulrich Drepper <drepper@gmail.com>
20552 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
20553 in child fails because the descriptor is already closed.
20554 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
20555 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
20556 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
20559 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
20563 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
20564 temporary buffer used to handle multi lookups locally.
20565 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
20567 2011-01-12 Ulrich Drepper <drepper@gmail.com>
20569 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
20572 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
20574 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
20575 alignment for SSE2.
20577 2011-01-12 Ulrich Drepper <drepper@gmail.com>
20580 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
20581 characters. When rounding increased number of integer digits recompute
20583 * stdio-common/tst-grouping.c: New file.
20584 * stdio-common/Makefile: Add rules to build and run tst-grouping.
20586 2011-01-09 Ulrich Drepper <drepper@gmail.com>
20588 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
20589 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
20591 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
20593 * bits/select.h: Likewise.
20595 2011-01-08 Ulrich Drepper <drepper@gmail.com>
20597 * po/ja.po: Update from translation team.
20599 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
20602 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
20603 implementation just like for lxstat, fxstatat, et al.
20605 2010-12-27 Jim Meyering <meyering@redhat.com>
20608 * posix/regexec.c (build_trtable): Return failure indication upon
20609 calloc failure. Otherwise, re_search_internal could infloop on OOM.
20611 2010-12-25 Ulrich Drepper <drepper@gmail.com>
20614 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
20615 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
20616 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
20617 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
20620 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
20623 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
20624 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
20626 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
20628 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
20629 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
20630 script has SORT_BY_INIT_PRIORITY.
20631 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
20632 NO_CTORS_DTORS_SECTIONS is defined.
20633 * elf/soinit.c: Likewise.
20634 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
20635 NO_CTORS_DTORS_SECTIONS is defined.
20636 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
20637 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
20638 * sysdeps/sh/init-first.c: Likewise.
20639 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
20641 2010-12-24 Ulrich Drepper <drepper@gmail.com>
20643 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
20644 always use the slow path.
20646 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
20648 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
20649 similar rule which adds the sysdep directories to the header search in
20650 order to pick up the correct platform stackinfo.h.
20651 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
20652 perform test if it is, otherwise return successfully without testing.
20653 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
20654 DEFAULT_STACK_PERMS define in stackinfo.h.
20655 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
20656 defined in stackinfo.h.
20657 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
20658 DEFAULT_STACK_PERMS defined in stackinfo.h.
20659 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
20660 * sysdeps/ia64/stackinfo.h: Likewise.
20661 * sysdeps/s390/stackinfo.h: Likewise.
20662 * sysdeps/sh/stackinfo.h: Likewise.
20663 * sysdeps/sparc/stackinfo.h: Likewise.
20664 * sysdeps/x86_64/stackinfo.h: Likewise.
20665 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
20666 PF_X for powerpc64. Retain PF_X for powerpc32.
20668 2010-12-19 Ulrich Drepper <drepper@gmail.com>
20670 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
20672 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
20673 GETDENTS_64BIT_ALIGNED.
20675 2010-12-14 Ulrich Drepper <dreper@gmail.com>
20677 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
20679 2010-12-10 Andreas Schwab <schwab@redhat.com>
20681 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
20684 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
20685 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
20687 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
20688 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
20690 2010-12-09 Ulrich Drepper <drepper@gmail.com>
20693 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
20696 2010-12-09 Jakub Jelinek <jakub@redhat.com>
20698 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
20700 2010-12-03 Ulrich Drepper <drepper@gmail.com>
20702 * po/it.po: Update from translation team.
20704 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
20706 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
20709 2010-11-30 Ulrich Drepper <drepper@gmail.com>
20711 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
20713 2010-11-24 Andreas Schwab <schwab@redhat.com>
20715 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
20717 (gaih_getanswer_slice): Likewise.
20719 2010-10-20 Jakub Jelinek <jakub@redhat.com>
20721 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
20723 2010-05-31 Petr Baudis <pasky@suse.cz>
20726 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
20727 silently even in the chroot mode.
20729 2010-11-22 Ulrich Drepper <drepper@gmail.com>
20731 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
20732 last patch a bit. Pretty printing
20734 2010-05-31 Petr Baudis <pasky@suse.cz>
20737 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
20738 initialization of skip_initgroups_dyn.
20740 2010-11-19 Ulrich Drepper <drepper@gmail.com>
20742 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
20743 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
20745 2010-11-16 Ulrich Drepper <drepper@gmail.com>
20747 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
20749 2010-11-11 Andreas Schwab <schwab@redhat.com>
20751 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
20752 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
20753 (tst-fnmatch-ENV): Set MALLOC_TRACE.
20754 ($(objpfx)tst-fnmatch-mem): New rule.
20755 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
20756 * posix/tst-fnmatch.c (main): Call mtrace.
20758 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
20760 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20761 Support Intel processor model 6 and model 0x2c.
20763 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
20765 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
20768 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
20771 * string/test-strncasecmp.c (check_result): New function.
20772 (do_one_test): Use it.
20773 (check1): New function.
20774 (test_main): Use it.
20775 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
20776 Support strcasecmp and strncasecmp.
20778 2010-11-08 Ulrich Drepper <drepper@gmail.com>
20781 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
20782 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20784 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
20786 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
20788 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20790 * sysdeps/x86_64/multiarch/bzero.S: New file.
20791 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
20792 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
20793 * sysdeps/x86_64/multiarch/memset.S: New file.
20794 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
20795 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20796 Set bit_Prefer_SSE_for_memop for Intel processors.
20797 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
20799 (index_Prefer_SSE_for_memop): Define.
20800 (HAS_PREFER_SSE_FOR_MEMOP): Define.
20802 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
20804 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
20805 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
20807 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
20810 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
20811 (__x86_64_raw_data_cache_size_half): Likewise.
20812 (__x86_64_raw_shared_cache_size): Likewise.
20813 (__x86_64_raw_shared_cache_size_half): Likewise.
20815 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
20816 (__x86_64_raw_data_cache_size_half): Likewise.
20817 (__x86_64_raw_shared_cache_size): Likewise.
20818 (__x86_64_raw_shared_cache_size_half): Likewise.
20819 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
20820 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
20821 and __x86_64_raw_shared_cache_size_half. Round
20822 __x86_64_data_cache_size_half, __x86_64_data_cache_size
20823 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
20824 to multiple of 256 bytes.
20826 2010-11-03 Ulrich Drepper <drepper@gmail.com>
20829 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
20830 of inacessible symlinks. Verify result of symlink before returning it.
20831 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
20832 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
20834 2010-10-28 Erich Ritz <erichritz@gmail.com>
20836 * math/math.h (isinf): Fix typo in comment.
20838 2010-11-01 Ulrich Drepper <drepper@gmail.com>
20840 * po/da.po: Update from translation team.
20842 2010-10-26 Ulrich Drepper <drepper@gmail.com>
20844 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
20845 is added to the list.
20847 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20848 Ulrich Drepper <drepper@gmail.com>
20850 * elf/dl-object.c (_dl_new_object): Don't append the new object to
20851 the global list here. Move code to...
20852 (_dl_add_to_namespace_list): ...here. New function.
20853 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
20854 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
20855 * elf/dl-load.c (lose): Don't remove the element from the list.
20856 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
20857 (_dl_map_object): Likewise.
20859 2010-10-25 Ulrich Drepper <drepper@gmail.com>
20862 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
20863 into all bytes of SSE register.
20864 Patch by Richard Li <richardpku@gmail.com>.
20866 2010-10-24 Ulrich Drepper <drepper@gmail.com>
20869 * malloc/malloc.c (_int_free): Fill correct number of bytes when
20872 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
20874 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
20875 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
20876 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
20877 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
20880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
20882 2010-10-22 Andreas Schwab <schwab@redhat.com>
20884 * include/dlfcn.h (__RTLD_SECURE): Define.
20885 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
20886 mode & __RTLD_SECURE instead.
20887 (open_path): Rename preloaded parameter to secure.
20888 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
20889 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
20890 * elf/dl-deps.c (openaux): Likewise.
20891 * elf/rtld.c (struct map_args): Remove is_preloaded.
20892 (map_doit): Don't use it.
20893 (dl_main): Likewise.
20894 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
20895 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
20897 2010-09-09 Andreas Schwab <schwab@redhat.com>
20899 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
20900 (sysd-rules-targets): Remove duplicates.
20901 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
20902 rtld-%.$o dependency.
20904 2010-10-18 Andreas Schwab <schwab@redhat.com>
20906 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
20907 _dl_map_object do it.
20909 2010-10-19 Ulrich Drepper <drepper@gmail.com>
20911 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
20912 fast fma builtins, define the macros in the C99 standard.
20913 (FP_FAST_FMAF): Likewise.
20914 (FP_FAST_FMAL): Likewise.
20915 * sysdeps/x86_64/bits/mathdef.h: Likewise.
20917 * bits/mathdef.h: Update copyright year.
20918 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20920 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
20922 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
20923 builtins, define the macros in the C99 standard.
20924 (FP_FAST_FMAF): Likewise.
20925 (FP_FAST_FMAL): Likewise.
20926 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
20928 (FP_FAST_FMAF): Likewise.
20930 2010-10-15 Jakub Jelinek <jakub@redhat.com>
20933 * math/libm-test.inc (fma_test): Some new testcases.
20934 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
20935 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
20936 y and infinite z. Do multiplication by C already in long double.
20937 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
20938 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
20939 y and infinite z. Do bitwise or of inexact bit into u.d.
20940 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
20941 * sysdeps/i386/fpu/s_fmaf.S: Removed.
20942 * sysdeps/i386/fpu/s_fma.S: Removed.
20943 * sysdeps/i386/fpu/s_fmal.S: Removed.
20945 2010-10-16 Jakub Jelinek <jakub@redhat.com>
20948 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
20949 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
20950 computation is not scheduled after fetestexcept. Fix value
20951 of minimum denormal long double.
20953 2010-10-14 Jakub Jelinek <jakub@redhat.com>
20956 * math/libm-test.inc (fma_test): Add some more tests.
20957 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
20960 2010-10-15 Andreas Schwab <schwab@redhat.com>
20962 * scripts/data/localplt-s390-linux-gnu.data: New file.
20963 * scripts/data/localplt-s390x-linux-gnu.data: New file.
20965 2010-10-13 Jakub Jelinek <jakub@redhat.com>
20968 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
20969 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
20971 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
20973 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
20974 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
20975 if one of x and y is very large and the other is subnormal.
20976 * sysdeps/s390/fpu/s_fmaf.c: New file.
20977 * sysdeps/s390/fpu/s_fma.c: New file.
20978 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
20979 * sysdeps/powerpc/fpu/s_fma.S: New file.
20980 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
20981 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
20982 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
20984 2010-10-12 Jakub Jelinek <jakub@redhat.com>
20987 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
20989 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
20990 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
20991 * sysdeps/i386/i686/multiarch/s_fma.c: Include
20992 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
20993 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
20994 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
20995 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
20997 2010-10-12 Ulrich Drepper <drepper@redhat.com>
21000 * posix/regcomp.c (parse_branch): One more memory leak plugged.
21001 * posix/bug-regex31.input: Add test case.
21003 2010-10-11 Ulrich Drepper <drepper@gmail.com>
21005 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
21006 * posix/bug-regex31.input: New file.
21009 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
21010 (parse_sub_exp): Fix last change, use postorder.
21012 * posix/bug-regex31.c: New file.
21013 * posix/Makefile: Add rules to build and run bug-regex31.
21015 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
21018 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
21021 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
21022 to have entries in sys_siglist.
21025 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
21028 2010-10-07 Jakub Jelinek <jakub@redhat.com>
21031 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
21032 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
21033 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
21034 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
21035 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21036 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
21037 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
21038 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
21039 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
21040 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
21041 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
21042 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
21043 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
21044 * math/ftestexcept.c (fetestexcept): Likewise.
21045 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
21046 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
21047 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
21048 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
21049 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
21050 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
21051 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21053 2010-10-11 Ulrich Drepper <drepper@gmail.com>
21056 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
21059 2010-10-06 Ulrich Drepper <drepper@gmail.com>
21061 * string/bug-strstr1.c: New file.
21062 * string/Makefile: Add rules to build and run bug-strstr1.
21064 2010-10-05 Eric Blake <eblake@redhat.com>
21067 * string/str-two-way.h (two_way_long_needle): Always clear memory
21068 when skipping input due to the shift table.
21070 2010-10-03 Ulrich Drepper <drepper@gmail.com>
21073 * malloc/mcheck.c: Handle large requests.
21076 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
21077 for strncmp and strncasecmp.
21078 * string/stratcliff.c: Add tests for strcmp and strncmp.
21079 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
21081 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21083 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
21086 2010-09-30 Andreas Jaeger <aj@suse.de>
21088 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
21089 (CGROUP_SUPER_MAGIC): Define.
21090 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21091 Handle btrfs and cgroup file systems.
21092 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21095 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
21097 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
21098 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
21100 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21103 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
21104 trying to locate the ELF header.
21106 2010-09-27 Andreas Schwab <schwab@redhat.com>
21109 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
21110 Mask out sign-bit copies when constructing f_fsid.
21112 2010-09-24 Petr Baudis <pasky@suse.cz>
21114 * debug/stack_chk_fail_local.c: Add missing licence exception.
21115 * debug/warning-nop.c: Likewise.
21117 2010-09-15 Joseph Myers <joseph@codesourcery.com>
21119 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
21120 implementing getdents64 using getdents syscall, set d_type if
21121 __ASSUME_GETDENTS32_D_TYPE.
21123 2010-09-16 Andreas Schwab <schwab@redhat.com>
21125 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
21126 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
21128 2010-09-21 Ulrich Drepper <drepper@redhat.com>
21131 * posix/unistd.h: Undo change of feature selection for ftruncate from
21134 2010-09-20 Ulrich Drepper <drepper@redhat.com>
21136 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
21139 2010-09-20 Andreas Schwab <schwab@redhat.com>
21141 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
21143 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
21145 2010-09-14 Andreas Schwab <schwab@redhat.com>
21147 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
21148 variables after CHECK_SP call.
21149 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
21151 2010-09-13 Andreas Schwab <schwab@redhat.com>
21152 Ulrich Drepper <drepper@redhat.com>
21154 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
21155 re-relocationg ld.so.
21156 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
21157 _dl_init_paths call.
21158 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
21161 2010-09-14 Ulrich Drepper <drepper@redhat.com>
21163 * resolv/res_init.c (__res_vinit): Count the default server we added.
21165 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
21166 Ulrich Drepper <drepper@redhat.com>
21169 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
21170 (____longjmp_chk): Use %ebx for saving value across system call.
21173 2010-09-06 Andreas Schwab <schwab@redhat.com>
21175 * manual/Makefile: Don't mix pattern rules with normal rules.
21177 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
21179 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
21181 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
21182 * libio/iofopncook.c (_IO_cookie_init): Likewise.
21183 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
21184 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
21185 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21188 2010-09-04 Ulrich Drepper <drepper@redhat.com>
21191 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
21192 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
21194 2010-09-02 Ulrich Drepper <drepper@redhat.com>
21196 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
21197 * sysdeps/x86_64/addmul_1.S: Likewise.
21198 * sysdeps/x86_64/lshift.S: Likewise.
21199 * sysdeps/x86_64/mul_1.S: Likewise.
21200 * sysdeps/x86_64/rshift.S: Likewise.
21201 * sysdeps/x86_64/sub_n.S: Likewise.
21202 * sysdeps/x86_64/submul_1.S: Likewise.
21204 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
21206 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
21207 Define __sched_param instead of SCHED_* and sched_param when
21208 <bits/sched.h> is included with __need_schedparam defined.
21209 * bits/sched.h [__need_schedparam]
21210 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
21211 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
21212 (__defined_schedparam): Define to 1.
21213 (__sched_param): New structure, identical to sched_param.
21214 (__need_schedparam): Undefine.
21216 2010-08-31 Mike Frysinger <vapier@gentoo.org>
21218 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
21219 (epoll_create1): Declare.
21221 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
21223 2010-08-31 Andreas Schwab <schwab@redhat.com>
21226 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
21227 shifting retval into place.
21229 2010-09-01 Ulrich Drepper <drepper@redhat.com>
21231 * nis/rpcsvc/nis.h: Update copyright notice.
21232 * nis/rpcsvc/nis.x: Likewise.
21233 * nis/rpcsvc/nis_callback.h: Likewise.
21234 * nis/rpcsvc/nis_callback.x: Likewise.
21235 * nis/rpcsvc/nis_object.x: Likewise.
21236 * nis/rpcsvc/nis_tags.h: Likewise.
21237 * nis/rpcsvc/yp.h: Likewise.
21238 * nis/rpcsvc/yp.x: Likewise.
21239 * nis/rpcsvc/ypupd.h: Likewise.
21240 * nis/yp_xdr.c: Likewise.
21241 * nis/ypupdate_xdr.c: Likewise.
21243 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
21244 mainly the body of pmap_getport. Add parameters to specify timeouts.
21245 (pmap_getport): Use __libc_rpc_getport.
21246 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
21247 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
21248 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
21250 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
21252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
21255 2010-08-27 Roland McGrath <roland@redhat.com>
21257 * sysdeps/i386/i686/multiarch/Makefile
21258 (CFLAGS-varshift.c): New variable.
21260 2010-08-27 Ulrich Drepper <drepper@redhat.com>
21262 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
21263 * sysdeps/i386/i686/multiarch/varshift.c: New file.
21265 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
21267 * sysdeps/x86_64/strlen.S: Minimal code improvement.
21269 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
21271 * sysdeps/x86_64/strlen.S: Unroll the loop.
21272 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21273 strlen-sse2 strlen-sse2-bsf.
21274 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
21275 __strlen_no_bsf if bit_Slow_BSF is set.
21276 (__strlen_sse42): Removed.
21277 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
21278 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
21280 2010-08-25 Roland McGrath <roland@redhat.com>
21282 * sysdeps/x86_64/multiarch/varshift.S: File removed.
21283 * sysdeps/x86_64/multiarch/varshift.c: New file.
21284 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
21285 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
21286 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
21287 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21289 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
21291 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21292 strlen-sse2 strlen-sse2-bsf.
21293 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
21294 __strlen_sse2_bsf if bit_Slow_BSF is unset.
21295 (__strlen_sse2): Removed.
21296 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
21297 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
21298 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
21299 bit_Slow_BSF for Atom.
21300 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
21301 (index_Slow_BSF): Define.
21302 (HAS_SLOW_BSF): Define.
21304 2010-08-25 Ulrich Drepper <drepper@redhat.com>
21307 * resolv/res_init.c (__res_vinit): When no server address at all
21308 is given default to loopback.
21310 2010-08-24 Roland McGrath <roland@redhat.com>
21312 * configure.in: Remove config-name.h generation.
21313 * configure: Regenerated.
21314 * config-name.in: File removed.
21315 * scripts/config-uname.sh: New file.
21316 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
21317 ($(objdir)config-name.h): New target.
21319 * sunrpc/rpc_parse.h: Avoid nested comment.
21321 2010-08-24 Richard Henderson <rth@redhat.com>
21322 Ulrich Drepper <drepper@redhat.com>
21323 H.J. Lu <hongjiu.lu@intel.com>
21325 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
21326 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
21327 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
21328 Replace _mm_srli_si128 with __m128i_shift_right. Replace
21329 _mm_alignr_epi8 with _mm_loadu_si128.
21330 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
21331 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
21332 (__m128i_shift_right): Removed.
21333 * sysdeps/i386/i686/multiarch/varshift.h: New file.
21334 * sysdeps/i386/i686/multiarch/varshift.S: New file.
21335 * sysdeps/x86_64/multiarch/varshift.h: New file.
21336 * sysdeps/x86_64/multiarch/varshift.S: New file.
21338 2010-08-21 Mike Frysinger <vapier@gentoo.org>
21340 * configure.in: Move assembler checks to before sysdep dir checking.
21342 2010-08-20 Petr Baudis <pasky@suse.cz>
21344 * LICENSES: Sync the sunrpc license.
21346 2010-08-19 Ulrich Drepper <drepper@redhat.com>
21348 * sunrpc/auth_des.c: Update copyright notice once again.
21349 * sunrpc/auth_none.c: Likewise.
21350 * sunrpc/auth_unix.c: Likewise.
21351 * sunrpc/authdes_prot.c: Likewise.
21352 * sunrpc/authuxprot.c: Likewise.
21353 * sunrpc/bindrsvprt.c: Likewise.
21354 * sunrpc/clnt_gen.c: Likewise.
21355 * sunrpc/clnt_perr.c: Likewise.
21356 * sunrpc/clnt_raw.c: Likewise.
21357 * sunrpc/clnt_simp.c: Likewise.
21358 * sunrpc/clnt_tcp.c: Likewise.
21359 * sunrpc/clnt_udp.c: Likewise.
21360 * sunrpc/clnt_unix.c: Likewise.
21361 * sunrpc/des_crypt.c: Likewise.
21362 * sunrpc/des_soft.c: Likewise.
21363 * sunrpc/get_myaddr.c: Likewise.
21364 * sunrpc/getrpcport.c: Likewise.
21365 * sunrpc/key_call.c: Likewise.
21366 * sunrpc/key_prot.c: Likewise.
21367 * sunrpc/openchild.c: Likewise.
21368 * sunrpc/pm_getmaps.c: Likewise.
21369 * sunrpc/pm_getport.c: Likewise.
21370 * sunrpc/pmap_clnt.c: Likewise.
21371 * sunrpc/pmap_prot.c: Likewise.
21372 * sunrpc/pmap_prot2.c: Likewise.
21373 * sunrpc/pmap_rmt.c: Likewise.
21374 * sunrpc/rpc/auth.h: Likewise.
21375 * sunrpc/rpc/auth_unix.h: Likewise.
21376 * sunrpc/rpc/clnt.h: Likewise.
21377 * sunrpc/rpc/des_crypt.h: Likewise.
21378 * sunrpc/rpc/key_prot.h: Likewise.
21379 * sunrpc/rpc/netdb.h: Likewise.
21380 * sunrpc/rpc/pmap_clnt.h: Likewise.
21381 * sunrpc/rpc/pmap_prot.h: Likewise.
21382 * sunrpc/rpc/pmap_rmt.h: Likewise.
21383 * sunrpc/rpc/rpc.h: Likewise.
21384 * sunrpc/rpc/rpc_des.h: Likewise.
21385 * sunrpc/rpc/rpc_msg.h: Likewise.
21386 * sunrpc/rpc/svc.h: Likewise.
21387 * sunrpc/rpc/svc_auth.h: Likewise.
21388 * sunrpc/rpc/types.h: Likewise.
21389 * sunrpc/rpc/xdr.h: Likewise.
21390 * sunrpc/rpc_clntout.c: Likewise.
21391 * sunrpc/rpc_cmsg.c: Likewise.
21392 * sunrpc/rpc_common.c: Likewise.
21393 * sunrpc/rpc_cout.c: Likewise.
21394 * sunrpc/rpc_dtable.c: Likewise.
21395 * sunrpc/rpc_hout.c: Likewise.
21396 * sunrpc/rpc_main.c: Likewise.
21397 * sunrpc/rpc_parse.c: Likewise.
21398 * sunrpc/rpc_parse.h: Likewise.
21399 * sunrpc/rpc_prot.c: Likewise.
21400 * sunrpc/rpc_sample.c: Likewise.
21401 * sunrpc/rpc_scan.c: Likewise.
21402 * sunrpc/rpc_scan.h: Likewise.
21403 * sunrpc/rpc_svcout.c: Likewise.
21404 * sunrpc/rpc_tblout.c: Likewise.
21405 * sunrpc/rpc_util.c: Likewise.
21406 * sunrpc/rpc_util.h: Likewise.
21407 * sunrpc/rpcinfo.c: Likewise.
21408 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
21409 * sunrpc/rpcsvc/key_prot.x: Likewise.
21410 * sunrpc/rpcsvc/klm_prot.x: Likewise.
21411 * sunrpc/rpcsvc/mount.x: Likewise.
21412 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
21413 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
21414 * sunrpc/rpcsvc/rex.x: Likewise.
21415 * sunrpc/rpcsvc/rstat.x: Likewise.
21416 * sunrpc/rpcsvc/rusers.x: Likewise.
21417 * sunrpc/rpcsvc/sm_inter.x: Likewise.
21418 * sunrpc/rpcsvc/spray.x: Likewise.
21419 * sunrpc/rpcsvc/yppasswd.x: Likewise.
21420 * sunrpc/rtime.c: Likewise.
21421 * sunrpc/svc.c: Likewise.
21422 * sunrpc/svc_auth.c: Likewise.
21423 * sunrpc/svc_authux.c: Likewise.
21424 * sunrpc/svc_raw.c: Likewise.
21425 * sunrpc/svc_run.c: Likewise.
21426 * sunrpc/svc_simple.c: Likewise.
21427 * sunrpc/svc_tcp.c: Likewise.
21428 * sunrpc/svc_udp.c: Likewise.
21429 * sunrpc/svc_unix.c: Likewise.
21430 * sunrpc/svcauth_des.c: Likewise.
21431 * sunrpc/xcrypt.c: Likewise.
21432 * sunrpc/xdr.c: Likewise.
21433 * sunrpc/xdr_array.c: Likewise.
21434 * sunrpc/xdr_float.c: Likewise.
21435 * sunrpc/xdr_mem.c: Likewise.
21436 * sunrpc/xdr_rec.c: Likewise.
21437 * sunrpc/xdr_ref.c: Likewise.
21438 * sunrpc/xdr_sizeof.c: Likewise.
21439 * sunrpc/xdr_stdio.c: Likewise.
21441 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
21444 2010-08-19 Andreas Schwab <schwab@redhat.com>
21446 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
21448 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
21450 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
21451 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
21452 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
21453 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
21454 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
21455 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
21456 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
21457 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
21458 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
21459 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
21460 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
21461 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
21462 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
21463 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
21465 2010-07-26 Anton Blanchard <anton@samba.org>
21467 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
21468 * malloc/arena.c (heap_trim): Likewise.
21470 2010-08-16 Ulrich Drepper <drepper@redhat.com>
21472 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
21474 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
21475 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
21477 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
21479 * sysdeps/i386/elf/Makefile: New file.
21481 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
21483 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
21484 from fanotify_init.
21485 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
21486 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
21488 2010-08-15 Ulrich Drepper <drepper@redhat.com>
21490 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
21492 * sysdeps/multiarch/strcmp.S: Likewise.
21494 2010-08-14 Ulrich Drepper <drepper@redhat.com>
21496 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
21497 strncase_l-nonascii.
21498 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
21499 Add strncase_l-ssse3.
21500 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
21501 * sysdeps/x86_64/strcmp.S: Likewise.
21502 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
21503 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
21504 * sysdeps/x86_64/strncase.S: New file.
21505 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
21506 * sysdeps/x86_64/strncase_l.S: New file.
21507 * string/Makefile (strop-tests): Add strncasecmp.
21508 * string/test-strncasecmp.c: New file.
21510 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
21513 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
21514 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
21516 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
21518 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
21520 2010-08-12 Ulrich Drepper <drepper@redhat.com>
21522 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
21523 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
21524 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
21526 2010-05-01 Alan Modra <amodra@gmail.com>
21528 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
21529 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
21530 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
21531 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
21532 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
21533 tidying. Don't tail-call __sigjmp_save for static lib.
21534 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
21536 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
21537 (CALL_MCOUNT): Add eh info, and nop after bl.
21538 (TAIL_CALL_SYSCALL_ERROR): New macro.
21539 (PSEUDO_RET): Use it.
21540 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
21541 Correct save location of integer regs and cr.
21542 (_dl_profile_resolve): Correct cr save location. Delete nops
21543 after bl when SHARED. Reduce cfi size a little by better
21544 placement of cfi directives.
21545 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
21546 make a stack frame. Instead use parm save area as a temp.
21547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
21548 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
21549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21550 Don't make a stack frame for parent, use parm save area.
21551 Increase child stack frame to 112 bytes. Don't save unused reg,
21552 and adjust reg usage. Set up cfi on error recovery and
21553 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
21554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21555 (__makecontext): Add dummy nop after jump to exit.
21556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
21557 Use correct parm save area and cr save, reduce stack frame.
21558 Correct cfi for possible PSEUDO_RET frame setup.
21559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
21560 Branch to local label emitted by PSEUDO_RET rather than
21563 2010-08-12 Andreas Schwab <schwab@redhat.com>
21566 * locale/programs/locale.c (print_assignment): New function.
21567 (show_locale_vars): Use it.
21569 2010-08-11 Ulrich Drepper <drepper@redhat.com>
21571 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
21573 (struct statfs64): Likewise.
21574 (_STATFS_F_FLAGS): Define.
21575 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
21576 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21577 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
21578 (ST_VALID): Define locally.
21579 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
21580 __statvfs_getflags, use the provided value.
21581 * sysdeps/unix/sysv/linux/kernel-features.h: Define
21582 __ASSUME_STATFS_F_FLAGS.
21584 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
21586 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
21587 Add sys/fanotify.h.
21588 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
21589 fanotify_mask for GLIBC_2.13.
21590 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
21591 fanotify_init and fanotify_mark.
21592 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
21593 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
21595 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
21597 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
21598 prlimit64 for GLIBC_2.13.
21599 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
21601 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
21603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
21604 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
21605 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
21606 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
21607 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
21609 * sysdeps/unix/sysv/linux/prlimit.c: New file.
21612 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
21613 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
21615 * nss/Makefile: Add rules to build and run tst-nss-test1.
21616 * shlib-versions: Add entry for libnss_test1.
21617 * nss/nss_test1.c: New file.
21618 * nss/tst-nss-test1.c: New file.
21620 * nss/nsswitch.c (__nss_database_custom): Define new variable.
21621 (__nss_configure_lookup): Set appropriate entry in
21622 __nss_configure_lookup to true.
21623 * nss/nsswitch.h: Define enum with indeces of databases in
21624 databases and __nss_database_custom arrays. Declare
21625 __nss_database_custom.
21626 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
21627 to avoid using nscd when custom rules are installed.
21628 * nss/getXXbyYY_r.c: Likewise.
21629 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21631 * nss/nss_files/files-parse.c: Whitespace fixes.
21633 2010-08-09 Ulrich Drepper <drepper@redhat.com>
21636 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
21637 * posix/fnmatch_loop.c: Likewise.
21639 2010-07-17 Andi Kleen <ak@linux.intel.com>
21641 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
21642 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
21643 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
21644 * Versions.def [GLIBC_2.13]: Add.
21646 2010-08-06 Ulrich Drepper <drepper@redhat.com>
21648 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
21649 Also fail if tpwd after pwuid call is NULL.
21651 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
21653 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
21654 when converting to ms.
21656 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
21658 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
21659 EOPNOTSUPP errors with ENOTTY.
21660 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
21661 EOPNOTSUPP errors with ENOTTY.
21663 2010-07-31 Ulrich Drepper <drepper@redhat.com>
21665 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
21666 Add strcasecmp_l-ssse3.
21667 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
21669 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
21670 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
21671 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
21673 2010-07-30 Ulrich Drepper <drepper@redhat.com>
21675 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
21677 * string/Makefile (strop-tests): Add strcasecmp.
21678 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
21679 strcasecmp_l-nonascii.
21680 (gen-as-const-headers): Add locale-defines.sym.
21681 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
21682 * sysdeps/x86_64/strcasecmp.S: New file.
21683 * sysdeps/x86_64/strcasecmp_l.S: New file.
21684 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
21685 * sysdeps/x86_64/locale-defines.sym: New file.
21686 * string/test-strcasecmp.c: New file.
21688 * string/test-strcasestr.c: Test both ends of the range of characters.
21689 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
21691 2010-07-29 Roland McGrath <roland@redhat.com>
21694 * manual/locale.texi (Yes-or-No Questions): Fix example code.
21696 2010-07-27 Ulrich Drepper <drepper@redhat.com>
21698 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
21701 2010-07-27 Andreas Schwab <schwab@redhat.com>
21703 * manual/memory.texi (Malloc Tunable Parameters): Document
21706 2010-07-26 Roland McGrath <roland@redhat.com>
21709 * configure.in (-fgnu89-inline check): Set and substitute
21710 gnu89_inline, not libc_cv_gnu89_inline.
21711 * configure: Regenerated.
21712 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
21714 2010-07-26 Ulrich Drepper <drepper@redhat.com>
21716 * string/test-strnlen.c: New file.
21717 * string/Makefile (strop-tests): Add strnlen.
21718 * string/tester.c (test_strnlen): Add a few more test cases.
21719 * string/tst-strlen.c: Better error reporting.
21721 * sysdeps/x86_64/strnlen.S: New file.
21723 2010-07-24 Ulrich Drepper <drepper@redhat.com>
21725 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
21726 lower-latency instructions.
21728 2010-07-23 Ulrich Drepper <drepper@redhat.com>
21730 * string/test-strcasestr.c: New file.
21731 * string/test-strstr.c: New file.
21732 * string/Makefile (strop-tests): Add strstr and strcasestr.
21733 * string/str-two-way.h: Don't undefine MAX.
21734 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
21736 2010-07-21 Andreas Schwab <schwab@redhat.com>
21738 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21739 strcasestr-nonascii.
21740 (CFLAGS-strcasestr-nonascii.c): Define.
21741 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
21742 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
21743 Remove unused attribute.
21745 2010-07-20 Roland McGrath <roland@redhat.com>
21747 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
21748 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
21749 ld.so.cache was broken. With it, there is no way to disable dsocaps
21750 like LD_HWCAP_MASK can disable hwcaps.
21752 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
21754 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
21756 2010-07-16 Ulrich Drepper <drepper@redhat.com>
21758 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
21759 call in strcasestr.
21760 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
21761 __strcasestr_sse42_nonascii.
21762 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
21763 strcasestr-nonascii.c.
21764 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
21766 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
21768 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
21769 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
21770 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
21771 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
21773 2010-07-09 Ulrich Drepper <drepper@redhat.com>
21775 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
21778 2010-07-06 Andreas Schwab <schwab@redhat.com>
21781 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
21784 2010-07-06 Ulrich Drepper <drepper@redhat.com>
21786 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
21787 _PC_PIPE_BUF using F_GETPIPE_SZ.
21789 2010-07-05 Roland McGrath <roland@redhat.com>
21791 * manual/arith.texi (Rounding Functions): Fix rint description
21792 implicit in round description.
21794 2010-07-02 Ulrich Drepper <drepper@redhat.com>
21796 * elf/Makefile: Fix linking for a few tests to make recent linker
21799 2010-06-30 Andreas Schwab <schwab@redhat.com>
21801 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
21802 $(common-objpfx)libc_nonshared.a.
21804 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
21806 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
21807 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
21808 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
21809 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
21810 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
21811 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
21812 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
21813 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
21814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
21815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
21816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
21817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
21818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
21819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
21820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
21821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
21822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
21823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
21824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
21825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
21826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
21827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
21828 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
21829 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
21830 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
21831 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
21832 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
21833 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
21834 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
21835 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
21836 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
21837 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
21838 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
21839 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
21840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
21841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
21842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
21843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
21844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
21845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
21846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
21847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
21848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
21849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
21850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
21851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
21852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
21853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
21855 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
21857 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
21858 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
21859 * string/memmove.c (memmove): Renamed to ...
21860 (MEMMOVE): ...this. Default to memmove.
21861 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
21862 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
21864 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21865 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
21866 mempcpy-ssse3-back memmove-ssse3-back.
21867 * sysdeps/x86_64/multiarch/bcopy.S: New file .
21868 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
21869 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
21870 * sysdeps/x86_64/multiarch/memcpy.S: New file.
21871 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
21872 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
21873 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
21874 * sysdeps/x86_64/multiarch/memmove.c: New file.
21875 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
21876 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
21877 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
21878 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
21879 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
21880 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
21882 (index_Fast_Copy_Backward): Define.
21883 (HAS_ARCH_FEATURE): Define.
21884 (HAS_FAST_REP_STRING): Define.
21885 (HAS_FAST_COPY_BACKWARD): Define.
21887 2010-06-21 Andreas Schwab <schwab@redhat.com>
21889 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
21890 Restore proper fallback handling.
21892 2010-06-19 Ulrich Drepper <drepper@redhat.com>
21895 * posix/group_member.c (__group_member): Correct checking loop.
21897 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
21898 OOM in getpwuid_r correctly. Return error number when the caller
21899 should return, otherwise -1.
21900 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
21901 call returning > 0 value.
21902 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
21904 2010-06-07 Andreas Schwab <schwab@redhat.com>
21906 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
21907 libc_nonshared.a from targets in modules-names.
21909 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
21911 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
21914 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
21916 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
21917 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
21918 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
21919 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
21921 2010-06-02 Andreas Schwab <schwab@redhat.com>
21923 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
21925 2010-06-14 Ulrich Drepper <drepper@redhat.com>
21927 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
21929 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
21930 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21931 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21932 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21933 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21934 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
21936 2010-06-14 Roland McGrath <roland@redhat.com>
21938 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
21940 2010-06-07 Jakub Jelinek <jakub@redhat.com>
21942 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
21943 __REDIRECT followed by __THROW.
21944 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
21945 * posix/getopt.h (getopt): Likewise.
21947 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
21949 * hurd/lookup-at.c (__file_name_lookup_at): Accept
21950 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
21951 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
21953 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
21954 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
21956 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
21958 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
21960 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
21963 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21964 Properly check family and model.
21966 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
21968 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
21970 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
21972 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
21974 2010-05-21 Ulrich Drepper <drepper@redhat.com>
21976 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
21979 2010-05-19 Andreas Schwab <schwab@redhat.com>
21981 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
21984 2010-05-21 Andreas Schwab <schwab@redhat.com>
21986 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
21987 and internal_recvmmsg.
21988 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
21989 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
21990 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
21991 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
21993 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
21994 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21995 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21997 2010-05-20 Andreas Schwab <schwab@redhat.com>
21999 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
22001 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
22003 POWER7 optimizations.
22004 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
22005 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
22007 2010-05-19 Ulrich Drepper <drepper@redhat.com>
22009 * version.h: Update for 2.13 development version.
22011 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
22013 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
22014 exceptions. Return 0.
22016 2010-05-07 Roland McGrath <roland@redhat.com>
22018 * elf/ldconfig.c (main): Add a const.
22020 2010-05-06 Ulrich Drepper <drepper@redhat.com>
22022 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
22023 (args_options): Add no-idn option.
22024 (ahosts_keys_int): Add idn_flags to ai_flags.
22025 (parse_option): Handle 'i' option to clear idn_flags.
22027 * malloc/malloc.c (_int_free): Possible race in the most recently
22028 added check. Only act on the data if no current modification
22031 See ChangeLog.17 for earlier changes.