]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Remove relics of support for configuring in the source directory.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
135948bd
JM
12012-10-19 Joseph Myers <joseph@codesourcery.com>
2
728e272a
JM
3 * Makeconfig (ARCH): Remove all definitions.
4 (machine): Likewise.
5 [ARCH]: Remove conditional code.
6 [!objdir]: Give error.
7 [!objdir] (objpfx): Remove.
8 [!objdir] (common-objpfx): Likewise.
9 [!objdir] (common-objdir): Likewise.
10 * configure.in (config_makefile): Remove. Hardcode Makefile in
11 AC_CONFIG_FILES call.
12 * configure: Regenerated.
13
d528cdcf
JM
14 [BZ #13888]
15 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
16 or TMPDIR.
17 (testout): Likewise.
18
135948bd
JM
19 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
20 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
21 $(rtld-installed-name).
22 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
23 (rtld_installed_name): Likwise.
24 (runit): Remove function.
25 (run_getconf): New variable, Use it for running getconf binary.
26
3c97f652
JB
272012-10-19 Jim Blandy <jimb@codesourcery.com>
28 Joseph Myers <joseph@codesourcery.com>
29
30 * localedata/tst-wctype.sh (run_program_prefix): Remove variable.
31 (tst_wctype): New variable. Use it directly to run test program
32 instead of passing test program name as argument.
33
38c78296
L
342012-10-18 H.J. Lu <hongjiu.lu@intel.com>
35
36 [BZ #14716]
37 * string/test-memmem.c (check_result): New function.
38 (do_one_test): Use it.
39 (check1): New function.
40 (test_main): Use it.
41
d077f65f
MT
422012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
43
44 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
45
ced52c71
JM
462012-10-18 Joseph Myers <joseph@codesourcery.com>
47
48 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
49 (_G_LSEEK64): Likewise.
50 (_G_MMAP64): Likewise.
51 (_G_FSTAT64): Likewise.
52 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
53 (_G_LSEEK64): Likewise.
54 (_G_MMAP64): Likewise.
55 (_G_FSTAT64): Likewise.
56 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
57 unconditional. Call __mmap64 directly.
58 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
59 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
60 __lseek64 directly.
61 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
62 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
63 __mmap64 directly.
64 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
65 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
66 __lseek64 directly.
67 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
68 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
69 __lseek64 directly.
70 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
71 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
72 __lseek64 directly.
73 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
74 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
75 __fxstat64 directly.
76 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
77 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
78 unconditional.
79 (freopen64) [!_G_OPEN64]: Remove conditional code.
80 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
81 unconditional.
82 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
83 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
84 unconditional.
85 (ftello64) [!_G_LSEEK64]: Remove conditional code.
86 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
87 unconditional.
88 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
89 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
90 unconditional.
91 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
92 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
93 unconditional.
94 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
95 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
96 unconditional.
97 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
98 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
99 unconditional.
100 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
101
b741de23
SP
1022012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
103
104 [BZ #12140]
105 * manual/memory.texi (Malloc Tunable Parameters): Add note
106 about free list pointers overwriting some perturb bytes.
107 Wording suggested by Roland McGrath.
108
f9b9d9c9
JM
1092012-10-17 Joseph Myers <joseph@codesourcery.com>
110
111 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
112 (lgamma_test): Likewise.
113 (tgamma_test): Likewise.
114
172a631a
FW
1152012-10-16 Florian Weimer <fweimer@redhat.com>
116
117 [BZ #14700]
118 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
119 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
120
e9f37252
MK
1212012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
122
123 * NEWS: Mention BZ #14716.
124 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
125 when removing AVAILABLE1_USES_J macro.
126
d394eb74
L
1272012-10-12 H.J. Lu <hongjiu.lu@intel.com>
128
129 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
130 (__bswap_64): __uint64_t for unsigned 64-bit int.
131
ca38dc17
AS
1322012-10-12 Andreas Schwab <schwab@linux-m68k.org>
133
134 * include/string.h (memmem): Declare libc hidden alias.
135 * string/memmem.c (memmem): Define libc hidden alias.
136 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
137 __read, __close instead of open, read, close.
138
9a387d1f
L
1392012-10-11 H.J. Lu <hongjiu.lu@intel.com>
140
ac49ecaf
L
141 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
142 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
143 global and hidden.
144 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
145 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
146 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
147 Likewise.
148 (__rawmemchr_sse2): Likewise.
149 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
150 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
151 (__strchr_sse2): Likewise.
152 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
153 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
154 (__strcasecmp_sse2): Likewise.
155 (__strncasecmp_sse2): Likewise.
156 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
157 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
158 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
159 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
160 (__strrchr_sse2): Likewise.
161 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
162 ifunc-impl-list.c.
163 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
164 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
165 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
166 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
167 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
168 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
169 * sysdeps/x86_64/multiarch/memset.S: Likewise.
170 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
171 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
172 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
173 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
174 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
175 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
176 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
177 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
178 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
179 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
180 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
181 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
182 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
183 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
184 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
185 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
186 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
187 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
188 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
189 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
190 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
191 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
192 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
193
b090e8ea
L
194 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
195 global and hidden.
196 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
197 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
198 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
199 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
200 Likewise.
201 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
202 Likewise.
203 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
204 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
205 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
206 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
207 ifunc-impl-list.c.
208 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
209 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
210 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
211 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
212 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
213 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
214 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
215 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
216 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
217 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
218 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
219 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
220 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
221 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
222 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
223 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
224 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
225 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
226 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
227 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
228 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
229 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
230 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
231 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
232 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
233 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
234 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
235 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
236 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
237 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
238 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
239 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
240 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
241 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
242 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
243 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
244 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
245 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
246 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
247 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
248 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
249
11dd4af6
L
250 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
251 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
252 * include/ifunc-impl-list.h: New file.
253 * misc/ifunc-impl-list.c: Likewise.
254 * misc/Makefile (routines): Add ifunc-impl-list.
255 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
256 * string/test-string.h: Include <ifunc-impl-list.h>.
257 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
258 impl_array): New variables.
259 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
260 are defined.
261 (test_init): Call __libc_ifunc_impl_list to initialize
262 func_list if TEST_IFUNC and TEST_NAME are defined.
263
9a387d1f
L
264 * string/Makefile (strop-tests): Add bcopy and bzero.
265 * string/test-bcopy.c: New file.
266 * string/test-bzero.c: Likewise.
267 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
268 defined.
269 * string/test-memset.c: Support bzero test if TEST_BZERO is
270 defined.
271 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
272 __libc_memmove.
273 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
274 __libc_memset.
275 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
276 of memset.
277
472371b9
JM
2782012-10-10 Joseph Myers <joseph@codesourcery.com>
279
1e4a9536
JM
280 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
281 * configure: Regenerated.
282
d173d12e
JM
283 * Makeconfig (+link-static-before-libc): Don't include
284 $(link-static-libc).
285
472371b9
JM
286 * libio/libio.h (_IO_pos_t): Remove.
287
89a3ad0b
AO
2882012-10-10 Alexandre Oliva <aoliva@redhat.com>
289
290 * NEWS: Add note about FIPS mode. Wording suggested by Roland
291 McGrath.
292
e7451425
AO
2932012-10-10 Alexandre Oliva <aoliva@redhat.com>
294
295 * crypt/crypt-entry.c: Include fips-private.h.
296 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
297 * crypt/md5c-test.c (main): Tolerate disabled MD5.
298 * sysdeps/unix/sysv/linux/fips-private.h: New file.
299 * sysdeps/generic/fips-private.h: New file, dummy fallback.
300
4ba74a35
AO
3012012-10-10 Alexandre Oliva <aoliva@redhat.com>
302
303 * crypt/crypt-private.h: Include stdbool.h.
304 (_ufc_setup_salt_r): Return bool.
305 * crypt/crypt-entry.c: Include errno.h.
306 (__crypt_r): Return NULL with EINVAL for bad salt.
307 * crypt/crypt_util.c (bad_for_salt): New.
308 (_ufc_setup_salt_r): Check that salt is long enough and within
309 the specified alphabet.
310 * crypt/badsalttest.c: New file.
311 * crypt/Makefile (tests): Add it.
312 ($(objpfx)badsalttest): New.
313
f96f1242
MK
3142012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
315
316 * NEWS: Add entry for BZ #14602.
317
0e8e0c1c
JM
3182012-10-09 Joseph Myers <joseph@codesourcery.com>
319
320 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
321 type-generic.
322 * math/libm-test.inc: Update comment listing what functions and
323 macros are tested.
324 (isgreater_test): New function.
325 (isgreaterequal_test): Likewise.
326 (isless_test): Likewise.
327 (islessequal_test): Likewise.
328 (islessgreater_test): Likewise.
329 (isunordered_test): Likewise.
330 (main): Call the new functions.
331
273edc5e
RM
3322012-10-09 Roland McGrath <roland@hack.frob.com>
333
b8493de0
RM
334 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
335 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
336 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
337 * sysdeps/i386/configure: Regenerated.
338 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
339 * sysdeps/mach/configure: Regenerated.
340 * sysdeps/mach/hurd/configure: Regenerated.
341 * sysdeps/powerpc/configure: Regenerated.
342 * sysdeps/powerpc/powerpc32/configure: Regenerated.
343 * sysdeps/powerpc/powerpc64/configure: Regenerated.
344 * sysdeps/s390/s390-32/configure: Regenerated.
345 * sysdeps/s390/s390-64/configure: Regenerated.
346 * sysdeps/sh/configure: Regenerated.
347 * sysdeps/sparc/configure: Regenerated.
348 * sysdeps/unix/sysv/linux/configure: Regenerated.
349 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
350 * sysdeps/x86_64/configure: Regenerated.
351
273edc5e
RM
352 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
353 defined. Don't check if MAP is NULL.
354
c8450f70
JM
3552012-10-09 Joseph Myers <joseph@codesourcery.com>
356
357 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
358 (_G_stat64): Likewise.
359 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
360 (_G_stat64): Likewise.
361 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
362 instead of struct _G_stat64.
363 * libio/fileops.c (mmap_remap_check): Likewise.
364 (decide_maybe_mmap): Likewise.
365 (_IO_new_file_seekoff): Likewise.
366 (_IO_file_stat): Likewise.
367 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
368 _G_off64_t.
369 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
370 instead of struct _G_stat64.
371 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
372
57e605ba
MK
3732012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
374
375 [BZ #14602]
376 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
377 Replace with ...
378 (CHECK_EOL): New macro.
379 (two_way_short_needle): Check beginning of haystack for EOL. Use
380 CHECK_EOL.
381 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
382 Replace with CHECK_EOL.
383 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
384 Replace with CHECK_EOL.
385
ef1bb361
JM
3862012-10-08 Joseph Myers <joseph@codesourcery.com>
387
388 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
389 type-generic.
390 * math/libm-test.inc: Update comment listing what functions and
391 macros are tested.
392 (finite_test): New function.
393 (isinf_test): Likewise.
394 (isnan_test): Likewise.
395 (fpclassify_test): Test subnormal input.
396 (isfinite_test): Likewise.
397 (isnormal_test): Likewise.
398 (main): Call the new functions.
399
55f11534
JN
4002012-10-08 Jonathan Nieder <jrnieder@gmail.com>
401
402 [BZ #14660]
403 * Makerules (%.dynsym): Force C locale when running
404 $(OBJDUMP) --dynamic-syms.
405
1ab29350
AS
4062012-10-08 Andreas Schwab <schwab@linux-m68k.org>
407
408 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
409 <stdint.h>.
410
f1ecb7ef
DM
4112012-10-06 David S. Miller <davem@davemloft.net>
412
413 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
414 upper 32-bits of the length value in %o2 since we use branch-on-register
415 tests which consider the entire 64-bit register.
416
5d41d91a
L
4172012-10-06 H.J. Lu <hongjiu.lu@intel.com>
418
419 * string/test-strstr.c (check2): Add a test for page boundary.
420
3baddb72
DM
4212012-10-05 David S. Miller <davem@davemloft.net>
422
423 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
424 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
425 file.
426 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
427 sysdep_routines.
428 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
429 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
430 and bzero when HWCAP_SPARC_CRYPTO is present.
431
9cee5585
L
4322012-10-05 H.J. Lu <hongjiu.lu@intel.com>
433
d7e0dab9
L
434 [BZ #14602]
435 * string/test-strstr.c (check2): New function.
436 (test_main): Call check2.
437
03759f47
L
438 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
439 and bug-strchr1.
440 * string/bug-strcasestr1.c (do_test): Moved to ...
441 * string/test-strcasestr.c (check1): Here. New function.
442 (do_one_test): Break out result checking code into ...
443 (check_result): This. New function.
444 (do_one_test): Call check_result.
445 (test_main): Call check1.
446 * string/bug-strchr1.c (do_test): Moved to ...
447 * string/test-strchr.c (check1): Here. New function.
448 (do_one_test): Break out result checking code into ...
449 (check_result): This. New function.
450 (do_one_test): Call check_result.
451 (test_main): Call check1.
452 * string/bug-strstr1.c (main): Moved to ...
453 * string/test-strchr.c (check1): Here. New function.
454 (do_one_test): Break out result checking code into ...
455 (check_result): This. New function.
456 (do_one_test): Call check_result.
457 (test_main): Call check1.
458 * string/bug-strcasestr1.c: Removed.
459 * string/bug-strchr1.c: Likewise.
460 * string/bug-strstr1.c: Likewise.
461
53cea63e
L
462 * elf/Makefile (dl-routines): Add hwcaps.
463 * elf/dl-support.c (_dl_important_hwcaps): Removed.
464 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
465 (_dl_important_hwcaps): Moved to ...
466 * elf/dl-hwcaps.c: Here. New file.
467 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
468
9cee5585 469 [BZ #14557]
bb859b06
L
470 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
471 if IS_IN_rtld isn't defined.
472
9cee5585
L
473 * elf/dl-support.c (_dl_sysinfo_map): New.
474 Include "get-dynamic-info.h" and "setup-vdso.h".
475 (_dl_non_dynamic_init): Call setup_vdso.
476 * elf/dynamic-link.h: Don't include <assert.h>.
477 (elf_get_dynamic_info): Moved to ...
478 * elf/get-dynamic-info.h: Here. New file.
479 * elf/dynamic-link.h: Include "get-dynamic-info.h".
480 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
481 * elf/setup-vdso.h: Here. New file.
482 * elf/rtld.c: Include "setup-vdso.h".
483 (dl_main): Call setup_vdso.
484
23c31b76
JM
4852012-10-05 Joseph Myers <joseph@codesourcery.com>
486
28234b07
JM
487 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
488 creal in comment listing functions tested. List finite, isinf,
489 isnan, isless, islessequal, isgreater, isgreaterequal,
490 islessgreater, isunordered, lgamma_r and pow10 as functions and
491 macros not tested. Mention which functions not tested are aliases
492 for other functions. Fix typo. Note that signs of NaNs are not
493 tested.
494
23c31b76
JM
495 * scripts/config.guess: Update from config.git.
496 * scripts/config.sub: Likewise.
497
9043e228
RM
4982012-10-04 Roland McGrath <roland@hack.frob.com>
499
500 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
501 * misc/madvise.c (madvise): Renamed to __madvise.
502 Make madvise a weak alias.
503 * include/sys/mman.h: Declare __madvise.
504 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
505 * sysdeps/unix/syscalls.list
506 (madvise): Make __madvise the strong name, and madvise a weak alias.
507 * sysdeps/unix/sysv/linux/syscalls.list
508 (madvise, mmap): Remove redundant entries.
509 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
510 * malloc/malloc.c (mtrim): Likewise.
511 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
512
f57f8055
RM
5132012-10-03 Roland McGrath <roland@hack.frob.com>
514
515 * sysdeps/mach/hurd/dl-cache.c: File removed.
516 * config.h.in (USE_LDCONFIG): New #undef.
517 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
518 * configure: Regenerated.
519 * elf/Makefile (dl-routines): Add dl-cache only under
520 [$(use-ldconfig) = yes].
521 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
522 cache on [USE_LDCONFIG].
523 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
524 [USE_LDCONFIG].
525 * elf/rtld.c (dl_main): Likewise.
526
5bb0c10a
PT
5272012-10-03 Pino Toscano <toscano.pino@tiscali.it>
528
529 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
530 _SC_LEVEL4_CACHE_LINESIZE.
531
010188c6
RM
5322012-10-03 Roland McGrath <roland@hack.frob.com>
533
534 * sysdeps/unix/bsd/confstr.h: File removed.
535
b6c5ec07
AO
5362012-10-02 Alexandre Oliva <aoliva@redhat.com>
537
538 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
539 sys/sdt-config.h.
540
408223d4
RM
5412012-10-02 Roland McGrath <roland@hack.frob.com>
542
543 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
544 Make 'mapoff' field ElfW(Off) rather than off_t.
545
bb9510dc
DL
5462012-10-02 Dmitry V. Levin <ldv@altlinux.org>
547
fc997c6e
DL
548 * nscd/Makefile: Remove nscd-cflags and all its users.
549 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
550 (CFLAGS-nonlib): Add compiler flags for nscd modules.
551
bb9510dc
DL
552 [BZ #10631]
553 * malloc.c (malloc_printerr): Clarify error message.
554
05699367
L
5552012-10-02 H.J. Lu <hongjiu.lu@intel.com>
556
557 [BZ #14648]
558 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
559 Set bit_FMA_Usable if FMA is supported.
560 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
561 macro.
562 (bit_FMA4_Usable): Updated.
563 (index_FMA_Usable): New macro.
564 (CPUID_FMA): Likewise
565 (HAS_FMA): Defined with bit_FMA_Usable.
566
51367701
RM
5672012-10-01 Roland McGrath <roland@hack.frob.com>
568
569 * bits/types.h (__swblk_t): Type removed.
570 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
571 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
572 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
573 (__SWBLK_T_TYPE): Likewise.
574 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
575 (__SWBLK_T_TYPE): Likewise.
576 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
577 (__SWBLK_T_TYPE): Likewise.
578 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
579 (__SWBLK_T_TYPE): Likewise.
580
4d57bf63
JL
5812012-10-01 Patsy Franklin <pfrankli@redhat.com>
582 Honza Horak <hhorak@redhat.com>
583
584 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
585 (xdr_mapname): Use YPMAXMAP as maxsize.
586 (xdr_peername): Use YPMAXPEER as maxsize.
587 (xdr_keydat): Use YPAXRECORD as maxsize.
588 (xdr_valdat): Use YPMAXRECORD as maxsize.
589
93c65d43
RM
5902012-10-01 Roland McGrath <roland@hack.frob.com>
591
497a03d6
RM
592 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
593
93c65d43
RM
594 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
595 * csu/init-first.c: ... here.
596 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
597 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
598 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
599 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
600 * sysdeps/i386/init-first.c: File removed.
601 * sysdeps/sh/init-first.c: File removed.
602
bec749fd
JM
6032012-10-01 Joseph Myers <joseph@codesourcery.com>
604
605 [BZ #14645]
606 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
607 if x * y might underflow to zero and z is zero.
608 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
609 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
610 * math/libm-test.inc (min_subnorm_value): New variable.
611 (fma_test): Add more tests.
612 (fma_test_towardzero): Likewise.
613 (fma_test_downward): Likewise
614 (fma_test_upward): Likewise.
615 (initialize): Set min_subnorm_value.
616
8ec5b013
JM
6172012-09-29 Joseph Myers <joseph@codesourcery.com>
618
619 [BZ #14638]
620 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
621 0 + 0.
622 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
623 mode for addition resulting in exact zero.
624 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
625 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
626 exact 0 + 0.
627 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
628 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
629 * math/libm-test.inc (fma_test): Add more tests.
630 (fma_test_towardzero): New function.
631 (fma_test_downward): Likewise.
632 (fma_test_upward): Likewise.
633 (main): Call the new functions.
634
b1fa802e
DM
6352012-09-28 David S. Miller <davem@davemloft.net>
636
637 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
638
d3b9fd9e
RM
6392012-09-28 Roland McGrath <roland@hack.frob.com>
640
ea4d37b3
RM
641 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
642 instead of SIGALRM.
643
ac51c949
RM
644 * sysdeps/gnu/_G_config.h: Moved to ...
645 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
646 * sysdeps/mach/hurd/_G_config.h: Moved to ...
647 * sysdeps/generic/_G_config.h: ... here.
648
28c195f7
RM
649 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
650
848917f9
RM
651 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
652
6bacf05b
RM
653 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
654 Conditionalize target on [libnss_test1.so-version].
655
91363dbb
RM
656 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
657
cc87f7d8
RM
658 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
659 (elfobjdir): Move out of conditionals.
660
b1c608fe
RM
661 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
662 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
663 (__nss_lookup_function): Conditionalize label remove_from_tree on
664 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 665
1d9a6d96
DM
6662012-09-28 David S. Miller <davem@davemloft.net>
667
668 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
669 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
670 file.
671 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
672 sysdep_routines.
673 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
674 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
675 when HWCAP_SPARC_CRYPTO is present.
676
72581615
PT
6772012-09-28 Pino Toscano <toscano.pino@tiscali.it>
678
679 * io/tst-mknodat.c: Create a FIFO instead of a socket.
680
715a900c
JL
6812012-09-28 Andreas Schwab <schwab@linux-m68k.org>
682
683 [BZ #6530]
684 * stdio-common/vfprintf.c (process_string_arg): Revert
685 2000-07-22 change.
686
6872011-09-28 Jonathan Nieder <jrnieder@gmail.com>
688
689 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
690 for testcase.
691 * stdio-common/tst-sprintf.c: Include <locale.h>
692 (main): Test sprintf's handling of incomplete multibyte
693 characters.
694
9bac1d86
L
6952012-09-28 H.J. Lu <hongjiu.lu@intel.com>
696
697 * elf/dl-runtime.c (VERSYMIDX): Removed.
698 * elf/dl-version.c (VERSYMIDX): Likewise.
699 * elf/do-rel.h (VERSYMIDX): Likewise.
700 (VALIDX): Likewise.
701 * elf/dynamic-link.h (VERSYMIDX): Likewise.
702 * elf/rtld.c (VALIDX): Likewise.
703 (ADDRIDX): Likewise.
9bac1d86
L
704 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
705 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
706 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
707 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
708 (VALIDX): Likewise.
709 (ADDRIDX): Likewise.
9bac1d86 710
b31606c0
PT
7112012-09-28 Pino Toscano <toscano.pino@tiscali.it>
712
713 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
714
11541177
JL
7152012-09-28 Dmitry V. Levin <ldv@altlinux.org>
716
717 [BZ #11438]
718 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
719 to global scope.
720 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
721 addresses are in the same scope as 192.0.2/24.
722 * posix/gai.conf: Document new scope table defaults.
723
adb26fae
SP
7242012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
725
726 [BZ #5298]
727 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
728 for ftell. Compute offsets from write pointers instead.
729 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
730
4573c6b0
SP
7312012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
732
733 [BZ #14543]
734 * libio/Makefile (tests): New test case tst-fseek.
735 * libio/tst-fseek.c: New test case to verify that fseek/ftell
736 combination works in wide mode.
737 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
738 state when the external buffer state changes.
739
aa9bbfe6
DM
7402012-09-27 David S. Miller <davem@davemloft.net>
741
742 [BZ #14376]
743 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
744 pass reloc->r_addend in as the 'high' argument to
745 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
746
784421e7
DM
747 * sysdeps/sparc/fpu/libm-test-ulps: Update.
748
c39bc8b8
PT
7492012-09-28 Pino Toscano <toscano.pino@tiscali.it>
750
751 * rt/tst-aio2.c: Include <pthread.h>.
752 * rt/tst-aio3.c: Likewise.
753
1ccc2399
SE
7542012-09-27 Steve Ellcey <sellcey@mips.com>
755
756 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
757
31ed4153
L
7582012-09-27 H.J. Lu <hongjiu.lu@intel.com>
759
25f5f885
L
760 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
761 contents on [SHARED].
31ed4153 762
b7bfe116
MP
7632012-09-26 Marek Polacek <polacek@redhat.com>
764
765 [BZ #14530]
766 [BZ #13741]
767 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
768 for C++ and GCC <4.3 as well as for non GCC compilers.
769
43c4edba
MT
7702012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
771
772 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
773
6a1bf82f
RM
7742012-09-25 Roland McGrath <roland@hack.frob.com>
775
776 * Makefile.in (all, install): Declare with .PHONY.
777 Reported by Michael Hope <michael.hope@linaro.org>.
778
8ad11b9a
TMQMF
7792012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
780
781 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
782 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
783 system header.
784 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
785 Likewise.
786 (sydep_routines): Add the new and the internal functions.
787 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
788 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
790 (GLIBC_2.17): Add the new function.
791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
792 (GLIBC_2.17): Likewise.
793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
794 (GLIBC_2.17): Likewise.
795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
796 (GLIBC_2.17): Likewise.
797 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
798
7e2fca8d
AM
7992012-09-25 Alan Modra <amodra@gmail.com>
800
801 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
802 Add release barrier before setting once_control to say
803 initialisation is done. Add hints on lwarx. Use macro in
804 place of isync.
805 (clear_once_control): Add release barrier.
806
b87c4b24
JM
8072012-09-25 Joseph Myers <joseph@codesourcery.com>
808
d032e0d2
JM
809 [BZ #13629]
810 * math/s_clog.c (__clog): Handle more values close to |z| = 1
811 specially.
812 * math/s_clog10.c (__clog10): Likewise.
813 * math/s_clog10f.c (__clog10f): Likewise.
814 * math/s_clog10l.c (__clog10l): Likewise.
815 * math/s_clogf.c (__clogf): Likewise.
816 * math/s_clogl.c (__clogl): Likewise.
817 * math/Makefile (libm-calls): Add x2y2m1.
818 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
819 (__x2y2m1): Likewise.
820 (__x2y2m1l): Likewise.
821 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
822 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
823 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
824 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
825 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
826 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
827 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
828 * sysdeps/i386/fpu/libm-test-ulps: Update.
829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
830
b87c4b24
JM
831 [BZ #14621]
832 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
833 int as type of variable DEPTH.
834 (glob): Use size_t instead of int as type of variables NEWCOUNT
835 and OLD_PATHC.
836
6d3bf199
LD
8372012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
838
22bf5c17
LD
839 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
840 Add s_sincosf-sse2.
841 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
842 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
843 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
844 macros for using routine as __sincosf_ia32.
845 Use macro for function declaration and weak_alias.
846 * sysdeps/i386/fpu/libm-test-ulps: Update.
847
848 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
849 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
850
851 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
852 subnormal argument.
853 * math/s_cexpf.c (__cexpf): Likewise.
854 * math/s_csinf.c (__csinf): Likewise.
855 * math/s_csinhf.c (__csinhf): Likewise.
856 * math/s_ctanf.c (__ctanf): Likewise.
857 * math/s_ctanhf.c (__ctanhf): Likewise.
858 * math/s_ccosh.c (__ccoshf): Likewise.
859 * math/s_cexp.c (__cexpl): Likewise.
860 * math/s_csin.c (__csin): Likewise.
861 * math/s_csinh.c (__csinh): Likewise.
862 * math/s_ctan.c (__ctan): Likewise.
863 * math/s_ctanh.c (ctanh): Likewise.
864 * math/s_ccoshl.c (__ccoshl): Likewise.
865 * math/s_cexpl.c (__cexpl): Likewise.
866 * math/s_csinl.c (__csinl): Likewise.
867 * math/s_csinhl.c (__csinhl): Likewise.
868 * math/s_ctanl.c (__ctanl): Likewise.
869 * math/s_ctanhl.c (__ctanhl): Likewise.
870
203e5603
JM
8712012-09-25 Joseph Myers <joseph@codesourcery.com>
872
873 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
874 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
875 (_IO_off_t): Define to __off_t, not _G_off_t.
876 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
877 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
878 (_IO_wint_t): Define to wint_t, not _G_wint_t.
879 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
880 type of __dummy and __dummy2 fields.
881 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
882 (_G_ssize_t): Likewise.
883 (_G_off_t): Likewise.
884 (_G_pid_t): Likewise.
885 (_G_uid_t): Likewise.
886 (_G_wchar_t): Likewise.
887 (_G_wint_t): Likewise.
888 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
889 (_G_ssize_t): Likewise.
890 (_G_off_t): Likewise.
891 (_G_pid_t): Likewise.
892 (_G_uid_t): Likewise.
893 (_G_wchar_t): Likewise.
894 (_G_wint_t): Likewise.
895 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
896 (_G_ssize_t): Likewise.
897 (_G_off_t): Likewise.
898 (_G_pid_t): Likewise.
899 (_G_uid_t): Likewise.
900 (_G_wchar_t): Likewise.
901 (_G_wint_t): Likewise.
902
9fab36eb
SP
9032012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
904
905 * malloc/arena.c: Include malloc-sysdep.h.
906 (shrink_heap): Use check_may_shrink_heap to decide if madvise
907 is sufficient to shrink the heap or an unmap is needed.
908 * sysdeps/generic/malloc-sysdep.h: New file. Define
909 new function check_may_shrink_heap.
910 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
911 new function check_may_shrink_heap.
912
2b4f00d1
SP
9132012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
914
915 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
916 comments.
917
9a9028b1
DL
9182012-09-24 Dmitry V. Levin <ldv@altlinux.org>
919
57c69bef
DL
920 * catgets/test-gencat.sh: Add "set -e".
921 * elf/tst-pathopt.sh: Likewise.
922 * grp/tst_fgetgrent.sh: Likewise.
923 * iconvdata/run-iconv-test.sh: Likewise.
924 * intl/tst-gettext.sh: Likewise.
925 * intl/tst-gettext2.sh: Likewise.
926 * intl/tst-gettext4.sh: Likewise.
927 * intl/tst-gettext6.sh: Likewise.
928 * intl/tst-translit.sh: Likewise.
929 * io/ftwtest-sh: Likewise.
930 * libio/test-freopen.sh: Likewise.
931 * malloc/tst-mtrace.sh: Likewise.
932 * posix/globtest.sh: Likewise.
933 * posix/tst-getconf.sh: Likewise.
934 * posix/wordexp-tst.sh: Likewise.
935 * stdio-common/tst-printf.sh: Likewise.
936 * stdio-common/tst-unbputc.sh: Likewise.
937 * stdlib/tst-fmtmsg.sh: Likewise.
938 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
939 * catgets/Makefile: Do not specify -e option when running
940 testsuite shell scripts.
941 * elf/Makefile: Likewise.
942 * grp/Makefile: Likewise.
943 * iconvdata/Makefile: Likewise.
944 * intl/Makefile: Likewise.
945 * io/Makefile: Likewise.
946 * libio/Makefile: Likewise.
947 * malloc/Makefile: Likewise.
948 * posix/Makefile: Likewise.
949 * stdio-common/Makefile: Likewise.
950 * stdlib/Makefile: Likewise.
951 * sysdeps/x86_64/Makefile: Likewise.
952
9a9028b1
DL
953 * io/ftwtest-sh: Add copyright header.
954 * posix/globtest.sh: Likewise.
955 * posix/tst-getconf.sh: Likewise.
956 * posix/wordexp-tst.sh: Likewise.
957 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
958
ced6f16e
L
9592012-09-24 H.J. Lu <hongjiu.lu@intel.com>
960
94b32c39
L
961 [BZ #13679]
962 * Makeconfig (+link): Defined as $(+link-static) if
963 $(build-shared) isn't yes.
964 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
965 isn't yes.
966 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
967
189e935b
L
968 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
969
ced6f16e
L
970 [BZ #14562]
971 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
972 new chunk size with MALLOC_ALIGN_MASK.
973
a9f8e53a
JM
9742012-09-24 Joseph Myers <joseph@codesourcery.com>
975
976 [BZ #5044]
977 * stdio-common/printf_fphex.c: Include <stdbool.h> and
978 <rounding-mode.h>.
979 (__printf_fphex): Determine rounding using get_rounding_mode and
980 round_away.
981 * stdio-common/tst-printf-round.c (struct hex_test): New
982 structure.
983 (hex_tests): New variable.
984 (test_hex_in_one_mode): New function.
985 (do_test): Also run tests for hex float output.
986
43153109
JM
9872012-09-21 Joseph Myers <joseph@codesourcery.com>
988
989 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
990 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
991 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
992 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
993 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
994 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
995 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
996 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
997
8a26625d
JM
9982012-09-20 Joseph Myers <joseph@codesourcery.com>
999
1000 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
1001 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
1002 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
1003 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
1004
f3fd569c
DL
10052012-09-19 Dmitry V. Levin <ldv@altlinux.org>
1006
1007 [BZ #14579]
1008 * elf/rtld.c (dl_main): Limit the check for self loading to normal
1009 mode only.
1010 * elf/tst-rtld-load-self.sh: New test.
1011 * elf/Makefile: Run it.
1012
63bbedd4
JM
10132012-09-18 Joseph Myers <joseph@codesourcery.com>
1014
1015 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
1016 (tst-writev-ENV): Remove.
1017 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
1018
626f8b6a
CM
10192012-09-17 Chris Metcalf <cmetcalf@tilera.com>
1020
1021 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
1022
b7aaa4d6
JM
10232012-09-17 Joseph Myers <joseph@codesourcery.com>
1024
1025 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
1026 unconditional.
1027 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
1028 Likewise.
1029 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
1030 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
1031 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
1032 Likewise.
1033
65513990
L
10342012-09-14 H.J. Lu <hongjiu.lu@intel.com>
1035
1036 [BZ #14587]
1037 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
1038 * config.make.in (have-cpp-asm-debuginfo): Removed.
1039 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
1040 * configure: Regenerated.
1041
784761be
JM
10422012-09-14 Joseph Myers <joseph@codesourcery.com>
1043
1044 [BZ #5044]
1045 * stdio-common/printf_fp.c: Include <stdbool.h> and
1046 <rounding-mode.h>.
1047 (___printf_fp): Determine rounding using get_rounding_mode and
1048 round_away.
1049 * stdio-common/tst-printf-round.c: New file.
1050 * stdio-common/Makefile (tests): Add tst-printf-round.
1051 (link-libm): New variable.
1052 ($(objpfx)tst-printf-round): Depend in $(link-libm).
1053
9503345f
L
10542012-09-13 H.J. Lu <hongjiu.lu@intel.com>
1055
1056 [BZ #14576]
1057 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
1058 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
1059 Likewise.
1060 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
1061 Likewise.
1062
ad35fc00
JM
10632012-09-13 Joseph Myers <joseph@codesourcery.com>
1064
1065 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
1066 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1067 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1068 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1069
6c9b0f68
JM
10702012-09-12 Joseph Myers <joseph@codesourcery.com>
1071
1072 [BZ #14518]
1073 * include/rounding-mode.h: New file.
1074 * sysdeps/generic/get-rounding-mode.h: Likewise.
1075 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
1076 * stdlib/strtod_l.c: Include <rounding-mode.h>.
1077 (MAX_VALUE): New macro.
1078 (MIN_VALUE): Likewise.
1079 (overflow_value): New function.
1080 (underflow_value): Likewise.
1081 (round_and_return): Use overflow_value and underflow_value to
1082 determine return values in overflow and underflow cases. Use
1083 round_away to determine rounding depending on rounding mode.
1084 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
1085 determine return values in overflow and underflow cases.
1086 * stdlib/tst-strtod-round.c: Include <fenv.h>.
1087 (struct test_results): New structure.
1088 (struct test): Use struct test_results to store expected results
1089 for all rounding modes.
1090 (TEST): Include expected results for all rounding modes.
1091 (test_in_one_mode): New function.
1092 (do_test): Use test_in_one_mode to compute and check results.
1093 Check results for all rounding modes.
1094 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
1095 $(link-libm).
1096
19fcedd5
AM
10972012-12-09 Allan McRae <allan@archlinux.org>
1098
1099 * sysdeps/i386/fpu/libm-test-ulps: Update
1100
8bbfd2f1
JM
11012012-09-11 Joseph Myers <joseph@codesourcery.com>
1102
1103 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
1104 (_G_int32_t): Likewise.
1105 (_G_uint16_t): Likewise.
1106 (_G_uint32_t): Likewise.
1107 (_G_HAVE_BOOL): Likewise.
1108 (_G_HAVE_ATEXIT): Likewise.
1109 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1110 (_G_HAVE_IO_FILE_OPEN): Likewise.
1111 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
1112 (_G_int32_t): Likewise.
1113 (_G_uint16_t): Likewise.
1114 (_G_uint32_t): Likewise.
1115 (_G_HAVE_BOOL): Likewise.
1116 (_G_HAVE_ATEXIT): Likewise.
1117 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1118 (_G_HAVE_IO_FILE_OPEN): Likewise.
1119 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
1120 (_G_int32_t): Likewise.
1121 (_G_uint16_t): Likewise.
1122 (_G_uint32_t): Likewise.
1123 (_G_HAVE_BOOL): Likewise.
1124 (_G_HAVE_ATEXIT): Likewise.
1125 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1126 (_G_HAVE_IO_FILE_OPEN): Likewise.
1127
b1dc5912
L
11282012-09-11 H.J. Lu <hongjiu.lu@intel.com>
1129
1130 * csu/libc-tls.c: Update copyright years.
1131
0e886ef9
JM
11322012-09-10 Joseph Myers <joseph@codesourcery.com>
1133
28361c5e
JM
1134 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
1135 [!_G_USING_THUNKS]: Remove conditional code.
1136 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
1137 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
1138
0e886ef9
JM
1139 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
1140 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
1141 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1142 (_G_VTABLE_LABEL_PREFIX): Likewise.
1143 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1144 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1145 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1146 (_G_VTABLE_LABEL_PREFIX): Likewise.
1147 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1148 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1149 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1150 (_G_VTABLE_LABEL_PREFIX): Likewise.
1151 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1152
bcba7aa2
L
11532012-09-10 H.J. Lu <hongjiu.lu@intel.com>
1154
1155 * libio/Makefile: Include ../Makeconfig before tests.
1156 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
1157 only if $(build-shared) is yes.
1158
06585ee8
L
1159 * iconv/gconv_db.c: Update copyright years.
1160
80ccd52c
LD
11612012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1162
1163 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
1164 unwind info if defined PIC. Fix special cases description.
1165 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
1166
1167 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
1168 DP_HI_MASK entry.
1169 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
1170
691bc9c1
L
11712012-09-07 H.J. Lu <hongjiu.lu@intel.com>
1172
3d9b46b3
L
1173 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
1174
de2139a9
L
1175 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
1176 is NULL.
1177
5ca78dd0
L
1178 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
1179 (LDLIBS-tst-chk4): This.
1180 (LDFLAGS-tst-chk5): Renamed to ...
1181 (LDLIBS-tst-chk5): This.
1182 (LDFLAGS-tst-chk6): Renamed to ...
1183 (LDLIBS-tst-chk6): This.
1184 (LDFLAGS-tst-lfschk4): Renamed to ...
1185 (LDLIBS-tst-lfschk4): This.
1186 (LDFLAGS-tst-lfschk5): Renamed to ...
1187 (LDLIBS-tst-lfschk5): This.
1188 (LDFLAGS-tst-lfschk6): Renamed to ...
1189 (LDLIBS-tst-lfschk6): This.
1190
691bc9c1
L
1191 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
1192 on $(common-objpfx)soversions.mk.
1193
65cafb1c
JM
11942012-09-07 Joseph Myers <joseph@codesourcery.com>
1195
1196 [BZ #10014]
1197 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
1198 example host name.
1199
c78ab094
SP
12002012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1201
1202 * malloc/arena.c (arena_get_retry): New function that gets
1203 another arena for the caller to try its request on.
1204 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
1205 current arena cannot fulfill the request.
1206 (__libc_memalign): Likewise.
1207 (__libc_memalign): Likewise.
1208 (__libc_pvalloc): Likewise.
1209 (__libc_calloc): Likewise.
1210
01f49f59
JT
12112012-09-05 John Tobey <john.tobey@gmail.com>
1212
1213 [BZ #13542]
1214 * manual/arith.texi (Operations on Complex): Fix description
1215 of carg branch cut.
1216
4c23fed5
JM
12172012-09-06 Joseph Myers <joseph@codesourcery.com>
1218
1d3c8572
JM
1219 [BZ #10014]
1220 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
1221 host name.
1222
4c23fed5
JM
1223 [BZ #10038]
1224 * manual/memory.texi (Memory): Make order of menu items match
1225 order of sections.
1226
04570aaa
L
12272012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1228
1229 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
1230 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
1231 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
1232
b80af2f4
L
12332012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1234
1235 * csu/libc-tls.c (static_dtv): Renamed to ...
1236 (_dl_static_dtv): This. Make it global.
1237 (_dl_initial_dtv): Removed.
1238 (__libc_setup_tls): Updated.
1239 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
1240 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
1241 DL_INITIAL_DTV.
1242
2abe9f15
PM
12432012-09-06 Petr Machata <pmachata@redhat.com>
1244
1245 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
1246 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
1247 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
1248 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
1249
0948c3af
L
12502012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1251
1252 [BZ #14545]
1253 * csu/libc-tls.c (_dl_initial_dtv): New variable.
1254 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
1255 freeing dtv[-1].
1256
a5055ad1
L
12572012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1258
1259 [BZ #14544]
1260 * Makeconfig (link-static-before-libc): Replace $(+prector)
1261 with $(+prectorT).
1262 (link-static-after-libc): Replace $(+postctor) with
1263 $(+postctorT).
1264 (link-bounded): Replace $(+prector)/$(+postctor) with
1265 $(+prectorT)/$(+postctorT).
1266 (+prectorT): New macro.
1267 (+postctorT): Likewise.
1268
ed8c2ecd
JM
12692012-09-06 Joseph Myers <joseph@codesourcery.com>
1270
1271 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
1272 (round_str): Handle values above the maximum for IBM long double
1273 as inexact.
1274 * stdlib/tst-strtod-round.c (tests): Regenerated.
1275
14c996c8
AK
12762012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1277
1278 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
1279 assembler flag.
1280 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
1281 zarch_nohighgprs around the zarch optimized routines.
1282 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1283 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1284 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
1285 for zarch.
1286
430d6ce6
DM
12872012-09-05 David S. Miller <davem@davemloft.net>
1288
1289 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1290
ff04dda4
DM
1291 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
1292 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
1293 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
1294 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
1295 entries.
1296
24d4e01b
AO
12972012-09-05 Alexandre Oliva <aoliva@redhat.com>
1298
1299 * malloc/arena.c: Fold copyright years.
1300 * malloc/mcheck.c, malloc/memusage.c: Likewise.
1301
61d58174
AO
13022012-09-05 Alexandre Oliva <aoliva@redhat.com>
1303
1304 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
1305
20196a5e
AO
13062012-09-05 Alexandre Oliva <aoliva@redhat.com>
1307
1308 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
1309
5c447383
AO
13102012-09-05 Alexandre Oliva <aoliva@redhat.com>
1311
1312 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
1313 change internal state upon failure.
1314
fad64255
AO
13152012-09-05 Alexandre Oliva <aoliva@redhat.com>
1316
1317 * malloc/mcheck.c (mcheck_check_all): Fix typo.
1318 * malloc/memusage.c (mmap): Likewise.
1319 (mmap64, mremap): Likewise. Adjust name in comment.
1320
1ffb8c90
SP
13212012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1322
1323 * libio/fileops.c: Fix typos in comments.
1324 * libio/oldfileops.c: Likewise.
1325 * libio/wfileops.c: Likewise.
1326
6ef9cc37
SP
13272012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1328
1329 [BZ #1349]
1330 * malloc/Makefile (tests): Add tst-malloc-usable test case.
1331 (tst-malloc-usable-ENV): Set environment for test case.
1332 * malloc/hooks.c (malloc_check_get_size): New function to get
1333 requested size.
1334 * malloc/malloc.c (musable): Use malloc_check_get_size.
1335 * malloc/tst-malloc-usable.c: New test case.
1336
4d038ae3
AS
13372012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1338
1339 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
1340
c4e85184
AM
13412012-09-05 Allan McRae <allan@archlinux.org>
1342
b9dafc56 1343 [BZ #13966]
c4e85184
AM
1344 * configure.in (CXX_SYSINCLUDES): Use compiler output to
1345 determine header location.
1346 * configure: Regenerated.
1347
e1343020
AS
13482012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1349
1350 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
1351 float format.
1352 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
1353 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
1354 format.
e1343020
AS
1355 (test): Regenerate.
1356
0a9f1987
DM
13572012-09-04 David S. Miller <davem@davemloft.net>
1358
1359 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
1360 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
1361 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
1362
29237804
FW
13632012-09-04 Florian Weimer <fweimer@redhat.com>
1364
1365 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
1366 failures.
1367
edb3cb88
FW
1368 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
1369
60160d83
JM
13702012-09-04 Joseph Myers <joseph@codesourcery.com>
1371
1372 [BZ #9914]
1373 * libio/iogetdelim.c: Include <limits.h>.
1374 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
1375 + len + 1 would overflow.
1376
bcd6c8dc
AJ
13772012-09-03 Andreas Jaeger <aj@suse.de>
1378
1379 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1380 * sysdeps/i386/fpu/libm-test-ulps: Update.
1381
4ffffbd2
LD
13822012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1383
1384 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1385 Add s_sinf-sse2, s_conf-sse2.
1386
1387 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
1388 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
1389 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
1390 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
1391
1392 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
1393 for using routine as __sinf_ia32.
1394 Use macro for function declaration and weak_alias.
1395 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
1396 for using routine as __cosf_ia32.
1397 Use macro for function declaration and weak_alias.
1398
1399 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
1400 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
1401
1402 * sysdeps/x86_64/fpu/s_sinf.S: New file.
1403 * sysdeps/x86_64/fpu/s_cosf.S: New file.
1404 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1405
1406 * math/libm-test.inc (cos_test): Add more test cases.
1407 (sin_test): Likewise.
1408 (sincos_test): Likewise.
1409
511fa286
AK
14102012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1411
1412 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1413 (IFUNC_RESOLVE): Make pointers to the specialized implementations
1414 hidden.
1415 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1416
5f30cfec
L
14172012-09-02 H.J. Lu <hongjiu.lu@intel.com>
1418
1419 [BZ #14538]
1420 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
1421 first element of the GOT.
1422 (elf_machine_load_address): Return the difference between
1423 the runtime address of _DYNAMIC and elf_machine_dynamic ().
1424
0786794f
AM
14252012-09-01 Allan McRae <allan@archlinux.org>
1426
5f30cfec
L
1427 [BZ #13412]
1428 * configure.in (AWK): Require gawk version 3.0 or later.
1429 * configure: Regenerated.
0786794f 1430
26889eac
JM
14312012-09-01 Joseph Myers <joseph@codesourcery.com>
1432
1433 * sysdeps/unix/sysv/linux/kernel-features.h
1434 (__ASSUME_POSIX_CPU_TIMERS): Remove.
1435 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1436 [__NR_clock_getres]: Make code unconditional.
1437 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
1438 (clock_getcpuclockid): Remove code left unreachable by removal of
1439 conditionals.
1440 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
1441 code unconditional.
1442 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1443 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1444 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
1445 Make code unconditional.
1446 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1447 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1448 * sysdeps/unix/sysv/linux/clock_settime.c
1449 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
1450 conditional code.
1451 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
1452 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1453
d22e28b0
L
14542012-08-29 H.J. Lu <hongjiu.lu@intel.com>
1455
1456 [BZ #14476]
1457 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
1458 scripts/test-installation.pl.
1459
1460 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
1461 and $ld_so_version if it is set.
1462
050af9c4
SP
14632012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1464
1465 [BZ #14516]
1466 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
1467 failure if reading from procfs failed.
1468 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
1469
ad845c0b
JM
14702012-08-27 Joseph Myers <joseph@codesourcery.com>
1471
1472 * sysdeps/unix/sysv/linux/kernel-features.h
1473 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
1474 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1475 Remove conditional code.
1476 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1477 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
1478 Remove conditional code.
1479 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1480 * sysdeps/unix/sysv/linux/i386/fxstat.c
1481 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1482 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1483 * sysdeps/unix/sysv/linux/i386/fxstatat.c
1484 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1485 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1486 * sysdeps/unix/sysv/linux/i386/lxstat.c
1487 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1488 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1489 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
1490 Remove conditional code.
1491 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1492 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1493 Remove conditional code.
1494 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1495 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
1496 <kernel-features.h>.
1497 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
1498 Remove.
1499 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
1500 Remove conditional code.
1501 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1502 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
1503 Remove conditional.
1504
5dbf56af
MF
15052012-08-27 Mike Frysinger <vapier@gentoo.org>
1506
1507 [BZ #5400]
1508 * NEWS: Add fixed bug number.
1509
d6e70f43
JM
15102012-08-27 Joseph Myers <joseph@codesourcery.com>
1511
7efb4737
JM
1512 [BZ #14519]
1513 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
1514 underflowing exponent in case of negative sign.
1515 * stdlib/tst-strtod-round-data: Add more tests.
1516 * stdlib/tst-strtod-round.c (tests): Regenerated.
1517
af92131a
JM
1518 [BZ #3479]
1519 * stdlib/strtod_l.c (NDIG): Remove.
1520 (HEXNDIG): Likewise.
1521 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
1522 smallest representable value.
1523 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
1524 lie within an exact representation of 1/2 ulp of the result.
1525 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
1526 unconditionally.
1527 (TENS_P9_IDX): Define unconditionally.
1528 (TENS_P9_SIZE): Likewise.
1529 (TENS_P10_IDX): Likewise.
1530 (TENS_P10_SIZE): Likewise.
1531 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
1532 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
1533 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
1534 entries for 10^2^13 and 10^2^14.
1535 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
1536 (TENS_P13_IDX): Define.
1537 (TENS_P13_SIZE): Likewise.
1538 (TENS_P14_IDX): Likewise.
1539 (TENS_P14_SIZE): Likewise.
1540 (_fpioconst_pow10): Change array size to
1541 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
1542 unconditional.
1543 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
1544 1024]: Add entries for 10^2^13 and 10^2^14.
1545 [LAST_POW10 > _LAST_POW10]: Remove #error.
1546 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
1547 (_fpioconst_pow10): Change array size to
1548 FPIOCONST_POW10_ARRAY_SIZE.
1549 * stdlib/gen-fpioconst.c: New file.
1550 * stdlib/gen-tst-strtod-round.c: Likewise.
1551 * stdlib/tst-strtod-round-data: Likewise.
1552 * stdlib/tst-strtod-round.c: Likewise.
1553 * stdlib/Makefile (tests): Add tst-strtod-round.
1554
d6e70f43
JM
1555 [BZ #14459]
1556 * stdlib/strtod_l.c: Include <stdint.h>.
1557 (NDEBUG): Do not define.
1558 (round_and_return): Change EXPONENT parameter to type intmax_t.
1559 Rearrange calculations to avoid internal overflow possibilities.
1560 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
1561 Rearrange calculations to avoid internal overflow possibilities.
1562 Assert that number fits inside MPNSIZE limbs.
1563 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
1564 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
1565 calculations and add assertions to avoid internal overflow
1566 possibilities. Add casts to avoid signed/unsigned operations.
1567 * stdlib/tst-strtod-overflow.c: New file.
1568 * stdlib/Makefile (tests): Add tst-strtod-overflow.
1569
1f529f7d
MP
15702012-08-25 Marek Polacek <polacek@redhat.com>
1571
1572 * time/time.h: Fix some typos in comments.
1573
59a629f1
RM
15742012-08-23 Roland McGrath <roland@hack.frob.com>
1575
1576 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
1577 * posix/tst-rfc3484-2.c: Likewise.
1578 * posix/tst-rfc3484-3.c: Likewise.
1579
d3bafbc9
SM
15802012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
1581
1582 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
1583 (EF_ARM_ABI_FLOAT_HARD): Likewise.
1584
4efcc022
JM
15852012-08-23 Joseph Myers <joseph@codesourcery.com>
1586
1587 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
1588 #include of fxstatat64.c.
1589
3cc3ef96
RM
15902012-08-22 Roland McGrath <roland@hack.frob.com>
1591
f04e2132
RM
1592 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
1593 * shadow/getspent_r.c: Likewise.
1594 * shadow/getspnam.c: Likewise.
1595 * shadow/getspnam_r.c: Likewise.
1596 * gshadow/getsgent.c: Likewise.
1597 * gshadow/getsgent_r.c: Likewise.
1598 * gshadow/getsgnam.c: Likewise.
1599 * gshadow/getsgnam_r.c: Likewise.
1600 * inet/getnetbyad.c: Likewise.
1601 * inet/getnetbyad_r.c: Likewise.
1602 * inet/getnetbynm.c: Likewise.
1603 * inet/getnetbynm_r.c: Likewise.
1604 * inet/getnetent.c: Likewise.
1605 * inet/getnetent_r.c: Likewise.
1606 * inet/getproto.c: Likewise.
1607 * inet/getproto_r.c: Likewise.
1608 * inet/getprtent.c: Likewise.
1609 * inet/getprtent_r.c: Likewise.
1610 * inet/getprtname.c: Likewise.
1611 * inet/getprtname_r.c: Likewise.
1612 * inet/getrpcbyname.c: Likewise.
1613 * inet/getrpcbyname_r.c: Likewise.
1614 * inet/getrpcbynumber.c: Likewise.
1615 * inet/getrpcbynumber_r.c: Likewise.
1616 * inet/getrpcent.c: Likewise.
1617 * inet/getrpcent_r.c: Likewise.
1618 * inet/getaliasent.c: Likewise.
1619 * inet/getaliasent_r.c: Likewise.
1620 * inet/getaliasname.c: Likewise.
1621 * inet/getaliasname_r.c: Likewise.
1622 * nscd/getgrgid_r.c: Likewise.
1623 * nscd/getgrnam_r.c: Likewise.
1624 * nscd/gethstbyad_r.c: Likewise.
1625 * nscd/gethstbynm3_r.c: Likewise.
1626 * nscd/getpwnam_r.c: Likewise.
1627 * nscd/getpwuid_r.c: Likewise.
1628 * nscd/getsrvbynm_r.c: Likewise.
1629 * nscd/getsrvbypt_r.c: Likewise.
1630 * nscd/gai.c: Likewise.
1631
c53d909c
RM
1632 * configure.in (build_nscd): New substituted variable, set
1633 by --disable-build-nscd and defaults to $use_nscd.
1634 * configure: Regenerated.
1635 * config.make.in (build-nscd): New substituted variable.
1636 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
1637 Change conditional to require [$(build-nscd) = yes] as well.
1638 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
1639
3cc3ef96
RM
1640 [BZ# 13696]
1641 * configure.in (use_nscd): New substituted variable, set by
1642 --disable-nscd. If enabled, define USE_NSCD.
1643 * configure: Regenerated.
1644 * config.h.in: Add USE_NSCD.
1645 * config.make.in (use-nscd): New substituted variable.
1646 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
1647 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
1648 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
1649 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
1650 (CFLAGS-getgrnam_r.c): Likewise.
1651 (CFLAGS-initgroups.c): Likewise.
1652 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
1653 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
1654 Variables removed.
1655 * inet/getnetgrent_r.c
1656 (nscd_setnetgrent): New function, broken out of ...
1657 (setnetgrent): ... here. Call it.
1658 (innetgr): Conditionalize nscd bits on [USE_NSCD].
1659 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
1660 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
1661 * nscd/Makefile (routines, aux): Move definitions after include of
1662 Makeconfig. Conditionalize on [$(use-nscd) != no].
1663 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
1664 Conditionalize on [USE_NSCD].
1665 (is_nscd, nscd_init_cb): Likewise.
1666 (nss_load_library): Conditionalize init callback on [USE_NSCD].
1667 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
1668 * nss/nss_db/db-init.c: Likewise.
1669 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
1670 [USE_NSCD].
1671 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
1672 (make_request): Use it.
1673 (cache_valid_p): New function.
1674 (__check_pf): Use it.
1675 * NEWS: Add item for --disable-nscd.
1676
07e51550
DL
16772012-08-22 Dmitry V. Levin <ldv@altlinux.org>
1678
1679 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
1680 to support sed >= 4.2.1-20-ga9bf076.
1681 * configure: Regenerated.
1682
35a5b08b
RM
16832012-08-22 Roland McGrath <roland@hack.frob.com>
1684
1685 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
1686 Conditionalize whole body on [IREL].
1687
8479f23a
JL
16882012-08-22 Jeff Law <law@redhat.com>
1689
1690 [BZ #14505]
1691 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
1692 if the family is PF_UNSPEC.
1693
48da0b21
MF
16942012-08-22 Mike Frysinger <vapier@gentoo.org>
1695
1696 * Makerules (lib-version): Rename from V.
1697 (install-lib-nosubdir): Change V to lib-version.
1698
15d0da8c
WS
16992012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
1700
1701 [BZ #14252]
1702 * powerpc32/power6/wcschr.c: New file.
1703 * powerpc32/power6/wcscpy.c: New file.
1704 * powerpc32/power6/wcsrchr.c: New file.
1705 * powerpc64/power6/wcschr.c: New file.
1706 * powerpc64/power6/wcscpy.c: New file.
1707 * powerpc64/power6/wcsrchr.c: New file.
1708
bcca0895
MK
17092012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1710
1711 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
1712 (two_way_short_needle): Use it.
5a4aaa33
RM
1713 * string/strstr.c (AVAILABLE1_USES_J): Define.
1714 * string/strcasestr.c: Likewise.
99677e57
MK
1715
1716 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
1717 array references.
1718 * string/strcasestr.c (TOLOWER): Make side-effect safe.
1719
400726de
MK
1720 [BZ #11607]
1721 * NEWS: Add an entry.
1722 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
1723 define their defaults.
1724 (two_way_short_needle): Detect end-of-string on-the-fly.
1725 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
1726 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
1727 * string/bug-strcasestr1.c: New test.
1728 * string/Makefile: Run it.
1729
20a71f2c
MK
17302012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1731
1732 [BZ #11607]
1733 * string/str-two-way.h (two_way_short_needle): Optimize matching of
1734 the first character.
1735
21ad0558
RM
17362012-08-21 Roland McGrath <roland@hack.frob.com>
1737
1738 * csu/elf-init.c (__libc_csu_irel): Function removed.
1739 * csu/libc-start.c (apply_irel): New function.
1740 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
1741
0e1d9911
JM
17422012-08-21 Joseph Myers <joseph@codesourcery.com>
1743
1744 * sysdeps/unix/sysv/linux/kernel-features.h
1745 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
1746 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1747 <kernel-features.h>.
1748 [__NR_fadvise64_64]: Make code unconditional.
1749 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
1750 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1751 !__NR_fadvise64_64)]: Likewise.
1752 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1753 !__NR_fadvise64_64))]: Likewise.
1754 [__NR_fadvise64]: Make code unconditional.
1755 [!__NR_fadvise64]: Remove conditional code.
1756 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
1757 <kernel-features.h>.
1758 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1759 unconditional.
1760 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1761 conditional code.
1762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
1763 not include <kernel-features.h>.
1764 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1765 unconditional.
1766 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1767 conditional code.
1768 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
1769 include <kernel-features.h>.
1770 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1771 unconditional.
1772 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1773 conditional code.
1774
14a50c9d
WS
17752012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
1776
1777 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
1778 slight instruction rearrangements per scrollpipe analysis.
1779 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1780
c0f4faf0
RM
17812012-08-20 Roland McGrath <roland@hack.frob.com>
1782
696da859
RM
1783 * manual/syslog.texi (syslog; vsyslog, closelog):
1784 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
1785 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
1786
c0f4faf0
RM
1787 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
1788 DSOCAPS to match condition on defining it.
1789
348363b2
JM
17902012-08-20 Joseph Myers <joseph@codesourcery.com>
1791
a35cbf28
JM
1792 * sysdeps/unix/sysv/linux/kernel-features.h
1793 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
1794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
1795 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1796 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
1798 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1799 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
1801 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1802 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1803
445f7ecd
JM
1804 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
1805 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
1806
348363b2
JM
1807 * sysdeps/unix/sysv/linux/kernel-features.h
1808 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
1809 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
1810 unconditional.
1811 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1812 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
1813 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1814 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1815 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
1816 Make code unconditional.
1817 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1818 (__mmap64) [!__NR_mmap2]: Likewise.
1819 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
1820 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1821 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1822 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
1823 [__NR_mmap2]: Make code unconditional.
1824 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1825 (__mmap64) [!__NR_mmap2]: Likewise.
1826
bc5bc0e5
AK
18272012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1828
1829 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
1830
88d506de
AJ
18312012-08-18 Andreas Jaeger <aj@suse.de>
1832
1833 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
1834
493387d2
MF
18352012-08-18 Mike Frysinger <vapier@gentoo.org>
1836
1837 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
1838 * include/unistd.h (__have_sock_cloexec): Likewise.
1839 (__have_pipe2): Likewise.
1840 (__have_dup3): Likewise.
1841
a277af22
MF
18422012-08-18 Mike Frysinger <vapier@gentoo.org>
1843
1844 [BZ #9685]
1845 * include/unistd.h (__have_pipe2): Change define into an extern int.
1846 (__have_dup3): Likewise.
1847 * socket/have_sock_cloexec.c: Include fcntl.h.
1848 (__have_pipe2): New variable.
1849 (__have_dup3): Likewise.
1850
fdab8fd3
MF
18512012-08-17 Mike Frysinger <vapier@gentoo.org>
1852
1853 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
1854
31035e80
MP
18552012-08-17 Marek Polacek <polacek@redhat.com>
1856
1857 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
1858 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
1859
3bd9e993
RM
18602012-08-17 Roland McGrath <roland@hack.frob.com>
1861
c91c505f
RM
1862 * configure.in: Add AC_SUBST for sysheaders.
1863 * configure: Regenerated.
1864 * config.make.in (sysheaders): New substituted variable.
1865
7c6f9d53
RM
1866 * sysdeps/unix/mkfifo.c: Moved ...
1867 * sysdeps/posix/mkfifo.c: ... here.
1868 * sysdeps/unix/mkfifoat.c: Moved ...
1869 * sysdeps/posix/mkfifoat.c: ... here.
1870
1871 * sysdeps/unix/utime.c: Moved ...
1872 * sysdeps/posix/utime.c: ... here.
1873
1874 * sysdeps/unix/time.c: Moved ...
1875 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
1876 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
1877 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
1878
1879 * sysdeps/unix/nice.c: Moved ...
1880 * sysdeps/posix/nice.c: ... here.
1881
1882 * sysdeps/unix/alarm.c: Moved ...
1883 * sysdeps/posix/alarm.c: ... here.
1884
3bd9e993
RM
1885 * intl/Makefile ($(codeset_mo)): Depend on the input file.
1886
d1f09384
JL
18872012-08-17 Jeff Law <law@redhat.com>
1888
1889 * intl/Makefile (codeset_mo): New variable.
1890 ($(codeset_mo)): New target.
1891 (tst-codeset.out): Depend on that. Remove explicit rule.
1892 (tst-gettext3.out, tst-gettext5.out): Likewise.
1893 (LOCPATH-ENV, tst-codeset-ENV): New variables.
1894 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
1895 * intl/tst-codeset.sh: Remove.
1896 * intl/tst-gettext3.sh: Likewise.
1897 * intl/tst-gettext5.sh: Likewise.
1898
2ae1ae5c
RM
18992012-08-17 Roland McGrath <roland@hack.frob.com>
1900
c31fdb83
RM
1901 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
1902 * sysdeps/unix/syscalls.list: ... here.
1903
a0844057
RM
1904 * sysdeps/posix/getaddrinfo.c
1905 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
1906 (gaiconf_init, gaiconf_reload): Use them.
1907 [!_STATBUF_ST_NSEC]
1908 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
1909 Define using time_t rather than struct timespec.
1910
750c1f2a
RM
1911 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
1912 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
1913 Macros removed.
1914 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
1915 [!NO_THREADS].
1916 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
1917 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
1918 Likewise.
1919
2ae1ae5c
RM
1920 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
1921 __libc_cleanup_push argument.
1922
e66a42f5
RM
1923 * bits/param.h: New file.
1924 * misc/sys/param.h: New file.
1925 * include/sys/param.h: New file.
1926 * misc/Makefile (headers): Add bits/param.h.
1927 * sysdeps/generic/sys/param.h: File removed.
1928 * sysdeps/unix/sysv/linux/bits/param.h: New file.
1929 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
1930 * sysdeps/mach/hurd/bits/param.h: New file.
1931 * sysdeps/mach/hurd/sys/param.h: New file.
1932
b7c08a66
RM
1933 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
1934 last change.
1935
b2e1c562
RM
1936 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
1937 [_IO_MTSAFE_IO].
1938 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
1939 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
1940 New macros.
1941
c75ccd4c
RM
1942 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
1943 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
1944 rather than -D_IO_MTSAFE_IO conditionally.
1945 * stdio-common/Makefile (CPPFLAGS): Likewise.
1946 * wcsmbs/Makefile (CPPFLAGS): Likewise.
1947 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
1948 Use $(libio-mtsafe).
1949 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
1950 of -D_IO_MTSAFE_IO.
1951 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
1952 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
1953 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
1954 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
1955 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
1956 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
1957 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
1958 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
1959 (CFLAGS-fread_u_chk.c): Likewise.
1960 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
1961 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
1962 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
1963 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
1964 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
1965 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
1966 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
1967 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
1968 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
1969
1970 * libio/Makefile: Test [$(libc-reentrant) = yes]
1971 instead of [$(filter %REENTRANT, $(defines)) nonempty].
1972
1973 * Makeconfig
1974 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
1975 * sysdeps/pthread/configure: File removed.
1976 * sysdeps/pthread/Makeconfig: New file.
1977 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
1978 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
1979
d9195db8
GB
19802012-08-16 Gary Benson <gbenson@redhat.com>
1981
1982 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
1983 unmapping the first object in a namespace.
1984
86466cd9
RM
19852012-08-16 Roland McGrath <roland@hack.frob.com>
1986
1987 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
1988 (__internal_setnetgrent): ... this. Add internal_function to
1989 definition. Add libc_hidden_def.
1990 (setnetgrent): Update caller.
1991 (internal_endnetgrent): Renamed to ...
1992 (__internal_endnetgrent): ... this. Add internal_function to
1993 definition. Add libc_hidden_def.
1994 (endnetgrent): Update caller.
1995 (internal_getnetgrent_r): Renamed to ...
1996 (__internal_getnetgrent_r): ... this. Add internal_function to
1997 definition. Add libc_hidden_def.
1998 (__getnetgrent_r): Update caller.
1999 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
2000
c3c8283c
JM
20012012-08-16 Joseph Myers <joseph@codesourcery.com>
2002
2003 * stdlib/longlong.h: Update from GCC.
2004
db1ee0a8
RM
20052012-08-16 Roland McGrath <roland@hack.frob.com>
2006
2007 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
2008 on _QL, which is set by umul_ppmm but never used.
2009 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
2010 variables, which are set by GMP macros but never used.
2011 * stdio-common/_itowa.c (_itowa): Likewise.
2012 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
2013 * stdlib/mod_1.c (mpn_mod_1): Likewise.
2014
30f69637
CD
20152012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
2016
2017 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
2018 struct La_sh_regs is not constant.
2019 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
2020 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
2021 and struct La_sparc64_regs are not constant.
2022
93a78ac4
JM
20232012-08-16 Joseph Myers <joseph@codesourcery.com>
2024
2025 * sysdeps/unix/sysv/linux/kernel-features.h
2026 (__ASSUME_POSIX_TIMERS): Remove.
2027 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2028 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2029 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
2030 Make code unconditional.
2031 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2032 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
2033 Make code unconditional.
2034 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2035 * sysdeps/unix/sysv/linux/clock_nanosleep.c
2036 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
2037 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2038 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
2039 Make code unconditional.
2040 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2041 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
2042 (__libc_missing_posix_timers): Remove.
2043
dd924cd7
RM
20442012-08-15 Roland McGrath <roland@hack.frob.com>
2045
4b4f2771
RM
2046 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
2047 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
2048
601c888b
RM
2049 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
2050
176790a7
RM
2051 * elf/dl-sym.c: Include <stdlib.h>.
2052
329bc018
RM
2053 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
2054 constants, which avoids warnings in 32-bit builds.
2055
e04e272d
RM
2056 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
2057 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
2058
952bf94a
RM
2059 * misc/lseek.c: File moved to ...
2060 * io/lseek.c: ... here.
2061
7c99b50a
RM
2062 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
2063
dd924cd7
RM
2064 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
2065 shifting LEN more than 31 bits at once.
2066
b3f479a8
LD
20672012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2068
2069 [BZ #14195]
8c4ae0d4
RM
2070 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
2071 segmentation fault for a case of two empty input strings.
b3f479a8
LD
2072 * string/test-strncasecmp.c (check1): Renamed to...
2073 (bz12205): ...this.
2074 (bz14195): Add new testcase for two empty input strings and N > 0.
2075 (test_main): Call new testcase, adapt for renamed function.
2076
9c55864e
AJ
20772012-08-15 Andreas Jaeger <aj@suse.de>
2078
2079 [BZ #14090]
2080 * crypt/md5test2.c: New test, based on test supplied by Serge
2081 Belyshev <belyshev@depni.sinp.msu.ru>.
2082 * crypt/Makefile (xtests): Add md5test-giant..
2083 * crypt/Makefile ($(objpfx)md5test-giant): Add.
2084
02dcb6c5
PE
20852012-08-15 Paul Eggert <eggert@cs.ucla.edu>
2086
2087 [BZ #14090]
2088 * crypt/md5.c (md5_process_block): Don't assume the buffer
2089 length is less than 2**32.
2090 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
2091 length is less than 2**64.
2092
a3f95dcc
RM
20932012-08-15 Roland McGrath <roland@hack.frob.com>
2094
be75d758
RM
2095 * string/str-two-way.h: Include <sys/param.h>.
2096 (MAX): Macro removed.
2097
7312ca90
RM
2098 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
2099 Move #define and #undef of memmove to just before and after
2100 including <string.h>.
2101
9a0a5486
RM
2102 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
2103 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
2104 and after including <string.h>. Move declarations of
2105 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
2106 to before #include "string/memmove.c".
2107
67cc348d
RM
2108 * include/dirent.h: Declare __getdirentries.
2109
a3f95dcc
RM
2110 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
2111 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
2112
ca98e171
MF
21132012-08-14 Mike Frysinger <vapier@gentoo.org>
2114
2115 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
2116 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
2117 * sysdeps/i386/configure: Regenerated.
2118 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
2119 STABS_CURRENT_FILE, and STABS_FUN.
2120 (END): Remove call to STABS_FUN_END.
2121 (STABS_CURRENT_FILE1): Delete.
2122 (STABS_CURRENT_FILE): Likewise.
2123 (STABS_FUN): Likewise.
2124 (STABS_FUN_END): Likewise.
2125 (STABS_FUN2): Likewise.
2126 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
2127 * sysdeps/x86_64/configure: Regenerated.
2128
5908bf46
RM
21292012-08-14 Roland McGrath <roland@hack.frob.com>
2130
2131 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 2132 * elf/dl-lookup.c: Likewise.
5908bf46 2133
f2c05b9e
JM
21342012-08-14 Joseph Myers <joseph@codesourcery.com>
2135
2136 * sysdeps/unix/sysv/linux/kernel-features.h
2137 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
2138 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
2139 unconditionally.
2140 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
2141 unconditionally.
2142 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
2143 condition on __ASSUME_CLONE_THREAD_FLAGS.
2144
e11f5155
AJ
21452012-08-14 Andreas Jaeger <aj@suse.de>
2146
2147 * sysdeps/i386/fpu/libm-test-ulps: Update.
2148
51a9ba86
MK
21492012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
2150
2fdd4f78
AJ
2151 * include/atomic.h (atomic_exchange_and_add): Split into ...
2152 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
2153 New atomic macros.
51a9ba86 2154
ba6cba9e
MT
21552012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
2156
2157 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2158
42443a47
JL
21592012-08-13 Jeff Law <law@redhat.com>
2160
2161 * manual/stdio.texi (snprintf): Clarify handling of the trailing
2162 null byte in the output string.
2163
121dce05
JM
21642012-08-10 Joseph Myers <joseph@codesourcery.com>
2165
2166 * sysdeps/unix/sysv/linux/kernel-features.h
2167 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
2168 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
2169 (__ASSUME_ARG_MAX_STACK_BASED): Define.
2170 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2171 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
2172 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
2173 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
2174
bf51f568
JL
21752012-08-09 Jeff Law <law@redhat.com>
2176
2177 [BZ #13939]
2178 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
2179 When avoid_arena is set, don't retry in the that arena. Pick the
2180 next one, whatever it might be.
2181 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
2182 (arena_lock): Pass in new parameter to arena_get2.
2183 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
2184 arena_get2.
2185 (__libc_malloc): Unify retrying after main arena failure with
2186 __libc_memalign version.
2187 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
2188
f85fa270
L
21892012-08-09 H.J. Lu <hongjiu.lu@intel.com>
2190
2191 [BZ #14166]
2192 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
2193 to __redirect_strstr.
2194 (__strstr_sse42): Use typeof __redirect_strstr.
2195 (__strstr_ia32): Likewise.
2196 (__libc_strstr): New prototype.
2197 (strstr): Renamed to ...
2198 (__libc_strstr): This.
2199 (strstr): New strong alias of __libc_strstr.
2200 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2201 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
2202 __redirect_time.
2203 Include <time.h>.
2204 (__libc_time): New prototype.
2205 (time_ifunc): Replace time with __libc_time.
2206 (time): New strong alias and hidden definition of __libc_time.
2207 (__GI_time): Remove strong alias.
2208 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
2209 Include <stddef.h>.
2210 (memmove): Redefined to __redirect_memmove.
2211 (__memmove_sse2): Use typeof __redirect_memmove.
2212 (__memmove_ssse3): Likewise.
2213 (__memmove_ssse3_back): Likewise.
2214 (__libc_memmove): New prototype.
2215 (memmove): Renamed to ...
2216 (__libc_memmove): This.
2217 (memmove): New strong alias of __libc_memmove.
2218
33b4a91e
MS
22192012-08-08 Mark Salter <msalter@redhat.com>
2220
2221 * elf/elf.h
2222 (R_MN10300_TLS_GD): Define.
2223 (R_MN10300_TLS_LD): Likewise.
2224 (R_MN10300_TLS_LDO): Likewise.
2225 (R_MN10300_TLS_GOTIE): Likewise.
2226 (R_MN10300_TLS_IE): Likewise.
2227 (R_MN10300_TLS_LE): Likewise.
2228 (R_MN10300_TLS_DTPMOD): Likewise.
2229 (R_MN10300_TLS_DTPOFF): Likewise.
2230 (R_MN10300_TLS_TPOFF): Likewise.
2231 (R_MN10300_SYM_DIFF): Likewise.
2232 (R_MN10300_ALIGN): Likewise.
2233 (R_MN10300_NUM): Update.
2234
b36137f1
JM
22352012-08-08 Joseph Myers <joseph@codesourcery.com>
2236
2237 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
2238 Remove.
2239
cdd915fd
RM
22402012-08-08 Roland McGrath <roland@hack.frob.com>
2241
a2433aac
RM
2242 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
2243
cdd915fd
RM
2244 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
2245 sysdeps/unix -> sysdeps/posix move.
2246 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2247
bf9b740a
AM
22482012-08-07 Allan McRae <allan@archlinux.org>
2249
2250 [BZ #14303]
2251 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
2252 (SUNOS_CPP): Likewise.
2253 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
2254 not found.
2255 (open_input): Call CPP using execvp.
2256
93df14ee
JM
22572012-08-07 Joseph Myers <joseph@codesourcery.com>
2258
2259 * sysdeps/unix/sysv/linux/kernel-features.h
2260 (__ASSUME_PROT_GROWSUPDOWN): Remove.
2261 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2262 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2263 (__ASSUME_WAITID_SYSCALL): Likewise.
2264 * sysdeps/unix/sysv/linux/dl-execstack.c
2265 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
2266 code unconditional.
2267 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
2268 conditional code.
2269 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
2270 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
2271 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
2272 code.
2273 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
2274 unconditional.
2275 [__ASSUME_WAITID_SYSCALL]: Likewise.
2276 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
2277
d34689de
RM
22782012-08-07 Roland McGrath <roland@hack.frob.com>
2279
a281decc
RM
2280 * sysdeps/unix/closedir.c: Renamed to ...
2281 * sysdeps/posix/closedir.c: ... here.
2282 * sysdeps/unix/dirfd.c: Renamed to ...
2283 * sysdeps/posix/dirfd.c: ... here.
2284 * sysdeps/unix/dirstream.h: Renamed to ...
2285 * sysdeps/posix/dirstream.h: ... here.
2286 * sysdeps/unix/fdopendir.c: Renamed to ...
2287 * sysdeps/posix/fdopendir.c: ... here.
2288 * sysdeps/unix/opendir.c: Renamed to ...
2289 * sysdeps/posix/opendir.c: ... here.
2290 * sysdeps/unix/readdir.c: Renamed to ...
2291 * sysdeps/posix/readdir.c: ... here.
2292 * sysdeps/unix/readdir_r.c: Renamed to ...
2293 * sysdeps/posix/readdir_r.c: ... here.
2294 * sysdeps/unix/rewinddir.c: Renamed to ...
2295 * sysdeps/posix/rewinddir.c: ... here.
2296 * sysdeps/unix/seekdir.c: Renamed to ...
2297 * sysdeps/posix/seekdir.c: ... here.
2298 * sysdeps/unix/telldir.c: Renamed to ...
2299 * sysdeps/posix/telldir.c: ... here.
2300 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
2301 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
2302 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
2303 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
2304
22895b47
RM
2305 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
2306 * bits/fcntl.h: ... here.
2307
707a53b6
RM
2308 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
2309 not 0.
2310 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
2311 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
2312 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
2313 (struct flock): Move l_start, l_len to the beginning.
2314 Use __pid_t for l_pid.
2315 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
2316 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
2317 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
2318 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
2319 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
2320 [__USE_LARGEFILE64] (struct flock64): New type.
2321 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
2322
f0bd3e25
RM
2323 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
2324 * bits/dirent.h: ... here.
2325
d34689de
RM
2326 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
2327 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
2328
6dad2c06
JM
23292012-08-07 Joseph Myers <joseph@codesourcery.com>
2330
2331 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2332 Change from 2.6.0 to 2.6.16.
2333 * sysdeps/unix/sysv/linux/configure: Regenerated.
2334 * sysdeps/unix/sysv/linux/kernel-features.h
2335 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
2336 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
2337 version.
2338 (__ASSUME_UTIMES): Likewise.
2339 (__ASSUME_CLONE_STOPPED): Remove.
2340 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
2341 architectures, not kernel version.
2342 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
2343 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2344 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2345 (__ASSUME_WAITID_SYSCALL): Likewise.
2346 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
2347 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
2348 * README: State 2.6.16 as minimum Linux kernel version. Do not
2349 refer to older versions.
2350
03af9520
RM
23512012-08-06 Roland McGrath <roland@hack.frob.com>
2352
8e49df1d
RM
2353 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
2354 Define alphasort64 as an alias.
2355 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
2356 Define versionsort64 as an alias.
2357 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
2358 Define scandir64 as an alias.
2359 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
2360 Define scandirat64 as an alias.
2361 * dirent/alphasort64.c (alphasort64):
2362 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
2363 * dirent/versionsort64.c: Likewise.
2364 * dirent/scandir64.c: Likewise.
2365 * dirent/scandirat64.c: Likewise.
2366 * sysdeps/wordsize-64/alphasort.c: File removed.
2367 * sysdeps/wordsize-64/alphasort64.c: File removed.
2368 * sysdeps/wordsize-64/scandir.c: File removed.
2369 * sysdeps/wordsize-64/scandir64.c: File removed.
2370 * sysdeps/wordsize-64/scandirat.c: File removed.
2371 * sysdeps/wordsize-64/scandirat64.c: File removed.
2372 * sysdeps/wordsize-64/versionsort.c: File removed.
2373 * sysdeps/wordsize-64/versionsort64.c: File removed.
2374 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
2375 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
2376 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
2377 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
2378 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
2379 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
2380 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
2381 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
2382
2383 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
2384 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2385 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
2386 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2387 [defined __arch64__ || defined __sparcv9]
2388 (__INO_T_MATCHES_INO64_T): New macro.
2389 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2390 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
2391 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
2392 * sysdeps/unix/sysv/linux/bits/dirent.h
2393 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
2394 (_DIRENT_MATCHES_DIRENT64): New macro.
2395
03af9520
RM
2396 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
2397 Define lockf64 as an alias.
2398 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
2399 Define fseeko64 as an alias.
2400 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
2401 Define ftello64 as an alias.
2402 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
2403 Define _IO_fgetpos64 and fgetpos64 as aliases.
2404 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
2405 Define _IO_fsetpos64 and fsetpos64 as aliases.
2406 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
2407 Conditionalize body on this.
2408 * libio/fseeko64.c: Likewise.
2409 * libio/ftello64.c: Likewise.
2410 * libio/iofgetpos64.c: Likewise.
2411 * libio/iofsetpos64.c: Likewise.
2412 * sysdeps/wordsize-64/lockf.c: File removed.
2413 * sysdeps/wordsize-64/lockf64.c: File removed.
2414 * sysdeps/wordsize-64/fseeko.c: File removed.
2415 * sysdeps/wordsize-64/fseeko64.c: File removed.
2416 * sysdeps/wordsize-64/ftello.c: File removed.
2417 * sysdeps/wordsize-64/ftello64.c: File removed.
2418 * sysdeps/wordsize-64/iofgetpos.c: File removed.
2419 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
2420 * sysdeps/wordsize-64/iofsetpos.c: File removed.
2421 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
2422 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
2423 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
2424 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
2425 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
2426 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
2427 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
2428 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
2429 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
2430 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
2431 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
2432
2433 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2434 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2435 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
2436 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2437 [defined __arch64__ || defined __sparcv9]
2438 (__OFF_T_MATCHES_OFF64_T): New macro.
2439 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2440 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2441 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2442 (__OFF_T_MATCHES_OFF64_T): New macro.
2443
c5757acd
L
24442012-08-06 H.J. Lu <hongjiu.lu@intel.com>
2445
2446 * stdlib/secure-getenv.c (__secure_getenv): Replace
2447 GLIBC_2_16 with GLIBC_2_17.
2448
3a31811e
L
24492012-08-06 H.J. Lu <hongjiu.lu@intel.com>
2450
2451 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
2452 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2453
faa2bccb
DM
24542012-08-03 David S. Miller <davem@davemloft.net>
2455
2456 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2457
85fe1997
JM
24582012-08-03 Joseph Myers <joseph@codesourcery.com>
2459
2460 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
2461 Remove.
2462 (__ASSUME_CORRECT_SI_PID): Likewise.
2463 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
2464 (__ASSUME_TMPFS_NAME): Likewise.
2465 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
2466 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
2467 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
2468 (HAVE_AUX_SECURE): Make definition unconditional.
2469 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
2470 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
2471
4f75b7a0
RM
24722012-08-03 Roland McGrath <roland@hack.frob.com>
2473
2474 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
2475 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
2476 * sysdeps/mach/hurd/eloop-threshold.h: New file.
2477 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2478 __eloop_threshold instead of SYMLOOP_MAX.
2479
2480 * sysdeps/generic/eloop-threshold.h: New file.
2481 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
2482 of MAXSYMLINKS.
2483 * elf/chroot_canon.c (chroot_canon): Likewise.
2484
7aab07e4
JM
24852012-08-03 Joseph Myers <joseph@codesourcery.com>
2486
2487 [BZ #13717]
2488 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2489 Change to 2.6.0 everywhere.
2490 * sysdeps/unix/sysv/linux/configure: Regenerated.
2491 * sysdeps/unix/sysv/linux/kernel-features.h
2492 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
2493 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
2494 kernel versions.
2495 (__ASSUME_POSIX_TIMERS): Define unconditionally.
2496 (__ASSUME_FUTEX_REQUEUE): Remove.
2497 (__ASSUME_STATFS64): Define unconditionally.
2498 (__ASSUME_AT_SECURE): Likewise.
2499 (__ASSUME_CORRECT_SI_PID): Likewise.
2500 (__ASSUME_TGKILL): Define without depending on kernel version for
2501 i386.
2502 (__ASSUME_UTIMES): Likewise.
2503 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
2504 kernel version.
2505 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
2506 (__ASSUME_TMPFS_NAME): Likewise.
2507 * README: Update reference to Linux kernel versions.
2508
b67e9372
MP
25092012-08-02 Marek Polacek <polacek@redhat.com>
2510
1f529f7d 2511 [BZ# 14150]
b67e9372
MP
2512 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
2513 libc_cv_asm_type_prefix with %.
2514 * configure: Regenerated.
d2441631
RM
2515 * include/libc-symbols.h: Remove comment about
2516 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
2517 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
2518 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
2519 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
2520 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
2521 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
2522 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
2523 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
2524 * elf/tst-unique2mod1.c: Likewise.
2525 * elf/tst-unique1mod2.c: Likewise.
2526 * elf/tst-unique1mod1.c: Likewise.
2527 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
2528 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
2529 Replace ASM_TYPE_DIRECTIVE with .type.
2530 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2531 * sysdeps/i386/sysdep.h: Likewise.
2532 * sysdeps/x86_64/sysdep.h: Likewise.
2533 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
2534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
2535 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 2536 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
2537 * sysdeps/powerpc/powerpc32/sysdep.h:
2538 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
2539 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2540 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2541 * sysdeps/i386/fpu/e_powf.S: Likewise.
2542 * sysdeps/i386/fpu/e_expl.S: Likewise.
2543 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2544 * sysdeps/i386/fpu/e_acosh.S: Likewise.
2545 * sysdeps/i386/fpu/e_pow.S: Likewise.
2546 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
2547 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2548 * sysdeps/i386/fpu/s_expm1.S: Likewise.
2549 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2550 * sysdeps/i386/fpu/e_log2.S: Likewise.
2551 * sysdeps/i386/fpu/e_log2l.S: Likewise.
2552 * sysdeps/i386/fpu/e_scalb.S: Likewise.
2553 * sysdeps/i386/fpu/e_powl.S: Likewise.
2554 * sysdeps/i386/fpu/e_log10f.S: Likewise.
2555 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
2556 * sysdeps/i386/fpu/e_logl.S: Likewise.
2557 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
2558 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2559 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
2560 * sysdeps/i386/fpu/e_log2f.S: Likewise.
2561 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2562 * sysdeps/i386/fpu/e_log.S: Likewise.
2563 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2564 * sysdeps/i386/fpu/e_logf.S: Likewise.
2565 * sysdeps/i386/fpu/e_log10l.S: Likewise.
2566 * sysdeps/i386/fpu/e_atanh.S: Likewise.
2567 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
2568 * sysdeps/i386/fpu/e_log10.S: Likewise.
2569 * sysdeps/i386/fpu/s_frexp.S: Likewise.
2570 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2571 * sysdeps/i386/fpu/s_asinh.S: Likewise.
2572 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
2573 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2574 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
2575 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
2576 * sysdeps/i386/i686/strtok.S: Likewise.
2577 * sysdeps/i386/i386-mcount.S: Likewise.
2578 * sysdeps/i386/strtok.S: Likewise.
2579 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
2580 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
2581 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2582 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
2583 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2584 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
2585 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
2586 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
2587 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
2588 * sysdeps/x86_64/_mcount.S: Likewise.
2589 * sysdeps/x86_64/strtok.S: Likewise.
2590 * sysdeps/sh/_mcount.S: Likewise.
2591
2747bf9a
RM
25922012-08-01 Roland McGrath <roland@hack.frob.com>
2593
2594 * libio/iofopen.c: Include <fcntl.h>.
2595 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
2596 (_IO_fopen64, fopen64): Define as aliases.
2597 * libio/iofopen64.c: Include <fcntl.h>.
2598 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
2599 Conditionalize body on this.
2600 * sysdeps/wordsize-64/iofopen.c: File removed.
2601 * sysdeps/wordsize-64/iofopen64.c: File removed.
2602
3fb791b8
MP
26032012-08-01 Marek Polacek <polacek@redhat.com>
2604
2605 * libc/Makeconfig: Use elf in place of binfmt-subdir.
2606 Use dlfcn directly instead of a variable.
2607 (binfmt-subdir): Do not define.
2608 (dlfcn): Likewise.
2609
a9f1039f
JM
26102012-08-01 Joseph Myers <joseph@codesourcery.com>
2611
23bddc06
JM
2612 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2613 Remove all definitions.
2614 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
2615 <kernel-features.h>.
2616 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2617 (miss_F_GETOWN_EX): Remove all definitions.
2618 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
2619 macro definition.
2620 [!__ASSUME_FCNTL64]: Remove conditional code.
2621 [__ASSUME_FCNTL64]: Make code unconditional.
2622 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
2623 <kernel-features.h>.
2624 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2625 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
2626 (lockf64) [__NR_fcntl64]: Make code unconditional.
2627 (lockf64) [__ASSUME_FCNTL64]: Likewise.
2628
a9f1039f
JM
2629 * sysdeps/unix/sysv/linux/kernel-features.h
2630 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
2631 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
2632 Make code unconditional.
2633 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2634 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
2636 [__NR_vfork]: Make code unconditional.
2637 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2638 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
2640 [__NR_vfork]: Make code unconditional.
2641 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2642 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2643
09c0ee5f
RM
26442012-08-01 Roland McGrath <roland@hack.frob.com>
2645
48aec5b9
RM
2646 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
2647 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
2648
cd97c966
RM
2649 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2650 Define mkstemp64 as an alias.
3f55550c
RM
2651 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2652 Define mkstemps64 as an alias.
cd97c966
RM
2653 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2654 Define mkostemp64 as an alias.
b8625cfc
RM
2655 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2656 Define mkostemps64 as an alias.
cd97c966
RM
2657 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
2658 Conditionalize body on this.
2659 * misc/mkostemp64.c: Likewise.
b8625cfc 2660 * misc/mkostemps64.c: Likewise.
3f55550c 2661 * misc/mkstemps64.c: Likewise.
cd97c966
RM
2662 * sysdeps/wordsize-64/mkstemp64.c: File removed.
2663 * sysdeps/wordsize-64/mkostemp64.c: File removed.
2664 * sysdeps/wordsize-64/mkostemp.c: File removed.
2665 * sysdeps/wordsize-64/mkstemp.c: File removed.
2666 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
2667 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
2668 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
2669 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
2670
09c0ee5f
RM
2671 [BZ #14138]
2672 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
2673 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
2674 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
2675 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
2676
2677 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
2678 compat_symbol macros from <shlib-compat.h> rather than the underlying
2679 default_symbol_version and symbol_version macros, so that DEFAULT
2680 lines in shlib-versions are respected.
2681 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
2682
7e66ee51
FW
26832012-08-01 Florian Weimer <fweimer@redhat.com>
2684
2685 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
2686 Declare with warn_unused_result.
2687 (setgid, setregid, setegid, setresgid): Likewise.
2688 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
2689 Likewise.
2690 * WUR-REPORT: Remove set*id functions.
2691
d2a54255
PT
26922012-07-31 Pino Toscano <toscano.pino@tiscali.it>
2693
2694 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
2695
7ecdb005
RM
26962012-07-31 Roland McGrath <roland@hack.frob.com>
2697
789bd351
RM
2698 * include/sys/socket.h (__libc_accept, __libc_accept4):
2699 Add attribute_hidden.
2700 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
2701
40ce302d
RM
2702 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
2703 use of PTR_MANGLE.
2704 * inet/getnetgrent_r.c (setup): Likewise.
2705
7ecdb005
RM
2706 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
2707
e2eabb2c
DM
27082012-07-31 David S. Miller <davem@davemloft.net>
2709
2710 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2711
d0419dbf
JM
27122012-07-31 Joseph Myers <joseph@codesourcery.com>
2713
2714 [BZ #13629]
2715 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
2716 value between 1.0 and 2.0 and smaller part has absolute value less
2717 than 1.0.
2718 * math/s_clog10.c (__clog10): Likewise.
2719 * math/s_clog10f.c (__clog10f): Likewise.
2720 * math/s_clog10l.c (__clog10l): Likewise.
2721 * math/s_clogf.c (__clogf): Likewise.
2722 * math/s_clogl.c (__clogl): Likewise.
2723 * math/libm-test.inc (clog_test): Add more tests.
2724 (clog10_test): Likewise.
2725 * sysdeps/i386/fpu/libm-test-ulps: Update.
2726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2727
2bc13872
FW
27282012-07-31 Florian Weimer <fweimer@redhat.com>
2729
2730 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
2731 Exit with zero in case no suitable GID is found, and write a
2732 message to standard error.
2733
bea9b193
RM
27342012-07-30 Roland McGrath <roland@hack.frob.com>
2735
2736 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
2737 rather than to 1.
2738 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
2739 (MAXPATHLEN): Removed.
2740 (NOGROUP, NODEV): New macros.
2741 (setbit, clrbit, isset, isclr): New macros.
2742 (howmany, roundup, powerof2): New macros.
2743 (DEV_BSIZE): New macro.
2744
2745 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
2746 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
2747
2748 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
2749 definition on [!__NO_LONG_DOUBLE_MATH].
2750
2751 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
2752 PTR_MANGLE and PTR_DEMANGLE.
2753
2754 * socket/accept4.c (accept4): Rename to __libc_accept4.
2755 Define accept4 as a weak alias.
2756
2757 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
2758 on [_DIRENT_HAVE_D_TYPE].
2759 * io/ftw.c (ftw_dir): Likewise.
2760
2761 * io/xmknod.c (__xmknod): Don't check PATH for being null.
2762
2763 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
2764
2765 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
2766 Use the BSD numbers rather than the arbitrary ones we had.
2767 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
2768 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
2769 (SIGXCPU, SIGXFSZ): New macros.
2770 (_NSIG): Now 32.
2771
2772 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
2773 initializer on [_LIBC_REENTRANT].
2774
2775 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
2776 definitions inside [_POSIX_MAPPED_FILES].
2777
2778 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
2779
2780 * dirent/opendir.c: Include <fcntl.h>.
2781
2782 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
2783 (__libc_getspecific): Likewise.
2784 (__libc_key_create): Likewise.
2785
2786 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
2787 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
2788 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
2789 (tmpfile64): Define as alias.
2790 * sysdeps/wordsize-64/tmpfile.c: File removed.
2791 * sysdeps/wordsize-64/tmpfile64.c: File removed.
2792 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
2793 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
2794
2795 * stdio-common/vfscanf.c: Include <stdbool.h>.
2796 * nss/makedb.c: Likewise.
2797 * stdio-common/_i18n_number.h: Likewise.
2798 * argp/argp-help.c: Likewise.
2799 * posix/wordexp.c: Likewise.
2800 * sysdeps/posix/spawni.c: Likewise.
2801 * nss/nss_files/files-initgroups.c: Likewise.
2802 * stdio-common/reg-modifier.c: Include <stdlib.h>.
2803 * nss/nss_files/files-initgroups.c: Likewise.
2804 * nss/nss_db/db-netgrp.c: Likewise.
2805 * nss/nss_db/db-initgroups.c: Likewise.
2806 * io/fchmodat.c: Include <sys/stat.h>.
2807
2808 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
2809 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
2810
2811 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
2812 [HAVE_MMAP].
2813
2814 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
2815 Add multiple inclusion protection.
2816
e5abc686
DM
28172012-07-27 David S. Miller <davem@davemloft.net>
2818
2819 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2820
815e6fa3
GB
28212012-07-27 Gary Benson <gbenson@redhat.com>
2822
2823 [BZ #14298]
2824 * elf/rtld.c: Include <stap-probe.h>.
2825 (dl_main): Added static probes "init_start" and "init_complete".
2826 * elf/dl-load.c: Include <stap-probe.h>.
2827 (lose): Take new parameter "nsid".
2828 Added static probe "map_failed".
2829 (_dl_map_object_from_fd): Pass namespace id to lose.
2830 Added static probe "map_start".
2831 (open_verify): Pass namespace id to lose.
2832 * elf/dl-open.c: Include <stap-probe.h>.
2833 (dl_open_worker) Added static probes "map_complete", "reloc_start"
2834 and "reloc_complete".
2835 * elf/dl-close.c: Include <stap-probe.h>.
2836 (_dl_close_worker): Added static probes "unmap_start" and
2837 "unmap_complete".
2838 * elf/rtld-debugger-interface.txt: New file documenting the above.
2839
9f98c16c
RM
28402012-07-26 Roland McGrath <roland@hack.frob.com>
2841
2842 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
2843 rather than a string variable.
2844 * sunrpc/rpc_main.c (h_output): Likewise.
2845 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
2846
f3c22df3
PT
28472012-07-26 Pino Toscano <toscano.pino@tiscali.it>
2848
2849 * inet/check_native.c: New file.
2850
3129cfc6
JM
28512012-07-26 Joseph Myers <joseph@codesourcery.com>
2852
da865e95
JM
2853 [BZ #13629]
2854 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
2855 if larger part has absolute value 1.0.
2856 * math/s_clog10.c (__clog10): Likewise.
2857 * math/s_clog10f.c (__clog10f): Likewise.
2858 * math/s_clog10l.c (__clog10l): Likewise.
2859 * math/s_clogf.c (__clogf): Likewise.
2860 * math/s_clogl.c (__clogl): Likewise.
2861 * math/libm-test.inc (clog_test): Add more tests.
2862 (clog10_test): Likewise.
2863 * sysdeps/i386/fpu/libm-test-ulps: Update.
2864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2865
3129cfc6
JM
2866 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
2867 (pltexit): Likewise.
2868 (La_regs): Likewise.
2869 (La_retval): Likewise.
2870 (int_retval): Likewise.
2871 Update #error for removed macros to refer only to definitions in
2872 tst-audit.h.
2873 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
2874 macro.
2875 (pltexit): Likewise.
2876 (La_regs): Likewise.
2877 (La_retval): Likewise.
2878 (int_retval): Likewise.
2879 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
2880 macro.
2881 (pltexit): Likewise.
2882 (La_regs): Likewise.
2883 (La_retval): Likewise.
2884 (int_retval): Likewise.
2885 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
2886 macro.
2887 (pltexit): Likewise.
2888 (La_regs): Likewise.
2889 (La_retval): Likewise.
2890 (int_retval): Likewise.
2891 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
2892 macro.
2893 (pltexit): Likewise.
2894 (La_regs): Likewise.
2895 (La_retval): Likewise.
2896 (int_retval): Likewise.
2897 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
2898 macro.
2899 (pltexit): Likewise.
2900 (La_regs): Likewise.
2901 (La_retval): Likewise.
2902 (int_retval): Likewise.
2903 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
2904 macro.
2905 (pltexit): Likewise.
2906 (La_regs): Likewise.
2907 (La_retval): Likewise.
2908 (int_retval): Likewise.
2909 * sysdeps/generic/tst-audit.h: Update comment to refer only to
2910 macro definitions in tst-audit.h.
2911 * sysdeps/i386/tst-audit.h: New file.
2912 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
2913 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
2914 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
2915 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
2916 * sysdeps/sh/tst-audit.h: Likewise.
2917 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
2918 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
2919 * sysdeps/x86_64/tst-audit.h: Likewise.
2920
bfc07087
AJ
29212012-07-26 Andreas Jaeger <aj@suse.de>
2922
b1b2aaf8
AJ
2923 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
2924 ptrace.
2925
2926 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
2927 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
2928 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
2929 PTRACE_O_MASK.
2930 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
2931 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
2932 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
2933
bfc07087
AJ
2934 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
2935 value.
2936
2937 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
2938 _sigsys.
2939 (si_call_addr, si_syscall, si_arch): Define new macro.
2940 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
2941 _sigsys.
2942 (si_call_addr, si_syscall, si_arch): Define new marcro.
2943 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
2944 _sigsys.
2945 (si_call_addr, si_syscall, si_arch): Define new macro.
2946 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
2947 _sigsys.
2948 (si_call_addr, si_syscall, si_arch): Define new macro.
2949
89b4b02f
JM
29502012-07-25 Joseph Myers <joseph@codesourcery.com>
2951
2952 [BZ #13717]
2953 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2954 Change to 2.4.21 where previously 2.4.1.
2955 * sysdeps/unix/sysv/linux/configure: Regenerated.
2956 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
2957 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
2958 Linux kernel version.
2959 (__ASSUME_STD_AUXV): Remove.
2960 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
2961 kernel version.
2962 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
2963 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
2964 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
2965 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
2966 (__ASSUME_NETLINK_SUPPORT): Likewise.
2967 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
2968 (__no_netlink_support): Remove conditional definition.
2969 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
2970 Remove.
2971 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2972 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
2973 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
2974 (if_nameindex_ioctl): Remove.
2975 (if_nameindex_netlink): Do not handle __no_netlink_support.
2976 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2977 code.
2978 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
2979 Remove conditional code.
2980 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2981 code.
2982 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
2983 unconditional.
2984 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2985 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
2986 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
2987 Remove.
2988 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
2989 [!__ASSUME_STD_AUXV]: Remove conditional code.
2990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
2991 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
2992 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
2993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
2994 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
2995 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2996 code.
2997 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2999 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
3000 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3001 conditional code.
3002 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3004 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3005 code.
3006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3007 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3008 conditional code.
3009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
3010 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3011 code unconditional.
3012 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3013 conditional code.
3014 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3015 unconditional.
3016 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3017 conditional code.
3018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3019 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3020 unconditional.
3021 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3022 conditional code.
3023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3024 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3025 code unconditional.
3026 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3027 conditional code.
3028 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3029 unconditional.
3030 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3031 conditional code.
3032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3033 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3034 code unconditional.
3035 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3036 conditional code.
3037 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3038 unconditional.
3039 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3040 conditional code.
3041
842a39cd
AS
30422012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3043
3044 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
3045 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
3046 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3047 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
3048 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
3049 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3050 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3051 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
3052 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
3053 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3054 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
3055 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
3056 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
3057 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3058 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
3059 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
3060 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
3061 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
3062 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
3063 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
3064 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
3065 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
3066 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3067
84b3fd84
FW
30682012-07-25 Florian Weimer <fweimer@redhat.com>
3069
3070 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
3071 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
3072 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
3073 Introduce __libc_secure_getenv.
0c7936d5
FW
3074 * stdlib/Versions (2.17): Add secure_getenv
3075 (GLIBC_PRIVATE): Add __libc_secure_getenv.
3076 * stdlib/secure-getenv.c: Rename __secure_getenv to
3077 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
3078 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
3079 * stdlib/tst-secure-getenv.c: New.
3080 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
3081 * manual/startup.texi (Environment Access): Document
3082 secure_getenv.
84b3fd84
FW
3083 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
3084 __libc_secure_getenv.
3085 * inet/ruserpass.c (ruserpass): Likewise.
3086 * malloc/mtrace.c (mtrace): Likewise.
3087 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 3088 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
3089 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
3090 * sysdeps/posix/tempname.c: Likewise. Evaluate
3091 HAVE_SECURE_GETENV.
3092 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 3093 __secure_getenv to __libc_secure_getenv.
84b3fd84 3094 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
3095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3096 Likewise.
3097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3098 Likewise.
3099 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3100 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3101 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3102 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3103 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3104 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3105 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 3106
56e49b71
JM
31072012-07-25 Joseph Myers <joseph@codesourcery.com>
3108
3109 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
3110 (struct La_i86_retval): Likewise.
3111 (struct La_x86_64_regs): Likewise.
3112 (struct La_x86_64_retval): Likewise.
3113 (struct La_x32_regs): Likewise.
3114 (struct La_x32_retval): Likewise.
3115 (struct La_ppc32_regs): Likewise.
3116 (struct La_ppc32_retval): Likewise.
3117 (struct La_ppc64_regs): Likewise.
3118 (struct La_ppc64_retval): Likewise.
3119 (struct La_sh_regs): Likewise.
3120 (struct La_sh_retval): Likewise.
3121 (struct La_s390_32_regs): Likewise.
3122 (struct La_s390_32_retval): Likewise.
3123 (struct La_s390_64_regs): Likewise.
3124 (struct La_s390_64_retval): Likewise.
3125 (struct La_sparc32_regs): Likewise.
3126 (struct La_sparc32_retval): Likewise.
3127 (struct La_sparc64_regs): Likewise.
3128 (struct La_sparc64_retval): Likewise.
3129 (struct audit_ifaces): Remove architecture-specific pltenter and
3130 pltexit members.
3131 * sysdeps/i386/ldsodefs.h: New file.
3132 * sysdeps/powerpc/ldsodefs.h: Likewise.
3133 * sysdeps/s390/ldsodefs.h: Likewise.
3134 * sysdeps/sh/ldsodefs.h: Likewise.
3135 * sysdeps/sparc/ldsodefs.h: Likewise.
3136 * sysdeps/x86_64/ldsodefs.h: Likewise.
3137
354691b7
MP
31382012-07-25 Marek Polacek <polacek@redhat.com>
3139
3140 [BZ #6808]
3141 * math/libm-test.inc (yn_test): Add another test.
3142 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
3143 to ERANGE when the result is +-Inf.
3144 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3145 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
3146 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
3147 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
3148
bf9e2071
JM
31492012-07-24 Joseph Myers <joseph@codesourcery.com>
3150
3151 * conform/data/time.h-data (NULL): Use macro-constant. Require
3152 equal to 0.
3153 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
3154 clock_t.
3155 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
3156
57633811
TS
31572012-07-23 Thomas Schwinge <thomas@codesourcery.com>
3158
3159 * configure.in <sysdeps resolving>: Correct printing
3160 Implies_before.
3161 * configure: Regenerate.
3162
c23c33b0
TS
31632012-07-22 Thomas Schwinge <thomas@codesourcery.com>
3164
3165 * math/w_ilogb.c: Include <limits.h>.
3166 * math/w_ilogbl.c: Likewise.
3167
b5982523
JM
31682012-07-20 Joseph Myers <joseph@codesourcery.com>
3169
3170 * manual/lang.texi (__va_copy): Document primarily as ISO C99
3171 va_copy. Document allowing for unavailable va_copy only as
3172 pre-C99 compatibility.
3173 * manual/string.texi (Copying and Concatenation): Use va_copy
3174 instead of __va_copy in concat example.
3175
ac4ea442
PT
31762012-07-20 Pino Toscano <toscano.pino@tiscali.it>
3177
3178 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
3179 (__sendto): Use create_address_port. Initialize APORT and deallocate
3180 it if not null.
3181
f98eafbd
PT
3182 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
3183 with O_NOLINK passed to __file_name_lookup.
3184
898c7aab
PT
3185 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
3186 with O_NOLINK passed to __file_name_lookup.
3187
0ced335a
PT
3188 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
3189 negative N or less than NGIDS.
3190
b3404dbd
PT
3191 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
3192 type to string_t. Set ERANGE as errno and return it if NAME is not big
3193 enough. Use memcpy instead of strncpy.
3194
0f48659e
JM
31952012-07-20 Joseph Myers <joseph@codesourcery.com>
3196
3197 * elf/Makefile (check-data): Remove.
3198 (localplt.data): New vpath directive.
3199 ($(objpfx)check-localplt.out): Use localplt.data from vpath
3200 instead of $(check-data).
3201 * scripts/data/localplt-generic.data: Move to ...
3202 * sysdeps/generic/localplt.data: ... here.
3203 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
3204 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
3205 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
3206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3207 ... here.
3208 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
3209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3210 ... here.
3211 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
3212 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
3213 ... here.
3214 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
3215 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3216 ... here.
3217 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
3218 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
3219 ... here.
3220 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
3221 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
3222 ... here.
3223
d37cbdaa
AZ
32242012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3225
3226 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
3227 PPC32 and PPC64 files.
3228 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
3229 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
3230
46f85fc2
AK
32312012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3232
3233 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
3234 __makecontext_ret to ...
3235 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
3236 ... here and call exit if uc_link is NULL. New file.
3237 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
3238 __makecontext_ret.S.
3239 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
3240 __makecontext_ret to ...
3241 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
3242 ... here and call exit if uc_link is NULL. New file.
3243 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
3244 __makecontext_ret.S.
3245
08f43f9b
AK
32462012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3247
3248 * elf/elf.h (R_390_IRELATIVE): New definition.
3249 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
3250 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
3251 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
3252 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3253 (elf_machine_lazy_rel): Likewise.
3254 * sysdeps/s390/dl-irel.h: New file.
3255 * sysdeps/s390/s390-64/memcpy.S: New asm code.
3256 * sysdeps/s390/s390-64/memset.S: New asm code.
3257 * sysdeps/s390/s390-64/memcmp.S: New asm code.
3258 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
3259 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
3260 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
3261 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
3262 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
3263 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
3264 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
3265 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
3266 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
3267 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
3268 * sysdeps/s390/s390-32/memcpy.S: New asm code.
3269 * sysdeps/s390/s390-32/memset.S: New asm code.
3270 * sysdeps/s390/s390-32/memcmp.S: New asm code.
3271
3b05db33
MP
32722012-07-17 Marek Polacek <polacek@redhat.com>
3273
3274 [BZ #14349]
3275 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
3276 * sysdeps/s390/s390-64/configure.in: Likewise.
3277 * sysdeps/sparc/configure.in: Likewise.
3278 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
3279 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
3280 * sysdeps/i386/configure.in: Likewise.
3281 * sysdeps/x86_64/configure.in: Likewise.
3282 * sysdeps/sh/configure.in: Likewise.
3283 * sysdeps/s390/s390-32/configure: Regenerated.
3284 * sysdeps/s390/s390-64/configure: Likewise.
3285 * sysdeps/x86_64/configure: Likewise.
3286 * sysdeps/sh/configure: Likewise.
3287 * sysdeps/powerpc/powerpc64/configure: Likewise.
3288 * sysdeps/powerpc/powerpc32/configure: Likewise.
3289 * sysdeps/sparc/configure: Likwise.
3290 * sysdeps/i386/configure: Likewise.
3291
a66877c6
MP
3292 * elf/dl-open.c: Comment fixes.
3293
cfc82fd8
JM
32942012-07-17 Joseph Myers <joseph@codesourcery.com>
3295
bd29910a
JM
3296 * Makefile [CXX] (check-data): Remove.
3297 [CXX] (c++-types.data): New vpath directive.
3298 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
3299 vpath. Do not allow for C++ type data being missing.
3300 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
3301 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
3302 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
3303 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
3304 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
3305 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
3306 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
3307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3308 ... here.
3309 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
3310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3311 ... here.
3312 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
3313 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
3314 ... here.
3315 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
3316 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
3317 ... here.
3318 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
3319 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
3320 ... here.
3321 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
3322 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
3323 ... here.
3324 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
3325 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
3326 ... here.
3327 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
3328 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
3329
cfc82fd8
JM
3330 * elf/tls-macros.h (TLS_LE): Move architecture-specific
3331 definitions to architecture-specific files.
3332 (TLS_IE): Likewise.
3333 (TLS_LD): Likewise.
3334 (TLS_GD): Likewise.
3335 * sysdeps/i386/tls-macros.h: New file.
3336 * sysdeps/powerpc/tls-macros.h: Likewise.
3337 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
3338 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
3339 * sysdeps/sh/tls-macros.h: Likewise.
3340 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
3341 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
3342 * sysdeps/x86_64/tls-macros.h: Likewise.
3343
f7db3170
TS
33442012-07-17 Thomas Schwinge <thomas@codesourcery.com>
3345
07cbfc23
TS
3346 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
3347 zero value for regular exit case.
3348
f7db3170
TS
3349 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3350 (__start_context): Preserve zero value for regular exit case.
3351
dc97c227
TS
33522012-07-17 Thomas Schwinge <thomas@codesourcery.com>
3353 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3354
3355 * manual/setjmp.texi (setcontext): Clarify normal process
3356 termination when uc_link is the null pointer.
3357 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
3358 exit call.
3359
d0cd7d02
AS
33602012-07-16 Andreas Schwab <schwab@linux-m68k.org>
3361
3362 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
3363 preprocessor. Test for each exception mask separately.
3364
dd318934
AJ
33652012-07-16 Andreas Jaeger <aj@suse.de>
3366
3367 * po/ru.po: Update from translation team.
3368
8048311a
JM
33692012-07-15 Joseph Myers <joseph@codesourcery.com>
3370
3371 * conform/data/string.h-data (NULL): Use macro-constant. Require
3372 equal to 0.
3373 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3374 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3375 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
3376 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
3377 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3378
b637d46e
AJ
33792012-07-13 Andreas Jaeger <aj@suse.de>
3380
3381 * po/fr.po: Update from translation team.
3382
541428fe
MP
33832012-07-12 Marek Polacek <polacek@redhat.com>
3384
3385 [BZ #14173]
3386 * math/libm-test.inc (yn_test): Add test for BZ #14173.
3387 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
3388 loop condition.
3389
ec332e94
JM
33902012-07-12 Joseph Myers <joseph@codesourcery.com>
3391
3392 [BZ #13717]
3393 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3394 Change to 2.4.1 where previously 2.4.0.
3395 * sysdeps/unix/sysv/linux/configure: Regenerated.
3396 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
3397 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
3398 version.
3399 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
3400 (__ASSUME_AT_CLKTCK): Remove.
3401 (__ASSUME_AT_PAGESIZE): Likewise.
3402 (__ASSUME_AT_XID): Likewise.
3403 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
3404 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
3405 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
3406 unconditionally.
3407 (HAVE_AUX_PAGESIZE): Likewise.
3408 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
3409 [__ASSUME_AT_CLKTCK]: Make code unconditional.
3410 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
3411
7b6e99be
JB
34122012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
3413
3414 [BZ #14307]
3415 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
3416 the temporary buffer used to invoke __gethostbyname2_r,
3417 __gethostbyaddr_r and gethostbyname4_r to make room for struct
3418 host_data / struct gaih_addrtuple.
3419 * resolv/nss_dns/dns-host.c (global scope): Move definition of
3420 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
3421 header file nss/nsswitch.h.
3422 * nss/nsswitch.h (global scope): Add definition of implementation
3423 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
3424 resolv/nss_dns/dns-host.c).
3425
608404eb
AJ
34262012-07-11 Andreas Jaeger <aj@suse.de>
3427
3428 * po/fr.po: Update from translation team.
3429
71220aca
AJ
3430 * po/sv.po: Update from translation team
3431 * po/fr.po: Another update from translation team.
3432
28cfe843
AZ
34332012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3434
3435 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
3436 for subnormals or multiply small sinh result by itself.
3437 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3438 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3439
6b90f981
DM
34402012-07-11 David S. Miller <davem@davemloft.net>
3441
3442 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3443
c6825772
AS
34442012-07-10 Andreas Schwab <schwab@linux-m68k.org>
3445
3446 [BZ #14347]
3447 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
3448 (INTERNAL_MARK): Shift it here.
3449
7b8e0d49
MP
34502012-07-10 Marek Polacek <polacek@redhat.com>
3451
3452 [BZ #14151]
3453 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
3454 libc_cv_asm_global_directive with .globl.
3455 * configure: Regenerated.
3456 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
3457 with .globl.
3458 * sysdeps/i386/configure: Regenerated.
3459 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
3460 with .globl.
3461 * sysdeps/x86_64/configure: Regenerated.
3462 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
3463 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
3464 * elf/tst-unique2mod2.c: Likewise.
3465 * elf/tst-unique2mod1.c: Likewise.
3466 * elf/tst-unique1mod2.c: Likewise.
3467 * elf/tst-unique1mod1.c: Likewise.
3468 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3469 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3470 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3471 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3472 * sysdeps/mach/sysdep.h: Likewise.
3473 * sysdeps/i386/sysdep.h: Likewise.
3474 * sysdeps/i386/i386-mcount.S: Likewise.
3475 * sysdeps/x86_64/_mcount.S: Likewise.
3476 * sysdeps/x86_64/sysdep.h: Likewise.
3477 * sysdeps/sh/_mcount.S: Likewise.
3478 * sysdeps/sh/sysdep.h: Likewise.
3479 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
3480 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
3481 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
3482 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3483 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
3484 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
3485 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
3486 * locale/localeinfo.h: Likewise.
3487 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
3488 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
3489
6c55cda3
RM
34902012-07-09 Roland McGrath <roland@hack.frob.com>
3491
3492 [BZ #14336]
3493 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
3494 system".
3495 * manual/message.texi (The Uniforum approach): Likewise.
3496 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
3497 (glibc iconv Implementation): Likewise.
3498
638a572e
JM
34992012-07-09 Joseph Myers <joseph@codesourcery.com>
3500
3501 [BZ #14337]
3502 * math/s_clog.c (__clog): Avoid scaling a value down where that
3503 could result in underflow.
3504 * math/s_clog10.c (__clog10): Likewise.
3505 * math/s_clog10f.c (__clog10f): Likewise.
3506 * math/s_clog10l.c (__clog10l): Likewise.
3507 * math/s_clogf.c (__clogf): Likewise.
3508 * math/s_clogl.c (__clogl): Likewise.
3509 * math/libm-test.inc (clog_test): Add more tests.
3510 (clog10_test): Likewise.
3511 * sysdeps/i386/fpu/libm-test-ulps: Update.
3512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3513
261f4859
AS
35142012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3515
0abaf3e4
AS
3516 [BZ #14283]
3517 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
3518 by 7 not 8 to examine high bit of fractional part.
3519
261f4859
AS
3520 [BZ #14042]
3521 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
3522 for call to __mcount_internal.
3523 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
3524 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
3525 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
3526
f17ac40d
JM
35272012-07-06 Joseph Myers <joseph@codesourcery.com>
3528
9ad63c23
JM
3529 [BZ #14154]
3530 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
3531 approximation for values within 0x1p-13f of an odd multiple of
3532 pi/4.
3533 * math/libm-test.inc (tan_test): Do not allow spurious underflow
3534 exception. Add more tests.
3535 * sysdeps/i386/fpu/libm-test-ulps: Update.
3536
f17ac40d
JM
3537 [BZ #6778]
3538 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
3539 inputs and return -1 for them. Do not check for +Inf in case not
3540 reachable for +Inf.
3541 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
3542 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
3543 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3544 and return -1 for them. Do not check for +Inf in case not
3545 reachable for +Inf.
3546 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
3547 define.
3548 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3549 and return -1 for them. Do not check for +Inf in case not
3550 reachable for +Inf.
3551 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
3552 spurious underflow.
3553 * sysdeps/i386/fpu/libm-test-ulps: Update.
3554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3555
fb21f89b
MF
35562012-07-06 Mike Frysinger <vapier@gentoo.org>
3557
3558 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
3559
cdfe2c5e
JM
35602012-07-05 Joseph Myers <joseph@codesourcery.com>
3561
3562 [BZ #14157]
3563 [BZ #14331]
3564 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
3565 could result in spurious underflow. Scale down values above
3566 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
3567 * math/s_csqrtf.c (__csqrtf): Likewise.
3568 * math/s_csqrtl.c (__csqrtl): Likewise.
3569 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
3570 spurious underflow.
3571 * sysdeps/i386/fpu/libm-test-ulps: Update.
3572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3573
70d35b67
AS
35742012-07-04 Andreas Schwab <schwab@linux-m68k.org>
3575
704bc459
AS
3576 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
3577 xopen-msg.sed.
3578 * catgets/xopen-msg.awk: New file.
3579 * catgets/xopen-msg.sed: Removed.
3580
70d35b67
AS
3581 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
3582 po2text.sed.
3583 * intl/po2test.awk: New file.
3584 * intl/po2test.sed: Removed.
3585
ca61cf32
JM
35862012-07-04 Joseph Myers <joseph@codesourcery.com>
3587
3588 [BZ #14328]
3589 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
3590 or multiply small sinh result by itself.
3591 * math/s_ctanf.c (__ctanf): Likewise.
3592 * math/s_ctanh.c (__ctanh): Likewise.
3593 * math/s_ctanhf.c (__ctanhf): Likewise.
3594 * math/s_ctanhl.c (__ctanhl): Likewise.
3595 * math/s_ctanl.c (__ctanl): Likewise.
3596 * math/libm-test.inc (ctan_test_tonearest): New function.
3597 (ctan_test_towardzero): Likewise.
3598 (ctan_test_downward): Likewise.
3599 (ctan_test_upward): Likewise.
3600 (ctanh_test_tonearest): Likewise.
3601 (ctanh_test_towardzero): Likewise.
3602 (ctanh_test_downward): Likewise.
3603 (ctanh_test_upward): Likewise.
3604 (main): Call these new functions.
3605 * sysdeps/i386/fpu/libm-test-ulps: Update.
3606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3607
ca48a46a
MF
36082012-07-03 Mike Frysinger <vapier@gentoo.org>
3609
3610 * .gitignore: Delete /ports entry.
3611
9d63d37d
AJ
36122012-07-03 Andreas Jaeger <aj@suse.de>
3613
3614 * po/bg.po: Update from translation team.
3615 * po/cs.po: Likewise.
3616 * po/de.po: Likewise.
3617 * po/hr.po: Likewise.
3618 * po/nl.pl: Likewise.
3619 * po/pl.po: Likewise.
3620 * po/vi.po: Likewise.
3621
370ca3d2
JM
36222012-07-03 Joseph Myers <joseph@codesourcery.com>
3623
95f5a9a8
JM
3624 * Makeconfig [!+link] (+link-before-libc): New variable.
3625 [!+link] (+link-after-libc): Likewise.
3626 [!+link] (+link-tests): Likewise.
3627 [!+link] (+link): Define in terms of $(+link-before-libc) and
3628 $(+link-after-libc).
3629 [!+link-static] (+link-static-before-libc): New variable.
3630 [!+link-static] (+link-static-after-libc): Likewise.
3631 [!+link-static] (+link-static-tests): Likewise.
3632 [!+link-static] (+link-static): Define in terms of
3633 $(+link-static-before-libc) and $(+link-static-after-libc).
3634 [build-shared] (link-libc-before-gnulib): New variable.
3635 [build-shared] (link-libc-tests): Likewise.
3636 [build-shared] (link-libc): Define in terms of
3637 $(link-libc-before-gnulib).
3638 [!build-shared] (link-libc-tests): New variable.
3639 (link-libc-static-tests): New variable.
3640 [!gnulib] (gnulib-arch): New variable.
3641 [!gnulib] (gnulib-tests): Likewise.
3642 [!gnulib] (static-gnulib-arch): Likewise.
3643 [!gnulib] (static-gnulib-tests): Likewise.
3644 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
3645 Define with "=" instead of ":=".
3646 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
3647 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
3648 * Rules (binaries-all-notests): New variable.
3649 (binaries-all-tests): Likewise.
3650 (binaries-static-notests): Likewise.
3651 (binaries-static-tests): Likewise.
3652 (binaries-all): Define using $(binaries-all-notests) and
3653 $(binaries-all-tests).
3654 (binaries-static): Define using $(binaries-static-notests) and
3655 $(binaries-static-tests).
3656 (binaries-shared-tests): New variable.
3657 (binaries-shared-notests): Likewise.
3658 (binaries-shared): Remove variable.
3659 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
3660 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
3661 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
3662 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
3663 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
3664 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
3665 * elf/Makefile (sln-modules): New variable.
3666 (extra-objs): Add $(sln-modules:=.o).
3667 (ldconfig-modules): Add static-stubs.
3668 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
3669 * elf/static-stubs.c: New file.
3670
7a845b2c
JM
3671 [BZ #14283]
3672 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
3673 by 7 not 8 to examine high bit of fractional part. Use volatile
3674 variables when splitting into final array of floats if
3675 __FLT_EVAL_METHOD__ != 0.
3676 * math/libm-test.inc (cos_test): Add another test.
3677 (sin_test): Likewise.
3678 * sysdeps/i386/fpu/libm-test-ulps: Update.
3679
e2283f38
JM
3680 [BZ #14273]
3681 * math/libm-test.inc (cosh_test): Add more tests.
3682
370ca3d2
JM
3683 * version.h (RELEASE): Set to "development".
3684 (VERSION): Set to "2.16.90".
3685
ee9247c3
CD
36862012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
3687
3688 * NEWS: Update copyright. Remove last-updated date.
3689 Mention math library bug fixes and timezone data changes.
3690 * README: Mention GNU/Hurd, x32, and HPPA support status.
3691
4648c381
TS
36922012-06-28 Thomas Schwinge <thomas@codesourcery.com>
3693
3694 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
3695
aac78a43
AJ
36962012-06-27 Andreas Jaeger <aj@suse.de>
3697
3698 * manual/contrib.texi (Contributors): Add Samuel Thibault.
3699
ed3dbfad
AJ
37002012-06-25 Andreas Jaeger <aj@suse.de>
3701
3702 * sysdeps/s390/fpu/libm-test-ulps: Update.
3703
4d0ee855
AS
37042012-06-23 Andreas Schwab <schwab@linux-m68k.org>
3705 Thomas Schwinge <thomas@codesourcery.com>
3706
3707 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
3708 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
3709 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
3710 fanotify_mark.
3711
af1bce34
TS
37122012-06-23 Thomas Schwinge <thomas@codesourcery.com>
3713
a9fa33ba
TS
3714 * sysdeps/mach/start.c: Remove file.
3715 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
3716 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
3717 * sysdeps/sh/init-first.c: Likewise.
3718
58f902b8
TS
3719 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
3720 registers for frame unwinding purposes, add CFI directives.
3721 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3722 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
3723 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
3724 Likewise.
3725
1518f58b
TS
3726 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
3727 __fortify_fail returning.
3728 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3729
db9b5059
TS
3730 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
3731 sysdeps/sh/____longjmp_chk.S.
3732 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
3733 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
3734 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
3735 (gen-as-const-headers): Append sigaltstack-offsets.sym.
3736
967705fe
TS
3737 * sysdeps/sh/abort-instr.h: New file.
3738 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
3739 process in case exit returns.
3740
a9def8c4
TS
3741 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
3742 initialize the GOT register before use.
3743
2a649725
TS
3744 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
3745 calculation of ARGC > 4.
3746
af1bce34
TS
3747 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
3748 meaningful names to some local labels.
3749
d230f50a
KK
37502012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3751 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3752
3753 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
3754 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
3755 (__arch_compare_and_exchange_val_16_acq): Likewise.
3756 (__arch_compare_and_exchange_val_32_acq): Likewise.
3757 (atomic_exchange_and_add): Fix gUSA sequence.
3758 (atomic_add): Likewise.
3759 (atomic_add_negative): Likewise.
3760 (atomic_add_zero): Likewise.
3761 (atomic_bit_test_set): Likewise.
3762
0479b305
AS
37632012-06-22 Andreas Schwab <schwab@redhat.com>
3764
3765 [BZ #13579]
3766 * include/link.h (struct link_map): Add l_free_initfini.
3767 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
3768 l_initfini.
3769 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
3770 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
3771 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
3772 set.
3773
0e3933b9
CD
37742012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
3775
3776 * configure.in: Use AC_LANG_SOURCE.
3777 * configure: Regenerate.
3778
4248b1b1
RM
37792012-06-22 Roland McGrath <roland@hack.frob.com>
3780
3781 * configure.in (libc_cv_localstatedir): New substituted variable.
3782 * configure: Regenerated.
3783 * config.make.in (localstatedir): New variable, substituted from
3784 libc_cv_localstatedir.
3785 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
3786 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
3787 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
3788 * sysdeps/gnu/configure: Regenerated.
3789
006dd861
JL
37902012-06-21 Jeff Law <law@redhat.com>
3791
3792 [BZ #14277]
3793 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
3794 free. Simplify list management for _LIBC case.
3795
79662d42
JM
37962012-06-21 Joseph Myers <joseph@codesourcery.com>
3797
b7abb4bf
JM
3798 [BZ #14273]
3799 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
3800 Clear sign bit of 64-bit integer value before comparing against
3801 overflow value.
3802
79662d42
JM
3803 * sysdeps/mach/configure: Regenerated.
3804
1f150908
L
38052012-06-21 H.J. Lu <hongjiu.lu@intel.com>
3806
3807 [BZ #14278]
3808 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
3809
28363bbf
JL
38102012-06-21 Jeff Law <law@redhat.com>
3811
3812 [BZ #13882]
3813 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
3814 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 3815 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
3816 * elf/dl-open.c (dl_open_worker): Likewise.
3817
09615db4
CD
38182012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
3819
3820 * scripts/list-sources.sh: Scan PORTS for translations.
3821 * po/libc.pot: Regenerated.
3822
2174c6dd
AJ
38232012-06-21 Andreas Jaeger <aj@suse.de>
3824
3825 [BZ #12194]
3826 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
3827 warning.
3828 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
3829 * bits/byteswap-16.h (__bswap_16): Likewise.
3830 * bits/byteswap.h (__bswap_constant_16): Likewise.
3831
3ee947b1
L
38322012-06-18 H.J. Lu <hongjiu.lu@intel.com>
3833
3834 [BZ #14117]
a2f34833
L
3835 * sysdeps/i386/fpu_control.h: Removed.
3836 * sysdeps/x86_64/fpu_control.h: Moved to ...
3837 * sysdeps/x86/fpu_control.h: Here.
3838
3ee947b1
L
3839 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
3840 (_FPU_SETCW): Likewise.
3841
ed1825f8
L
38422012-06-15 H.J. Lu <hongjiu.lu@intel.com>
3843
25f1282a
L
3844 [BZ #14117]
3845 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
3846 * sysdeps/x86/fpu/bits/mathinline.h: This.
3847 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
3848
ed1825f8
L
3849 [BZ #14050]
3850 [BZ #14117]
3851 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
3852 functions if __x86_64__ is defined.
3853
36d54b74
CLT
38542012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
3855
3856 * string/endian.h: Add !__ASSEMBLER__ condition for including
3857 conversion interfaces.
3858
10285c21
JM
38592012-06-15 Joseph Myers <joseph@codesourcery.com>
3860
3861 [BZ #14241]
3862 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
3863 of ABS(x) in calculating zero to negative powers other than odd
3864 integers.
3865 * math/libm-test.inc (pow_test): Add more tests.
3866
06c5abbd
AJ
38672012-06-15 Andreas Jaeger <aj@suse.de>
3868
3869 * manual/contrib.texi (Contributors): Update entry of Liubov
3870 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
3871 Machado Filho.
3872
a3aeac40
CH
38732012-06-15 Cyril Hrubis <metan@ucw.cz>
3874
3875 * string/string.h: Add __wur to GNU version of strerror_r.
3876
49bdf4c1
L
38772012-06-14 H.J. Lu <hongjiu.lu@intel.com>
3878
3879 [BZ #14229]
3880 * string/Makefile (tests): Add tst-strtok_r.
3881 * string/tst-strtok_r.c: New file.
3882 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
3883 RAX_LP/RDX_LP on SAVE_PTR.
3884
834f9b8d
RM
38852012-06-14 Roland McGrath <roland@hack.frob.com>
3886
3887 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
3888
75fa1921
JM
38892012-06-14 Joseph Myers <joseph@codesourcery.com>
3890
3891 * libm_test.inc (csqrt_test): Allow more spurious underflow
3892 exceptions.
3893 (j0_test): Likewise.
3894 (j1_test): Likewise.
3895 (y0_test): Likewise.
3896 (y1_test): Likewise.
3897
771766df
CD
38982012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
3899
3900 * po/Makefile (libc.pot): Use UTF-8 charset.
3901
ceb9e56b
PP
39022012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
3903
3904 [BZ #14210]
3905 Suppress sign-conversion warning from FD_SET.
3906 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
3907 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
3908 not unsigned long int.
3909 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
3910
ddb28975
L
39112012-06-12 H.J. Lu <hongjiu.lu@intel.com>
3912
3913 [BZ #14050]
3914 [BZ #14117]
3915 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
3916 __extern_always_inline instead of __extern_inline.
3917 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
3918 (__signbit): Likewise.
3919 (__signbitl): Support C++ namespace.
3920 (lrintf): New inline function.
3921 (lrint): Likewise.
3922 (llrintf): Likewise.
3923 (llrint): Likewise.
3924 (fmaxf): Likewise.
3925 (fmax): Likewise.
3926 (fminf): Likewise.
3927 (fmin): Likewise.
3928 (rint): Likewise.
3929 (rintf): Likewise.
3930 (ceil): Likewise.
3931 (ceilf): Likewise.
3932 (floor): Likewise.
3933 (floorf): Likewise.
3934 (nearbyint): Likewise.
3935 (nearbyintf): Likewise.
3936
d7b4fb26
TS
39372012-06-12 Thomas Schwinge <thomas@codesourcery.com>
3938
3939 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
3940 non-default versions.
3941
eb55f5c2
RM
39422012-06-11 Roland McGrath <roland@hack.frob.com>
3943
3944 [BZ #14218]
3945 * manual/argp.texi (Argp): Reword argp_parse description slightly.
3946
366af02c
TS
39472012-06-09 Thomas Schwinge <thomas@codesourcery.com>
3948
99ff6e5c
TS
3949 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
3950 (FE_UPWARD, FE_DOWNWARD): Don't define.
3951 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
3952 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3953
366af02c
TS
3954 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
3955 reading it.
3956 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3957 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3958
793ea851
KK
39592012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3960
3961 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3962 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
3963 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
3964 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
3965
a728a38f
L
39662012-06-06 H.J. Lu <hongjiu.lu@intel.com>
3967
3968 [BZ #14117]
c08010c7
L
3969 * sysdeps/i386/fpu/bits/fenv.h: Removed.
3970 * sysdeps/i386/fpu/Implies: New file.
3971 * sysdeps/x86_64/fpu/Implies: Likewise.
3972 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
3973 * sysdeps/x86/fpu/bits/fenv.h: This.
3974
a728a38f
L
3975 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
3976 __SSE_MATH__.
3977
6e230d11
SP
39782012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3979
3980 [BZ #14134]
3981 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
3982 character 0xffff that matches the last element of the
3983 conversion table.
3984
1b671feb
AZ
39852012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3986
3987 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
3988 fmodl commit.
3989
6043738b
AZ
39902012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3991
3992 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
3993 values higher than 25.6283.
3994
34ae0b32
AZ
39952012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3996
3997 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
3998 subnormal exponent extraction and add some __builtin_expect.
3999 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
4000 Fix for subnormal mantissa calculation.
4001
1214ec8f
MF
40022012-06-04 Mike Frysinger <vapier@gentoo.org>
4003
4004 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
4005 cpu2 is -1 and errno is not ENOSYS.
4006
f3d1f93c
L
40072012-06-04 H.J. Lu <hongjiu.lu@intel.com>
4008
4009 [BZ #14117]
0e4a3cd7
L
4010 * sysdeps/i386/i486/bits/string.h: Renamed to ...
4011 * sysdeps/x86/bits/string.h: This.
4012 * sysdeps/x86_64/bits/string.h: Removed.
4013
6704c645
L
4014 * sysdeps/i386/i486/bits/string.h: Define inline functions only
4015 if not compiling for x86-64, but compiling for >= i486.
4016
48495318
L
4017 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
4018 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
4019
14adcbfc
L
4020 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
4021 New macro from Linux kernel 3.4.0.
4022 (FP_XSTATE_MAGIC2): Likewise.
4023 (FP_XSTATE_MAGIC2_SIZE): Likewise.
4024 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
4025 (struct _fpx_sw_bytes): New struct.
4026 (struct _xsave_hdr): Likewise.
4027 (struct _ymmh_state): Likewise.
4028 (struct _xstate): Likewise.
4029
68e408ab
L
4030 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
4031 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
4032 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
4033 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
4034 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
4035 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
4036
f3d1f93c
L
4037 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
4038 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
4039 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
4040 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
4041 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
4042 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
4043
d9dc34cd
TMQMF
40442012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4045
4046 [BZ #13743]
4047 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
4048 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
4049 (sysdep_headers): Include sys/platform/ppc.h.
4050 * sysdeps/powerpc/test-gettimebase.c: Test for
4051 __ppc_get_timebase() to catch future ISA opcode/insn changes.
4052 * manual/Makefile (appendices): Include platform.texi.
4053 * manual/contrib.texi (Contributors): Update @node pointers.
4054 * manual/maint.texi (Maintenance): Likewise.
4055 (Platform): New node.
4056 * manual/platform.texi: New file. Document the new features.
4057
4af3879c
SP
40582012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4059 Jakub Jelinek <jakub@redhat.com>
4060
4061 [BZ #14188]
4062 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
4063 where __builtin_expect is unavailable.
4064
2fd6ff13
DM
40652012-06-03 David S. Miller <davem@davemloft.net>
4066
4067 * stdlib/longlong.h: Updated from GCC.
4068
173f7220
AS
40692012-06-02 Andreas Schwab <schwab@linux-m68k.org>
4070
4071 [BZ #14042]
4072 * sysdeps/powerpc/powerpc32/mcount.c: New file.
4073 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
4074 __mcount_internal.
4075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4076 (GLIBC_2.16): Likewise.
4077
f34a1c6f
L
40782012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4079
4080 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
4081
88a4576f
JM
40822012-06-01 Joseph Myers <joseph@codesourcery.com>
4083
ea32bcdd
JM
4084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
4085 (default-abi): New variable.
4086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
4087 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
4088 variable.
4089 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
4090 Likewise.
4091 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
4092 Likewise.
4093 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
4094 Likewise.
4095
88a4576f
JM
4096 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
4097 definition. Document in comment.
4098
402fe938
DM
40992012-06-01 David S. Miller <davem@davemloft.net>
4100
4101 * stdlib/longlong.h: Updated from GCC.
4102
3553723f
L
41032012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4104
4105 [BZ #14117]
3bd872c4
L
4106 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
4107 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
4108 sys/debugreg.h sys/io.h here.
4109 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
4110 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
4111 sys/io.h.
4112 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
4113 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
4114 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
4115 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
4116 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
4117 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
4118
3553723f
L
4119 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
4120 Define only if __x86_64__ is defined.
4121
4842e4fe
JM
41222012-06-01 Joseph Myers <joseph@codesourcery.com>
4123
c5bfe3d5
JM
4124 [BZ #14048]
4125 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
4126 Use int64_t for variable i.
4127 * math/libm-test.inc (fmod_test): Add more tests.
4128
4842e4fe
JM
4129 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
4130 z computation is not scheduled after fetestexcept.
4131 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
4132 Use math_force_eval instead of asm to ensure calculation scheduled
4133 before exception test.
4134 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
4135 Ensure a1 + u.d computation is not scheduled after fetestexcept.
4136
efb73488
AJ
41372012-06-01 Aurelien Jarno <aurelien@aurel32.net>
4138
4139 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
4140 computation is not scheduled after fetestexcept.
4141
29bcce7c
L
41422012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4143
4144 [BZ #14117]
4145 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
4146 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
4147
73a68f94
AZ
41482012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4149
4150 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
4151 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4152
67b6df78
L
41532012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4154
edf2933a 4155 [BZ #14117]
ebc64a18
L
4156 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
4157 <bits/wordsize.h>.
4158 (__WCHAR_MIN): Support __WORDSIZE == 64.
4159 (__WCHAR_MAX): Likewise.
4160
edf2933a
L
4161 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
4162 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
4163
57c6cf40
L
4164 [BZ #14183]
4165 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
4166 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
4167
67b6df78 4168 [BZ #14117]
8eb6281e
L
4169 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
4170 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
4171
aac639f4
L
4172 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
4173 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
4174
67b6df78
L
4175 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
4176 Defined to 1 if __x86_64__ isn't defined.
4177 (_STAT_VER_LINUX_OLD): New.
4178 (st_atime): Remove duplicate.
4179 (st_mtime): Likewise.
4180 (st_ctime): Likewise.
4181
1c2cfe81
DM
41822012-05-31 David S. Miller <davem@davemloft.net>
4183
4184 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
4185 entries.
4186
5be8418c
AS
41872012-06-01 Andreas Schwab <schwab@linux-m68k.org>
4188
e7725326
AS
4189 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
4190 gen-libm-test.pl.
4191
5be8418c
AS
4192 [BZ #14132]
4193 * elf/dl-reloc.c: Include <_itoa.h>.
4194 (_dl_reloc_bad_type): Remove use of INTUSE.
4195 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
4196 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
4197 * stdio-common/psiginfo.c (psiginfo): Likewise.
4198 * stdio-common/psignal.c (psignal): Likewise.
4199 * string/strsignal.c (strsignal): Likewise.
4200 * include/signal.h (_sys_siglist): Declare hidden proto.
4201 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
4202 INTVARDEF with libc_hidden_data_def.
4203 * stdio-common/itoa-udigits.c: Likewise.
4204 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
4205 (_itoa_lower_digits_internal): Remove declaration.
4206 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
4207 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
4208 (_sys_sigabbrev_internal): Remove aliases.
4209 (_sys_siglist): Define hidden alias.
4210
507352f1
MT
42112012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
4212
4213 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4214 bits/sysctl.h.
4215
42bbb1c3
L
42162012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4217
4218 [BZ #14117]
6bd784b6
L
4219 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
4220 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
4221
8bca20f0
L
4222 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
4223 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
4224 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
4225 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
4226 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
4227 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
4228
f9e890a9
L
4229 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
4230 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
4231 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
4232
471101a1
L
4233 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
4234 with __addr.
4235 (insw): Likewise.
4236 (insl): Likewise.
4237 (outsb): Likewise.
4238 (outsw): Likewise.
4239 (outsl): Likewise.
4240
6451c862
L
4241 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
4242 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
4243 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
4244
a254b8c9
L
4245 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
4246 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
4247 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
4248 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
4249 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
4250 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
4251
b8dfdd92
L
4252 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
4253 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
4254
578cd270
L
4255 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
4256 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
4257
de662f5f
L
4258 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
4259 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
4260 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
4261
25653439
L
4262 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
4263 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
4264 to ...
4265 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
4266
6bad24a0
L
4267 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
4268 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
4269 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
4270
42bbb1c3
L
4271 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
4272 for x86-64.
4273 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
4274
2d10d547
JM
42752012-05-31 Joseph Myers <joseph@codesourcery.com>
4276
4277 * math/math.h (M_El): Use two more decimal places.
4278 (M_LOG2El): Likewise.
4279 (M_LOG10El): Likewise.
4280 (M_LN2l): Likewise.
4281 (M_LN10l): Likewise.
4282 (M_PIl): Likewise.
4283 (M_PI_2l): Likewise.
4284 (M_PI_4l): Likewise.
4285 (M_1_PIl): Likewise.
4286 (M_2_PIl): Likewise.
4287 (M_2_SQRTPIl): Likewise.
4288 (M_SQRT2l): Likewise.
4289 (M_SQRT1_2l): Likewise.
4290
f230c29b
DM
42912012-05-31 David S. Miller <davem@davemloft.net>
4292
4293 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
4294 values between float registers.
4295 * sysdeps/sparc/sparc64/memset.S: Likewise.
4296 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4297
fed806c3
MF
42982012-05-31 Mike Frysinger <vapier@gentoo.org>
4299
4300 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
4301 -D_FORTIFY_SOURCE=1.
4302 (CPPFLAGS-tst-longjmp_chk.c): Define.
4303 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
4304 (CPPFLAGS-tst-longjmp_chk2.c): Define.
4305 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
4306 CFLAGS-tst-wchar-h.c.
4307
30917259
MP
43082012-05-31 Marek Polacek <polacek@redhat.com>
4309
4310 [BZ #14132]
4311 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
4312 __endmntent_internal): Remove declaration.
4313 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
4314 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
4315 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
4316
1c58d5dc
DM
43172012-05-30 David S. Miller <davem@davemloft.net>
4318
4319 * sysdeps/sparc/sparc32/soft-fp/q_util.c
4320 (___Q_simulate_exceptions): Use real FP ops rather than writing
4321 into the %fsr.
4322 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
4323 Likewise.
4324
7dc00e0d
L
43252012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4326
4327 [BZ #14117]
0bd53985
L
4328 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
4329 * sysdeps/x86/bits/xtitypes.h: This.
4330
3a257e66
L
4331 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
4332 * sysdeps/x86/bits/wordsize.h: This.
4333
62f62904
L
4334 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
4335 * sysdeps/x86/bits/huge_vall.h: This.
4336
404fe9d9
L
4337 * sysdeps/i386/bits/select.h: Removed.
4338 * sysdeps/x86_64/bits/select.h: Renamed to ...
4339 * sysdeps/x86/bits/select.h: This.
4340
d48d0446
L
4341 * sysdeps/i386/bits/setjmp.h: Removed.
4342 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
4343 * sysdeps/x86/bits/setjmp.h: This.
4344
7dc00e0d
L
4345 * sysdeps/i386/bits/mathdef.h: Removed.
4346 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
4347 * sysdeps/x86/bits/mathdef.h: This.
4348
03277f8f
AS
43492012-05-30 Andreas Schwab <schwab@linux-m68k.org>
4350
4351 [BZ #14132]
4352 * include/sys/socket.h (__connect_internal)
4353 (__libc_sa_len_internal): Remove declaration.
4354 (__connect, __libc_sa_len): Declare hidden_proto.
4355 (SA_LEN): Remove use of INTUSE.
4356 * socket/connect.c: Add libc_hidden_def.
4357 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
4358 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
4359 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
4360 alias.
4361 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4362 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4363 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
4364 of adding _internal alias.
4365
13764867
L
43662012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4367
4368 [BZ #14117]
6bd97696
L
4369 * sysdeps/i386/bits/link.h: Removed.
4370 * sysdeps/i386/bits/linkmap.h: Likewise.
4371 * sysdeps/x86_64/bits/link.h: Renamed to ...
4372 * sysdeps/x86/bits/link.h: This.
4373 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
4374 * sysdeps/x86/bits/linkmap.h: This.
4375
f726f0bb
L
4376 * sysdeps/i386/bits/endian.h: Removed.
4377 * sysdeps/x86_64/bits/endian.h: Renamed to ...
4378 * sysdeps/x86/bits/endian.h: This.
4379
13764867
L
4380 * sysdeps/i386/bits/byteswap.h: Removed.
4381 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4382 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
4383 * sysdeps/x86/bits/byteswap.h: This.
4384 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
4385 * sysdeps/x86/bits/byteswap-16.h: This.
4386 * sysdeps/i386/Implies: Add x86.
4387 * sysdeps/x86_64/Implies: Likewise.
4388
ae251b0b
DM
43892012-05-30 David S. Miller <davem@davemloft.net>
4390
4391 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
4392 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
4393 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4394 (FP_TRAPPING_EXCEPTIONS): Define.
4395 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4396 (FP_TRAPPING_EXCEPTIONS): Define.
4397 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
4398 subnormals only when inexact has been signalled or underflow
4399 exceptions are enabled.
4400 (_FP_PACK_CANONICAL): Likewise.
4401
d5c90867
L
44022012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4403
4404 [BZ #14183]
4405 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
4406 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
4407
63f1549e
RH
44082012-05-30 Richard Henderson <rth@twiddle.net>
4409
8d8f2279
RH
4410 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
4411 with #ifndef NOT_IN_libc.
4412
63f1549e
RH
4413 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
4414 marked to avoid plt entry.
4415
0ab0291b
L
44162012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4417
4418 [BZ #14112]
4419 * Makeconfig (default-abi): New macro.
4420 (abi-includes): Likewise.
4421 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
4422 $(abi-$(default-abi)-lib-soname) for soname if defined.
4423 ($(common-objpfx)gnu/lib-names.stmp): Generate from
4424 abi-variants.
4425 * Makefile (installed-stubs): Likewise.
4426 * include/stubs-biarch.h: Removed.
4427 * scripts/lib-names.awk: Only handle one library at a time.
4428 * scripts/soversions.awk: Remove WORDSIZE support.
4429 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
4430 entries.
4431 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
4432 Removed.
4433 (syscall-list-default-condition): Likewise.
4434 (syscall-list-default-condition): Likewise.
4435 (syscall-list-includes): Likewise.
4436 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
4437 syscall-list-* with abi-*. Handle undefined abi-variants.
4438 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
4439 * sysdeps/unix/sysv/linux/i386/Implies: New file.
4440 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
4441 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
4442 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
4443 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
4444 Removed.
4445 (syscall-list-32-options): Likewise.
4446 (syscall-list-32-condition): Likewise.
4447 (syscall-list-64-options): Likewise.
4448 (syscall-list-64-condition): Likewise.
4449 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
4450 macro.
4451 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
4452 Renamed to ...
4453 (abi-*): This.
4454 (abi-64-ld-soname): New macro.
4455 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
4456 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
4457 Renamed to ...
4458 (abi-*): This.
4459 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
4460 * sysdeps/x86_64/x32/shlib-versions: Likewise.
4461
4da0431d
JM
44622012-05-30 Joseph Myers <joseph@codesourcery.com>
4463
3a85279c
JM
4464 * sysdeps/unix/sysv/linux/kernel-features.h
4465 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
4466 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
4467 include <kernel-features.h>.
4468 [!__NR_ftruncate64]: Remove conditional code.
4469 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4470 [__NR_ftruncate64]: Make code unconditional.
4471 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4472 * sysdeps/unix/sysv/linux/truncate64.c: Do not
4473 include <kernel-features.h>.
4474 [!__NR_ftruncate64]: Remove conditional code.
4475 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4476 [__NR_ftruncate64]: Make code unconditional.
4477 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
4479 include <kernel-features.h>.
4480 [!__NR_ftruncate64]: Remove conditional code.
4481 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4482 [__NR_ftruncate64]: Make code unconditional.
4483 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
4485 include <kernel-features.h>.
4486 [!__NR_ftruncate64]: Remove conditional code.
4487 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4488 [__NR_ftruncate64]: Make code unconditional.
4489 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4490
4da0431d
JM
4491 * configure.in (libc_cv_fpie): Weaken to a compile test using
4492 LIBC_TRY_CC_OPTION.
4493 * configure: Regenerated.
4494
11ef492c
AK
44952012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4496
4497 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
4498 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
4499 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
4500 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4501 Refreshed.
4502 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
4503 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
4504 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
4505 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
4506 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
4507 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4508 Refreshed.
4509
d66ef399
DM
45102012-05-27 David S. Miller <davem@davemloft.net>
4511
4512 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
4513 (___Q_zero): New.
4514 (__Q_simulate_exceptions): Return void. Change to simulate
4515 exceptions by writing into the %fsr.
4516 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
4517 (__Qp_handle_exceptions): Likewise.
4518 (numbers): Delete.
4519 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
4520 __Qp_handle_exceptions.
4521 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
4522 __Qp_handle_exceptions.
4523 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4524 as unused and give dummy FP_RND_NEAREST initializer.
4525 (FP_INHIBIT_RESULTS): Define.
4526 (___Q_simulate_exceptions): Update declaration.
4527 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
4528 formatting.
4529 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4530 as unused and give dummy FP_RND_NEAREST initializer.
4531 (__Qp_handle_exceptions): Update declaration.
4532 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
4533 formatting.
4534
04fb54b5
TS
45352012-05-27 Thomas Schwinge <thomas@codesourcery.com>
4536
4537 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
4538 the temporary FPU control word.
4539 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4540 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
4541 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
4542 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4543 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4544 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
4545 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
4546 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4547 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4548 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
4549 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4550
3f99608f
KK
45512012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4552
4553 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
4554 fields.
4555
65a4de4e
CLT
45562012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
4557
4558 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
4559 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
4560 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
4561 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
4562 Likewise.
4563 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
4564 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
4565 Likewise.
4566
15749d40
UD
45672012-05-27 Ulrich Drepper <drepper@gmail.com>
4568
4569 * po/h.po: Update from translation team.
4570
25dbcb27
AS
45712012-05-26 Andreas Schwab <schwab@linux-m68k.org>
4572
3d3f8e55
AS
4573 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
4574
25dbcb27
AS
4575 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
4576 handling of denormals.
4577 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4578 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4579 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4580 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4581 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4582 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
4583 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
4584 Likewise.
4585
7ad47a80 45862012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
4587
4588 [BZ #14152]
4589 * math/libm-test.inc (fma_test): Don't always expect underflow
4590 exception.
4591
9c6ea9fa
SP
45922012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4593
4594 [BZ #12416]
4595 * elf/tst-execstack.c: Include stackinfo.h.
4596 (do_test): Adjust test case to ensure that pthread_getattr_np
4597 behaviour remains the same after marking stack executable.
4598
a8239222
JM
45992012-05-25 Joseph Myers <joseph@codesourcery.com>
4600
4601 * sysdeps/unix/sysv/linux/kernel-features.h
4602 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
4603 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
4604 kernel-features.h.
4605 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4606 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4607 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
4608 kernel-features.h.
4609 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4610 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4611
918b5606
L
46122012-05-25 H.J. Lu <hongjiu.lu@intel.com>
4613
4614 * configure.in: Define the default includes to being none.
4615 * configure: Regenerated.
4616
3a097cc7
RM
46172012-05-25 Roland McGrath <roland@hack.frob.com>
4618
8422c9a5
RM
4619 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
4620 * sysdeps/x86_64/setjmp.S: Likewise.
4621 * sysdeps/i386/bsd-setjmp.S: Likewise.
4622 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4623 * sysdeps/i386/setjmp.S: Likewise.
4624 * sysdeps/i386/__longjmp.S: Likewise.
4625 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4626 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
4627
3a097cc7
RM
4628 * include/stap-probe.h: New file.
4629 * configure.in: Handle --enable-systemtap.
4630 * configure: Regenerated.
4631 * config.h.in (USE_STAP_PROBE): New #undef.
4632 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
4633 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
4634 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4635
21708942
JM
46362012-05-25 Joseph Myers <joseph@codesourcery.com>
4637
4638 [BZ #13717]
4639 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4640 to 2.4.0 where earlier.
4641 * sysdeps/unix/sysv/linux/configure: Regenerated.
4642 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
4643 <kernel-features.h>.
4644 [__ASSUME_32BITUIDS]: Make code unconditional.
4645 [!__ASSUME_32BITUIDS]: Remove conditional code.
4646 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
4647 <kernel-features.h>.
4648 [__ASSUME_32BITUIDS]: Make code unconditional.
4649 [!__ASSUME_32BITUIDS]: Remove conditional code.
4650 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
4651 [__ASSUME_32BITUIDS]: Make code unconditional.
4652 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
4653 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
4654 <kernel-features.h>.
4655 [__ASSUME_32BITUIDS]: Make code unconditional.
4656 [!__ASSUME_32BITUIDS]: Remove conditional code.
4657 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
4658 <kernel-features.h>.
4659 [__ASSUME_32BITUIDS]: Make code unconditional.
4660 [!__ASSUME_32BITUIDS]: Remove conditional code.
4661 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
4662 <kernel-features.h>.
4663 [__ASSUME_32BITUIDS]: Make code unconditional.
4664 [!__ASSUME_32BITUIDS]: Remove conditional code.
4665 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
4666 <kernel-features.h>.
4667 [__ASSUME_32BITUIDS]: Make code unconditional.
4668 [!__ASSUME_32BITUIDS]: Remove conditional code.
4669 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
4670 <kernel-features.h>.
4671 [__ASSUME_32BITUIDS]: Make code unconditional.
4672 [!__ASSUME_32BITUIDS]: Remove conditional code.
4673 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
4674 <kernel-features.h>.
4675 [__ASSUME_32BITUIDS]: Make code unconditional.
4676 [!__ASSUME_32BITUIDS]: Remove conditional code.
4677 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
4678 <kernel-features.h>.
4679 [__ASSUME_32BITUIDS]: Make code unconditional.
4680 [!__ASSUME_32BITUIDS]: Remove conditional code.
4681 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
4682 <kernel-features.h>.
4683 [__ASSUME_32BITUIDS]: Make code unconditional.
4684 [!__ASSUME_32BITUIDS]: Remove conditional code.
4685 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
4686 <kernel-features.h>.
4687 [__ASSUME_32BITUIDS]: Make code unconditional.
4688 [!__ASSUME_32BITUIDS]: Remove conditional code.
4689 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
4690 <kernel-features.h>.
4691 [__ASSUME_32BITUIDS]: Make code unconditional.
4692 [!__ASSUME_32BITUIDS]: Remove conditional code.
4693 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
4694 <kernel-features.h>.
4695 [__NR_setresgid] (__setresgid): Do not declare.
4696 [__ASSUME_32BITUIDS]: Make code unconditional.
4697 [!__ASSUME_32BITUIDS]: Remove conditional code.
4698 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
4699 <kernel-features.h>.
4700 [__NR_setresuid] (__setresuid): Do not declare.
4701 [__ASSUME_32BITUIDS]: Make code unconditional.
4702 [!__ASSUME_32BITUIDS]: Remove conditional code.
4703 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
4704 <kernel-features.h>.
4705 [__ASSUME_32BITUIDS]: Make code unconditional.
4706 [!__ASSUME_32BITUIDS]: Remove conditional code.
4707 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
4708 <kernel-features.h>.
4709 [__ASSUME_32BITUIDS]: Make code unconditional.
4710 [!__ASSUME_32BITUIDS]: Remove conditional code.
4711 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
4712 <kernel-features.h>.
4713 [__ASSUME_32BITUIDS]: Make code unconditional.
4714 [!__ASSUME_32BITUIDS]: Remove conditional code.
4715 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
4716 <kernel-features.h>.
4717 [__ASSUME_32BITUIDS]: Make code unconditional.
4718 [!__ASSUME_32BITUIDS]: Remove conditional code.
4719 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
4720 <kernel-features.h>.
4721 [__ASSUME_32BITUIDS]: Make code unconditional.
4722 [!__ASSUME_32BITUIDS]: Remove conditional code.
4723 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
4724 <kernel-features.h>.
4725 [__ASSUME_32BITUIDS]: Make code unconditional.
4726 [!__ASSUME_32BITUIDS]: Remove conditional code.
4727 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
4728 <kernel-features.h>.
4729 [__ASSUME_32BITUIDS]: Make code unconditional.
4730 [!__ASSUME_32BITUIDS]: Remove conditional code.
4731 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
4732 <kernel-features.h>.
4733 [__ASSUME_32BITUIDS]: Make code unconditional.
4734 [!__ASSUME_32BITUIDS]: Remove conditional code.
4735 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
4736 <kernel-features.h>.
4737 [__ASSUME_32BITUIDS]: Make code unconditional.
4738 [!__ASSUME_32BITUIDS]: Remove conditional code.
4739 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
4740 <kernel-features.h>.
4741 [__ASSUME_32BITUIDS]: Make code unconditional.
4742 [!__ASSUME_32BITUIDS]: Remove conditional code.
4743 * sysdeps/unix/sysv/linux/kernel-features.h
4744 (__ASSUME_SETRESUID_SYSCALL): Remove.
4745 (__ASSUME_SETRESGID_SYSCALL): Likewise.
4746 (__ASSUME_32BITUIDS): Likewise.
4747 (__ASSUME_LDT_WORKS): Likewise.
4748 (__ASSUME_O_DIRECTORY): Likewise.
4749 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
4750 architecture but not kernel version.
4751 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4752 (__ASSUME_MMAP2_SYSCALL): Likewise.
4753 (__ASSUME_STAT64_SYSCALL): Likewise.
4754 (__ASSUME_IPC64): Likewise.
4755 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
4756 <kernel-features.h>.
4757 [__ASSUME_32BITUIDS]: Make code unconditional.
4758 [!__ASSUME_32BITUIDS]: Remove conditional code.
4759 * sysdeps/unix/sysv/linux/opendir.c: Do not include
4760 <kernel-features.h>.
4761 [__ASSUME_O_DIRECTORY]: Make code unconditional.
4762 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
4763 132096]: Remove conditional code.
4764 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
4765 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
4766 <kernel-features.h>.
4767 [__ASSUME_32BITUIDS]: Make code unconditional.
4768 [!__ASSUME_32BITUIDS]: Remove conditional code.
4769 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
4770 <kernel-features.h>.
4771 [__ASSUME_32BITUIDS]: Make code unconditional.
4772 [!__ASSUME_32BITUIDS]: Remove conditional code.
4773 * sysdeps/unix/sysv/linux/setegid.c: Do not include
4774 <kernel-features.h>.
4775 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
4776 unconditional.
4777 (__setresgid): Do not declare.
4778 [__ASSUME_32BITUIDS]: Make code unconditional.
4779 [!__ASSUME_32BITUIDS]: Remove conditional code.
4780 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
4781 <kernel-features.h>.
4782 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
4783 unconditional.
4784 (__setresuid): Do not declare.
4785 [__ASSUME_32BITUIDS]: Make code unconditional.
4786 [!__ASSUME_32BITUIDS]: Remove conditional code.
4787 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
4788 <kernel-features.h>.
4789 [__ASSUME_32BITUIDS]: Make code unconditional.
4790 [!__ASSUME_32BITUIDS]: Remove conditional code.
4791 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
4792 <kernel-features.h>.
4793 [__ASSUME_32BITUIDS]: Make code unconditional.
4794 [!__ASSUME_32BITUIDS]: Remove conditional code.
4795
a386f1cc
RH
47962012-05-25 Richard Henderson <rth@twiddle.net>
4797
4798 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
4799 dl_hwcap to ifunc resolver.
4800 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
4801 elf_ifunc_invoke.
4802 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
4803 dl_hwcap to ifunc resolver.
4804 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
4805
b6550497
JM
48062012-05-24 Joseph Myers <joseph@codesourcery.com>
4807
4808 [BZ #14153]
4809 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
4810 for |x| <= 2**-26, not 2**-57.
4811 * math/libm-test.inc (acos_test): Do not allow spurious underflow
4812 exception.
4813
b0bc23a1
JL
48142012-05-24 Jeff Law <law@redhat.com>
4815
4816 * stdio-common/Makefile (tests): Add bug25.
4817 * stdio-common/bug25.c: New test.
4818
347c92e9
L
48192012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4820
4821 [BZ #13576]
4822 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
4823 multiple of MALLOC_ALIGNMENT in size.
4824 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
4825
6bcc8b3f
JM
48262012-05-24 Joseph Myers <joseph@codesourcery.com>
4827
4828 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
4829 Require >= 256.
4830 (FILENAME_MAX): Use macro-int-constant.
4831 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
4832 (_IOFBF): Use macro-int-constant.
4833 (_IOLBF): Likewise.
4834 (_IONBF): Likewise.
4835 (SEEK_CUR): Likewise.
4836 (SEEK_END): Likewise.
4837 (SEEK_SET): Likewise.
4838 (TMP_MAX): Likewise.
4839 (EOF): Use macro-int-constant. Require < 0.
4840 (NULL): Use macro-constant. Require == 0.
4841 (stdin): Require type to be FILE *.
4842 (stdout): Likewise.
4843 (stderr): Likewise.
4844 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
4845 macro-int-constant.
4846 (EXIT_SUCCESS): Likewise.
4847 (NULL): Use macro-constant. Require == 0.
4848 (RAND_MAX): Use macro-int-constant.
4849 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
4850 [C99-based standards] (strtof): Require function.
4851 [C99-based standards] (strtold): Likewise.
4852 [C99-based standards] (strtoll): Likewise.
4853 [C99-based standards] (strtoull): Likewise.
4854 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
4855 [ISO || ISO99 || ISO11] (limits.h): Likewise.
4856 [ISO || ISO99 || ISO11] (math.h): Likewise.
4857 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
4858 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
4859 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4860
d18ea0c5
AS
48612012-05-24 Andreas Schwab <schwab@linux-m68k.org>
4862
4863 [BZ #14132]
56d25bb8
AS
4864 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
4865 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
4866 * intl/dgettext.c (DCGETTEXT): Likewise.
4867 * intl/gettext.c (DCGETTEXT): Likewise.
4868 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
4869 * posix/regex_internal.h (gettext): Likewise.
4870 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
4871 Remove declaration.
4872 * include/argz.h (__argz_count_internal)
4873 (__argz_stringify_internal): Remove declaration.
4874 (__argz_count, __argz_stringify): Declare hidden proto.
4875 * intl/dcgettext.c: Remove use of INTDEF.
4876 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
4877 * string/argz-stringify.c: Likewise.
4878 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4879 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4880 Declare hidden proto.
d18ea0c5
AS
4881 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4882 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4883 Declare hidden proto.
4884 * include/stdio.h (__asprintf_internal): Don't declare.
4885 (__asprintf): Don't define as macro. Declare hidden proto.
4886 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
4887 (__fsetlocking): Declare hidden proto.
4888 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
4889 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
4890 hidden proto.
4891 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
4892 (_IO_setlinebuf): Remove use of INTUSE.
4893 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
4894 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
4895 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
4896 Remove declaration.
4897 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
4898 (_IO_do_flush): Remove use of INTUSE.
4899 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
4900 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
4901 (_IO_adjust_column, _IO_least_wmarker)
4902 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
4903 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
4904 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
4905 (_IO_default_doallocate, _IO_wdefault_doallocate)
4906 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
4907 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
4908 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
4909 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
4910 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
4911 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
4912 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
4913 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
4914 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
4915 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
4916 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
4917 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
4918 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
4919 proto.
4920 (_IO_flush_all_internal, _IO_adjust_column_internal)
4921 (_IO_default_uflow_internal, _IO_default_finish_internal)
4922 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
4923 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
4924 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
4925 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
4926 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
4927 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
4928 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
4929 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
4930 (_IO_file_close_internal, _IO_file_close_it_internal)
4931 (_IO_file_underflow_internal, _IO_file_overflow_internal)
4932 (_IO_file_init_internal, _IO_file_attach_internal)
4933 (_IO_file_fopen_internal, _IO_file_read_internal)
4934 (_IO_file_sync_internal, _IO_file_seek_internal)
4935 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
4936 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
4937 (_IO_str_underflow_internal, _IO_str_overflow_internal)
4938 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
4939 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
4940 (_IO_list_all_internal, _IO_link_in_internal)
4941 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
4942 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
4943 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
4944 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
4945 (_IO_do_write_internal, _IO_padn_internal)
4946 (_IO_getline_info_internal, _IO_getline_internal)
4947 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
4948 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
4949 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
4950 (_IO_vfscanf_internal, _IO_vfprintf_internal)
4951 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
4952 (_IO_init_internal, _IO_un_link_internal): Don't declare.
4953 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
4954 with libc_hidden_ver, remove use of INTUSE.
4955 * libio/genops.c: Likewise.
4956 * libio/freopen.c: Likewise.
4957 * libio/freopen64.c: Likewise.
4958 * libio/iofclose.c: Likewise.
4959 * libio/iofdopen.c: Likewise.
4960 * libio/iofflush.c: Likewise.
4961 * libio/iofflush_u.c: Likewise.
4962 * libio/iofgets.c: Likewise.
4963 * libio/iofgets_u.c: Likewise.
4964 * libio/iofopen.c: Likewise.
4965 * libio/iofopncook.c: Likewise.
4966 * libio/iofread.c: Likewise.
4967 * libio/iofread_u.c: Likewise.
4968 * libio/ioftell.c: Likewise.
4969 * libio/iofwrite.c: Likewise.
4970 * libio/iogetline.c: Likewise.
4971 * libio/iogets.c: Likewise.
4972 * libio/iogetwline.c: Likewise.
4973 * libio/iopadn.c: Likewise.
4974 * libio/iopopen.c: Likewise.
4975 * libio/ioseekoff.c: Likewise.
4976 * libio/ioseekpos.c: Likewise.
4977 * libio/iosetbuffer.c: Likewise.
4978 * libio/iosetvbuf.c: Likewise.
4979 * libio/ioungetc.c: Likewise.
4980 * libio/ioungetwc.c: Likewise.
4981 * libio/iovdprintf.c: Likewise.
4982 * libio/iovsprintf.c: Likewise.
4983 * libio/iovsscanf.c: Likewise.
4984 * libio/memstream.c: Likewise.
4985 * libio/obprintf.c: Likewise.
4986 * libio/oldfileops.c: Likewise.
4987 * libio/oldiofclose.c: Likewise.
4988 * libio/oldiofdopen.c: Likewise.
4989 * libio/oldiofopen.c: Likewise.
4990 * libio/oldiopopen.c: Likewise.
4991 * libio/oldstdfiles.c: Likewise.
4992 * libio/putc.c: Likewise.
4993 * libio/setbuf.c: Likewise.
4994 * libio/setlinebuf.c: Likewise.
4995 * libio/stdfiles.c: Likewise.
4996 * libio/strops.c: Likewise.
4997 * libio/vasprintf.c: Likewise.
4998 * libio/vscanf.c: Likewise.
4999 * libio/vsnprintf.c: Likewise.
5000 * libio/vswprintf.c: Likewise.
5001 * libio/wfiledoalloc.c: Likewise.
5002 * libio/wfileops.c: Likewise.
5003 * libio/wgenops.c: Likewise.
5004 * libio/wmemstream.c: Likewise.
5005 * libio/wstrops.c: Likewise.
5006 * libio/__fpurge.c: Likewise.
5007 * libio/__fsetlocking.c: Likewise.
5008 * assert/assert.c: Likewise.
5009 * debug/fgets_chk.c: Likewise.
5010 * debug/fgets_u_chk.c: Likewise.
5011 * debug/fread_chk.c: Likewise.
5012 * debug/fread_u_chk.c: Likewise.
5013 * debug/gets_chk.c: Likewise.
5014 * debug/obprintf_chk.c: Likewise.
5015 * debug/vasprintf_chk.c: Likewise.
5016 * debug/vdprintf_chk.c: Likewise.
5017 * debug/vsnprintf_chk.c: Likewise.
5018 * debug/vsprintf_chk.c: Likewise.
5019 * malloc/mtrace.c: Likewise.
5020 * misc/error.c: Likewise.
5021 * misc/syslog.c: Likewise.
5022 * stdio-common/asprintf.c: Likewise.
5023 * stdio-common/fxprintf.c: Likewise.
5024 * stdio-common/getw.c: Likewise.
5025 * stdio-common/isoc99_fscanf.c: Likewise.
5026 * stdio-common/isoc99_scanf.c: Likewise.
5027 * stdio-common/isoc99_vfscanf.c: Likewise.
5028 * stdio-common/isoc99_vscanf.c: Likewise.
5029 * stdio-common/isoc99_vsscanf.c: Likewise.
5030 * stdio-common/printf-prs.c: Likewise.
5031 * stdio-common/printf_fp.c: Likewise.
5032 * stdio-common/printf_fphex.c: Likewise.
5033 * stdio-common/printf_size.c: Likewise.
5034 * stdio-common/putw.c: Likewise.
5035 * stdio-common/scanf.c: Likewise.
5036 * stdio-common/sprintf.c: Likewise.
5037 * stdio-common/tmpfile.c: Likewise.
5038 * stdio-common/vfprintf.c: Likewise.
5039 * stdio-common/vfscanf.c: Likewise.
5040 * stdlib/strfmon_l.c: Likewise.
5041 * sunrpc/openchild.c: Likewise.
5042 * sunrpc/xdr_stdio.c: Likewise.
5043 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
5044 * sysdeps/mach/hurd/tmpfile.c: Likewise.
5045
d6c33fda
RM
50462012-05-24 Roland McGrath <roland@hack.frob.com>
5047
c1487492
RM
5048 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5049
5050 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
5051 in the third column, to generate for the shared library an IFUNC
5052 that uses _dl_vdso_vsym.
5053 * Makerules (COMPILE.c, compile-stdin.c): New variables.
5054 * Makeconfig (object-suffixes-noshared): New variable.
5055
5056 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
5057 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
5058 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
5059 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
5060
d6c33fda
RM
5061 [BZ #14132]
5062 * include/sys/time.h (__gettimeofday): Remove macro.
5063 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
5064 * time/gettimeofday.c (__gettimeofday): Remove #undef.
5065 Remove INTDEF.
5066 (__gettimeofday): Add libc_hidden_def.
5067 (gettimeofday): Add libc_hidden_weak.
5068 * sysdeps/mach/gettimeofday.c: Likewise.
5069 * sysdeps/posix/gettimeofday.c: Likewise.
5070 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
5071 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
5072 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
5073 (__gettimeofday_internal): Remove strong_alias.
5074 (__gettimeofday): Add libc_hidden_def.
5075 (gettimeofday): Add libc_hidden_weak.
5076 * sysdeps/unix/syscalls.list (gettimeofday):
5077 Remove __gettimeofday_internal alias.
5078
b5a2bbe6
L
50792012-05-24 Daniel Jacobowitz <drow@false.org>
5080 H.J. Lu <hongjiu.lu@intel.com>
5081
5082 [BZ #12495]
5083 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
5084 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
5085 (largebin_index_32_big): New.
5086 (largebin_index): Use it for 16-byte alignment.
5087 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
5088 correction with front_misalign.
5089
cfba4fda
L
50902012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5091
7f907421
L
5092 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
5093 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5094 Likewise.
5095 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
5096 Likewise.
5097 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
5098 Likewise.
5099 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
5100 Likewise.
5101 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
5102 Likewise.
5103 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
5104 Likewise.
5105 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
5106 Likewise.
5107 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5108 Likewise.
5109 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
5110 Likewise.
5111 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
5112 Likewise.
5113 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5114 Likewise.
5115 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
5116 Likewise.
5117
cfba4fda
L
5118 * scripts/data/c++-types-x32-linux-gnu.data: New file.
5119 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
5120
80bad0cc
JM
51212012-05-24 Joseph Myers <joseph@codesourcery.com>
5122
7a25eb06
JM
5123 [BZ #10846]
5124 [BZ #14036]
5125 * math/libm-test.inc (exp_test): Add test from bug 14036.
5126 (pow_test): Add test from bug 10846.
5127
795405f9
JM
5128 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
5129 and other flags.
5130 (special_function): Do not include flags in test name.
5131 (parse_args): Likewise.
5132 * sysdeps/i386/fpu/libm-test-ulps: Update.
5133 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5134 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5135 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5137
80bad0cc
JM
5138 * math/gen-libm-test.pl (%beautify): Add entries for underflow
5139 exceptions.
5140 * math/libm-test.inc ("Philosophy"): Update comment about
5141 exception testing.
5142 (UNDERFLOW_EXCEPTION): New macro.
5143 (UNDERFLOW_EXCEPTION_OK): Likewise.
5144 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5145 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5146 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5147 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5148 (INVALID_EXCEPTION_OK): Update value.
5149 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5150 (OVERFLOW_EXCEPTION_OK): Likewise.
5151 (IGNORE_ZERO_INF_SIGN): Likewise.
5152 (test_exceptions): Handle underflow exceptions.
5153 (acos_test): Update for underflow exception expectations.
5154 (cexp_test): Likewise.
5155 (clog_test): Likewise.
5156 (clog10_test): Likewise.
5157 (csqrt_test): Likewise.
5158 (ctan_test): Likewise.
5159 (ctanh_test): Likewise.
5160 (exp_test): Likewise.
5161 (exp10_test): Likewise.
5162 (exp2_test): Likewise.
5163 (expm1_test): Likewise.
5164 (fma_test): Likewise.
5165 (j0_test): Likewise.
5166 (jn_test): Likewise.
5167 (nexttoward_test): Likewise.
5168 (pow_test): Likewise.
5169 (scalbn_test): Likewise.
5170 (scalbln_test): Likewise.
5171 (tan_test): Likewise.
5172 (y1_test): Likewise.
5173 * sysdeps/i386/fpu/libm-test-ulps: Update.
5174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5175
9e0e3d0b
DM
51762012-05-23 David S. Miller <davem@davemloft.net>
5177
5178 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5179 (__libc_sigaction): Remove unused local variables.
5180
ccd0a08f
L
51812012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5182
5183 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
5184
62bdf9a6
PE
51852012-05-23 Paul Eggert <eggert@cs.ucla.edu>
5186
f8591f80
PE
5187 mktime: avoid signed integer overflow
5188 * time/mktime.c (__mktime_internal): Do not mishandle the case
5189 where diff == INT_MIN.
5190
94c7d826
PE
5191 mktime: simplify computation of average
5192 * time/mktime.c (ranged_convert): Use new time_t_avg function
5193 instead of rolling our own (probably-slower) code.
5194
ce73d683
PE
5195 mktime: do not assume signed right shift propagates sign bit
5196 * time/mktime.c (isdst_differ): New static function.
5197 (__mktime_internal): No need to normalize tm_isdst now.
5198 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
5199 tm_isdst values.
5200
72a22e59
PE
5201 mktime: merge another wrapv change from gnulib
5202 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
5203 from some compilers.
5204
68605433
PE
5205 mktime: remove incorrect attempt at unusual arithmetics
5206 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
5207 The code didn't really work on such machines anyway.
5208 (TYPE_MINIMUM): Assume two's complement.
5209 (twos_complement_arithmetic): Verify that long_int and time_t
5210 are two's complement (or unsigned, in the latter case).
5211
03cf7fe3
PE
5212 mktime: check signed shifts on long_int and time_t, too
5213 * time/mktime.c (SHR): Check that shifts work as desired
5214 on the types long_int and time_t too, as SHR is used on
5215 such types.
5216
f04dfbc2
PE
5217 mktime: do not assume 'long' is wide enough
5218 * time/mktime.c (verify): Move decl up.
5219 (long_int): New type.
5220 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
5221 to remove assumption in the code that 'long' is wide enough to
5222 store year values. This assumption is not true on x32 and on
5223 some non-glibc platforms.
5224
62bdf9a6
PE
5225 mktime: merge wrapv change from gnulib
5226 * time/mktime.c (WRAPV): New macro.
5227 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
5228 (guess_time_tm, __mktime_internal): Do not assume that signed
5229 integer overflow wraps around; modern compilers generate code
5230 where this assumption is no longer valid.
5231
5e292e4f
L
52322012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5233
5234 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5235 Replace "jmp L(pseudo_end)" with "ret".
5236 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
5237 Likewise.
5238
8caf8c87
AJ
52392012-05-23 Andreas Jaeger <aj@suse.de>
5240
5241 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
5242 * sysdeps/unix/sysv/linux/poll.c: Remove file.
5243
1a09dc56
AJ
52442012-05-23 Andreas Jaeger <aj@suse.de>
5245 Maximilian Attems <max@stro.at>
5246
5247 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
5248 New macros.
5249
1c87aba0
L
52502012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5251
5252 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
5253 code so that pseudo_end is just ret and the stack pointer is
5254 correct also for static library in error case.
5255
40e45bd5
JM
52562012-05-23 Joseph Myers <joseph@codesourcery.com>
5257
c2670533
JM
5258 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
5259 move to syscalls.list.
5260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
5261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5264
40e45bd5
JM
5265 * manual/install.texi (Running make install): Do not mention Linux
5266 kernel version for which pt_chown is not needed.
5267 (Linux): Do not mention problems with nscd with 2.0 kernels.
5268 * INSTALL: Regenerated.
5269
be08eda5
AJ
52702012-05-23 Andreas Jaeger <aj@suse.de>
5271
5272 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
5273 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
5274 macro.
5275 * sysdeps/unix/sysv/linux/s390/bits/mman.h
5276 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5277 * sysdeps/unix/sysv/linux/sh/bits/mman.h
5278 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5279 * sysdeps/unix/sysv/linux/i386/bits/mman.h
5280 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5281 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
5282 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5283 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
5284 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5285 * sysdeps/unix/sysv/linux/bits/in.h
5286 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
5287
a6a056bb
RM
52882012-05-22 Roland McGrath <roland@hack.frob.com>
5289
5290 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
5291 (PREPARE_VERSION): Just use assert instead, it will be elided
5292 under [NDEBUG] anyway.
5293
c9009328
L
52942012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5295
5296 * sysdeps/unix/sysv/linux/Makefile: Include
5297 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 5298 (sysdep_routines): Remove sysctl.
c9009328
L
5299 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
5300 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
5301 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
5302 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
5303 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
5304
73338355
AJ
53052012-05-22 Andreas Jaeger <aj@suse.de>
5306
5307 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
5308 that pseudo_end is just ret and the stack pointer is correct also
5309 for static library in error case.
5310
d44638b0
PP
53112012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
5312
5313 [BZ #14122]
5314 * nss/nsswitch.c (defconfig_entries): New variable.
5315 (__nss_database_lookup): Don't leak defconfig entries.
5316 (nss_parse_service_list): Don't leak on error paths.
5317 (free_database_entries): New function.
5318 (free_defconfig): New function.
5319 (free_mem): Move common code to free_database_entries.
5320
31a39bd8
L
53212012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5322
da0331a8
L
5323 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
5324 Add arch_prctl.
5325 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
5326
31a39bd8
L
5327 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5328 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
5329 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
5330 New macro.
5331 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
5332 (INTERNAL_SYSCALL_TYPES): Likewise.
5333 (LOAD_ARGS_TYPES_[1-6]): Likewise.
5334 (LOAD_REGS_TYPES_[1-6]): Likewise.
5335 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
5336 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
5337
45470df3
AZ
53382012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5339
5340 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
5341 copysignl for GLIBC_2_0.
5342 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
5343 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
5344 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
5345 logbl for GLIBC_2_0.
5346 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5347 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5348
98a61bcb
L
53492012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5350
a4f6e481
L
5351 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
5352 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5353
f63d5db6
L
5354 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5355 Use "neg %eax".
5356
98a61bcb
L
5357 * time/mktime.c: Update copyright years.
5358
95770f14
PE
53592012-05-22 Paul Eggert <eggert@cs.ucla.edu>
5360
6226efbd
PE
5361 mktime: merge comment-quoting-style change from gnulib
5362 * time/mktime.c: Quote 'like this' in comments.
5363 The GNU coding standards suggest that we no longer quote `like this',
5364 as "`" and "'" are typically rendered asymmetrically nowadays.
5365 The typical gnulib style is to quote 'like this' when quoting
5366 code, and "like this" when quoting English.
5367
b99e4f78
PE
5368 * time/mktime.c (compile-command): Add "-I.".
5369
643e01e6
PE
5370 mktime: merge mktime-internal.h change from gnulib
5371 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
5372
2554247d
PE
5373 mktime: merge time_r change from gnulib
5374 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
5375
826dd0ab
PE
5376 mktime: merge DEBUG change from gnulib
5377 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
5378 case system <time.h> has a #define.
5379
bd83aabe
PE
5380 mktime: merge <sys/types.h> change from gnulib
5381 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
5382 since <time.t> is now guaranteed to define time_t.
5383
95770f14
PE
5384 mktime: merge HAVE_CONFIG_H change from gnulib
5385 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
5386
5e1a27a9
L
53872012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5388
0e44a77e
L
5389 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5390 Use "neg %eax".
5391
5e1a27a9
L
5392 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
5393 __rlim_t cast.
5394 (struct rusage): Use anonymous union to pad each field to
5395 __syscall_slong_t.
5396
46259bec
DM
53972012-05-21 David S. Miller <davem@davemloft.net>
5398
5399 * Makefules (o-iterator): Remove .s cases.
5400 (compile-command.s): Delete.
5401 (COMPILE.s): Delete.
5402 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
5403
59f0c22e
JM
54042012-05-21 Joseph Myers <joseph@codesourcery.com>
5405
5406 * configure.in (libc_cv_predef_stack_protector): Only consider
5407 "foobar" and "__stack_chk_fail" lines in libc_undefs.
5408 * configure: Regenerated.
5409
20c07380
L
54102012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5411
bbb3154b
L
5412 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5413 New macro. Use R*LP on int and pointer.
5414 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
5415 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
5416 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
5417 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
5418
20c07380
L
5419 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
5420 [__WORDSIZE_TIME64_COMPAT32] instead of
5421 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
5422 (struct utmp): Likewise.
5423 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
5424 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
5425 Renamed to ...
5426 (__WORDSIZE_TIME64_COMPAT32): This.
5427 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
5428 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
5429 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
5430 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
5431 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
5432 (__WORDSIZE_TIME64_COMPAT32): New macro.
5433
d8d1017e
AJ
54342012-05-21 Andreas Jaeger <aj@suse.de>
5435
5436 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
5437 only if [SHARED]. Add prototype for __wcschr_ia32.
5438
6c7fb145
RM
54392012-05-21 Roland McGrath <roland@hack.frob.com>
5440
5441 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
5442 of %rbp unmolested in the jmp_buf while mangling the low bits.
5443 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
5444 unmolested high bits of %rbp while demangling the low bits.
5445 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
5446
66274218
AJ
54472012-05-21 Andreas Jaeger <aj@suse.de>
5448
07c58f8f
AJ
5449 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
5450 * sunrpc/svc_simple.c: Use it for registerrpc.
5451 * sunrpc/xcrypt.c: Use it for passwd2des.
5452
66274218
AJ
5453 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
5454
61f65140
L
54552012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5456
5457 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
5458 Don't define if [__SYSCALL_WORDSIZE != 32].
5459 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
5460 New macro.
5461
5fefb436
AJ
54622012-05-21 Bruno Haible <bruno@clisp.org>
5463 Andreas Jaeger <aj@suse.de>
5464
5465 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
5466 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
5467 inptr and inend for must_buffer_ch.
5468 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
5469 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
5470 * stdio-common/Makefile (tests): Remove bug15.
5471 (bug15-ENV): Remove macro.
5472 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
5473 anymore.
5474
d8e272ab
AJ
54752012-05-19 Andreas Jaeger <aj@suse.de>
5476 Roland McGrath <roland@hack.frob.com>
5477
5478 * manual/contrib.texi: Completely rewritten. It contains now an
5479 alphabetical list of contributors and their contributions.
5480
4a56a162
RH
54812012-05-21 Richard Henderson <rth@twiddle.net>
5482
5483 * misc/getauxval.c (__getauxval): Use unsigned long int.
5484 * misc/sys/auxv.h: Include <sys/cdefs.h>.
5485 (getauxval): Use unsigned long int.
5486
d024d23c
L
54872012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5488
5489 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5490
cbc00a03
RM
54912012-05-21 Roland McGrath <roland@hack.frob.com>
5492
5493 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
5494 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
5495 __alignof__ (long double).
5496
478143fa
AZ
54972012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5498
5499 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5500
c7683a6d
RH
55012012-05-20 Richard Henderson <rth@twiddle.net>
5502
5503 * misc/getauxval.c: New file.
5504 * misc/sys/auxv.h: New file.
5505 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
5506 (routines): Add getauxval.
5507 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
5508 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
5509 * elf/dl-sysdep.c (_dl_auxv): Remove.
5510 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
5511 * elf/dl-support.c (_dl_auxv): New variable.
5512 (_dl_aux_init): Initialize it.
5513 * manual/startup.texi (Auxiliary Vector): New node.
5514 * sysdeps/generic/bits/hwcap.h: New file.
5515 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
5516 * sysdeps/powerpc/sysdep.h: ... here. Include it.
5517 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
5518 * sysdeps/sparc/sysdep.h: ... here. Include it.
5519 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
5520 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
5521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5522 Update.
c7683a6d
RH
5523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
5524 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
5525 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
5526 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
5527 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5528 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5529 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
5530 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
5531
a6f1845d
AZ
55322012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5533
5534 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5535
cbcbe830
DM
55362012-05-19 David S. Miller <davem@davemloft.net>
5537
5538 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5539
e0b16cc2
JM
55402012-05-19 Joseph Myers <joseph@codesourcery.com>
5541
5542 [BZ #14123]
5543 * math/s_ccosh.c: Include <float.h>
5544 (__ccosh): Avoid internal overflow calculating sinh and cosh
5545 values before multiplying by sin and cos values.
5546 * math/s_ccoshf.c: Likewise.
5547 * math/s_ccoshl.c: Likewise.
5548 * math/s_csin.c: Likewise.
5549 * math/s_csinf.c: Likewise.
5550 * math/s_csinl.c: Likewise.
5551 * math/s_csinh.c: Likewise.
5552 * math/s_csinhf.c: Likewise.
5553 * math/s_csinhl.c: Likewise.
5554 * math/libm-test.inc (ccos_test): Add more tests.
5555 (ccosh_test): Likewise.
5556 (csin_test): Likewise.
5557 (csinh_test): Likewise.
5558 * sysdeps/i386/fpu/libm-test-ulps: Update.
5559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5560
6ad13e08
L
55612012-05-19 H.J. Lu <hongjiu.lu@intel.com>
5562
f66f0ce8
L
5563 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
5564 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
5565
6ad13e08
L
5566 * sysdeps/x86_64/x32/_itoa.h: Add comment.
5567
b1d072a7
JM
55682012-05-19 Joseph Myers <joseph@codesourcery.com>
5569
5570 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
5571 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
5572 * sysdeps/powerpc/soft-fp/Versions: Likewise.
5573 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
5574 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
5575 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
5576 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
5577 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
5578 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
5579 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
5580 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
5581 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
5582 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
5583 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
5584 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
5585 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
5586 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
5587 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
5588 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
5589 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
5590 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
5591 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
5592 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
5593 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
5594 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
5595 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
5596 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
5597 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
5598 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
5599 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
5600 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
5601
9eae47cb
AJ
56022012-05-18 Andreas Jaeger <aj@suse.de>
5603
5604 * csu/.gitignore: Delete.
5605
bb07f69f
L
56062012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5607
5608 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
5609 (timex): Use __syscall_slong_t.
5610
e6bdb741
AJ
56112012-05-18 Andreas Jaeger <aj@suse.de>
5612 Carlos O'Donell <carlos_odonell@mentor.com>
5613
5614 * manual/install.texi (Configuring and compiling): Update
5615 description about files modified in the source directory.
d6c33fda 5616 * INSTALL: Regenerated.
e6bdb741 5617
1b74487e
L
56182012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5619
5620 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
5621 value. Use "or" to set return value to -1.
5622 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
5623 negate return value.
5624
a88b64b9
TMQMF
56252012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5626
5627 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
5628 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
5629 failure if the compiler has Graphite support disabled.
5630 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
5631 Likewise.
5632 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
5633 CFLAGS-memmove.c): Likewise.
5634 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
5635 Likewise.
5636
3707636e
L
56372012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5638
610b8622
L
5639 * sysdeps/x86_64/x32/_itoa.h: New file.
5640
7cd195df
L
5641 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
5642 getdents system call only if kernel and user dirents have the
5643 same d_ino and d_off.
5644
94b07d20
L
5645 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5646 LLONG_MAX != LONG_MAX.
5647 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5648 (_fitoa_word): Likewise.
5649
18298070
L
5650 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
5651 years.
5652 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
5653 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
5654 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
5655
553c7ea4
L
5656 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
5657 include <bits/wordsize.h>. Check __x86_64__ instead of
5658 __WORDSIZE.
5659 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
5660 if __x86_64__ is defined. Use anonymous union on fpstate.
5661
3707636e
L
5662 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
5663 anonymous union.
5664
b53ef01a
AS
56652012-05-18 Andreas Schwab <schwab@linux-m68k.org>
5666
37fb1dc0
AS
5667 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5668 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
5669 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
5670 Refer to _rtld_local_ro instead of _rtld_global_ro.
5671 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
5672 Likewise.
5673 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
5674 Likewise.
5675 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
5676 Likewise.
5677 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
5678 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
5679 of _rtld_global, and rtld_progname instead of _dl_argv[0].
5680
b53ef01a
AS
5681 * sysdeps/powerpc/powerpc32/dl-machine.c
5682 (__elf_machine_runtime_setup) [PROF]: Don't reference
5683 _dl_prof_resolve.
5684
7a185db2
AJ
56852012-05-18 Andreas Jaeger <aj@suse.de>
5686
5687 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
5688 function only available for GCCs before 3.4 since GCC 3.4
5689 introduced a builtin.
5690 (lrint): Likewise.
5691 (llrintf): Likewise.
5692 (llrint): Likewise.
5693 (fmaxf): Likewise.
5694 (fmax): Likewise.
5695 (fminf): Likewise.
5696 (fmin): Likewise.
5697 (rint): Likewise.
5698 (rintf): Likewise.
5699 (nearbyint): Likewise.
5700 (nearbyintf): Likewise.
5701 (ceil): Likewise.
5702 (ceilf): Likewise.
5703 (floor): Likewise.
5704 (floorf): Likewise.
5705
3e5aef87
L
57062012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5707
428bd707
L
5708 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
5709 on both fields and cast pointer to __syscall_ulong_t.
5710
3e5aef87
L
5711 * bits/types.h (__fsword_t): New type.
5712 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
5713 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
5714 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5715 (__FSWORD_T_TYPE): Likewise.
5716 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5717 (__FSWORD_T_TYPE): Likewise.
5718 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5719 (__FSWORD_T_TYPE): Likewise.
5720 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
5721 (__FSWORD_T_TYPE): Likewise.
5722 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
5723 __SWORD_TYPE with __fsword_t.
5724 (statfs64): Likewise.
5725
1ba7c3dc
DM
57262012-05-17 David S. Miller <davem@davemloft.net>
5727
5728 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
5729
59910343
AJ
57302012-05-17 Andreas Jaeger <aj@suse.de>
5731
5732 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
5733 warning.
5734
2e4c1e9e
L
57352012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5736
5737 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
5738
de7f5ce7
AJ
57392012-05-17 Andreas Jaeger <aj@suse.de>
5740
5741 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
5742 when it is used.
5743
286abc3d
CM
57442012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5745
5746 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
5747
477cc68e
L
57482012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5749
5750 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
5751 * sysdeps/x86_64/tst-mallocalign1.c: New file.
5752
1a0994f5
CD
57532012-05-17 Andreas Jaeger <aj@suse.de>
5754 Carlos O'Donell <carlos_odonell@mentor.com>
5755
5756 [BZ #14059]
5757 * sysdeps/x86_64/multiarch/init-arch.h
5758 (bit_YMM_Usable): Rename to...
5759 (bit_AVX_Usable): ... this.
5760 (bit_FMA4_Usable): New macro.
5761 (bit_XMM_state): New macro.
5762 (bit_YMM_state): New macro.
5763 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
5764 [__ASSEMBLER__] (index_AVX_Usable): ... this.
5765 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
5766 (CPUID_OSXSAVE): New macro.
5767 (CPUID_AVX): New macro.
5768 (CPUID_FMA4): New macro.
5769 (index_YMM_Usable): Rename to...
5770 (index_AVX_Usable): ... this.
5771 (HAS_AVX): Use HAS_ARCH_FEATURE.
5772 (HAS_FMA4): Likewise.
5773 (HAS_YMM_USABLE): Remove.
5774 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5775 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
5776 are present.
5777 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
5778 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
5779 * sysdeps/x86_64/multiarch/Makefile: Likewise.
5780 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
5781 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
5782
0af797de
CM
57832012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5784
5785 * math/libm-test.c: Support platforms without multiple rounding modes.
5786 * math/bug-nextafter.c: Support platforms without FP exceptions.
5787 * math/bug-nexttoward.c: Likewise.
5788 * math/test-fenv.c: Likewise.
5789 * math/test-misc.c: Likewise.
5790 * stdlib/bug-getcontext.c: Likewise.
5791
e39745ff
AJ
57922012-05-17 Andreas Jaeger <aj@suse.de>
5793
5794 * manual/examples/search.c (critter_cmp): Change signature to
5795 avoid warnings.
5796 * manual/string.texi (Collation Functions): Likewise.
5797
48970aba
L
57982012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5799
5800 * bits/types.h: Fold copyright years.
5801 * bits/typesizes.h: Likewise.
5802 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
5803 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5804 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
5805 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
5806 * time/time.h: Likewise.
5807
bedee953
PP
58082012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
5809
5810 [BZ #208]
5811 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
5812 in instead of returning them. Return void.
5813 (__libc_mallinfo): Accumulate over all arenas.
5814 (__malloc_stats): Adjust for change in int_mallinfo interface.
5815
61653dfb
RM
58162012-05-16 Roland McGrath <roland@hack.frob.com>
5817
30b99d79
RM
5818 [BZ #10375]
5819 * configure.in (NM): Add AC_CHECK_TOOL for it.
5820 (libc_extra_cflags): New substituted variable.
5821 Check for -fstack-protector being used implicitly.
5822 * configure: Regenerated.
5823 * config.make.in (config-extra-cflags): New variable,
5824 gets @libc_extra_cflags@.
5825 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
5826
61653dfb
RM
5827 [BZ #10375]
5828 * configure.in: Check for _FORTIFY_SOURCE being predefined.
5829 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
5830 * configure: Regenerated.
5831 * config.make.in (CPPUNDEFS): New substituted variable.
5832 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
5833 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
5834 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
5835
661768bb
L
58362012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5837
5838 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
5839 (mq_attr): Use __syscall_slong_t.
5840
d4261567
L
58412012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5842
5843 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
5844 Check __x86_64__ instead of __WORDSIZE.
5845 (_STAT_VER_LINUX): Likewise.
5846 (stat): Check __x86_64__ instead of __WORDSIZE. Use
5847 __syscall_ulong_t and __syscall_slong_t.
5848 (stat64): Likewise.
5849
cf3ff365
L
58502012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5851
5852 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
5853
76cf3e4d
L
58542012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5855
5856 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
5857
a637753a
L
58582012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5859
5860 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
5861 __syscall_ulong_t.
5862
d5e05119
L
5863 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
5864 include <bits/wordsize.h>. Check __x86_64__ instead of
5865 __WORDSIZE.
5866 (greg_t): Use "__extension__ long long int" if __x86_64__ is
5867 defined.
5868 (mcontext_t): Replace "unsigned long" with "unsigned long long".
5869
f62ee380
L
5870 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
5871 include <bits/wordsize.h>. Check __x86_64__ instead of
5872 __WORDSIZE.
5873 (user_regs_struct): Use "__extension__ unsigned long long"
5874 instead of "unsigned long" if __x86_64__ is defined.
5875 (user): Likewise. Pad after pointer field if __ILP32__ is
5876 defined.
5877
4e124ced
JM
58782012-05-16 Joseph Myers <joseph@codesourcery.com>
5879
6a3951a0
JM
5880 * configure.in (makeinfo): Require version 4.5 or later. Allow
5881 versions 5 to 9.
5882 * configure: Regenerated.
5883 * manual/install.texi (texinfo): Increase version requirement to
5884 4.5 or later.
5885 * INSTALL: Regenerated.
5886
4e124ced
JM
5887 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
5888
953ca31a
L
58892012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5890
5891 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
5892
617aca05
L
5893 * sysdeps/x86_64/x32/ffs.c: New file.
5894
5762f7ae
L
5895 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
5896 __syscall_ulong_t.
5897 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
5898 defined. Use __syscall_ulong_t.
5899 (shminfo): Use __syscall_ulong_t.
5900 (shm_info): Likewise.
5901
a26b6856
L
5902 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
5903 __syscall_ulong_t.
5904
cb2b9ef7
L
5905 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
5906 <bits/wordsize.h>.
5907 (msgqnum_t): Use __syscall_ulong_t.
5908 (msglen_t): Likewise.
5909 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
5910 __syscall_ulong_t.
5911
34683bb0
L
5912 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
5913 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5914
84a68786
L
5915 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
5916
48baa5f1
L
5917 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
5918 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
5919
180be88b
L
5920 * sysvipc/sys/msg.h (msgbuf): Replace long int with
5921 __syscall_slong_t.
5922
5e90c8ad
L
5923 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
5924 include <bits/wordsize.h>. Check __x86_64__ instead of
5925 __WORDSIZE.
5926
23dfb58b
L
5927 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
5928 "unsigned long long int" if __x86_64__ is defined.
5929 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
5930
ce5d54b0
L
5931 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
5932 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5933 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
5934
13dc9eac
L
5935 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
5936 <stdint.h>.
5937 (GET_PC): Cast to uintptr_t first.
5938 (GET_FRAME): Likewise.
5939 (GET_STACK): Likewise.
5940
a7895d15
L
5941 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
5942 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
5943 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
5944 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
5945 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
5946 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
5947 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
5948 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
5949 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
5950 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
5951 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
5952 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
5953 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5954 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
5955 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
5956 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
5957 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
5958 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
5959 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
5960 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
5961 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
5962 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
5963 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
5964 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
5965 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
5966 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
5967 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
5968 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
5969 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
5970
656416c9
AS
59712012-05-16 Andreas Schwab <schwab@linux-m68k.org>
5972
5bd66283
AS
5973 * Makerules (+depfiles): Also collect depfiles from .oS in
5974 $(extra-objs).
5975 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
5976 .oS, $(libnldbl-routines)).
5977
656416c9
AS
5978 * Makerules (native-compile-mkdep-flags): Define.
5979 * sunrpc/Makefile (extra-objs): Add $(addprefix
5980 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
5981 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
5982 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
5983 calling $(make-target-directory).
5984
a46f2169
L
59852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5986
5987 * bits/types.h (__snseconds_t): Removed.
5988 * time/time.h (struct timespec): Replace __snseconds_t with
5989 __syscall_slong_t.
5990 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
5991 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
5992 Likewise.
5993 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5994 (__SNSECONDS_T_TYPE): Likewise.
5995 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5996 (__SNSECONDS_T_TYPE): Likewise.
5997 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5998 (__SNSECONDS_T_TYPE): Likewise.
5999
6af6528b
L
60002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6001
6002 * sysdeps/mach/hurd/bits/typesizes.h
6003 (__SYSCALL_SLONG_TYPE): New macro.
6004 (__SYSCALL_ULONG_TYPE): Likewise.
6005
de986b56
L
60062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6007
6008 * bits/types.h (__syscall_slong_t): New type.
6009 (__syscall_ulong_t): Likewise.
6010
6011 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
6012 (__SYSCALL_ULONG_TYPE): Likewise.
6013 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6014 (__SYSCALL_SLONG_TYPE): Likewise.
6015 (__SYSCALL_ULONG_TYPE): Likewise.
6016 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6017 (__SYSCALL_SLONG_TYPE): Likewise.
6018 (__SYSCALL_ULONG_TYPE): Likewise.
6019 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6020 (__SYSCALL_SLONG_TYPE): Likewise.
6021 (__SYSCALL_ULONG_TYPE): Likewise.
6022
85736dc7
L
60232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6024
6025 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
6026 Add sigaltstack-offsets.sym.
6027 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
6028 <sigaltstack-offsets.h>.
6029 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
6030 longjmp_msg pointer.
6031 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
6032 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
6033 signal stack.
6034 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
6035
cc03b296
JM
60362012-05-15 Joseph Myers <joseph@codesourcery.com>
6037
a9538892
JM
6038 * elf/stackguard-macros.h: Remove file.
6039 * sysdeps/generic/stackguard-macros.h: New file.
6040 * sysdeps/i386/stackguard-macros.h: Likewise.
6041 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6042 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6043 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6044 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6045 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6046 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6047 * sysdeps/x86_64/stackguard-macros.h: Likewise.
6048 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
6049 <elf/stackguard-macros.h>.
6050
cc03b296
JM
6051 [BZ #14109]
6052 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
6053 __aligned__ in attribute.
6054 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
6055 (gregset_t): Likewise.
6056
93171016
L
60572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6058
6059 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
6060 * sysdeps/x86_64/64/Implies-after: Here. New file.
6061 * sysdeps/x86_64/x32/Implies-after: New file.
6062
d86813a0
L
60632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6064
6065 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
6066 and access return value for _dl_profile_fixup. Use R10_LP to
6067 load frame size.
6068
2953ec75
L
60692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6070
6071 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
6072
3b550e9e
L
60732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6074
6075 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
6076 * sysdeps/x86_64/x32/sysdep.h: New file.
6077
eda41706
L
60782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6079
6080 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
6081 * sysdeps/x86_64/setjmp.S: Likewise.
6082
9ea01d93
AZ
60832012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6084
6085 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
6086 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
6087 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
6088 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
6089 remove unused global constant.
6090
02a91938
CM
60912012-05-15 Chris Metcalf <cmetcalf@tilera.com>
6092
6093 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
6094 include of <not-cancel.h>.
6095
6540185f
RM
60962012-05-15 Roland McGrath <roland@hack.frob.com>
6097
6098 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
6099
509072a0
AJ
61002012-05-15 Jeff Law <law@redhat.com>
6101 Andreas Jaeger <aj@suse.de>
6102
6103 [BZ #13594]
6104 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
6105 out from...
6106 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
6107 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
6108 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
6109 code changing __hst_map_handle.map.
6110
ba75122d
RM
61112012-05-15 Roland McGrath <roland@hack.frob.com>
6112
6113 * configure.in (sysnames): Look for Implies-before and Implies-after
6114 files.
6115 * configure: Regenerated.
6116
890d8bd8
L
61172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6118
6119 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
6120 8-byte data alignment with LP_SIZE alignment.
6121
f6ee6623
L
61222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6123
6124 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
6125 into R10_LP.
6126
ea2626f6
L
61272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6128
6129 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
6130
085f715e
L
61312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6132
6133 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
6134 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
6135 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
6136 Likewise.
6137 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6138
be8498fc
L
61392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6140
6141 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
6142 (stackinfo_sub_sp): Likewise.
6143
70bc83b9
L
61442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6145
6146 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
6147 RAX_LP.
6148
9bc0b730
L
61492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6150
6151 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
6152 into R*_LP.
6153
6d2850e7
L
61542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6155
6156 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
6157 sizes into R*_LP.
6158
3cb84561
L
61592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6160
6161 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
6162
54e2ed81
L
61632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6164
6165 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
6166 into R11_LP and load __x86_64_shared_cache_size_half into
6167 R8_LP.
6168
8a17f349
L
61692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6170
6171 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
6172 R8_LP.
6173
777b1eea
AZ
61742012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6175
6176 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
6177 logb for POWER7.
6178 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
6179 logbf for POWER7.
6180 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
6181 logbl for POWER7.
6182 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
6183 powerpc32/power7/fpu/s_logb.c via #include.
6184 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
6185 powerpc32/power7/fpu/s_logbf.c via #include.
6186 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
6187 powerpc32/power7/fpu/s_logbl.c via #include.
6188
d20d4ac2
JM
61892012-05-15 Joseph Myers <joseph@codesourcery.com>
6190
6191 * README.libm: Remove file.
6192
6cdef1ab
L
61932012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6194
6195 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
6196 count for x32. Use R*_LP and omit operand-size suffix.
6197
0b254d8f
L
61982012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6199
6200 * shlib-versions: Move x86_64-.*-linux.* entries to ...
6201 * sysdeps/x86_64/64/shlib-versions: Here. New file.
6202 * sysdeps/x86_64/x32/shlib-versions: New file.
6203
ceb809dc
RM
62042012-05-14 Roland McGrath <roland@hack.frob.com>
6205
6206 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
6207 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
6208 Use _dl_fatal_printf instead.
6209
37f1abd4
JM
62102012-05-14 Joseph Myers <joseph@codesourcery.com>
6211
6212 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
6213 set if not set by the user. Do not allow for being unset.
6214 * sysdeps/unix/sysv/linux/configure: Regenerated.
6215
11de3a33
L
62162012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6217
6218 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
6219 the `q' suffix from lea and replace .quad with ASM_ADDR.
6220
e02f153a
L
62212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6222
6223 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
6224 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
6225 instead of $17.
6226 (PTR_DEMANGLE): Likewise.
6227
520ae0fd
L
62282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6229
6230 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
6231 (LP_OP): Likewise.
6232 (ASM_ADDR): Likewise.
6233 (RAX_LP): Likewise.
6234 (RBP_LP): Likewise.
6235 (RBX_LP): Likewise.
6236 (RCX_LP): Likewise.
6237 (RDI_LP): Likewise.
6238 (RSI_LP): Likewise.
6239 (RSP_LP): Likewise.
6240 (R8_LP): Likewise.
6241 (R9_LP): Likewise.
6242 (R10_LP): Likewise.
6243 (R10_LP): Likewise.
6244 (R11_LP): Likewise.
6245 (R12_LP): Likewise.
6246 (R13_LP): Likewise.
6247 (R14_LP): Likewise.
6248 (R15_LP): Likewise.
6249
b985be81
L
62502012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6251
6252 * sysdeps/x86_64/x32/dl-machine.h: New file.
6253
6a4888ff
AJ
62542012-05-14 Andreas Jaeger <aj@suse.de>
6255
6256 * manual/Makefile (subdir): Remove export of subdir.
6257 (all): Remove target.
6258 (.PHONY): Remove all from list.
6259 (mkinstalldirs): Remove.
6260 (.PHONY): Remove installdirs from list.
6261 ($(inst_infodir)/libc.info): Use make-target-directory.
6262 (installdirs): Remove.
6263 (subdir_%): Remove.
6264 (glibc-targets): Remove.
6265 (lib): Remove.
6266 (stubs): Remove.
6267 ($(objpfx)stubs ../po/manual.pot): Remove.
6268 ($(objpfx)stamp%): Remove.
6269 (make-target-directory): Remove.
6270 (subdir_install): Remove.
6271 (routines): Remove.
6272 (aux): Remove.
6273 (sources): Remove.
6274 (objects): Remove.
6275 (headers): Remove.
6276
6277 [BZ #13750]
6278 * manual/.gitignore: Remove, it's not needed anymore.
6279 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
6280 all files in it.
6281 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
6282 directory.
6283 (texis): Renamed to $(objpfx)texis.
6284 (texis-path): New, contains path to generated files.
6285 (chapters.%): Use texis-path for complete path, add extra argument
6286 libc-texinfo.sh.
6287 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
6288 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
6289 (summary,texi, stamp-summary): Use complete path of
6290 files. Generate files in build dir.
6291 (dir-add.texi): Build in build dir.
6292 (libm-err.texi,stamp-libm-err): Likewise.
6293 (version.texi, stamp-version): Likewise.
6294 (.%c.texi): Likewise.
6295 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
6296 (mostlyclean): Remove target.
6297 (realclean): Remove target.
6298 (generated): Add new variable with contents from mostlyclean and
6299 realclean, remove entries duplicated in common-mostlyclean, add
6300 stamp-libm-err and stamp-version.
6301 (generated-dirs): Add libc directory.
6302 ($(inst_infodir)/libc.info): Install files from build dir.
6303
6304 * manual/install.texi (Configuring and compiling): Adjust since
6305 the info files are not part of the tar ball anymore.
6306
7ac77294
AJ
63072012-05-14 Andreas Jaeger <aj@suse.de>
6308
6309 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
6310 variable.
6311
ffb7875d
JM
63122012-05-14 Joseph Myers <joseph@codesourcery.com>
6313
6314 [BZ #13717]
6315 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
6316 to 2.2.0 where earlier.
6317 * sysdeps/unix/sysv/linux/configure: Regenerated.
6318 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
6319 Remove conditional code.
6320 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
6321 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
6322 Remove conditional code.
6323 [!__NR_lchown]: Likewise.
6324 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6325 [__NR_lchown]: Likewise.
6326 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
6327 comment referencing __ASSUME_LCHOWN_SYSCALL.
6328 * sysdeps/unix/sysv/linux/i386/sigaction.c
6329 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6330 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6331 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
6332 Remove conditional code.
6333 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
6334 (__protocol_available): Remove #if 0 code.
6335 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
6336 conditional code.
6337 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
6338 * sysdeps/unix/sysv/linux/kernel-features.h
6339 (__ASSUME_GETCWD_SYSCALL): Don't define.
6340 (__ASSUME_REALTIME_SIGNALS): Likewise.
6341 (__ASSUME_PREAD_SYSCALL): Likewise.
6342 (__ASSUME_PWRITE_SYSCALL): Likewise.
6343 (__ASSUME_POLL_SYSCALL): Likewise.
6344 (__ASSUME_LCHOWN_SYSCALL): Likewise.
6345 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
6346 non-SPARC.
6347 (__ASSUME_SIOCGIFNAME): Don't define.
6348 (__ASSUME_MSG_NOSIGNAL): Likewise.
6349 (__ASSUME_SENDFILE): Define unconditionally.
6350 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
6351 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
6352 conditional code.
6353 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
6354 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
6355 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6356 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6357 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
6358 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6359 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
6361 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6362 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6364 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6365 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
6367 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6368 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
6370 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6371 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
6373 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6374 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
6376 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6377 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
6379 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6380 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
6382 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6383 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6384 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
6385 Remove conditional code.
6386 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6387 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6388 Remove conditional code.
6389 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6390 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
6391 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
6392 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6393 Remove conditional code.
6394 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6395 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
6396 Remove conditional code.
6397 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6398 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
6399 Remove conditional code.
6400 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6401 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6402 Remove conditional code.
6403 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6404 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6405 Remove conditional code.
6406 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6407 * sysdeps/unix/sysv/linux/sh/pwrite64.c
6408 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6409 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6410 * sysdeps/unix/sysv/linux/sigaction.c
6411 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6412 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6413 * sysdeps/unix/sysv/linux/sigpending.c
6414 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6415 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6416 * sysdeps/unix/sysv/linux/sigprocmask.c
6417 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6418 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6419 * sysdeps/unix/sysv/linux/sigsuspend.c
6420 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6421 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6422 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
6423 (__libc_missing_rt_sigs): Remove.
6424 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
6425 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
6426 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
6427 Remove conditional code.
6428 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
6429 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
6430 return 1.
6431 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
6432 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
6433 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
6434 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
6435
1bfb7291
AJ
64362012-05-14 Andreas Jaeger <aj@suse.de>
6437
caae5a81
AJ
6438 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
6439 it's not used in glibc.
6440 (__coshm1): Likewise.
6441 (__acosh1p): Likewise.
6442 (__sgn): Likewise.
6443
1bfb7291
AJ
6444 * manual/string.texi (Copying and Concatenation): Add missing
6445 variable in concat example.
6446 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6447
c044d724
L
64482012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6449
144c5467 6450 [BZ #14103]
c044d724
L
6451 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
6452 __builtin_clzl with __builtin_clzll.
6453
2523c62b
L
64542012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6455
6456 [BZ #14104]
6457 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
6458 libc_freeres_ptr.
6459
d7bb4c42
LD
64602012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6461
6462 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
6463 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
6464 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
6465 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
6466
9dc4e1fb
MF
64672012-05-14 Mike Frysinger <vapier@gentoo.org>
6468
6469 * NEWS: Update ia64 info.
6470
c7df0112
AS
64712012-05-12 Andreas Schwab <schwab@linux-m68k.org>
6472
6473 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
6474 used as bcopy.
6475
dc70356c
TS
64762012-05-12 Thomas Schwinge <thomas@codesourcery.com>
6477
6478 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
6479 * sysdeps/unix/syscalls.list (dup3): Likewise.
6480 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
6481 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
6482
9fb1a21f
L
64832012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6484
6485 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
6486 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
6487
4822a2a5
L
64882012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6489
6490 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
6491 thread pointer.
6492 (TLS_IE): Use mov/add instead of movq/addq to load thread
6493 pointer.
6494 (TLS_GD_PREFIX): New.
6495 (TLS_GD): Use it.
6496
842b81d6
DM
64972012-05-11 David S. Miller <davem@davemloft.net>
6498
6499 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
6500 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
6501 (_FPU_SETCW): Likewise.
6502
1cf463cd
L
65032012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6504
6505 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
6506 is 32-byte aligned.
6507
60cc4a18
AS
65082012-05-11 Andreas Schwab <schwab@linux-m68k.org>
6509
6510 [BZ #11837]
6511 * iconvdata/gb18030.c: Update tables.
6512 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
6513 characters specially.
6514 (BODY for TO_LOOP): Add encoding of missing ranges.
6515
febb44a4
TS
65162012-05-11 Thomas Schwinge <thomas@codesourcery.com>
6517
6518 [BZ #13673]
6519 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
6520 * sysdeps/mach/hurd/dup3.c: Likewise.
6521 * sysdeps/mach/hurd/readlinkat.c: Likewise.
6522 * sysdeps/powerpc/memmove.c:: Likewise.
6523
0a10fb9e
L
65242012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6525
6526 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
6527 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
6528
df8a552f
L
65292012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6530
6531 * elf/elf.h (R_X86_64_RELATIVE64): New.
6532 (R_X86_64_NUM): Updated.
6533 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6534 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
6535 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
6536 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
6537 tst-quad1pie tst-quad2pie
6538 (modules-names): Add tst-quadmod1 tst-quadmod2.
6539 ($(objpfx)tst-quad1): New dependency.
6540 ($(objpfx)tst-quad2): Likewise.
6541 ($(objpfx)tst-quad1pie): Likewise.
6542 ($(objpfx)tst-quad2pie): Likewise.
6543 * sysdeps/x86_64/tst-quad1.c: New file.
6544 * sysdeps/x86_64/tst-quad1pie.c: New file.
6545 * sysdeps/x86_64/tst-quad2.c: Likewise.
6546 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
6547 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
6548 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
6549 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
6550 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
6551
f34d6f84
ST
65522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6553
f42d41d1
ST
6554 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
6555 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
6556 * streams/stropts.h (t_scalar_t): Define type.
6557
3c3571fc
ST
6558 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
6559 (_PATH_PRESERVE): Set to "/var/lib".
6560 (_PATH_RWHODIR): Set to "/var/spool/rwho".
6561
61f06bd3
ST
6562 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
6563 instead of int.
6564
918d4d71
ST
6565 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
6566 if __dir_mkfile succeeded.
6567
f34d6f84
ST
6568 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
6569 checking for _hurd_dtablesize. Unlock it right after having
6570 finished _hurd_dtable allocation.
6571
10589b4a
TS
65722012-05-10 Thomas Schwinge <thomas@schwinge.name>
6573
674cdbc7
TS
6574 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
6575 * sysdeps/mach/hurd/configure: Regenerated.
6576 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
6577 special-casing to...
6578 * sysdeps/gnu/configure.in: ... this new file.
6579 * sysdeps/unix/sysv/linux/configure: Regenerated.
6580 * sysdeps/gnu/configure: New generated file.
6581
8e41b99f
TS
6582 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
6583 for Linux: use nsec instead of usec, as well as:
6584 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
6585 members of type struct timespec.
6586 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
6587 New macros.
6588 (struct stat64): Likewise.
6589 (_STATBUF_ST_NSEC): New macro.
6590 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
6591
10589b4a
TS
6592 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
6593 __strtoul_internal rather than strtoul.
6594
63643c85
PT
65952012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6596
6597 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
6598 and reject them.
6599
3faebe6a
ST
66002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6601
6602 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
6603 which preserves existing values.
6604 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
6605
c6474b07
PT
66062012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6607
6608 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
6609 TIMEOUT values. Return EINVAL for NFDS values either negative or
6610 greater than FD_SETSIZE.
6611
1043890b
ST
66122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6613
6614 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
6615 allocated, call __vm_protect to finish enabling the existing space, and
6616 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
6617 allocate the remainder.
6618
37ed8b9b
PT
66192012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6620
6621 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
6622 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
6623
db653660
ST
66242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6625
37ed8b9b
PT
6626 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
6627 sysdeps/mach/hurd/readlink.c.
b29d4053 6628
db653660
ST
6629 * posix/tst-sysconf.c (posix_options): Only use
6630 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
6631 _POSIX_SYNCHRONIZED_IO when they are defined
6632 * sysdeps/mach/hurd/bits/posix_opt.h:
6633 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
6634 (_XOPEN_REALTIME): Undefine macro.
6635 (_XOPEN_REALTIME_THREADS): Undefine macro.
6636 (_XOPEN_SHM): Undefine macro.
6637 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
6638 macro to -1.
6639 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
6640 macro to -1.
6641 (_POSIX_ASYNC_IO): Undefine macro.
6642 (_POSIX_PRIORITIZED_IO): Undefine macro.
6643 (_POSIX_SPIN_LOCKS): Define macro to -1.
6644
ee16e894
ST
6645 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
6646 SA_NODEFER, SA_RESETHAND.
6647 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
6648 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
6649 F_DUPFD_CLOEXEC.
6650
6103ae3b
TS
66512012-05-10 Thomas Schwinge <thomas@schwinge.name>
6652
6653 * elf/Makefile (pldd-modules): Define unconditionally.
6654
80b4e5f3
TS
66552012-05-10 Thomas Schwinge <thomas@schwinge.name>
6656
6657 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
6658
edadcbd6
ST
66592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6660
6661 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
6662 Return ENOENT when name is empty.
6663 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
6664
80694780
TS
66652012-05-10 Thomas Schwinge <thomas@schwinge.name>
6666
1792c087
TS
6667 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
6668
80694780
TS
6669 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
6670
6b645f0d
ST
66712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6672
80694780
TS
6673 Fix mlock in all cases except non-readable pages.
6674 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
6675 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 6676
6b645f0d
ST
6677 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
6678 (__mkdir): When path is `/', just fail with EEXIST.
6679 * sysdeps/mach/hurd/mkdirat.c: Likewise.
6680
e468f8a3
TS
66812012-05-10 Thomas Schwinge <thomas@schwinge.name>
6682
6683 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
6684 <sys/uio.h> (for writev).
6685 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
6686 and <sys/param.h> (for MIN).
6687
a4186cff
PT
66882012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6689
6690 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
6691 REQUESTED_TIME. Properly set the remaining time and return EINTR
6692 if interrupted.
6693
510bbf14
TS
66942012-05-10 Thomas Schwinge <thomas@schwinge.name>
6695
6696 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
6697 Depend on against $(link-rpcuserlibs).
6698
5d5722e8
ST
66992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6700
a4186cff
PT
6701 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
6702 (__libc_stack_end): Do not use attribute_relro.
6703 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
6704 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 6705 to libthread-provided value.
a4186cff
PT
6706 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
6707 attribute_relro.
5d5722e8 6708
37233df9
TS
67092012-05-10 Thomas Schwinge <thomas@schwinge.name>
6710
be971a2b
TS
6711 [BZ #3748]
6712 * bits/libc-lock.h (__libc_once_get): New macro.
6713 * sysdeps/mach/bits/libc-lock.h: Likewise.
6714 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
6715 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
6716 instead of using implementation details.
6717
37233df9
TS
6718 * libio/fileops.c: Unconditionally include <kernel-features.h>.
6719 * libio/freopen.c: Likewise.
6720 * libio/freopen64.c: Likewise.
6721 * misc/syslog.c: Likewise.
6722 * nscd/connections.c: Likewise.
6723 * nscd/netgroupcache.c: Likewise.
6724 * sysdeps/posix/getcwd.c: Likewise.
6725
38de94a5
RM
67262012-05-10 Roland McGrath <roland@hack.frob.com>
6727
6728 * math/w_ilogbf.c: Add #include <limits.h>.
6729
67530489
ST
67302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6731
a4186cff 6732 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
6733 path instead of returning without unlocking.
6734
67530489
ST
6735 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
6736 immediate-write ioctls.
6737 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
6738
5aa3a74a
TS
67392012-05-10 Thomas Schwinge <thomas@schwinge.name>
6740
18bad2ae
TS
6741 * sysdeps/mach/hurd/i386/init-first.c (init): Use
6742 __builtin_frame_address instead of making assumptions about the
6743 location of the return address relative to DATA. Force early load of
6744 the return address.
6745 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
6746 __builtin_frame_address.
6747
5aa3a74a
TS
6748 dup3 for GNU Hurd.
6749 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
6750 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
6751 implement dup3 and do some further code clean-ups.
6752 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
6753 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
6754
ecd0de9a
ST
67552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6756
cd9fa985
ST
6757 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
6758
a4186cff
PT
6759 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
6760 HURD_CRITICAL_END around holding _hurd_dtable_lock.
6761 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
6762 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
6763 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
6764 d->port.lock.
802ca5a5 6765
a4186cff
PT
6766 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
6767 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
6768 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 6769
bcf55240
TS
67702012-05-10 Thomas Schwinge <thomas@schwinge.name>
6771
6960eb42
TS
6772 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
6773 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
6774 definitions.
6775
eb43375f
TS
6776 accept4 for GNU Hurd.
6777 * include/sys/socket.h (__libc_accept4): New prototype.
6778 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
6779 to implement __libc_accept4.
6780 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
6781 __libc_accept4.
6782 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
6783
bcf55240
TS
6784 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
6785 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
6786 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
6787 signal-defines.sym.
6788
6178c55b
ST
67892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6790
a4186cff 6791 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 6792
6f080c2f
TS
67932012-05-10 Thomas Schwinge <thomas@schwinge.name>
6794
6795 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
6796 assertion on O_CLOEXEC flag.
6797 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
6798 * hurd/intern-fd.c: Likewise.
6799 * hurd/port2fd.c: Likewise.
6800
bcfe3a54
ST
68012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6802
6803 [BZ #3906]
6804 * bits/in.h (IPV6_PKTINFO): Define new macro.
6805 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
6806
89c9aa49
AZ
68072012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6808
6809 [BZ #13954]
6810 [BZ #13955]
6811 [BZ #13956]
6812 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
6813 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6814 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
6815 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6816 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6817 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6818 * math/libm-test.inc (logb_test) : Additional logb tests.
6819
021db4be
AJ
68202012-05-09 Andreas Schwab <schwab@linux-m68k.org>
6821 Andreas Jaeger <aj@suse.de>
6822
6823 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
6824 * configure: Regenerated.
6825 * config.h.in (LINK_OBSOLETE_RPC): New macro.
6826 * config.make.in (link-obsolete-rpc): New substituted variable.
6827 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
6828 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
6829 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6830 (shared-only-routines): Don't set it under [link-obsolete-rpc],
6831 so that libc.a contains the symbols.
6832 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6833 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
6834 * sunrpc/auth_none.c: Likewise.
6835 * sunrpc/auth_unix.c: Likewise.
6836 * sunrpc/authdes_prot.c: Likewise.
6837 * sunrpc/authuxprot.c: Likewise.
6838 * sunrpc/clnt_gen.c: Likewise.
6839 * sunrpc/clnt_perr.c: Likewise.
6840 * sunrpc/clnt_raw.c: Likewise.
6841 * sunrpc/clnt_simp.c: Likewise.
6842 * sunrpc/clnt_tcp.c: Likewise.
6843 * sunrpc/clnt_udp.c: Likewise.
6844 * sunrpc/clnt_unix.c: Likewise.
6845 * sunrpc/des_crypt.c: Likewise.
6846 * sunrpc/des_soft.c: Likewise.
6847 * sunrpc/get_myaddr.c: Likewise.
6848 * sunrpc/key_call.c: Likewise.
6849 * sunrpc/key_prot.c: Likewise.
6850 * sunrpc/netname.c: Likewise.
6851 * sunrpc/pm_getmaps.c: Likewise.
6852 * sunrpc/pm_getport.c: Likewise.
6853 * sunrpc/pmap_clnt.c: Likewise.
6854 * sunrpc/pmap_prot.c: Likewise.
6855 * sunrpc/pmap_prot2.c: Likewise.
6856 * sunrpc/pmap_rmt.c: Likewise.
6857 * sunrpc/publickey.c: Likewise.
6858 * sunrpc/rpc_cmsg.c: Likewise.
6859 * sunrpc/rpc_common.c: Likewise.
6860 * sunrpc/rpc_dtable.c: Likewise.
6861 * sunrpc/rpc_prot.c: Likewise.
6862 * sunrpc/rpc_thread.c: Likewise.
6863 * sunrpc/rtime.c: Likewise.
6864 * sunrpc/svc.c: Likewise.
6865 * sunrpc/svc_auth.c: Likewise.
6866 * sunrpc/svc_raw.c: Likewise.
6867 * sunrpc/svc_run.c: Likewise.
6868 * sunrpc/svc_tcp.c: Likewise.
6869 * sunrpc/svc_udp.c: Likewise.
6870 * sunrpc/svc_unix.c: Likewise.
6871 * sunrpc/svcauth_des.c: Likewise.
6872 * sunrpc/xcrypt.c: Likewise.
6873 * sunrpc/xdr.c: Likewise.
6874 * sunrpc/xdr_array.c: Likewise.
6875 * sunrpc/xdr_float.c: Likewise.
6876 * sunrpc/xdr_intXX_t.c: Likewise.
6877 * sunrpc/xdr_mem.c: Likewise.
6878 * sunrpc/xdr_rec.c: Likewise.
6879 * sunrpc/xdr_ref.c: Likewise.
6880 * sunrpc/xdr_sizeof.c: Likewise.
6881 * sunrpc/xdr_stdio.c: Likewise.
6882
b5c086a2
RM
68832012-05-10 Roland McGrath <roland@hack.frob.com>
6884
6885 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
6886 change. Update copyright years.
6887
6d74dd09
JM
68882012-05-10 Joseph Myers <joseph@codesourcery.com>
6889
6890 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
6891
28e72501
MK
68922012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
6893 Joseph Myers <joseph@codesourcery.com>
6894 Paul Pluzhnikov <ppluzhnikov@google.com>
6895
6896 [BZ #14012]
6897 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
6898 requiring rpcgen.
6899 [cross-compiling] (extra-libs): Likewise.
6900 [cross-compiling] (extra-libs-others): Likewise.
6901 [cross-compiling] (librpcsvc-routines): Likewise.
6902 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
6903 [cross-compiling] (omit-deps): Likewise.
6904 (sunrpc-CPPFLAGS): New variable.
6905 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
6906 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
6907 (cross-rpcgen-objs): New variable.
6908 (extra-objs): Append $(cross-rpcgen-objs).
6909 ($(cross-rpcgen-objs)): New rule.
6910 ($(objpfx)cross-rpcgen): Likewise.
6911 (rpcgen-cmd): Define to use $(built-program-file). Expand
6912 comment.
6913 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
6914 ($(objpfx)x%.stmp): Likewise.
6915 * sunrpc/proto.h [IS_IN_build] (_): Define.
6916 [IS_IN_build] (_libc_intl_domainname): Likewise.
6917
c8c59454
L
69182012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6919
6920 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
6921 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
6922 and R_X86_64_TPOFF64.
6923
6f27cd16
JM
69242012-05-10 Joseph Myers <joseph@codesourcery.com>
6925
6926 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
6927 sysdeps/unix/sysv/syscalls.list.
6928 (stime): Likewise.
6929 (utime): Likewise.
6930 * sysdeps/unix/sysv/syscalls.list: Remove file.
6931
02467e1c
PE
69322012-05-10 Paul Eggert <eggert@cs.ucla.edu>
6933
6934 [BZ #3440]
6935 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
6936 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
6937 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
6938 (__LC_IDENTIFICATION): Make these macros useful in #if
6939 expressions, as required by C99.
6940
da392631
AS
69412012-05-10 Andreas Schwab <schwab@linux-m68k.org>
6942
6943 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
6944 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
6945 after this.
6946
8115f29b
L
69472012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6948
6949 * stdlib/longlong.h: Updated from GCC.
6950
bdd74070
AJ
69512012-05-09 Andreas Jaeger <aj@suse.de>
6952
edfe0dbe
AJ
6953 * nscd/nscd.c (run_modes): Make named enum, reorder so that
6954 default is first entry.
6955 (run_mode): Set type.
6956 (main): Remove informal message about syslog.
6957 (options): Fix typo.
6958
bcfe3a54
ST
6959 [BZ #14053]
6960 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 6961 to asm.
bcfe3a54
ST
6962 (lrint): Likewise.
6963 (llrintf): Likewise.
6964 (llrint): Likewise.
6965 (rint): Likewise.
6966 (rintf): Likewise.
6967 (nearbyint): Likewise.
6968 (nearbyintf): Likewise.
bdd74070 6969
91d8d69e
AJ
69702012-05-09 Andreas Jaeger <aj@suse.de>
6971 Pedro Alves <palves@redhat.com>
6972
6973 * nscd/nscd.c (run_mode): Use enum.
6974 (main): Cleanup coding style issue.
6975
bb90b80b
AJ
69762012-05-09 Alexandre Oliva <aoliva@redhat.com>
6977 Andreas Jaeger <aj@suse.de>
6978
bcfe3a54
ST
6979 * nscd/nscd.c (go_background): Replaced with...
6980 (run_mode): ... this.
bb90b80b 6981 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
6982 (options): Add -F --foreground.
6983 (main): Implement it.
6984 (parse_opt): Parse it.
bb90b80b 6985
1a4b75a1
AJ
69862012-05-09 Andreas Jaeger <aj@suse.de>
6987
6988 [BZ #14083]
6989 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
6990 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
6991 -Wconversion warning.
6992 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
6993 Likewise.
6994
b1cc2472
JM
69952012-05-09 Joseph Myers <joseph@codesourcery.com>
6996
6997 * conform/data/locale.h-data (NULL): Use macro-constant. Require
6998 == 0.
6999 (LC_ALL): Use macro-int-constant.
7000 (LC_COLLATE): Likewise.
7001 (LC_CTYPE): Likewise.
7002 (LC_MESSAGES): Likewise.
7003 (LC_MONETARY): Likewise.
7004 (LC_NUMERIC): Likewise.
7005 (LC_TIME): Likewise.
7006 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
7007 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7008 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7009 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
7010 Specify type.
7011 [C99-based standards] (float_t): Expect type.
7012 [C99-based standards] (double_t): Expect type.
7013 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
7014 type.
7015 [C99-based standards] (HUGE_VALL): Likewise.
7016 [C99-based standards] (INFINITY): Likewise.
7017 [C99-based standards] (NAN): Likewise.
7018 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
7019 [C99-based standards] (FP_NAN): Likewise.
7020 [C99-based standards] (FP_NORMAL): Likewise.
7021 [C99-based standards] (FP_SUBNORMAL): Likewise.
7022 [C99-based standards] (FP_ZERO): Likewise.
7023 [C99-based standards] (FP_FAST_FMA): Use
7024 optional-macro-int-constant. Specify type. Require == 1.
7025 [C99-based standards] (FP_FAST_FMAF): Likewise.
7026 [C99-based standards] (FP_FAST_FMAL): Likewise.
7027 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
7028 [C99-based standards] (FP_ILOGBNAN): Likewise.
7029 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
7030 Specify type.
7031 [C99-based standards] (MATH_ERREXCEPT): Likewise.
7032 [C99-based standards] (math_errhandling): Specify type.
7033 [ISO99 || ISO11] (signgam): Do not allow.
7034 [non-C99-based standards] (copysignf): Do not allow.
7035 [non-C99-based standards] (exp2f): Likewise.
7036 [non-C99-based standards] (log2f): Likewise.
7037 [non-C99-based standards] (modff): Allow.
7038 [non-C99-based standards] (erff): Do not allow.
7039 [non-C99-based standards] (erfcf): Likewise.
7040 [non-C99-based standards] (gammaf): Likewise.
7041 [non-C99-based standards] (hypotf): Likewise.
7042 [non-C99-based standards] (j0f): Likewise.
7043 [non-C99-based standards] (j1f): Likewise.
7044 [non-C99-based standards] (jnf): Likewise.
7045 [non-C99-based standards] (lgammaf): Likewise.
7046 [non-C99-based standards] (tgammaf): Likewise.
7047 [non-C99-based standards] (y0f): Likewise.
7048 [non-C99-based standards] (y1f): Likewise.
7049 [non-C99-based standards] (ynf): Likewise.
7050 [non-C99-based standards] (isnanf): Likewise.
7051 [non-C99-based standards] (acoshf): Likewise.
7052 [non-C99-based standards] (asinhf): Likewise.
7053 [non-C99-based standards] (atanhf): Likewise.
7054 [non-C99-based standards] (cbrtf): Likewise.
7055 [non-C99-based standards] (expm1f): Likewise.
7056 [non-C99-based standards] (ilogbf): Likewise.
7057 [non-C99-based standards] (log1pf): Likewise.
7058 [non-C99-based standards] (logbf): Likewise.
7059 [non-C99-based standards] (nextafterf): Likewise.
7060 [non-C99-based standards] (remainderf): Likewise.
7061 [non-C99-based standards] (rintf): Likewise.
7062 [non-C99-based standards] (scalbf): Likewise.
7063 [non-C99-based standards] (copysignl): Likewise.
7064 [non-C99-based standards] (exp2l): Likewise.
7065 [non-C99-based standards] (log2l): Likewise.
7066 [non-C99-based standards] (modfl): Allow.
7067 [non-C99-based standards] (erfl): Do not allow.
7068 [non-C99-based standards] (erfcl): Likewise.
7069 [non-C99-based standards] (gammal): Likewise.
7070 [non-C99-based standards] (hypotl): Likewise.
7071 [non-C99-based standards] (j0l): Likewise.
7072 [non-C99-based standards] (j1l): Likewise.
7073 [non-C99-based standards] (jnl): Likewise.
7074 [non-C99-based standards] (lgammal): Likewise.
7075 [non-C99-based standards] (tgammal): Likewise.
7076 [non-C99-based standards] (y0l): Likewise.
7077 [non-C99-based standards] (y1l): Likewise.
7078 [non-C99-based standards] (ynl): Likewise.
7079 [non-C99-based standards] (isnanl): Likewise.
7080 [non-C99-based standards] (acoshl): Likewise.
7081 [non-C99-based standards] (asinhl): Likewise.
7082 [non-C99-based standards] (atanhl): Likewise.
7083 [non-C99-based standards] (cbrtl): Likewise.
7084 [non-C99-based standards] (expm1l): Likewise.
7085 [non-C99-based standards] (ilogbl): Likewise.
7086 [non-C99-based standards] (log1pl): Likewise.
7087 [non-C99-based standards] (logbl): Likewise.
7088 [non-C99-based standards] (nextafterl): Likewise.
7089 [non-C99-based standards] (remainderl): Likewise.
7090 [non-C99-based standards] (rintl): Likewise.
7091 [non-C99-based standards] (scalbl): Likewise.
7092 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7093 [non-C99-based standards] (FP_*): Do not allow.
7094 [C99-based standards] (FP_*): Change to
7095 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7096 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7097 allow.
7098 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
7099 (SIG_ERR): Likewise.
7100 [X/Open-based standards] (SIG_HOLD): Likewise.
7101 (SIG_IGN): Likewise.
7102 (SIGABRT): Use macro-int-constant. Specify type. Require
7103 positive value.
7104 (SIGFPE): Likewise.
7105 (SIGILL): Likewise.
7106 (SIGINT): Likewise.
7107 (SIGSEGV): Likewise.
7108 (SIGTER): Likewise.
7109 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
7110 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
7111 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
7112 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
7113 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
7114 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
7115 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
7116 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
7117 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
7118 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
7119 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
7120 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
7121 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
7122 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
7123 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
7124 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
7125 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
7126 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
7127 [X/Open-based standards] (SIGTRAP): Likewise.
7128 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
7129 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
7130 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
7131 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
7132 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7133 allow.
7134
b9f1922d
IW
71352012-05-08 Ian Wienand <ianw@vmware.com>
7136
7137 [BZ #14080]
7138 * time/tzset.c (__tzset_parse_tz): Update default rules for
7139 daylight time changes in the Energy Policy Act of 2005.
7140
1db86e88
AJ
71412012-05-09 Andreas Jaeger <aj@suse.de>
7142
7143 [BZ #13983]
7144 * elf/ldconfig.c (parse_conf): Change string to make clear that
7145 ldconfig only issued a warning if ld.so.conf does not exist.
7146
dee4a4e3
DM
71472012-05-08 David S. Miller <davem@davemloft.net>
7148
ee0db190
DM
7149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
7150 movxtod instead of popping the value on the stack.
7151
dee4a4e3
DM
7152 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7153
6a43ec98
CD
71542012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
7155
7156 * config.h.in: Add HAVE_ARM_PCS_VFP.
7157
05c2c961
RMG
71582012-05-08 Roland Mc Grath <roland@hack.frob.com>
7159
bcfe3a54
ST
7160 [BZ #13979]
7161 * include/features.h: Warn if user requests __FORTIFY_SOURCE
7162 checking but the checks are disabled for any reason.
05c2c961 7163
4b30f61a
L
71642012-05-08 H.J. Lu <hongjiu.lu@intel.com>
7165
7166 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
7167 and ELF64_R_TYPE with ELFW(R_TYPE).
7168
eee2bc67
JM
71692012-05-08 Joseph Myers <joseph@codesourcery.com>
7170
7ea5391a
JM
7171 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
7172 (ulimit): Likewise.
7173
eee2bc67
JM
7174 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
7175 (settimeofday): Likewise.
7176
abb66a67
MF
71772012-05-08 Mike Frysinger <vapier@gentoo.org>
7178
7179 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
7180 a struct th_u2 inside the union, and move tu_block/tu_code into
7181 a new th_u3 union of tu_block/tu_code inside of that. Move
7182 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
7183 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
7184 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
7185 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
7186 (th_stuff): Change to th_u1.tu_stuff.
7187 (th_data): Define.
7188 (th_msg): Change to th_u1.th_u2.tu_data.
7189
7f18b530
DM
71902012-05-07 David S. Miller <davem@davemloft.net>
7191
05760585
DM
7192 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7193
7f18b530
DM
7194 [BZ #14074]
7195 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
7196 (SETUP_PIC_REG): Use it.
7197 (SETUP_PIC_REG_LEAF): Use it.
7198
495fd99f
JM
71992012-05-07 Joseph Myers <joseph@codesourcery.com>
7200
7201 [BZ #13885]
7202 [BZ #13923]
7203 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7204 USE_AS_EXPM1L.
7205 (EXPL_FINITE): Likewise.
7206 (FLDLOG): Likewise.
7207 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7208 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7209 e_expl.S.
7210 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7211 USE_AS_EXPM1L.
7212 (EXPL_FINITE): Likewise.
7213 (FLDLOG): Likewise.
7214 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7215 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7216 e_expl.S.
7217 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
7218 test of -max_value argument for long double.
7219 * sysdeps/i386/fpu/libm-test-ulps: Update.
7220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7221
6693d694
DM
72222012-05-06 David S. Miller <davem@davemloft.net>
7223
7224 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
7225 quad soft-float symbols whose references which are compiler
7226 generated.
7227 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7228
6c23e11c
JM
72292012-05-06 Joseph Myers <joseph@codesourcery.com>
7230
d8b82cad
JM
7231 [BZ #13884]
7232 [BZ #13914]
7233 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7234 USE_AS_EXP10L.
7235 (EXPL_FINITE): Likewise.
7236 (FLDLOG): Likewise.
7237 (c0): Likewise.
7238 (c1): Likewise.
7239 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7240 Adjust comments for base varying.
7241 (__expl_finite): Change alias to EXPL_FINITE.
7242 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
7243 e_expl.S.
7244 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
7245 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
7246 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
7247 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
7248 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7249 USE_AS_EXP10L.
7250 (EXPL_FINITE): Likewise.
7251 (FLDLOG): Likewise.
7252 (c0): Likewise.
7253 (c1): Likewise.
7254 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7255 Adjust comments for base varying.
7256 (__expl_finite): Change alias to EXPL_FINITE.
7257 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
7258 tests for bugs.
7259 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7260
6c23e11c
JM
7261 [BZ #14064]
7262 * math/libm-test.inc (check_float_internal): Correct ulp
7263 calculation for subnormal expected results.
7264
29ba805c
AJ
72652012-05-06 Andreas Jaeger <aj@suse.de>
7266
7267 * Makeconfig (+math-flags): New, set to -frounding-math.
7268 (+cflags): Add +math-flags so that all of glibc gets compiled with
7269 it.
7270
7271 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
7272
7b17aeda
JM
72732012-05-05 Joseph Myers <joseph@codesourcery.com>
7274
5779f134
JM
7275 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
7276 Disable one test.
7277
41498f4d
JM
7278 [BZ #13787]
7279 [BZ #13922]
7280 [BZ #14036]
7281 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
7282 (__ieee754_expl): Allow for and saturate large arguments.
7283 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
7284 (u_threshold): Likewise.
7285 (__exp): Call __ieee754_exp before checking for overflow and
7286 underflow.
7287 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
7288 (u_threshold): Likewise.
7289 (__expf): Call __ieee754_expf before checking for overflow and
7290 underflow.
7291 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
7292 (u_threshold): Likewise.
7293 (__expl): Call __ieee754_expl before checking for overflow and
7294 underflow.
7295 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
7296 (__ieee754_expl): Allow for and saturate large arguments.
7297 * math/libm-test.inc (exp_test): Add another test. Do not allow
7298 missing overflow exception on overflow.
7299 (expm1_test): Do not allow missing overflow exception on overflow.
7300
6698b8bf
JM
7301 * sysdeps/i386/fpu/e_expl.c: Move to ...
7302 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
7303 rather than using inline asm.
7304 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
7305 * sysdeps/x86_64/fpu/e_expl.S: Copy from
7306 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
7307
7b17aeda
JM
7308 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
7309 (nice): Likewise.
7310 (poll): Likewise.
7311 (signal): Likewise.
7312 (time): Likewise.
7313 (times): Likewise.
7314
f7c85819
JM
73152012-05-04 Joseph Myers <joseph@codesourcery.com>
7316
7317 * sysdeps/unix/syscalls.list (adjtime): Add entry from
7318 sysdeps/unix/common/syscalls.list.
7319 (fchmod): Likewise.
7320 (fchown): Likewise.
7321 (ftruncate): Likewise.
7322 (getrusage): Likewise.
7323 (gettimeofday): Likewise.
7324 (setpgid): Likewise.
7325 (setregid): Likewise.
7326 (setreuid): Likewise.
7327 (sigaction): Likewise.
7328 (truncate): Likewise.
7329 (vhangup): Likewise.
7330 * sysdeps/unix/common/syscalls.list: Remove file.
7331 * sysdeps/unix/bsd/Implies: Don't include unix/common.
7332 * sysdeps/unix/sysv/linux/Implies: Likewise.
7333
336270d0
L
73342012-05-04 H.J. Lu <hongjiu.lu@intel.com>
7335
7336 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
7337 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
7338 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
7339 Moved to ...
7340 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7341 Here.
7342 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
7343 to ...
7344 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
7345 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
7346 to ...
7347 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
7348 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
7349 to ...
7350 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
7351 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
7352 to ...
7353 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
7354 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
7355 to ...
7356 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
7357 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
7358 to ...
7359 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
7360 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
7361 to ...
7362 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7363 Here.
7364 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
7365 to ...
7366 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
7367 Here.
7368 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
7369 to ...
7370 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
7371 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
7372 Moved to ...
7373 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
7374 Here.
7375 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
7376 to ...
7377 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
7378
d128e450
JM
73792012-05-04 Joseph Myers <joseph@codesourcery.com>
7380
fa8ee516
JM
7381 * sysdeps/unix/common/bits/dirent.h: Remove file.
7382 * sysdeps/unix/common/bits/fcntl.h: Likewise.
7383
d128e450
JM
7384 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
7385 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
7386 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
7387 * sysdeps/unix/bsd/isatty.c: Likewise.
7388 * sysdeps/unix/bsd/tcdrain.c: Likewise.
7389 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
7390 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
7391
ff8faaf0 73922012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 7393
62881be4 7394 [BZ #13563]
31dc8730
AZ
7395 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
7396 long double comparison inaccuracies.
7397 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
7398 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7399
6fef930c
AS
74002012-05-04 Andreas Schwab <schwab@linux-m68k.org>
7401
7402 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
7403 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
7404
8f203e6c
JM
74052012-05-04 Joseph Myers <joseph@codesourcery.com>
7406
7407 [BZ #14049]
7408 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
7409 nonzero digits before rounding a hex value.
7410 * stdlib/tst-strtod.c (tests): Add another test.
7411
5197d9c2
AK
74122012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7413
7414 * sysdeps/s390/fpu/libm-test-ulps: Update.
7415
f0c1dedf
AJ
74162012-05-03 Andreas Jaeger <aj@suse.de>
7417
7418 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
7419 does not get optimized out.
7420 (malloc_opt_barrier): New.
7421
a65ef2ae 74222012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 7423 Roland McGrath <roland@hack.frob.com>
a65ef2ae 7424
2b942cb7 7425 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 7426 intermediate file deletion.
2b942cb7 7427 (generated): Add .symlist files.
a65ef2ae 7428
54b71e02
JM
74292012-05-03 Joseph Myers <joseph@codesourcery.com>
7430
7431 [BZ #13775]
7432 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
7433 Redirect under this condition.
7434 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7435 [__USE_GNU] (__dprintf_chk): Not under this condition.
7436 [__USE_GNU] (__vdprintf_chk): Likewise.
7437 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
7438 under this condition.
7439 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7440 [__USE_XOPEN2K8] (dprintf): Define under this condition.
7441 [__USE_XOPEN2K8] (vdprintf): Likewise.
7442 [__USE_GNU] (__dprintf_chk): Not under this condition.
7443 [__USE_GNU] (__vdprintf_chk): Likewise.
7444 [__USE_GNU] (dprintf): Likewise.
7445 [__USE_GNU] (vdprintf): Likewise.
7446
d3dfcc41
RM
74472012-05-03 Roland McGrath <roland@hack.frob.com>
7448
7449 * elf/Makefile (common-generated): Set this instead of generated for
7450 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
7451 $(all-built-dso)-derived lists.
7452
7ac30cc5
AJ
74532012-05-03 Andreas Jaeger <aj@suse.de>
7454
0c51e550
AJ
7455 * sysdeps/i386/fpu/libm-test-ulps: Update.
7456
7ac30cc5
AJ
7457 * FAQ: Removed.
7458 * FAQ.in: Likewise.
7459 * scripts/gen-FAQ.pl: Likewise.
7460 * manual/install.texi (Installation): Point to online location of
7461 FAQ.
7462 * Makefile (files-for-dist): Remove FAQ.
7463 (FAQ): Remove.
7464
d4c2917f
AM
74652012-05-02 Allan McRae <allan@archlinux.org>
7466
7467 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
7468 (LDFLAGS-reldepmod5.so): Likewise.
7469 (LDFLAGS-reldep6mod1.so): Likewise.
7470 (LDFLAGS-reldep6mod4.so): Likewise.
7471 (LDFLAGS-reldep8mod3.so): Likewise.
7472 (LDFLAGS-unload4mod1.so): Likewise.
7473 (LDFLAGS-unload4mod2.so): Likewise.
7474 (LDFLAGS-tst-initorder): Likewise.
7475 (LDFLAGS-tst-initordera2.so): Likewise.
7476 (LDFLAGS-tst-initordera3.so): Likewise.
7477 (LDFLAGS-tst-initordera4.so): Likewise.
7478 (LDFLAGS-tst-initorderb2.so): Likewise.
7479 (LDFLAGS-noload): Likewise.
7480 (LDFLAGS-next): Likewise.
7481 (LDFLAGS-order2mod1.so): Likewise.
7482 (LDFLAGS-order2mod2.so): Likewise.
7483 (LDFLAGS-tst-initorder2): Likewise.
7484 (LDFLAGS-tst-initorder2a.so): Likewise.
7485 (LDFLAGS-tst-initorder2b.so): Likewise.
7486 (LDFLAGS-tst-initorder2c.so): Likewise.
7487 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
7488
d77f993f
DM
74892012-05-02 David S. Miller <davem@davemloft.net>
7490
7491 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7492
171a70b4
PP
74932012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
7494
7495 [BZ #14055]
7496 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
7497
0be196ad
AJ
74982012-05-02 Andreas Jaeger <aj@suse.de>
7499
7500 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
7501 since we manipulate rounding mode.
7502 (CPPFLAGS-test-idouble.c): Likewise.
7503 (CPPFLAGS-test-ifloat.c): Likewise.
7504 (CFLAGS-test-ldouble.c): Likewise.
7505 (CFLAGS-test-double.c): Likewise.
7506 (CFLAGS-test-float.c): Likewise.
7507 (CFLAGS-test-misc.c): Likewise.
7508 (CFLAGS-test-test-fenv.c): Likewise.
7509
4f9d04aa
AZ
75102012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7511
2b942cb7
RM
7512 [BZ #2550]
7513 [BZ #2570]
7514 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
7515 comparisons to determine direction to adjust input.
4f9d04aa 7516
82a79e7d
RM
75172012-05-01 Roland McGrath <roland@hack.frob.com>
7518
f5a01ca9
RM
7519 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
7520 output to the target.
7521
90fe4186
RM
7522 * scripts/localplt.awk: New file.
7523 * elf/Makefile ($(objpfx)check-localplt): Target removed.
7524 (check-localplt-CFLAGS): Variable removed.
7525 ($(all-built-dso:=.jmprel)): New static pattern rule.
7526 (generated): Add those targets.
7527 (localplt-built-dso): New variable.
7528 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
7529
7530 * elf/check-localplt.c: File removed.
7531
82397ed6
RM
7532 * scripts/check-execstack.awk: New file.
7533 * elf/Makefile ($(objpfx)check-execstack): Target removed.
7534 (check-execstack-CFLAGS): Variable removed.
7535 ($(objpfx)check-execstack.h): Target removed.
7536 ($(objpfx)execstack-default): New target.
7537 (generated): Add that instead of check-execstack.h.
7538 ($(all-built-dso:=.phdr)): New static pattern rule.
7539 (generated): Add those targets.
7540 * elf/check-execstack.c: File removed.
7541
82a79e7d
RM
7542 * scripts/check-textrel.awk: New file.
7543 * elf/Makefile ($(objpfx)check-textrel): Target removed.
7544 (check-textrel-CFLAGS): Variable removed.
7545 (all-built-dso): Use := to define.o
7546 ($(all-built-dso:=.dyn)): New static pattern rule.
7547 (generated): Add those targets.
7548 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
7549 * config.make.in (READELF): New substituted variable.
7550 * elf/check-textrel.c: File removed.
7551
62fde54f 75522012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 7553
615605c9
JM
7554 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7555 allow.
7556 * conform/data/ctype.h-data [C99-based standards] (isblank):
7557 Expect function.
7558 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
7559 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
7560 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7561 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
7562 Specify type. Require positive value.
7563 (EILSEQ): Likewise.
7564 (ERANGE): Likewise.
7565 [ISO || POSIX] (EILSEQ): Do not expect.
7566 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
7567 Specify type. Require positive value.
7568 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
7569 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
7570 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
7571 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
7572 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
7573 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
7574 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
7575 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
7576 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
7577 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
7578 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
7579 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
7580 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
7581 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
7582 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
7583 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
7584 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
7585 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
7586 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
7587 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
7588 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
7589 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
7590 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
7591 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
7592 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
7593 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
7594 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
7595 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
7596 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
7597 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
7598 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
7599 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
7600 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
7601 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
7602 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
7603 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
7604 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
7605 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
7606 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
7607 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
7608 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
7609 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
7610 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
7611 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
7612 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
7613 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
7614 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
7615 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
7616 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
7617 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
7618 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
7619 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
7620 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
7621 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
7622 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
7623 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
7624 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
7625 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
7626 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
7627 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
7628 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
7629 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
7630 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
7631 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
7632 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
7633 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
7634 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
7635 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
7636 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
7637 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
7638 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
7639 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
7640 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
7641 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
7642 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
7643 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
7644 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
7645 Require >= 2.
7646 (FLT_ROUNDS): Expect as macro, not constant.
7647 (FLT_MANT_DIG): Use macro-int-constant.
7648 (DBL_MANT_DIG): Likewise.
7649 (LDBL_MANT_DIG): Likewise.
7650 (FLT_DIG): Likewise.
7651 (DBL_DIG): Likewise.
7652 (LDBL_DIG): Likewise.
7653 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
7654 (DBL_MIN_EXP): Likewise.
7655 (LDBL_MIN_EXP): Likewise.
7656 (FLT_MAX_EXP): Use macro-int-constant.
7657 (DBL_MAX_EXP): Likewise.
7658 (LDBL_MAX_EXP): Likewise.
7659 (FLT_MAX_10_EXP): Likewise.
7660 (DBL_MAX_10_EXP): Likewise.
7661 (LDBL_MAX_10_EXP): Likewise.
7662 (FLT_MAX): Use macro-constant.
7663 (DBL_MAX): Likewise.
7664 (LDBL_MAX): Likewise.
7665 (FLT_EPSILON): Use macro-constant. Give upper bound.
7666 (DBL_EPSILON): Likewise.
7667 (LDBL_EPSILON): Likewise.
7668 (FLT_MIN): Likewise.
7669 (DBL_MIN): Likewise.
7670 (LDBL_MIN): Likewise.
7671 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
7672 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
7673 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
7674 [ISO11] (FLT_HAS_SUBNORM): Likewise.
7675 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
7676 [ISO11] (DBL_DECIMAL_DIG): Likewise.
7677 [ISO11] (FLT_DECIMAL_DIG): Likewise.
7678 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
7679 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
7680 [ISO11] (FLT_TRUE_MIN): Likewise.
7681 [ISO11] (LDBL_TRUE_MIN): Likewise.
7682 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7683 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
7684 (SCHAR_MIN): Use macro-int-constant. Specify type.
7685 (SCHAR_MAX): Likewise.
7686 (UCHAR_MAX): Likewise.
7687 (CHAR_MIN): Likewise.
7688 (CHAR_MAX): Likewise.
7689 (MB_LEN_MAX): Use macro-int-constant.
7690 (SHRT_MIN): Use macro-int-constant. Specify type.
7691 (SHRT_MAX): Likewise.
7692 (USHRT_MAX): Likewise.
7693 (INT_MAX): Likewise.
7694 (INT_MIN): Use macro-int-constant. Specify type. Make upper
7695 bound negative.
7696 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
7697 bound with "U".
7698 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7699 bound with "L".
7700 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
7701 bound negative. Suffix upper bound with "L".
7702 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7703 bound with "UL".
7704 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
7705 Specify type.
7706 [C99-based standards] (LLONG_MAX): Likewise.
7707 [C99-based standards] (ULLONG_MAX): Likewise.
7708 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
7709 == 0.
7710 [ISO11] (max_align_t): Require type.
7711 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7712
c9140a62
JM
7713 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
7714 from $CFLAGS, without defining away __attribute__ calls.
7715 (checknamespace): Use $CFLAGS_namespace.
7716
9af0bf29
JM
7717 * conform/conformtest.pl (@keywords): Only include C99 keywords
7718 for standards based on C99 or C11.
7719
343222a2
JM
7720 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
7721 Disable tests.
7722 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
7723 UNIX98]: Likewise.
7724
661f8cf0
JM
7725 * conform/conformtest.pl: Handle "macro-int-constant" and test for
7726 usability of symbols in #if.
7727
ee74b9cb
JM
7728 * conform/conformtest.pl: If macro or constant types start
7729 "promoted:", expect the symbol to be of the following type
7730 promoted by the integer promotions.
62fde54f 7731
aafc49b3
JM
7732 * conform/conformtest.pl: Parse all "constant" and "macro" lines
7733 in one place. Also handle "macro-constant".
7734
fefdf574
JM
7735 * conform/conformtest.pl: Only accept expected macro values with
7736 "==". Parse all "macro" lines in one place.
7737 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
7738
f2d922fe
JM
7739 * conform/conformtest.pl: Handle braced types on "constant" lines
7740 instead of handling "typed-constant".
7741 * conform/data/signal.h-data: Use "constant" instead of
7742 "typed-constant".
7743
d22956c9
JM
7744 * conform/conformtest.pl: Handle "optional-" at start of lines in
7745 one place rather than duplicating several cases. Handle each
7746 format of "macro" line with initial "optional-".
7747
028e2e38
JM
7748 * conform/conformtest.pl: Only accept expected constant or
7749 optional-constant values with "==". Parse all "constant" lines in
7750 one place. Parse all "optional-constant" lines in one place.
7751 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
7752 * conform/data/fmtmsg.h-data: Likewise.
7753 * conform/data/netinet/in.h-data: Likewise.
7754 * conform/data/tar.h-data: Likewise.
7755 * conform/data/limits.h-data: Use "==" form on "constant" and
7756 "optional-constant" lines.
7757
1b8f2850
JM
7758 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
7759 Use -std=c99 for XOPEN2K.
7760 (@knownproblems): Remove.
7761 (newtoken): Don't check %isknown.
7762
a05a144b
JM
7763 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
7764 Do not expect macro.
7765 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
7766 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
7767 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
7768 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
7769 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
7770 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
7771 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
7772 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
7773 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
7774 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
7775 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
7776 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
7777 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
7778 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
7779 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
7780 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
7781 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
7782 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
7783 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
7784 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
7785 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
7786 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
7787 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
7788 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
7789 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
7790 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
7791 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
7792 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
7793 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
7794 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
7795 [XPG3] (acosh): Likewise.
7796 [XPG3] (asinh): Likewise.
7797 [XPG3] (atanh): Likewise.
7798 [XPG3] (cbrt): Likewise.
7799 [XPG3] (expm1): Likewise.
7800 [XPG3] (ilogb): Likewise.
7801 [XPG3] (log1p): Likewise.
7802 [XPG3] (logb): Likewise.
7803 [XPG3] (nextafter): Likewise.
7804 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
7805 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
7806 [XPG3] (remainder): Likewise.
7807 [XPG3] (rint): Likewise.
7808 [XPG3 || XPG4 || UNIX98] (round): Likewise.
7809 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
7810 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
7811 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
7812 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
7813 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
7814 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
7815 [UNIX98 || XOPEN2K] (scalb): Expect.
7816 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
7817 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
7818 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
7819 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
7820 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
7821 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
7822 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
7823 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
7824 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
7825 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
7826 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
7827 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
7828 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
7829 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
7830 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
7831 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
7832 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
7833 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
7834 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
7835 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
7836 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
7837 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
7838 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
7839 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
7840 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
7841 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
7842 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
7843 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
7844 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
7845 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
7846 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
7847 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
7848 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
7849 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
7850 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
7851 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
7852 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
7853 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
7854 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
7855 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
7856 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
7857 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
7858 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
7859 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
7860 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
7861 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
7862 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
7863 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
7864 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
7865 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
7866 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
7867 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
7868 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
7869 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
7870 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
7871 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
7872 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
7873 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
7874 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
7875 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
7876 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
7877 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
7878 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
7879 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
7880 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
7881 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
7882 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
7883 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
7884 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
7885 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
7886 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
7887 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
7888 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
7889 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
7890 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
7891 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
7892 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
7893 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
7894 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
7895 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
7896 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
7897 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
7898 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
7899 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
7900 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
7901 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
7902 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
7903 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
7904 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
7905 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
7906 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
7907 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
7908 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
7909 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
7910 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
7911 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
7912 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
7913 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
7914 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
7915 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
7916 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
7917 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
7918 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
7919 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
7920 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
7921 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
7922 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
7923 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
7924 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
7925 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
7926 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
7927 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
7928 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
7929 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
7930 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
7931 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
7932 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
7933 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
7934 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
7935 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
7936 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
7937 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
7938 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
7939 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
7940 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
7941 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
7942 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
7943 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
7944 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
7945 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
7946 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
7947 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
7948 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
7949 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
7950 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
7951 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
7952 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
7953
73c5ebe3
JM
7954 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
7955 _XOPEN_SOURCE_EXTENDED for XPG4.
7956
39c33b6c
JM
7957 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
7958
62fde54f
JM
7959 * Makeconfig (localtime): Remove variable.
7960 (inst_localtime-file): Likewise.
7961
0741d64c
AS
79622012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7963
7964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7965 Update.
7966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7967 Update.
7968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7969 Update.
7970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7971 Update.
7972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7973 Update.
7974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
7975 Update.
7976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7977 Update.
7978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
7979 Update.
7980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7981 Update.
7982
7cb029ee
JM
79832012-05-01 Joseph Myers <joseph@codesourcery.com>
7984
7985 [BZ #2550]
7986 [BZ #2570]
7987 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
7988 comparisons to determine direction to adjust input.
7989 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7990 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
7991 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
7992 Likewise.
7993 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
7994 Likewise.
7995 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7996 Likewise.
7997 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
7998 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7999 Likewise.
8000 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
8001 Likewise.
8002 * math/libm-test.inc (nexttoward_test): Add more tests.
8003
412bd966
AS
80042012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8005
8006 [BZ #14040]
8007 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
8008 in version GLIBC_2.1, not GLIBC_2.0.
8009 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
8010 Likewise.
8011
9568c0c2
JM
80122012-04-30 Joseph Myers <joseph@codesourcery.com>
8013
adfbc8ac
JM
8014 [BZ #13942]
8015 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
8016 (1 - x) * (1 + x).
8017 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8018 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
8019 * math/libm-test.inc (acos_test): Add more tests.
8020 (asin_test): Likewise.
8021 * sysdeps/i386/fpu/libm-test-ulps: Update.
8022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8023
5ba3cc69
JM
8024 [BZ #14034]
8025 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
8026 of square root.
8027 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
8028 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8029 * math/libm-test.inc (acos_test_tonearest): New function.
8030 (acos_test_towardzero): Likewise.
8031 (acos_test_downward): Likewise.
8032 (acos_test_upward): Likewise.
8033 (asin_test_tonearest): Likewise.
8034 (asin_test_towardzero): Likewise.
8035 (asin_test_downward): Likewise.
8036 (asin_test_upward): Likewise.
8037 (main): Call the new functions.
8038 * sysdeps/i386/fpu/libm-test-ulps: Update.
8039 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8040
9568c0c2
JM
8041 [BZ #13884]
8042 [BZ #13924]
8043 * math/e_exp10.c: Include <float.h>.
8044 (__ieee754_exp10): Handle underflow here rather than multiplying
8045 large negative argument by M_LN10.
8046 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
8047 of __ieee754_expf.
8048 * math/e_exp10l.c: Include <float.h>.
8049 (__ieee754_exp10l): Handle underflow here rather than multiplying
8050 large negative argument by M_LN10l.
8051 * math/libm-test.inc (exp10_test): Add another test. Do not allow
8052 spurious overflow exception on underflow.
8053
5ac3ea17
MP
80542012-04-29 Marek Polacek <polacek@redhat.com>
8055
8056 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
8057 (__fortify_function): New macro.
8058 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
8059 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
8060 __extern_always_inline.
8061 * libio/bits/stdio2.h: Likewise.
8062 * libio/bits/stdio.h: Likewise.
8063 * string/string.h: Likewise.
8064 * string/bits/string3.h: Likewise.
8065 * include/stdio.h: Likewise.
8066 * stdlib/bits/stdlib.h: Likewise.
8067 * stdlib/stdlib.h: Likewise.
8068 * rt/bits/mqueue2.h: Likewise.
8069 * rt/mqueue.h: Likewise.
8070 * posix/bits/unistd.h: Likewise.
8071 * posix/unistd.h: Likewise.
8072 * io/bits/poll2.h: Likewise.
8073 * io/bits/fcntl2.h: Likewise.
8074 * io/fcntl.h: Likewise.
8075 * io/sys/poll.h: Likewise.
8076 * misc/bits/syslog.h: Likewise.
8077 * misc/bits/syslog-ldbl.h: Likewise.
8078 * misc/sys/syslog.h: Likewise.
8079 * socket/bits/socket2.h: Likewise.
8080 * socket/sys/socket.h: Likewise.
8081 * debug/tst-chk1.c: Likewise.
8082 * wcsmbs/bits/wchar2.h: Likewise.
8083 * wcsmbs/bits/wchar-ldbl.h: Likewise.
8084 * wcsmbs/wchar.h: Likewise.
8085
ecf0ebfb
AJ
80862012-04-29 Andreas Jaeger <aj@suse.de>
8087
8088 * Makerules (tests): Remove enable-check-abi protection.
8089 (check-abi-warn): Remove.
8090 (check-abi-%): Remove check-abi-warn usage.
8091
8092 * configure.in: Remove check-abi configure option.
8093 * configure: Regenerated.
8094 * config.make.in (enable-check-abi): Remove.
8095
6d5c57fa
AS
80962012-04-28 Andreas Schwab <schwab@linux-m68k.org>
8097
24c5d07e 8098 [BZ #14033]
ded5180a
AS
8099 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
8100 double functions to double *_finite functions.
8101
7e0d315d
AS
8102 [BZ #13941]
8103 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
8104 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
8105 LDBL_MIN_EXP.
8106 * stdio-common/Makefile (tests): Add tst-sprintf3.
8107 * stdio-common/tst-sprintf3.c: New file.
8108
6d5c57fa
AS
8109 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
8110 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
8111
0749ff8b
JM
81122012-04-28 Joseph Myers <joseph@codesourcery.com>
8113
8114 * conform/conformtest.pl: Remove duplicate typed-constant
8115 handling.
8116
8dbd5d7b
DM
81172012-04-28 David S. Miller <davem@davemloft.net>
8118
8119 * Makerules (%.abilist): Add vpath on sysdep_dirs.
8120 (check-abi-%): Remove AWK script prerequisite and explicit
8121 abilist directory.
8122 (check-abi): Rewrite to just diff the symlist with the abilist.
8123 (config-tls, config-abi-config): Delete, no longer used.
8124 (update-abi-%): Remove AWK script and explicit abilist directory.
8125 (update-abi): Rewrite to simply compare and conditionally copy the
8126 symlist and the sysdep abilist file. Remove update-abi-config
8127 checks.
8128 * abilist/ld.abilist: Remove.
8129 * abilist/libBrokenLocale.abilist: Remove.
8130 * abilist/libanl.abilist: Remove.
8131 * abilist/libcrypt.abilist: Remove.
8132 * abilist/libdl.abilist: Remove.
8133 * abilist/librt.abilist: Remove.
8134 * abilist/libthread_db.abilist: Remove.
8135 * abilist/libutil.abilist: Remove.
8136 * scripts/extract-abilist.awk: Remove.
8137 * scripts/merge-abilist.awk: Remove.
8138 * sysdeps/generic/libcidn.abilist: New file.
8139 * sysdeps/generic/libnss_compat.abilist: New file.
8140 * sysdeps/generic/libnss_db.abilist: New file.
8141 * sysdeps/generic/libnss_dns.abilist: New file.
8142 * sysdeps/generic/libnss_files.abilist: New file.
8143 * sysdeps/generic/libnss_hesiod.abilist: New file.
8144 * sysdeps/generic/libnss_nis.abilist: New file.
8145 * sysdeps/generic/libnss_nisplus.abilist: New file.
8146 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
8147 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
8148 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
8149 file.
8150 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
8151 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
8152 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
8153 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
8154 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
8155 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
8156 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
8157 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
8158 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
8159 file.
8160 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
8161 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
8162 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
8163 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
8164 file.
8165 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
8166 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
8167 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
8168 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
8169 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
8170 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
8171 file.
8172 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
8173 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
8174 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
8175 file.
8176 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
8177 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
8178 New file.
8179 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
8180 New file.
8181 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
8182 New file.
8183 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
8184 New file.
8185 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
8186 New file.
8187 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
8188 New file.
8189 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
8190 New file.
8191 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
8192 New file.
8193 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
8194 New file.
8195 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
8196 New file.
8197 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
8198 New file.
8199 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
8200 New file.
8201 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
8202 New file.
8203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
8204 file.
8205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8206 New file.
8207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8208 New file.
8209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
8210 file.
8211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8212 New file.
8213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8214 New file.
8215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
8216 file.
8217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8218 New file.
8219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8220 New file.
8221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8222 New file.
8223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8224 New file.
8225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8226 New file.
8227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8228 New file.
8229 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
8230 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
8231 file.
8232 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8233 New file.
8234 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
8235 file.
8236 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
8237 file.
8238 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
8239 file.
8240 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
8241 file.
8242 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
8243 file.
8244 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8245 New file.
8246 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
8247 file.
8248 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
8249 file.
8250 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8251 New file.
8252 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
8253 file.
8254 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
8255 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
8256 file.
8257 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8258 New file.
8259 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
8260 file.
8261 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
8262 file.
8263 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
8264 file.
8265 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
8266 file.
8267 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
8268 file.
8269 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8270 New file.
8271 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
8272 file.
8273 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
8274 file.
8275 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8276 New file.
8277 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
8278 file.
8279 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8280 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
8281 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
8282 file.
8283 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
8284 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
8285 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
8286 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
8287 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
8288 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
8289 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
8290 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
8291 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
8292 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
8293 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
8294 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
8295 file.
8296 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8297 New file.
8298 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
8299 file.
8300 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
8301 file.
8302 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
8303 file.
8304 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
8305 file.
8306 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
8307 file.
8308 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8309 New file.
8310 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8311 New file.
8312 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
8313 file.
8314 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8315 New file.
8316 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
8317 file.
8318 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
8319 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
8320 file.
8321 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8322 New file.
8323 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
8324 file.
8325 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
8326 file.
8327 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
8328 file.
8329 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
8330 file.
8331 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
8332 file.
8333 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8334 New file.
8335 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8336 New file.
8337 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
8338 file.
8339 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8340 New file.
8341 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
8342 file.
8343
41d73a1b
JM
83442012-04-28 Joseph Myers <joseph@codesourcery.com>
8345
8346 * conform/conformtest.pl: Fix typo in handling typed-constant from
8347 allow-header.
8348
28aeeda4
JM
83492012-04-27 Joseph Myers <joseph@codesourcery.com>
8350
adae8f5e
JM
8351 * README: Cut down references to pre-2.6 Linux kernels and
8352 Linuxthreads. Update lists of configurations in libc and ports
8353 and sort alphabetically. Say "or newer" with Linux kernel version
8354 requirements.
8355
28aeeda4
JM
8356 * config.h.in [IS_IN_build]: Allow compiling without optimization.
8357
a462cb63
RA
83582012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8359
8360 [BZ #887]
8361 * math/libm-test.inc (logb_test_downward): New test to expose
8362 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
8363 rounding mode.
8364
6ad3493e
JM
83652012-04-27 Joseph Myers <joseph@codesourcery.com>
8366
8367 [BZ #14027]
8368 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
8369 to be done.
8370 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
8371 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
8372
2ce4f015
JM
83732012-04-26 Joseph Myers <joseph@codesourcery.com>
8374
5aeb141a
JM
8375 * sysdeps/unix/i386/brk.S: Remove file.
8376 * sysdeps/unix/i386/dl-brk.S: Likewise.
8377 * sysdeps/unix/i386/pipe.S: Likewise.
8378 * sysdeps/unix/i386/sigreturn.S: Likewise.
8379 * sysdeps/unix/i386/syscall.S: Likewise.
8380 * sysdeps/unix/i386/vfork.S: Likewise.
8381 * sysdeps/unix/i386/wait.S: Likewise.
8382
7143acae
JM
8383 * sysdeps/unix/common/tcsendbrk.c: Move to ...
8384 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
8385
2ce4f015
JM
8386 * configure.in (arm*-none*): Do not allow without
8387 --enable-hacker-mode.
8388 (netbsd*): Remove case setting base_os.
8389 (386bsd*): Likewise.
8390 (freebsd*): Likewise.
8391 (bsdi*): Likewise.
8392 (osf*): Likewise.
8393 (sunos*): Likewise.
8394 (ultrix*): Likewise.
8395 (newsos*): Likewise.
8396 (dynix*): Likewise.
8397 (*bsd*): Likewise.
8398 (sysv*): Likewise.
8399 (isc*): Likewise.
8400 (esix*): Likewise.
8401 (sco*): Likewise.
8402 (minix*): Likewise.
8403 (irix4*): Likewise.
8404 (irix6*): Likewise.
8405 (solaris[2-9]*): Likewise.
8406 (none): Likewise.
8407 * configure: Regenerated.
8408
0ac229c8
AZ
84092012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8410
8411 [BZ #11521]
8412 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
8413 overflow or cancellation in calculating denominator.
8414 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
8415 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
8416 down expression to avoid unexpected rounding in newer GCCs.
8417 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
8418
33f244f4
DM
84192012-04-26 David S. Miller <davem@davemloft.net>
8420
8421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
8422 long-double compat symbols.
8423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
8427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8428 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
8429 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
8430 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
8431 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
8432 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
8433 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
8434 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
8435 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8436
cfa1f3e8
DM
84372012-04-25 David S. Miller <davem@davemloft.net>
8438
8439 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
8440 HWCAP_* values only after the memory barriers have been defined.
8441 (atomic_full_barrier): Define.
8442 (atomic_read_barrier): Define.
8443 (atomic_write_barrier): Define.
8444
6e236b92
SP
84452012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8446
8447 * shlib-versions: Add libgcc_s version information.
8448 * sysdeps/generic/libgcc_s.h: Remove.
8449 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
8450 libgcc_s.h.
8451 * sysdeps/gnu/unwind-resume.c: Likewise.
8452 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
8453
aab39a09
DM
84542012-04-25 David S. Miller <davem@davemloft.net>
8455
8456 * sysdeps/unix/sparc/brk.S: Delete.
8457 * sysdeps/unix/sparc/dl-brk.S: Delete.
8458 * sysdeps/unix/sparc/pipe.S: Delete.
8459 * sysdeps/unix/sparc/sysdep.S: Delete.
8460 * sysdeps/unix/sparc/sysdep.h: Delete.
8461 * sysdeps/unix/sparc/vfork.S: Delete.
8462 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
8463 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
8464 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
8465 ret_ERRVAL, r0, r1, MOVE): Define.
8466 (JUMPTARGET): Remove.
8467 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
8468 sysdeps/unix/sparc/sysdep.h
8469 (ENTRY, END): Remove.
8470 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8471
a3cc4f48
JM
84722012-04-25 Joseph Myers <joseph@codesourcery.com>
8473
2ed8cda2
JM
8474 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
8475 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
8476 -DIS_IN_build.
8477
35d76d59
JM
8478 * timezone/README: Update upstream location and email address for
8479 tzcode and tzdata.
8480 * timezone/zdump.c: Update from tzcode 2012b.
8481 * timezone/zic.c: Likewise.
8482
a3cc4f48
JM
8483 * configure.in (libc_cv_as_needed): Remove test.
8484 * configure: Regenerated.
8485 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
8486 conditional definition.
8487 [$(have-as-needed) != yes] (no-as-needed): Likewise.
8488 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
8489 * config.make.in (have-as-needed): Remove variable.
8490
ceab42c3
SP
84912012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8492 Paul Pluzhnikov <ppluzhnikov@google.com>
8493
8494 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
8495 strings correctly.
8496
3ce2865f
CLT
84972012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
8498
8499 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
8500 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
8501 * sysdeps/sh/strlen.S: Likewise.
8502
f37e0d68
JM
85032012-04-24 Joseph Myers <joseph@codesourcery.com>
8504
ae186e9a
JM
8505 * sysdeps/unix/fork.S: Remove file.
8506 * sysdeps/unix/i386/fork.S: Likewise.
8507 * sysdeps/unix/sparc/fork.S: Likewise.
8508
b96914af
JM
8509 * sysdeps/unix/system.c: Remove file.
8510 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
8511
f37e0d68
JM
8512 * sysdeps/unix/getegid.S: Remove file.
8513 * sysdeps/unix/geteuid.S: Likewise.
8514
87ef29ca
RM
85152012-04-24 Roland McGrath <roland@hack.frob.com>
8516
83bcd236
RM
8517 * scripts/check-localplt.awk: New file.
8518 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
8519 of diff.
8520 * scripts/data/localplt-generic.data: Add a comment.
8521
87ef29ca
RM
8522 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
8523 NODE when __dir_mkfile failed.
8524 * sysdeps/mach/hurd/symlinkat.c: Likewise.
8525 Reported by Ludovic Courtès <ludo@gnu.org>.
8526
e5a6e567
AJ
85272012-04-24 Andreas Jaeger <aj@suse.de>
8528
8529 * Makerules (common-clean): Also remove gen-as-const-headers
8530 files.
8531
c1820385
JM
85322012-04-24 Joseph Myers <joseph@codesourcery.com>
8533
8534 * Makerules (native-compile): Do not change working directory for
8535 build. Use $(OUTPUT_OPTION) in command.
8536 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
8537
94e02fc4
AZ
85382012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8539
8540 [BZ #13886]
8541 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
8542 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
8543 * math/libm-test.inc (floor_test): Add more tests.
8544 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
8545
3a533ca3
JM
85462012-04-24 Joseph Myers <joseph@codesourcery.com>
8547
940ab4b3
JM
8548 * sysdeps/unix/getdents.c: Remove file.
8549 * sysdeps/unix/sysv/getdents.c: Likewise.
8550 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
8551
90e037bd
JM
8552 * sysdeps/unix/syscalls.list (madvise): Add syscall from
8553 sysdeps/unix/mman/syscalls.list.
8554 (mmap): Likewise.
8555 (mprotect): Likewise.
8556 (msync): Likewise.
8557 (munmap): Likewise.
8558 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
8559 * sysdeps/unix/mman/syscalls.list: Remove.
8560 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
8561
3a533ca3
JM
8562 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
8563 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
8564 * configure: Regenerated.
8565 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
8566 $(libgcc_s_suffix).
8567 * config.make.in (libgcc_s_suffix): Remove variable.
8568
1ad743de
JM
85692012-04-23 Joseph Myers <joseph@codesourcery.com>
8570
4ad451e2
JM
8571 * sysdeps/unix/sysv/gethostname.c: Move to ...
8572 * sysdeps/posix/gethostname.c: ... here.
8573
5e37ce39
JM
8574 * sysdeps/unix/execve.S: Remove file.
8575
1ad743de
JM
8576 * sysdeps/unix/_exit.S: Remove file.
8577
4e681b5b
AJ
85782012-04-23 Andreas Jaeger <aj@suse.de>
8579
8580 [BZ #13739]
8581 * manual/Makefile: Remove make dist support, there's no
8582 need for a stand-alone documentation tar ball.
8583 (TEXI2DVI): Define always, it's not in Makeconfig.
8584 (dist): Removed.
8585 (tar-it): Removed.
8586 (edition): Removed.
8587 (glibc-doc-$(edition).tar): Removed
8588 (%.Z): Removed.
8589 (%.gz): Removed.
8590 (%.uu): Removed.
8591 (ETAGS): Remove, it's in Makeconfig.
8592 (move-if-change): Remove, it's in Makeconfig.
8593
c0baea34
PE
85942013-04-23 Paul Eggert <eggert@cs.ucla.edu>
8595
8596 [BZ #13970]
8597 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
8598 (strtod, strtof, strtold, strtol, strtoul, strtoq)
8599 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
8600 (strtod_l, strtof_l, strtold_l): Remove __wur.
8601 It is not necessarily an error to ignore strtol's return value.
8602 One can reliably look at the stored endptr to decide whether
8603 the number had valid syntax.
8604
7c0616fa
AJ
86052012-04-21 Andreas Jaeger <aj@suse.de>
8606
803cb6b7 8607 [BZ #13739]
7c0616fa
AJ
8608 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
8609
b0fe253f
JM
86102012-04-21 Joseph Myers <joseph@codesourcery.com>
8611
8612 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
8613 * sysdeps/unix/sysv/Versions: Remove file.
8614
8280f22d
MT
86152012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
8616
8617 [BZ #13927]
8618 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8619
75ce411f 86202012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
8621
8622 [BZ #7064]
8623 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
8624 version from __vm86.
8625
097d59fa
JM
86262012-04-20 Joseph Myers <joseph@codesourcery.com>
8627
a90f3bcb
JM
8628 * sysdeps/unix/common/lxstat.c: Remove file.
8629 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
8630
edc7ea78
JM
8631 * sysdeps/unix/sysv/Makefile: Remove file.
8632
cb78c221
JM
8633 * sysdeps/unix/sysv/direct.h: Remove file.
8634
efa6a45f
JM
8635 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
8636 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
8637 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
8638 * sysdeps/unix/sysv/bits/signum.h: Likewise.
8639 * sysdeps/unix/sysv/bits/stat.h: Likewise.
8640 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
8641 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
8642
9c9f2d0c
JM
8643 * sysdeps/unix/sysv/setrlimit.c: Remove file.
8644
4541c83b
JM
8645 * sysdeps/unix/xmknod.c: Remove file.
8646 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
8647
f5d153a0
JM
8648 * sysdeps/unix/sysv/settimeofday.c: Remove file.
8649
aa746595
JM
8650 * sysdeps/unix/sysv/i386/time.S: Remove file.
8651
cce5905e
JM
8652 * sysdeps/unix/fxstat.c: Remove file.
8653 * sysdeps/unix/xstat.c: Likewise.
8654 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
8655
37fa3841
JM
8656 * sysdeps/unix/sysv/sigaction.c: Remove file.
8657
ff1962a3
JM
8658 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
8659 (sysdep_headers): Remove variable.
8660 [termio.h not in sysdep_headers] (generated): Likewise.
8661 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
8662 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
8663 * sysdeps/unix/sysv/tcdrain.c: Likewise.
8664 * sysdeps/unix/sysv/tcflow.c: Likewise.
8665 * sysdeps/unix/sysv/tcflush.c: Likewise.
8666 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
8667 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
8668 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
8669 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
8670 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
8671
e7740d31
JM
8672 * sysdeps/unix/siglist.c: Remove file.
8673
ee06f18b
JM
8674 * sysdeps/unix/getppid.S: Remove file.
8675
097d59fa
JM
8676 * sysdeps/unix/mkdir.c: Remove file.
8677 * sysdeps/unix/rmdir.c: Likewise.
8678
ff3d51ec
AS
86792012-04-19 Andreas Schwab <schwab@linux-m68k.org>
8680
8681 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
8682 ERR_MAX value.
8683 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
8684 errlist-compat value.
8685
50f81fd7
DM
86862012-04-18 David S. Miller <davem@davemloft.net>
8687
8688 * sysdeps/generic/memcopy.h (reg_char): Delete.
8689 * debug/strcat_chk.c: Use char, not reg_char.
8690 * debug/strcpy_chk.c: Likewise.
8691 * debug/strncat_chk.c: Likewise.
8692 * debug/strncpy_chk.c: Likewise.
8693 * string/memchr.c: Likewise.
8694 * string/memrchr.c: Likewise.
8695 * string/rawmemchr.c: Likewise.
8696 * string/strcat.c: Likewise.
8697 * string/strchr.c: Likewise.
8698 * string/strchrnul.c: Likewise.
8699 * string/strcmp.c: Likewise.
8700 * string/strcpy.c: Likewise.
8701 * string/strncat.c: Likewise.
8702 * string/strncmp.c: Likewise.
8703 * string/strncpy.c: Likewise.
8704
8ff41c46
WS
87052012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8706
8707 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
8708 __builtin_memcopy is called when src and dest ranges are known to not
8709 overlap.
8710
6b652f46
WS
87112012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8712
8713 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
8714 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
8715 fwd_align_merge macro call.
8716 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
8717 bwd_align_merge macro call.
8718 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8719
b282631e
WS
87202012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8721
8722 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
8723 bwd_align_merge macros.
8724 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
8725 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
8726 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8727
95aa737c
DM
87282012-04-18 David S. Miller <davem@davemloft.net>
8729
8730 * sysdeps/sparc/sparc64/memcopy.h: Delete.
8731
7a99a614
AJ
87322012-04-18 Andreas Jaeger <aj@suse.de>
8733
8734 [BZ# 6794]
8735 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
8736 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
8737 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8738
8739 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
8740 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
8741 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8742
8743 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
8744 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
8745 Adjust for changed ldbl-128 files.
8746
8747 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
8748 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
8749 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8750
e5270c23
DM
87512012-04-17 David S. Miller <davem@davemloft.net>
8752
8753 * sysdeps/sparc/sparc32/memcopy.h: Delete.
8754
fb5e92c9
AS
87552012-04-17 Andreas Schwab <schwab@linux-m68k.org>
8756
8757 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
8758 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
8759 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
8760 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
8761 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8762 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
8763
76da7265
AZ
87642012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8765
8766 [BZ #6794]
8767 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
8768 * math/libm-test.inc: Add ilogb errno and exception tests.
8769 * math/w_ilogb.c: New file: ilogb wrapper.
8770 * math/w_ilogbf.c: New file: ilogbf wrapper.
8771 * math/w_ilogbl.c: New file: ilogbl wrapper.
8772 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
8773 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
8774 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
8775 exception being thrown with 0.0 as argument.
8776 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
8777 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
8778 exception being thrown with 0.0 as argument.
8779 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
8780 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8781 exception being thrown with 0.0 as argument.
8782 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
8783 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8784 exception being thrown with 0.0 as argument.
8785 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
8786 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 8787 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
8788 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
8789 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
8790 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
8791 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
8792 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
8793 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
8794
0396e69d
PB
87952012-04-17 Petr Baudis <pasky@ucw.cz>
8796
8797 * include/sys/uio.h: Change __vector to __iovec to avoid clash
8798 with altivec.
8799
750b5926
MP
88002012-04-16 Marek Polacek <polacek@redhat.com>
8801
8802 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
8803
751728a1
MP
88042012-04-16 Marek Polacek <polacek@redhat.com>
8805
8806 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
8807 operands of fdivp instruction.
8808
34a27407
L
88092012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8810
8811 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
8812 * elf/tst-auditmod3b.c: Likewise.
8813 * elf/tst-auditmod4b.c: Likewise.
8814 * elf/tst-auditmod5b.c: Likewise.
8815 * elf/tst-auditmod6b.c: Likewise.
8816 * elf/tst-auditmod6c.c: Likewise.
8817 * elf/tst-auditmod7b.c: Likewise.
8818 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
8819 * sysdeps/x86_64/preconfigure.in: Likewise.
8820 * sysdeps/x86_64/preconfigure: Regenerated.
8821
7e73e17d
L
88222012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8823
8824 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
8825 __ILP32__.
8826
c7a6ab72
AB
88272012-04-13 Antoine Balestrat <merkil33@gmail.com>
8828
8829 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8830 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
8831
a9e8e0e0
CL
88322012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
8833
8834 [BZ #13973]
8835 * locale/iso-639.def: Fix gl language name. Spotted by
8836 Yaron Shahrabani.
8837
ec98af7d
RM
88382012-04-12 Roland McGrath <roland@hack.frob.com>
8839
8840 [BZ #2074]
8841 * libio/libio.h (__io_write_fn): Update comment.
8842
247c3ede
PB
88432012-04-12 Petr Baudis <pasky@ucw.cz>
8844
8845 [BZ #2074]
8846 * stdio.texi (Hook Functions): The user provided writer function
8847 is not allowed to return -1.
8848
55939d6d
DM
88492012-04-11 David S. Miller <davem@davemloft.net>
8850
8851 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8852
90020f5a
MF
88532012-04-11 Mike Frysinger <vapier@gentoo.org>
8854
8855 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
8856 Add a leading slash to rtkaio.
8857
288f9098
JM
88582012-04-11 Jim Meyering <meyering@redhat.com>
8859
90020f5a
MF
8860 [BZ #11959]
8861 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
8862 It is not necessarily an error to ignore fwrite's return
8863 value. One can reliably use ferror to test for errors after
8864 the fact.
288f9098 8865
4be2b570
L
88662012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8867
8868 * bits/types.h (__snseconds_t): New type.
8869 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
8870
8871 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
8872 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8873 (__SNSECONDS_T_TYPE): Likewise.
8874 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8875 (__SNSECONDS_T_TYPE): Likewise.
8876 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8877 (__SNSECONDS_T_TYPE): Likewise.
8878
288f9098 88792012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
8880
8881 [BZ #2636]
8882 * manual/time.texi (Processor Time): Return type of times is
8883 elapsed real time since an arbitrary point in the past.
8884 (CPU Time): Move CLK_TCK from here...
8885 (Processor Time): ...to here. Correct description.
8886 * manual/conf.texi (Constants for Sysconf): Correct description of
8887 _SC_CLK_TCK.
8888
d7dd4413
DM
88892012-04-10 David S. Miller <davem@davemloft.net>
8890
8891 [BZ #13967]
8892 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
8893 where the is a gap between DT_REL(A) and DT_JMPREL.
8894
b46068fc
L
88952012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8896
8897 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
8898 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8899 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8900
73d65cc3
SP
89012012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8902
8903 * elf/dl-support.c (_dl_inhibit_cache): New variable.
8904 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
8905 (dl_main): Handle --inhibit-cache.
8906 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
8907 _dl_inhibit_cache.
8908 * elf/dl-load.c (_dl_map_object): Use it.
8909 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
8910
bcc8d661
JM
89112012-04-09 Joseph Myers <joseph@codesourcery.com>
8912
8f9a2fae
JM
8913 [BZ #13872]
8914 * sysdeps/i386/fpu/e_powl.S (p78): New object.
8915 (__ieee754_powl): Saturate large exponents rather than testing for
8916 overflow of y*log2(x).
8917 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8918 * math/libm-test.inc (pow_test): Do not permit spurious overflow
8919 exceptions.
8920
bcc8d661
JM
8921 [BZ #11521]
8922 * math/s_ctan.c: Include <float.h>.
8923 (__ctan): Avoid internal overflow or cancellation in calculating
8924 denominator.
8925 * math/s_ctanf.c: Likewise.
8926 * math/s_ctanl.c: Likewise.
8927 * math/s_ctanh.c: Likewise.
8928 * math/s_ctanhf.c: Likewise.
8929 * math/s_ctanhl.c: Likewise.
8930 * math/libm-test.inc (ctan_test): Add more tests.
8931 (ctanh_test): Likewise.
8932 * sysdeps/i386/fpu/libm-test-ulps: Update.
8933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8934
823fbbb4
AJ
89352012-04-09 Andreas Jaeger <aj@suse.de>
8936
03879793
AJ
8937 [BZ #6894]
8938 * manual/filesys.texi (Directory Entries): Mention that d_namlen
8939 is an optional BSD extension.
8940
823fbbb4
AJ
8941 [BZ #10254]
8942 * manual/stdio.texi (Opening Streams): Document additional fopen
8943 parameters.
8944
8de131cb
RM
89452012-04-09 Roland McGrath <roland@hack.frob.com>
8946
8947 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
8948 %eax without telling the compiler.
8949
c0ed9d7d
CD
89502012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
8951
8952 [BZ # 13963]
8953 * manual/install.texi: Use sourceware.org.
8954
c483f6b4
JM
89552012-04-09 Joseph Myers <joseph@codesourcery.com>
8956
d7dd9453
JM
8957 [BZ #13873]
8958 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
8959 (__ieee754_pow): Generate overflow and underflow using huge*huge
8960 and tiny*tiny rather than just returning constant infinity or zero
8961 for large exponents.
8962 * math/libm-test.inc (pow_test): Require overflow exceptions for
8963 applicable cases of large exponents.
8964
c483f6b4
JM
8965 [BZ #706]
8966 * sysdeps/i386/fpu/e_pow.S (p10): New object.
8967 (__ieee754_pow): Use iterative multiplication algorithm only for
8968 integer exponents with absolute value below 1024. Check for odd
8969 integer exponents when using algorithm for real exponents.
8970 * math/libm-test.inc (pow_test): Add more tests.
8971 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8972
d2de7579
JM
89732012-04-08 Joseph Myers <joseph@codesourcery.com>
8974
8975 [BZ #13705]
8976 * math/libm-test.inc (exp_test): Do not allow overflow exception
8977 on underflow test.
8978
f77f1232
AJ
89792012-04-08 Aurelien Jarno <aurelien@aurel32.net>
8980
8981 [BZ #13705]
8982 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
8983 instead of __kernel_standard_f.
8984
3884932b
MF
89852012-04-08 Mike Frysinger <vapier@gentoo.org>
8986
8987 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
8988 * sysdeps/x86_64/memset_chk.S: Likewise.
8989
54472e9c
AJ
89902012-04-08 Andreas Jaeger <aj@suse.de>
8991
6ab0fbfc
AJ
8992 [BZ #10153]
8993 * manual/startup.texi (Environment Access): Describe return value
8994 for putenv and setenv.
8995
61efba8c
AJ
8996 [BZ #6895]
8997 * manual/filesys.texi (Directory Entries): Add description for
8998 DT_LNK.
8999
95c3f29a
AJ
9000 [BZ #6890]
9001 * manual/filesys.texi (Directory Entries): Clarify that it's file
9002 system not operating system in the description of DT_UNKNOWN.
9003
54472e9c
AJ
9004 [BZ #6578]
9005 * manual/syslog.texi (closelog): Fix reference, it's openlog.
9006
624254b1
SC
90072012-04-08 Stephen Compall <s11@member.fsf.org>
9008
9009 [BZ #6649]
9010 * manual/llio.texi (Opening and Closing Files): Add cross
9011 reference to explain mode argument.
9012
1e4920e0
MF
90132012-04-07 Mike Frysinger <vapier@gentoo.org>
9014
9015 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
9016 * sysdeps/x86_64/memset_chk.S: Likewise.
9017
5ed848f3
DM
90182012-04-07 David S. Miller <davem@davemloft.net>
9019
9020 * elf/elf.h (R_SPARC_WDISP10): Define.
9021 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
9022 R_SPARC_SIZE32.
9023 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
9024 R_SPARC_SIZE64 and R_SPARC_H34.
9025
96154cd8
CD
90262012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
9027
9028 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
9029 conditions and remove no longer applicable assertion.
9030
9904dc47
L
90312012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9032
9033 * bits/byteswap.h: Include <features.h>.
9034 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9035 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9036
f8887d0a
L
90372012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9038
9039 * bits/byteswap.h (__bswap_16): Removed.
9040 Include <bits/byteswap-16.h> to get __bswap_16.
9041 * sysdeps/i386/bits/byteswap.h: Likewise.
9042 * sysdeps/s390/bits/byteswap.h: Likewise.
9043 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9044 * bits/byteswap-16.h: New file.
9045 * sysdeps/i386/bits/byteswap-16.h: Likewise.
9046 * sysdeps/s390/bits/byteswap-16.h: Likewise.
9047 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
9048 * string/Makefile (headers): Add bits/byteswap-16.h.
9049
62470f60
PP
90502012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9051
9052 [BZ #13895]
9053 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
9054 extra indirection.
9055 * nss/Makefile (tests-static, tests): Add tst-nss-static.
9056 * nss/tst-nss-static.c: New.
9057
4dad7bab
RM
90582012-04-06 Robert Millan <rmh@gnu.org>
9059
9060 [BZ #6486]
9061 * manual/llio.texi (File Position Primitive): lseek
9062 refers to WHENCE when it really means OFFSET.
9063
e9142a17
AJ
90642012-04-06 Andreas Jaeger <aj@suse.de>
9065
2c040eff
AJ
9066 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
9067 strncmp declarations.
9068
e9142a17
AJ
9069 * abilist/libc.abilist: Add __poll and __ppoll.
9070
ff9f1c5f
DM
90712012-04-05 David S. Miller <davem@davemloft.net>
9072
dcd2ae90
DM
9073 * scripts/check-local-headers.sh: Accept a host triplet in the
9074 path matched by the exclude regexp.
9075
993eb054
DM
9076 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
9077 definition.
9078 * sysdeps/powerpc/powerpc32/dl-machine.h
9079 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
9080 * sysdeps/s390/s390-32/dl-machine.h
9081 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9082 * sysdeps/sparc/sparc32/dl-machine.h
9083 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9084 * sysdeps/sparc/sparc64/dl-machine.h
9085 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9086
ff9f1c5f
DM
9087 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
9088 lazy binding.
48e2e132 9089 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
9090 undefined symbol errors.
9091
48e2e132 9092 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
9093 DT_NEEDED entries.
9094
e80d6f94
MM
90952012-04-05 Michael Matz <matz@suse.de>
9096
9097 [BZ #13592]
9098 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
9099
349fa79f
AJ
91002012-04-05 Andreas Jaeger <aj@suse.de>
9101
9102 [BZ #13908]
9103 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
9104 comment.
9105
f402708f
KK
91062012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9107
9108 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
9109 which ROUND is no valid rounding mode.
9110
2ecccfc9
KK
91112012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9112
9113 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
9114 read again.
9115 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
9116
8a53f50f
KK
91172012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9118
9119 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
9120 an exception using FPU order intentionally.
9121
91222012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9123
9124 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
9125 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
9126 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
9127 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
9128
d653abb7
SJ
91292012-04-05 Simon Josefsson <simon@josefsson.org>
9130
9131 [BZ #12340]
9132 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
9133 EINVAL when BUFLEN is too smal.
9134
c3b1bf7d
TS
91352012-04-05 Thomas Schwinge <thomas@codesourcery.com>
9136
9137 [BZ #13553]
9138 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
9139 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
9140
b1aa60f3
AJ
91412012-04-03 Andreas Jaeger <aj@suse.de>
9142
c3b1bf7d 9143 [BZ #13938]
67f60a26
AJ
9144 * manual/setjmp.texi (System V contexts): Fix sentence.
9145
b1aa60f3
AJ
9146 [BZ #13926]
9147 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
9148 New macro for this case.
9149 [!__GNUC__] (__bswap_64): New inline function for this case.
9150 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9151 * bits/byteswap.h: Likewise.
9152 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
9153 ull, guard with __GLIBC_HAVE_LONG_LONG.
9154
9155 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
9156 __GLIBC_HAVE_LONG_LONG.
9157
9158 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
9159 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
9160
39c59c35
TMQMF
91612012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9162
9163 [BZ #13691]
9164 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
9165 inptr and inend, rather than using last_ch.
9166
135ffda8
DM
91672012-04-02 David S. Miller <davem@davemloft.net>
9168
9169 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
9170 * stdio-common/printf-parse.h (read_int): Change return type to
9171 'int', return -1 on INT_MAX overflow.
9172 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
9173 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
9174 overflows INT_MAX. Check for overflow of in-format-string precision
9175 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
9176 SIZE_MAX not INT_MAX for integer overflow test.
9177 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
9178 skip the construct in the format string but do not record anything.
9179 * stdio-common/bug22.c: Adjust to test both width/prevision
9180 INT_MAX overflow as well as total length INT_MAX overflow. Check
9181 explicitly for proper errno values.
9182
228c019e
TS
91832012-04-02 Thomas Schwinge <thomas@codesourcery.com>
9184
302cadd3
TS
9185 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
9186 CHAR_MAX.
9187 * string/test-strcmp.c [! WIDE]: Likewise.
9188 * time/tst-mktime2.c: Likewise for INT_MAX.
9189 * string/test-string.h: #include <sys/param.h> for MIN.
9190
228c019e
TS
9191 * csu/init-first.c (__libc_init_first): Call __ctype_init.
9192 * sysdeps/i386/init-first.c (init): Likewise.
9193 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
9194 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
9195 * sysdeps/sh/init-first.c (init): Likewise.
9196
cfa633f5
UD
91972012-04-01 Ulrich Drepper <drepper@gmail.com>
9198
9199 * po/ru.po: Update from translation team.
d1635ef8 9200 * po/vi.po: Likewise.
cfa633f5 9201
6cd0a5ea
SP
92022012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9203
9204 * resolv/nss_dns/dns-host.c: Merge copyright years.
9205
4b43400f
LD
92062012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9207
9208 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9209 Optimize memcpy with prefetch if
9210 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
9211 src, dst pointers have unequal 16 byte alignments.
9212
48c41d04
SP
92132012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9214
9215 [BZ #13928]
9216 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
9217 from a CNAME entry and return the minimum ttl for the query.
9218 (gaih_getanswer_slice): Likewise.
9219
b8dc394d
JL
92202012-03-30 Jeff Law <law@redhat.com>
9221
9222 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
9223 due to long keys.
9224 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
9225 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9226
2f5a5ed0
JL
9227 * resolv/nss_dns/dns-host.c: Update copyright year.
9228
1d39e359
UD
92292012-03-30 Ulrich Drepper <drepper@gmail.com>
9230
c030f70c 9231 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 9232 requests to save a system call. Fix check that all bytes are sent.
c030f70c 9233
1d39e359
UD
9234 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
9235 comments for sendmmsg.
9236
92372012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
9238
9239 [BZ #13691]
9240 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
9241 with only 1 character between 0x0041 and 0x01b0.
9242 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
9243 * wcsmbs/tst-mbsnrtowcs.c: New file.
9244
20fde227
DM
92452012-03-29 David S. Miller <davem@davemloft.net>
9246
9247 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
9248 small copies by hand.
9249
984a4237
JL
92502012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9251
9252 [BZ #13761]
9253 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
9254 _nss_compat_initgroups_dyn): Fall back to malloc/free
9255 for large group memberships.
9256
18c9d62b
DM
92572012-03-28 David S. Miller <davem@davemloft.net>
9258
88d85d4f
DM
9259 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
9260 that branches into memcpy.
9261 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9262 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9263 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9264 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9265 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
9266 bits.
9267 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
9268 implementation too.
9269 * sysdeps/sparc/mempcpy.S: New file.
9270
e5aa83e1
DM
9271 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
9272 the IFUNC routine in the libc case.
9273 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9274
88570753
DM
9275 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
9276 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
9277 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
9278 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
9279 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
9280 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
9281 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
9282 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
9283
249d7567
DM
9284 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
9285 loop to 256 bytes instead of 64 bytes and fix test signedness.
9286
18c9d62b
DM
9287 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
9288 * sysdeps/sparc/sparc32/Makefile: rather than here...
9289 * sysdeps/sparc/sparc64/Makefile: and here.
9290
05f3d1f6
UD
92912012-03-28 Ulrich Drepper <drepper@gmail.com>
9292
9293 * malloc/mallocbug.c: Avoid warnings about unused variables.
9294
86ae07a8
JL
92952012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9296
9297 [BZ #13760]
9298 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
9299 in the right place. Discard and retry query if response is
9300 larger than input buffer size.
9301
41bf21a1
JM
93022012-03-28 Joseph Myers <joseph@codesourcery.com>
9303
d6270972
JM
9304 [BZ #369]
9305 [BZ #2678]
9306 [BZ #3866]
9307 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
9308 x for large integer exponent.
9309 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9310 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
9311 sign of result as needed afterwards.
9312 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9313 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
9314 result for underflowing pow the same as for overflow.
9315 (__kernel_standard_l): Handle powl overflow and underflow here
9316 rather than calling __kernel_standard.
9317 * math/libm-test.inc (pow_test): Add more tests.
9318
414fca03 9319 [BZ #3868]
41bf21a1
JM
9320 [BZ #13879]
9321 [BZ #13910]
9322 [BZ #13911]
9323 [BZ #13912]
9324 [BZ #13913]
9325 [BZ #13915]
9326 [BZ #13916]
9327 [BZ #13917]
9328 [BZ #13918]
9329 [BZ #13919]
9330 [BZ #13920]
9331 [BZ #13921]
9332 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
9333 * sysdeps/ieee754/k_standard.c: Include <float.h>.
9334 (__kernel_standard_l): New function.
9335 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
9336 __kernel_standard.
9337 * math/w_acosl.c (__acosl): Likewise.
9338 * math/w_asinl.c (__asinl): Likewise.
9339 * math/w_atan2l.c (__atan2l): Likewise.
9340 * math/w_atanhl.c (__atanhl): Likewise.
9341 * math/w_coshl.c (__coshl): Likewise.
9342 * math/w_exp10l.c (__exp10l): Likewise.
9343 * math/w_exp2l.c (__exp2l): Likewise.
9344 * math/w_fmodl.c (__fmodl): Likewise.
9345 * math/w_hypotl.c (__hypotl): Likewise.
9346 * math/w_j0l.c (__j0l, __y0l): Likewise.
9347 * math/w_j1l.c (__j1l, __y1l): Likewise.
9348 * math/w_jnl.c (__jnl, __ynl): Likewise.
9349 * math/w_lgammal.c (__lgammal): Likewise.
9350 * math/w_log10l.c (__log10l): Likewise.
9351 * math/w_log2l.c (__log2l): Likewise.
9352 * math/w_logl.c (__logl): Likewise.
9353 * math/w_powl.c (__powl): Likewise.
9354 * math/w_remainderl.c (__remainderl): Likewise.
9355 * math/w_scalbl.c (sysv_scalbl): Likewise.
9356 * math/w_sinhl.c (__sinhl): Likewise.
9357 * math/w_sqrtl.c (__sqrtl): Likewise.
9358 * math/w_tgammal.c (__tgammal): Likewise.
9359 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
9360 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
9361 * math/libm-test.inc (acos_test): Add more tests.
9362 (acosh_test): Likewise.
9363 (asin_test): Likewise.
9364 (atanh_test): Likewise.
9365 (exp_test): Likewise.
9366 (exp10_test): Likewise.
9367 (exp2_test): Likewise.
9368 (expm1_test): Likewise.
9369 (lgamma_test): Likewise.
9370 (log_test): Likewise.
9371 (log10_test): Likewise.
9372 (log1p_test): Likewise.
9373 (log2_test): Likewise.
9374 (pow_test): Do not allow some spurious overflow exceptions.
9375 (sqrt_test): Add more tests.
9376 (tgamma_test): Likewise.
9377 (y0_test): Likewise.
9378 (y1_test): Likewise.
9379 (yn_test): Likewise.
9380
dd62fda6
AB
93812012-03-27 Anton Blanchard <anton@samba.org>
9382
9383 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
9384 MAP_HUGETLB.
9385 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9386 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9387 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9388
1e3cdfda
AJ
93892012-03-27 David S. Miller <davem@davemloft.net>
9390
b855ab85
DM
9391 * conform/Makefile: Run run-conformtest.sh using $(BASH).
9392
1e3cdfda
AJ
9393 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
9394 have-as-vis3 check.
9395
93962012-03-27 Andreas Jaeger <aj@suse.de>
9397
9398 * sysdeps/x86_64/elf/configure.in: Moved to ...
9399 * sysdeps/x86_64/configure.in: ... here.
9400 * sysdeps/x86_64/elf/start.S: Moved to ...
9401 * sysdeps/x86_64/start.S: ... here.
9402 * sysdeps/x86_64/elf/configure: Delete.
9403
9404 * sysdeps/x86_64/configure.in: Merge contents from
9405 sysdeps/i386/configure.in (without i686 check).
9406
9407 * sysdeps/i386/elf/Versions: Merge into ...
9408 * sysdeps/i386/Versions: ... this.
9409 * sysdeps/i386/elf/Versions: Delete file.
9410 * sysdeps/i386/elf/start.S: Moved to ...
9411 * sysdeps/i386/start.S: ...here.
9412 * sysdeps/i386/elf/configure.in: Merge into...
9413 * sysdeps/i386/configure.in: ...here.
9414 * sysdeps/i386/elf/configure.in: Delete file.
9415 * sysdeps/i386/elf/configure: Delete file.
9416
9417 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
9418 * debug/backtracesyms.c: ... here.
9419 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
9420 * debug/backtracesymsfd.c: ... here.
9421 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
9422 * sysdeps/generic/ifunc-sel.h: ... here.
9423
9424 * sysdeps/unix/i386/start.c: Delete file.
9425 * sysdeps/unix/sparc/start.c: Delete file.
9426 * sysdeps/unix/start.c: Delete file.
9427
9428 * sysdeps/sh/elf/configure.in: Moved to ...
9429 * sysdeps/sh/configure.in: ... here.
9430 * sysdeps/sh/elf/start.S: Moved to ...
9431 * sysdeps/sh/start.S: ... here.
9432 * sysdeps/sh/elf/configure: Delete file.
9433
9434 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
9435 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
9436 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
9437 * sysdeps/powerpc/powerpc64/entry.h: ... here.
9438 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
9439 * sysdeps/powerpc/powerpc64/start.S: here.
9440 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
9441 * sysdeps/powerpc/powerpc64/Makefile: ... this.
9442 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
9443 * sysdeps/powerpc/powerpc64/configure.in: ... this.
9444 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
9445
9446 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
9447 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
9448 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
9449 * sysdeps/powerpc/powerpc32/start.S: ... here.
9450 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
9451 * sysdeps/powerpc/powerpc32/configure.in: ... this.
9452 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
9453
9454 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
9455 * sysdeps/powerpc/ifunc-sel.h: ... here.
9456 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
9457 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
9458
9459 * sysdeps/sparc/elf/configure.in: Moved to ...
9460 * sysdeps/sparc/configure.in: ... here.
9461 * sysdeps/sparc/elf/configure: Delete file.
9462 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
9463 * sysdeps/sparc/sparc32/start.S: ... here.
9464 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
9465 * sysdeps/sparc/sparc64/start.S: ... here.
9466 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
9467 * sysdeps/sparc/sparc32/Makefile: ... this.
9468 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
9469 * sysdeps/sparc/sparc64/Makefile: ... this.
9470
9471 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
9472 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
9473 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
9474 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
9475 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
9476 * sysdeps/s390/s390-32/setjmp.S: ... here.
9477 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
9478 * sysdeps/s390/s390-32/configure.in: ... here.
9479 * sysdeps/s390/s390-32/elf/configure: Delete file.
9480 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
9481 * sysdeps/s390/s390-32/start.S: ... here.
9482
9483 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
9484 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
9485 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
9486 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
9487 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
9488 * sysdeps/s390/s390-64/setjmp.S: ... here.
9489 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
9490 * sysdeps/s390/s390-64/configure.in: ... here
9491 * sysdeps/s390/s390-64/elf/configure: Delete file.
9492 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
9493 * sysdeps/s390/s390-64/start.S: ... here.
9494 * sysdeps/s390/s390-64/elf/configure: Delete.
9495
9496 * configure.in: Remove support for elf directories in sysdeps.
9497
9498 * configure: Regenerated.
9499 * sysdeps/i386/configure: Regenerated.
9500 * sysdeps/powerpc/powerpc32/configure: Regenerated.
9501 * sysdeps/powerpc/powerpc64/configure: Regenerated.
9502 * sysdeps/s390/s390-32/configure: Regenerated.
9503 * sysdeps/s390/s390-64/configure: Regenerated.
9504 * sysdeps/sh/configure: Regenerated.
9505 * sysdeps/sparc/configure: Regenerated.
9506 * sysdeps/x86_64/configure: Regenerated.
9507
a3f61311
AS
95082012-03-26 Andreas Schwab <schwab@linux-m68k.org>
9509
c876e002
AS
9510 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9511
a3f61311
AS
9512 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
9513 denormal result into account.
9514
ac4c54f0
RM
95152012-03-25 Roland McGrath <roland@hack.frob.com>
9516
9517 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
9518 Reported by Allan McRae <allan@archlinux.org>.
9519
6a9b9c02
JL
95202012-03-23 Jeff Law <law@redhat.com>
9521
9522 * nss/getnssent.c (__nss_getent): Fix typo.
9523
4c42a0c1
DM
95242012-03-23 David S. Miller <davem@davemloft.net>
9525
9526 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9527
1532c7ac
L
95282012-03-23 H.J. Lu <hongjiu.lu@intel.com>
9529
9530 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
9531 to pad to uint64_t for each field.
9532 (dl_tls_index): Replace unsigned long with uint64_t.
9533
3ff42526
PP
95342012-03-23 Daniel Jacobowitz <dmj@google.com>
9535 Paul Pluzhnikov <ppluzhnikov@google.com>
9536
9537 [BZ #6528]
9538 * grp/Makefile (otherlibs): Don't set it.
9539 * inet/Makefile (otherlibs): Likewise.
9540 * login/Makefile (otherlibs): Likewise.
9541 * nscd/Makefile (otherlibs): Likewise.
9542 * posix/Makefile (otherlibs): Likewise.
9543 * pwd/Makefile (otherlibs): Likewise.
9544 * rt/Makefile (otherlibs): Likewise.
9545 * sunrpc/Makefile (otherlibs): Likewise.
9546 * nss/Makefile (otherlibs): Likewise.
9547 Add libnss_files to routines and static-only-routines.
9548 ($(objpfx)getent): Remove rule.
9549 * resolv/Makefile: Add libnss_dns and libresolv to routines and
9550 static-only-routines.
9551
7c69cd14
JM
95522012-03-22 Joseph Myers <joseph@codesourcery.com>
9553
9554 [BZ #13892]
9555 * math/s_cexp.c: Include <float.h>.
9556 (__cexp): Handle exp result overflowing not necessarily
9557 overflowing both real and imaginary parts of result.
9558 * math/s_cexpf.c: Likewise.
9559 * math/s_cexpl.c: Likewise.
9560 * math/libm-test.inc (cexp_test): Add more tests.
9561 * sysdeps/i386/fpu/libm-test-ulps: Update.
9562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9563
81b035fe
L
95642012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9565
9566 * include/link.h (ELFW): New macro.
9567 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
9568 Replace ELF64_R_TYPE with ELFW(R_TYPE).
9569
1da7940c
L
95702012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9571
9572 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
9573 with uint64_t.
9574
b749dbb9
L
95752012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9576
9577 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
9578 declaration.
9579 (struct La_x32_retval): Likewise.
9580
2ff87f3f
L
95812012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9582
9583 * sysdeps/x86_64/preconfigure.in: New file.
9584 * sysdeps/x86_64/preconfigure: New generated file.
9585
c0df8e69
JM
95862012-03-22 Joseph Myers <joseph@codesourcery.com>
9587
48e44791
JM
9588 [BZ #13824]
9589 * math/e_exp2l.c: Include <float.h>.
9590 (__ieee754_exp2l): Handle overflow and underflow cases
9591 separately. Only pass fractional part of argument to
9592 __ieee754_expl.
9593 * math/libm-test.inc (exp2_test): Add more tests.
9594
c0df8e69
JM
9595 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
9596 negating x to take absolute value.
9597 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
9598 Likewise.
9599 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9600 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
9601 Likewise.
9602 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
9603 computing low part if x was negated.
9604 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9605
c8e43ba7
L
96062012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9607
9608 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
9609 la_x32_gnu_pltexit.
9610 (pltexit): Cast int_retval to ptrdiff_t.
9611 * elf/tst-auditmod3b.c: Likewise.
9612 * elf/tst-auditmod4b.c: Likewise.
9613 * elf/tst-auditmod5b.c: Likewise.
9614 * elf/tst-auditmod6b.c: Likewise.
9615 * elf/tst-auditmod6c.c: Likewise.
9616 * elf/tst-auditmod7b.c: Likewise.
9617
9618 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
9619 and x32_gnu_pltexit.
9620
9621 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
9622 __ELF_NATIVE_CLASS.
9623 (La_x32_regs): New macro.
9624 (La_x32_retval): Likewise.
9625 (la_x32_gnu_pltenter): New function prototype.
9626 (la_x32_gnu_pltexit): Likewise.
9627
7998fa78
AS
96282012-03-21 Andreas Schwab <schwab@linux-m68k.org>
9629
dcb33988
AS
9630 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
9631 exponent.
9632
233fc563
AS
9633 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9634
7998fa78
AS
9635 * configure.in (libc_cv_cc_nofma): Check for option to disable
9636 generation of FMA instructions.
9637 * configure: Regenerate.
9638 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
9639 * sysdeps/ieee754/dbl-64/Makefile: New file.
9640 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
9641 Remove brandred-fma4.
9642 (CFLAGS-brandred-fma4.c): Remove.
9643 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
9644 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
9645 define.
9646 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
9647 define.
9648
8e95c99a
L
96492012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9650
9651 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9652 LLONG_MAX != LONG_MAX.
9653 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9654 (_fitoa_word): Likewise.
9655 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
9656 LLONG_MAX != LONG_MAX.
9657 * stdio-common/_itowa.h: Include <_itoa.h>.
9658 (_itowa_word): Use _ITOA_WORD_TYPE on value.
9659 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
9660 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
9661 only if not defined.
9662 (_ITOA_WORD_TYPE): Likewise.
9663 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9664 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
9665
6f4db457
DM
96662012-03-21 David S. Miller <davem@davemloft.net>
9667
9668 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9669
7785fe5a
L
96702012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9671
9672 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
9673 of x86_64 when setting libc_cv_slibdir, libdir and
9674 libc_cv_localedir.
9675 * sysdeps/unix/sysv/linux/configure: Regenerated.
9676
4535cd55
JM
96772012-03-21 Joseph Myers <joseph@codesourcery.com>
9678
9679 * manual/lang.texi (Old Varargs): Remove section.
9680 (How Variadic): Update menu.
9681 (va_start): Do not mention varargs.h.
9682
17228132
TS
96832012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9684 Joseph Myers <joseph@codesourcery.com>
9685
9686 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
9687 link test.
9688 * configure: Regenerated.
9689
8149f976
TS
96902012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9691
05f3d1f6
UD
9692 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
9693 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
9694 conformtest.pl
8149f976 9695
1a4ac776
JM
96962012-03-21 Joseph Myers <joseph@codesourcery.com>
9697
be22ce65
JM
9698 * NOTES: Remove.
9699 * Makefile (files-for-dist): Remove NOTES.
9700 (NOTES): Remove rule.
9701 * README: Don't refer to NOTES.
9702 * manual/creature.texi: Don't include macros.texi.
9703 * manual/intro.texi (creature.texi): Remove comment referring to
9704 NOTES.
9705
40b601fb
JM
9706 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
9707 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
9708 * configure: Regenerated.
9709 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
9710 LIBC_TRY_CC_OPTION.
9711 (libc_cv_as_i686): Likewise.
9712 (libc_cv_cc_avx): Likewise.
9713 (libc_cv_cc_sse2avx): Likewise.
9714 (libc_cv_cc_fma4): Likewise.
9715 (libc_cv_cc_novzeroupper): Likewise.
9716 * sysdeps/i386/configure: Regenerated.
9717
1a4ac776
JM
9718 [BZ #13883]
9719 * sysdeps/i386/fpu/s_cexp.S: Remove.
9720 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9721 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9722 * math/libm-test.inc (cexp_test): Add more tests.
9723 * sysdeps/i386/fpu/libm-test-ulps: Update.
9724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9725
a458e7fe
AM
97262012-03-21 Allan McRae <allan@archlinux.org>
9727
9728 * timezone/Makefile: Do not install iso3166.tab and zone.tab
9729
0cb7efc5
JM
97302012-03-21 Joseph Myers <joseph@codesourcery.com>
9731
9732 [BZ #13871]
9733 * math/w_exp2.c: Do not include <float.h>.
9734 (o_threshold, u_threshold): Remove.
9735 (__exp2): Calculate result before checking finiteness and calling
9736 __kernel_standard.
9737 * math/w_exp2f.c: Likewise.
9738 * math/w_exp2l.c: Likewise.
9739 * math/libm-test.inc (exp2_test): Require overflow exception for
9740 1e6 input.
2460d3aa
JM
9741
9742 [BZ #3866]
9743 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
9744 range of signed 64-bit integers before using fistpll. Remove
9745 checks for whether integers fit in mantissa bits.
9746 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
9747 the range of signed 32-bit integers before using fistpl. Remove
9748 checks for whether integers fit in mantissa bits.
9749 * sysdeps/i386/fpu/e_powl.S (p64): New object.
9750 (__ieee754_powl): Test for y outside the range of signed 64-bit
9751 integers before using fistpll. Reduce 64-bit values to 63-bit
9752 ones as needed.
9753 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
9754 divide-by-zero is raised for zero to large negative powers.
9755 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
9756 (__ieee754_powl): Test for y outside the range of signed 64-bit
9757 integers before using fistpll. Reduce 64-bit values to 63-bit
9758 ones as needed.
9759 * math/libm-test.inc (pow_test): Add more tests.
9760
eb96ffb0
L
97612012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9762
9763 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
9764 <stdio-common/_itoa.h>.
9765 * debug/segfault.c: Likewise.
9766 * elf/dl-cache.c: Likewise.
9767 * elf/dl-minimal.c: Likewise.
9768 * elf/dl-misc.c: Likewise.
9769 * elf/dl-sysdep.c: Likewise.
9770 * elf/dl-version.c: Likewise.
9771 * elf/rtld.c: Likewise.
9772 * hurd/hurdsock.c: Likewise.
9773 * hurd/lookup-retry.c: Likewise.
9774 * malloc/malloc.c: Likewise.
9775 * malloc/mtrace.c: Likewise.
9776 * nscd/nscd_getgr_r.c: Likewise.
9777 * nscd/nscd_getpw_r.c: Likewise.
9778 * nscd/nscd_getserv_r.c: Likewise.
9779 * posix/getopt_init.c: Likewise.
9780 * posix/wordexp.c: Likewise.
9781 * stdio-common/_itoa.c: Likewise.
9782 * stdio-common/printf_fphex.c: Likewise.
9783 * stdio-common/vfprintf.c: Likewise.
9784 * string/_strerror.c: Likewise.
9785 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
9786 * sysdeps/i386/i686/hp-timing.h: Likewise.
9787 * sysdeps/mach/_strerror.c: Likewise.
9788 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
9789 * sysdeps/mach/hurd/sethostid.c: Likewise.
9790 * sysdeps/mach/hurd/xmknodat.c: Likewise.
9791 * sysdeps/mach/xpg-strerror.c: Likewise.
9792 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9793 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9794 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
9795 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
9796 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9797 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
9798 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9799 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9800 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
9801 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
9802 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
9803 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
9804 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
9805 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9806 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9807 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
9808 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
9809 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
9810 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9811 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9812 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
9813
9814 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
9815
9816 * stdio-common/_itoa.h: Moved to ...
9817 * sysdeps/generic/_itoa.h: Here.
9818
9819 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
9820
9821 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
9822 instead of "_itoa.h" and "_itowa.h".
9823 * stdio-common/vfprintf.: Likewise.
9824
d1af992d
L
98252012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9826
9827 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
9828 <bits/wordsize.h>.
9829 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
9830 (__signbit): Likwise.
9831 (llrintf): Likwise.
9832 (llrint): Likwise.
9833
114883e0
L
98342012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9835
9836 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
9837 __WORDSIZE != 64.
9838
c135cc1b
JM
98392012-03-20 Joseph Myers <joseph@codesourcery.com>
9840
9841 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
9842 OVERFLOW_EXCEPTION_OK.
9843 * math/libm-test.inc ("Philosophy"): Update comment about
9844 exception testing.
9845 (OVERFLOW_EXCEPTION): Define.
9846 (OVERFLOW_EXCEPTION_OK): Likewise.
9847 (INVALID_EXCEPTION_OK): Renumber.
9848 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9849 (IGNORE_ZERO_INF_SIGN): Likewise.
9850 (test_exceptions): Handle FE_OVERFLOW.
9851 (exp10_test): Expect overflow exceptions.
9852 (exp2_test): Likewise.
9853 (expm1_test): Likewise.
9854 (nextafter_test): Likewise.
9855 (pow_test): Likewise.
9856 (scalbn_test): Likewise.
9857 (scalbln_test): Likewise.
9858
95443d88
L
98592012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9860
9861 * sysdeps/x86_64/bits/atomic.h
9862 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
9863 64bit integer.
9864 (atomic_exchange_acq): Likewise.
9865 (__arch_exchange_and_add_body): Likewise.
9866 (__arch_add_body): Likewise.
9867 (atomic_add_negative): Likewise.
9868 (atomic_add_zero): Likewise.
9869
490df6c4
L
98702012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9871
c2722551 9872 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
9873 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
9874
5e52b189
L
98752012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9876
9877 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
9878 Check __x86_64__ instead of __WORDSIZE.
9879
a9879d4c
L
98802012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9881
9882 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
9883
5df98260
DM
98842012-03-19 David S. Miller <davem@davemloft.net>
9885
e1497744
DM
9886 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9887
5df98260
DM
9888 * sysdeps/sparc/fpu/fenv_private.h: New file.
9889 * sysdeps/sparc/fpu/math_private.h: Use it.
9890 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
9891 Remove.
9892 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
9893 (libc_feholdexcept_setroundl): Remove.
9894 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
9895 Remove.
9896 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
9897 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
9898
b4c35121
L
98992012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9900
9901 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
9902 int64_t instead of long int.
9903 (INSERT_WORDS64): Likwise.
9904
56965fd7
L
99052012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9906
9907 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
9908 _Unwind_GetCFA return to _Unwind_Ptr first.
9909
83d1aec8
JM
99102012-03-19 Joseph Myers <joseph@codesourcery.com>
9911
1897ad44
JM
9912 [BZ #13629]
9913 * math/s_clog.c: Include <float.h>.
9914 (__clog): Scale large or subnormal inputs.
9915 * math/s_clogf.c: Likewise.
9916 * math/s_clogl.c: Likewise.
9917 * math/s_clog10.c: Include <float.h>.
9918 (M_LOG10_2): Define.
9919 (__clog10): Scale large or subnormal inputs.
9920 * math/s_clog10f.c: Likewise.
9921 * math/s_clog10l.c: Likewise.
9922 * math/libm-test.inc (clog_test): Add more tests.
9923 (clog10_test): Likewise.
9924 * sysdeps/i386/fpu/libm-test-ulps: Update.
9925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9926
7726d6a9
JM
9927 [BZ #11451]
9928 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
9929 x and y.
9930 * math/libm-test.inc (atan2_test): Add another test.
9931
83d1aec8
JM
9932 * Makerules (common-objdir-compile): Remove.
9933 * sysdeps/unix/Makefile (config-generated): Do not add
9934 $(unix-generated) to variable.
9935 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
9936 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
9937 Remove rule.
9938 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
9939 Likewise.
9940 [generic bits/local_lim.h] (before-compile): Do not append to
9941 variable.
9942 [generic bits/local_lim.h] (common-generated): Likewise.
9943 [generic sys/param.h] (before-compile): Do not append to variable.
9944 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
9945 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
9946 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
9947 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
9948 include.
9949 [generic sys/param.h] (sys/param.h-includes): Remove variable.
9950 [generic sys/param.h] (sys/param.h-includes): Remove rule.
9951 [generic sys/param.h] ($(addprefix
9952 $(common-objpfx),$(sys/param.h-includes))): Likewise.
9953 [generic sys/param.h] (common-generated): Do not append to
9954 variable.
9955 [generic sys/param.h] (sysdep_headers): Likewise.
9956 [generic bits/errno.h] (before-compile): Do not append to
9957 variable.
9958 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
9959 rule.
9960 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
9961 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
9962 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
9963 [generic bits/errno.h] (common-generated): Do not append to
9964 variable.
9965 [generic bits/ioctls.h] (before-compile): Do not append to
9966 variable.
9967 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
9968 rule.
9969 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
9970 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
9971 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
9972 rule.
9973 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
9974 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
9975 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
9976 [generic bits/ioctls.h] (common-generated): Do not append to
9977 variable.
9978 [generic sys/syscall.h] (syscall.h): Remove variable.
9979 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
9980 rule.
9981 [generic sys/syscall.h] (before-compile): Do not append to
9982 variable.
9983 [generic sys/syscall.h] (common-generated): Likewise.
9984 * sysdeps/unix/errnos-tmpl.c: Remove file.
9985 * sysdeps/unix/errnos.awk: Likewise.
9986 * sysdeps/unix/ioctls-tmpl.c: Likewise.
9987 * sysdeps/unix/ioctls.awk: Likewise.
9988 * sysdeps/unix/mk-local_lim.c: Likewise.
9989 * sysdeps/unix/snarf-ioctls: Likewise.
9990
4851a949
RH
99912012-03-19 Richard Henderson <rth@twiddle.net>
9992
bd37f2ee
RH
9993 * sysdeps/i386/fpu/fenv_private.h: New file.
9994 * sysdeps/i386/fpu/math_private.h: Use it.
9995 (math_opt_barrier, math_force_eval): Remove.
9996 (libc_feholdexcept_setround_53bit): Remove.
9997 (libc_feupdateenv_53bit): Remove.
9998 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9999 (math_opt_barrier, math_force_eval): Remove.
10000 (libc_feholdexcept): Remove.
10001 (libc_feholdexcept_setround): Remove.
10002 (libc_fetestexcept, libc_fesetenv): Remove.
10003 (libc_feupdateenv_test): Remove.
10004 (libc_feupdateenv, libc_feholdsetround): Remove.
10005 (libc_feresetround): Remove.
10006
d0adc922
RH
10007 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
10008 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10009
0fe0f1f8
RH
10010 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
10011 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
10012 (libc_feupdateenv_testl): New.
10013 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
10014 (libc_feupdateenv_testf): New.
10015 (libc_feupdateenv): Use libc_feupdateenv_test.
10016 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
10017 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
10018
eb92c487
RH
10019 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
10020 (libc_feholdsetroundf, libc_feholdsetroundl): New.
10021 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
10022 (libc_feresetround_noex): New.
10023 (libc_feresetround_noexf): New.
10024 (libc_feresetround_noexl): New.
10025 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
10026 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
10027 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
10028 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
10029 SET_RESTORE_ROUND.
10030 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10031 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
10032 (__cos): Likewise.
10033 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
10034 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
10035 SET_RESTORE_ROUND_NOEX.
10036 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
10037 SET_RESTORE_ROUND_NOEXF.
10038 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
10039 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
10040 (libc_feholdsetroundf): New.
10041 (libc_feresetround, libc_feresetroundf): New.
10042
7d2e8012
RH
10043 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
10044 (libc_feholdexcept_setround_53bit): Convert from macro to function.
10045 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
10046
b4dabbb4
RH
10047 * sysdeps/generic/math_private.h: Include <fenv.h>.
10048 (default_libc_feholdexcept): New.
10049 (default_libc_feholdexcept_setround): New.
10050 (default_libc_fesetenv, default_libc_feupdateenv): New.
10051 (libc_feholdexcept): Only define if undefined.
10052 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
10053 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
10054 (libc_feholdexcept_setroundl): Likewise.
10055 (libc_feholdexcept_setround_53bit): Likewise.
10056 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
10057 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
10058 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
10059 (libc_feupdateenv_53bit): Likewise.
10060 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
10061 (libc_feholdexcept): Convert from macro to inline function.
10062 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
10063 (libc_fesetenv, libc_feupdateenv): Likewise.
10064
4851a949
RH
10065 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
10066 not previously defined.
10067 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
10068 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
10069 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
10070 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
10071 * sysdeps/ieee754/flt-32/math_private.h: New file.
10072 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
10073 math_private.h below SET_FLOAT_WORD.
10074 (__isnan, __isinf_ns, __finite): Remove.
10075 (__isnanf, __isinf_nsf, __finitef): Remove.
10076
e79d442e
AS
100772012-03-18 Andreas Schwab <schwab@linux-m68k.org>
10078
10079 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10080
90b80344
DM
100812012-03-17 David S. Miller <davem@davemloft.net>
10082
10083 [BZ #6471]
10084 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
10085 for 2.16.
10086
edc21804
DM
100872012-03-16 David S. Miller <davem@davemloft.net>
10088
77e927af
DM
10089 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
10090 warnings.
10091
374976dd
DM
10092 [BZ #6471]
10093 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
10094 properly.
10095 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
10096 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
10097 sysdep_routines when subdir is sysvipc.
10098 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
10099 __getshmlba helper.
10100
edc21804
DM
10101 * sysdeps/sparc/fpu/libm-test/ulps: Update.
10102
473c3ef3
L
101032012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10104
10105 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
10106 [__LP64__].
10107
eb0f39b6
L
101082012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10109
10110 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
10111 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
10112 (__lround): Renamed to ...
10113 (__llround): This. Replace long int with long long int.
10114 Define lround functions as aliases of llround functions.
10115 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
10116
6b6cd74b
L
101172012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10118
10119 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
10120 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
10121 adresses to uintptr_t. Replace "long int" and "unsigned long
10122 int" with "greg_t" on va_arg.
10123
f1a77b01
L
101242012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10125
10126 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
10127 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
10128
10129 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
10130 Move e_machine check before EI_CLASS check. Handle x32
10131 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
10132 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
10133 SKIP_EM_IA_64 and include
10134 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
10135
10136 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
10137 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
10138 (add_system_dir): New macro.
10139
10140 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
10141 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
10142
11b90b9f
JM
101432012-03-16 Joseph Myers <joseph@codesourcery.com>
10144
c36e1d23
JM
10145 [BZ #2551]
10146 [BZ #2552]
10147 [BZ #2553]
10148 [BZ #2554]
10149 [BZ #2562]
10150 [BZ #2563]
10151 [BZ #2565]
10152 [BZ #2566]
10153 [BZ #2576]
10154 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
10155 (y0): Likewise.
10156 * math/w_j0f.c (j0f): Likewise.
10157 (y0f): Likewise.
10158 * math/w_j0l.c (__j0l): Likewise.
10159 (__y0l): Likewise.
10160 * math/w_j1.c (j1): Likewise.
10161 (y1): Likewise.
10162 * math/w_j1f.c (j1f): Likewise.
10163 (y1f): Likewise.
10164 * math/w_j1l.c (__j1l): Likewise.
10165 (__y1l): Likewise.
10166 * math/w_jn.c (jn): Likewise.
10167 (yn): Likewise.
10168 * math/w_jnf.c (jnf): Likewise.
10169 (ynf): Likewise.
10170 * math/w_jnl.c (__jnl): Likewise.
10171 (__ynl): Likewise.
10172 * math/libm-test.inc (j0_test): Add more tests.
10173 (j1_test): Likewise.
10174 (jn_test): Likewise. Add trailing semicolon to existing test.
10175 (y0_test): Likewise.
10176 (y1_test): Likewise.
10177 * sysdeps/i386/fpu/libm-test-ulps: Update.
10178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10179
11b90b9f
JM
10180 [BZ #13851]
10181 [BZ #13854]
10182 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
10183 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
10184 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
10185 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
10186 (__tanl): Set errno for infinite argument.
10187 * sysdeps/i386/fpu/mptan.c: Remove.
10188 * sysdeps/i386/fpu/s_tan.S: Likewise.
10189 * sysdeps/i386/fpu/s_tanl.S: Likewise.
10190 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
10191 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
10192 * math/libm-test.inc (tan_test): Add more tests and enable more
10193 tests for double and long double.
10194 * sysdeps/i386/fpu/libm-test-ulps: Update.
10195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10196
6a1bd2a1
JK
101972012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10198
10199 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
10200 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
10201
10a803e0
RM
102022012-03-16 Roland McGrath <roland@hack.frob.com>
10203
10204 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
10205 * configure.in: Use it for both main tree and add-ons.
10206 * configure: Regenerated.
10207
f196c7f7
L
102082012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10209
10210 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
10211
8848d99d
JM
102122012-03-16 Joseph Myers <joseph@codesourcery.com>
10213
96cbe7f4
JM
10214 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
10215 in comment.
10216
8848d99d
JM
10217 [BZ #13851]
10218 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
10219 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
10220 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
10221 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
10222 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
10223 infinite argument.
10224 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
10225 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
10226 != 0 for prec == 2.
10227 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
10228 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
10229 * sysdeps/i386/fpu/s_cosl.S: Likewise.
10230 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
10231 * sysdeps/i386/fpu/s_sinl.S: Likewise.
10232 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
10233 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
10234 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
10235 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
10236 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
10237 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
10238 * math/libm-test.inc (cos_test): Add more tests and enable more
10239 tests for long double.
10240 (sin_test): Likewise.
10241 (sincos_test): Likewise.
10242 * sysdeps/i386/fpu/libm-test-ulps: Update.
10243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10244
dd7f4703
DM
102452012-03-16 David S. Miller <davem@davemloft.net>
10246
10247 * sysdeps/sparc/fpu/math_private.h: New file.
10248
006f1daa
DM
102492012-03-15 David S. Miller <davem@davemloft.net>
10250
c0c83bc8
DM
10251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
10252 file.
e6a62e18 10253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
10254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
10255 file.
e6a62e18
DM
10256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
10257 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
10258 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
10259 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
10260 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
10261 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
10262 sysdep routines.
10263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10264
88cb87d9
DM
10265 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
10266 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
10267
006f1daa 10268 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
10269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
10270 sparc-ifunc.h
006f1daa 10271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
10272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
10273 Likewise.
10274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
10275 Likewise.
006f1daa
DM
10276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
10277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
10278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
10279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10280 Likewise.
006f1daa
DM
10281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
10283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
10285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
10286 Likewise.
10287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
10288 Likewise.
006f1daa
DM
10289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
10291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
10292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
10293 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10294 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10295 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
10296 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
10297 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10298 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10299 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
10300 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
10301 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
10302 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
10303 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
10304 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
10305 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
10306 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
10307 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
10308 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
10309 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
10310 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
10311 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
10312 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
10313
11e0098e
AS
103142012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10315
10316 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
10317 scaling.
10318 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10319
e85b09d0
AJ
103202012-03-15 Andreas Jaeger <aj@suse.de>
10321
10322 [BZ #13852]
10323 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
10324 ieee754/flt-32 implementation for sin, cos and sincos.
10325 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
10326 * sysdeps/i386/fpu/s_cosf.S: Likewise.
10327 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
10328 * sysdeps/i386/fpu/s_sinf.S: Likewise.
10329 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
10330 ieee754/flt-32 implementation for tan.
10331
10332 * math/libm-test.inc (cos_test): Enable some large input tests for
10333 float as well
10334 (sin_test): Likewise.
10335 (sincos_test): Likewise.
10336 (tan_test): Add tests for large input.
10337
10338 * sysdeps/i386/fpu/libm-test-ulps: Update.
10339
81c64153
AJ
103402012-03-15 Andreas Jaeger <aj@suse.de>
10341
10342 [BZ #13658]
10343 * math/libm-test.inc (cos_test): Add more test cases.
10344 (sin_test): Likewise.
10345 (sincos_test): Likewise.
10346
7bbfa5c6
AJ
103472012-03-15 Andreas Jaeger <aj@suse.de>
10348
10349 [BZ #13837]
10350 * math/libm-test.inc (cos_test): Add a test case for large input
10351 value.
10352 (sin_test): Likewise.
10353 (sincos_test): Likewise.
10354
103552012-03-15 Andreas Jaeger <aj@suse.de>,
10356 Joseph Myers <joseph@codesourcery.com>
10357
10358 [BZ #13658]
0671f479 10359 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
10360 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
10361 * sysdeps/i386/fpu/branred.c: Likewise.
10362 * sysdeps/i386/fpu/dosincos.c: Likewise.
10363 * sysdeps/i386/fpu/mpa.c: Likewise.
10364 * sysdeps/i386/fpu/s_cos.S: Likewise.
10365 * sysdeps/i386/fpu/s_sin.S: Likewise.
10366 * sysdeps/i386/fpu/s_sincos.S: Likewise.
10367 * sysdeps/i386/fpu/sincos32.c: Likewise.
10368
10369 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
10370 Define.
10371 (libc_feupdateenv_53bit): Define.
10372 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
10373 Define.
10374 (libc_feupdateenv_53bit): Define.
10375
10376 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
10377 53 bit (without extend i386 double precision).
10378
10379 * math/libm-test.inc (sincos_test): Add tests for large input.
10380 (sin): Likewise.
10381 (cos): Likewise.
10382
10383 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
10384
9cad04ea
AS
103852012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10386
10387 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10388
f7062b9a
DM
103892012-03-15 David S. Miller <davem@davemloft.net>
10390
10391 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
10392 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
10393 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
10394 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
10395 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
10396 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
10397 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
10398 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
10399 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
10400 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
10401 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
10402 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
10403 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
10404 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
10405 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
10406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
10407 file.
f7062b9a 10408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
10409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
10410 file.
f7062b9a 10411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
10412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
10413 file.
f7062b9a 10414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
10415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
10416 file.
f7062b9a
DM
10417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
10418 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
10419 fmin/fmax sysdep routines.
10420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10421
7bd951ff
DM
104222012-03-14 David S. Miller <davem@davemloft.net>
10423
559398ab
DM
10424 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
10425 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
10426 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
10427 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
10428 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
10429 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
10430 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
10431 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
10432 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
10433 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
10434 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
10435 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
10436 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
10437 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
10438 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
10439 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
10440 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
10441 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
10442 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
10443 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
10444 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
10445 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
10446 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
10447 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
10448 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
10449 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
10450 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
10451 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
10452 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
10453 routines.
10454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
10455 file.
559398ab 10456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
10457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
10458 file.
559398ab 10459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
10460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
10461 file.
559398ab 10462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
10463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
10464 file.
559398ab 10465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
10466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
10467 file.
559398ab 10468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
10469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
10470 file.
10471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
10472 file.
10473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
10474 file.
10475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
10476 file.
10477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
10478 New file.
10479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
10480 file.
10481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
10482 file.
559398ab 10483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
10484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
10485 file.
559398ab 10486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
10487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
10488 file.
559398ab 10489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
10490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
10491 file.
559398ab 10492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
10493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
10494 VIS3 routines.
559398ab
DM
10495
10496 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10497 New file.
10498
5a1c1e32
DM
10499 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10500
eae47a36
DM
10501 * sysdeps/sparc/configure.in: New file.
10502 * sysdeps/sparc/configure: Generate.
10503 * configure.in (libc_cv_sparc_as_vis3): Substitute.
10504 * configure: Regenerate.
10505 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
10506 * config.make.in (have-as-vis3): New.
10507 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
10508 available use -Av9d instead of -Av9a.
10509 * sysdeps/sparc/sparc64/Makefile: Likewise.
10510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
10511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
10512 New file.
10513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
10514 file.
10515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
10516 New file.
10517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
10518 file.
eae47a36
DM
10519 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
10520 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
10521 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
10522 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
10523 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
10524
c0c83bc8
DM
10525 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
10526 fzeros/fnegs to load 0x80000000 into a float register instead of
10527 using the stack.
7bd951ff
DM
10528 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
10529
bd951ccb
JM
105302012-03-14 Joseph Myers <joseph@codesourcery.com>
10531
10532 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10533 bits/syscall.h.
10534 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
10535 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
10536 ($(inst_includedir)/bits/syscall.h): Remove rule.
10537 ($(objpfx)bits/syscall.d): Include instead of
10538 $(objpfx)syscall-list.d.
10539 (generated): Change syscall-list.h and syscall-list.d to
10540 bits/syscall.h and bits/syscall.d.
10541
bb4e6db2
RM
105422012-03-14 Roland McGrath <roland@hack.frob.com>
10543
10544 [BZ #13846]
10545 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
10546
aa4a2ae1
JM
105472012-03-14 Joseph Myers <joseph@codesourcery.com>
10548
e456826d
JM
10549 [BZ #13841]
10550 * math/s_csqrt.c: Include <float.h>.
10551 (__csqrt): Scale large or subnormal inputs.
10552 * math/s_csqrtf.c: Likewise.
10553 * math/s_csqrtl.c: Likewise.
10554 * math/libm-test.inc (csqrt_test): Add more tests.
10555 * sysdeps/i386/fpu/libm-test-ulps: Update.
10556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10557
aa4a2ae1
JM
10558 [BZ #13840]
10559 * math/libm-test.inc (hypot_test): Add more tests.
10560
7c10fd35
DM
105612012-03-13 David S. Miller <davem@davemloft.net>
10562
10563 [BZ #13840]
10564 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
10565 double-precision for the calculation instead of scaling.
10566
f453b98b
JM
105672012-03-13 Joseph Myers <joseph@codesourcery.com>
10568
10569 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
10570 manipulate bits before adding and subtracting TWO52[sx].
10571 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
10572 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
10573 Likewise.
10574 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
10575
09a3453f
DM
105762012-03-13 David S. Miller <davem@davemloft.net>
10577
8e59da90
DM
10578 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
10579 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
10580 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
10581 rtld-global-offsets.h
10582 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10583
2a8ab7f2
DM
10584 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
10585 large parameters.
10586
10f62770
DM
10587 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
10588
5f0bdb18
DM
10589 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
10590 'err' in the ifdef scope in which it is actually used.
10591
09a3453f
DM
10592 * nss/nss_db/db-init.c: Include string.h
10593
b4b2eb5e
DM
105942012-03-12 David S. Miller <davem@davemloft.net>
10595
98bb2f1c
DM
10596 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10597 masking out of the most significant byte of random value used.
10598 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10599 Fix coding style in previous change.
10600
b4b2eb5e
DM
10601 * sysdeps/unix/sysv/linux/kernel-features.h
10602 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
10603 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
10604 expression.
10605 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
10606 later.
10607
6e226b09
DM
106082012-03-11 David S. Miller <davem@davemloft.net>
10609
a1bcbd40
DM
10610 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10611 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
10612 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
10613 for 'resultvar' otherwise things get truncated on 64-bit.
10614
cb9d6174
DM
10615 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10616 Fix masking out of the most significant byte of random value used.
10617
6e226b09
DM
10618 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10619
058c132d
AS
106202012-03-10 Andreas Schwab <schwab@linux-m68k.org>
10621
10622 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10623
2d2cd515
DM
106242012-03-09 David S. Miller <davem@davemloft.net>
10625
10626 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
10627 variables with appropriate CPP guards.
10628 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
10629 frame pointer, not the stack pointer. Correct layout comments. Fix test
10630 on resulting framesize and the management of the outregs buffer for pltexit.
10631 Preserve floating point return values across _dl_call_pltexit call.
10632 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
10633 framesize and the management of the outregs buffer for pltexit.
10634 Preserve floating point return values across _dl_call_pltexit
10635 call.
10636 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
10637 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
10638 (print_exit): Fix format string for return register value.
10639
9a07f9d0
JM
106402012-03-10 Joseph Myers <joseph@codesourcery.com>
10641
10642 * sunrpc/Makefile (others): Add rpcgen.
10643 ($(objpfx)rpcgen): Remove special build rule and dependency on
10644 libc.
10645 * sunrpc/rpcgen.c: New file.
10646
547b5e30
PE
106472012-03-09 Paul Eggert <eggert@cs.ucla.edu>
10648
c524201a
PE
10649 [BZ #13673]
10650 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
10651 * stdio-common/bug-vfprintf-nargs.c: Likewise.
10652 * sysdeps/i386/crti.S: Likewise.
10653 * sysdeps/i386/crtn.S: Likewise.
10654 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
10655 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
10656 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
10657 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
10658 * sysdeps/sh/crti.S: Likewise.
10659 * sysdeps/sh/crtn.S: Likewise.
10660 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10661
7b6235f2
PE
10662 [BZ #13673]
10663 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
10664 with URL.
10665 * locale/programs/locfile-kw.gperf: Likewise.
10666 * locale/programs/charmap-kw.h: Regenerated.
10667 * locale/programs/locfile-kw.h: Likewise.
10668
547b5e30
PE
10669 [BZ #13673]
10670 * intl/plural.y: Replace FSF snail mail address with URL.
10671 * intl/plural.c: Regenerated.
10672
5f0a5dae
RH
106732012-03-09 Richard Henderson <rth@twiddle.net>
10674
10675 * include/math_private.h: Remove file.
10676 * math/math_private.h: Move file ...
10677 * sysdeps/generic/math_private.h: ... here.
10678
b8c03620
RH
10679 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
10680 * sysdeps/powerpc/fpu/math_private.h: Likewise.
10681 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10682
4e234f5d 10683 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
10684 and <math_private.h>.
10685 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10686 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10687 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10688 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10689 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10690 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
10691 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10692 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10693 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10694 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10695 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10696 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10697 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10698 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10699 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10700 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10701 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10702 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10703 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10704 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10705 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10706 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10707 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10708 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10709 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10710 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10711 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10712 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10713 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10714 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10715 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10716 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10717 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10718 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10719 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10720 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10721 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10722 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10723 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10724 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10725 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
10726 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10727 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10728 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10729 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10730 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10731 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10732 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10733 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10734 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10735 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10736 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10737 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10738 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10739 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10740 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10741 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10742 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10743 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10744 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
10745 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10746 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10747 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10748 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10749 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
10750 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10751 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10752 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10753 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
10754 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
10755 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10756 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10757 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10758 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10759 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
10760 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
10761 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
10762 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10763 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
10764 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10765 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10766 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10767 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10768 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10769 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10770 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10771 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
10772 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10773 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10774 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10775 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10776 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10777 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10778 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10779 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10780 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10781 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10782 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10783 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10784 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10785 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10786 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10787 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10788 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10789 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10790 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10791 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10792 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10793 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10794 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10795 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10796 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10797 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10798 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10799 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
10800 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10801 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10802 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10803 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10804 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10805 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10806 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10807 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10808 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
10809 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10810 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10811 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10812 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
10813 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10814 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10815 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10816 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10817 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10818 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10819 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10820 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10821 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10822 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10823 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
10824 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10825 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10826 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10827 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10828 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
10829 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
10830 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10831 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10832 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10833 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
10834 * sysdeps/ieee754/k_standard.c: Likewise.
10835 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10836 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10837 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10838 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10839 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10840 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10841 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10842 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10843 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10844 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10845 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10846 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10847 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10848 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10849 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10850 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10851 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10852 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10853 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10854 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
10855 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10856 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10857 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10858 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10859 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10860 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10861 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10862 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10863 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10864 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10865 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10866 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10867 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10868 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10869 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
10870 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10871 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10872 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
10873 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
10874 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10875 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10876 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10877 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10878 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10879 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10880 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10881 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10882 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10883 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10884 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10885 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10886 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
10887 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10888 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
10889 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10890 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10891 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
10892 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
10893 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10894 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10895 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10896 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10897 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10898 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
10899 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10900 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10901 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10902 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10903 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10904 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10905 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10906 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10907 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
10908 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
10909 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
10910 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10911 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
10912 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
10913 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10914 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
10915 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
10916 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
10917 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10918 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10919 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
10920 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10921 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10922 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
10923 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10924 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10925 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
10926 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10927 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
10928 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
10929 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10930 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10931 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
10932 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
10933 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
10934 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
10935 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10936 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10937 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10938 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10939 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
10940 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10941 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10942 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
10943 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
10944 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10945 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10946 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10947 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10948 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10949 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10950 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10951 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10952 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10953 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10954 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10955 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10956 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10957 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10958 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10959 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10960 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
10961 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10962 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10963 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10964 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10965 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10966 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10967 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10968 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10969 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10970 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10971 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
10972 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10973 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10974 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10975 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10976 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10977 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10978 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10979 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10980 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10981 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10982 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10983 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10984 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
10985 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10986 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10987 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10988 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10989 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
10990 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
10991 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10992 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10993 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10994 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10995 * sysdeps/ieee754/s_lib_version.c: Likewise.
10996 * sysdeps/ieee754/s_matherr.c: Likewise.
10997 * sysdeps/ieee754/s_signgam.c: Likewise.
10998 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10999 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11000 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
11001 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
11002 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
11003 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11004 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
11005 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
11006 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
11007 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
11008 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11009 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
11010 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11011 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11012 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
11013 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11014 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11015 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11016 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11017 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11018 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 11019
1991fa03
JM
110202012-03-09 Joseph Myers <joseph@codesourcery.com>
11021
11022 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
11023 * sunrpc/rpc_main.c: Likewise.
11024 * sunrpc/rpc_svcout.c: Likewise.
11025
60d6f5a6
DM
110262012-03-09 David S. Miller <davem@davemloft.net>
11027
11028 * include/math_private.h: New file.
11029
4962050e
JM
110302012-03-09 Joseph Myers <joseph@codesourcery.com>
11031
02a6f887
JM
11032 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
11033 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
11034 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
11035 from <bits/socket_type.h>.
11036 (enum __socket_type): Don't define here.
11037 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
11038 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11039 bits/socket_type.h.
11040
c6e013c1
JM
11041 [BZ #13566]
11042 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
11043 checking __USE_GNU.
11044
4962050e
JM
11045 * Makerules ($(inst_includedir)/%.h): New rule.
11046 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
11047 (install-others): Remove variable setting.
11048 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
11049
38842f45
RH
110502012-03-08 Richard Henderson <rth@twiddle.net>
11051
67bb6da6
RH
11052 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
11053 from macro to inline function; merge with the
11054 !__LIBC_INTERNAL_MATH_INLINES version.
11055 (__ieee754_sqrtf): Likewise.
11056
15194b4b
RH
11057 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
11058 to inline function.
11059 (__rintf, __floor, __floorf): Likewise.
11060
64e21ede
RH
11061 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
11062 macro to inline function.
11063 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
11064
38842f45
RH
11065 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
11066 not <math/math_private.h>.
11067
c64bf5fe
DM
110682012-03-08 David S. Miller <davem@davemloft.net>
11069
11070 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
11071 copyright year.
11072 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
11073
82d86f28
TS
110742012-03-08 Thomas Schwinge <thomas@codesourcery.com>
11075
11076 * resolv/gai_misc.c (handle_requests): Fix struct timespec
11077 normalization.
11078 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
11079 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
11080
aea5d727
UD
110812012-03-08 Ulrich Drepper <drepper@gmail.com>
11082
11083 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
11084 be defined individually, they must be defined as a block. Define
11085 S for printing a string instead of hidint the different by using a
11086 macro for adding the 'l'.
11087 * stdio-common/tst-fphex-wide.c: Adjust.
11088
70bca0a3
MP
110892012-03-07 Marek Polacek <polacek@redhat.com>
11090
11091 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
11092
65b81130
MP
110932012-03-08 Marek Polacek <polacek@redhat.com>
11094
11095 [BZ #13806]
11096 * stdio-common/Makefile (tests): Add tst-fphex-wide.
11097 * stdio-common/tst-fphex.c: Define a few macros to make the
11098 test reusable. Use them.
11099 * stdio-common/tst-fphex-wide.c: New file.
11100
07037eeb
JM
111012012-03-08 Joseph Myers <joseph@codesourcery.com>
11102
a7a93d50
JM
11103 [BZ #6911]
11104 * manual/macros.texi (gnusystems): New macro.
11105 (nongnusystems): Likewise.
11106 (gnulinuxhurdsystems): Likewise.
11107 (gnuhurdsystems): Likewise..
11108 (gnulinuxsystems): Likewise.
11109 * manual/charset.texi: Use new macros or @theglibc{} to refer to
11110 variants of the GNU system, not "GNU system".
11111 * manual/conf.texi: Likewise.
11112 * manual/errno.texi: Likewise. Update example of errno macro
11113 expansion.
11114 * manual/filesys.texi: Likewise.
11115 (getumask): Document as specific to GNU/Hurd.
11116 * manual/install.texi: Likewise. Reword some references to
11117 GNU/Linux.
11118 * manual/intro.texi: Likewise.
11119 * manual/io.texi: Likewise.
11120 (File Name Portability): Detail which constraints are inapplicable
11121 to all GNU systems and which are only inapplicable to GNU/Hurd.
11122 * manual/job.texi: Likewise.
11123 * manual/llio.texi: Likewise.
11124 (O_NOCTTY): Document as present on GNU/Linux.
11125 * manual/maint.texi: Likewise.
11126 * manual/memory.texi: Likewise.
11127 * manual/pattern.texi: Likewise.
11128 * manual/pipe.texi: Likewise.
11129 * manual/process.texi: Likewise.
11130 * manual/resource.texi: Likewise.
11131 (RUSAGE_CHILDREN): Remove statement about specifying a particular
11132 child on GNU/Hurd.
11133 * manual/setjmp.texi: Likewise.
11134 * manual/signal.texi: Likewise.
11135 * manual/startup.texi: Likewise.
11136 * manual/stdio.texi: Likewise.
11137 * manual/terminal.texi: Likewise.
11138 (ONLCR): Document as POSIX.
11139 (OXTABS): Document availability on GNU/Linux as XTABS.
11140 (ONOEOT): Document availability separately from other bits.
11141 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
11142 * manual/time.texi: Likewise.
11143 * manual/users.texi: Likewise.
11144 * INSTALL: Regenerated.
11145 * sysdeps/gnu/errlist.c: Regenerated.
11146
07037eeb
JM
11147 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
11148 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
11149 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
11150 puts.
11151 * configure: Regenerated.
11152
d1d3431a
JM
111532012-03-07 Joseph Myers <joseph@codesourcery.com>
11154
af6a1e37
JM
11155 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
11156 default includes instead of AC_HEADER_CHECK.
11157 * sysdeps/i386/configure: Regenerated.
11158
d1d3431a
JM
11159 [BZ #10716]
11160 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
11161 * math/s_cacoshf.c (__cacoshf): Likewise.
11162 * math/s_cacoshl.c (__cacoshl): Likewise.
11163 * math/s_casinh.c (__casinh): Set signs of result from argument.
11164 * math/s_casinhf.c (__casinhf): Likewise.
11165 * math/s_casinhl.c (__casinhl): Likewise.
11166 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
11167 (casinh_test): Add more tests.
11168 * sysdeps/i386/fpu/libm-test-ulps: Update.
11169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11170
482ff4da
UD
111712012-03-07 Ulrich Drepper <drepper@gmail.com>
11172
872fda05
UD
11173 * po/zh_TW.po: Update from translation team.
11174
a4300c7a
UD
11175 * login/Makefile (distribute): Remove variable.
11176 * catgets/Makefile: Likewise.
11177 * mach/Makefile: Likewise.
11178 * malloc/Makefile: Likewise.
11179 * misc/Makefile: Likewise.
11180 * iconv/Makefile: Likewise.
11181 * nscd/Makefile: Likewise.
11182 * hurd/Makefile: Likewise.
11183 * manual/Makefile: Likewise.
11184 * locale/Makefile: Likewise.
11185 * intl/Makefile: Likewise.
11186 * conform/Makefile: Likewise.
11187 * nss/Makefile: Likewise.
11188 * time/Makefile: Likewise.
11189 * soft-fp/Makefile: Likewise.
11190 * dirent/Makefile: Likewise.
11191 * gmon/Makefile: Likewise.
11192 * po/Makefile: Likewise.
11193 * rt/Makefile: Likewise.
11194 * socket/Makefile: Likewise.
11195 * math/Makefile: Likewise.
11196 * signal/Makefile: Likewise.
11197 * debug/Makefile: Likewise.
11198 * elf/Makefile: Likewise.
11199 * timezone/Makefile: Likewise.
11200 * stdlib/Makefile: Likewise.
11201 * iconvdata/Makefile: Likewise.
11202 * sunrpc/Makefile: Likewise.
11203 * io/Makefile: Likewise.
11204 * argp/Makefile: Likewise.
11205 * inet/Makefile: Likewise.
11206 * hesiod/Makefile: Likewise.
11207 * grp/Makefile: Likewise.
11208 * csu/Makefile: Likewise.
11209 * wctype/Makefile: Likewise.
11210 * crypt/Makefile: Likewise.
11211 * libio/Makefile: Likewise.
11212 * string/Makefile: Likewise.
11213 * nis/Makefile: Likewise.
11214 * resolv/Makefile: Likewise.
11215 * stdio-common/Makefile: Likewise.
11216 * wcsmbs/Makefile: Likewise.
11217 * dlfcn/Makefile: Likewise.
11218 * posix/Makefile: Likewise.
11219
3b7c4e74 11220 [BZ #6959]
482ff4da
UD
11221 * timezone/Makefile: Don't install timezone files, just the programs
11222 and scripts.
11223
f72ed77d
UD
112242012-03-06 Ulrich Drepper <drepper@gmail.com>
11225
a000466f
UD
11226 * nss/databases.def: Add missing gshadow entry.
11227
f72ed77d
UD
11228 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
11229
a53b7a4e
MP
112302012-03-06 Marek Polacek <polacek@redhat.com>
11231
11232 [BZ #13726]
11233 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
11234 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11235 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
11236 * stdio-common/tst-long-dbl-fphex.c: New file.
11237
e9258400
DM
112382012-03-06 David S. Miller <davem@davemloft.net>
11239
11240 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11241 (set_obp_int): New function.
11242 (get_obp_int): New function.
11243 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
11244 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
11245 Avoid unused variable warnings on 'val' and use builtin_expect.
11246 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
11247 __builtin_expect.
e9258400
DM
11248 (INLINE_CLONE_SYSCALL): Likewise.
11249
3bd2c723
DM
112502012-03-05 David S. Miller <davem@davemloft.net>
11251
11252 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11253
bbb78d03
AS
112542012-03-05 Andreas Schwab <schwab@linux-m68k.org>
11255
884c5db4
AS
11256 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11257
bbb78d03
AS
11258 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
11259 only for |x| >= 40.
11260 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11261
1c9f702a 112622012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
11263
11264 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
11265 Replace gettimeofday with __vdso_gettimeofday.
11266
7be16f82
RM
11267 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11268 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
11269 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
11270
11271 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
11272 time with __vdso_time.
11273
ed58a00f
JM
112742012-03-05 Joseph Myers <joseph@codesourcery.com>
11275
11276 * manual/lang.texi (size_t): Note types to which size_t may be
11277 equivalent with the GNU C Library, but do not describe when
11278 differences between them are significant.
11279
30ee4ced
AJ
112802012-03-05 Andreas Jaeger <aj@suse.de>
11281
11282 * sysdeps/i386/fpu/libm-test-ulps: Update.
11283
b7cd39e8
JM
112842012-03-05 Joseph Myers <joseph@codesourcery.com>
11285
11286 [BZ #3976]
11287 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
11288 (__ieee754_pow): Save and restore rounding mode and use
11289 round-to-nearest for main computations.
11290 * math/libm-test.inc (pow_test_tonearest): New function.
11291 (pow_test_towardzero): Likewise.
11292 (pow_test_downward): Likewise.
11293 (pow_test_upward): Likewise.
11294 (main): Call the new functions.
11295 * sysdeps/i386/fpu/libm-test-ulps: Update.
11296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
11297
11298 [BZ #3976]
11299 * math/libm-test.inc (cosh_test_tonearest): New function.
11300 (cosh_test_towardzero): Likewise.
11301 (cosh_test_downward): Likewise.
11302 (cosh_test_upward): Likewise.
11303 (sinh_test_tonearest): Likewise.
11304 (sinh_test_towardzero): Likewise.
11305 (sinh_test_downward): Likewise.
11306 (sinh_test_upward): Likewise.
11307 (main): Call the new functions.
11308 * sysdeps/i386/fpu/libm-test-ulps: Update.
11309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11310
6c6a98c9
TV
113112012-03-05 Tom de Vries <tom@codesourcery.com>
11312
11313 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
11314 default stack guard is set in last bytes.
11315 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
11316
21bb2d2e 113172012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 11318
21bb2d2e 11319 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 11320
21bb2d2e
AJ
11321 [BZ #13656]
11322 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
11323 possibly allocate from heap instead of stack.
11324 * stdio-common/bug-vfprintf-nargs.c: New file.
11325 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 11326
c6922934
AS
113272012-03-03 Andreas Schwab <schwab@linux-m68k.org>
11328
11329 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11330
bc957d53
MP
113312012-03-03 Marek Polacek <polacek@redhat.com>
11332
11333 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
11334 * math/math_private.h: Likewise.
11335 * stdlib/tst-strtod.c: Likewise.
11336 * sysdeps/i386/i486/bits/atomic.h: Likewise.
11337 * sysdeps/x86_64/bits/atomic.h: Likewise.
11338
6358490d
DM
113392012-03-02 David S. Miller <davem@davemloft.net>
11340
11341 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
11342 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
11343 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
11344 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
11345 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
11346 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
11347 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
11348 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
11349
01ae168d
RM
113502012-03-02 Roland McGrath <roland@hack.frob.com>
11351
d9a17c07
RM
11352 [BZ #13792]
11353 * manual/examples/README: New file, says the example source files
11354 can be used under GPL>=2.
11355 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
11356 line containing just "*/".
11357 * manual/examples/add.c: Add copyright header (GPL>=2).
11358 * manual/examples/argp-ex1.c: Likewise.
11359 * manual/examples/argp-ex2.c: Likewise.
11360 * manual/examples/argp-ex3.c: Likewise.
11361 * manual/examples/argp-ex4.c: Likewise.
11362 * manual/examples/atexit.c: Likewise.
11363 * manual/examples/db.c: Likewise.
11364 * manual/examples/dir.c: Likewise.
11365 * manual/examples/dir2.c: Likewise.
11366 * manual/examples/execinfo.c: Likewise.
11367 * manual/examples/filecli.c: Likewise.
11368 * manual/examples/filesrv.c: Likewise.
11369 * manual/examples/fmtmsgexpl.c: Likewise.
11370 * manual/examples/genpass.c: Likewise.
11371 * manual/examples/inetcli.c: Likewise.
11372 * manual/examples/inetsrv.c: Likewise.
11373 * manual/examples/isockad.c: Likewise.
11374 * manual/examples/longopt.c: Likewise.
11375 * manual/examples/memopen.c: Likewise.
11376 * manual/examples/memstrm.c: Likewise.
11377 * manual/examples/mkfsock.c: Likewise.
11378 * manual/examples/mkisock.c: Likewise.
11379 * manual/examples/mygetpass.c: Likewise.
11380 * manual/examples/pipe.c: Likewise.
11381 * manual/examples/popen.c: Likewise.
11382 * manual/examples/rprintf.c: Likewise.
11383 * manual/examples/search.c: Likewise.
11384 * manual/examples/select.c: Likewise.
11385 * manual/examples/setjmp.c: Likewise.
11386 * manual/examples/sigh1.c: Likewise.
11387 * manual/examples/sigusr.c: Likewise.
11388 * manual/examples/stpcpy.c: Likewise.
11389 * manual/examples/strdupa.c: Likewise.
11390 * manual/examples/strftim.c: Likewise.
11391 * manual/examples/strncat.c: Likewise.
11392 * manual/examples/subopt.c: Likewise.
11393 * manual/examples/swapcontext.c: Likewise.
11394 * manual/examples/termios.c: Likewise.
11395 * manual/examples/testopt.c: Likewise.
11396 * manual/examples/testpass.c: Likewise.
11397 * manual/examples/timeval_subtract.c: Likewise.
11398
01ae168d
RM
11399 [BZ #13792]
11400 * manual/time.texi (Elapsed Time): Move timeval_subtract example
11401 function to ...
11402 * manual/timeval_subtract.c.texi: ... here, new file.
11403
49efa33d
DM
114042012-03-02 David S. Miller <davem@davemloft.net>
11405
11406 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
11407
28afd92d
JM
114082012-03-02 Joseph Myers <joseph@codesourcery.com>
11409
804360ed
JM
11410 [BZ #3976]
11411 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
11412 (__sin): Save and restore rounding mode and use round-to-nearest
11413 for all computations.
11414 (__cos): Save and restore rounding mode and use round-to-nearest
11415 for all computations.
11416 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
11417 <fenv.h>.
11418 (tan): Save and restore rounding mode and use round-to-nearest for
11419 all computations.
11420 * math/libm-test.inc (cos_test_tonearest): New function.
11421 (cos_test_towardzero): Likewise.
11422 (cos_test_downward): Likewise.
11423 (cos_test_upward): Likewise.
11424 (sin_test_tonearest): Likewise.
11425 (sin_test_towardzero): Likewise.
11426 (sin_test_downward): Likewise.
11427 (sin_test_upward): Likewise.
11428 (tan_test_tonearest): Likewise.
11429 (tan_test_towardzero): Likewise.
11430 (tan_test_downward): Likewise.
11431 (tan_test_upward): Likewise.
11432 (main): Call the new functions.
11433 * sysdeps/i386/fpu/libm-test-ulps: Update.
11434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11435
a6d06d7b
JM
11436 [BZ #10135]
11437 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
11438 small n, then large n, before computing and testing k+n.
11439 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11440 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
11441 Likewise.
11442 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
11443 Likewise.
11444 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
11445 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
11446 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
11447 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
11448 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11449 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11450 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
11451 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
11452 * math/libm-test.inc (scalbn_test): Add more tests.
11453 (scalbln_test): Likewise.
11454
07e12bb3
JM
11455 * manual/filesys.texi (mode_t): Describe constraints on size and
11456 signedness, not exact equivalence to a particular type.
11457 (ino_t): Likewise.
11458 (ino64_t): Likewise.
11459 (dev_t): Likewise.
11460 (nlink_t): Likewise.
11461 (blkcnt_t): Likewise.
11462 (blkcnt64_t): Likewise.
11463 * manual/llio.texi (off_t): Likewise.
11464
28afd92d
JM
11465 [BZ #3976]
11466 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
11467 (__ieee754_exp): Save and restore rounding mode and use
11468 round-to-nearest for all computations.
11469 * math/libm-test.inc (exp_test_tonearest): New function.
11470 (exp_test_towardzero): Likewise.
11471 (exp_test_downward): Likewise.
11472 (exp_test_upward): Likewise.
11473 (main): Call the new functions.
11474 * sysdeps/i386/fpu/libm-test-ulps: Update.
11475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11476
b1eeb65d
CD
114772012-03-01 Chris Demetriou <cgd@google.com>
11478
11479 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
11480 have predictable order.
11481
53362a4b
DM
114822012-03-01 David S. Miller <davem@davemloft.net>
11483
3c969083
DM
11484 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
11485
759707de
DM
11486 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
11487 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
11488 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
11489 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
11490
dfdb8ff2
DM
11491 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
11492 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
11493 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
11494 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
11495 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
11496 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
11497 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
11498 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
11499 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
11500
ead89f96
DM
11501 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11502
7f66bd07
DM
11503 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
11504 * sysdeps/sparc/fpu/libm-test-ulps: to here.
11505 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
11506
53362a4b
DM
11507 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
11508 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11509 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11510 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
11511 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
11512 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
11513 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
11514 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11515 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11516 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
11517 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
11518 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11519 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11520 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11521 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11522 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11523 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
11524 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
11525 * sysdeps/sparc/elf/configure: Regenerated.
11526
7b1902cb
JM
115272012-03-01 Joseph Myers <joseph@codesourcery.com>
11528
bec039bc
JM
11529 * configure.in (AS, LD): Require binutils 2.20 or later.
11530 * configure: Regenerated.
11531 * manual/install.texi (Tools for Compilation): Give binutils 2.20
11532 as required minimum version.
11533 * INSTALL: Regenerated.
11534
7b1902cb
JM
11535 [BZ #2541]
11536 [BZ #4108]
11537 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
11538 before squaring exponent.
11539 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
11540 bottom long double and 27 bits of top long double before squaring
11541 exponent.
11542 * math/libm-test.inc (erfc_test): Add more tests.
11543 * sysdeps/i386/fpu/libm-test-ulps: Update.
11544 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11546
f775c276
KT
115472012-03-01 Kai Tietz <ktietz@redhat.com>
11548
11549 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
11550 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
11551 containing bit-fields.
11552 * soft-fp/extended.h (_FP_UNION_E): Likewise.
11553 * soft-fp/single.h (_FP_UNION_S): Likewise.
11554 * soft-fp/double.h (_FP_UNION_D): Likewise.
11555
5b8a4d4a
JM
115562012-02-29 Joseph Myers <joseph@codesourcery.com>
11557
0bab47b6
JM
11558 [BZ #13786]
11559 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
11560 not include ../strcmp.S.
11561 [USE_AS_STRNCASECMP_L]: Likewise.
11562 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
11563 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
11564 * sysdeps/i386/i686/multiarch/strncase_l-c.c
11565 (__strncasecmp_l_ia32): Define as alias to
11566 __strncasecmp_l_nonascii.
11567
0fcad3e2
JM
11568 [BZ #5794]
11569 * math/libm-test.inc (expm1_test): Add test for bug 5794.
11570 * sysdeps/i386/fpu/libm-test-ulps: Update.
11571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11572
5b8a4d4a
JM
11573 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
11574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11575
8fdceb2e
JL
115762012-02-29 Jeff Law <law@redhat.com>
11577
11578 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
11579 out of bounds read.
11580
1f393a11
MP
115812012-02-29 Marek Polacek <polacek@redhat.com>
11582
11583 [BZ #13706]
11584 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
11585 * elf/Makefile: Add rules to run tst-unused-dep.out.
11586
8847f037
DM
115872012-02-28 David S. Miller <davem@davemloft.net>
11588
11589 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
11590 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
11591 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
11592 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
11593 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
11594 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
11595
169d7f11
JM
115962012-02-29 Joseph Myers <joseph@codesourcery.com>
11597
11598 * math/libm-test.inc (llround_test): Move one test from
11599 lround_test. Use TEST_f_L in moved test.
11600 (lround_test): Move misplaced test to llround_test. Add testcase
11601 from bug 2561.
11602
39adf059
UD
116032012-02-28 Ulrich Drepper <drepper@gmail.com>
11604
11605 * sysdeps/x86_64/fpu/e_expf.S: New file.
11606 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
11607
71b5d1c5
SB
116082012-02-28 Stanislav Brabec <sbrabec@suse.cz>
11609
11610 [BZ #13637]
11611 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
11612 of remain_len that may cause incomplete multi-byte character and
11613 false match.
11614 * posix/bug-regex33.c: New file.
11615 * posix/Makefile (tests): Add bug-regex33.
11616
1f77f049
JM
116172012-02-28 Joseph Myers <joseph@codesourcery.com>
11618
11619 * manual/macros.texi: New file.
11620 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
11621 * manual/libc.texinfo: Include macros.texi.
11622 * manual/creatute.texi: Likewise.
11623 * manual/install.texi: Likewise.
11624 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
11625 @glibcadj{} in references to the GNU C Library.
11626 * manual/charset.texi: Likewise.
11627 * manual/conf.texi: Likewise.
11628 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
11629 when not using those macros.
11630 * manual/creature.texi: Likewise.
11631 * manual/crypt.texi: Likewise.
11632 * manual/errno.texi: Likewise.
11633 * manual/filesys.texi: Likewise.
11634 * manual/header.texi: Likewise.
11635 * manual/install.texi: Likewise.
11636 * manual/intro.texi: Likewise.
11637 * manual/io.texi: Likewise.
11638 * manual/job.texi: Likewise.
11639 * manual/lang.texi: Likewise.
11640 * manual/libc.texiinfo: Likewise.
11641 * manual/llio.texi: Likewise.
11642 * manual/locale.texi: Likewise.
11643 * manual/maint.texi: Likewise.
11644 * manual/math.texi: Likewise.
11645 * manual/memory.texi: Likewise.
11646 * manual/message.texi: Likewise.
11647 * manual/nss.texi: Likewise.
11648 * manual/pattern.texi: Likewise.
11649 * manual/process.texi: Likewise.
11650 * manual/resource.texi: Likewise.
11651 * manual/search.texi: Likewise.
11652 * manual/setjmp.texi: Likewise.
11653 * manual/signal.texi: Likewise.
11654 * manual/socket.texi: Likewise.
11655 * manual/startup.texi: Likewise.
11656 * manual/stdio.texi: Likewise.
11657 * manual/string.texi: Likewise.
11658 * manual/sysinfo.texi: Likewise.
11659 * manual/syslog.texi: Likewise.
11660 * manual/terminal.texi: Likewise.
11661 * manual/time.texi: Likewise.
11662 * manual/users.texi: Likewise.
11663 * INSTALL: Regenerated.
11664 * NOTES: Regenerated.
d40c5d54 11665 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 11666
450bf206
AS
116672012-02-28 Andreas Schwab <schwab@linux-m68k.org>
11668
11669 * include/dirent.h: Include <dirstream.h> before
11670 <dirent/dirent.h>.
11671
741a235b
DM
116722012-02-28 David S. Miller <davem@davemloft.net>
11673
11674 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
11675 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
11676 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
11677 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
11678
d6b5aa58
DM
116792012-02-27 David S. Miller <davem@davemloft.net>
11680
1aff59a3
DM
11681 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
11682 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
11683 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
11684 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
11685
d6b5aa58
DM
11686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
11687 frame pointer instead of stack pointer relative arg slot.
11688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11689 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11690 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11691
433f48bf
CD
116922012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
11693
11694 [BZ #3992]
11695 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
11696
d674b76d
DM
116972012-02-27 David S. Miller <davem@davemloft.net>
11698
11699 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
11700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11701 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
11703 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11704 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11705 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
11706 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
11707
0e7727f7
JM
117082012-02-27 Joseph Myers <joseph@codesourcery.com>
11709
11710 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
11711 later. Allow versions 5-9.
43be4ca2 11712 * configure: Regenerated.
0e7727f7
JM
11713 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
11714 required minimum version and 4.6 as recommended version. Do not
11715 mention bugs in GCC 2.7 and 2.8.
43be4ca2 11716 * INSTALL: Regenerated.
0e7727f7 11717
a78bc654
DM
117182012-02-27 David S. Miller <davem@davemloft.net>
11719
428d5830
DM
11720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
11721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
11722 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
11723 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
11724 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
11725 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
11726 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
11727 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
11728
a78bc654
DM
11729 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
11730 manipulate bits before adding and subtracting TWO112[sx].
11731 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11732
4579f81c
RM
117332012-02-27 Roland McGrath <roland@hack.frob.com>
11734
36c8acb4
RM
11735 [BZ #13775]
11736 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
11737 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
11738 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
11739 being in POSIX, because they are in 1003.1-2008.
11740
84ad622b
RM
11741 * rt/tst-aio.c: Include <fcntl.h>.
11742 * rt/tst-aio7.c: Likewise.
11743 * rt/tst-aio64.c: Likewise.
11744
4579f81c
RM
11745 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
11746
abd923db
JM
117472012-02-27 Joseph Myers <joseph@codesourcery.com>
11748
11749 * manual/install.texi (--with-headers): Describe headers as
11750 interface headers, not private headers.
11751 (Specific advice for GNU/Linux systems): Describe use of headers
11752 from "make headers_install", not private headers from older
11753 kernels.
43be4ca2 11754 * INSTALL: Regenerated.
abd923db
JM
11755 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
11756 Change to 2.6.19.
11757 * sysdeps/unix/sysv/linux/configure: Regenerated.
11758
6664049b
JM
11759 * manual/llio.texi (fclean): Remove documentation.
11760
bb8b6697
JM
11761 * manual/Makefile (libc-texi-generated): New variable. Include
11762 version.texi.
11763 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
11764 $(libc-texi-generated), not duplicated list of files.
11765 (version.texi, stamp-version): New rules.
11766 (realclean): Remove $(libc-texi-generated), not individual files
11767 from that list. Do not remove dir-add.texinfo.
11768 * manual/libc.texinfo: Comment out uses of edition numbers and
11769 references to printed manual. Remove last-updated dates.
11770 (EDITION): Comment out.
11771 (ISBN): Likewise.
11772 (VERSION, UPDATED): Remove.
11773 (version.texi): Include.
11774
12e5c3b9
AS
117752012-02-27 Andreas Schwab <schwab@linux-m68k.org>
11776
11777 * sysdeps/posix/spawni.c: Include <signal.h>.
11778 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
11779 * sysdeps/pthread/aio_fsync.c: Likewise.
11780
4efeffc1 117812012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 11782
ba63ba08
UD
11783 * conform/Makefile (tests): Run only when not cross-compiling and
11784 when fast-check is not defined.
11785
d94a4670
UD
11786 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
11787 * conform/data/limits.h-data: Fixes for POSIX2008.
11788 * conform/run-conformtest.sh: Run all tests.
11789 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
11790 headers.
11791 * include/bits/dlfcn.h: Likewise.
11792 * include/langinfo.h: Likewise.
11793 * include/monetary.h: Likewise.
11794 * include/sys/poll.h: Likewise.
11795
11796 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
11797 for __USE_GNU.
11798 * posix/spawn.h: Define __need_sigset_t.
11799 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
11800 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
11801 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
11802 to get sigevent_t only.
11803 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
11804 only for __USE_GNU.
11805 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11806 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11807 process_vm_writev only for __USE_GNU.
11808 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
11809
11810 * conform/Makefile: For now ignore errors from run-conformtest.
11811 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
11812 POSIX to avoid namespace pollution. Don't prepend headers.
11813 * conform/data/aio.h-data: Fixes for POSIX testing.
11814 * conform/data/fcntl.h-data: Likewise.
11815 * conform/data/glob.h-data: Likewise.
11816 * conform/data/grp.h-data: Likewise.
11817 * conform/data/pthread.h-data: Likewise.
11818 * conform/data/pwd.h-data: Likewise.
11819 * conform/data/signal.h-data: Likewise.
11820 * conform/data/spawn.h-data: Likewise.
11821 * conform/data/stdio.h-data: Likewise.
11822 * conform/data/stdlib.h-data: Likewise.
11823 * conform/data/stropts.h-data: Likewise.
11824 * conform/data/sys/mman.h-data: Likewise.
11825 * conform/data/sys/stat.h-data: Likewise.
11826 * conform/data/sys/types.h-data: Likewise.
11827 * conform/data/sys/wait.h-data: Likewise.
11828 * conform/data/time.h-data: Likewise.
11829 * conform/data/unistd.h-data: Likewise.
11830 * conform/data/utime.h-data: Likewise.
11831
11832 * io/sys/stat.h: fchmod was always in POSIX.
11833 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
11834 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
11835 * rt/aio.h: Define __need_timespec before including <time.h>.
11836 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
11837 struct. Add forward declaration of pthread_attr_t and use it in
11838 sigevent.
11839 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11840 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11841 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
11842 always remove CLK_TCK definition.
11843
c20105c3
AS
118442012-02-26 Andreas Schwab <schwab@linux-m68k.org>
11845
11846 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
11847
7a270350
UD
118482012-02-25 Ulrich Drepper <drepper@gmail.com>
11849
31341567
UD
11850 * conform/run-conformtest.sh: New file.
11851 * conform/Makefile: Run run-conformtest for tests.
11852 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
11853 support.
11854
11855 * conform/data/uchar.h-data: New file.
11856 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
11857 * conform/data/arpa/inet.h-data: Likewise.
11858 * conform/data/assert.h-data: Likewise.
11859 * conform/data/complex.h-data: Likewise.
11860 * conform/data/cpio.h-data: Likewise.
11861 * conform/data/ctype.h-data: Likewise.
11862 * conform/data/dirent.h-data: Likewise.
11863 * conform/data/dlfcn.h-data: Likewise.
11864 * conform/data/errno.h-data: Likewise.
11865 * conform/data/fcntl.h-data: Likewise.
11866 * conform/data/float.h-data: Likewise.
11867 * conform/data/fmtmsg.h-data: Likewise.
11868 * conform/data/fnmatch.h-data: Likewise.
11869 * conform/data/ftw.h-data: Likewise.
11870 * conform/data/glob.h-data: Likewise.
11871 * conform/data/grp.h-data: Likewise.
11872 * conform/data/iconv.h-data: Likewise.
11873 * conform/data/inttypes.h-data: Likewise.
11874 * conform/data/langinfo.h-data: Likewise.
11875 * conform/data/libgen.h-data: Likewise.
11876 * conform/data/limits.h-data: Likewise.
11877 * conform/data/locale.h-data: Likewise.
11878 * conform/data/math.h-data: Likewise.
11879 * conform/data/monetary.h-data: Likewise.
11880 * conform/data/mqueue.h-data: Likewise.
11881 * conform/data/ndbm.h-data: Likewise.
11882 * conform/data/net/if.h-data: Likewise.
11883 * conform/data/netdb.h-data: Likewise.
11884 * conform/data/netinet/in.h-data: Likewise.
11885 * conform/data/nl_types.h-data: Likewise.
11886 * conform/data/poll.h-data: Likewise.
11887 * conform/data/pthread.h-data: Likewise.
11888 * conform/data/pwd.h-data: Likewise.
11889 * conform/data/regex.h-data: Likewise.
11890 * conform/data/sched.h-data: Likewise.
11891 * conform/data/search.h-data: Likewise.
11892 * conform/data/semaphore.h-data: Likewise.
11893 * conform/data/setjmp.h-data: Likewise.
11894 * conform/data/signal.h-data: Likewise.
11895 * conform/data/spawn.h-data: Likewise.
11896 * conform/data/stdarg.h-data: Likewise.
11897 * conform/data/stdio.h-data: Likewise.
11898 * conform/data/stdlib.h-data: Likewise.
11899 * conform/data/string.h-data: Likewise.
11900 * conform/data/strings.h-data: Likewise.
11901 * conform/data/stropts.h-data: Likewise.
11902 * conform/data/sys/ipc.h-data: Likewise.
11903 * conform/data/sys/mman.h-data: Likewise.
11904 * conform/data/sys/msg.h-data: Likewise.
11905 * conform/data/sys/resource.h-data: Likewise.
11906 * conform/data/sys/select.h-data: Likewise.
11907 * conform/data/sys/sem.h-data: Likewise.
11908 * conform/data/sys/shm.h-data: Likewise.
11909 * conform/data/sys/socket.h-data: Likewise.
11910 * conform/data/sys/stat.h-data: Likewise.
11911 * conform/data/sys/statvfs.h-data: Likewise.
11912 * conform/data/sys/time.h-data: Likewise.
11913 * conform/data/sys/timeb.h-data: Likewise.
11914 * conform/data/sys/times.h-data: Likewise.
11915 * conform/data/sys/types.h-data: Likewise.
11916 * conform/data/sys/uio.h-data: Likewise.
11917 * conform/data/sys/un.h-data: Likewise.
11918 * conform/data/sys/utsname.h-data: Likewise.
11919 * conform/data/sys/wait.h-data: Likewise.
11920 * conform/data/syslog.h-data: Likewise.
11921 * conform/data/tar.h-data: Likewise.
11922 * conform/data/termios.h-data: Likewise.
11923 * conform/data/utime.h-data: Likewise.
11924 * conform/data/utmpx.h-data: Likewise.
11925 * conform/data/varargs.h-data: Likewise.
11926 * conform/data/wchar.h-data: Likewise.
11927 * conform/data/wctype.h-data: Likewise.
11928 * conform/data/wordexp.h-data: Likewise.
11929
11930 * include/stropts.h: New file.
11931 * include/uchar.h: New file.
11932 * include/aio.h: Changes to allow conformtest.pl to use the headers.
11933 * include/assert.h: Likewise.
11934 * include/ctype.h: Likewise.
11935 * include/dirent.h: Likewise.
11936 * include/dlfcn.h: Likewise.
11937 * include/fcntl.h: Likewise.
11938 * include/fnmatch.h: Likewise.
11939 * include/glob.h: Likewise.
11940 * include/grp.h: Likewise.
11941 * include/libio.h: Likewise.
11942 * include/locale.h: Likewise.
11943 * include/math.h: Likewise.
11944 * include/net/if.h: Likewise.
11945 * include/netdb.h: Likewise.
11946 * include/netinet/in.h: Likewise.
11947 * include/pthread.h: Likewise.
11948 * include/pwd.h: Likewise.
11949 * include/regex.h: Likewise.
11950 * include/sched.h: Likewise.
11951 * include/search.h: Likewise.
11952 * include/setjmp.h: Likewise.
11953 * include/signal.h: Likewise.
11954 * include/stdio.h: Likewise.
11955 * include/stdlib.h: Likewise.
11956 * include/string.h: Likewise.
11957 * include/sys/cdefs.h: Likewise.
11958 * include/sys/mman.h: Likewise.
11959 * include/sys/msg.h: Likewise.
11960 * include/sys/resource.h: Likewise.
11961 * include/sys/select.h: Likewise.
11962 * include/sys/socket.h: Likewise.
11963 * include/sys/stat.h: Likewise.
11964 * include/sys/statvfs.h: Likewise.
11965 * include/sys/time.h: Likewise.
11966 * include/sys/times.h: Likewise.
11967 * include/sys/uio.h: Likewise.
11968 * include/sys/utsname.h: Likewise.
11969 * include/sys/wait.h: Likewise.
11970 * include/termios.h: Likewise.
11971 * include/time.h: Likewise.
11972 * include/ulimit.h: Likewise.
11973 * include/unistd.h: Likewise.
11974 * include/utime.h: Likewise.
11975 * include/wchar.h: Likewise.
11976 * include/wctype.h: Likewise.
11977 * include/wordexp.h: Likewise.
11978
11979 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
11980
7a270350
UD
11981 * time/time.h: TIME_UTC must be a macro.
11982 Make timespec_get available for ISO C11 only as well.
11983
7724defc
UD
119842012-02-24 Ulrich Drepper <drepper@gmail.com>
11985
11986 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
11987 Reported by Peng Haitao <penght@cn.fujitsu.com>.
11988
6b1d1d46
JM
119892012-02-24 Joseph Myers <joseph@codesourcery.com>
11990
11991 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 11992
0f8bbd69
JM
119932012-02-24 Joseph Myers <joseph@codesourcery.com>
11994
11995 * manual/texinfo.tex: Update to version 2012-01-19.16.
11996
66ab80bc
JM
119972012-02-24 Joseph Myers <joseph@codesourcery.com>
11998
11999 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
12000
74981cc5
RM
120012012-02-24 Roland McGrath <roland@hack.frob.com>
12002
ee968201
RM
12003 [BZ #13738]
12004 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
12005 * manual/fdl-1.3.texi: New file.
12006 * manual/fdl-1.1.texi: File removed.
12007
74981cc5
RM
12008 [BZ #13738]
12009 * manual/libc.texinfo (FDL_VERSION): New @set.
12010 Use it for mention of FDL in cover text.
12011 (Documentation License): Use it in @include file name.
12012
7bb764bc
JM
120132012-02-22 Joseph Myers <joseph@codesourcery.com>
12014 Roland McGrath <roland@hack.frob.com>
12015
12016 [BZ #5461]
12017 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
12018 not LONG_LONG_MAX and LONG_LONG_MIN.
12019 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
12020 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
12021 name.
12022 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
12023
6cbeae47
JM
120242012-02-22 Joseph Myers <joseph@codesourcery.com>
12025
12026 [BZ #2547]
12027 [BZ #11365]
12028 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
12029 manipulate bits before adding and subtracting TWO23[sx].
12030 * math/libm-test.inc (nearbyint_test): Add more tests.
12031
fe45ce09
JM
120322012-02-22 Joseph Myers <joseph@codesourcery.com>
12033
12034 [BZ #2548]
12035 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
12036 bits before adding and subtracting TWO23[sx].
12037 * math/libm-test.inc (rint_test): Add more tests.
12038 (rint_test_tonearest): Likewise.
12039 (rint_test_towardzero): Likewise.
12040 (rint_test_downward): Likewise.
12041 (rint_test_upward: Likewise.
12042
ff3b3d82
JM
120432012-02-22 Joseph Myers <joseph@codesourcery.com>
12044
12045 [BZ #10110]
12046 * include/stdc-predef.h: New file. Extracted from features.h.
12047 * include/features.h: Include stdc-predef.h.
12048 * Makefile (headers): Add stdc-predef.h.
12049 * CONFORMANCE (Compiler limitations): Update.
12050
ef0aab35
JM
120512012-02-22 Joseph Myers <joseph@codesourcery.com>
12052
12053 * manual/libc.texinfo (VERSION, UPDATED): Revert.
12054
58639409
DM
120552012-02-21 David S. Miller <davem@davemloft.net>
12056
12057 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
12058 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12059
c0e70b25
DM
120602012-02-20 David S. Miller <davem@davemloft.net>
12061
12062 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
12063 using a normal save/restore sequence, rather than allocating a
12064 dummy stack frame just to store a frame pointer and restore.
12065 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12066
fb06851d
JM
120672012-02-21 Joseph Myers <joseph@codesourcery.com>
12068
12069 * manual/install.texi: Fix stray word in line-wrapped comment.
12070
7a8b71c3
DM
120712012-02-20 David S. Miller <davem@davemloft.net>
12072
d510c123
DM
12073 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
12074 both binutils and gcc support GOTDATA.
12075
0722d7c2
DM
12076 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
12077 "rd %pc" in the PIC register setup sequences.
12078
3d2b3019
DM
12079 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
12080 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12081 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
12082 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12083 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
12084 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12085 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12086 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12087 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
12088 (SYSCALL_ERROR_HANDLER): Likewise.
12089 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
12090 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12091 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
12092 (SYSCALL_ERROR_HANDLER): Likewise.
12093
c80098a9
DM
12094 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
12095 (HAVE_GCC_GOTDATA): New.
12096 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
12097 relocation support in both binutils and gcc.
12098 * sysdeps/sparc/elf/configure: Regenerate.
12099
3a2545a0
DM
12100 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
12101 * sysdeps/sparc/sparc32/elf/configure: Delete.
12102 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
12103 * sysdeps/sparc/sparc64/elf/configure: Delete.
12104 * sysdeps/sparc/elf/configure.in: New file.
12105 * sysdeps/sparc/elf/configure: Generate.
12106
7a8b71c3
DM
12107 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
12108 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
12109 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12110 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
12111 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
12112
f1e86fca
JM
121132012-02-21 Joseph Myers <joseph@codesourcery.com>
12114
12115 * manual/install.texi: Do not mention specific glibc version
12116 numbers.
12117 * manual/libc.texinfo (VERSION, UPDATED): Update.
12118 (@copying): Use @copyright{} and range of years.
12119
0e7dfaef
JM
121202012-02-21 Joseph Myers <joseph@codesourcery.com>
12121
12122 [BZ #13695]
12123 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
12124 [crti.S not in sysdirs] (generated): Do not append.
12125 [crti.S not in sysdirs] (omit-deps): Likewise.
12126 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
12127 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
12128 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
12129 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
12130 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
12131 Likewise.
12132 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
12133 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
12134 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
12135 * csu/defs.awk: Remove file.
12136 * sysdeps/generic/initfini.c: Likewise.
12137 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
12138 variable.
12139 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
12140 Likewise.
12141
599af3ca
JM
121422012-02-20 Joseph Myers <joseph@codesourcery.com>
12143
12144 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
12145 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
12146 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
12147 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
12148 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12149 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
12150 <bits/epoll.h>.
12151 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
12152 (__EPOLL_PACKED): Define to empty if not defined by
12153 <bits/epoll.h>.
12154 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
12155 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12156 bits/epoll.h.
12157
0e499750
JM
121582012-02-20 Joseph Myers <joseph@codesourcery.com>
12159
12160 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
12161 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
12162 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
12163 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
12164 <bits/timerfd.h>.
12165 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
12166 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12167 bits/timerfd.h.
12168
5ad91f6e
JM
121692012-02-20 Joseph Myers <joseph@codesourcery.com>
12170
12171 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
12172 in C locale.
12173 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12174 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12175 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
12176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12177
06b99b02
AJ
121782012-02-20 Aurelien Jarno <aurelien@aurel32.net>
12179
12180 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12181 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12182
7638c0fd
AS
121832012-02-19 Andreas Schwab <schwab@linux-m68k.org>
12184
12185 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
12186 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
12187 defined.
12188 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
12189 Likewise.
12190 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
12191 entry for 2.16.
12192
92221550
AJ
121932012-02-19 Aurelien Jarno <aurelien@aurel32.net>
12194
12195 * math/w_acos.c: Use non-signaling floating-point comparisons.
12196 * math/w_acosf.c: Likewise.
12197 * math/w_acosh.c: Likewise.
12198 * math/w_acoshf.c: Likewise.
12199 * math/w_acoshl.c: Likewise.
12200 * math/w_acosl.c: Likewise.
12201 * math/w_asin.c: Likewise.
12202 * math/w_asinf.c: Likewise.
12203 * math/w_asinl.c: Likewise.
12204 * math/w_atanh.c: Likewise.
12205 * math/w_atanhf.c: Likewise.
12206 * math/w_atanhl.c: Likewise.
12207 * math/w_exp2.c: Likewise.
12208 * math/w_exp2f.c: Likewise.
12209 * math/w_exp2l.c: Likewise.
12210 * math/w_j0.c: Likewise.
12211 * math/w_j0f.c: Likewise.
12212 * math/w_j0l.c: Likewise.
12213 * math/w_j1.c: Likewise.
12214 * math/w_j1f.c: Likewise.
12215 * math/w_j1l.c: Likewise.
12216 * math/w_jn.c: Likewise.
12217 * math/w_jnf.c: Likewise.
12218 * math/w_log.c: Likewise.
12219 * math/w_log10.c: Likewise.
12220 * math/w_log10f.c: Likewise.
12221 * math/w_log10l.c: Likewise.
12222 * math/w_log2.c: Likewise.
12223 * math/w_log2f.c: Likewise.
12224 * math/w_log2l.c: Likewise.
12225 * math/w_logf.c: Likewise.
12226 * math/w_logl.c: Likewise.
12227 * math/w_sqrt.c: Likewise.
12228 * math/w_sqrtf.c: Likewise.
12229 * math/w_sqrtl.c: Likewise.
12230 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12231 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
12232 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12233 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12234 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12235
ebaf36eb
JM
122362012-02-19 Joseph Myers <joseph@codesourcery.com>
12237
12238 [BZ #9739]
12239 * manual/string.texi (strnlen): Use correct parameter name in
12240 equivalent expression.
12241
71c254a6
JM
122422012-02-19 Joseph Myers <joseph@codesourcery.com>
12243
12244 [BZ #11174]
12245 * manual/users.texi (seteuid): Consistently use neweuid for
12246 argument name.
12247
16d2c631
JM
122482012-02-19 Joseph Myers <joseph@codesourcery.com>
12249
12250 [BZ #13704]
12251 * manual/nss.texi (Services in the NSS configuration): Correct
12252 list of services in example configuration file.
12253
cd837b09
NB
122542012-02-19 Nick Bowler <nbowler@draconx.ca>
12255
12256 [BZ #11322]
12257 * manual/arith.texi: Remove statements about negative zero
12258 behaving identically to zero.
12259
02c4bbad
JM
122602012-02-18 Joseph Myers <joseph@codesourcery.com>
12261
12262 [BZ #5993]
12263 * manual/install.texi: Do not document upgrading from libc5.
12264
366842e7
JM
122652012-02-18 Joseph Myers <joseph@codesourcery.com>
12266
12267 [BZ #4596]
12268 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
12269
dd54084d
DM
122702012-02-18 David S. Miller <davem@davemloft.net>
12271
12272 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
12273 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
12274 %o7 across the call.
12275 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
12276 instead.
12277 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
12278 SETUP_PIC_REG_LEAF.
12279 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12280 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
12281 * sysdeps/sparc/crtn.S: Likewise.
12282
2bcc53a3
UD
122832012-02-17 Ulrich Drepper <drepper@gmail.com>
12284
12285 * aout/Makefile: Remove.
12286
09c093b5
RK
122872012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
12288
12289 [BZ #13058]
12290 * manual/examples/argp-ex1.c (main): Format definition in GNU
12291 style.
12292 * manual/examples/argp-ex2.c (main): Likewise.
12293 * manual/examples/argp-ex3.c (main): Likewise.
12294 * manual/examples/argp-ex4.c (main): Likewise.
12295 * manual/examples/longopt.c (main): Use new-style prototype
12296 definition.
12297 * manual/examples/strncat.c (main): Specify return type and use
12298 (void) for arguments.
12299 * manual/examples/subopt.c (main): Use char **argv argument.
12300
2ee633a2
JM
123012012-02-17 Joseph Myers <joseph@codesourcery.com>
12302
12303 [BZ #5077]
12304 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
12305 rounding modes.
12306
0520adde
FB
123072012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
12308
12309 [BZ #6907]
12310 * manual/string.texi (strchr): Change when strchrnul is
12311 recommended.
12312
3f4081cd
DGM
123132012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
12314
12315 [BZ #174]
12316 * manual/locale.texi (setlocale): Document LOCPATH.
12317
d1b10e78
JM
123182012-02-17 Joseph Myers <joseph@codesourcery.com>
12319
12320 [BZ #10210]
12321 * manual/process.texi (execle): Move @dots{} before last argument.
12322
79c6869c
PB
123232012-02-17 Paul Bolle <pebolle@tiscali.nl>
12324
12325 [BZ #12047]
12326 * manual/charset.texi (Generic Charset Conversion): Fix typo
12327 (LC_TYPE -> LC_CTYPE).
12328
cc6e48bc
NB
123292012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
12330
12331 [BZ #5805]
12332 * manual/arith.texi (scalbn): Use @var{} on parameter names.
12333 (scalbnf): Likewise.
12334 (scalbnl): Likewise.
12335 (scalbln): Likewise.
12336 (scalblnf): Likewise.
12337 (scalblnl): Likewise.
12338 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
12339 (vwarnx): Likewise.
12340 (verr): Likewise.
12341 (verrx): Likewise.
12342 * manual/filesys.texi (telldir): Use braces around return type.
12343 * manual/llio.texi (mmap): Add space after comma.
12344 (mmap64): Likewise.
12345 * manual/math.texi (jn): Use @var{} on parameter names.
12346 (jnf): Likewise.
12347 (jnl): Likewise.
12348 (yn): Likewise.
12349 (ynf): Likewise.
12350 (ynl): Likewise.
12351 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
12352 line.
12353 * manual/resource.texi (ulimit): Use @dots{} instead of literal
12354 "...".
12355 (sched_get_priority_min): Remove semicolon on @deftypefun line.
12356 (sched_get_priority_max): Likewise.
12357 * manual/signal.texi (sigvec): Add space after comma.
12358 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
12359 names.
12360 (if_indextoname): Likewise.
12361 (if_freenameindex): Likewise.
12362 (sendto): Use ',' instead of '.' in prototype.
12363 * manual/startup.texi (syscall): Use @dots{} instead of literal
12364 "...".
12365 * manual/stdio.texi (__fpending): Separate initial words of
12366 paragraph from @deftypefun line.
12367 * manual/syslog.texi (syslog): Use @dots{} instead of literal
12368 "...".
12369 (vsyslog): Use @var{} on parameter names.
12370 * manual/terminal.texi (stty): Use @var{} on parameter names.
12371 * manual/users.texi (getutmp): Use @var{} on parameter names.
12372 (getutmpx): Likewise.
12373
5b23062f
JM
123742012-02-17 Joseph Myers <joseph@codesourcery.com>
12375
12376 [BZ #6884]
12377 * manual/stdio.texi (fopen): Fix typos in description of
12378 ",ccs=STRING".
12379
8dee4833
AJ
123802012-02-17 Aurelien Jarno <aurelien@aurel32.net>
12381
12382 [BZ #4026]
12383 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
12384 get clock_id definition.
12385
9078ce93
TS
123862012-02-17 Thomas Schwinge <thomas@schwinge.name>
12387
12388 [BZ #4822]
12389 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
12390 (madvise): Cast every argument to void on its own.
12391
3835c55f
JM
123922012-02-17 Joseph Myers <joseph@codesourcery.com>
12393
12394 [BZ #9902]
12395 * manual/startup.texi (Exit Status): Fix typo.
12396
35c47e37
JM
123972012-02-17 Joseph Myers <joseph@codesourcery.com>
12398
12399 [BZ #10140]
12400 * manual/examples/argp-ex1.c: Include <stdlib.h>.
12401 * manual/examples/argp-ex2.c: Likewise.
12402 * manual/examples/argp-ex3.c: Likewise.
12403
e3b69ca7
RH
124042012-02-16 Richard Henderson <rth@redhat.com>
12405
12406 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
12407 * sysdeps/s390/s390-32/initfini.c: Remove.
12408 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
12409 * sysdeps/s390/s390-64/initfini.c: Remove.
12410
df83af67
KK
124112012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12412
12413 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
12414 compiler output for sysdeps/generic/initfini.c.
12415 * sysdeps/sh/elf/initfini.c: Remove file.
12416
f63f3380
DM
124172012-02-16 David S. Miller <davem@davemloft.net>
12418
fb59b3a4
DM
12419 [BZ #11494]
12420 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
12421
f63f3380
DM
12422 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
12423 * sysdeps/sparc/crti.S: New file.
12424 * sysdeps/sparc/crtn.S: New file.
12425 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
12426 * sysdeps/sparc/sparc64/Makefile: Likewise.
12427
df6a4a4a
MF
124282012-02-15 Mike Frysinger <vapier@gentoo.org>
12429
6dd8f3dc 12430 [BZ #3335]
df6a4a4a
MF
12431 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
12432
1cac7236
RM
124332012-02-15 Roland McGrath <roland@hack.frob.com>
12434
d2c736f8
RM
12435 [BZ #4822]
12436 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
12437
1cac7236
RM
12438 * mach/devstream.c (cookie_io_functions_t): Macro removed.
12439 (write, read, close): Likewise.
12440 Patch by Aurelien Jarno <aurelien@aurel32.net>.
12441
8e475601
JM
124422012-02-15 Joseph Myers <joseph@codesourcery.com>
12443
12444 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
12445 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
12446 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
12447 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
12448 <bits/signalfd.h>.
12449 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
12450 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12451 bits/signalfd.h.
12452
ed656b40
MP
124532012-02-14 Marek Polacek <polacek@redhat.com>
12454
12455 * sysdeps/x86_64/crti.S: New file.
12456 * sysdeps/x86_64/crtn.S: New file.
12457 * sysdeps/x86_64/elf/initfini.c: Remove file.
12458
2a979d3a
JM
124592012-02-13 Joseph Myers <joseph@codesourcery.com>
12460
12461 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
12462 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
12463 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
12464 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
12465 <bits/inotify.h>.
12466 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
12467 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12468 bits/inotify.h.
12469
2a418ac3
JM
124702012-02-13 Joseph Myers <joseph@codesourcery.com>
12471
12472 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
12473 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
12474 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
12475 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
12476 <bits/eventfd.h>.
12477 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
12478 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12479 bits/eventfd.h.
12480
fb779be7
TS
124812012-02-10 Thomas Schwinge <thomas@codesourcery.com>
12482
e19e83c5
RM
12483 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
12484 __feraiseexcept instead of feraiseexcept.
7c35ffed 12485
fb779be7
TS
12486 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
12487 nanosleep invocations.
12488 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
12489 strings, and add error checking for a nanosleep invocations.
12490
59ba27a6
PE
124912012-02-09 Paul Eggert <eggert@cs.ucla.edu>
12492
12493 Replace FSF snail mail address with URLs, as per GNU coding standards.
12494 Most of the snail mail addresses were wrong anyway, and omitting
12495 them makes the source code easier to maintain. Almost all of the
12496 changes are to license notices and to locale LC_IDENTIFICATION
12497 addresses, except for this one:
12498 * manual/libc.texinfo: In "Published by", give the FSF's URL,
12499 not its snail mail address.
12500
57b957eb
RH
125012012-02-09 Richard Henderson <rth@twiddle.net>
12502
af850b1c
RH
12503 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
12504 of kernel-features.h.
12505
57b957eb
RH
12506 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
12507
6b73181a
MP
125082012-02-08 Marek Polacek <polacek@redhat.com>
12509
12510 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
12511 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
12512 * sysdeps/gnu/_G_config.h: Likewise.
12513 * sysdeps/generic/_G_config.h: Likewise.
12514
26ecc33a
AS
125152012-02-08 Andreas Schwab <schwab@linux-m68k.org>
12516
6c6dbc63
AS
12517 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
12518 tests.
12519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12520
e216c012
AS
12521 * sysdeps/powerpc/powerpc32/crti.S: New file.
12522 * sysdeps/powerpc/powerpc32/crtn.S: New file.
12523 * sysdeps/powerpc/powerpc64/crti.S: New file.
12524 * sysdeps/powerpc/powerpc64/crtn.S: New file.
12525
26ecc33a
AS
12526 * Makeconfig (have-initfini): Don't set.
12527 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
12528 * configure.in (nopic_initfini): Don't substitute.
12529 * config.h.in (HAVE_INITFINI): Don't #undef.
12530 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
12531 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
12532
3add8e13
JM
125332012-02-08 Joseph Myers <joseph@codesourcery.com>
12534
12535 Support crti.S and crtn.S provided directly by architectures.
12536 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
12537 [crti.S in sysdirs] (omit-deps): Likewise.
12538 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
12539 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
12540 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
12541 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
12542 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
12543 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
12544 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
12545 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
12546 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
12547 compiler output for sysdeps/generic/initfini.c.
12548 * sysdeps/i386/elf/Makefile: Remove file.
12549 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
12550
a22f12b4
MP
125512012-02-07 Marek Polacek <polacek@redhat.com>
12552
12553 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
12554 * sysdeps/gnu/_G_config.h: Likewise.
12555 * sysdeps/mach/hurd/_G_config.h: Likewise.
12556
148cf100
MP
125572012-02-07 Marek Polacek <polacek@redhat.com>
12558
12559 * math/Makefile (tests): Add tst-CMPLX2.
12560 * math/tst-CMPLX2.c: New file.
12561
cfdc0dd7
AS
125622012-02-07 Andreas Schwab <schwab@linux-m68k.org>
12563
84ba42c4
AS
12564 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12565
cfdc0dd7
AS
12566 * math/libm-test.inc (jn_test): Add missing L suffix.
12567
622c86f4
MP
125682012-02-06 Marek Polacek <polacek@redhat.com>
12569
12570 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
12571 * sysdeps/i386/fpu/e_powf.S: Likewise.
12572 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12573 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12574 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12575 * sysdeps/i386/fpu/e_pow.S: Likewise.
12576 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
12577 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12578 * sysdeps/i386/fpu/s_expm1.S: Likewise.
12579 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
12580 * sysdeps/i386/fpu/e_log2.S: Likewise.
12581 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12582 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12583 * sysdeps/i386/fpu/e_powl.S: Likewise.
12584 * sysdeps/i386/fpu/s_log1p.S: Likewise.
12585 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12586 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
12587 * sysdeps/i386/fpu/e_logl.S: Likewise.
12588 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
12589 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
12590 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
12591 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
12592 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12593 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12594 * sysdeps/i386/fpu/e_log.S: Likewise.
12595 * sysdeps/i386/fpu/s_cexp.S: Likewise.
12596 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12597 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
12598 * sysdeps/i386/fpu/e_logf.S: Likewise.
12599 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12600 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12601 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
12602 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
12603 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12604 * sysdeps/i386/fpu/e_log10.S: Likewise.
12605 * sysdeps/i386/fpu/s_frexp.S: Likewise.
12606 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12607 * sysdeps/i386/fpu/s_asinh.S: Likewise.
12608 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
12609 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12610 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
12611 * sysdeps/i386/asm-syntax.h: Likewise.
12612 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12613 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12614 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12615 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
12616 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
12617 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12618 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
12619 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
12620 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12621 * sysdeps/powerpc/sysdep.h: Likewise.
12622 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
12623 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12624
d4a54ac6
JM
126252012-02-06 Joseph Myers <joseph@codesourcery.com>
12626
12627 [BZ #411]
12628 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
12629
314054ea
JM
126302012-02-06 Joseph Myers <joseph@codesourcery.com>
12631
12632 * sysdeps/i386/sysdep.h: Include <features.h>.
12633 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
12634 version.
12635
d8e0ca50
JM
126362012-02-05 Joseph Myers <joseph@codesourcery.com>
12637
12638 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
12639 Define.
12640 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
12641 LOAD_PIC_REG_STR.
12642
b1da7dd9
JM
126432012-02-03 Joseph Myers <joseph@codesourcery.com>
12644
12645 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
12646 (SETUP_PIC_REG): Use GET_PC_THUNK.
12647 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
12648 macro.
12649
9a1d9254
JM
126502012-02-03 Joseph Myers <joseph@codesourcery.com>
12651
12652 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
12653 for non-PIC compilation.
12654 (SETUP_PIC_REG): Add .p2align directive.
12655 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
12656 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
12657 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12658 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12659 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12660 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12661 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
12662 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12663 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12664 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12665 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12666 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12667 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12668 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12669 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12670 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12671 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12672 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12673 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12674 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12675 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12676 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12677 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12678 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12679 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12680 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12681 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12682 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12683 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12684 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12685 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12686 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12687 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12688 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12689 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12690 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12691 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12692 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12693 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12694 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12695 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12696
65dc3b75
JM
126972012-02-03 Joseph Myers <joseph@codesourcery.com>
12698
12699 * math/tst-CMPLX.c: Include <stdio.h>.
12700
d55bf177
JM
127012012-01-31 Joseph Myers <joseph@codesourcery.com>
12702
12703 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
12704 float.
12705 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12706 * sysdeps/sparc/bits/mathdef.h: Likewise.
12707
69db4f8f
MP
127082012-01-31 Marek Polacek <polacek@redhat.com>
12709
12710 * libio/libio.h: Don't define _PARAMS.
12711 * locale/programs/config.h: Don't define PARAMS.
12712 * stdlib/strtol_l.c: Likewise.
12713 (__strtol_l): Remove PARAMS from the prototype.
12714
41b81892
UD
127152012-01-31 Ulrich Drepper <drepper@gmail.com>
12716
3b49edc0
UD
12717 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
12718 names. Just use the correct names. Remove unnecessary wrapper
12719 functions.
12720 * malloc/arena.c: Likewise.
12721 * malloc/hooks.c: Likewise.
12722
41b81892
UD
12723 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
12724 ARENA_TEST says not to. Simplify test for creation of a new arena.
12725 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
12726
27a25b6e
UD
127272012-01-30 Ulrich Drepper <drepper@gmail.com>
12728
12729 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
12730 into tail calls.
12731 (update_get_addr): New function.
12732 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
12733 GET_ADDR_MODULE parameter.
12734
c8a89e7d
JM
127352012-01-30 Joseph Myers <joseph@codesourcery.com>
12736
12737 * crypt/cert.c: Remove __STDC__ conditionals.
12738 * crypt/crypt-entry.c: Likewise.
12739 * crypt/crypt_util.c: Likewise.
12740 * libio/filedoalloc.c: Likewise.
12741 * libio/fileops.c: Likewise.
12742 * libio/genops.c: Likewise.
12743 * libio/iofclose.c: Likewise.
12744 * libio/iofdopen.c: Likewise.
12745 * libio/iofopen.c: Likewise.
12746 * libio/iofopen64.c: Likewise.
12747 * libio/iogetdelim.c: Likewise.
12748 * libio/iopopen.c: Likewise.
12749 * libio/obprintf.c: Likewise.
12750 * libio/oldfileops.c: Likewise.
12751 * libio/oldiofclose.c: Likewise.
12752 * libio/oldiofdopen.c: Likewise.
12753 * libio/oldiofopen.c: Likewise.
12754 * libio/oldiopopen.c: Likewise.
12755 * libio/wfiledoalloc.c: Likewise.
12756 * libio/wgenops.c: Likewise.
12757 * locale/programs/xmalloc.c: Likewise.
12758 * misc/syslog.c: Likewise.
12759 * stdio-common/xbug.c: Likewise.
12760 * string/memchr.c: Likewise.
12761 * string/memcmp.c: Likewise.
12762 * string/memrchr.c: Likewise.
12763 * string/rawmemchr.c: Likewise.
12764 * sysdeps/posix/getcwd.c: Likewise.
12765 * time/strftime_l.c: Likewise.
12766
3b100462
JM
127672012-01-30 Joseph Myers <joseph@codesourcery.com>
12768
12769 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
12770 * config.make.in (config-cflags-sse2avx): Define.
12771 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
12772 Fix typo.
12773
607998af
CM
127742012-01-29 Chris Metcalf <cmetcalf@tilera.com>
12775
12776 * scripts/config.guess: Update from upstream config git repository.
12777 * scripts/config.sub: Likewise.
12778
3601428f
CM
127792012-01-28 Chris Metcalf <cmetcalf@tilera.com>
12780
3ac8b282
CM
12781 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
12782 (EM_NUM): Update.
12783 (R_TILEPRO_*, R_TILEGX_*): New macros.
12784
e034841e
CM
12785 * scripts/firstversions.awk: Fix bug in version range handling.
12786
540d7568
CM
12787 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
12788
3601428f
CM
12789 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
12790
463de862
CM
12791 * include/sys/epoll.h: New file.
12792 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
12793 libc_hidden_def.
12794
73139a76
UD
127952012-01-28 Ulrich Drepper <drepper@gmail.com>
12796
96bc5b45
UD
12797 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
12798 Avoid unnecessary __WORDSIZE == 64 test.
12799 (fmaxf): Use VEX format if possible.
12800 (fmax): Likewise.
12801 (fminf): Likewise.
12802 (fmin): Likewise.
12803
56f6f6a2
UD
12804 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
12805 * math/math_private.h: Remove libc_fegetround* and
12806 libc_fesetround*.
12807 * sysdeps/i386/configure.in: Check for -msse2avx.
12808 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
12809 also if SSE2AVX is defined.
12810 Remove libc_fegetround* and libc_fesetround*.
12811 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
12812 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
12813 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
12814 of HAS_YMM_USABLE.
12815 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12816 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12817 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12818 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12819 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12820
73139a76
UD
12821 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
12822
d73f93a4
AZ
128232012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12824
12825 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
12826 size is not set.
12827 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12828
6ee65ed6
UD
128292012-01-27 Ulrich Drepper <drepper@gmail.com>
12830
12831 [BZ #13618]
12832 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
12833 relocation.
12834 * Makeconfig (libm): Define.
12835 * elf/Makefile: Add rules to build and run tst-relsort1.
12836 * elf/tst-relsort1.c: New file.
12837 * elf/tst-relsort1mod1.c: New file.
12838 * elf/tst-relsort1mod2.c: New file.
12839
8db21882
JM
128402012-01-27 Joseph Myers <joseph@codesourcery.com>
12841
12842 * math/s_ldexp.c: Remove __STDC__ conditionals.
12843 * math/s_ldexpf.c: Likewise.
12844 * math/s_ldexpl.c: Likewise.
12845 * math/s_nextafter.c: Likewise.
12846 * math/s_nexttowardf.c: Likewise.
12847 * math/s_significand.c: Likewise.
12848 * math/s_significandf.c: Likewise.
12849 * math/s_significandl.c: Likewise.
12850 * math/w_jnl.c: Likewise.
12851 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
12852 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
12853 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12854 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12855 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12856 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12857 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
12858 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12859 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12860 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12861 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12862 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12863 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12864 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
12865 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12866 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12867 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12868 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12869 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12870 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12871 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12872 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12873 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12874 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12875 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12876 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12877 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12878 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12879 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12880 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12881 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12882 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12883 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12884 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12885 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12886 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12887 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12888 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12889 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12890 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12891 * sysdeps/ieee754/k_standard.c: Likewise.
12892 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12893 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12894 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12895 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12896 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12897 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12898 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12899 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12900 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12901 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12902 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12903 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
12904 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12905 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12906 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12907 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12908 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12909 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12910 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12911 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12912 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12913 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12914 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12915 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12916 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12917 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12918 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12919 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12920 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12921 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12922 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12923 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
12924 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12925 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
12926 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12927 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
12928 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
12929 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12930 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
12931 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
12932 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
12933 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
12934 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12935 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
12936 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12937 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12938 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12939 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12940 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12941 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12942 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
12943 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12944 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12945 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
12946 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12947 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
12948 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
12949 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12950 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12951 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12952 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12953 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12954 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
12955 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12956 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12957 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12958 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12959 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
12960 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
12961 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12962 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12963 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12964 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12965 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12966 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12967 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12968 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
12969 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12970 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
12971 * sysdeps/ieee754/s_matherr.c: Likewise.
12972 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
12973 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12974 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12975 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12976
965a54a4
JM
129772012-01-26 Joseph Myers <joseph@codesourcery.com>
12978
12979 * crypt/md5.h: Remove __STDC__ conditionals.
12980 * libio/libioP.h: Likewise.
12981 * locale/programs/config.h: Likewise.
12982 * sysdeps/generic/sysdep.h: Likewise.
12983 * sysdeps/i386/asm-syntax.h: Likewise.
12984 * sysdeps/s390/asm-syntax.h: Likewise.
12985 * sysdeps/unix/sysdep.h: Likewise.
12986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12988
7071ad79
JM
129892012-01-26 Joseph Myers <joseph@codesourcery.com>
12990
12991 * libio/libio.h: Remove __STDC__ conditionals.
12992 * malloc/obstack.h: Likewise.
12993 * math/complex.h: Likewise.
12994 * math/math.h: Likewise.
12995 * sysdeps/generic/_G_config.h: Likewise.
12996 * sysdeps/gnu/_G_config.h: Likewise.
12997 * sysdeps/mach/hurd/_G_config.h: Likewise.
12998 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12999 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13000 * sysdeps/sparc/bits/mathdef.h: Likewise.
13001
afc5ed09
UD
130022012-01-26 Ulrich Drepper <drepper@gmail.com>
13003
13004 [BZ #13583]
13005 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 13006 Clean up HAS_* macros.
afc5ed09 13007 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
13008 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
13009 possible.
13010 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
13011 HAS_AVX.
13012 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13013 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13014 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13015 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13016 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 13017
bdb6de1d
JM
130182012-01-25 Joseph Myers <joseph@codesourcery.com>
13019
13020 * elf/tst-unique3.cc (gets): Remove declaration.
13021 * elf/tst-unique3lib.cc (gets): Likewise.
13022 * elf/tst-unique3lib2.cc (gets): Likewise.
13023 * elf/tst-unique4.cc (gets): Likewise.
13024
b15549e6
UD
130252012-01-24 Ulrich Drepper <drepper@gmail.com>
13026
13027 * include/stdio.h: Add C++ protection. Add gets declarations and
13028 definitions.
13029 * debug/tst-chk1.c: Don't declare gets here.
13030 * stdio-common/tst-gets.c: Likewise.
13031
a037381f
JM
130322012-01-24 Joseph Myers <joseph@codesourcery.com>
13033
13034 * posix/glob: Remove directory.
13035
f1d4aa75
JM
130362012-01-24 Joseph Myers <joseph@codesourcery.com>
13037
13038 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
13039
81c0c964
PT
130402012-01-22 Pino Toscano <toscano.pino@tiscali.it>
13041
13042 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
13043 of the non-standard EPFNOSUPPORT.
13044
0ea698ae
ST
130452011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
13046
13047 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
13048 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
13049 ANYWHERE set to 1 only on KERN_NO_SPACE error.
13050
d220b117
UD
130512012-01-21 Ulrich Drepper <drepper@gmail.com>
13052
13053 * wcsmbs/uchar.h: Test __STDC_VERSION__.
13054
3e1aa84e
UD
130552012-01-20 Ulrich Drepper <drepper@gmail.com>
13056
13057 * nscd/aicache.c (addhstaiX): Do not cache negative results of
13058 transient errors.
13059 * nscd/grpcache.c (cache_addgr): Likewise.
13060 * nscd/hstcache.c (cache_addhst): Likewise.
13061 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13062 * nscd/pwdcache.c (cache_addpw): Likewise.
13063 * nscd/servicescache.c (cache_addserv): Likewise.
13064
400aa020
UD
130652012-01-16 Ulrich Drepper <drepper@gmail.com>
13066
d77e7869
UD
13067 * malloc/malloc.c: Various cleanups.
13068 * malloc/hooks.c: Likewise.
13069
400aa020
UD
13070 * stdlib/Makefile (tests): Add bug-fmtmsg1.
13071 * stdlib/bug-fmtmsg1.c: New file.
13072
13073 * stdlib/fmtmsg.c (init): Add missing unlock.
13074 Patch by Peng Haitao <penght@cn.fujitsu.com>.
13075
e0a309cf
MP
130762012-01-12 Marek Polacek <polacek@redhat.com>
13077
13078 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
13079 and _GNU_SOURCE.
13080
929d11c7
WS
130812012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
13082
13083 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
13084 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
13085 macro to ensure uniqueness of label name.
13086 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13087 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13088
41d0e869
UD
130892012-01-11 Ulrich Drepper <drepper@gmail.com>
13090
0cc5ed3b
UD
13091 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
13092
41d0e869
UD
13093 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
13094 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13095 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13096 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
13097
a47a831a
UD
130982012-01-10 Ulrich Drepper <drepper@gmail.com>
13099
daa891c0
UD
13100 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
13101
13102 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
13103 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13104 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13105
e58ef0f2
UD
13106 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
13107
a47a831a 13108 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
13109 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13110 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 13111 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
13112
13113 * math/bits/math-finite.h: Add ldexp support.
13114
a0bfc9c7
MP
131152012-01-10 Marek Polacek <polacek@redhat.com>
13116
13117 * locale/programs/localedef.h (show_archive_content): Add noreturn
13118 attribute.
13119
d6e97a1d
UD
131202012-01-09 Ulrich Drepper <drepper@gmail.com>
13121
13122 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
13123
d5835c26
UD
131242012-01-08 Ulrich Drepper <drepper@gmail.com>
13125
e5f484c6
UD
13126 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
13127
d5835c26
UD
13128 * io/Makefile (headers): Add bits/poll2.h.
13129
d1f741e9
WS
131302011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
13131
13132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
13133 typo #include statement.
13134
ec09c1c4
UD
131352012-01-08 Ulrich Drepper <drepper@gmail.com>
13136
13137 * include/sys/cdefs.h: Define __attribute_alloc_size.
13138 * catgets/gencat.c: Add alloc_size attribute and apply consistently
13139 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
13140 * elf/pldd.c: Likewise.
13141 * iconv/iconv_charmap.c: Likewise.
13142 * iconv/iconvconfig.c: Likewise.
13143 * iconv/strtab.c: Likewise.
13144 * locale/programs/locale.c: Likewise.
13145 * locale/programs/localedef.h: Likewise.
13146 * locale/programs/simple-hash.c: Likewise.
13147 * nscd/nscd.h: Likewise.
13148 * nss/makedb.c: Likewise.
13149 * sysdeps/generic/ldconfig.h: Likewise.
13150 * locale/programs/localedef.c: Remove xmalloc prototype.
13151 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
13152
20b38e03
PP
131532012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13154
13155 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
13156 appropriate.
13157
a0da5fe1
UD
131582012-01-08 Ulrich Drepper <drepper@gmail.com>
13159
1d5a644a 13160 * math/Makefile (tests): Add tst-CMPLX.
669704fd 13161 * math/tst-CMPLX.c: New file.
1d5a644a 13162
8784a6db
UD
13163 * math/complex.h (CMPLXL): Fix typo.
13164
d9a216c0
UD
13165 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
13166 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
13167 GLIBC_2.16.
13168 * debug/tst-chk1.c: Add poll and ppoll tests.
13169 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
13170 * include/sys/poll.h: Add hidden proto for ppoll.
13171 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
13172 * sysdeps/mach/hurd/ppoll.c: Likewise.
13173 * io/ppoll.c: Likewise.
13174 * debug/poll_chk.c: New file.
13175 * debug/ppoll_chk.c: New file.
13176 * include/bits/poll2.h: New file.
13177 * io/bits/poll2.h: New file.
13178
ac097f5c
UD
13179 [BZ #1350]
13180 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
13181
2119dcfa
UD
13182 * configure.in: static is always set to yes. Remove.
13183 * config.make.in: Don't set build-static.
13184 * Makeconfig: Remove use of build-static.
13185 * dlfcn/Makefile: Likewise.
13186 * elf/Makefile: Likewise.
13187 * math/Makefile: Likewise.
13188 * misc/Makefile: Likewise.
13189 * nptl/Makefile: Likewise.
13190 * sysdeps/mach/hurd/Makefile: Likewise.
13191
121766a9
UD
13192 * configure.in: PWD_P is not used anymore.
13193 * config.make.in: Remove PWD_P entry.
13194
51a1d39c 13195 * configure.in: Remove last remnants of RANLIB.
8720d066 13196 No need to check for signed size_t anymore.
215f4bdc
UD
13197 Don't set libc_commonpagesize and libc_relro_required here for Alpha
13198 and IA-64.
3857022a 13199 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
13200 * aclocal.m4: Likewise.
13201
d3ed7225
UD
13202 * wcsmbs/mbrtoc16.c: Implement using towc function.
13203 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
13204 * wcsmbs/wcsmbsload.c: Likewise.
13205 * iconv/gconv_simple.c: Likewise.
13206 * iconv/gconv_int.h: Likewise.
13207 * iconv/gconv_builtin.h: Likewise.
13208 * iconv/iconv_prog.c: Remove CHAR16 handling.
13209
13210 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
13211
13212 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
13213
a0da5fe1
UD
13214 * configure.in: Remove --with-elf and --enable-bounded options.
13215 Dont set base_machine for ia64. More non-ELF conditions removed.
13216 Remove testing and setting of leading underscore information.
13217 * config.make.in (build-bounded): Set to no.
13218 * config.h.in: Remove NO_UNDERSCORES entry.
13219 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
13220 them.
13221 * csu/start.c: Remove !NO_UNDERSCORE code.
13222 * locale/localeinfo.h: Likewise.
13223 * sysdeps/generic/machine-gmon.h: Likewise.
13224 * sysdeps/generic/sysdep.h: Likewise.
13225 * sysdeps/i386/sysdep.h: Likewise.
13226 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13227 * sysdeps/mach/sysdep.h: Likewise.
13228 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13229 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13230 * sysdeps/sh/sysdep.h: Likewise.
13231 * sysdeps/sparc/sparc32/alloca.S: Likewise.
13232 * sysdeps/unix/i386/sysdep.S: Likewise.
13233 * sysdeps/unix/sparc/start.c: Likewise.
13234 * sysdeps/unix/sparc/sysdep.S: Likewise.
13235 * sysdeps/unix/sparc/sysdep.h: Likewise.
13236 * sysdeps/unix/start.c: Likewise.
13237 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13238 * sysdeps/x86_64/sysdep.h: Likewise.
13239
df78418a
UD
132402012-01-07 Ulrich Drepper <drepper@gmail.com>
13241
a784e502
UD
13242 [BZ #13553]
13243 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
13244 for non-gcc.
13245 * argp/argp-fmtstream.h: Use const instead __const.
13246 * argp/argp.h: Likewise.
13247 * assert/assert.h: Likewise.
13248 * bits/fenv.h: Likewise.
13249 * bits/sched.h: Likewise.
13250 * bits/sigset.h: Likewise.
13251 * bits/sigthread.h: Likewise.
13252 * catgets/nl_types.h: Likewise.
13253 * conform/data/pthread.h-data: Likewise.
13254 * crypt/crypt-private.h: Likewise.
13255 * crypt/crypt.h: Likewise.
13256 * crypt/crypt_util.c: Likewise.
13257 * ctype/ctype.h: Likewise.
13258 * debug/execinfo.h: Likewise.
13259 * debug/mbsnrtowcs_chk.c: Likewise.
13260 * debug/mbsrtowcs_chk.c: Likewise.
13261 * debug/wcsnrtombs_chk.c: Likewise.
13262 * debug/wcsrtombs_chk.c: Likewise.
13263 * debug/wcstombs_chk.c: Likewise.
13264 * dirent/dirent.h: Likewise.
13265 * dlfcn/dlfcn.h: Likewise.
13266 * elf/neededtest4.c: Likewise.
13267 * grp/grp.h: Likewise.
13268 * gshadow/gshadow.h: Likewise.
13269 * iconv/gconv.h: Likewise.
13270 * iconv/gconv_int.h: Likewise.
13271 * iconv/gconv_simple.c: Likewise.
13272 * iconv/iconv.h: Likewise.
13273 * iconv/loop.c: Likewise.
13274 * iconv/skeleton.c: Likewise.
13275 * include/aio.h: Likewise.
13276 * include/aliases.h: Likewise.
13277 * include/argz.h: Likewise.
13278 * include/arpa/inet.h: Likewise.
13279 * include/assert.h: Likewise.
13280 * include/dirent.h: Likewise.
13281 * include/dlfcn.h: Likewise.
13282 * include/execinfo.h: Likewise.
13283 * include/fcntl.h: Likewise.
13284 * include/fenv.h: Likewise.
13285 * include/glob.h: Likewise.
13286 * include/grp.h: Likewise.
13287 * include/libintl.h: Likewise.
13288 * include/mntent.h: Likewise.
13289 * include/netdb.h: Likewise.
13290 * include/pwd.h: Likewise.
13291 * include/rpc/netdb.h: Likewise.
13292 * include/sched.h: Likewise.
13293 * include/search.h: Likewise.
13294 * include/shadow.h: Likewise.
13295 * include/signal.h: Likewise.
13296 * include/stdio.h: Likewise.
13297 * include/stdlib.h: Likewise.
13298 * include/string.h: Likewise.
13299 * include/sys/socket.h: Likewise.
13300 * include/sys/stat.h: Likewise.
13301 * include/sys/statfs.h: Likewise.
13302 * include/sys/statvfs.h: Likewise.
13303 * include/sys/syslog.h: Likewise.
13304 * include/sys/time.h: Likewise.
13305 * include/sys/uio.h: Likewise.
13306 * include/time.h: Likewise.
13307 * include/unistd.h: Likewise.
13308 * include/utmp.h: Likewise.
13309 * include/wchar.h: Likewise.
13310 * include/wctype.h: Likewise.
13311 * inet/aliases.h: Likewise.
13312 * inet/arpa/inet.h: Likewise.
13313 * inet/netinet/ether.h: Likewise.
13314 * inet/netinet/in.h: Likewise.
13315 * intl/libintl.h: Likewise.
13316 * io/bits/fcntl2.h: Likewise.
13317 * io/fcntl.h: Likewise.
13318 * io/ftw.h: Likewise.
13319 * io/sys/poll.h: Likewise.
13320 * io/sys/stat.h: Likewise.
13321 * io/sys/statfs.h: Likewise.
13322 * io/sys/statvfs.h: Likewise.
13323 * io/utime.h: Likewise.
13324 * libio/bits/stdio.h: Likewise.
13325 * libio/bits/stdio2.h: Likewise.
13326 * libio/libio.h: Likewise.
13327 * libio/libioP.h: Likewise.
13328 * libio/stdio.h: Likewise.
13329 * locale/lc-ctype.c: Likewise.
13330 * locale/locale.h: Likewise.
13331 * login/utmp.h: Likewise.
13332 * malloc/arena.c: Likewise.
13333 * malloc/malloc.c: Likewise.
13334 * malloc/malloc.h: Likewise.
13335 * malloc/mcheck.c: Likewise.
13336 * malloc/mtrace.c: Likewise.
13337 * math/bits/mathcalls.h: Likewise.
13338 * math/fenv.h: Likewise.
13339 * math/math_private.h: Likewise.
13340 * misc/bits/error.h: Likewise.
13341 * misc/bits/syslog.h: Likewise.
13342 * misc/err.h: Likewise.
13343 * misc/error.h: Likewise.
13344 * misc/fstab.h: Likewise.
13345 * misc/mntent.h: Likewise.
13346 * misc/regexp.h: Likewise.
13347 * misc/search.h: Likewise.
13348 * misc/sgtty.h: Likewise.
13349 * misc/sys/mman.h: Likewise.
13350 * misc/sys/syslog.h: Likewise.
13351 * misc/sys/uio.h: Likewise.
13352 * misc/sys/xattr.h: Likewise.
13353 * misc/ttyent.h: Likewise.
13354 * nis/rpcsvc/ypclnt.h: Likewise.
13355 * nss/nss.h: Likewise.
13356 * posix/bits/unistd.h: Likewise.
13357 * posix/fnmatch.h: Likewise.
13358 * posix/glob.h: Likewise.
13359 * posix/sched.h: Likewise.
13360 * posix/spawn.h: Likewise.
13361 * posix/sys/wait.h: Likewise.
13362 * posix/unistd.h: Likewise.
13363 * posix/wordexp.h: Likewise.
13364 * pwd/pwd.h: Likewise.
13365 * resolv/netdb.h: Likewise.
13366 * resource/sys/resource.h: Likewise.
13367 * rt/aio.h: Likewise.
13368 * rt/bits/mqueue2.h: Likewise.
13369 * rt/mqueue.h: Likewise.
13370 * shadow/shadow.h: Likewise.
13371 * signal/signal.h: Likewise.
13372 * socket/send.c: Likewise.
13373 * socket/sendto.c: Likewise.
13374 * socket/sys/socket.h: Likewise.
13375 * stdio-common/printf.h: Likewise.
13376 * stdlib/bits/stdlib.h: Likewise.
13377 * stdlib/fmtmsg.h: Likewise.
13378 * stdlib/monetary.h: Likewise.
13379 * stdlib/stdlib.h: Likewise.
13380 * stdlib/ucontext.h: Likewise.
13381 * streams/stropts.h: Likewise.
13382 * string/argz.h: Likewise.
13383 * string/bits/string2.h: Likewise.
13384 * string/string.h: Likewise.
13385 * string/strings.h: Likewise.
13386 * sunrpc/rpc/auth.h: Likewise.
13387 * sunrpc/rpc/auth_des.h: Likewise.
13388 * sunrpc/rpc/clnt.h: Likewise.
13389 * sunrpc/rpc/netdb.h: Likewise.
13390 * sunrpc/rpc/pmap_clnt.h: Likewise.
13391 * sunrpc/rpc/xdr.h: Likewise.
13392 * sysdeps/generic/inttypes.h: Likewise.
13393 * sysdeps/generic/net/if.h: Likewise.
13394 * sysdeps/generic/sys/swap.h: Likewise.
13395 * sysdeps/gnu/net/if.h: Likewise.
13396 * sysdeps/gnu/utmpx.h: Likewise.
13397 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
13398 * sysdeps/i386/i486/bits/string.h: Likewise.
13399 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
13400 * sysdeps/s390/bits/string.h: Likewise.
13401 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
13402 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
13403 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
13404 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
13405 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
13406 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
13407 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
13408 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
13409 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
13410 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
13411 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
13412 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13413 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
13414 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13415 * sysdeps/unix/sysv/linux/readv.c: Likewise.
13416 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
13417 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13418 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13419 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13420 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13421 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13422 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
13423 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
13424 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
13425 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
13426 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
13427 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
13428 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13429 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
13430 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
13431 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
13432 * sysvipc/sys/ipc.h: Likewise.
13433 * sysvipc/sys/msg.h: Likewise.
13434 * sysvipc/sys/sem.h: Likewise.
13435 * sysvipc/sys/shm.h: Likewise.
13436 * termios/termios.h: Likewise.
13437 * time/sys/time.h: Likewise.
13438 * time/time.h: Likewise.
13439 * wcsmbs/bits/wchar2.h: Likewise.
13440 * wcsmbs/uchar.h: Likewise.
13441 * wcsmbs/wchar.h: Likewise.
13442 * wctype/wctype.h: Likewise.
13443
0269750c
UD
13444 [BZ #13551]
13445 * Makeconfig: Remove all but ELF support including AIX support.
13446 * Makerules: Likewise.
13447 * config.h.in: Likewise.
13448 * config.make.in: Likewise.
13449 * configure: Likewise.
13450 * configure.in: Likewise.
13451 * csu/Makefile: Likewise.
13452 * csu/version.c: Likewise.
13453 * debug/Makefile: Likewise.
13454 * dlfcn/Makefile: Likewise.
13455 * elf/Makefile: Likewise.
13456 * extra-lib.mk: Likewise.
13457 * iconv/Makefile: Likewise.
13458 * include/libc-symbols.h: Likewise.
13459 * include/shlib-compat.h: Likewise.
13460 * resolv/Makefile: Likewise.
13461 * resolv/res_libc.c: Likewise.
13462 * rt/Makefile: Likewise.
13463 * sysdeps/i386/asm-syntax.h: Likewise.
13464 * sysdeps/i386/sysdep.h: Likewise.
13465 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13466 * sysdeps/mach/sysdep.h: Likewise.
13467 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
13468 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
13469 * sysdeps/s390/asm-syntax.h: Likewise.
13470 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13471 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13472 * sysdeps/sh/sysdep.h: Likewise.
13473 * sysdeps/unix/sparc/sysdep.h: Likewise.
13474 * sysdeps/wordsize-32/divdi3.c: Likewise.
13475 * sysdeps/x86_64/sysdep.h: Likewise.
13476
00bbd29b
UD
13477 * argp/Versions: Remove _argp_unlock_xxx.
13478
13479 [BZ #13559]
13480 * abilist/ld.abilist: Update. Adjust for removal of tls option.
13481 * abilist/libBrokenLocale.abilist: Likewise.
13482 * abilist/libanl.abilist: Likewise.
13483 * abilist/libc.abilist: Likewise.
13484 * abilist/libcrypt.abilist: Likewise.
13485 * abilist/libdl.abilist: Likewise.
13486 * abilist/libm.abilist: Likewise.
13487 * abilist/libnsl.abilist: Likewise.
13488 * abilist/libpthread.abilist: Likewise.
13489 * abilist/libresolv.abilist: Likewise.
13490 * abilist/librt.abilist: Likewise.
13491 * abilist/libthread_db.abilist: Likewise.
13492 * abilist/libutil.abilist: Likewise.
13493 * abilist/libnss_db.abilist: New file.
13494
13495 * scripts/abilist.awk: Add support for indirect functions.
13496
a2693a0e
UD
13497 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
13498
3f05895f
UD
13499 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
13500
ecb6fb48
UD
13501 * shlib-versions: Remove entries for ports architectures.
13502
664f8cb9
UD
13503 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
13504 files in ports.
13505 * elf/stackguard-macros.h: Remove support for IA-64.
13506 * elf/tst-auditmod1.c: Likewise.
13507 * sysdeps/generic/ldsodefs.h: Likewise.
13508
7ae81d88
UD
13509 * sysdeps/unix/sysv/linux/configure.in: Ports should define
13510 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
13511 configure files.
13512
bdeba135
UD
13513 [BZ #13552]
13514 * configure.in: Remove --enable-omitfp support.
13515 * FAQ.in: Adjust.
13516 * config.make.in: Likewise.
13517 * Makeconfig: Likewise.
13518 * manual/install.texi: Likewise.
13519
d75a0a62
UD
13520 In case anyone cares, the IA-64 architecture could move to ports.
13521 * sysdeps/ia64/*: Removed.
13522 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 13523 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 13524
dcc9756b
UD
13525 [BZ #13555]
13526 * configure.in: Remove entries for unsupported architectures.
13527
d3761ebc 13528 [BZ #13533]
9954432e
UD
13529 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
13530 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
13531 routines.
13532 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
13533 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
13534 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
13535 fall back to using wcrtomb.
13536 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
13537 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
13538 renaming.
13539 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
13540 * wcsmbs/tst-c16c32-1.c: New file.
13541
13542 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
13543 local variable.
13544
c3a87236
UD
13545 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
13546
28926a1b
UD
13547 * elf/tst-unique3.cc: Add explicit declaration of gets.
13548 * elf/tst-unique3lib.cc: Likewise.
13549 * elf/tst-unique3lib2.cc: Likewise.
13550 * elf/tst-unique4.cc: Likewise.
13551
df78418a
UD
13552 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
13553
8ecd6b2a
JM
135542012-01-06 Joseph Myers <joseph@codesourcery.com>
13555
13556 [BZ #13566]
13557 * assert/assert.h (static_assert): Don't define for C++.
13558 * libio/stdio.h (gets): Do declare for C++ <= C++11.
13559 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
13560
9f115170
UD
135612012-01-03 Ulrich Drepper <drepper@gmail.com>
13562
5e0d0300
UD
13563 * iconv/loop.c (single loop): Fix assertion in storing of
13564 remaining bytes.
13565
9f115170
UD
13566 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
13567
81fb02b0
UD
135682012-01-01 Ulrich Drepper <drepper@gmail.com>
13569
13570 * posix/getconf.c: Update copyright year.
13571 * nss/getent.c: Likewise.
a316c1f6 13572 * nss/makedb.c: Likewise.
81fb02b0
UD
13573 * iconv/iconvconfig.c: Likewise.
13574 * iconv/iconv_prog.c: Likewise.
13575 * elf/ldconfig.c: Likewise.
a316c1f6
UD
13576 * elf/pldd.c: Likewise.
13577 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
13578 * catgets/gencat.c: Likewise.
13579 * csu/version.c: Likewise.
13580 * elf/ldd.bash.in: Likewise.
13581 * elf/sprof.c (print_version): Likewise.
13582 * locale/programs/locale.c: Likewise.
13583 * locale/programs/localedef.c: Likewise.
a316c1f6 13584 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
13585 * nscd/nscd.c (print_version): Likewise.
13586 * debug/xtrace.sh: Likewise.
13587 * malloc/memusage.sh: Likewise.
13588 * malloc/mtrace.pl: Likewise.
13589 * debug/catchsegv.sh: Likewise.
13590
2ba92745
JJ
135912011-12-30 Jakub Jelinek <jakub@redhat.com>
13592
13593 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
13594 pure attribute.
13595
dadebdae
UD
135962011-12-24 Ulrich Drepper <drepper@gmail.com>
13597
d3761ebc 13598 [BZ #13533]
db6af3eb
UD
13599 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
13600 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
13601 transformations.
13602 * iconv/gconv_int.h: Likewise.
13603 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
13604 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
13605 from libc for GLIBC_2.16.
13606 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
13607 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
13608 * wcsmbs/uchar.h: Really define mbstate_t.
13609 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
13610 * wcsmbs/c16rtomb.c: New file.
13611 * wcsmbs/mbrtoc16.c: New file.
13612 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
13613 for C/POSIX locale.
13614 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
13615 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
13616
dadebdae
UD
13617 * wcsmbs/wchar.h: Add missing __restrict.
13618
67371b56
UD
136192011-12-23 Ulrich Drepper <drepper@gmail.com>
13620
74033a25
UD
13621 [BZ #13532]
13622 * time/Makefile (routines): Add timespec_get.
13623 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
13624 * time/time.h: Define TIME_UTC and declare timespec_get. Define
13625 timespec for ISO C11.
13626 * time/timespec_get.c: New file.
13627 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
13628 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
13629
380d7e87
UD
13630 [BZ #13531]
13631 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
13632 * stdlib/stdlib.h: Declare aligned_alloc.
13633 * Versions.def: Add GLIBC_2.16 for libc.
13634 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
13635
4e9e7a35
UD
13636 [BZ 13527]
13637 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
13638 ISO C11.
13639
380d7e87 13640 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
13641 code.
13642
03a71829
UD
13643 [BZ #13528]
13644 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
13645
839e283e
UD
13646 [BZ #13529]
13647 * assert/assert.h (static_assert): Define.
13648
ce5294e2 13649 * version.h: Update for 2.16 development version.
90fa7312 13650
8d44e150 13651 [BZ #13526]
d7809905
UD
13652 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
13653 _ISOC11_SOURCE.
13654
c0da14cd
UD
13655 * version.h (RELEASE): Bump for 2.15 release.
13656 * include/features.h (__GLIBC_MINOR__): Bump to 15.
13657
530a3249
MP
13658 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
13659 Patch by Marek Polacek <mpolacek@redhat.com>.
13660
67371b56
UD
13661 * bits/byteswap.h: Protect long long constants with __extension__.
13662 * sysdeps/i386/bits/byteswap.h: Likewise.
13663 * sysdeps/ia64/bits/byteswap.h: Likewise.
13664 * sysdeps/s390/bits/byteswap.h: Likewise.
13665 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13666
15db4de1
LD
136672011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13668
13669 [BZ #13540]
bbe315ea
LD
13670 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
13671 destination buffer.
15db4de1
LD
13672 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
13673
2b2596b1
MP
136742011-12-23 Marek Polacek <polacek@redhat.com>
13675
13676 * elf/dl-addr.c (determine_info): Add inline keyword.
13677 * elf/tst-auditmod4b.c (check_avx): Likewise.
13678 * elf/tst-auditmod6b.c (check_avx): Likewise.
13679 * elf/tst-auditmod6c.c (check_avx): Likewise.
13680 * elf/tst-auditmod7b.c (check_avx): Likewise.
13681
70c6c246
UD
136822011-12-23 Ulrich Drepper <drepper@gmail.com>
13683
13684 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
13685 !__SSE_MATH__.
13686
c044cf14
LD
136872011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13688
15db4de1 13689 [BZ #13540]
c044cf14
LD
13690 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
13691 processing for last bytes.
13692
6b13d9d9
BH
136932011-08-06 Bruno Haible <bruno@clisp.org>
13694
d455f537
BH
13695 [BZ #13061]
13696 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
13697 U+0385, not to U+1FEE.
13698
6b13d9d9
BH
13699 [BZ #13062]
13700 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
13701 entry for U+00A5 U+0301.
13702
db910efd
UD
137032011-12-22 Ulrich Drepper <drepper@gmail.com>
13704
27deeafc
UD
13705 [BZ #13166]
13706 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
13707 buffer for the output is too small.
13708
aed9d171
UD
13709 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
13710 optimization.
13711
db910efd
UD
13712 [BZ #13185]
13713 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
13714 SSE flags if possible.
13715
2bd779ae
LD
137162011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13717
e7f9dac3 13718 [BZ #13540]
2bd779ae
LD
13719 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
13720 processing for last bytes.
13721
154bfc16
JM
137222011-12-22 Joseph Myers <joseph@codesourcery.com>
13723
13724 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
13725 (syscall-list-default-options, syscall-list-default-condition)
13726 (syscall-list-includes): Define.
13727 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
13728 list of ABIs and options and #if conditions for each ABI. Do not
13729 handle common syscalls between ABIs specially.
13730 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
13731 Remove.
13732 (syscall-list-variants, syscall-list-32bit-options)
13733 (syscall-list-32bit-condition, syscall-list-64bit-options)
13734 (syscall-list-64bit-condition): Define.
13735 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
13736 (syscall-list-variants, syscall-list-32bit-options)
13737 (syscall-list-32bit-condition, syscall-list-64bit-options)
13738 (syscall-list-64bit-condition): Define.
13739 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
13740 Remove.
13741 (syscall-list-variants, syscall-list-32bit-options)
13742 (syscall-list-32bit-condition, syscall-list-64bit-options)
13743 (syscall-list-64bit-condition): Define.
13744 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
13745 Remove.
13746 (syscall-list-variants, syscall-list-32bit-options)
13747 (syscall-list-32bit-condition, syscall-list-64bit-options)
13748 (syscall-list-64bit-condition): Define.
13749
21eaf3a5
UD
137502011-12-22 Ulrich Drepper <drepper@gmail.com>
13751
16c6f992
UD
13752 * locale/iso-639.def: Add brx entry.
13753
41043168
UD
13754 [BZ #13328]
13755 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
13756 Proposed by Mariusz_Cukr <marcukr@op.pl>.
13757
21eaf3a5
UD
13758 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
13759 __feraiseexcept_renamed.
13760
e3a851a2
UD
137612011-12-21 Ulrich Drepper <drepper@gmail.com>
13762
4920765e
UD
13763 [BZ #13538]
13764 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
13765 EPOLLET with unsigned values.
13766 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13767 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13768
e3a851a2
UD
13769 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
13770 to large cancellation.
13771 * math/s_cacoshf.c: Likewise.
13772 * math/s_cacoshl.c: Likewise.
13773
b27e24b8
RK
137742011-11-18 Richard B. Kreckel <kreckel@ginac.de>
13775
13776 [BZ #13305]
aebefeee 13777 [BZ #12786]
b27e24b8
RK
13778 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
13779 * math/s_cacoshf.c: Likewise.
13780 * math/s_cacoshl.c: Likewise.
13781
ee190f67
UD
137822011-12-21 Ulrich Drepper <drepper@gmail.com>
13783
13784 [BZ #13439]
13785 * iconv/gconv.h: Define __GCONV_SWAP.
13786 * iconvdata/unicode.c: The swap bit must be stored in __flags.
13787 * iconvdata/utf-16.c: Likewise.
13788 * iconvdata/utf-32.c: Likewise.
13789
707f25df
AS
137902011-12-21 Andreas Schwab <schwab@linux-m68k.org>
13791
13792 [BZ #13524]
13793 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
13794 numerator after shifting it by one limb.
13795
d2daaa1e
RÁE
137962011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
13797
13798 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
13799 under [__USE_EXTERN_INLINES].
13800
a4647e72
UD
138012011-12-17 Ulrich Drepper <drepper@gmail.com>
13802
13803 [BZ #13446]
13804 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
13805
f0b264f1
AZ
138062011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13807
13808 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
13809 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
13810 optimized code.
13811 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
13812 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
13813 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
13814 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
13815 for strncasecmp/strncasecmp_l compilation.
13816 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
13817 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
13818
8ef4f244
MP
138192011-12-08 Marek Polacek <mpolacek@redhat.com>
13820
13821 [BZ #13484]
13822 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
13823 of __asm__.
13824
97ac2654
UD
138252011-12-17 Ulrich Drepper <drepper@gmail.com>
13826
13827 [BZ #13506]
13828 * time/tzfile.c (__tzfile_read): Check values from file header.
13829
91d2a845
WS
138302011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13831
13832 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
13833 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
13834 * powerpc/powerpc32/dl-start.S: Likewise.
13835 * powerpc/powerpc32/elf/start.S: Likewise.
13836 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13837 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
13838 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
13839 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
13840 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13841 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
13842 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
13843 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
13844 * powerpc/powerpc32/fpu/s_round.S: Likewise.
13845 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13846 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13847 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13848 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
13849 * powerpc/powerpc32/memset.S: Likewise.
13850 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13851 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13852 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13853 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13854 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13855 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13856 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13857 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13858 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
13859 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
13860 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
13861 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13862 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13863
a1267ba1
AZ
138642011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13865
13866 * math/libm-test.inc: Added more nearbyint tests.
13867 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
13868 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
13869 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
13870 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
13871
ad8ac1bd
RL
138722011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
13873
13874 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
13875 FD_CLOEXEC.
13876
1d3e4b61
UD
138772011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13878
13879 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
13880 Add wcscpy-ssse3 wcscpy-c.
13881 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
13882 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
13883 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
13884 * sysdeps/x86_64/wcschr.S: New file.
13885 * sysdeps/x86_64/wcsrchr.S: New file.
13886 * string/test-strcmp.c: Remove checking of wcscmp function for
13887 wrong alignments.
13888 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
13889 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
13890 wcsrchr-sse2 wcsrchr-c.
13891 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
13892 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
13893 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
13894 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
13895 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
13896 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
13897 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
13898 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
13899 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
13900 * wcsmbc/wcschr.c (WCSCHR): New macro.
13901
5b330a2d
UD
139022011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13903
13904 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
13905 * wcsmbs/test-wcsrchr.c: New file.
13906 * string/test-strrchr.c: Add wcsrchr support.
13907 (WIDE): New macro.
13908 * wcsmbs/test-wcscpy.c: New file.
13909 * string/test-strcpy.c: Add wcscpy support.
13910 (WIDE): New macro.
26428b7c 13911
f039c043
UD
139122011-12-10 Ulrich Drepper <drepper@gmail.com>
13913
13914 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
13915 the inner loop.
13916
850fb039
AS
139172011-12-06 Andreas Schwab <schwab@linux-m68k.org>
13918
13919 [BZ #13472]
13920 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
13921
4efbd5cb
UD
139222011-12-04 Ulrich Drepper <drepper@gmail.com>
13923
52ff5dd0 13924 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 13925 Minor optimizations.
52ff5dd0 13926
4efbd5cb
UD
13927 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
13928 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
13929 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
13930
8a426e12
UD
139312011-12-03 Ulrich Drepper <drepper@gmail.com>
13932
aff2453d
UD
13933 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
13934 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
13935 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
13936 for gcc to avoid warnings.
13937 * inet/Makefile (tests): Add tst-checks.
13938 * inet/tst-checks.c: New file.
13939
13940 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
13941 warning.
13942
13943 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
13944 __wmemcmp_sse2.
13945
13946 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
13947 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
13948
8a426e12
UD
13949 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
13950
9bea3473
UD
139512011-12-02 Ulrich Drepper <drepper@gmail.com>
13952
3a965496
UD
13953 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
13954 problem.
13955
9bea3473
UD
13956 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
13957
f101631b
UD
139582011-11-29 Joseph Myers <joseph@codesourcery.com>
13959
13960 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
13961 conditional on GCC version.
13962 (__arch_compare_and_exchange_val_8_acq)
13963 (__arch_compare_and_exchange_val_16_acq)
13964 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
13965 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
13966 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
13967
a98275aa
UD
139682011-12-02 Joseph Myers <joseph@codesourcery.com>
13969
13970 * sysdeps/sh/backtrace.c: New file.
13971
d4cc29a2
AS
139722011-12-02 Andreas Schwab <schwab@redhat.com>
13973
13974 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
13975 parenthesis.
13976
6257af2d
AS
139772011-12-01 Andreas Schwab <schwab@redhat.com>
13978
13979 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
13980 falling back to utime.
13981
b5f44c1a
AS
139822011-11-30 Andreas Schwab <schwab@redhat.com>
13983
13984 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
13985 expectations for float.
13986
f3a6cc0a
AS
139872011-11-29 Andreas Schwab <schwab@redhat.com>
13988
13989 * locale/weight.h (findidx): Add parameter len.
13990 * locale/weightwc.h (findidx): Likewise.
13991 * posix/fnmatch_loop.c (FCT): Adjust caller.
13992 * posix/regcomp.c (build_equiv_class): Likewise.
13993 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
13994 * posix/regexec.c (check_node_accept_bytes): Likewise.
13995 * string/strcoll_l.c (STRCOLL): Likewise.
13996 * string/strxfrm_l.c (STRXFRM): Likewise.
13997
9d65ea3a
UD
139982011-11-17 Ulrich Drepper <drepper@gmail.com>
13999
14000 * Makefile.in: Remove CVSOPT handling.
14001 * configure.in: Remove use of AC_REVISION.
14002 * iconvdata/Makefile (distribute): No need to filter out CVS.
14003 * scripts/list-sources.sh: Remove CVS, subversion and monotone
14004 handling.
14005
5583a086
AS
140062011-11-16 Andreas Schwab <schwab@redhat.com>
14007
14008 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
14009 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
14010 [USE_AS_STRNCASECMP_L]: Likewise.
14011 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
14012 NO_TLS_DIRECT_SEG_REFS.
14013 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
14014 Fix argument offsets for non-PIC.
14015 [USE_AS_STRNCASECMP_L]: Likewise.
14016 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
14017 NO_TLS_DIRECT_SEG_REFS.
14018
d62a8200
UD
140192011-11-15 Ulrich Drepper <drepper@gmail.com>
14020
9d65ea3a 14021 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
14022 O_CLOEXEC.
14023 * locale/loadlocale.c (_nl_load_locale): Likewise.
14024
09f93bd3
AS
140252011-11-15 Andreas Schwab <schwab@redhat.com>
14026
446514f9
AS
14027 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
14028 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
14029 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
14030 (SYSCALL_GETTIME): Set errno on error.
14031
09f93bd3
AS
14032 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
14033 count references to noai6ai_cached.
14034
312be3f9
UD
140352011-11-15 Ulrich Drepper <drepper@gmail.com>
14036
14037 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
14038
14039 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
14040 FD_CLOEXEC for /proc/self/maps.
14041
14042 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
14043 FD_CLOEXEC for /proc/meminfo.
14044
14045 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
14046 gai.conf.
14047
14048 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
14049 FD_CLOEXEC for given file.
14050
14051 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
14052
14053 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
14054 FD_CLOEXEC for /etc/hosts.
14055 (_gethtent): Likewise.
14056
14057 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
14058
14059 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
14060 cancellation and set FD_CLOEXEC for /etc/netgroup.
14061
14062 * nss/nss_files/files-key.c (search): Don't allow cancellation when
14063 reading /etc/publickey.
14064
14065 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
14066 allow cancellation when reading /etc/group.
14067
14068 * nss/nss_files/files-alias.c (internal_setent): Don't allow
14069 cancellation.
14070 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
14071
14072 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
14073 when using data file.
14074
14075 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
14076
14077 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
14078 (write_nis_obj): Use "c" and "e" in fopen.
14079
14080 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
14081
14082 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
14083
14084 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
14085
14086 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
14087
14088 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
14089 locale.alias.
14090
14091 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
14092
14093 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
14094
14095 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
14096
14097 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
14098 file parsing and set FD_CLOEXEC.
14099
82af0fa8
UD
141002011-11-14 Ulrich Drepper <drepper@gmail.com>
14101
14102 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
14103
a5fb313c
AS
141042011-11-14 Andreas Schwab <schwab@redhat.com>
14105
14106 * malloc/arena.c (arena_get2): Don't call reused_arena when
14107 _int_new_arena failed.
14108
6abf3465
UD
141092011-11-14 Ulrich Drepper <drepper@gmail.com>
14110
14111 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
14112 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
14113 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
14114 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14115 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14116 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
14117 to compile strcasecmp and strncasecmp.
14118 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
14119 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
14120
14121 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
14122
76e3966e
UD
141232011-11-13 Ulrich Drepper <drepper@gmail.com>
14124
14125 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
14126 locale-defines.sym to gen-as-const-headers.
14127 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
14128 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
14129 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
14130 to compile strcasecmp and strncasecmp.
14131 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
14132 strcasecmp_l and strncasecmp_l.
14133 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
14134 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
14135 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
14136 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
14137 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
14138 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
14139 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
14140 * sysdeps/i386/i686/multiarch/strncase.S: New file.
14141 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
14142 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
14143 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
14144
ab26144e
UD
141452011-11-12 Ulrich Drepper <drepper@gmail.com>
14146
7edb22ef
UD
14147 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
14148 result of SYSDEP_GETTIME_CPU to retval.
14149 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
14150 parameter list to macro. Remove trailing semicolon. Adjust users.
14151
9694fc44
UD
14152 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
14153 variable.
14154
8ad89ef8
UD
14155 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
14156 mantissa words.
14157 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14158
0c822ef9
UD
14159 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
14160 from unused variable.
14161
874e0564
UD
14162 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
14163 DWARF definitions.
14164 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
14165 for assembling.
14166
3a2edc79
UD
14167 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
14168 over namespaces.
14169
f3c2577f
UD
14170 * sunrpc/rpc_prot.c (rejected): Fix case value.
14171
294ce126
UD
14172 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
14173 unsigned long long int to avoid warnings in shift.
14174
5e2b63c6
UD
14175 * posix/regex_internal.c (re_string_reconstruct): Actually use result
14176 of use of trans.
14177 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
14178 variable tmp.
14179
e7f4b08e
UD
14180 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
14181 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
14182 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
14183
ab26144e
UD
14184 * nis/nis_table.c (nis_list): Use variable of correct type for
14185 result of __follow_path call.
14186
8a6d5255
AZ
141872011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14188
14189 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
14190 of math functions ceil, trunc, floor, round, and sqrt, when
14191 avaliable on the platform.
14192 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
14193 name clash.
14194 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14195 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14196 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14197
aaddc98c
MP
141982011-10-30 Marek Polacek <mpolacek@redhat.com>
14199
14200 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
14201 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14202
95b7042b
RM
142032011-11-11 Roland McGrath <roland@hack.frob.com>
14204
14205 * include/unistd.h: Fix __readlink return type.
14206 Reported by Chris Metcalf <cmetcalf@tilera.com>.
14207
57769839
UD
142082011-11-11 Ulrich Drepper <drepper@gmail.com>
14209
14210 * stdlib/ucontext.h: Undo last change for makecontext.
14211
edc5984d
AS
142122011-11-11 Andreas Schwab <schwab@redhat.com>
14213
98591e58
AS
14214 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
14215
edc5984d
AS
14216 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
14217 * setjmp/setjmp.h: Mark functions as non-leaf.
14218 * setjmp/bits/setjmp2.h: Likewise.
14219 * stdlib/ucontext.h: Likewise.
14220
77cdc054
AS
142212011-11-10 Andreas Schwab <schwab@redhat.com>
14222
14223 * malloc/arena.c (_int_new_arena): Don't increment narenas.
14224 (reused_arena): Don't check arena limit.
14225 (arena_get2): Atomically check arena limit.
14226
fe72eebd
UD
142272011-11-08 Ulrich Drepper <drepper@gmail.com>
14228
5f078c32
UD
14229 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
14230 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
14231
fe72eebd
UD
14232 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
14233 instructions.
14234
ae1bc2fa
AS
142352011-11-07 Andreas Schwab <schwab@redhat.com>
14236
7583a88d
AS
14237 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
14238 handler when locking.
14239
ae1bc2fa
AS
14240 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14241 Fix size of allocated buffer.
14242
10fb0bfa
AS
142432011-11-04 Andreas Schwab <schwab@redhat.com>
14244
998832a4
AS
14245 [BZ #10103]
14246 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
14247 declarations for long double functions.
14248 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
14249
10fb0bfa
AS
14250 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
14251
3d7ba52b
AS
142522011-11-03 Andreas Schwab <schwab@redhat.com>
14253
a9ae54a1
AS
14254 * nscd/nscd.c (main): Don't start AVC thread until credentials are
14255 installed.
14256
3d7ba52b
AS
14257 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
14258 is disabled.
14259
bc8db248
ST
142602011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14261
14262 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
14263
45b96dd6
AS
142642011-11-01 Andreas Schwab <schwab@linux-m68k.org>
14265
647776f6
AS
14266 * include/alloca.h (stackinfo_alloca_round): Define.
14267 (extend_alloca): Use it.
14268 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
14269 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
14270 here.
14271
d91a8b93
AS
14272 * scripts/check-local-headers.sh: Ignore libaudit.h.
14273
45b96dd6
AS
14274 * nscd/Makefile (extra-objs): Make recursively expanded.
14275
432d41ce
UD
142762011-11-01 Ulrich Drepper <drepper@gmail.com>
14277
34372fc6
UD
14278 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
14279 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14280
fadb59f8
UD
14281 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
14282 * posix/tst-rfc3484-2.c: Likewise.
14283 * posix/tst-rfc3484-3.c: Likewise.
14284
78239589
UD
14285 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14286 process_vm_writev.
14287 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
14288 process_vm_writev.
14289 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
14290 process_vm_writev from libc using GLIBC_2.15 version.
14291
432d41ce
UD
14292 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
14293
02f9c6cf
PP
142942011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
14295
14296 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
14297 stack usage.
14298
3a2c0242
UD
142992011-10-31 Ulrich Drepper <drepper@gmail.com>
14300
f4ec4833
UD
14301 [BZ #13367]
14302 * nss/getent.c (initgroups_keys): Show error message in case no group
14303 names are given.
14304
3a2c0242
UD
14305 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
14306 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
14307 __bump_nl_timestamp.
14308 * nscd/connections (nscd_init): When host database is served open
14309 netlink socket and request notification about configuration changes.
14310 (main_loop_poll): Track netlink file descriptor and bump timestamp
14311 in case data becomes available.
14312 (main_loop_epoll): Likewise.
14313 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
14314 (database_pers_head): Add extra_data fileds.
14315 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
14316 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
14317 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
14318 Adjust caller.
14319 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
14320 in6ai data, call __free_in6ai.
14321 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
14322 Add -DHAVE_NETLINK.
14323 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
14324 interface information. Reuse previous data if netlink timestamp
14325 is not changed.
14326 (__bump_nl_timestamp): New function.
14327 (__free_in6ai): New function.
14328
636064eb
UD
143292011-10-30 Ulrich Drepper <drepper@gmail.com>
14330
14331 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
14332 close_not_cancel_no_status here.
14333 (__check_pf): Reorganize code a bit to not call close twice if OOM.
14334
9beb2334
UD
143352011-10-29 Ulrich Drepper <drepper@gmail.com>
14336
6ef76f3b
UD
14337 [BZ #13276]
14338 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
14339 return value.
14340
0ffc4f3e 14341 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
14342 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
14343 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
14344
cb95113e
UD
143452011-07-03 Andreas Jaeger <aj@suse.de>
14346
14347 [BZ #10709]
14348 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
14349 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
14350 * math/libm-test.inc (sin_test): Add test case.
14351
a1b560ff
UD
143522011-10-29 Ulrich Drepper <drepper@gmail.com>
14353
c9aaface
UD
14354 [BZ #13337]
14355 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
14356 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14357
d272e7f1
UD
14358 * elf/chroot_canon.c (chroot_canon): Cleanups.
14359
1bc33071
UD
14360 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
14361
1760874d
TJ
14362 [BZ #13335]
14363 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
14364 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14365
51d91b18
UD
14366 * string/test-strchr.c: Make usable for strchrnul testing.
14367 * string/test-strchrnul.c: New file.
14368 * string/Makefile (strop-tests): Add strchrnul.
14369
a1b560ff 14370 * po/it.po: Update from translation team.
b611fb81 14371 * po/es.po: Likewise.
a1b560ff 14372
a5b81e1f
UD
143732011-10-28 Ulrich Drepper <drepper@gmail.com>
14374
fd52bc6d
UD
14375 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
14376 the three constants needed as parameters. Drop the others.
14377 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
14378 __m128i_strloadu_tolower.
52e4b9eb
UD
14379 Create and initialize variable zero and use it in all the places
14380 where _mm_setzero_si128 was used.
fd52bc6d 14381
a5b81e1f
UD
14382 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
14383 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
14384 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
14385 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
14386 anymore.
14387 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
14388 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
14389 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
14390 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
14391 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
14392 __mpranred, __mptan.
14393 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
14394 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
14395 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
14396 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
14397 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
14398 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
14399 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
14400 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
14401 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
14402
b4343346
AS
144032011-10-28 Andreas Schwab <schwab@redhat.com>
14404
0c92d8a8
AS
14405 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
14406 redefine if SHARED.
14407 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
14408
b4343346
AS
14409 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
14410 wide char related routines to wcsmbs subdir.
14411
3871f58f
AS
144122011-10-27 Andreas Schwab <schwab@redhat.com>
14413
14414 [BZ #13344]
14415 * misc/sys/cdefs.h (__THROWNL): Define.
14416 * posix/unistd.h: Use __THREADNL instead of __THREAD
14417 for memory synchronization functions.
14418
94d44d9f
RM
144192011-10-26 Roland McGrath <roland@hack.frob.com>
14420
21b64b15 14421 [BZ #13349]
94d44d9f
RM
14422 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
14423 doesn't exist.
14424 * manual/stdio.texi (Obstack Streams): Node removed.
14425
f6ce9294
AS
144262011-10-26 Andreas Schwab <schwab@redhat.com>
14427
80479147
AS
14428 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
14429 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14430 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14431
f6ce9294
AS
14432 * math/math_private.h (math_force_eval): Allow non-addressable
14433 arguments.
14434 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
14435
618280a1
UD
144362011-10-25 Ulrich Drepper <drepper@gmail.com>
14437
e0016b11
UD
14438 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
14439 file is not needed.
14440
14441 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
14442 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
14443 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14444 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14445 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14446 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14447 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14448 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
14449 Add AVX variants.
14450 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
14451 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
14452 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
14453 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
14454 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
14455 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
14456 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
14457 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
14458 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
14459 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
14460 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
14461 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
14462 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
14463 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
14464 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
14465 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
14466 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
14467 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
14468 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
14469
14470 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
14471 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
14472
618280a1
UD
14473 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
14474 place. Use VEX encoding when compiling for AVX.
14475
37822576
AS
144762011-10-25 Andreas Schwab <schwab@redhat.com>
14477
1f1e1947
AS
14478 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
14479 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14480
37822576
AS
14481 * string/test-strchr.c (do_test): Don't generate NUL bytes.
14482
31ea014d
UD
144832011-10-25 Ulrich Drepper <drepper@gmail.com>
14484
d7826aa1 14485 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 14486 useless if() expression.
d7826aa1
UD
14487 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14488 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14489 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14490 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14491 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14492 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14493 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14494 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14495 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14496 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14497 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14498 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14499 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14500 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14501 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14502 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14503 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14504 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14505 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14506
31ea014d
UD
14507 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
14508
16437fec
AS
145092011-10-25 Andreas Schwab <schwab@redhat.com>
14510
14511 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
14512 condition.
14513 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14514
31d3cc00
UD
145152011-10-25 Ulrich Drepper <drepper@gmail.com>
14516
14517 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
14518 .text section. Avoid duplicate constants.
14519 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14520 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14521 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14522 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14523 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14524 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14525 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14526 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14527 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14528 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
14529 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14530 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14531 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14532 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14533 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14534 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14535 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14536 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14537 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14538 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14539 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14540 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14541 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14542 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
14543 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
14544 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
14545 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
14546 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
14547 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
14548 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
14549 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
14550 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
14551 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14552 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
14553 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
14554 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
14555 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
14556 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
14557 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
14558 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
14559 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
14560 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
14561 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
14562 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
14563 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
14564
58985aa9
UD
145652011-10-24 Ulrich Drepper <drepper@gmail.com>
14566
202c9deb
UD
14567 * sysdeps/x86_64/dla.h: Move to ...
14568 * sysdeps/x86_64/fpu/dla.h: ...here.
14569 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
14570 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 14571
af968f62
UD
14572 * config.make.in: Add have-mfma4 entry.
14573 * configure.in: Substitute libc_cv_cc_fma4.
14574 * math/Makefile (dbl-only-routines): Add sincostab.
14575 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
14576 Use __sincostab not sincos.
14577 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
14578 name is a macro.
14579 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14580 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14581 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14582 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
14583 using __copysign.
14584 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
14585 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
14586 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
14587 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
14588 and __inv.
14589 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
14590 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
14591 __copysign.
14592 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
14593 define aliases when function name is a macro.
14594 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
14595 sysdeps/ieee754/dbl-64/sincos.tbl.
14596 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
14597 fma4-enabled routines.
14598 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
14599 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
14600 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
14601 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
14602 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
14603 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
14604 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
14605 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
14606 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
14607 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
14608 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
14609 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
14610 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
14611 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
14612 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
14613 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
14614 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
14615 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
14616 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
14617 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
14618 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
14619 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
14620 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
14621 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
14622 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
14623 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
14624 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
14625 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
14626 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
14627 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
14628
58985aa9
UD
14629 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
14630 rename.
14631 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14632 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14633 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14634 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14635 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14636 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14637 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14638 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14639
a201fbcf
AS
146402011-10-24 Andreas Schwab <schwab@redhat.com>
14641
14642 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
14643
fc2ee42a
LD
146442011-10-23 Ulrich Drepper <drepper@gmail.com>
14645
bb3129bd
UD
14646 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
14647
0275fff8
UD
14648 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
14649 prediction.
14650 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
14651
2fa2ae85
UD
14652 * string/strnlen.c: Don't define STRNLEN, reverse logic.
14653 Remove unused variable magic_bits.
14654 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
14655
fc2ee42a
LD
14656 * string/strnlen.c: Define and use STRNLEN macro.
14657 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
14658 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
14659 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
14660 * wcsmbs/wcslen.c: Define and use WCSLEN.
14661 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
14662 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
14663 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
14664 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
14665 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
14666 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
14667 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14668
ce7dd29f
LD
146692011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14670
14671 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14672 strnlen-sse2-no-bsf.
14673 Rename strlen-no-bsf to strlen-sse2-no-bsf.
14674 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
14675 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
14676 Add strnlen support.
14677 (USE_AS_STRNLEN): New macro.
14678 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
14679 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
14680 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
14681 * sysdeps/x86_64/wcslen.S: New file.
14682
979c70a3
MZ
146832011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
14684
14685 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
14686 XMM-moves are used for copying on small sizes.
14687
2d09f82f
LD
146882011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14689
14690 * wcsmbs/Makefile (strop-tests): Add wcschr.
14691 * wcsmbs/test-wcschr.c: New file.
14692 * string/test-strchr.c: Update.
14693 Add wcschr support.
14694 (WIDE): New macro.
14695
619fccca
LD
146962011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14697
2d09f82f 14698 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
14699 * wcsmbs/test-wcslen.c: New file.
14700 * string/test-strlen.c: Update.
14701 Add wcslen support.
14702 (WIDE): New macro.
14703
09f699ea
UD
147042011-10-23 Ulrich Drepper <drepper@gmail.com>
14705
14706 * po/it.po: Update from translation team.
14707
95584d3b
LD
147082011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14709
14710 * sysdeps/x86_64/wcscmp.S: Update.
14711 Fix wrong comparison semantics.
14712 wcscmp shall use signed comparison not unsigned.
14713 Don't use substraction to avoid overflow bug.
14714 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
14715 * wcsmbc/wcscmp.c: Likewise.
14716 * string/test-strcmp.c: Likewise.
14717 Add new tests to check cases with negative values.
14718
c8b3296b
UD
147192011-10-23 Ulrich Drepper <drepper@gmail.com>
14720
14721 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
14722 * sysdeps/x86_64/dla.h: ...here. New file.
14723 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
14724 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14725 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14726 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14727 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14728 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14729 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14730 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14731 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14732
246ad57a
AS
147332011-10-23 Andreas Schwab <schwab@linux-m68k.org>
14734
14735 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
14736 __ynl_finite aliases.
14737
a1a87169
UD
147382011-10-22 Ulrich Drepper <drepper@gmail.com>
14739
0d355eb7
UD
14740 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14741
a1a87169
UD
14742 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
14743 define DLA_FMA.
14744 [DLA_FMA] (EMULV): Use DLA_FMA.
14745 [DLA_FMA] (MUL12): Use EMULV.
14746 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
14747 that are not needed.
14748 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14749 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14750 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14751 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14752 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14753 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14754 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14755
ee2aafe0
AS
147562011-10-22 Andreas Schwab <schwab@linux-m68k.org>
14757
14758 * math/s_nan.c: Undef __nan.
14759 * math/s_nanf.c: Undef __nanf.
14760 * math/s_nanl.c: Undef __nanl.
14761 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
14762 "math_private.h".
14763
bc62c2fb
UD
147642011-10-22 Ulrich Drepper <drepper@gmail.com>
14765
77425c63
UD
14766 * math/s_catan.c: Add branch predictions.
14767 * math/s_catanf.c: Likewise.
14768 * math/s_catanh.c: Likewise.
14769 * math/s_catanhf.c: Likewise.
14770 * math/s_catanhl.c: Likewise.
14771 * math/s_catanl.c: Likewise.
14772 * math/s_cexp.c: Likewise.
14773 * math/s_cexpf.c: Likewise.
14774 * math/s_cexpl.c: Likewise.
14775 * math/s_clog.c: Likewise.
14776 * math/s_clog10.c: Likewise.
14777 * math/s_clog10f.c: Likewise.
14778 * math/s_clog10l.c: Likewise.
14779 * math/s_clogf.c: Likewise.
14780 * math/s_clogl.c: Likewise.
14781 * math/s_csqrt.c: Likewise.
14782 * math/s_csqrtf.c: Likewise.
14783 * math/s_csqrtl.c: Likewise.
14784 * math/s_ctanf.c: Likewise.
14785 * math/s_ctanh.c: Likewise.
14786 * math/s_ctanhf.c: Likewise.
14787 * math/s_ctanhl.c: Likewise.
14788 * math/s_ctanl.c: Likewise.
14789
bc62c2fb
UD
14790 * math/math_private.h: Define __nan, __nanf, __nanl.
14791 * math/s_cacosh.c: Include <math_private.h>.
14792 * math/s_cacoshl.c: Likewise.
14793 * math/s_casinh.c: Likewise.
14794 * math/s_casinhf.c: Likewise.
14795 * math/s_casinhl.c: Likewise.
14796 * math/s_ccos.c: Rely entire on ccosh.
14797 * math/s_ccosf.c: Rely entire on ccoshf.
14798 * math/s_ccosl.c: Rely entirely on ccoshl.
14799 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
14800 Remove tests for FE_INVALID.
14801 * math/s_ccoshf.c: Likewise.
14802 * math/s_ccoshl.c: Likewise.
14803 * math/s_csin.c: Likewise.
14804 * math/s_csinf.c: Likewise.
14805 * math/s_csinh.c Likewise.
14806 * math/s_csinhf.c: Likewise.
14807 * math/s_csinhl.c: Likewise.
14808 * math/s_csinl.c: Likewise.
14809 * math/s_ctan.c: Likewise.
14810 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
14811 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
14812 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
14813
8ec250a4
UD
148142011-10-21 Ulrich Drepper <drepper@gmail.com>
14815
c196fed8
UD
14816 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
14817 compilation problems.
14818
8ec250a4
UD
14819 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
14820 __builtin_expect.
14821
8d4f46c6
UD
148222011-10-20 Ulrich Drepper <drepper@gmail.com>
14823
ed72b654
UD
14824 * sysdeps/i386/configure.in: Test for -mfma4 option.
14825 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
14826 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
14827 COMMON_CPUID_INDEX_80000001.
14828 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
14829 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
14830 use it if FMA3 is not supported.
14831 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
14832
8d4f46c6
UD
14833 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
14834 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14835
d45c60c2
AS
148362011-10-20 Andreas Schwab <schwab@redhat.com>
14837
14838 [BZ #12892]
14839 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
14840 it would create a cycle with a link time dependency.
14841
d9a4d2ab
UD
148422011-10-19 Ulrich Drepper <drepper@gmail.com>
14843
855d1560
UD
14844 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
14845 instruction.
14846 * string/Makefile (strop-tests): Add rawmemchr.
14847 * string/test-rawmemchr.c: New file.
14848
d9a4d2ab
UD
14849 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
14850 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
14851 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
14852 when compiling str{,n}casecmp and when AVX is available. Hook up
14853 new optimized code in initializers.
14854
8f3b1ffe
AS
148552011-10-19 Andreas Schwab <schwab@redhat.com>
14856
14857 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
14858 __feraiseexcept instead of feraiseexcept.
14859
d38f1dba
UD
148602011-10-18 Ulrich Drepper <drepper@gmail.com>
14861
d9a8d0ab
UD
14862 * math/math_private.h: Define defaults for libc_fetestexcept and
14863 libc_feupdateenv.
14864 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
14865 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
14866 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14867 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14868 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14869 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14870 libc_fetestexcept and libc_feupdateenv.
14871
4855e3dd
UD
14872 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
14873 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
14874 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
14875 * sysdeps/x86_64/fpu/math_private.h: Define special version of
14876 libc_feholdexcept_setround.
14877
581d30e3
UD
14878 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
14879 Add s_nearbyint-c and s_nearbyintf-c.
14880 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
14881 nearbyintf inlines.
14882 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
14883 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
14884 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
14885 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
14886
d38f1dba
UD
14887 * math/math_private.h: Define defaults for libc_fegetround,
14888 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
14889 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
14890 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
14891 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
14892 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
14893 standard functions.
14894 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14895 Remove comments and hacks for old compiler versions.
14896 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14897 libc_fegetround, libc_fesetround, libc_feholdexcept, and
14898 libc_feholdexceptl.
14899
caa6c9d8
AS
149002011-10-18 Andreas Schwab <schwab@redhat.com>
14901
14902 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
14903 (__feraiseexcept_renamed): Add __NTH.
14904 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
14905 namespace violations.
14906
97c066e6
UD
149072011-10-17 Ulrich Drepper <drepper@gmail.com>
14908
99ce7b04
UD
14909 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
14910
1004d182
UD
14911 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
14912
228a984d
UD
14913 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
14914 recently added interfaces.
14915 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
14916
c8553a6a
UD
14917 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
14918 about macro parameter expansion.
14919
ed22dcf6
UD
14920 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
14921 __NO_MATH_INLINES is defined. Cleanups.
14922
14923 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
14924 and __floorf is target has SSE4.1.
14925 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
14926 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
14927 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
14928 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
14929
b171c137
UD
14930 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
14931 name.
14932 (floorf): Likewise.
14933
97c066e6
UD
14934 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
14935
629f62ef
AS
149362011-10-17 Andreas Schwab <schwab@redhat.com>
14937
49a43d80
AS
14938 * misc/sys/cdefs.h: Fix last change.
14939
629f62ef
AS
14940 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
14941 database lookup.
14942
e453f6cd
UD
149432011-10-16 Ulrich Drepper <drepper@gmail.com>
14944
aa78043a
UD
14945 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
14946
ad0f5cad
UD
14947 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
14948 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14949 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14950 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14951 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14952 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14953 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14954 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14955 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14956 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
14957 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
14958 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
14959 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
14960 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
14961 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
14962 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
14963 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
14964 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
14965 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
14966 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
14967 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
14968 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
14969
14970 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
14971 ceil, ceilf, floor, floorf.
14972
14973 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
14974 Perform IRELATIVE relocations last.
14975
e453f6cd
UD
14976 * elf/do-rel.h: Add another parameter nrelative, replacing the
14977 local variable with the same name. Change name of the function
14978 to end in Rel or Rela (uppercase).
14979 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
14980 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
14981 elf_dynamic_do_##reloc function.
14982
fd5bdc09
UD
149832011-10-15 Ulrich Drepper <drepper@gmail.com>
14984
79b195b5
UD
14985 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
14986 is sufficient, at least on modern CPUs.
14987
d4a28569
UD
14988 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
14989
b61099b5
UD
14990 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
14991 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
14992
bcf01e6d
UD
14993 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
14994 __expl_finite.
14995 * math/bits/math-finite.h: Add entries for exp.
14996 * math/e_expl.c: Add __*_finite alias.
14997 * sysdeps/i386/fpu/e_exp.S: Likewise.
14998 * sysdeps/i386/fpu/e_expf.S: Likewise.
14999 * sysdeps/i386/fpu/e_expl.c: Likewise.
15000 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15001 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15002 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15003 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15004 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
15005 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15006 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15007
ba1a0d59
UD
15008 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
15009 is sufficient, at least on modern CPUs.
15010
fd5bdc09
UD
15011 * ctype/ctype-info.c (__ctype_init): Define.
15012 * include/ctype.h (__ctype_init): Declare.
15013 (__ctype_b_loc): The variable is always initialized.
15014 (__ctype_toupper_loc): Likewise.
15015 (__ctype_tolower_loc): Likewise.
15016 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
15017 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
15018
7872cfb0
AS
150192011-10-15 Andreas Schwab <schwab@linux-m68k.org>
15020
b468825a
AS
15021 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
15022
7872cfb0
AS
15023 * configure.in: Also look in $cxxmachine/include for C++ system
15024 headers.
15025
be13f7bf
LD
150262011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15027
15028 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
15029 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
15030 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
15031 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
15032 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
15033 (USE_AS_WMEMCMP): New macro.
15034 Fixing indents.
15035 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
15036 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
15037 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
15038 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
15039 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15040 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
15041 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
15042 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
15043 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
15044 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
15045 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
15046 (USE_AS_WMEMCMP): New macro.
15047 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
15048 * sysdeps/string/test-memcmp.c: Update.
15049 Fix simple_wmemcmp.
15050 Add new tests.
15051 * wcsmbs/wmemcmp.c: Update.
15052 (WMEMCMP): New macro.
15053 Fix overflow bug.
15054
556a2007
AJ
150552011-10-12 Andreas Jaeger <aj@suse.de>
15056
15057 [BZ #13268]
15058 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
15059
538faaa7
UD
150602011-10-15 Ulrich Drepper <drepper@gmail.com>
15061
ab6737ff
UD
15062 * libio/iofwide.c (do_length): Avoid warning.
15063
538faaa7
UD
15064 * ctype/ctype.h (__isctype_f): Add missing __THROW.
15065
396a21b1
UD
150662011-10-14 Ulrich Drepper <drepper@gmail.com>
15067
cdf2901f
UD
15068 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
15069
38ad40ce
UD
15070 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
15071 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
15072 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
15073 * sysdeps/i386/i686/fpu/e_log.S: New file.
15074 * sysdeps/i386/i686/fpu/e_logf.S: New file.
15075 * sysdeps/i386/i686/fpu/e_logl.S: New file.
15076
396a21b1
UD
15077 * ctype/ctype.h: Add support for inlined isXXX functions when
15078 compiling C++ code.
15079
6b1f68c9
AS
150802011-10-14 Andreas Schwab <schwab@redhat.com>
15081
349290c0
AS
15082 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15083
6b1f68c9
AS
15084 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
15085
f2282d42
RM
150862011-10-13 Roland McGrath <roland@hack.frob.com>
15087
15088 [BZ #13291]
15089 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
15090
5298ffa8
AS
150912011-10-13 Andreas Schwab <schwab@redhat.com>
15092
714fad23
AS
15093 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
15094 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
15095 feraiseexcept.
15096
81dcc7fb
AS
15097 * sysdeps/x86_64/memrchr.S: Check for zero size.
15098
5298ffa8
AS
15099 * string/stratcliff.c: Add memrchr tests.
15100
951fbcec
LD
151012011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15102
15103 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15104 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
15105 rawmemchr-sse2 rawmemchr-sse2-bsf.
15106 * sysdeps/i386/i686/multiarch/memchr.S: New file.
15107 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
15108 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
15109 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
15110 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
15111 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
15112 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
15113 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
15114 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
15115 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
15116 * string/memrchr.c (MEMRCHR): New macro.
15117
0ac5ae23
UD
151182011-10-12 Ulrich Drepper <drepper@gmail.com>
15119
15120 Add integration with gcc's -ffinite-math-only and optimize wrapper
15121 functions in libm.
15122 * Versions.def: Define GLIBC_2.15 version for libm.
15123 * math/Makefile (headers): Add bits/math-finite.h.
15124 * math/bits/math-finite.h: New file.
15125 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
15126 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
15127 * math/e_acoshl.c: Add __*_finite alias.
15128 * math/e_acosl.c: Likewise.
15129 * math/e_asinl.c: Likewise.
15130 * math/e_atan2l.c: Likewise.
15131 * math/e_atanhl.c: Likewise.
15132 * math/e_coshl.c: Likewise.
15133 * math/e_exp10.c: Likewise.
15134 * math/e_exp10f.c: Likewise.
15135 * math/e_exp10l.c: Likewise.
15136 * math/e_exp2l.c: Likewise.
15137 * math/e_fmodl.c: Likewise.
15138 * math/e_gammal_r.c: Likewise.
15139 * math/e_hypotl.c: Likewise.
15140 * math/e_j0l.c: Likewise.
15141 * math/e_j1l.c: Likewise.
15142 * math/e_jnl.c: Likewise.
15143 * math/e_lgammal_r.c: Likewise.
15144 * math/e_log10l.c: Likewise.
15145 * math/e_log2l.c: Likewise.
15146 * math/e_logl.c: Likewise.
15147 * math/e_powl.c: Likewise.
15148 * math/e_sinhl.c: Likewise.
15149 * math/e_sqrtl.c: Likewise.
15150 * math/e_scalb.c: Completely rewritten and optimized.
15151 * math/e_scalbf.c: Likewise.
15152 * math/e_scalbl.c: Likewise.
15153 * math/w_acos.c: Likewise.
15154 * math/w_acosf.c: Likewise.
15155 * math/w_acosl.c: Likewise.
15156 * math/w_acosh.c: Likewise.
15157 * math/w_acoshf.c: Likewise.
15158 * math/w_acoshl.c: Likewise.
15159 * math/w_asin.c: Likewise.
15160 * math/w_asinf.c: Likewise.
15161 * math/w_asinl.c: Likewise.
15162 * math/w_atan2.c: Likewise.
15163 * math/w_atan2f.c: Likewise.
15164 * math/w_atan2l.c: Likewise.
15165 * math/w_atanh.c: Likewise.
15166 * math/w_atanhf.c: Likewise.
15167 * math/w_atanhl.c: Likewise.
15168 * math/w_exp10.c: Likewise.
15169 * math/w_exp10f.c: Likewise.
15170 * math/w_exp10l.c: Likewise.
15171 * math/w_fmod.c: Likewise.
15172 * math/w_fmodf.c: Likewise.
15173 * math/w_fmodl.c: Likewise.
15174 * math/w_j0.c: Likewise.
15175 * math/w_j0f.c: Likewise.
15176 * math/w_j0l.c: Likewise.
15177 * math/w_j1.c: Likewise.
15178 * math/w_j1f.c: Likewise.
15179 * math/w_j1l.c: Likewise.
15180 * math/w_jn.c: Likewise.
15181 * math/w_jnf.c: Likewise.
15182 * math/w_log.c: Likewise.
15183 * math/w_logf.c: Likewise.
15184 * math/w_logl.c: Likewise.
15185 * math/w_log10.c: Likewise.
15186 * math/w_log10f.c: Likewise.
15187 * math/w_log10l.c: Likewise.
15188 * math/w_log2.c: Likewise.
15189 * math/w_log2f.c: Likewise.
15190 * math/w_log2l.c: Likewise.
15191 * math/w_pow.c: Likewise.
15192 * math/w_powf.c: Likewise.
15193 * math/w_powl.c: Likewise.
15194 * math/w_remainder.c: Likewise.
15195 * math/w_remainderf.c: Likewise.
15196 * math/w_remainderl.c: Likewise.
15197 * math/w_scalb.c: Likewise.
15198 * math/w_scalbf.c: Likewise.
15199 * math/w_scalbl.c: Likewise.
15200 * math/w_sqrt.c: Likewise.
15201 * math/w_sqrtf.c: Likewise.
15202 * math/w_sqrtl.c: Likewise.
15203 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
15204 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
15205 used.
15206 * math/math_private.h: Declare __kernel_standard_f.
15207 * math/w_cosh.c: Remove cruft and optimize a bit.
15208 * math/w_coshf.c: Likewise.
15209 * math/w_coshl.c: Likewise.
15210 * math/w_exp2.c: Likewise.
15211 * math/w_exp2f.c: Likewise.
15212 * math/w_exp2l.c: Likewise.
15213 * math/w_hypot.c: Likewise.
15214 * math/w_hypotf.c: Likewise.
15215 * math/w_hypotl.c: Likewise.
15216 * math/w_lgamma.c: Likewise.
15217 * math/w_lgamma_r.c: Likewise.
15218 * math/w_lgammaf.c: Likewise.
15219 * math/w_lgammaf_r.c: Likewise.
15220 * math/w_lgammal.c: Likewise.
15221 * math/w_lgammal_r.c: Likewise.
15222 * math/w_sinh.c: Likewise.
15223 * math/w_sinhf.c: Likewise.
15224 * math/w_sinhl.c: Likewise.
15225 * math/w_tgamma.c: Likewise.
15226 * math/w_tgammaf.c: Likewise.
15227 * math/w_tgammal.c: Likewise.
15228 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15229 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15230 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
15231 Minor optimizations. Pretty printing. Remove cruft.
15232 * sysdeps/i386/fpu/e_acosf.S: Likewise.
15233 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15234 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15235 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15236 * sysdeps/i386/fpu/e_acosl.c: Likewise.
15237 * sysdeps/i386/fpu/e_asin.S: Likewise.
15238 * sysdeps/i386/fpu/e_asinf.S: Likewise.
15239 * sysdeps/i386/fpu/e_atan2.S: Likewise.
15240 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
15241 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
15242 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15243 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15244 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15245 * sysdeps/i386/fpu/e_exp10.S: Likewise.
15246 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
15247 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
15248 * sysdeps/i386/fpu/e_exp2.S: Likewise.
15249 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
15250 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
15251 * sysdeps/i386/fpu/e_fmod.S: Likewise.
15252 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
15253 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
15254 * sysdeps/i386/fpu/e_hypot.S: Likewise.
15255 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
15256 * sysdeps/i386/fpu/e_log.S: Likewise.
15257 * sysdeps/i386/fpu/e_log10.S: Likewise.
15258 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15259 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15260 * sysdeps/i386/fpu/e_log2.S: Likewise.
15261 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15262 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15263 * sysdeps/i386/fpu/e_logf.S: Likewise.
15264 * sysdeps/i386/fpu/e_logl.S: Likewise.
15265 * sysdeps/i386/fpu/e_pow.S: Likewise.
15266 * sysdeps/i386/fpu/e_powf.S: Likewise.
15267 * sysdeps/i386/fpu/e_powl.S: Likewise.
15268 * sysdeps/i386/fpu/e_remainder.S: Likewise.
15269 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
15270 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
15271 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15272 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15273 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15274 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
15275 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
15276 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
15277 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15278 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15279 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15280 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15281 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15282 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15283 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15284 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15285 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15286 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15287 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15288 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15289 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15290 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15291 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15292 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15293 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15294 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15295 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15296 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15297 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15298 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
15299 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15300 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15301 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
15302 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15303 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15304 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
15305 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15306 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
15307 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15308 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15309 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15310 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15311 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
15312 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
15313 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
15314 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
15315 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
15316 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15317 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
15318 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15319 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
15320 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15321 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15322 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15323 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15324 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15325 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15326 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15327 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15328 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15329 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15330 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15331 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15332 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15333 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15334 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15335 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15336 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15337 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15338 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
15339 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15340 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15341 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
15342 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15343 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
15344 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
15345 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
15346 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15347 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
15348 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
15349 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
15350 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15351 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
15352 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15353 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15354 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
15355 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15356 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
15357 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15358 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
15359 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
15360 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15361 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15362 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15363 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15364 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
15365 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15366 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15367 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15368 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15369 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15370 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15371 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15372 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
15373 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
15374 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
15375 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
15376 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
15377 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
15378 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
15379 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
15380 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
15381 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15382 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15383 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15384 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15385 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
15386 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15387 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
15388 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
15389 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
15390 (__isnanf): Likewise.
15391 (__isinf_ns): Likewise.
15392 (__isinf_nsf): Likewise.
15393 (__finite): Likewise.
15394 (__finitef): Likewise.
15395 (__ieee754_sqrt): Define as macro.
15396 (__ieee754_sqrtf): Define as macro.
15397 (__ieee754_sqrtl): Define as macro.
15398 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
15399 inlined copy.
15400 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
15401 __FINITE_MATH_ONLY__ consistent.
15402 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
15403
12cc2fcd
AS
154042011-10-10 Andreas Schwab <schwab@linux-m68k.org>
15405
a843a204
AS
15406 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
15407 of rawmemchr.
15408
12cc2fcd
AS
15409 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
15410
c853acd5
UD
154112011-10-09 Ulrich Drepper <drepper@gmail.com>
15412
15413 * po/ja.po: Update from translation team.
15414
c658d255
RM
154152011-10-08 Roland McGrath <roland@hack.frob.com>
15416
110946e4
RM
15417 * locale/programs/locarchive.c (prepare_address_space): New function.
15418 (create_archive, enlarge_archive, open_archive): Use it.
15419
50604220
RM
15420 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
15421 inside [SHARED], where it is used.
15422
c658d255
RM
15423 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
15424
15425 * nss/getent.c (netgroup_keys): Remove unused variable.
15426 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
15427
6a621eb7
UD
154282011-10-08 Ulrich Drepper <drepper@gmail.com>
15429
7edb55ce
UD
15430 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
15431 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
15432 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
15433 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
15434 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
15435 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
15436 * math/Makefile (libm-calls): Add s_isinf_ns.
15437 * math/divtc3.c: Use __isinf_nsl instead of isinf.
15438 * math/multc3.c: Likewise.
15439 * math/s_casin.c: Likewise.
15440 * math/s_casinf.c: Likewise.
15441 * math/s_casinl.c: Likewise.
15442 * math/s_ccos.c: Likewise.
15443 * math/s_ccosf.c: Likewise.
15444 * math/s_ccosl.c: Likewise.
15445 * math/s_ctan.c: Likewise.
15446 * math/s_ctanf.c: Likewise.
15447 * math/s_ctanh.c: Likewise.
15448 * math/s_ctanhf.c: Likewise.
15449 * math/s_ctanhl.c: Likewise.
15450 * math/s_ctanl.c: Likewise.
15451 * math/w_fmod.c: Likewise.
15452 * math/w_fmodf.c: Likewise.
15453 * math/w_fmodl.c: Likewise.
15454 * math/w_remainder.c: Likewise.
15455 * math/w_remainderf.c: Likewise.
15456 * math/w_remainderl.c: Likewise.
15457 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
15458 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
15459 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
15460 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
15461 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
15462 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
15463 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
15464 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
15465
187da0ae
UD
15466 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
15467 of the number.
15468 * stdio-common/printf_fphex.c: Likewise.
15469 * stdio-common/printf_size.c: Likewise.
15470
9277c064
UD
15471 * math/e_exp10.c: Include math_private.h using <...> not "...".
15472 * math/e_exp10f.c: Likewise.
15473 * math/e_exp10l.c: Likewise.
15474 * math/e_exp2l.c: Likewise.
15475 * math/e_j0l.c: Likewise.
15476 * math/e_j1l.c: Likewise.
15477 * math/e_jnl.c: Likewise.
15478 * math/e_lgammal_r.c: Likewise.
15479 * math/e_rem_pio2l.c: Likewise.
15480 * math/e_scalb.c: Likewise.
15481 * math/e_scalbf.c: Likewise.
15482 * math/e_scalbl.c: Likewise.
15483 * math/k_cosl.c: Likewise.
15484 * math/k_sinl.c: Likewise.
15485 * math/k_tanl.c: Likewise.
15486 * math/s_cacoshf.c: Likewise.
15487 * math/s_catan.c: Likewise.
15488 * math/s_catanf.c: Likewise.
15489 * math/s_catanh.c: Likewise.
15490 * math/s_catanhf.c: Likewise.
15491 * math/s_catanhl.c: Likewise.
15492 * math/s_catanl.c: Likewise.
15493 * math/s_ccosh.c: Likewise.
15494 * math/s_ccoshf.c: Likewise.
15495 * math/s_ccoshl.c: Likewise.
15496 * math/s_cexp.c: Likewise.
15497 * math/s_cexpf.c: Likewise.
15498 * math/s_cexpl.c: Likewise.
15499 * math/s_clog.c: Likewise.
15500 * math/s_clog10.c: Likewise.
15501 * math/s_clog10f.c: Likewise.
15502 * math/s_clog10l.c: Likewise.
15503 * math/s_clogf.c: Likewise.
15504 * math/s_clogl.c: Likewise.
15505 * math/s_csin.c: Likewise.
15506 * math/s_csinf.c: Likewise.
15507 * math/s_csinh.c: Likewise.
15508 * math/s_csinhf.c: Likewise.
15509 * math/s_csinhl.c: Likewise.
15510 * math/s_csinl.c: Likewise.
15511 * math/s_csqrt.c: Likewise.
15512 * math/s_csqrtf.c: Likewise.
15513 * math/s_csqrtl.c: Likewise.
15514 * math/s_ctan.c: Likewise.
15515 * math/s_ctanf.c: Likewise.
15516 * math/s_ctanh.c: Likewise.
15517 * math/s_ctanhf.c: Likewise.
15518 * math/s_ctanhl.c: Likewise.
15519 * math/s_ctanl.c: Likewise.
15520 * math/s_ldexp.c: Likewise.
15521 * math/s_ldexpf.c: Likewise.
15522 * math/s_ldexpl.c: Likewise.
15523 * math/s_significand.c: Likewise.
15524 * math/s_significandf.c: Likewise.
15525 * math/s_significandl.c: Likewise.
15526 * math/w_acos.c: Likewise.
15527 * math/w_acosf.c: Likewise.
15528 * math/w_acosh.c: Likewise.
15529 * math/w_acoshf.c: Likewise.
15530 * math/w_acoshl.c: Likewise.
15531 * math/w_acosl.c: Likewise.
15532 * math/w_asin.c: Likewise.
15533 * math/w_asinf.c: Likewise.
15534 * math/w_asinl.c: Likewise.
15535 * math/w_atan2.c: Likewise.
15536 * math/w_atan2f.c: Likewise.
15537 * math/w_atan2l.c: Likewise.
15538 * math/w_atanh.c: Likewise.
15539 * math/w_atanhf.c: Likewise.
15540 * math/w_atanhl.c: Likewise.
15541 * math/w_cosh.c: Likewise.
15542 * math/w_coshf.c: Likewise.
15543 * math/w_coshl.c: Likewise.
15544 * math/w_dremf.c: Likewise.
15545 * math/w_exp10.c: Likewise.
15546 * math/w_exp10f.c: Likewise.
15547 * math/w_exp10l.c: Likewise.
15548 * math/w_exp2.c: Likewise.
15549 * math/w_exp2f.c: Likewise.
15550 * math/w_fmod.c: Likewise.
15551 * math/w_fmodf.c: Likewise.
15552 * math/w_fmodl.c: Likewise.
15553 * math/w_hypot.c: Likewise.
15554 * math/w_hypotf.c: Likewise.
15555 * math/w_hypotl.c: Likewise.
15556 * math/w_j0.c: Likewise.
15557 * math/w_j0f.c: Likewise.
15558 * math/w_j0l.c: Likewise.
15559 * math/w_j1.c: Likewise.
15560 * math/w_j1f.c: Likewise.
15561 * math/w_j1l.c: Likewise.
15562 * math/w_jn.c: Likewise.
15563 * math/w_jnf.c: Likewise.
15564 * math/w_jnl.c: Likewise.
15565 * math/w_lgamma.c: Likewise.
15566 * math/w_lgamma_r.c: Likewise.
15567 * math/w_lgammaf.c: Likewise.
15568 * math/w_lgammaf_r.c: Likewise.
15569 * math/w_lgammal.c: Likewise.
15570 * math/w_lgammal_r.c: Likewise.
15571 * math/w_log.c: Likewise.
15572 * math/w_log10.c: Likewise.
15573 * math/w_log10f.c: Likewise.
15574 * math/w_log10l.c: Likewise.
15575 * math/w_log2.c: Likewise.
15576 * math/w_log2f.c: Likewise.
15577 * math/w_log2l.c: Likewise.
15578 * math/w_logf.c: Likewise.
15579 * math/w_logl.c: Likewise.
15580 * math/w_pow.c: Likewise.
15581 * math/w_powf.c: Likewise.
15582 * math/w_powl.c: Likewise.
15583 * math/w_remainder.c: Likewise.
15584 * math/w_remainderf.c: Likewise.
15585 * math/w_remainderl.c: Likewise.
15586 * math/w_scalb.c: Likewise.
15587 * math/w_scalbf.c: Likewise.
15588 * math/w_scalbl.c: Likewise.
15589 * math/w_sinh.c: Likewise.
15590 * math/w_sinhf.c: Likewise.
15591 * math/w_sinhl.c: Likewise.
15592 * math/w_sqrt.c: Likewise.
15593 * math/w_sqrtf.c: Likewise.
15594 * math/w_sqrtl.c: Likewise.
15595 * math/w_tgamma.c: Likewise.
15596 * math/w_tgammaf.c: Likewise.
15597 * math/w_tgammal.c: Likewise.
15598
6a621eb7
UD
15599 * po/ja.po: Update from translation team.
15600
bf582445
AJ
156012011-09-29 Andreas Jaeger <aj@suse.de>
15602
f9efbf3a
AJ
15603 [BZ #13179]
15604 * sunrpc/netname.c (netname2host): Fix logic.
15605
bf582445
AJ
15606 [BZ #6779]
15607 [BZ #6783]
15608 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
15609 correctly.
15610 * math/w_remainder.c (__remainder): Likewise.
15611 * math/w_remainderf.c (__remainderf): Likewise.
15612 * math/libm-test.inc (remainder_test): Add test cases.
15613
48693bea
AK
156142011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15615
15616 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
15617 sdiv_qrnnd.
15618
42622229
LD
156192011-10-07 Ulrich Drepper <drepper@gmail.com>
15620
15621 * string/test-memcmp.c: Avoid unncessary #defines.
15622 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
15623
093ecf92
LD
156242011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15625
15626 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
15627 Use new sse2 version for core i3 - i7 as it's faster
15628 than sse42 version.
15629 (bit_Prefer_PMINUB_for_stringop): New.
15630 * sysdeps/x86_64/rawmemchr.S: Update.
15631 Replace with faster SSE2 version.
15632 * sysdeps/x86_64/memrchr.S: New file.
15633 * sysdeps/x86_64/memchr.S: Update.
15634 Replace with faster SSE2 version.
15635
fde56e5c
MP
156362011-09-12 Marek Polacek <mpolacek@redhat.com>
15637
15638 * elf/dl-load.c (lose): Add cast to avoid warning.
15639
21fd49a9
UD
156402011-10-07 Ulrich Drepper <drepper@gmail.com>
15641
5a06e643
UD
15642 * po/ca.po: Update from translation team.
15643
684ae515
UD
15644 * inet/getnetgrent_r.c: Hook up nscd.
15645 * nscd/Makefile (routines): Add nscd_netgroup.
15646 (nscd-modules): Add netgroupcache.
15647 (CFLAGS-netgroupcache.c): Define.
15648 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
15649 (cache_search): Add const to second parameter.
15650 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
15651 INNETGR.
15652 (dbs): Add netgrdb entry.
15653 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
15654 (verify_persistent_db): Handle netgrdb.
15655 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
15656 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
15657 GETFDNETGR.
15658 (netgroup_response_header): Define.
15659 (innetgroup_response_header): Define.
15660 (datahead): Add netgroup_response_header and innetgroup_response_header
15661 elements.
15662 * nscd/nscd.conf: Add entries for netgroup cache.
15663 * nscd/nscd.h (dbtype): Add netgrdb.
15664 (_PATH_NSCD_NETGROUP_DB): Define.
15665 (netgroup_iov_disabled): Declare.
15666 (xmalloc, xcalloc, xrealloc): Move declarations here.
15667 (cache_search): Adjust prototype.
15668 Add netgroup-related prototypes.
15669 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
15670 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
15671 (__nscd_innetgr): Declare.
15672 * nscd/selinux.c (perms): Use access_vector_t as element type and
15673 add netgroup-related initializers.
15674 * nscd/netgroupcache.c: New file.
15675 * nscd/nscd_netgroup.c: New file.
15676 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
15677 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
15678 For four parameters use innetgr.
15679 * nss/nss_files/files-init.c: Add definition and callback for netgr.
15680 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
15681 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
15682 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
15683
21fd49a9
UD
15684 * nscd/connections.c (register_traced_file): Don't register file
15685 for disabled databases.
15686
054c0457
UD
156872011-10-06 Ulrich Drepper <drepper@gmail.com>
15688
32b63198
UD
15689 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
15690
054c0457
UD
15691 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
15692 from tree and freeing node.
15693
64031225
JO
156942011-09-25 Jiri Olsa <jolsa@redhat.com>
15695
15696 * nss/nsswitch.c (__nss_database_lookup): Handle
15697 nss_parse_service_list out of memory case.
15698
0490345c
JO
156992011-09-15 Jiri Olsa <jolsa@redhat.com>
15700
15701 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
15702 out of memory case.
15703
3a62d00d
AS
157042011-10-04 Andreas Schwab <schwab@redhat.com>
15705
15706 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
15707 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
15708 pass it down.
15709 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
15710 elf_machine_rela, elf_machine_lazy_rel.
15711 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
15712 (ELF_DYNAMIC_DO_REL): Likewise.
15713 (ELF_DYNAMIC_DO_RELA): Likewise.
15714 (ELF_DYNAMIC_RELOCATE): Likewise.
15715 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
15716 to ELF_DYNAMIC_DO_REL.
15717 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
15718 (dl_main): In trace mode always set __RTLD_NOIFUNC.
15719 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
15720 elf_machine_rela.
15721 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
15722 skip_ifunc, don't call ifunc function if non-zero.
15723 (elf_machine_rela): Likewise.
15724 (elf_machine_lazy_rel): Likewise.
15725 (elf_machine_lazy_rela): Likewise.
15726 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15727 (elf_machine_lazy_rel): Likewise.
15728 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15729 Likewise.
15730 (elf_machine_lazy_rel): Likewise.
15731 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15732 Likewise.
15733 (elf_machine_lazy_rel): Likewise.
15734 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
15735 (elf_machine_lazy_rel): Likewise.
15736 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
15737 (elf_machine_lazy_rel): Likewise.
15738 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15739 (elf_machine_lazy_rel): Likewise.
15740 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
15741 (elf_machine_lazy_rel): Likewise.
15742 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
15743 (elf_machine_lazy_rel): Likewise.
15744 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15745 (elf_machine_lazy_rel): Likewise.
15746
68577918
UD
157472011-09-28 Ulrich Drepper <drepper@gmail.com>
15748
15749 * nss/nss_files/files-init.c (_nss_files_init): Use static
15750 initialization for all the *_traced_file variables.
15751
68822d74
AS
157522011-09-28 Andreas Schwab <schwab@redhat.com>
15753
15754 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15755
2056100b
RM
157562011-09-27 Roland McGrath <roland@hack.frob.com>
15757
15758 [BZ #13226]
15759 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
15760
32c76b63
AS
157612011-09-27 Andreas Schwab <schwab@redhat.com>
15762
15763 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15764 Reread the line before reparsing it.
15765
bf972c9d
AS
157662011-09-26 Andreas Schwab <schwab@redhat.com>
15767
15768 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
15769
e057a1b5
JM
157702011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
15771 Maxim Kuvyrkov <maxim@codesourcery.com>
15772 Joseph Myers <joseph@codesourcery.com>
15773
15774 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
15775 if needed for __stack_chk_guard.
15776
bc7e1c36
RM
157772011-09-19 Roland McGrath <roland@hack.frob.com>
15778
ecb1482f
RM
15779 * sysdeps/posix/spawni.c (script_execute): Always define it.
15780 It will be optimized away if unused.
15781 (maybe_script_execute): New function.
15782 (__spawni): Call it.
15783
bc7e1c36
RM
15784 * Makerules: Don't include tls.make.
15785 (config-tls): Always set to thread.
15786 * tls.make.c: File removed.
15787
1c3b002b
MF
157882011-09-19 Mike Frysinger <vapier@gentoo.org>
15789
15790 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
15791 * config.make.in (CPPFLAGS-config): New substituted variable.
15792
2840865d
UD
157932011-09-15 Ulrich Drepper <drepper@gmail.com>
15794
88738eb6
UD
15795 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
15796
cbf645a6 15797 [BZ #13192]
2840865d
UD
15798 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
15799 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
15800
b402e91a
RM
158012011-09-15 Roland McGrath <roland@hack.frob.com>
15802
15803 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
15804 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
15805 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15806 (CALL_FAIL): Likewise.
15807 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
15808 (CALL_FAIL): Macro removed.
15809 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
15810
4c1a1f71
UD
158112011-09-15 Ulrich Drepper <drepper@gmail.com>
15812
15813 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
15814 for __FINITE_MATH_ONLY__ == 1.
15815
edc121be
AS
158162011-09-15 Andreas Schwab <schwab@redhat.com>
15817
15818 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
15819 __ieee754_sqrt instead of sqrt.
15820 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
15821 __ieee754_sqrtf instead of sqrtf.
15822 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
15823 __floorf instead of floorf.
15824 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
15825 __floorf, __truncf instead of floorf, truncf.
15826
cd205654
UD
158272011-09-14 Ulrich Drepper <drepper@gmail.com>
15828
ee4d0315
UD
15829 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
15830
cd205654
UD
15831 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
15832 __extern_always_inline.
15833 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
15834 32-bit.
15835
48b67d71
AS
158362011-09-14 Andreas Schwab <schwab@redhat.com>
15837
15838 * elf/rtld.c (dl_main): Also relocate in dependency order when
15839 doing symbol dependency testing.
15840
1ae12c75
AS
158412011-09-13 Andreas Schwab <schwab@linux-m68k.org>
15842
15843 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15844 Always define `refsym'.
15845
995a80df
AS
158462011-09-13 Andreas Schwab <schwab@redhat.com>
15847
e529793b
AS
15848 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
15849 (__FD_ELT): Renamed from __FDELT.
15850 * misc/bits/select2.h (__FD_ELT): Likewise.
15851 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
15852 __FD_MASK instead of __FDELT, __FDMASK.
15853 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15854 Likewise.
15855 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15856 Likewise.
15857
52d4fef8
AS
15858 * elf/Makefile (gen-ldd): Fix pattern.
15859
995a80df
AS
15860 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
15861 (init_tls): Likewise.
15862
8682f8b0
UD
158632011-09-12 Ulrich Drepper <drepper@gmail.com>
15864
15865 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
15866
de82006d
AS
158672011-09-12 Andreas Schwab <schwab@redhat.com>
15868
a7c8e6a1
AS
15869 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
15870 `struct cmsghdr *' instead of `void *'.
15871 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
15872 Likewise.
15873
0f31fe77
AS
158742011-09-11 Andreas Schwab <schwab@linux-m68k.org>
15875
15876 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
15877 if non-absolute.
15878 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
15879 ldd_rewrite_script.
0f31fe77 15880
32b4c839
UD
158812011-09-11 Ulrich Drepper <drepper@gmail.com>
15882
83cd1420
UD
15883 * configure.in: Remove --with-tls option.
15884 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
15885 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
15886 out in case it is missing.
15887 * sysdeps/ia64/elf/configure.in: Likewise.
15888 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
15889 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
15890 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
15891 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
15892 * sysdeps/sh/elf/configure.in: Likewise.
15893 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
15894 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15895 * sysdeps/x86_64/elf/configure.in: Likewise.
15896 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
15897 * sysdeps/mach/hurd/tls.h: Likewise.
15898
633f745d
UD
15899 [BZ #13067]
15900 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
15901
f318beb8
UD
15902 [BZ #13090]
15903 * configure.in: Fix use of AC_INIT.
15904
32b4c839
UD
15905 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
15906
3ce1f295
UD
159072011-09-10 Ulrich Drepper <drepper@gmail.com>
15908
bb016596
UD
15909 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
15910 __set_errno.
8e58439c
UD
15911 * malloc/hooks.c: Likewise.
15912
aebae053 15913 [BZ #11929]
02d46fc4
UD
15914 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
15915 variables statically.
15916 (narenas): Initialize.
15917 (list_lock): Initialize.
bb016596
UD
15918 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
15919 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
15920 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
15921 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
15922 Add initializers to main_arena and mp_.
15923 (malloc_state): Remove pagesize member. Change all users to use
15924 GLRO(dl_pagesize).
15925
15926 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
15927 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
15928 is always initialized.
15929
22a89187
UD
15930 * malloc/malloc.c: Removed unused configurations and dead code.
15931 * malloc/arena.c: Likewise.
15932 * malloc/hooks.c: Likewise.
02d46fc4 15933 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 15934
d063d164
UD
15935 * include/tls.h: Removed. USE___THREAD must always be defined.
15936 * bits/libc-tsd.h: Don't handle !USE___THREAD.
15937 * elf/dl-libc.c: Likewise.
15938 * elf/dl-tsd.c: Likewise.
15939 * include/errno.h: Likewise.
15940 * include/netdb.h: Likewise.
15941 * include/resolv.h: Likewise.
15942 * inet/herrno-loc.c: Likewise.
15943 * inet/herrno.c: Likewise.
15944 * malloc/arena.c: Likewise.
15945 * malloc/hooks.c: Likewise.
15946 * malloc/malloc.c: Likewise.
15947 * resolv/res-state.c: Likewise.
15948 * resolv/res_libc.c: Likewise.
15949 * sysdeps/i386/dl-machine.h: Likewise.
15950 * sysdeps/ia64/dl-machine.h: Likewise.
15951 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15952 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15953 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15954 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15955 * sysdeps/sh/dl-machine.h: Likewise.
15956 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15957 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15958 * sysdeps/unix/i386/sysdep.S: Likewise.
15959 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15960 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
15961 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
15962 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15963 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
15964 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15965 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15966 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15967 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15968 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15969 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15970 * sysdeps/x86_64/dl-machine.h: Likewise.
15971 * tls.make.c: Likewise.
15972
3ce1f295
UD
15973 * configure.in: Remove --with-__thread option. Make tests for
15974 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
15975 tls_model attribute fail if no support is available. Remove
15976 USE_IN_LIBIO.
15977 * Makeconfig: Adjust for dropped configure option. All features are
15978 now mandatory.
15979 * Makerules: Likewise.
15980 * Versions.def: Likewise.
15981 * argp/argp-fmtstream.c: Likewise.
15982 * argp/argp-fmtstream.h: Likewise.
15983 * argp/argp-help.c: Likewise.
15984 * assert/assert.c: Likewise.
15985 * config.h.in: Likewise.
15986 * config.make.in: Likewise.
15987 * configure: Likewise.
15988 * configure.in: Likewise.
15989 * csu/Versions: Likewise.
15990 * csu/init.c: Likewise.
15991 * elf/tst-audit2.c: Likewise.
15992 * elf/tst-tls10.c: Likewise.
15993 * elf/tst-tls10.h: Likewise.
15994 * elf/tst-tls11.c: Likewise.
15995 * elf/tst-tls12.c: Likewise.
15996 * elf/tst-tls14.c: Likewise.
15997 * elf/tst-tlsmod11.c: Likewise.
15998 * elf/tst-tlsmod12.c: Likewise.
15999 * elf/tst-tlsmod13.c: Likewise.
16000 * elf/tst-tlsmod13a.c: Likewise.
16001 * elf/tst-tlsmod14a.c: Likewise.
16002 * elf/tst-tlsmod15b.c: Likewise.
16003 * elf/tst-tlsmod16a.c: Likewise.
16004 * elf/tst-tlsmod16b.c: Likewise.
16005 * elf/tst-tlsmod7.c: Likewise.
16006 * elf/tst-tlsmod8.c: Likewise.
16007 * elf/tst-tlsmod9.c: Likewise.
16008 * gmon/gmon.c: Likewise.
16009 * grp/fgetgrent_r.c: Likewise.
16010 * grp/putgrent.c: Likewise.
16011 * hurd/fopenport.c: Likewise.
16012 * include/libc-symbols.h: Likewise.
16013 * include/tls.h: Likewise.
16014 * intl/gettextP.h: Likewise.
16015 * intl/loadinfo.h: Likewise.
16016 * locale/global-locale.c: Likewise.
16017 * locale/localeinfo.h: Likewise.
16018 * mach/devstream.c: Likewise.
16019 * malloc/arena.c: Likewise.
16020 * malloc/set-freeres.c: Likewise.
16021 * misc/err.c: Likewise.
16022 * misc/getttyent.c: Likewise.
16023 * misc/mntent_r.c: Likewise.
16024 * posix/getopt.c: Likewise.
16025 * posix/wordexp.c: Likewise.
16026 * pwd/fgetpwent_r.c: Likewise.
16027 * resolv/Versions: Likewise.
16028 * resolv/res_hconf.c: Likewise.
16029 * shadow/fgetspent_r.c: Likewise.
16030 * shadow/putspent.c: Likewise.
16031 * stdio-common/printf_fphex.c: Likewise.
16032 * stdio-common/tmpfile.c: Likewise.
16033 * stdlib/abort.c: Likewise.
16034 * stdlib/fmtmsg.c: Likewise.
16035 * sunrpc/auth_unix.c: Likewise.
16036 * sunrpc/clnt_perr.c: Likewise.
16037 * sunrpc/clnt_tcp.c: Likewise.
16038 * sunrpc/clnt_udp.c: Likewise.
16039 * sunrpc/clnt_unix.c: Likewise.
16040 * sunrpc/openchild.c: Likewise.
16041 * sunrpc/svc_simple.c: Likewise.
16042 * sunrpc/svc_tcp.c: Likewise.
16043 * sunrpc/svc_udp.c: Likewise.
16044 * sunrpc/svc_unix.c: Likewise.
16045 * sunrpc/xdr.c: Likewise.
16046 * sunrpc/xdr_array.c: Likewise.
16047 * sunrpc/xdr_rec.c: Likewise.
16048 * sunrpc/xdr_ref.c: Likewise.
16049 * sunrpc/xdr_stdio.c: Likewise.
16050
1248c1c4
PB
160512011-09-09 Ulrich Drepper <drepper@gmail.com>
16052
16053 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16054
160552011-07-03 Andreas Jaeger <aj@suse.de>
16056
16057 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
16058 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
16059 regenerate with gen-libm-tests.pl.
16060
160612010-05-12 Petr Baudis <pasky@suse.cz>
16062
16063 [BZ #11589]
16064 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
16065 around j0() zero points by switching to j1().
16066 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16067 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16068 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16069 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16070
f22e1074
UD
160712011-09-09 Ulrich Drepper <drepper@gmail.com>
16072
f19009c1
UD
16073 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
16074 instead of 0.
16075 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
16076 instead of 0. .
16077 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16078 Patch in part by Pavel Roskin <proski@gnu.org>.
16079
3f8cc204
UD
16080 [BZ #13138]
16081 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
16082 realloc.
16083 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
16084 Free memory block if necessary.
16085
f22e1074
UD
16086 [BZ #12847]
16087 * libio/genops.c (INTDEF): For string streams the _lock pointer can
16088 be NULL. Don't lock in this case.
16089
0a2349f9
RM
160902011-09-09 Roland McGrath <roland@hack.frob.com>
16091
16092 * elf/elf.h (ELFOSABI_GNU): New macro.
16093 (ELFOSABI_LINUX): Define to that.
16094
f3cdd467
DZ
160952011-07-29 Denis Zaitceff <zaitceff@gmail.com>
16096
16097 * string/strncat.c (strncat): Undef the symbol in case it has been
16098 defined in bits/string.h.
16099
74718d13
UD
161002011-09-09 Ulrich Drepper <drepper@gmail.com>
16101
633e9e0f
UD
16102 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
16103
0a2349f9 16104 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
16105 link map.
16106
f9924780
AJ
161072011-08-17 Andreas Jaeger <aj@suse.de>
16108
16109 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
16110
7f5517aa
PP
161112011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
16112 Ian Lance Taylor <iant@google.com>
16113
16114 * math/libm-test.inc (lround_test): New testcase.
16115 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
16116
762011fe
UD
161172011-09-08 Ulrich Drepper <drepper@gmail.com>
16118
92963737
UD
16119 * Makefile: Remove support for automatic cvs check-ins.
16120 * Makerules: Likewise.
16121 * config.make.in: Likewise.
16122 * configure.in: Likewise.
16123 * intl/Makefile: Likewise.
16124 * locale/Makefile: Likewise.
16125 * po/Makefile: Likewise.
16126 * posix/Makefile: Likewise.
16127 * sysdeps/gnu/Makefile: Likewise.
16128 * sysdeps/mach/hurd/Makefile: Likewise.
16129 * sysdeps/sparc/sparc32/Makefile: Likewise.
16130
b0727fd8
JS
16131 [BZ #13118]
16132 * posix/Makefile (bug-regex32-ENV): Define.
16133 Patch by John Stanley <jpsinthemix@verizon.net>.
16134
a0f33f99
UD
16135 * misc/Makefile (headers): Add bits/select2.h.
16136 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
16137 * misc/bits/select2.h: New file.
16138 * include/bits/select2.h: New file.
16139 * debug/Makefile (routines): Add fdelt_chk.
16140 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
16141 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
16142 FD_ISSET.
16143 * debug/fdelt_chk.c: New file.
16144
762011fe
UD
16145 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
16146 * wcsmbs/test-wmemcmp.c: Likewise.
16147 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 16148 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
16149
161502011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16151
16152 * string/Makefile (strop-tests): Add memcmp.
16153 * string/test-wmemcmp.c: New file.
16154 * string/test-memcmp.c: Add wmemcmp support.
16155
7f513ec8
RM
161562011-09-08 Roland McGrath <roland@hack.frob.com>
16157
0442afb4
RM
16158 [BZ #13153]
16159 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
16160 2011-07-19 change.
16161
7f513ec8
RM
16162 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
16163 garbage value in a __mach_port_mod_refs call in the cases of the
16164 task-self and thread-self ports.
16165
a12b2239
ST
161662011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16167
16168 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
16169
610f9ab4
AS
161702011-09-08 Andreas Schwab <schwab@redhat.com>
16171
7f513ec8 16172 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 16173
48882a1a
LD
161742011-09-07 Ulrich Drepper <drepper@gmail.com>
16175
b49865be
UD
16176 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
16177
fdc86bc9
UD
16178 * elf/dl-libc.c (dlerror_run): Pass back error code from
16179 dl_catch_error.
16180
c966526a
UD
16181 [BZ #13123]
16182 * elf/dl-load.c (lose): Free l_origin if it is valid.
16183
48882a1a
LD
16184 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
16185 names.
16186 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
16187 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16188 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16189 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16190 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
16191 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
16192
77a2a8b4
AZ
161932011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16194
16195 * sysdeps/powerpc/fpu/e_hypot.c: New file.
16196 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
16197 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
16198 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
16199 * sysdeps/powerpc/fpu/k_cosf.c: New file.
16200 * sysdeps/powerpc/fpu/k_sinf.c: New file.
16201 * sysdeps/powerpc/fpu/s_cosf.c: New file.
16202 * sysdeps/powerpc/fpu/s_sinf.c: New file.
16203 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
16204 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
16205
24f579d8
AM
162062011-08-15 Alan Modra <amodra@gmail.com>
16207
16208 [BZ #13092]
16209 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
16210 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
16211 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
16212 ppc_mcount to static-only-routines.
16213 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
16214 __mcount_internal.
16215 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
16216 __mcount_internal with usual JUMPTARGET. Remove useless nop.
16217
3d4837df
UD
162182011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
16219
16220 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
16221 for finite and infinity parameters.
16222
22700377
WS
162232011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
16224
16225 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
16226 and add nop instructions for throughput optimization.
16227 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16228
5025581e
WS
162292011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
16230
16231 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
16232 aligned copy for power7 with vector-scalar instructions.
16233 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16234
08a300c9
L
162352011-07-24 H.J. Lu <hongjiu.lu@intel.com>
16236
16237 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
16238 AVX check.
16239
59178ef9
AS
162402011-09-07 Andreas Schwab <schwab@redhat.com>
16241
16242 [BZ #13144]
16243 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
16244 last change.
16245
e38ba7ab
UD
162462011-09-07 Ulrich Drepper <drepper@gmail.com>
16247
16248 * sysdeps/unix/sysv/linux/x86_64/init-first.c
16249 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
16250 syscall wrapper around clock_gettime in __vdso_clock_gettime.
16251 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
16252 clock_gettime.
16253
d53a73ac
UD
162542011-09-06 Ulrich Drepper <drepper@gmail.com>
16255
fc8bffcc
UD
16256 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
16257 Forgot to demangle the pointer.
16258
ceaa0c5d
UD
16259 * sysdeps/i386/sysdep.h: Define atom_text_section.
16260 * sysdeps/x86_64/sysdep.h: Likewise.
16261 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
16262 section with atom_text_section.
16263 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16264 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16265 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
16266 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16267 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
16268
a77d3c17
UD
16269 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
16270 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
16271 already be defined. Change to take two parameters and don't assign
16272 result to variable. Adjust all users.
16273 Define INTERNAL_GETTIME if not already defined.
16274 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
16275 call.
16276 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
16277 HAVE_CLOCK_GETTIME_VSYSCALL.
16278 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
16279
d53a73ac
UD
16280 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
16281 gettimeofday vsyscall, just use time.
16282
a8f84144
AS
162832011-09-06 Andreas Schwab <schwab@redhat.com>
16284
16285 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
16286 <errno.h>.
16287
ef606249
UD
162882011-09-06 Ulrich Drepper <drepper@gmail.com>
16289
16290 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
16291 syscall on x86-64.
16292 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
16293 syscall.
16294 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
16295 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
16296 syscall if possible.
16297
6585cb60
UD
162982011-09-05 Ulrich Drepper <drepper@gmail.com>
16299
16300 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
16301 e_ident. Don't pass to find_mapsXX.
16302 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
16303
a5f524e4
LD
163042011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16305
16306 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16307 strchr-sse2-no-bsf strrchr-sse2-no-bsf
16308 * sysdeps/x86_64/multiarch/strchr.S: Update.
16309 Check bit_slow_BSF bit.
16310 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16311 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
16312 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
16313
554881ef
UD
163142011-09-05 Ulrich Drepper <drepper@gmail.com>
16315
d96de963
UD
16316 [BZ #13134]
16317 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
16318 before glibc 2.15.
16319 (tryshell): Define.
16320 (__spawni): Change last parameter to be flag. Test
16321 SPAWN_XFLAGS_USE_PATH flag to use path or not.
16322 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
16323 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
16324 * posix/spawni.c: Likewise.
16325 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
16326 * posix/spawnp.c: Likewise. Change normal version to use
16327 SPAWN_XFLAGS_USE_PATH.
16328 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
16329 SPAWN_XFLAGS_TRY_SHELL.
16330
d48e5868
UD
16331 [BZ #13150]
16332 * posix/glob.h: Remove gcc 1.x support.
16333
554881ef
UD
16334 [BZ #13068]
16335 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
16336
693fb948
LD
163372011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16338
16339 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16340 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
16341 strrchr-sse2-bsf
16342 * sysdeps/i386/i686/multiarch/strchr.S: New file.
16343 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
16344 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
16345 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
16346 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
16347 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
16348
1b48c537
UD
163492011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16350
49d42c37
UD
16351 * sysdeps/x86_64/wcscmp.S: New file.
16352
1b48c537
UD
16353 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
16354 wcscmp-c wcscmp-sse2
16355 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
16356 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
16357 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
16358 * wcsmbs/wcscmp.c: Allow renaming.
16359
15c95c5d
DM
163602011-09-05 David S. Miller <davem@davemloft.net>
16361
16362 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
16363 stack slot, rather than the struct return pointer slot.
16364 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
16365 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
16366 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
16367 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
16368
2f0ad8f3
UD
163692011-09-05 Ulrich Drepper <drepper@gmail.com>
16370
d88ae418
UD
16371 * po/ja.po: Update from translation team.
16372
2f0ad8f3
UD
16373 [BZ #13144]
16374 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
16375 kernel in 64-bit binaries.
16376
5f4318d1
DM
163772011-09-01 David S. Miller <davem@davemloft.net>
16378
16379 * elf/elf.h (HWCAP_SPARC_*): Move to..
16380 * sysdeps/sparc/sysdep.h: this new file and add new values.
16381 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
16382 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
16383 _DL_HWCAP_COUNT to 24.
16384 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16385 entries.
16386 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
16387 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
16388 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
16389 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
16390 instead of magic constants.
16391 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16392
3ba57516
DM
163932011-08-31 David S. Miller <davem@davemloft.net>
16394
16395 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
16396 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
16397 Reimplement to do errno handling inline.
16398 (SYSCALL_ERROR_HANDLER): New macro.
16399 (__SYSCALL_STRING): Do not do errno handling in asm.
16400 (__CLONE_SYSCALL_STRING): Delete.
16401 (__INTERNAL_SYSCALL_STRING): Delete.
16402 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
16403 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
16404 (PSEUDO): Reimplement to do errno handling inline.
16405 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
16406 (SYSCALL_ERROR_HANDLER): New macro.
16407 (__SYSCALL_STRING): Do not do errno handling in asm.
16408 (__CLONE_SYSCALL_STRING): Delete.
16409 (__INTERNAL_SYSCALL_STRING): Delete.
16410 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
16411 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
16412 i386.
16413 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
16414 (inline_syscall*): Add 'err' argument.
16415 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
16416 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
16417 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
16418 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
16419
16420 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
16421 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
16422
2bc17433
AS
164232011-08-30 Andreas Schwab <schwab@redhat.com>
16424
16425 * elf/rtld.c (dl_main): Relocate objects in dependency order.
16426
fbeb5f4d
JO
164272011-08-29 Jiri Olsa <jolsa@redhat.com>
16428
16429 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
16430 directive.
16431
ad69cc26
DM
164322011-08-24 David S. Miller <davem@davemloft.net>
16433
16434 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
16435
39dd69df
AS
164362011-08-24 Andreas Schwab <schwab@redhat.com>
16437
16438 * elf/Makefile: Add rules to build and run unload8 test.
16439 * elf/unload8.c: New file.
16440 * elf/unload8mod1.c: New file.
16441 * elf/unload8mod1x.c: New file.
16442 * elf/unload8mod2.c: New file.
16443 * elf/unload8mod3.c: New file.
16444
16445 * elf/dl-close.c (_dl_close_worker): Reset private search list if
16446 it wasn't used.
16447
2c0b250a
DM
164482011-08-23 David S. Miller <davem@davemloft.net>
16449
16450 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
16451 subtract stack bias.
16452 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
16453 %sp not %fp in calculations.
16454 (_JMPBUF_UNWINDS_ADJ): Likewise.
16455
22044b48
DM
16456 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
16457 (aio_suspend): Call it to force an exception region around the
16458 AIO_MISC_WAIT() invocation.
16459
2cae4995
AS
164602011-08-23 Andreas Schwab <schwab@redhat.com>
16461
16462 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
16463 backslash.
16464
873a772e
AJ
164652011-07-04 Aurelien Jarno <aurelien@aurel32.net>
16466
16467 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
16468 protection macro.
16469 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
16470 and <dl-machine.h>.
16471 (Elf64_FuncDesc): Remove.
16472
25ad0df1
DM
164732011-08-22 David S. Miller <davem@davemloft.net>
16474
16475 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
16476 sigaltstack check, add missing cfi directives.
16477 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
16478 missing cfi directives, and sigaltstack handling.
16479
e888bcbe
AS
164802011-08-16 Andreas Schwab <schwab@redhat.com>
16481
16482 [BZ #11724]
16483 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
16484 object is seen twice.
16485 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16486
16487 * elf/Makefile (distribute): Add tst-initorder2.c.
16488 (tests): Add tst-initorder2.
16489 (modules-names): Add tst-initorder2a tst-initorder2b
16490 tst-initorder2c tst-initorder2d. Add rules to build them.
16491 ($(objpfx)tst-initorder2.out): New rule.
16492 * elf/tst-initorder2.c: New file.
16493 * elf/tst-initorder2.exp: New file.
16494
87162f46
AS
164952011-08-22 Andreas Schwab <schwab@redhat.com>
16496
70538b7f
AS
16497 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
16498
f55ffe58
AS
16499 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
16500 dependencies back to end of function.
16501
87162f46
AS
16502 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16503 $(elfobjdir)/ld.so.
16504
91b392a4
UD
165052011-08-21 Ulrich Drepper <drepper@gmail.com>
16506
16507 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
16508 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
16509 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
16510 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
16511 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
16512 of __vdso_gettimeofday.
16513 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
16514 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
16515 attribute_hidden.
16516 (_libc_vdso_platform_setup): Remove initialization of
16517 __vdso_gettimeofday and __vdso_time.
16518
5c43483f
UD
165192011-08-20 Ulrich Drepper <drepper@gmail.com>
16520
775a77e7
UD
16521 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
16522 and fgetc_unlocked.
16523 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
16524 getc_unlocked.
89f447ed 16525
49c74ba9
UD
16526 * elf/dl-open.c (add_to_global): Report additions to the global scope
16527 for LD_DEBUG=scopes.
16528 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 16529 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 16530
5c43483f
UD
16531 [BZ #13114]
16532 * stdio-common/Makefile (tests): Add bug24.
16533 * stdio-common/bug24.c: New file.
16534
a101b025
AJ
165352011-08-19 Andreas Jaeger <aj@suse.de>
16536
16537 [BZ #13114]
16538 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
16539 non-existant file when using close-on-exec mode.
16540
c88f1766
UD
165412011-08-20 Ulrich Drepper <drepper@gmail.com>
16542
0276a718
UD
16543 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
16544 the very first instruction.
16545
c88f1766
UD
16546 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
16547 the CFI state in the end.
16548 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
16549 inclusion of dl-trampoline.h.
16550 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
16551
51ccffa0
AS
165522011-08-19 Andreas Schwab <schwab@redhat.com>
16553
94d7165f
AS
16554 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
16555 expectations for long double.
16556
51ccffa0
AS
16557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
16558 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
16559
fd708658 165602011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
16561
16562 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
16563 artificual limit depends upon the system page size.
16564
44f0a71e
UD
165652011-08-17 Ulrich Drepper <drepper@gmail.com>
16566
16567 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
16568 * resolv/Makefile: Define CFLAGS-libresolv.
16569
8de79a24
AS
165702011-08-17 Andreas Schwab <schwab@redhat.com>
16571
16572 * nss/makedb.c (compute_tables): Make variables used in nested
16573 function static.
16574
27724598
UD
165752011-08-17 Ulrich Drepper <drepper@gmail.com>
16576
c5305d88
UD
16577 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
16578 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
16579 if buffer was too small.
16580
27724598
UD
16581 * elf/pldd.c (main): Attach to all threads in the process.
16582 Rewrite /proc handling to use *at functions.
16583
076fe015
UD
165842011-08-16 Ulrich Drepper <drepper@gmail.com>
16585
174baab3
UD
16586 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
16587 specifies first scope to show.
16588 (dl_open_worker): Update callers. Move printing scope of new
16589 object to before the relocation.
44f0a71e 16590 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
16591 * sysdeps/generic/ldsodefs.h: Update declaration.
16592
076fe015
UD
16593 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
16594 string for the scope number.
16595
a60df2c3
UD
165962011-08-14 Ulrich Drepper <drepper@gmail.com>
16597
16598 * nscd/servicescache.c (cache_addserv): Make sure written is always
16599 initialized.
16600
5e4287d1
RM
166012011-08-14 Roland McGrath <roland@hack.frob.com>
16602
85ae0589
RM
16603 * sysdeps/i386/i486/bits/atomic.h
16604 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
16605 statement expression, so as to suppress "set but not used" warning.
16606 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
16607
69f63097
RM
16608 * string/strncat.c (STRNCAT): Use prototype definition.
16609
675456ef
RM
16610 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
16611 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
16612 -Iprograms here.
16613 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
16614 (localedef-modules): Add localedef.
16615 (locale-modules): Add locale.
16616
5e4287d1
RM
16617 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
16618 * elf/rtld.c (dl_main): Invert order of assignment in last change,
16619 to avoid a warning.
16620
9c96ff23
DM
166212011-08-14 David S. Miller <davem@davemloft.net>
16622
16623 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
16624 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
16625
f9ddf089
UD
166262011-08-13 Ulrich Drepper <drepper@gmail.com>
16627
44f0a71e 16628 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
16629 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
16630 * elf/rtld.c (dl_main): Set l_name of vDSO.
16631 Call _dl_show_scope when DL_DEBUG_SCOPES.
16632 (process_dl_debug): Recognize scopes flag and also set it for all.
16633 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
16634 Declare _dl_show_scope.
16635
1dc27704
UD
16636 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
16637 (do_dlopen): Pass caller_dlopen to dl_open.
16638 (__libc_dlopen_mode): Initialize caller_dlopen.
16639
f9ddf089
UD
16640 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
16641 of libc. Make tolower call locale-independent. Optimize a bit by
16642 using isdigit instead of isalnum.
16643 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
16644
9ac533d3
UD
166452011-08-12 Ulrich Drepper <drepper@gmail.com>
16646
16647 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
16648 was a dependency or dynamically loaded.
16649
89edf2e9
UD
166502011-08-11 Ulrich Drepper <drepper@gmail.com>
16651
8e999d29
UD
16652 * intl/l10nflist.c: Allow architecture-specific pop function.
16653 * sysdeps/x86_64/l10nflist.c: New file.
16654
89edf2e9
UD
16655 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
16656 classification.
16657
14d96785
AS
166582011-08-10 Andreas Schwab <schwab@redhat.com>
16659
16660 * include/dirent.h: Add libc_hidden_proto for scandirat and
16661 scandirat64. Don't declare __scandirat64.
16662 * dirent/scandirat.c: Add libc_hidden_def.
16663 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
16664 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
16665
6761ac04
DM
166662011-08-10 David S. Miller <davem@davemloft.net>
16667
16668 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
16669 enum.
16670 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16671 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16672 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16673
c55fbd1e
UD
166742011-08-09 Ulrich Drepper <drepper@gmail.com>
16675
16676 * Versions.def [libc]: Add GLIBC_2.15.
16677 * dirent/Makefile (routines): Add scandirat and scandirat64.
16678 * dirent/Versions [libc]: Export scandirat and scandirat64 for
16679 GLIBC_2.15.
16680 * dirent/dirent.h: Declare scandirat and scandirat64.
16681 * dirent/scandirat.c: New file.
16682 * dirent/scandirat64.c: New file.
16683 * sysdeps/wordsize-64/scandirat.c: New file.
16684 * sysdeps/wordsize-64/scandirat64.c: New file.
16685 * dirent/opendir.c: Define opendirat.
16686 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
16687 using scandirat.
16688 * dirent/scandir64.c: Adjust for scandir.c change.
16689 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
16690 __scandirat64, and __scandir_cancel_handler.
16691 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
16692 additional parameter and use openat instead of open (outside of ld.so).
16693 Add new __opendir as wrapper around __opendirat.
16694 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
16695 here without requiring old scandirat implementation.
16696
879165f2
UD
166972011-08-08 Ulrich Drepper <drepper@gmail.com>
16698
16699 * dirent/scandir.c (cancel_handler): Renamed to
16700 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
16701 defined. Adjust users.
16702 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
16703 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
16704
cb7e923b
UD
167052011-08-04 Ulrich Drepper <drepper@gmail.com>
16706
16292edd
UD
16707 * string/test-string.h (IMPL): Use __STRING to expand name and then
16708 stringify it.
16709
cb7e923b
UD
16710 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
16711 of cleanups.
16712
cff82933
LD
167132011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16714
16715 * string/Makefile: Update.
16716 (strop-tests): Append strncat.
16717 * string/test-wcscmp.c: New file.
16718 New comprehensive test for wcscmp.
16719 * string/test-strcmp.c: Update.
16720 (WIDE): New define.
16721
9be9bfcc
AS
167222011-07-22 Andreas Schwab <schwab@redhat.com>
16723
16724 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
16725 line.
16726
2e96f1c7
AS
167272011-07-26 Andreas Schwab <schwab@redhat.com>
16728
16729 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16730 encoding to ACE if AI_IDN.
16731
85188888
JJ
167322011-08-01 Jakub Jelinek <jakub@redhat.com>
16733
16734 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
16735 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
16736
5fa16e9b
LD
167372011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16738
16739 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
16740 Fix overflow bug in strncat.
16741 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
16742
16743 * string/test-strncat.c: Update.
16744 Add new tests for checking overflow bugs.
16745
167462011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16747
16748 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16749 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
16750 * sysdeps/i386/i686/multiarch/strcat.S: New file.
16751 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
16752 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
16753 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
16754 * sysdeps/i386/i686/multiarch/strncat.S: New file.
16755 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
16756 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
16757
16758 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
16759 (USE_AS_STRCAT): Define.
16760 Add strcat and strncat support.
16761 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16762
8c1a459f
AS
167632011-07-25 Andreas Schwab <schwab@redhat.com>
16764
16765 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
16766 __n bigger than INT_MAX+1.
16767 (__strncmp_g): Likewise.
16768
bba33c28
UD
167692011-07-23 Ulrich Drepper <drepper@gmail.com>
16770
798be72d
UD
16771 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
16772 * libio/stido.h: Likewise.
16773
8accd4dc
UD
16774 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
16775 (AF_NFC): Define.
16776 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
16777 (AF_NFC): Define.
16778
cbff0d96
UD
16779 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
16780 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16781 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16782 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16783 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16784
9191c04a
UD
16785 [BZ #13021]
16786 * scripts/test-installation.pl: Don't expect libnss_test1 to be
16787 installed.
16788
bba33c28
UD
16789 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
16790 typo.
16791 (_dl_x86_64_save_sse): Likewise.
16792
90f139dd
UD
167932011-07-22 Ulrich Drepper <drepper@gmail.com>
16794
1aae088a
UD
16795 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
16796 OSXSAVE.
16797 (_dl_x86_64_save_sse): Likewise.
16798
8e2045f5
UD
16799 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
16800
90f139dd
UD
16801 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
16802
1d002f25
AS
168032011-07-21 Andreas Schwab <schwab@redhat.com>
16804
16805 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
16806 change.
16807 (_dl_x86_64_save_sse): Use correct AVX check.
16808
21137f89
UD
168092011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16810
16811 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
16812 bug in strncpy/strncat.
16813 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
16814
a65c0b7a
UD
168152011-07-21 Ulrich Drepper <drepper@gmail.com>
16816
16817 * string/tester.c (test_strcat): Add tests for different alignments
16818 of source and destination.
16819 (test_strncat): Likewise.
16820
6986b98a
UD
168212011-07-20 Ulrich Drepper <drepper@gmail.com>
16822
90bb2039
UD
16823 [BZ #12852]
16824 * posix/glob.c (glob): Check passed in values before using them in
16825 expressions to avoid some overflows.
16826 (glob_in_dir): Likewise.
16827
5644ef54
UD
16828 [BZ #13007]
16829 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
16830 check for AVX enablement so that we don't crash with old kernels and
16831 new hardware.
16832 * elf/tst-audit4.c: Add same checks here.
16833 * elf/tst-audit6.c: Likewise.
16834
16835 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 16836
bfc9dc9b
AS
168372011-07-09 Andreas Schwab <schwab@linux-m68k.org>
16838
16839 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
16840
702e64bb
UD
168412011-07-20 Ulrich Drepper <drepper@gmail.com>
16842
16843 * po/cs.po: Update from translation team.
16844 * po/bg.po: Likewise.
16845
295e904f
MP
168462011-07-12 Marek Polacek <mpolacek@redhat.com>
16847
16848 * misc/sys/cdefs.h: Add support for const attribute.
16849 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
16850 to gnu_dev_{major,minor,makedev} functions.
16851
3ff94596
MP
168522011-07-20 Marek Polacek <mpolacek@redhat.com>
16853
16854 * intl/dcigettext.c (get_output_charset): Add missing bracket.
16855
28b59fca
AS
168562011-07-20 Andreas Schwab <schwab@redhat.com>
16857
16858 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
16859 strlen results.
16860
19df733e
AK
168612011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16862
16863 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
16864 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
16865 register in order to avoid conflicts with the soft frame pointer
16866 being held in r11 when necessary.
16867 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
16868 (INTERNAL_VSYSCALL_NCS): Likewise.
16869
c8835729
MP
168702011-07-14 Marek Polacek <mpolacek@redhat.com>
16871
16872 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
16873 * elf/dl-fini.c (_dl_fini): Adjust caller.
16874 * elf/dl-close.c (_dl_close_worker): Likewise.
16875 * sysdeps/generic/ldsodefs.h: Adjust declaration.
16876
b902330c
MP
168772011-07-15 Marek Polacek <mpolacek@redhat.com>
16878
8991e135
MP
16879 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
16880 "aux_cache->nlibs < 0".
16881
b902330c
MP
16882 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
16883 in the reload-count case.
16884
99710781
LD
168852011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16886
16887 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16888 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
16889 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
16890 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
16891 * sysdeps/x86_64/multiarch/strcat.S: New file.
16892 * sysdeps/x86_64/multiarch/strncat.S: New file.
16893 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
16894 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
16895 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
16896 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
16897 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
16898 (USE_AS_STRCAT): Define.
16899 Add strcat and strncat support.
16900 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16901 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16902 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
16903 * string/strncat.c: Update.
16904 (USE_AS_STRNCAT): Define.
16905 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16906 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
16907 and i7.
16908 * sysdeps/x86_64/multiarch/init-arch.h
16909 (bit_Prefer_PMINUB_for_stringop): New.
16910 (index_Prefer_PMINUB_for_stringop): Likewise.
16911 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
16912 bit_Prefer_PMINUB_for_stringop.
16913
7dc6bd90
UD
169142011-07-19 Ulrich Drepper <drepper@gmail.com>
16915
16916 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
16917 buffer64.
16918 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
16919 of casting of buffer.
16920 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
16921 buffer32 and buffer64.
16922 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
16923 writes instead of casting of buffer.
16924 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
16925 buffer32.
16926 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
16927 casting of buffer.
16928
e0e72284
AS
169292011-07-19 Andreas Schwab <schwab@redhat.com>
16930
16931 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
16932
feb1eb0b
UD
169332011-07-19 Ulrich Drepper <drepper@gmail.com>
16934
16935 * nscd/nscd.c (termination_handler): Don't do anything for a database
16936 if it has not yet been initialized.
16937
298711ff
UD
169382011-07-18 Ulrich Drepper <drepper@gmail.com>
16939
16940 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16941
169422011-07-15 Marek Polacek <mpolacek@redhat.com>
16943
16944 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16945
f9d68389
UD
169462011-07-18 Ulrich Drepper <drepper@gmail.com>
16947
16948 * po/nl.po: Update from translation team.
16949 * po/sv.po: Likewise.
16950
db290cf5
RM
169512011-07-16 Roland McGrath <roland@hack.frob.com>
16952
16953 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
16954 now disallowed by GCC.
5c550700 16955
fd5e21c7
RM
16956 * configure.in (use-default-link): Default to yes if a test -shared
16957 link meets our qualifications.
16958 * configure: Regenerated.
16959
5c550700
RM
16960 * config.make.in (output-format): New variable.
16961 * configure.in: Check for ld --print-output-format support.
16962 * configure: Regenerated.
16963 * Makerules ($(common-objpfx)format.lds)
16964 [$(output-format) != unknown]: Just use $(output-format),
16965 instead of the linker-script munging.
16966
9fa2c032
RM
169672011-07-14 Roland McGrath <roland@hack.frob.com>
16968
a6928d51
RM
16969 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
16970 of $(common-objpfx)shlib.lds.
16971 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
16972
661607b3
RM
16973 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
16974 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
16975
9fa2c032
RM
16976 * configure.in (-z relro check): Adjust test code to add a large
16977 writable data section after it.
16978 * configure: Regenerated.
16979
defe9061
RM
169802011-07-11 Roland McGrath <roland@hack.frob.com>
16981
16982 * configure.in (-z relro check): Fix test code to make the variable
16983 truly const.
16984 * configure: Regenerated.
16985
319b9ad4
UD
169862011-07-11 Ulrich Drepper <drepper@gmail.com>
16987
16988 * nscd/nscd.h (struct traced_file): Define.
16989 (struct database_dyn): Remove inotify_descr, reset_res, and filename
16990 elements. Add traced_files.
16991 (inotify_fd): Declare.
16992 (register_traced_file): Declare.
16993 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
16994 (inotify_fd): Export.
16995 (resolv_conf_descr): Remove.
16996 (nscd_init): Move inotify descriptor creation to main.
16997 Don't register files for notification here.
16998 (register_traced_file): New function.
16999 (invalidate_cache): Don't use reset_res to determine whether to call
17000 res_init, go through the list of registered files.
17001 (main_loop_poll): The inotify descriptors are now stored in the
17002 structures for the traced files.
17003 (main_loop_epoll): Likewise
17004 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
17005 to __nss_disable_nscd.
17006 * nscd/cache.c (prune_cache): There is no single inotify descriptor
17007 for a database anymore. Check the records for all the registered
17008 files instead.
17009 * nss/Makefile (libnss_files-routines): Add files-init.
17010 (libnss_db-routines): Add db-init.
17011 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
17012 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
17013 * nss/nss_db/db-init.c: New file.
17014 * nss/nss_files/files-init.c: New file.
17015 * nss/nsswitch.c (nss_load_library): New function. Broken out of
17016 __nss_lookup_function.
17017 (__nss_lookup_function): Call nss_load_library.
17018 (nss_load_all_libraries): New function.
17019 (__nss_disable_nscd): Take parameter with callback function for files
17020 to register. Set is_nscd. Load all the DSOs for the NSS modules
17021 used for the cached services.
17022 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
17023 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
17024 options for features to all the files in nscd.
17025
17026 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
17027
23bee3e8
RM
170282011-07-10 Roland McGrath <roland@hack.frob.com>
17029
17030 * csu/elf-init.c (__libc_csu_init): Comment typo.
17031
46a5b7f0
UD
170322011-07-09 Ulrich Drepper <drepper@gmail.com>
17033
17034 * po/pl.po: Update from translation team.
17035 * po/ja.po: Likewise.
17036 * po/ru.po: Likewise.
17037 * po/ko.po: Likewise.
17038 * po/fr.po: Likewise.
17039
d30cf5bb
RM
170402011-07-09 Roland McGrath <roland@hack.frob.com>
17041
113ddea4
RM
17042 * configure.in (.ctors/.dtors header and trailer check):
17043 Use an empirical test on a built program.
17044 * configure: Regenerated.
17045
574920b4
RM
17046 * configure.in (-z relro check): Use an empirical test on a built DSO.
17047 Detect, but do not require, on ia64.
17048 * configure: Regenerated.
17049
d30cf5bb
RM
17050 * configure.in (READELF): Find it with AC_CHECK_TOOL.
17051 Update tests that use readelf to use $READELF instead.
17052 * configure: Regenerated.
17053
8538fdb3
UD
170542011-07-08 Ulrich Drepper <drepper@gmail.com>
17055
17056 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
17057 if the result is not used.
17058
04d08991
AJ
170592011-07-05 Andreas Jaeger <aj@suse.de>
17060
17061 [BZ#9696]
17062 * stdlib/tst-strtod.c: Add testcase.
17063
de283087
AD
170642011-07-07 Ulrich Drepper <drepper@gmail.com>
17065
4e5f31c8 17066 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 17067 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
17068 The latter has a higher limit. Take additional parameter to pass to
17069 the new function.
17070 (__pathconf): Pass file to __statfs_link_max.
17071 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
17072 __statfs_link_max.
17073 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
17074 __statfs_link_max.
17075
de283087
AD
17076 [BZ #12868]
17077 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
17078 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17079 Handle Lustre.
17080 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
17081 (__statfs_filesize_max): Likewise.
17082 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
17083
c75fa153
AJ
170842011-07-05 Andreas Jaeger <aj@suse.de>
17085
17086 * resolv/res_comp.c (dn_skipname): Remove unused variable.
17087
1a544854
UD
170882011-07-06 Marek Polacek <mpolacek@redhat.com>
17089
17090 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
17091 `status' variable.
17092 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
17093 Likewise.
17094
6f0eec67
UD
170952011-07-04 H.J. Lu <hongjiu.lu@intel.com>
17096
17097 * Makefile (strop-tests): Add strncat.
17098 * string/test-strncat.c: New file.
17099
aae30307
UD
171002011-06-30 Marek Polacek <mpolacek@redhat.com>
17101
17102 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
17103
c0cfb5eb
UD
171042011-06-21 Andreas Jaeger <aj@suse.de>
17105
17106 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
17107 Copy rule from iconvdata/Makefile.
17108
01636b21
UD
171092011-07-06 Ulrich Drepper <drepper@gmail.com>
17110
17111 [BZ #12922]
17112 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
17113 but no long options are defined, just return 'W'.
17114
9895c8bc
UD
171152011-06-22 Marek Polacek <mpolacek@redhat.com>
17116
17117 [BZ #9696]
17118 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
17119
5d4cf042
UD
171202011-07-06 Ulrich Drepper <drepper@gmail.com>
17121
17122 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
17123 netgroups to read.
960e5535 17124 (innetgr): Likewise.
5d4cf042 17125
751eb97e
RM
171262011-07-05 Roland McGrath <roland@hack.frob.com>
17127
17128 * config.make.in (install_root): Default to $(DESTDIR).
17129
f15f1e45
UD
171302011-07-05 Ulrich Drepper <drepper@gmail.com>
17131
17132 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
17133
4e34ac6a
RM
171342011-07-02 Roland McGrath <roland@hack.frob.com>
17135
5e9b6af4
RM
17136 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
17137
84f9ea0f
RM
17138 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
17139 containing directory rather than embedding absolute directory names.
17140
ea5ee9f7
RM
17141 * scripts/check-local-headers.sh: Rewritten using awk.
17142 Match by word, not by line. Print error messages for matches.
17143 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
17144
1b74661a
RM
17145 * Makerules [shlib-lds-flags empty]:
17146 ($(common-objpfx)libc_pic.opts): New target.
17147 ($(common-objpfx)libc_pic.os.clean): New target.
17148 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
17149
17150 * config.make.in (OBJCOPY): New variable.
17151 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
17152 * configure: Regenerated.
17153
f781ef40
RM
17154 * config.make.in (use-default-link): New variable.
17155 * configure.in (use_default_link): Grok --with-default-link to set it.
17156 * configure: Regenerated.
17157 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
17158 (shlib-lds, shlib-lds-flags): Define to empty.
17159
2d4fa81e
RM
17160 * Makerules (shlib-lds): New variable.
17161 (shlib-lds-flags): New variable.
17162 (build-shlib, build-moduile, build-module-asneeded): Use it.
17163 ($(common-objpfx)libc.so): Use $(shlib-lds).
17164 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
17165 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
17166
31fffa6b
RM
17167 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
17168 DT_FLAGS/DT_FLAGS_1 with zero flags.
17169
4e34ac6a
RM
17170 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
17171 linker script munging.
17172
fcfc776b
UD
171732011-07-02 Ulrich Drepper <drepper@gmail.com>
17174
17175 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
17176 as 128-bit value.
17177 * crypt/sha512.c (sha512_process_block): Perform total addition using
17178 128-bit if possible.
17179 (__sha512_finish_ctx): Likewise.
17180 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
17181 as 64-bit value.
17182 * crypt/sha256.c (SWAP64): Define.
17183 (sha256_process_block): Perform total addition using 64-bit if
17184 possible.
17185 (__sha256_finish_ctx): Likewise.
17186
99231d9a
UD
171872011-07-01 Ulrich Drepper <drepper@gmail.com>
17188
17189 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
17190 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17191 * nscd/hstcache.c (cache_addhst): Likewise.
17192 * nscd/grpcache.c (cache_addgr): Likewise.
17193 * nscd/aicache.c (addhstaiX): Likewise
17194 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
17195
445b4a53
TK
171962011-07-01 Thorsten Kukuk <kukuk@suse.de>
17197
17198 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
17199 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17200 * nscd/hstcache.c (cache_addhst): Likewise.
17201 * nscd/grpcache.c (cache_addgr): Likewise.
17202 * nscd/aicache.c (addhstaiX): Likewise
17203
6d4d8e8e
AS
172042011-07-01 Andreas Schwab <schwab@redhat.com>
17205
17206 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
17207 domain only when needed.
17208
89f654c5
AS
172092011-06-30 Andreas Schwab <schwab@redhat.com>
17210
17211 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
17212 is always restored.
17213
cf3b23ff
UD
172142011-06-29 Ulrich Drepper <drepper@gmail.com>
17215
17216 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
17217 are re-adding the entry.
17218 * nscd/servicescache.c (cache_addserv): Likewise.
17219
751626f9
AJ
172202011-06-30 Aurelien Jarno <aurelien@aurel32.net>
17221
17222 * sysdeps/generic/dl-irel.h: fix protection against multiple
17223 inclusions.
17224 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
17225
9113ea1f
UD
172262011-06-28 Ulrich Drepper <drepper@gmail.com>
17227
5c0b8d90
UD
17228 [BZ #12935]
17229 * malloc/memusage.sh: Fix quoting in message.
17230 * debug/xtrace.sh: Likewise.
17231
9113ea1f
UD
17232 * configure.in: Remove support for --experimental-malloc option, make
17233 it the default.
17234 * config.make.in: Likewise.
17235 * malloc/Makefile: Likewise.
17236
a4172181
AS
172372011-06-27 Andreas Schwab <schwab@redhat.com>
17238
17239 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
17240 two-byte characters.
17241
78a7eee7
RM
172422011-06-27 Roland McGrath <roland@hack.frob.com>
17243
62bede13
RM
17244 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
17245 AC_CACHE_CHECK invocation.
17246 * configure: Regenerated.
17247
78a7eee7
RM
17248 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
17249
5ce33a62
UD
172502011-06-27 Ulrich Drepper <drepper@gmail.com>
17251
034807a9
UD
17252 [BZ #12350]
17253 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
17254 bit from old_res_options.
17255
4902da17
UD
17256 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
17257
5ce33a62
UD
17258 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
17259 value type for setfct.
17260
c2344f56
L
172612011-06-23 H.J. Lu <hongjiu.lu@intel.com>
17262
17263 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17264 __gettimeofday instead of gettimeofday.
17265
68468076
UD
172662011-06-26 Ulrich Drepper <drepper@gmail.com>
17267
17268 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
17269
acb0d739
L
172702011-06-24 H.J. Lu <hongjiu.lu@intel.com>
17271
17272 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
17273
17274 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
17275 info.
17276
8912479f
L
172772011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17278
17279 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17280 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17281 strcpy-sse2-unaligned strncpy-sse2-unaligned
17282 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
17283 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
17284 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
17285 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
17286 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
17287 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
17288 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
17289 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
17290 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
17291 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
17292 (STRCPY): Support SSE2 and SSSE3 versions.
17293
d5495a11
UD
172942011-06-24 Ulrich Drepper <drepper@gmail.com>
17295
17296 [BZ #12874]
17297 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
17298 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
17299 kernels which artificially limit size of requests.
17300
0b1cbaae
L
173012011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17302
17303 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17304 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17305 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
17306 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
17307 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
17308 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
17309 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
17310 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
17311 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
17312 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
17313 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
17314 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
17315 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
17316 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
17317 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
17318 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17319 Enable unaligned load optimization for Intel Core i3, i5 and i7
17320 processors.
17321 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
17322 Define.
17323 (index_Fast_Unaligned_Load): Define.
17324 (HAS_FAST_UNALIGNED_LOAD): Define.
17325
07f494a0
MP
173262011-06-23 Marek Polacek <mpolacek@redhat.com>
17327
17328 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
17329
fa3fc0fe
UD
173302011-06-22 Ulrich Drepper <drepper@gmail.com>
17331
17332 [BZ #12907]
17333 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
17334 until it is clear that the information is realy needed.
17335 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
17336
e12df166
AS
173372011-06-22 Andreas Schwab <schwab@redhat.com>
17338
17339 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
17340
852eb34d
UD
173412011-06-22 Ulrich Drepper <drepper@gmail.com>
17342
84e2a551
UD
17343 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17344 /sys/devices/system/cpu/online if it is usable.
17345
852eb34d
UD
17346 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
17347 reading the information from the /proc filesystem to once a second.
17348
6e502e19
UD
173492011-06-21 Andreas Jaeger <aj@suse.de>
17350
17351 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
17352 NULL after inclusion of kernel headers.
17353
75d39ff2
UD
173542011-06-21 Ulrich Drepper <drepper@gmail.com>
17355
51f9aa6a
UD
17356 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
17357 calls to internal_setent.
17358
c0244a9d
UD
17359 [BZ #12885]
17360 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
17361 addresses using gethostbyname4_r ignore IPv4 addresses.
17362
c5e3c2ae
UD
17363 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
17364 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
17365
75d39ff2
UD
17366 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
17367
42675c6f
DM
173682011-06-20 David S. Miller <davem@davemloft.net>
17369
17370 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
17371 inclusions.
17372 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
17373
17374 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
17375 (elf_irel): Use it.
17376 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
17377 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
17378 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
17379 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
17380 * sysdeps/x86_64/dl-irel.h: Likewise.
17381
17382 * elf/dl-runtime.c: Use elf_ifunc_invoke.
17383 * elf/dl-sym.c: Likewise.
17384
57912a71
UD
173852011-06-15 Ulrich Drepper <drepper@gmail.com>
17386
17387 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
17388 need to dereference resplen2.
17389
ee22793d
AS
173902011-06-14 Andreas Schwab <schwab@redhat.com>
17391
17392 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
17393
a9e836b0
UD
173942011-06-15 Ulrich Drepper <drepper@gmail.com>
17395
77fb9117
UD
17396 * Makeconfig: Define vardbdir and inst_vardbdir.
17397 * nss/Makefile: Add rules to install db-Makefile.
17398
40c1b22c
UD
17399 * nss/nss_db/db-XXX.c: Cleanup.
17400
9f2da732
UD
17401 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
17402 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
17403 GLIBC_PRIVATE.
17404 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
17405 * nss/makedb.c: Implement -g option to specify that value strings
17406 are generated and should not be added to table iterated over for
17407 get*ent calls.
17408 * nss/nss_db/db-initgroups.c: New file.
17409
82e9a1f7
UD
17410 * nss/getent.c: Add support for initgroups lookups through getgrouplist
17411 interface.
17412
c41af17e
UD
17413 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
17414 (internal_getgrouplist): Adjust to name change.
17415 Update use_initgroups_entry if this is not the first call.
17416 * nss/databases.def: Add initgroups entry.
17417
a9e836b0
UD
17418 * nss/makedb.c (compute_tables): Check result of multiple hash table
17419 sizes to minimize maximum chain length.
17420
2666d441
UD
174212011-06-14 Ulrich Drepper <drepper@gmail.com>
17422
17423 * Versions.def: Add entry for libnss_db.
17424 * shlib-versions: Likewise.
17425 * nss/Makefile: Add rules to build libnss_db.
17426 * nss/Versions: Add libnss_db information. Organize libnss_files
17427 entries better.
17428 * nss/db-Makefile: Add gshadow support. Change rules for the new
17429 makedb progra. Some minor improvements to generate smaller files.
17430 * nss/nss_db/nss_db.h: Move NSS database header data structures to
17431 here from...
17432 * nss/makedb.c: ...here.
17433 Improve database format to be smaller and require less memory at
17434 runtime.
17435 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
17436 db anymore.
17437 * nss/nss_db/db-netgrp.c: Likewise.
17438 * nss/nss_db/db-open.c: Likewise.
17439 * nss/nss_files/flies-XXX.x: Adjust comments.
17440 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
17441 * nss/nss_files/files-grp.c: Likewise.
17442 * nss/nss_files/files-hosts.c: Likewise.
17443 * nss/nss_files/files-network.c: Likewise.
17444 * nss/nss_files/files-proto.c: Likewise.
17445 * nss/nss_files/files-pwd.c: Likewise.
17446 * nss/nss_files/files-rpc.c: Likewise.
17447 * nss/nss_files/files-service.c: Likewise.
17448 * nss/nss_files/files-sgrp.c: Likewise.
17449 * nss/nss_files/files-spwd.c: Likewise.
17450 * nss/nss_db/db-alias.c: Removed.
17451 * nss/nss_db/dummy-db.h: Removed.
17452
9ee76b5a
UD
174532011-06-02 Ulrich Drepper <drepper@gmail.com>
17454
17455 * nss/makedb.c: Rewritten to not use database library.
17456 * nss/Makefile: Update to build new makedb program.
17457
c71ca1f8
AJ
174582011-06-14 Andreas Jaeger <aj@suse.de>
17459
17460 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
17461 memset declaration.
17462
3154bfb8
UD
174632011-06-10 Andreas Schwab <schwab@redhat.com>
17464
17465 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
17466 tmpbuf.
17467
b350afab
RM
174682011-06-10 Roland McGrath <roland@hack.frob.com>
17469
decd4e50
RM
17470 * Makerules (shlib.lds): Fail if the linker script comes out empty.
17471 * elf/Makefile ($(objpfx)ld.so): Likewise.
17472
5615eaf2
RM
17473 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
17474 Don't list ld.so twice in dependencies.
17475
17476 * posix/bug-regex31.c: Include <stdlib.h>.
17477
17478 * nscd/hstcache.c (cache_addhst): Remove unused variable.
17479
17480 * nis/nss_compat/compat-spwd.c
17481 (getspent_next_nss_netgr): Remove unused variable.
17482 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
17483
17484 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
17485 nonmembers" output to use the right array.
17486
17487 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
17488
17489 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
17490
17491 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
17492 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
17493 * catgets/gencat.c (read_input_file): Likewise.
17494 * locale/programs/locarchive.c (enlarge_archive): Likewise.
17495
17496 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
17497 variable definition inside #if's controlling its use.
17498
17499 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
17500
17501 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
17502
17503 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
17504
17505 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
17506 unreachable code.
17507
17508 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
17509
b68e08db
RM
17510 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
17511 * configure: Regenerated.
17512
b350afab
RM
17513 * Makerules: Revert last change.
17514 * elf/Makefile: Likewise.
17515
28368601
RM
175162011-06-09 Roland McGrath <roland@hack.frob.com>
17517
17518 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
17519 * elf/Makefile ($(objpfx)librtld.os): Likewise.
17520 (reloc-link): Likewise.
17521
11988f8f
UD
175222011-06-09 Ulrich Drepper <drepper@gmail.com>
17523
17524 * elf/Makefile: Add rules to build pldd.
17525 * elf/pldd.c: New file.
17526 * elf/pldd-xx.c: New file.
17527
e80fab37
UD
175282011-06-07 Ulrich Drepper <drepper@gmail.com>
17529
17530 * version.h: Update for 2.15 development version.
17531
9b849836
DM
175322011-06-07 David S. Miller <davem@davemloft.net>
17533
17534 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
17535 ifuncs.
17536 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
17537 elf_machine_lazy_rel): Likewise.
17538 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17539 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
17540 elf_machine_lazy_rel): Likewise.
17541 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
17542 dl_hwcap via passed in argument.
17543 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
17544 Likewise.
17545
5a31b283
AK
175462011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17547
17548 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
17549
069e52f8
RM
175502011-06-06 Roland McGrath <roland@hack.frob.com>
17551
17552 [BZ #12849]
17553 * manual/fdl-1.1.texi: New file, verbatim from:
17554 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
17555 * manual/lgpl-2.1.texi: New file, verbatim from:
17556 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
17557 * manual/Makefile (licenses): New variable, list those new file names.
17558 (texis): Use it.
17559 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
17560
17561 * manual/fdl.texi: File removed.
17562 * manual/lesser.texi: File removed.
17563 * manual/libc.texinfo (Copying, Documentation License):
17564 Use new @include file names, put @appendix directive before @include.
17565
f16846a5
JJ
175662011-06-04 Jakub Jelinek <jakub@redhat.com>
17567
17568 [BZ #12841]
17569 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
17570 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
17571 (mq_open): Add __NTH.
17572
3d29045b
L
175732011-06-02 H.J. Lu <hongjiu.lu@intel.com>
17574
17575 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17576 Assume Intel Core i3/i5/i7 processor if AVX is available.
17577
8c297311
UD
175782011-05-31 Ulrich Drepper <drepper@gmail.com>
17579
17580 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17581 typo.
17582
c8fc0c91
UD
175832011-05-31 Andreas Schwab <schwab@redhat.com>
17584
17585 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
17586 memory. Use alloca_account. Fix memory leak when retrying.
17587
5b27a807
UD
175882011-05-31 Ulrich Drepper <drepper@gmail.com>
17589
356f8bc6
UD
17590 * version.h (RELEASE): Bump for 2.14 release.
17591 * include/features.h (__GLIBC_MINOR__): Bump to 14.
17592
5b27a807
UD
17593 * config.make.in (RANLIB): Remove entry.
17594
01f16ab0
UD
175952011-05-30 Ulrich Drepper <drepper@gmail.com>
17596
41fce8bd
UD
17597 * po/Makefile (po-sed-cmd): Add ksh to extensions.
17598 (libc.pot): Work around missing support for .ksh extension in xgettext.
17599
4769ae77
UD
17600 [BZ #12684]
17601 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
17602 if both request failed.
17603 (send_dg): In case of server errors clear resplen or *resplen2.
17604
6b1e7d19
UD
17605 [BZ #12454]
17606 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
17607 when there are multiple maps.
17608 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
17609 (_dl_fini): Remove test here.
17610
01f16ab0
UD
17611 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
17612
b1ebd700
UD
176132011-05-29 Ulrich Drepper <drepper@gmail.com>
17614
7ae22829
UD
17615 [BZ #12350]
17616 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
17617 bit from old_res_options.
17618 (gaih_inet): Likewise.
17619
553149f6 17620 [BZ #11099]
18a84741 17621 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
17622 as signed.
17623
652ffab1
UD
17624 * resolv/res_init.c (res_setoptions): Make the code more compact.
17625
16985fd0
UD
17626 [BZ #11558]
17627 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
17628 set RES_USEVC.
17629
0464f746
UD
17630 [BZ #11634]
17631 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
17632
7d17596c
UD
17633 * malloc/malloc.h: Mark malloc hook variables as deprecated.
17634
cf6bbbd7
UD
17635 [BZ #11781]
17636 * malloc/malloc.h: Declare malloc hook variables as volatile.
17637
13f1ab36
UD
17638 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
17639 in last patch.
17640
b1ebd700
UD
17641 [BZ #11799]
17642 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 17643 raise in the comment.
80e2212d
UD
17644 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17645 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17646 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 17647
ce67228d
UD
176482011-05-28 Ulrich Drepper <drepper@gmail.com>
17649
8887a920
UD
17650 [BZ #12811]
17651 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
17652 grow the buffers more if it already has to be sufficient.
17653 (build_wcs_upper_buffer): Likewise.
17654 * posix/regexec.c (check_matching): Likewise.
17655 (clean_state_log_if_needed): Likewise.
17656 (extend_buffers): Don't enlarge buffers beyond size of the input
17657 buffer.
17658 Patches mostly by Emil Wojak <emil@wojak.eu>.
17659 * posix/bug-regex32.c: New file.
17660 * posix/Makefile (tests): Add bug-regex32.
17661
4f031072
UD
17662 * locale/findlocale.c (_nl_find_locale): Return right away if
17663 _nl_explode_name failed.
17664 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
17665
d0478f0c
UD
17666 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
17667
de81b246
UD
17668 * debug/xtrace.sh: Unify messages.
17669 * malloc/memusage.sh: Likewise.
17670
c738465a
UD
17671 [BZ #12813]
17672 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
17673 time symbol from vDSO. Substitute with vsyscall if not available.
17674 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
17675 __vdso_time.
17676
f1f929d7
UD
17677 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
17678 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
17679 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
17680 Add sendmmsg and internal_sendmmsg.
17681 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
17682 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
17683 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
17684
ce67228d
UD
17685 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
17686 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
17687 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
17688
e57420c6
UD
176892011-05-27 Ulrich Drepper <drepper@gmail.com>
17690
a8509ca5
UD
17691 [BZ #12813]
17692 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
17693 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
17694 available.
17695 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
17696 __vdso_getcpu.
17697
e57420c6
UD
17698 [BZ #12814]
17699 * iconvdata/Makefile (tests): Add bug-iconv9.
17700 * iconvdata/bug-iconv9.c: New file.
17701
4d07db15
AS
177022011-05-27 Andreas Schwab <schwab@redhat.com>
17703
17704 [BZ #12814]
17705 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
17706
ea486f69
JJ
177072011-05-25 Jakub Jelinek <jakub@redhat.com>
17708
17709 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17710 (struct user_regs_struct): Change intcs field back to cs.
17711
6f038433
UD
177122011-05-25 Ulrich Drepper <drepper@gmail.com>
17713
17714 * po/ja.po: Update from translation team.
17715
67f86a25
UD
177162011-05-23 Ulrich Drepper <drepper@gmail.com>
17717
17718 [BZ #12795]
17719 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
17720 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
17721
def7fbd6
AS
177222011-05-20 Andreas Schwab <schwab@redhat.com>
17723
17724 * stdlib/longlong.h: Update from GCC.
17725
f50ef8f1
AS
177262011-05-23 Andreas Schwab <schwab@redhat.com>
17727
17728 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
17729 parameter name.
17730 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
17731 Add parameter name.
17732 (__sysconf): Pass it down.
17733
de7ce8f1
UD
177342011-05-22 Ulrich Drepper <drepper@gmail.com>
17735
f2962a71
UD
17736 [BZ #12671]
17737 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
17738 some situations.
17739 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17740 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
17741 add in in __libc_use_alloca calls. Adjust callers.
17742 (glob): Use malloc in some situations.
17743
de7ce8f1
UD
17744 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
17745 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
17746 pltexit.
17747
aec84f53
UD
177482011-05-21 Ulrich Drepper <drepper@gmail.com>
17749
05bb4a68
UD
17750 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
17751 and CLOCK_BOOTTIME_ALARM.
17752
7ea72f99
UD
17753 [BZ #12782]
17754 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
17755 is returned.
17756
7e4afad5
UD
17757 * string/_strerror.c (__strerror_r): Print negative errors as signed
17758 numbers.
17759
8e211fec
UD
17760 [BZ #12777]
17761 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
17762 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
17763 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
17764
f7d82dc9
UD
17765 * configure.in: Fix typo in redirection and correct removal of test
17766 files in two cases.
17767
cc9e536d
UD
17768 [BZ #12788]
17769 * locale/setlocale.c (new_composite_name): Fix test to check for
17770 identical name of all categories.
17771
aec84f53
UD
17772 [BZ #12792]
17773 * libio/filedoalloc.c (local_isatty): New function.
17774 (_IO_file_doallocate): Use local_isatty.
17775 * stdio-common/perror.c (perror): In case a new stream is used
17776 forward the stream error.
17777 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
17778 error flag.
17779
78e64fdc
RT
177802011-05-20 Ulrich Drepper <drepper@gmail.com>
17781
34a9094f
UD
17782 [BZ #11869]
17783 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
17784 alloca.
17785 * include/alloca.h (extend_alloca_account): Define.
17786
78e64fdc
RT
17787 [BZ #11857]
17788 * posix/regex.h: Fix comments with documentation of user-accessible
17789 fields after compilation and describe correct free'ing of pattern
17790 after re_compile_pattern.
17791 Patch by Reuben Thomas <rrt@sc3d.org>.
17792
457bddfc
RA
177932011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
17794
17795 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
17796 and -mno-altivec to prevent the compiler from using Altivec and/or
17797 VSX instructions when the corresponding registers are not available.
17798
a4527b51
AS
177992011-05-19 Andreas Schwab <schwab@redhat.com>
17800
17801 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
17802
ed690b2f
UD
178032011-05-19 Ulrich Drepper <drepper@gmail.com>
17804
17805 * libio/freopen.c (freopen): Use __dup2, not dup2.
17806 * libio/freopen64.c (freopen64): Likewise.
17807
8db73634
L
178082011-05-17 H.J. Lu <hongjiu.lu@intel.com>
17809
17810 [BZ #12775]
17811 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
17812 * math/Makefile (tests): Add test-powl.
17813 (CFLAGS-test-powl.c): Define.
17814 * math/test-powl.c: New file.
17815
0a197a9d
L
178162011-05-16 H.J. Lu <hongjiu.lu@intel.com>
17817
17818 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
17819
ee30c380
UD
178202011-05-17 Ulrich Drepper <drepper@gmail.com>
17821
17822 [BZ #11837]
17823 * iconvdata/gb18030.c: Update to GB18020-2005.
17824
6ce75379
UD
178252011-05-16 Ulrich Drepper <drepper@gmail.com>
17826
a4b89fd8
AR
17827 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
17828 RE_SYNTAX_POSIX_AWK): Update to match recent development.
17829 Patch by Aharon Robbins <arnold@skeeve.com>.
17830
ea389b12
UD
17831 [BZ #11892]
17832 * stdlib/putenv.c (putenv): Don't always create copy of the variable
17833 on the stack.
17834
68a3f91f
UD
17835 [BZ #11895]
17836 * misc/pselect.c (__pselect): Handle timeout value errors hidden
17837 through underflows.
17838
15cc7dd1
UD
17839 [BZ #12766]
17840 * misc/error.c (error_at_line): Ensure file_name and old_file_name
17841 point to strings before performing equality test for error_one_per_line
17842 mode.
17843
f3799213
UD
17844 [BZ #11697]
17845 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
17846
d79a9c94
UD
17847 [BZ #11820]
17848 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17849 (struct user_fpregs_struct): Avoid __uint*_t types.
17850
56e5eb46
UD
17851 [BZ #6420]
17852 * malloc/mtrace.c (tr_where): Add additional parameter to point to
17853 symbol info. Use it instead of calling _dl_addr locally.
17854 (lock_and_info): New function.
17855 (tr_freehook): Call lock_and_info and pass symbol info as additional
17856 parameter to tr_where.
17857 (tr_mallochook): Likewise.
17858 (tr_reallochook): Likewise.
17859 (tr_memalignhook): Likewise.
17860
6ce75379
UD
17861 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
17862 used and couldn't be at all thread-safe.
17863
f8a3b5bf
UD
178642011-05-15 Ulrich Drepper <drepper@gmail.com>
17865
94b7cc37
UD
17866 * libio/freopen.c (freopen): Don't close old file descriptor
17867 before the new one is opened. Instead dup the new file descriptor
17868 to the old one after the new stream is created.
17869 * libio/freopen64.c (freopen64): Likewise.
17870 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
17871 * libio/fileops.c (_IO_new_file_close_it): Handle new
17872 _IO_FLAGS2_NOCLOSE flag.
17873 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
17874 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
17875 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
17876 _IO_FLAGS2_NOCLOSE flag.
17877 * include/unistd.h: Add hidden_proto for dup3.
17878 Define __have_dup3.
17879 * io/dup3.c: Define hidden symbol.
17880 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
17881
bd25564e
UD
17882 [BZ #7101]
17883 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
17884 when an incomplete long option is used.
17885 * posix/tst-getopt_long1.c: New file.
17886 * posix/Makefile (tests): Add tst-getopt_long1.
17887
c84cfef4
UD
17888 [BZ #10138]
17889 * scripts/config.guess: Update from autoconf-2.68.
17890 * scripts/config.sub: Likewise.
17891
3b85df27
UD
17892 [BZ #10157]
17893 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
17894 tests into ...
17895 (has_cpuclock): ...this. New function.
17896 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
17897 macro here based on has_cpuclock code.
17898
15a856b1
UD
17899 [BZ #10149]
17900 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17901 First byte (not low byte) is now always NUL.
17902 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
17903
05f399e6
UD
17904 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17905 Use non-cancelable interfaces.
17906
10a52685 17907 [BZ #9809]
94ecc67d
UD
17908 * locale/iso-639.def: Add entry for Sorani.
17909
f8a3b5bf
UD
17910 [BZ #11901]
17911 * include/stdlib.h: Move include protection to the right place.
17912 Define abort_msg_s. Declare __abort_msg with it.
17913 * stdlib/abort.c (__abort_msg): Adjust type.
17914 * assert/assert.c (__assert_fail_base): New function. Majority
17915 of code from __assert_fail. Allocate memory for __abort_msg with
17916 mmap.
17917 (__assert_fail): Now call __assert_fail_base.
17918 * assert/assert-perr.c: Remove bulk of implementation. Use
17919 __assert_fail_base.
17920 * include/assert.hL Declare __assert_fail_base.
17921 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
17922 mmap.
17923 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
17924
1af4e298
UD
179252011-05-14 Ulrich Drepper <drepper@gmail.com>
17926
f8a3b5bf 17927 [BZ #11952]
d26dfc60
MG
17928 [BZ #12453]
17929 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
17930 until all modules are registered in the DTV.
17931 * elf/Makefile: Add rules to build and run tst-tls19.
17932 * elf/tst-tls19.c: New file.
17933 * elf/tst-tls19mod1.c: New file.
17934 * elf/tst-tls19mod2.c: New file.
17935 * elf/tst-tls19mod3.c: New file.
17936 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
17937
2fc54d6f
UD
17938 [BZ #12083]
17939 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
17940 correctly.
17941
98d76b46
UD
17942 [BZ #12601]
17943 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
17944 two-byte sequence errors.
17945 * iconvdata/Makefile (tests): Add bug-iconv8.
17946 * iconvdata/bug-iconv8.c: New file.
17947
da3c19ef
UD
17948 [BZ #12626]
17949 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
17950 buf2 definition.
17951
ca408c15
UD
17952 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
17953
d6f67f7d
UD
17954 [BZ #12432]
17955 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
17956 (dummy_getcfa): New function.
17957 (init): Get _Unwind_GetCFA address, use dummy if not found.
17958 (backtrace_helper): In recursion check, also check whether CFA changes.
17959 (__backtrace): Completely initialize arg.
17960
1af4e298 17961 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
17962 storing incomplete byte sequence in state object. Avoid testing for
17963 guaranteed too small input if we know there is enough data available.
1af4e298 17964
da62f81b
AS
179652011-05-11 Andreas Schwab <schwab@redhat.com>
17966
17967 * Makeconfig (+link-pie): Indent.
17968 * Rules (binaries-pie): Define if $(have-fpie) and
17969 $(build-shared).
17970 (binaries-shared): Also filter out $(binaries-pie).
17971 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
17972 * nscd/Makefile (others-pie): Add nscd.
17973 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
17974 ($(objpfx)nscd): Remove command override.
17975 * login/Makefile (others-pie): Add pt_chown.
17976 ($(objpfx)pt_chown): Remove command override.
17977 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
17978 remove command overrides.
17979
fcabc0f8
UD
179802011-05-13 Ulrich Drepper <drepper@gmail.com>
17981
20030ae6
UD
17982 * libio/tst_putwc.c: Fix error messages.
17983
fcabc0f8
UD
17984 [BZ #12724]
17985 * libio/fileops.c (_IO_new_file_close_it): Always flush when
17986 currently writing and seek to current position when not.
17987 * libio/Makefile (tests): Add bug-fclose1.
17988 * libio/bug-fclose1.c: New file.
17989
320a5dc0
PB
179902011-05-12 Ulrich Drepper <drepper@gmail.com>
17991
17992 [BZ #12511]
17993 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
17994 don't set DF_1_NODELETE here.
17995 (do_lookup_x): When entering new entry test for copy relocation
17996 and if necessary set DF_1_NODELETE flag.
17997 * elf/tst-unique4.cc: New file.
17998 * elf/tst-unique4.h: New file.
17999 * elf/tst-unique4lib.cc: New file.
18000 * elf/Makefile: Add rules to build and run tst-unique4.
18001 Patch by Piotr Bury <pbury@goahead.com>.
18002
22836f52
UD
180032011-05-11 Ulrich Drepper <drepper@gmail.com>
18004
f574184a
UD
18005 [BZ #12052]
18006 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
18007
e1fb097f
UD
18008 [BZ #12625]
18009 * misc/mntent_r.c (addmntent): Flush the stream after the output
18010
22836f52
UD
18011 [BZ #12393]
18012 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
18013 (is_trusted_path_normalize): Skip initial colon. Append slash
18014 to empty buffer. Duplicate is_trusted_path code but allow
18015 constructed patch to be prefix.
18016 (is_dst): Allow $ORIGIN followed by /.
18017 (_dl_dst_substitute): Correct clearing of check_for_trusted.
18018 Correct testing of result of is_trusted_path_normalize
18019 (decompose_rpath): Fix warning.
18020
7b3b0b2a
UD
180212011-05-10 Ulrich Drepper <drepper@gmail.com>
18022
18023 [BZ #11257]
18024 * grp/initgroups.c (internal_getgrouplist): When we found the service
18025 list through the initgroups entry in nsswitch.conf do not always
18026 continue on a successful lookup. Don't always use the
eac80ce2 18027 __nss_group_database value if it is set.
7b3b0b2a
UD
18028 * nss/nsswitch.conf (initgroups): Change action for successful db
18029 lookup to continue for compatibility.
18030
2a81eaa5
UD
180312011-05-09 Ulrich Drepper <drepper@gmail.com>
18032
be97a69e
UD
18033 [BZ #11532]
18034 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
18035 and CP774 modules.
18036 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
18037 and CP774 modules.
18038 * iconvdata/tst-tables.sh: Likewise.
18039 * iconvdata/cp770.c: New file.
18040 * iconvdata/cp771.c: New file.
18041 * iconvdata/cp772.c: New file.
18042 * iconvdata/cp773.c: New file.
18043 * iconvdata/cp774.c: New file.
18044 * iconvdata/testdata/CP770: New file.
18045 * iconvdata/testdata/CP770..UTF8: New file.
18046 * iconvdata/testdata/CP771: New file.
18047 * iconvdata/testdata/CP771..UTF8: New file.
18048 * iconvdata/testdata/CP772: New file.
18049 * iconvdata/testdata/CP772..UTF8: New file.
18050 * iconvdata/testdata/CP773: New file.
18051 * iconvdata/testdata/CP773..UTF8: New file.
18052 * iconvdata/testdata/CP774: New file.
18053 * iconvdata/testdata/CP774..UTF8: New file.
18054
18055 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
18056 END CHARMAP line.
18057 * iconvdata/gen-8bit-gap.sh: Likewise.
18058 * iconvdata/gen-8bit.sh: Likewise.
18059
c1e9e399
UD
18060 * locale/iso-639.def: Add ary entry.
18061
24c55fb3 18062 [BZ #11258]
96b4b1b0
UD
18063 * locale/C-translit.h.in: Add U20A1 transliteration.
18064
bdc2f971
KB
18065 [BZ #12178]
18066 * locale/iso-639.def: Add wae entry.
18067 Patch by Kevin Bortis <bortis@translate-wae.ch>.
18068
2952b117
UD
18069 [BZ #12545]
18070 * locale/programs/localedef.c (construct_output_path): Use ssize_t
18071 for n.
18072
2a81eaa5
UD
18073 [BZ #12711]
18074 * locale/C-translit.h.in: Add entry for U20B9.
18075 Patch by pravin.d.s@gmail.com.
18076
28377d1b
UD
180772011-05-08 Ulrich Drepper <drepper@gmail.com>
18078
7fb90fb8
UD
18079 [BZ #12713]
18080 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
18081 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
18082 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
18083 in rtld. Use *stat64.
7fb90fb8 18084 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 18085 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 18086 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
18087 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
18088 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
18089 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
18090 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
18091 __fstatat64 macros.
7fb90fb8
UD
18092 * include/dirent.h: Add libc_hidden_proto for rewinddir.
18093 * dirent/rewinddir.c: Add libc_hidden_def.
18094 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 18095 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 18096
28377d1b
UD
18097 * include/dirent.h (__alloc_dir): Add flags parameter.
18098 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
18099 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
18100 __alloc_dir.
18101 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
18102 from fdopendir if O_CLOEXEC is already set.
18103
66bdbaa4
AM
181042011-03-15 Alan Modra <amodra@gmail.com>
18105
18106 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
18107 l_tls_firstbyte_offset non-zero. Save padding offset in
18108 l_tls_firstbyte_offset for later use.
18109 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
18110 freeing static tls block.
18111
95721191
JN
181122011-03-05 Jonathan Nieder <jrnieder@gmail.com>
18113
18114 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
18115 where #ifdef was intended. The intent is to prevent ARG_MAX from
18116 being defined by the kernel headers.
18117
f87dfb1f
UD
181182011-05-07 Ulrich Drepper <drepper@gmail.com>
18119
18120 [BZ #12734]
18121 * resolv/resolv.h: Define RES_NOTLDQUERY.
18122 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
18123 no-tld-query and set RES_NOTLDQUERY.
18124 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
18125 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
18126 modern BIND to search name as TLD unless forbidden.
18127
47c3cd7a
UD
181282011-05-07 Petr Baudis <pasky@suse.cz>
18129 Ulrich Drepper <drepper@gmail.com>
18130
18131 [BZ #12393]
18132 * elf/dl-load.c (fillin_rpath): Move trusted path check...
18133 (is_trusted_path): ...to here.
c1e9ea35 18134 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 18135 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 18136 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 18137
8a35c912
PP
181382011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18139
18140 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
18141 __BEGIN/__END_DECLS.
18142
acd41f47
UD
181432011-05-06 Ulrich Drepper <drepper@gmail.com>
18144
18145 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
18146 NSS_STATUS_NOTFOUND if no record was found.
18147
597df647
AS
181482011-05-05 Andreas Schwab <schwab@redhat.com>
18149
18150 * sunrpc/Makefile (headers): Add rpc/netdb.h.
18151 (headers-not-in-tirpc): Remove rpc/netdb.h
18152 * resolv/netdb.h: Revert last change.
18153
b9af1301
PP
181542011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18155
18156 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
18157 circular dependency between libgcc.a and libc.a.
18158
4e34d5f5
AS
181592011-05-05 Andreas Schwab <schwab@redhat.com>
18160
18161 * resolv/netdb.h: Don't include <rpc/netdb.h>.
18162 * nis/Makefile: Don't install rpcsvc/*.
18163 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
18164 instead of <rpc/types.h>.
18165 (MAXHOSTNAMELEN): Define.
18166
00ee369c
AS
181672011-05-03 Andreas Schwab <schwab@redhat.com>
18168
18169 * elf/ldconfig.c (add_dir): Don't crash on empty path.
18170
0b592a30
MB
181712011-04-28 Maciej Babinski <mbabinski@google.com>
18172
18173 [BZ #12714]
18174 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
18175 gethostbyname4_r when IPv6 results are possible.
18176
6e04cbbe
UD
181772011-05-02 Ulrich Drepper <drepper@gmail.com>
18178
18179 [BZ #12723]
18180 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
18181 _PC_PIPE_BUF handling.
18182
e4ecafe0
BH
181832011-04-30 Bruno Haible <bruno@clisp.org>
18184
18185 [BZ #12717]
18186 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
18187 * resolv/netdb.h (getnameinfo): Change type of flags parameter
18188 to 'int'.
18189 * inet/getnameinfo.c (getnameinfo): Likewise.
18190
125ee683
UD
181912011-04-29 Ulrich Drepper <drepper@gmail.com>
18192
18193 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
18194 to groups setting in database lookup.
18195 * nss/nsswitch.conf: Add initgroups entry.
18196
b722481a
EB
181972011-04-22 Ulrich Drepper <drepper@gmail.com>
18198
18199 [BZ #12685]
18200 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
18201 mode string.
18202 Patch by Eric Blake <eblake@redhat.com>.
18203
4df46dbd
L
182042011-04-20 H.J. Lu <hongjiu.lu@intel.com>
18205
18206 * sunrpc/Makefile (need-export-routines): Add svc_run.
18207 (routines): Remove svc_run.
18208 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
18209 * sunrpc/clnt_perr.c (clnt_perrno): Export.
18210 * sunrpc/svc_run.c (svc_run): Likewise.
18211 * sunrpc/svc_udp.c (svcudp_create): Likewise.
18212
e84142d2
UD
182132011-04-21 Ulrich Drepper <drepper@gmail.com>
18214
18215 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
18216 problem in reallocation in last patch.
18217
877175d8
UD
182182011-04-20 Ulrich Drepper <drepper@gmail.com>
18219
18220 * sunrpc/Makefile: Move inclusion of Rules.
18221
ab8eed78
UD
182222011-04-19 Ulrich Drepper <drepper@gmail.com>
18223
18224 * nss/nss_files/files-initgroups.c: New file.
18225 * nss/Makefile (libnss_files-routines): Add files-initgroups.
18226 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
18227 _nss_files_initgroups_dyn.
18228
e3d8f584
RS
182292011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
18230
18231 * elf/elf.h (R_ARM_IRELATIVE): Define.
18232
af190f45
UD
182332011-04-19 Ulrich Drepper <drepper@gmail.com>
18234
18235 * po/ru.po: Update from translation team.
18236
53cf59ef
UD
182372011-04-17 Ulrich Drepper <drepper@gmail.com>
18238
18239 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
18240 dependencies.
18241
4c559bcd
MF
182422011-02-06 Mike Frysinger <vapier@gentoo.org>
18243
18244 [BZ #12653]
18245 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
18246 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
18247 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18248 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18249 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18250
4420675c
AS
182512011-03-28 Andreas Schwab <schwab@linux-m68k.org>
18252
18253 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
18254 differing bytes.
18255 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18256 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18257 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18258
75ea32ab
UD
182592011-04-17 Ulrich Drepper <drepper@gmail.com>
18260
18261 [BZ #12420]
18262 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
18263 storing it.
18264 * stdlib/bug-getcontext.c: New file.
18265 * stdlib/Makefile: Add rules to build and run bug-getcontext.
18266
27390476
AK
182672011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18268
18269 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
18270 instructions into .machine "z9-109".
18271 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
18272 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
18273
10442705
AK
182742011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18275
18276 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
18277 between environment variables and auxiliary vector.
18278
7b57bfe5
UD
182792011-04-16 Ulrich Drepper <drepper@gmail.com>
18280
18281 * Makefile: Add rules to build linkobj/libc.so.
18282 * include/libc-symbols.h: Define libc_hidden_nolink.
18283 * include/rpc/auth.h: Mark functions which are to be hidden.
18284 * include/rpc/auth_des.h: Likewise.
18285 * include/rpc/auth_unix.h: Likewise.
18286 * include/rpc/clnt.h: Likewise.
18287 * include/rpc/des_crypt.h: Likewise.
18288 * include/rpc/key_prot.h: Likewise.
18289 * include/rpc/pmap_clnt.h: Likewise.
18290 * include/rpc/pmap_prot.h: Likewise.
18291 * include/rpc/pmap_rmt.h: Likewise.
18292 * include/rpc/rpc_msg.h: Likewise.
18293 * include/rpc/svc.h: Likewise.
18294 * include/rpc/svc_auth.h: Likewise.
18295 * include/rpc/xdr.h: Likewise.
18296 * nis/Makefile: Link all DSOs against linkobj/libc.so.
18297 * nss/Makefile: Likewise.
18298 * sunrpc/Makefile: Don't install headers. Build library with normal
18299 entry points. Don't build rpcinfo. Link RPC tests appropriately.
18300 * sunrpc/auth_des.c: Hide exported symbols by default, export some
18301 for the compat linking library. Remove use of INTDEF/INTUSE.
18302 * sunrpc/auth_none.c: Likewise.
18303 * sunrpc/auth_unix.c: Likewise.
18304 * sunrpc/authdes_prot.c: Likewise.
18305 * sunrpc/authuxprot.c: Likewise.
18306 * sunrpc/clnt_gen.c: Likewise.
18307 * sunrpc/clnt_perr.c: Likewise.
18308 * sunrpc/clnt_raw.c: Likewise.
18309 * sunrpc/clnt_simp.c: Likewise.
18310 * sunrpc/clnt_tcp.c: Likewise.
18311 * sunrpc/clnt_udp.c: Likewise.
18312 * sunrpc/clnt_unix.c: Likewise.
18313 * sunrpc/des_crypt.c: Likewise.
18314 * sunrpc/des_soft.c: Likewise.
18315 * sunrpc/get_myaddr.c: Likewise.
18316 * sunrpc/key_call.c: Likewise.
18317 * sunrpc/key_prot.c: Likewise.
18318 * sunrpc/netname.c: Likewise.
18319 * sunrpc/pm_getmaps.c: Likewise.
18320 * sunrpc/pm_getport.c: Likewise.
18321 * sunrpc/pmap_clnt.c: Likewise.
18322 * sunrpc/pmap_prot.c: Likewise.
18323 * sunrpc/pmap_prot2.c: Likewise.
18324 * sunrpc/pmap_rmt.c: Likewise.
18325 * sunrpc/publickey.c: Likewise.
18326 * sunrpc/rpc_cmsg.c: Likewise.
18327 * sunrpc/rpc_common.c: Likewise.
18328 * sunrpc/rpc_dtable.c: Likewise.
18329 * sunrpc/rpc_prot.c: Likewise.
18330 * sunrpc/rpc_thread.c: Likewise.
18331 * sunrpc/rtime.c: Likewise.
18332 * sunrpc/svc.c: Likewise.
18333 * sunrpc/svc_auth.c: Likewise.
18334 * sunrpc/svc_authux.c: Likewise.
18335 * sunrpc/svc_raw.c: Likewise.
18336 * sunrpc/svc_run.c: Likewise.
18337 * sunrpc/svc_simple.c: Likewise.
18338 * sunrpc/svc_tcp.c: Likewise.
18339 * sunrpc/svc_udp.c: Likewise.
18340 * sunrpc/svc_unix.c: Likewise.
18341 * sunrpc/svcauth_des.c: Likewise.
18342 * sunrpc/xcrypt.c: Likewise.
18343 * sunrpc/xdr.c: Likewise.
18344 * sunrpc/xdr_array.c: Likewise.
18345 * sunrpc/xdr_float.c: Likewise.
18346 * sunrpc/xdr_intXX_t.c: Likewise.
18347 * sunrpc/xdr_mem.c: Likewise.
18348 * sunrpc/xdr_rec.c: Likewise.
18349 * sunrpc/xdr_ref.c: Likewise.
18350 * sunrpc/xdr_sizeof.c: Likewise.
18351 * sunrpc/xdr_stdio.c: Likewise.
18352
e6c61494
UD
183532011-04-10 Ulrich Drepper <drepper@gmail.com>
18354
18355 [BZ #12650]
18356 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
18357 * sysdeps/ia64/dl-tls.h: Likewise.
18358 * sysdeps/powerpc/dl-tls.h: Likewise.
18359 * sysdeps/s390/dl-tls.h: Likewise.
18360 * sysdeps/sh/dl-tls.h: Likewise.
18361 * sysdeps/sparc/dl-tls.h: Likewise.
18362 * sysdeps/x86_64/dl-tls.h: Likewise.
18363 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
18364
34fe483e
AS
183652011-03-14 Andreas Schwab <schwab@redhat.com>
18366
18367 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
18368 rpath element also skip the following colon.
18369 (expand_dynamic_string_token): Add is_path parameter and pass
18370 down to DL_DST_REQUIRED and _dl_dst_substitute.
18371 (decompose_rpath): Call expand_dynamic_string_token with
18372 non-zero is_path. Ignore empty rpaths.
18373 (_dl_map_object_from_fd): Call expand_dynamic_string_token
18374 with zero is_path.
18375
f12a32e6
AS
183762011-04-08 Andreas Schwab <schwab@linux-m68k.org>
18377
18378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
18379 Make cancelable.
18380
38a7d692
UD
183812011-04-09 Ulrich Drepper <drepper@gmail.com>
18382
18383 [BZ #12655]
18384 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
18385 Patch by Filipe David Manana <fdmanana@apache.org>.
18386
e451d22b
AS
183872011-04-07 Andreas Schwab <schwab@redhat.com>
18388
18389 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
18390 Maintain aligned stack.
18391 (CHECK_RSP): Remove unused macro.
18392
dedc7c7b
UD
183932011-04-03 Ulrich Drepper <drepper@gmail.com>
18394
18395 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
18396 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
18397
94521213
UD
183982011-04-02 Ulrich Drepper <drepper@gmail.com>
18399
18400 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
18401
8cb700c0 18402 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 18403
0354e355
L
184042011-03-26 H.J. Lu <hongjiu.lu@intel.com>
18405
18406 [BZ #12518]
18407 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
18408 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
18409 * sysdeps/x86_64/memmove.c: New file.
18410 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
18411 (memcpy): Renamed to ...
18412 (__new_memcpy): This.
18413 (memcpy): Provide GLIBC_2_14 memcpy.
18414 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
18415 (memcpy): Provide GLIBC_2_2_5 memcpy.
18416
8593482f
UD
184172011-04-01 Ulrich Drepper <drepper@gmail.com>
18418
18419 [BZ #12631]
18420 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
18421
81a5726b
AS
184222011-03-30 Andreas Schwab <schwab@redhat.com>
18423
18424 * misc/syncfs.c: New file.
18425 * misc/Makefile (routines): Add syncfs.
18426 * posix/unistd.h: Declare syncfs.
18427 * sysdeps/unix/syscalls.list: Add syncfs.
18428
00e5419f
AS
184292011-04-01 Andreas Schwab <schwab@redhat.com>
18430
18431 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
18432 open_by_handle_at.
18433 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18434 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18435 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18436 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18437 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18438 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
18439 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18440
748876bf
UD
184412011-04-01 Ulrich Drepper <drepper@gmail.com>
18442
658e451d
UD
18443 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
18444 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18445 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
18446 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18447 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18448 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18449 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18450
748876bf
UD
18451 * io/Makefile: Compile fallocate.c, fallocate64.c, and
18452 sync_file_range.c with -fexceptions.
18453 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
18454 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
18455 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
18456 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
18457 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
18458 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
18459 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
18460 sync_file_range as cancellation point
18461 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
18462 now a wrapper around __call_sync_file_range with cancellation handling.
18463 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
18464 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
18465 function name to __call_sync_file_range.
18466 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
18467 Add call_sync_file_range.
748876bf 18468
6e63d5e1
AS
184692011-04-01 Andreas Schwab <schwab@redhat.com>
18470
18471 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 18472 bits/timex.h.
6e63d5e1 18473
46998f74
UD
184742011-04-01 Ulrich Drepper <drepper@gmail.com>
18475
4c1423ed
UD
18476 * iconv/iconv.h: Fix typo in comment.
18477 * io/fcntl.h: Likewise.
18478 * libio/stdio.h: Likewise.
18479 * posix/spawn.h: Likewise.
18480 * posix/unistd.h: Likewise.
18481 * stdlib/stdlib.h: Likewise.
18482 * time/time.h: Likewise.
18483 * wcsmbs/wchar.h: Likewise.
18484
158648c0
UD
18485 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
18486 open_by_handle): Add.
18487 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
18488 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
18489 Augment a few comments.
18490 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18491 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18492 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18493 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18494 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18495 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
18496 open_by_handle.
18497
46998f74
UD
18498 * io/fcntl.h (AT_EMPTY_PATH): Define.
18499
83fe108b
UD
185002011-03-30 Ulrich Drepper <drepper@gmail.com>
18501
18502 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
18503 * sysdeps/unix/sysv/linux/bits/time.h: New file.
18504 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
18505 to...
18506 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
18507 * Versions.def: Add GLIBC_2.14.
18508 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
18509 Export.
83fe108b 18510
bb242059
UD
185112011-03-22 Ulrich Drepper <drepper@gmail.com>
18512
18513 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
18514 round counter.
18515 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18516
c97a1282
L
185172011-03-20 H.J. Lu <hongjiu.lu@intel.com>
18518
18519 [BZ #12597]
18520 * string/test-strncmp.c (do_page_test): New function.
18521 (check2): Likewise.
18522 (test_main): Call check2.
18523 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
18524
2a115601
UD
185252011-03-20 Ulrich Drepper <drepper@gmail.com>
18526
18527 [BZ #12587]
18528 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
18529 Handle cache information in CPU leaf 4.
18530 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18531
8126d904
UD
185322011-03-18 Ulrich Drepper <drepper@gmail.com>
18533
042c49c6 18534 [BZ #12583]
8126d904
UD
18535 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
18536 character representation.
18537 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
18538
ccfe366e
RA
185392011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
18540
18541 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
18542 END(__isnan) to END(__isnanf) to match function entry point/label
18543 EALIGN(__isnanf,...).
18544
c6e13027
JJ
185452011-03-10 Jakub Jelinek <jakub@redhat.com>
18546
18547 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
18548
33f85a3f
UD
185492011-03-10 Ulrich Drepper <drepper@gmail.com>
18550
028478fa
UD
18551 [BZ #12510]
18552 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
18553 copy from the symbol referenced in the relocation to initialize the
18554 used variable.
18555 Patch by Piotr Bury <pbury@goahead.com>.
18556 * elf/Makefile: Add rules to build and tst-unique3.
18557 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
18558 * elf/tst-unique3.cc: New file.
18559 * elf/tst-unique3.h: New file.
18560 * elf/tst-unique3lib.cc: New file.
18561 * elf/tst-unique3lib2.cc: New file.
18562
33f85a3f
UD
18563 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
18564
03592fc7
MF
185652011-03-10 Mike Frysinger <vapier@gentoo.org>
18566
18567 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
18568 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
18569 to _start.
03592fc7 18570
6a5ee102
UD
185712011-03-06 Ulrich Drepper <drepper@gmail.com>
18572
18573 * elf/dl-load.c (_dl_map_object): If we are looking for the first
18574 to-be-loaded object along a path to loader is ld.so.
18575
7e4ba49c
HJ
185762011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18577 Ulrich Drepper <drepper@gmail.com>
18578
18579 * sysdeps/x86_64/memset.S: After aligning destination, code
18580 branches to different locations depending on the value of
18581 misalignment, when multiarch is enabled. Fix this.
18582
185832011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18584
18585 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
18586 Set _x86_64_preferred_memory_instruction for AMD processsors.
18587 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18588 Set bit_Prefer_SSE_for_memop for AMD processors.
18589
13a804de
UD
185902011-03-04 Ulrich Drepper <drepper@gmail.com>
18591
18592 * libio/fmemopen.c (fmemopen): Optimize a bit.
18593
9d25c392
AS
185942011-03-03 Andreas Schwab <schwab@redhat.com>
18595
18596 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
18597
a5543c6a
RM
185982011-03-03 Roland McGrath <roland@redhat.com>
18599
18600 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
18601
012d35f7
DM
186022011-02-28 Aurelien Jarno <aurelien@aurel32.net>
18603
7e4ba49c 18604 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
18605 __bzero_ultra1 instead of __memset_ultra1.
18606
4bff6e01
AS
186072011-02-23 Andreas Schwab <schwab@redhat.com>
18608 Ulrich Drepper <drepper@gmail.com>
18609
18610 [BZ #12509]
18611 * include/link.h (struct link_map): Add l_orig_initfini.
18612 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
18613 returning unsuccessfully.
18614 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
18615 close of a file loaded at startup, restore the original l_initfini
18616 list.
18617 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
18618 list, store the pointer.
18619 * elf/Makefile ($(objpfx)noload-mem): New rule.
18620 (noload-ENV): Define.
18621 (tests): Add $(objpfx)noload-mem.
18622 * elf/noload.c: Include <memcheck.h>.
18623 (main): Call mtrace. Close all opened handles.
18624
f2092faf
AS
186252011-02-17 Andreas Schwab <schwab@redhat.com>
18626
18627 [BZ #12454]
18628 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
18629 dependencies are missing.
18630
6c8a2e88
ST
186312011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
18632
f2092faf 18633 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
18634 Hurd needs munmap.
18635 * sysdeps/mach/hurd/ifreq.h: New file.
18636
84a42118
PB
186372011-01-27 Petr Baudis <pasky@suse.cz>
18638 Ulrich Drepper <drepper@gmail.com>
18639
071f805e 18640 [BZ 12445]#
84a42118
PB
18641 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
18642 to extend_alloca().
18643 * stdio-common/bug23.c: New file.
18644 * stdio-common/Makefile (tests): Add bug23.
18645
e23fe25b
AS
186462010-09-28 Andreas Schwab <schwab@redhat.com>
18647 Ulrich Drepper <drepper@gmail.com>
18648
18649 [BZ #12489]
18650 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
18651 before performing relro protection. At old place add assertion
18652 to make sure nothing changed.
18653
d3f02e10
NS
186542011-02-17 Nathan Sidwell <nathan@codesourcery.com>
18655 Glauber de Oliveira Costa <glommer@gmail.com>
18656
18657 * elf/elf.h: Add new ARM TLS relocs.
18658
d55fd7a5
RA
186592011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
18660
18661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18662 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
18663 cast from r3.
18664 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
18665 'tests' variable.
18666 * sysdeps/wordsize-64/tst-writev.c: New file.
18667
2206397e
RA
186682011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
18669
18670 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
18671 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
18672 insns in _dl_start to prevent a TOC reference before relocs are
18673 resolved.
18674
e9433893
UD
186752011-02-15 Ulrich Drepper <drepper@gmail.com>
18676
18677 [BZ #12469]
18678 * Makeconfig: Remove RANLIB definition.
18679 * Makerules: Don't use RANLIB.
18680 * aclocal.m4: Remove ranlib test.
18681 * configure.in: No need to check for ranlib.
18682 * elf/rtld-Rules: Don't use RANLIB.
18683
f75286c6
ST
186842011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18685
8e31c82d
ST
18686 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
18687 protection macro.
18688 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
18689 inclusion protection macro.
18690
f75286c6
ST
18691 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
18692 SIGRTMIN and SIGRTMAX and print information in that case only when
18693 SIGRTMIN is defined.
18694
c1d0e639
JJ
186952011-02-11 Jakub Jelinek <jakub@redhat.com>
18696
18697 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
18698 arginfo fn returning -1.
18699
18700 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
18701 and thousands string is zero terminated.
18702
edf9294e
AS
187032011-02-03 Andreas Schwab <schwab@redhat.com>
18704
18705 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
18706 sysdeps/unix/sysv/linux/bits/socket.h.
18707
2b7e92df
ST
187082011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
18709
edf9294e
AS
18710 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
18711 (__CPU_COUNT): Remove old macros.
18712 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
18713 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
18714 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
18715 (__sched_cpualloc, __sched_cpufree): Add declarations.
18716
a4c7ea7b
UD
187172011-02-05 Ulrich Drepper <drepper@gmail.com>
18718
18719 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
18720 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
18721 * nscd/aicache.c (addhstaiX): Return timeout of added value.
18722 (readdhstai): Return value of addhstaiX call.
18723 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
18724 (addgrbyX): Return value returned by cache_addgr.
18725 (readdgrbyname): Return value returned by addgrbyX.
18726 (readdgrbygid): Likewise.
18727 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
18728 (addpwbyX): Return value returned by cache_addpw.
18729 (readdpwbyname): Return value returned by addhstbyX.
18730 (readdpwbyuid): Likewise.
18731 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
18732 (addservbyX): Return value returned by cache_addserv.
18733 (readdservbyname): Return value returned by addservbyX:
18734 (readdservbyport): Likewise.
18735 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
18736 (addhstbyX): Return value returned by cache_addhst.
18737 (readdhstbyname): Return value returned by addhstbyX.
18738 (readdhstbyaddr): Likewise.
18739 (readdhstbynamev6): Likewise.
18740 (readdhstbyaddrv6): Likewise.
18741 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
18742 (readdinitgroups): Return value returned by addinitgroupsX.
18743 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
18744 (prune_cache): Keep track of timeout value of re-added entries.
18745 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
18746 * nscd/nscd.h: Adjust prototypes of readd* functions.
18747
a0bf67cc
RM
187482011-02-04 Roland McGrath <roland@redhat.com>
18749
18750 * nis/nis_server.c (nis_servstate): Use the right name for 0.
18751 (nis_stats): Likewise.
18752 * nis/nis_modify.c (nis_modify): Likewise.
18753 * nis/nis_remove.c (nis_remove): Likewise.
18754 * nis/nis_add.c (nis_add): Likewise.
18755
18756 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
18757
18758 * posix/fnmatch_loop.c: Add some consts.
18759
18760 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
18761
435b95eb
L
187622011-02-02 H.J. Lu <hongjiu.lu@intel.com>
18763
18764 [BZ #12460]
18765 * config.make.in (config-cflags-novzeroupper): Define.
18766 * configure.in: Substitute libc_cv_cc_novzeroupper.
18767 * elf/Makefile (AVX-CFLAGS): Define.
18768 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
18769 (CFLAGS-tst-auditmod4a.c): Likewise.
18770 (CFLAGS-tst-auditmod4b.c): Likewise.
18771 (CFLAGS-tst-auditmod6b.c): Likewise.
18772 (CFLAGS-tst-auditmod6c.c): Likewise.
18773 (CFLAGS-tst-auditmod7b.c): Likewise.
18774 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
18775
8517b15e
UD
187762011-02-02 Ulrich Drepper <drepper@gmail.com>
18777
18778 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
18779 function to the callback.
18780 Patch partly by Jiri Olsa <jolsa@redhat.com>.
18781
10a656fe
AS
187822011-02-02 Andreas Schwab <schwab@redhat.com>
18783
18784 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
18785 of errno.
18786
968dad0a
UD
187872011-01-19 Ulrich Drepper <drepper@gmail.com>
18788
9f94d2ea 18789 [BZ #11724]
968dad0a
UD
18790 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
18791 of constructors.
18792 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
18793 of destructors.
18794 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
18795
18796 [BZ #11724]
18797 * elf/Makefile: Add rules to build and run new test.
18798 * elf/tst-initorder.c: New file.
18799 * elf/tst-initorder.exp: New file.
18800 * elf/tst-initordera1.c: New file.
18801 * elf/tst-initordera2.c: New file.
18802 * elf/tst-initordera3.c: New file.
18803 * elf/tst-initordera4.c: New file.
18804 * elf/tst-initorderb1.c: New file.
18805 * elf/tst-initorderb2.c: New file.
18806 * elf/tst-order-a1.c: New file.
18807 * elf/tst-order-a2.c: New file.
18808 * elf/tst-order-a3.c: New file.
18809 * elf/tst-order-a4.c: New file.
18810 * elf/tst-order-b1.c: New file.
18811 * elf/tst-order-b2.c: New file.
18812 * elf/tst-order-main.c: New file.
18813 New test case by George Gensure <werkt0@gmail.com>.
18814
86e92359
UD
188152010-10-01 Andreas Schwab <schwab@redhat.com>
18816
18817 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18818 decoding ACE if AI_CANONIDN.
18819
5d5732b0
UD
188202011-01-18 Ulrich Drepper <drepper@gmail.com>
18821
18822 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
18823
a77e8cbc
UD
188242011-01-17 Ulrich Drepper <drepper@gmail.com>
18825
6392473f
UD
18826 * version.h (RELEASE): Bump for 2.13 release.
18827 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
18828
620a0529
UD
18829 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
18830
18ba70a5
UD
18831 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
18832 MADV_NOHUGEPAGE.
32465c3e
UD
18833 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
18834 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18835 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18836 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
18837 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18838 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18839
c0dafcf1
UD
18840 * posix/getconf.c: Update copyright year.
18841 * catgets/gencat.c: Likewise.
18842 * csu/version.c: Likewise.
18843 * debug/catchsegv.sh: Likewise.
18844 * debug/xtrace.sh: Likewise.
18845 * elf/ldconfig.c: Likewise.
18846 * elf/ldd.bash.in: Likewise.
18847 * elf/sprof.c (print_version): Likewise.
18848 * iconv/iconv_prog.c: Likewise.
18849 * iconv/iconvconfig.c: Likewise.
18850 * locale/programs/locale.c: Likewise.
18851 * locale/programs/localedef.c: Likewise.
18852 * malloc/memusage.sh: Likewise.
18853 * malloc/mtrace.pl: Likewise.
18854 * nscd/nscd.c (print_version): Likewise.
18855 * nss/getent.c: Likewise.
18856
a77e8cbc
UD
18857 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
18858 PF_CAIF, and PF_ALG.
18859 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18860
77e8bddf
AS
188612011-01-16 Andreas Schwab <schwab@linux-m68k.org>
18862
1f20b93a
AS
18863 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
18864 (modules-names): Use them.
18865 (ifunc-test-modules, ifunc-pie-tests): Define.
18866 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
18867 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
18868 (test-extras): Likewise.
18869 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
18870 $(compile-command.c).
18871 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
18872 (all-built-dso): Define.
18873 (check-textrel.out, check-execstack.out): Depend on it.
18874
77e8bddf
AS
18875 * configure.in: Don't override --enable-multi-arch.
18876
bc425b33
UD
188772011-01-15 Ulrich Drepper <drepper@gmail.com>
18878
18879 [BZ #6812]
18880 * nscd/hstcache.c (tryagain): Define.
18881 (cache_addhst): Return tryagain not notfound for temporary errors.
18882 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
18883 failed.
18884
794c3ad3
UD
188852011-01-14 Ulrich Drepper <drepper@gmail.com>
18886
70181fdd
UD
18887 [BZ #10563]
18888 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
18889 to make the syscall.
18890 * sysdeps/unix/sysv/linux/setgroups.c: New file.
18891
794c3ad3
UD
18892 [BZ #12378]
18893 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
18894 and fall back to matching as normal character if the string ends before
18895 the matching ']' is found. This is what POSIX requires.
18896 * posix/testfnm.c: Adjust test result.
18897 * posix/globtest.sh: Adjust test result. Add new test.
18898 * posix/tst-fnmatch.input: Likewise.
18899 * posix/tst-fnmatch2.c: Add new test.
18900
68dc9497
AS
189012010-12-28 Andreas Schwab <schwab@linux-m68k.org>
18902
18903 * elf/Makefile (check-execstack): Revert last change. Depend on
18904 check-execstack.h.
18905 (check-execstack.h): New target.
18906 (generated): Add check-execstack.h.
18907 * elf/check-execstack.c: Include "check-execstack.h".
18908 (main): Revert last change.
18909 (handle_file): Return zero if GNU_STACK is absent and
18910 DEFAULT_STACK_PERMS doesn't include PF_X.
18911
451f001b
UD
189122011-01-13 Ulrich Drepper <drepper@gmail.com>
18913
cfa28e56
UD
18914 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
18915 in child fails because the descriptor is already closed.
8cf8ce17
UD
18916 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
18917 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
18918 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 18919
1086d70d
UD
18920 [BZ #12397]
18921 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
18922 syscall.
18923
451f001b
UD
18924 [BZ #10484]
18925 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
18926 temporary buffer used to handle multi lookups locally.
a85b5cb4 18927 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 18928
08769175
UD
189292011-01-12 Ulrich Drepper <drepper@gmail.com>
18930
18931 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
18932 loader is ld.so.
18933
5e49c52e
UD
189342011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
18935
18936 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
18937 alignment for SSE2.
18938
60522a5f
UD
189392011-01-12 Ulrich Drepper <drepper@gmail.com>
18940
18941 [BZ #12394]
18942 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
18943 characters. When rounding increased number of integer digits recompute
18944 number of groups.
18945 * stdio-common/tst-grouping.c: New file.
18946 * stdio-common/Makefile: Add rules to build and run tst-grouping.
18947
f257bbd7
UD
189482011-01-09 Ulrich Drepper <drepper@gmail.com>
18949
18950 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
18951 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
18952
18953 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
18954 void.
18955 * bits/select.h: Likewise.
18956
fa9c15cb
UD
189572011-01-08 Ulrich Drepper <drepper@gmail.com>
18958
18959 * po/ja.po: Update from translation team.
18960
16c2895f
DM
189612011-01-04 David S. Miller <davem@sunset.davemloft.net>
18962
18963 [BZ #11155]
18964 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
18965 implementation just like for lxstat, fxstatat, et al.
18966
2543fef2
JM
189672010-12-27 Jim Meyering <meyering@redhat.com>
18968
18969 [BZ #12348]
18970 * posix/regexec.c (build_trtable): Return failure indication upon
18971 calloc failure. Otherwise, re_search_internal could infloop on OOM.
18972
98727dbe
UD
189732010-12-25 Ulrich Drepper <drepper@gmail.com>
18974
5bd6dc5c
UD
18975 [BZ #12201]
18976 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
18977 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
18978 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
18979 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
18980
97983464
UD
18981 [BZ #12207]
18982 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
18983
98727dbe
UD
18984 [BZ #12204]
18985 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
18986 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
18987
4a531bb0
L
189882010-12-15 H.J. Lu <hongjiu.lu@intel.com>
18989
18990 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
18991 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
18992 script has SORT_BY_INIT_PRIORITY.
18993 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
18994 NO_CTORS_DTORS_SECTIONS is defined.
18995 * elf/soinit.c: Likewise.
18996 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
18997 NO_CTORS_DTORS_SECTIONS is defined.
18998 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
18999 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
19000 * sysdeps/sh/init-first.c: Likewise.
19001 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
19002
07eb4b71
UD
190032010-12-24 Ulrich Drepper <drepper@gmail.com>
19004
19005 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
19006 always use the slow path.
19007
30950a5f
RA
190082010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
19009
19010 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
19011 similar rule which adds the sysdep directories to the header search in
19012 order to pick up the correct platform stackinfo.h.
19013 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
19014 perform test if it is, otherwise return successfully without testing.
19015 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
19016 DEFAULT_STACK_PERMS define in stackinfo.h.
19017 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
19018 defined in stackinfo.h.
19019 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
19020 DEFAULT_STACK_PERMS defined in stackinfo.h.
19021 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
19022 * sysdeps/ia64/stackinfo.h: Likewise.
19023 * sysdeps/s390/stackinfo.h: Likewise.
19024 * sysdeps/sh/stackinfo.h: Likewise.
19025 * sysdeps/sparc/stackinfo.h: Likewise.
19026 * sysdeps/x86_64/stackinfo.h: Likewise.
19027 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
19028 PF_X for powerpc64. Retain PF_X for powerpc32.
19029
db753e2c
UD
190302010-12-19 Ulrich Drepper <drepper@gmail.com>
19031
14b697f7
UD
19032 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
19033 accurately.
db753e2c
UD
19034 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
19035 GETDENTS_64BIT_ALIGNED.
19036
28300719
UD
190372010-12-14 Ulrich Drepper <dreper@gmail.com>
19038
14b697f7 19039 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 19040
4f197237
AS
190412010-12-10 Andreas Schwab <schwab@redhat.com>
19042
dbb0472f
AS
19043 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
19044 _GNU_SOURCE.
19045
4f197237
AS
19046 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
19047 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
19048 Remove __restrict.
19049 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
19050 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
19051
fb88ac72
UD
190522010-12-09 Ulrich Drepper <drepper@gmail.com>
19053
19054 [BZ #11655]
19055 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
19056 are initialized.
19057
42acbb92
JJ
190582010-12-09 Jakub Jelinek <jakub@redhat.com>
19059
19060 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
19061
c038d98d
UD
190622010-12-03 Ulrich Drepper <drepper@gmail.com>
19063
19064 * po/it.po: Update from translation team.
19065
3a4a2499
L
190662010-12-01 H.J. Lu <hongjiu.lu@intel.com>
19067
19068 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
19069 unused codes.
19070
1e24cf6e
UD
190712010-11-30 Ulrich Drepper <drepper@gmail.com>
19072
19073 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
19074
a7690819
AS
190752010-11-24 Andreas Schwab <schwab@redhat.com>
19076
19077 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
19078 specially.
19079 (gaih_getanswer_slice): Likewise.
19080
3bf8d1b1
JJ
190812010-10-20 Jakub Jelinek <jakub@redhat.com>
19082
19083 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
19084
6db52fbb
PB
190852010-05-31 Petr Baudis <pasky@suse.cz>
19086
19087 [BZ #11149]
19088 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
19089 silently even in the chroot mode.
19090
eaca7569
UD
190912010-11-22 Ulrich Drepper <drepper@gmail.com>
19092
19093 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
19094 last patch a bit. Pretty printing
19095
3056dcdb
UD
190962010-05-31 Petr Baudis <pasky@suse.cz>
19097
19098 [BZ #10085]
19099 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
19100 initialization of skip_initgroups_dyn.
19101
cf7c9078
UD
191022010-11-19 Ulrich Drepper <drepper@gmail.com>
19103
19104 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
19105 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19106
a1fb5e3e
UD
191072010-11-16 Ulrich Drepper <drepper@gmail.com>
19108
19109 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
19110
3540d66b
AS
191112010-11-11 Andreas Schwab <schwab@redhat.com>
19112
19113 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
19114 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
19115 (tst-fnmatch-ENV): Set MALLOC_TRACE.
19116 ($(objpfx)tst-fnmatch-mem): New rule.
19117 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
19118 * posix/tst-fnmatch.c (main): Call mtrace.
19119
13b69574
L
191202010-11-11 H.J. Lu <hongjiu.lu@intel.com>
19121
19122 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19123 Support Intel processor model 6 and model 0x2c.
19124
da93d214
LM
191252010-11-10 Luis Machado <luisgpm@br.ibm.com>
19126
19127 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
19128 signed comparison.
19129
8ca52c6e
L
191302010-11-09 H.J. Lu <hongjiu.lu@intel.com>
19131
19132 [BZ #12205]
19133 * string/test-strncasecmp.c (check_result): New function.
19134 (do_one_test): Use it.
19135 (check1): New function.
19136 (test_main): Use it.
19137 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
19138 Support strcasecmp and strncasecmp.
19139
69da074d
UD
191402010-11-08 Ulrich Drepper <drepper@gmail.com>
19141
19142 [BZ #12194]
19143 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
19144 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19145
ff02d528
L
191462010-11-07 H.J. Lu <hongjiu.lu@intel.com>
19147
19148 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
19149 IFUNC support.
19150 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19151 memset-x86-64.
19152 * sysdeps/x86_64/multiarch/bzero.S: New file.
19153 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
19154 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
19155 * sysdeps/x86_64/multiarch/memset.S: New file.
19156 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
19157 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19158 Set bit_Prefer_SSE_for_memop for Intel processors.
19159 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
19160 Define.
19161 (index_Prefer_SSE_for_memop): Define.
19162 (HAS_PREFER_SSE_FOR_MEMOP): Define.
19163
344d0b54
LM
191642010-11-04 Luis Machado <luisgpm@br.ibm.com>
19165
19166 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
19167 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
19168
c0dde15b
UD
191692010-11-03 H.J. Lu <hongjiu.lu@intel.com>
19170
19171 [BZ #12191]
19172 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19173 (__x86_64_raw_data_cache_size_half): Likewise.
19174 (__x86_64_raw_shared_cache_size): Likewise.
19175 (__x86_64_raw_shared_cache_size_half): Likewise.
19176
19177 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19178 (__x86_64_raw_data_cache_size_half): Likewise.
19179 (__x86_64_raw_shared_cache_size): Likewise.
19180 (__x86_64_raw_shared_cache_size_half): Likewise.
19181 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
19182 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
19183 and __x86_64_raw_shared_cache_size_half. Round
19184 __x86_64_data_cache_size_half, __x86_64_data_cache_size
19185 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
19186 to multiple of 256 bytes.
19187
0e516e0e
MS
191882010-11-03 Ulrich Drepper <drepper@gmail.com>
19189
19190 [BZ #12167]
19191 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
19192 of inacessible symlinks. Verify result of symlink before returning it.
19193 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19194 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
19195
0e012e87
ER
191962010-10-28 Erich Ritz <erichritz@gmail.com>
19197
19198 * math/math.h (isinf): Fix typo in comment.
19199
de0ff7bc
UD
192002010-11-01 Ulrich Drepper <drepper@gmail.com>
19201
19202 * po/da.po: Update from translation team.
19203
fa41c84d
UD
192042010-10-26 Ulrich Drepper <drepper@gmail.com>
19205
19206 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
19207 is added to the list.
19208
f0967738
AK
192092010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19210 Ulrich Drepper <drepper@gmail.com>
19211
19212 * elf/dl-object.c (_dl_new_object): Don't append the new object to
19213 the global list here. Move code to...
19214 (_dl_add_to_namespace_list): ...here. New function.
19215 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
19216 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
19217 * elf/dl-load.c (lose): Don't remove the element from the list.
19218 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
19219 (_dl_map_object): Likewise.
19220
192212010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
19222
19223 [BZ #12159]
19224 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
19225 into all bytes of SSE register.
19226 Patch by Richard Li <richardpku@gmail.com>.
19227
f0967738 192282010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
19229
19230 [BZ #12140]
19231 * malloc/malloc.c (_int_free): Fill correct number of bytes when
19232 perturbing.
19233
d0b9e94f
MB
192342010-10-20 Michael B. Brutman <brutman@us.ibm.com>
19235
19236 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
19237 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
19238 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
19239 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
19241 submachine.
19242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
19243
8e9f92e9
AS
192442010-10-22 Andreas Schwab <schwab@redhat.com>
19245
19246 * include/dlfcn.h (__RTLD_SECURE): Define.
19247 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
19248 mode & __RTLD_SECURE instead.
19249 (open_path): Rename preloaded parameter to secure.
19250 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
19251 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
19252 * elf/dl-deps.c (openaux): Likewise.
19253 * elf/rtld.c (struct map_args): Remove is_preloaded.
19254 (map_doit): Don't use it.
19255 (dl_main): Likewise.
19256 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
19257 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
19258
bc96fbda
AS
192592010-09-09 Andreas Schwab <schwab@redhat.com>
19260
19261 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
19262 (sysd-rules-targets): Remove duplicates.
19263 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
19264 rtld-%.$o dependency.
19265
22cd1c9b
AS
192662010-10-18 Andreas Schwab <schwab@redhat.com>
19267
19268 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
19269 _dl_map_object do it.
19270
18edac48
UD
192712010-10-19 Ulrich Drepper <drepper@gmail.com>
19272
19273 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
19274 fast fma builtins, define the macros in the C99 standard.
19275 (FP_FAST_FMAF): Likewise.
19276 (FP_FAST_FMAL): Likewise.
19277 * sysdeps/x86_64/bits/mathdef.h: Likewise.
19278
19279 * bits/mathdef.h: Update copyright year.
19280 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19281
d2050124
MM
192822010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
19283
19284 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
19285 builtins, define the macros in the C99 standard.
19286 (FP_FAST_FMAF): Likewise.
19287 (FP_FAST_FMAL): Likewise.
19288 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
19289 multiply/add.
19290 (FP_FAST_FMAF): Likewise.
19291
475facd1
JJ
192922010-10-15 Jakub Jelinek <jakub@redhat.com>
19293
19294 [BZ #3268]
19295 * math/libm-test.inc (fma_test): Some new testcases.
19296 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
19297 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
19298 y and infinite z. Do multiplication by C already in long double.
19299 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
19300 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
19301 y and infinite z. Do bitwise or of inexact bit into u.d.
19302 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
19303 * sysdeps/i386/fpu/s_fmaf.S: Removed.
19304 * sysdeps/i386/fpu/s_fma.S: Removed.
19305 * sysdeps/i386/fpu/s_fmal.S: Removed.
19306
7c08a05c
JJ
193072010-10-16 Jakub Jelinek <jakub@redhat.com>
19308
19309 [BZ #3268]
19310 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
19311 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
19312 computation is not scheduled after fetestexcept. Fix value
19313 of minimum denormal long double.
19314
f3f7372d
JJ
193152010-10-14 Jakub Jelinek <jakub@redhat.com>
19316
19317 [BZ #3268]
19318 * math/libm-test.inc (fma_test): Add some more tests.
19319 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
19320 correctly.
19321
14d43591
AS
193222010-10-15 Andreas Schwab <schwab@redhat.com>
19323
19324 * scripts/data/localplt-s390-linux-gnu.data: New file.
19325 * scripts/data/localplt-s390x-linux-gnu.data: New file.
19326
5e908464
JJ
193272010-10-13 Jakub Jelinek <jakub@redhat.com>
19328
19329 [BZ #3268]
19330 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
19331 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
19332 instead of dbl-64.
19333 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
19334 inlines.
19335 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
19336 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
19337 if one of x and y is very large and the other is subnormal.
19338 * sysdeps/s390/fpu/s_fmaf.c: New file.
19339 * sysdeps/s390/fpu/s_fma.c: New file.
19340 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
19341 * sysdeps/powerpc/fpu/s_fma.S: New file.
19342 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
19343 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
19344 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
19345
193462010-10-12 Jakub Jelinek <jakub@redhat.com>
19347
19348 [BZ #3268]
19349 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
19350 fma tests.
19351 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
19352 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
19353 * sysdeps/i386/i686/multiarch/s_fma.c: Include
19354 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
19355 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
19356 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
19357 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
19358
b833d51f
UD
193592010-10-12 Ulrich Drepper <drepper@redhat.com>
19360
19361 [BZ #12078]
19362 * posix/regcomp.c (parse_branch): One more memory leak plugged.
19363 * posix/bug-regex31.input: Add test case.
19364
1751705d
UD
193652010-10-11 Ulrich Drepper <drepper@gmail.com>
19366
e9b9cbf5
UD
19367 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
19368 * posix/bug-regex31.input: New file.
19369
19370 [BZ #12078]
19371 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
19372 (parse_sub_exp): Fix last change, use postorder.
19373
ef06edbe
UD
19374 * posix/bug-regex31.c: New file.
19375 * posix/Makefile: Add rules to build and run bug-regex31.
19376
a129c80d
UD
19377 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
19378
19379 [BZ #12078]
19380 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
19381
b76b818e
UD
19382 [BZ #12108]
19383 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
19384 to have entries in sys_siglist.
19385
1751705d
UD
19386 [BZ #12093]
19387 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
19388 be NULL.
19389
9ff8d36f
JJ
193902010-10-07 Jakub Jelinek <jakub@redhat.com>
19391
19392 [BZ #3268]
19393 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
19394 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
19395 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
19396 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
19397 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
19398 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
19399 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
19400 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
19401 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
19402 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
19403 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
19404 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
19405 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
19406 * math/ftestexcept.c (fetestexcept): Likewise.
19407 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
19408 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
19409 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
19410 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
19411 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
19412 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
19413 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19414
af325969
UD
194152010-10-11 Ulrich Drepper <drepper@gmail.com>
19416
c579b202 19417 [BZ #12107]
af325969
UD
19418 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
19419 newline.
19420
67a67b95
UD
194212010-10-06 Ulrich Drepper <drepper@gmail.com>
19422
19423 * string/bug-strstr1.c: New file.
19424 * string/Makefile: Add rules to build and run bug-strstr1.
19425
5fb308bc
EB
194262010-10-05 Eric Blake <eblake@redhat.com>
19427
19428 [BZ #12092]
19429 * string/str-two-way.h (two_way_long_needle): Always clear memory
19430 when skipping input due to the shift table.
19431
45db99c7
UD
194322010-10-03 Ulrich Drepper <drepper@gmail.com>
19433
3b111893
UD
19434 [BZ #12005]
19435 * malloc/mcheck.c: Handle large requests.
19436
45db99c7
UD
19437 [BZ #12077]
19438 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
19439 for strncmp and strncasecmp.
19440 * string/stratcliff.c: Add tests for strcmp and strncmp.
19441 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
19442
cf7a1eb8
NI
194432010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19444
19445 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
19446 __set_fpscr.
19447
6484ba5e
AJ
194482010-09-30 Andreas Jaeger <aj@suse.de>
19449
19450 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
19451 (CGROUP_SUPER_MAGIC): Define.
19452 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19453 Handle btrfs and cgroup file systems.
19454 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19455 Likewise.
19456
91c42559
LM
194572010-09-27 Luis Machado <luisgpm@br.ibm.com>
19458
19459 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
19460 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
19461
87a97932
AK
194622010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19463
19464 [BZ #12067]
19465 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
19466 trying to locate the ELF header.
19467
c21cc9bc
AS
194682010-09-27 Andreas Schwab <schwab@redhat.com>
19469
19470 [BZ #11611]
19471 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
19472 Mask out sign-bit copies when constructing f_fsid.
19473
315970f6
PB
194742010-09-24 Petr Baudis <pasky@suse.cz>
19475
19476 * debug/stack_chk_fail_local.c: Add missing licence exception.
19477 * debug/warning-nop.c: Likewise.
19478
1ac7a2c7
JM
194792010-09-15 Joseph Myers <joseph@codesourcery.com>
19480
19481 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
19482 implementing getdents64 using getdents syscall, set d_type if
19483 __ASSUME_GETDENTS32_D_TYPE.
19484
56801c50
AS
194852010-09-16 Andreas Schwab <schwab@redhat.com>
19486
19487 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
19488 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
19489
dda51327
UD
194902010-09-21 Ulrich Drepper <drepper@redhat.com>
19491
19492 [BZ #12037]
19493 * posix/unistd.h: Undo change of feature selection for ftruncate from
19494 2010-01-11.
19495
8ffcee4a
UD
194962010-09-20 Ulrich Drepper <drepper@redhat.com>
19497
a545ecd9 19498 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
19499 detection.
19500
e24f0a8b
AS
195012010-09-20 Andreas Schwab <schwab@redhat.com>
19502
19503 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
19504 fanotify_mark.
19505 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19506
7291c56f
AS
195072010-09-14 Andreas Schwab <schwab@redhat.com>
19508
19509 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
19510 variables after CHECK_SP call.
19511 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
19512
bc5fb037
AS
195132010-09-13 Andreas Schwab <schwab@redhat.com>
19514 Ulrich Drepper <drepper@redhat.com>
19515
19516 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
19517 re-relocationg ld.so.
19518 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
19519 _dl_init_paths call.
19520 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
19521 here anymore.
19522
e66e7419
UD
195232010-09-14 Ulrich Drepper <drepper@redhat.com>
19524
19525 * resolv/res_init.c (__res_vinit): Count the default server we added.
19526
c044aa75
CLT
195272010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
19528 Ulrich Drepper <drepper@redhat.com>
19529
19530 [BZ #11968]
19531 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19532 (____longjmp_chk): Use %ebx for saving value across system call.
19533 Add unwind info.
19534
32cf4069
AS
195352010-09-06 Andreas Schwab <schwab@redhat.com>
19536
19537 * manual/Makefile: Don't mix pattern rules with normal rules.
19538
817328ee
AS
195392010-09-05 Andreas Schwab <schwab@linux-m68k.org>
19540
19541 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
19542 operation.
19543 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
19544 * libio/iofopncook.c (_IO_cookie_init): Likewise.
19545 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
19546 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
19547 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19548 Likewise.
19549
29fddf61
UD
195502010-09-04 Ulrich Drepper <drepper@redhat.com>
19551
19552 [BZ #11979]
19553 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
19554 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
19555
0959ffc9
UD
195562010-09-02 Ulrich Drepper <drepper@redhat.com>
19557
19558 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
19559 * sysdeps/x86_64/addmul_1.S: Likewise.
19560 * sysdeps/x86_64/lshift.S: Likewise.
19561 * sysdeps/x86_64/mul_1.S: Likewise.
19562 * sysdeps/x86_64/rshift.S: Likewise.
19563 * sysdeps/x86_64/sub_n.S: Likewise.
19564 * sysdeps/x86_64/submul_1.S: Likewise.
19565
ece29840
ST
195662010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
19567
0959ffc9
UD
19568 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
19569 Define __sched_param instead of SCHED_* and sched_param when
ece29840 19570 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 19571 * bits/sched.h [__need_schedparam]
ece29840 19572 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
19573 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
19574 (__defined_schedparam): Define to 1.
ece29840
ST
19575 (__sched_param): New structure, identical to sched_param.
19576 (__need_schedparam): Undefine.
19577
e53a31fe
MF
195782010-08-31 Mike Frysinger <vapier@gentoo.org>
19579
fdc0c10d
MF
19580 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
19581 (epoll_create1): Declare.
19582
e53a31fe
MF
19583 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
19584
a726d796
AS
195852010-08-31 Andreas Schwab <schwab@redhat.com>
19586
19587 [BZ #7066]
19588 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
19589 shifting retval into place.
19590
2f3e3dc7
UD
195912010-09-01 Ulrich Drepper <drepper@redhat.com>
19592
f2933da9
UD
19593 * nis/rpcsvc/nis.h: Update copyright notice.
19594 * nis/rpcsvc/nis.x: Likewise.
19595 * nis/rpcsvc/nis_callback.h: Likewise.
19596 * nis/rpcsvc/nis_callback.x: Likewise.
19597 * nis/rpcsvc/nis_object.x: Likewise.
19598 * nis/rpcsvc/nis_tags.h: Likewise.
19599 * nis/rpcsvc/yp.h: Likewise.
19600 * nis/rpcsvc/yp.x: Likewise.
19601 * nis/rpcsvc/ypupd.h: Likewise.
19602 * nis/yp_xdr.c: Likewise.
19603 * nis/ypupdate_xdr.c: Likewise.
19604
2f3e3dc7
UD
19605 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
19606 mainly the body of pmap_getport. Add parameters to specify timeouts.
19607 (pmap_getport): Use __libc_rpc_getport.
19608 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
19609 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
19610 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
19611
f3dcc2f9
AS
196122010-08-31 Andreas Schwab <schwab@linux-m68k.org>
19613
19614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
19615 fanotify_mark.
19616
6d34eb5b
RM
196172010-08-27 Roland McGrath <roland@redhat.com>
19618
19619 * sysdeps/i386/i686/multiarch/Makefile
19620 (CFLAGS-varshift.c): New variable.
19621
9ea3de11
UD
196222010-08-27 Ulrich Drepper <drepper@redhat.com>
19623
c96d23fc
UD
19624 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
19625 * sysdeps/i386/i686/multiarch/varshift.c: New file.
19626
9ea3de11
UD
19627 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
19628
19629 * sysdeps/x86_64/strlen.S: Minimal code improvement.
19630
623aac7f
L
196312010-08-26 H.J. Lu <hongjiu.lu@intel.com>
19632
19633 * sysdeps/x86_64/strlen.S: Unroll the loop.
19634 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19635 strlen-sse2 strlen-sse2-bsf.
19636 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
19637 __strlen_no_bsf if bit_Slow_BSF is set.
19638 (__strlen_sse42): Removed.
19639 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
19640 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
19641
8b2b7715
RM
196422010-08-25 Roland McGrath <roland@redhat.com>
19643
19644 * sysdeps/x86_64/multiarch/varshift.S: File removed.
19645 * sysdeps/x86_64/multiarch/varshift.c: New file.
19646 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
19647 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
19648 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
19649 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19650
e73015f2
L
196512010-08-25 H.J. Lu <hongjiu.lu@intel.com>
19652
19653 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19654 strlen-sse2 strlen-sse2-bsf.
19655 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
19656 __strlen_sse2_bsf if bit_Slow_BSF is unset.
19657 (__strlen_sse2): Removed.
19658 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
19659 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
19660 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19661 bit_Slow_BSF for Atom.
19662 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
19663 (index_Slow_BSF): Define.
19664 (HAS_SLOW_BSF): Define.
19665
df24a73e
UD
196662010-08-25 Ulrich Drepper <drepper@redhat.com>
19667
19668 [BZ #10851]
19669 * resolv/res_init.c (__res_vinit): When no server address at all
19670 is given default to loopback.
19671
f2ac4868
RM
196722010-08-24 Roland McGrath <roland@redhat.com>
19673
09055553
RM
19674 * configure.in: Remove config-name.h generation.
19675 * configure: Regenerated.
19676 * config-name.in: File removed.
19677 * scripts/config-uname.sh: New file.
19678 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
19679 ($(objdir)config-name.h): New target.
19680
f2ac4868
RM
19681 * sunrpc/rpc_parse.h: Avoid nested comment.
19682
73f27d5e
RH
196832010-08-24 Richard Henderson <rth@redhat.com>
19684 Ulrich Drepper <drepper@redhat.com>
19685 H.J. Lu <hongjiu.lu@intel.com>
19686
19687 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
19688 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
19689 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
19690 Replace _mm_srli_si128 with __m128i_shift_right. Replace
19691 _mm_alignr_epi8 with _mm_loadu_si128.
19692 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
19693 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
19694 (__m128i_shift_right): Removed.
19695 * sysdeps/i386/i686/multiarch/varshift.h: New file.
19696 * sysdeps/i386/i686/multiarch/varshift.S: New file.
19697 * sysdeps/x86_64/multiarch/varshift.h: New file.
19698 * sysdeps/x86_64/multiarch/varshift.S: New file.
19699
84b9230c
MF
197002010-08-21 Mike Frysinger <vapier@gentoo.org>
19701
19702 * configure.in: Move assembler checks to before sysdep dir checking.
19703
9bbd0ddc
PB
197042010-08-20 Petr Baudis <pasky@suse.cz>
19705
19706 * LICENSES: Sync the sunrpc license.
19707
9da4bb31
UD
197082010-08-19 Ulrich Drepper <drepper@redhat.com>
19709
a7ab6ec8
UD
19710 * sunrpc/auth_des.c: Update copyright notice once again.
19711 * sunrpc/auth_none.c: Likewise.
19712 * sunrpc/auth_unix.c: Likewise.
19713 * sunrpc/authdes_prot.c: Likewise.
19714 * sunrpc/authuxprot.c: Likewise.
19715 * sunrpc/bindrsvprt.c: Likewise.
19716 * sunrpc/clnt_gen.c: Likewise.
19717 * sunrpc/clnt_perr.c: Likewise.
19718 * sunrpc/clnt_raw.c: Likewise.
19719 * sunrpc/clnt_simp.c: Likewise.
19720 * sunrpc/clnt_tcp.c: Likewise.
19721 * sunrpc/clnt_udp.c: Likewise.
19722 * sunrpc/clnt_unix.c: Likewise.
19723 * sunrpc/des_crypt.c: Likewise.
19724 * sunrpc/des_soft.c: Likewise.
19725 * sunrpc/get_myaddr.c: Likewise.
19726 * sunrpc/getrpcport.c: Likewise.
19727 * sunrpc/key_call.c: Likewise.
19728 * sunrpc/key_prot.c: Likewise.
19729 * sunrpc/openchild.c: Likewise.
19730 * sunrpc/pm_getmaps.c: Likewise.
19731 * sunrpc/pm_getport.c: Likewise.
19732 * sunrpc/pmap_clnt.c: Likewise.
19733 * sunrpc/pmap_prot.c: Likewise.
19734 * sunrpc/pmap_prot2.c: Likewise.
19735 * sunrpc/pmap_rmt.c: Likewise.
19736 * sunrpc/rpc/auth.h: Likewise.
19737 * sunrpc/rpc/auth_unix.h: Likewise.
19738 * sunrpc/rpc/clnt.h: Likewise.
19739 * sunrpc/rpc/des_crypt.h: Likewise.
19740 * sunrpc/rpc/key_prot.h: Likewise.
19741 * sunrpc/rpc/netdb.h: Likewise.
19742 * sunrpc/rpc/pmap_clnt.h: Likewise.
19743 * sunrpc/rpc/pmap_prot.h: Likewise.
19744 * sunrpc/rpc/pmap_rmt.h: Likewise.
19745 * sunrpc/rpc/rpc.h: Likewise.
19746 * sunrpc/rpc/rpc_des.h: Likewise.
19747 * sunrpc/rpc/rpc_msg.h: Likewise.
19748 * sunrpc/rpc/svc.h: Likewise.
19749 * sunrpc/rpc/svc_auth.h: Likewise.
19750 * sunrpc/rpc/types.h: Likewise.
19751 * sunrpc/rpc/xdr.h: Likewise.
19752 * sunrpc/rpc_clntout.c: Likewise.
19753 * sunrpc/rpc_cmsg.c: Likewise.
19754 * sunrpc/rpc_common.c: Likewise.
19755 * sunrpc/rpc_cout.c: Likewise.
19756 * sunrpc/rpc_dtable.c: Likewise.
19757 * sunrpc/rpc_hout.c: Likewise.
19758 * sunrpc/rpc_main.c: Likewise.
19759 * sunrpc/rpc_parse.c: Likewise.
19760 * sunrpc/rpc_parse.h: Likewise.
19761 * sunrpc/rpc_prot.c: Likewise.
19762 * sunrpc/rpc_sample.c: Likewise.
19763 * sunrpc/rpc_scan.c: Likewise.
19764 * sunrpc/rpc_scan.h: Likewise.
19765 * sunrpc/rpc_svcout.c: Likewise.
19766 * sunrpc/rpc_tblout.c: Likewise.
19767 * sunrpc/rpc_util.c: Likewise.
19768 * sunrpc/rpc_util.h: Likewise.
19769 * sunrpc/rpcinfo.c: Likewise.
19770 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
19771 * sunrpc/rpcsvc/key_prot.x: Likewise.
19772 * sunrpc/rpcsvc/klm_prot.x: Likewise.
19773 * sunrpc/rpcsvc/mount.x: Likewise.
19774 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
19775 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
19776 * sunrpc/rpcsvc/rex.x: Likewise.
19777 * sunrpc/rpcsvc/rstat.x: Likewise.
19778 * sunrpc/rpcsvc/rusers.x: Likewise.
19779 * sunrpc/rpcsvc/sm_inter.x: Likewise.
19780 * sunrpc/rpcsvc/spray.x: Likewise.
19781 * sunrpc/rpcsvc/yppasswd.x: Likewise.
19782 * sunrpc/rtime.c: Likewise.
19783 * sunrpc/svc.c: Likewise.
19784 * sunrpc/svc_auth.c: Likewise.
19785 * sunrpc/svc_authux.c: Likewise.
19786 * sunrpc/svc_raw.c: Likewise.
19787 * sunrpc/svc_run.c: Likewise.
19788 * sunrpc/svc_simple.c: Likewise.
19789 * sunrpc/svc_tcp.c: Likewise.
19790 * sunrpc/svc_udp.c: Likewise.
19791 * sunrpc/svc_unix.c: Likewise.
19792 * sunrpc/svcauth_des.c: Likewise.
19793 * sunrpc/xcrypt.c: Likewise.
19794 * sunrpc/xdr.c: Likewise.
19795 * sunrpc/xdr_array.c: Likewise.
19796 * sunrpc/xdr_float.c: Likewise.
19797 * sunrpc/xdr_mem.c: Likewise.
19798 * sunrpc/xdr_rec.c: Likewise.
19799 * sunrpc/xdr_ref.c: Likewise.
19800 * sunrpc/xdr_sizeof.c: Likewise.
19801 * sunrpc/xdr_stdio.c: Likewise.
19802
9da4bb31
UD
19803 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
19804 handling.
19805
bdaa77bc
AS
198062010-08-19 Andreas Schwab <schwab@redhat.com>
19807
19808 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
19809
fe2f79db
LM
198102010-08-19 Luis Machado <luisgpm@br.ibm.com>
19811
19812 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
19813 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
19814 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
19815 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
19816 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
19817 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
19818 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
19819 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
19820 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
19821 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
19822 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
19823 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
19824 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
19825 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
19826
b9b42ee0
AB
198272010-07-26 Anton Blanchard <anton@samba.org>
19828
19829 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
19830 * malloc/arena.c (heap_trim): Likewise.
19831
1c06ba31
UD
198322010-08-16 Ulrich Drepper <drepper@redhat.com>
19833
19834 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
19835 here. Not...
19836 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
19837 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
19838
f8392f40
L
198392010-08-12 H.J. Lu <hongjiu.lu@intel.com>
19840
19841 * sysdeps/i386/elf/Makefile: New file.
19842
3162f12e
AS
198432010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19844
19845 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
19846 from fanotify_init.
19847 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
19848 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19849
28c90b2c
UD
198502010-08-15 Ulrich Drepper <drepper@redhat.com>
19851
19852 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
19853 of strncasecmp_l.
1feccb6c 19854 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 19855
ca6bb004
UD
198562010-08-14 Ulrich Drepper <drepper@redhat.com>
19857
e9f82e0d
UD
19858 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19859 strncase_l-nonascii.
19860 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19861 Add strncase_l-ssse3.
19862 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
19863 * sysdeps/x86_64/strcmp.S: Likewise.
19864 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
19865 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
19866 * sysdeps/x86_64/strncase.S: New file.
19867 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
19868 * sysdeps/x86_64/strncase_l.S: New file.
19869 * string/Makefile (strop-tests): Add strncasecmp.
19870 * string/test-strncasecmp.c: New file.
19871
19872 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
19873 warning.
19874
ca6bb004
UD
19875 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
19876 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
19877
052fa7b3
AS
198782010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19879
19880 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
19881
962dba78
UD
198822010-08-12 Ulrich Drepper <drepper@redhat.com>
19883
19884 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
19885 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
19886 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
19887
bebff237
AM
198882010-05-01 Alan Modra <amodra@gmail.com>
19889
19890 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
19891 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
19892 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
19893 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
19894 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
19895 tidying. Don't tail-call __sigjmp_save for static lib.
19896 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
19897 save location.
19898 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
19899 (CALL_MCOUNT): Add eh info, and nop after bl.
19900 (TAIL_CALL_SYSCALL_ERROR): New macro.
19901 (PSEUDO_RET): Use it.
19902 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19903 Correct save location of integer regs and cr.
19904 (_dl_profile_resolve): Correct cr save location. Delete nops
19905 after bl when SHARED. Reduce cfi size a little by better
19906 placement of cfi directives.
19907 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
19908 make a stack frame. Instead use parm save area as a temp.
19909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
19910 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
19911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19912 Don't make a stack frame for parent, use parm save area.
19913 Increase child stack frame to 112 bytes. Don't save unused reg,
19914 and adjust reg usage. Set up cfi on error recovery and
19915 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
19916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19917 (__makecontext): Add dummy nop after jump to exit.
19918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
19919 Use correct parm save area and cr save, reduce stack frame.
19920 Correct cfi for possible PSEUDO_RET frame setup.
19921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
19922 Branch to local label emitted by PSEUDO_RET rather than
19923 __syscall_error.
19924
02637374
AS
199252010-08-12 Andreas Schwab <schwab@redhat.com>
19926
19927 [BZ #11904]
19928 * locale/programs/locale.c (print_assignment): New function.
19929 (show_locale_vars): Use it.
19930
c3e2f19b
UD
199312010-08-11 Ulrich Drepper <drepper@redhat.com>
19932
3cdaa6ad
UD
19933 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
19934 field.
19935 (struct statfs64): Likewise.
19936 (_STATFS_F_FLAGS): Define.
19937 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
19938 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19939 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
19940 (ST_VALID): Define locally.
19941 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
19942 __statvfs_getflags, use the provided value.
19943 * sysdeps/unix/sysv/linux/kernel-features.h: Define
19944 __ASSUME_STATFS_F_FLAGS.
19945
754f7da3
UD
19946 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
19947
10b3bedc
UD
19948 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
19949 Add sys/fanotify.h.
19950 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
19951 fanotify_mask for GLIBC_2.13.
19952 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
19953 fanotify_init and fanotify_mark.
19954 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19955 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
19956
c08fb0d7
UD
19957 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
19958 Add prlimit.
19959 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
19960 prlimit64 for GLIBC_2.13.
19961 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
19962 prlimit64.
19963 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
19964 syscall.
19965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
19966 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19967 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
19968 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
19969 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
19970 add prlimit alias.
19971 * sysdeps/unix/sysv/linux/prlimit.c: New file.
19972
15bac72b
UD
19973 [BZ #11903]
19974 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
19975 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
19976
c3e2f19b
UD
19977 * nss/Makefile: Add rules to build and run tst-nss-test1.
19978 * shlib-versions: Add entry for libnss_test1.
19979 * nss/nss_test1.c: New file.
19980 * nss/tst-nss-test1.c: New file.
19981
19982 * nss/nsswitch.c (__nss_database_custom): Define new variable.
19983 (__nss_configure_lookup): Set appropriate entry in
19984 __nss_configure_lookup to true.
19985 * nss/nsswitch.h: Define enum with indeces of databases in
19986 databases and __nss_database_custom arrays. Declare
19987 __nss_database_custom.
19988 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
19989 to avoid using nscd when custom rules are installed.
19990 * nss/getXXbyYY_r.c: Likewise.
19991 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19992
19993 * nss/nss_files/files-parse.c: Whitespace fixes.
19994
f15ce4d8
UD
199952010-08-09 Ulrich Drepper <drepper@redhat.com>
19996
19997 [BZ #11883]
19998 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
19999 * posix/fnmatch_loop.c: Likewise.
20000
d22e4cc9
AK
200012010-07-17 Andi Kleen <ak@linux.intel.com>
20002
20003 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
20004 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
20005 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
20006 * Versions.def [GLIBC_2.13]: Add.
20007
805bc17d
UD
200082010-08-06 Ulrich Drepper <drepper@redhat.com>
20009
20010 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20011 Also fail if tpwd after pwuid call is NULL.
20012
5a42321d
ST
200132010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
20014
20015 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
20016 when converting to ms.
20017
fd3ebeda
ST
200182010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20019
20020 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
20021 EOPNOTSUPP errors with ENOTTY.
20022 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
20023 EOPNOTSUPP errors with ENOTTY.
20024
73507d3a
UD
200252010-07-31 Ulrich Drepper <drepper@redhat.com>
20026
20027 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20028 Add strcasecmp_l-ssse3.
20029 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
20030 strcasecmp.
20031 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
20032 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
20033 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
20034
fe36dd02
UD
200352010-07-30 Ulrich Drepper <drepper@redhat.com>
20036
66f6765a
UD
20037 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
20038
42e08a54
UD
20039 * string/Makefile (strop-tests): Add strcasecmp.
20040 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20041 strcasecmp_l-nonascii.
20042 (gen-as-const-headers): Add locale-defines.sym.
20043 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
20044 * sysdeps/x86_64/strcasecmp.S: New file.
20045 * sysdeps/x86_64/strcasecmp_l.S: New file.
20046 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
20047 * sysdeps/x86_64/locale-defines.sym: New file.
20048 * string/test-strcasecmp.c: New file.
20049
fe36dd02
UD
20050 * string/test-strcasestr.c: Test both ends of the range of characters.
20051 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
20052
48cbc0d6
RM
200532010-07-29 Roland McGrath <roland@redhat.com>
20054
76e6d6bc 20055 [BZ #11856]
48cbc0d6
RM
20056 * manual/locale.texi (Yes-or-No Questions): Fix example code.
20057
880113d9
UD
200582010-07-27 Ulrich Drepper <drepper@redhat.com>
20059
20060 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
20061 for ld.so.
20062
deb9cabb
AS
200632010-07-27 Andreas Schwab <schwab@redhat.com>
20064
20065 * manual/memory.texi (Malloc Tunable Parameters): Document
20066 M_PERTURB.
20067
1c7570ff
RM
200682010-07-26 Roland McGrath <roland@redhat.com>
20069
20070 [BZ #11840]
20071 * configure.in (-fgnu89-inline check): Set and substitute
20072 gnu89_inline, not libc_cv_gnu89_inline.
20073 * configure: Regenerated.
20074 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
20075
24fb0f88
UD
200762010-07-26 Ulrich Drepper <drepper@redhat.com>
20077
20078 * string/test-strnlen.c: New file.
20079 * string/Makefile (strop-tests): Add strnlen.
20080 * string/tester.c (test_strnlen): Add a few more test cases.
20081 * string/tst-strlen.c: Better error reporting.
20082
20083 * sysdeps/x86_64/strnlen.S: New file.
20084
8e96b93a
UD
200852010-07-24 Ulrich Drepper <drepper@redhat.com>
20086
20087 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
20088 lower-latency instructions.
20089
dbc676d4
UD
200902010-07-23 Ulrich Drepper <drepper@redhat.com>
20091
20092 * string/test-strcasestr.c: New file.
20093 * string/test-strstr.c: New file.
20094 * string/Makefile (strop-tests): Add strstr and strcasestr.
20095 * string/str-two-way.h: Don't undefine MAX.
20096 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
20097
f6a31e0e
AS
200982010-07-21 Andreas Schwab <schwab@redhat.com>
20099
20100 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20101 strcasestr-nonascii.
20102 (CFLAGS-strcasestr-nonascii.c): Define.
20103 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
20104 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
20105 Remove unused attribute.
20106
5dbc3b6c
RM
201072010-07-20 Roland McGrath <roland@redhat.com>
20108
20109 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
20110 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
20111 ld.so.cache was broken. With it, there is no way to disable dsocaps
20112 like LD_HWCAP_MASK can disable hwcaps.
20113
23d101d8
EPM
201142010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20115
20116 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
20117
cc9f2e47
UD
201182010-07-16 Ulrich Drepper <drepper@redhat.com>
20119
20120 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
20121 call in strcasestr.
20122 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
20123 __strcasestr_sse42_nonascii.
20124 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
20125 strcasestr-nonascii.c.
20126 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
20127
77c1b069
LM
201282010-06-15 Luis Machado <luisgpm@br.ibm.com>
20129
20130 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
20131 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
20132 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
20133 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
20134
440566c3
UD
201352010-07-09 Ulrich Drepper <drepper@redhat.com>
20136
20137 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
20138 fcntl.
20139
5be9d05d
AS
201402010-07-06 Andreas Schwab <schwab@redhat.com>
20141
c30b7ee2 20142 [BZ #11577]
5be9d05d
AS
20143 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
20144 dl_signal_cerror.
20145
8a492a67
UD
201462010-07-06 Ulrich Drepper <drepper@redhat.com>
20147
20148 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
20149 _PC_PIPE_BUF using F_GETPIPE_SZ.
20150
713df3d5
RM
201512010-07-05 Roland McGrath <roland@redhat.com>
20152
20153 * manual/arith.texi (Rounding Functions): Fix rint description
20154 implicit in round description.
20155
702e8f14
UD
201562010-07-02 Ulrich Drepper <drepper@redhat.com>
20157
20158 * elf/Makefile: Fix linking for a few tests to make recent linker
20159 happy.
20160
52ed8be9
AS
201612010-06-30 Andreas Schwab <schwab@redhat.com>
20162
20163 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20164 $(common-objpfx)libc_nonshared.a.
20165
f47c9a11
LM
201662010-06-21 Luis Machado <luisgpm@br.ibm.com>
20167
20168 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
20169 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
20170 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20171 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20172 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
20173 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
20174 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20175 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
20177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
20178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
20179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
20181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
20183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
20184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
20185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
20186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
20188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
20190 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
20191 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
20192 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
20193 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
20194 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
20195 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
20196 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
20197 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
20198 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
20199 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
20200 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
20201 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
20202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
20203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
20204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
20205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
20206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
20207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
20208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
20209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
20210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
20211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
20212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
20213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
20214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
20215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
20216
6fb8cbcb
L
202172010-06-25 H.J. Lu <hongjiu.lu@intel.com>
20218
20219 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
20220 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
20221 * string/memmove.c (memmove): Renamed to ...
20222 (MEMMOVE): ...this. Default to memmove.
20223 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
20224 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
20225 (END_CHK): Define.
20226 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20227 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
20228 mempcpy-ssse3-back memmove-ssse3-back.
20229 * sysdeps/x86_64/multiarch/bcopy.S: New file .
20230 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
20231 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
20232 * sysdeps/x86_64/multiarch/memcpy.S: New file.
20233 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
20234 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
20235 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
20236 * sysdeps/x86_64/multiarch/memmove.c: New file.
20237 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
20238 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
20239 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
20240 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
20241 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
20242 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
20243 Define.
20244 (index_Fast_Copy_Backward): Define.
20245 (HAS_ARCH_FEATURE): Define.
20246 (HAS_FAST_REP_STRING): Define.
20247 (HAS_FAST_COPY_BACKWARD): Define.
20248
4e733bac 202492010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
20250
20251 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20252 Restore proper fallback handling.
20253
63c4ed22
UD
202542010-06-19 Ulrich Drepper <drepper@redhat.com>
20255
ac2b484c
UD
20256 [BZ #11701]
20257 * posix/group_member.c (__group_member): Correct checking loop.
20258
63c4ed22
UD
20259 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
20260 OOM in getpwuid_r correctly. Return error number when the caller
20261 should return, otherwise -1.
20262 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
20263 call returning > 0 value.
20264 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
20265
765ade4b
AS
202662010-06-07 Andreas Schwab <schwab@redhat.com>
20267
20268 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
20269 libc_nonshared.a from targets in modules-names.
20270
80da2e09
KS
202712010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
20272
20273 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
20274 requires it.
20275
158db122
LM
202762010-06-10 Luis Machado <luisgpm@br.ibm.com>
20277
20278 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
20279 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
20280 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
20281 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
20282
caa78cf8
AS
202832010-06-02 Andreas Schwab <schwab@redhat.com>
20284
20285 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
20286
b2ef2c01
UD
202872010-06-14 Ulrich Drepper <drepper@redhat.com>
20288
20289 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
20290 and F_GETPIPE_SZ.
20291 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20292 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20293 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20294 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20295 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20296 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
20297
fbd643b6
RM
202982010-06-14 Roland McGrath <roland@redhat.com>
20299
20300 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
20301
f32f2869
JJ
203022010-06-07 Jakub Jelinek <jakub@redhat.com>
20303
20304 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
20305 __REDIRECT followed by __THROW.
20306 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
20307 * posix/getopt.h (getopt): Likewise.
20308
2a50c078
EPM
203092010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20310
20311 * hurd/lookup-at.c (__file_name_lookup_at): Accept
20312 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
20313 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
20314 in AT_FLAGS.
20315 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
20316 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
20317
eb5ad2eb
LM
203182010-05-28 Luis Machado <luisgpm@br.ibm.com>
20319
20320 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
20321
3c88fe1e
L
203222010-05-26 H.J. Lu <hongjiu.lu@intel.com>
20323
20324 [BZ #11640]
20325 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20326 Properly check family and model.
20327
d2f73151
TY
203282010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
20329
20330 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
20331
ebd2e13d
LM
203322010-05-24 Luis Machado <luisgpm@br.ibm.com>
20333
20334 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
20335
b32b8b45
UD
203362010-05-21 Ulrich Drepper <drepper@redhat.com>
20337
20338 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
20339 symbol reference.
20340
9acbe24d
AS
203412010-05-19 Andreas Schwab <schwab@redhat.com>
20342
20343 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
20344 symbol reference.
20345
f0ccf6ea
AS
203462010-05-21 Andreas Schwab <schwab@redhat.com>
20347
3d04ff3a
AS
20348 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
20349 and internal_recvmmsg.
20350 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
20351 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
20352 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
20353 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
20354
f0ccf6ea
AS
20355 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
20356 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20357 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20358
5b08ac57
AS
203592010-05-20 Andreas Schwab <schwab@redhat.com>
20360
20361 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
20362
4828935d
LM
203632010-05-17 Luis Machado <luisgpm@br.ibm.com>
20364
20365 POWER7 optimizations.
20366 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
20367 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
20368
373d545e
UD
203692010-05-19 Ulrich Drepper <drepper@redhat.com>
20370
20371 * version.h: Update for 2.13 development version.
20372
21a2b1ae
AS
203732010-05-12 Andrew Stubbs <ams@codesourcery.com>
20374
20375 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
20376 exceptions. Return 0.
20377
3f7dcb2b
RM
203782010-05-07 Roland McGrath <roland@redhat.com>
20379
20380 * elf/ldconfig.c (main): Add a const.
20381
5f24d53a 203822010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 20383
a160f8d8
UD
20384 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
20385 (args_options): Add no-idn option.
20386 (ahosts_keys_int): Add idn_flags to ai_flags.
20387 (parse_option): Handle 'i' option to clear idn_flags.
20388
5f24d53a
UD
20389 * malloc/malloc.c (_int_free): Possible race in the most recently
20390 added check. Only act on the data if no current modification
20391 happened.
265bb1ce
UD
20392
20393See ChangeLog.17 for earlier changes.