]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Remove _G_off64_t and _G_stat64 from _G_config.h.
[thirdparty/glibc.git] / ChangeLog
1 2012-10-09 Joseph Myers <joseph@codesourcery.com>
2
3 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
4 (_G_stat64): Likewise.
5 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
6 (_G_stat64): Likewise.
7 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
8 instead of struct _G_stat64.
9 * libio/fileops.c (mmap_remap_check): Likewise.
10 (decide_maybe_mmap): Likewise.
11 (_IO_new_file_seekoff): Likewise.
12 (_IO_file_stat): Likewise.
13 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
14 _G_off64_t.
15 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
16 instead of struct _G_stat64.
17 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18
19 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
20
21 [BZ #14602]
22 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23 Replace with ...
24 (CHECK_EOL): New macro.
25 (two_way_short_needle): Check beginning of haystack for EOL. Use
26 CHECK_EOL.
27 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28 Replace with CHECK_EOL.
29 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30 Replace with CHECK_EOL.
31
32 2012-10-08 Joseph Myers <joseph@codesourcery.com>
33
34 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
35 type-generic.
36 * math/libm-test.inc: Update comment listing what functions and
37 macros are tested.
38 (finite_test): New function.
39 (isinf_test): Likewise.
40 (isnan_test): Likewise.
41 (fpclassify_test): Test subnormal input.
42 (isfinite_test): Likewise.
43 (isnormal_test): Likewise.
44 (main): Call the new functions.
45
46 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
47
48 [BZ #14660]
49 * Makerules (%.dynsym): Force C locale when running
50 $(OBJDUMP) --dynamic-syms.
51
52 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
53
54 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
55 <stdint.h>.
56
57 2012-10-06 David S. Miller <davem@davemloft.net>
58
59 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
60 upper 32-bits of the length value in %o2 since we use branch-on-register
61 tests which consider the entire 64-bit register.
62
63 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
64
65 * string/test-strstr.c (check2): Add a test for page boundary.
66
67 2012-10-05 David S. Miller <davem@davemloft.net>
68
69 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
70 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
71 file.
72 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
73 sysdep_routines.
74 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
75 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
76 and bzero when HWCAP_SPARC_CRYPTO is present.
77
78 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
79
80 [BZ #14602]
81 * string/test-strstr.c (check2): New function.
82 (test_main): Call check2.
83
84 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
85 and bug-strchr1.
86 * string/bug-strcasestr1.c (do_test): Moved to ...
87 * string/test-strcasestr.c (check1): Here. New function.
88 (do_one_test): Break out result checking code into ...
89 (check_result): This. New function.
90 (do_one_test): Call check_result.
91 (test_main): Call check1.
92 * string/bug-strchr1.c (do_test): Moved to ...
93 * string/test-strchr.c (check1): Here. New function.
94 (do_one_test): Break out result checking code into ...
95 (check_result): This. New function.
96 (do_one_test): Call check_result.
97 (test_main): Call check1.
98 * string/bug-strstr1.c (main): Moved to ...
99 * string/test-strchr.c (check1): Here. New function.
100 (do_one_test): Break out result checking code into ...
101 (check_result): This. New function.
102 (do_one_test): Call check_result.
103 (test_main): Call check1.
104 * string/bug-strcasestr1.c: Removed.
105 * string/bug-strchr1.c: Likewise.
106 * string/bug-strstr1.c: Likewise.
107
108 * elf/Makefile (dl-routines): Add hwcaps.
109 * elf/dl-support.c (_dl_important_hwcaps): Removed.
110 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
111 (_dl_important_hwcaps): Moved to ...
112 * elf/dl-hwcaps.c: Here. New file.
113 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
114
115 [BZ #14557]
116 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
117 if IS_IN_rtld isn't defined.
118
119 * elf/dl-support.c (_dl_sysinfo_map): New.
120 Include "get-dynamic-info.h" and "setup-vdso.h".
121 (_dl_non_dynamic_init): Call setup_vdso.
122 * elf/dynamic-link.h: Don't include <assert.h>.
123 (elf_get_dynamic_info): Moved to ...
124 * elf/get-dynamic-info.h: Here. New file.
125 * elf/dynamic-link.h: Include "get-dynamic-info.h".
126 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
127 * elf/setup-vdso.h: Here. New file.
128 * elf/rtld.c: Include "setup-vdso.h".
129 (dl_main): Call setup_vdso.
130
131 2012-10-05 Joseph Myers <joseph@codesourcery.com>
132
133 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
134 creal in comment listing functions tested. List finite, isinf,
135 isnan, isless, islessequal, isgreater, isgreaterequal,
136 islessgreater, isunordered, lgamma_r and pow10 as functions and
137 macros not tested. Mention which functions not tested are aliases
138 for other functions. Fix typo. Note that signs of NaNs are not
139 tested.
140
141 * scripts/config.guess: Update from config.git.
142 * scripts/config.sub: Likewise.
143
144 2012-10-04 Roland McGrath <roland@hack.frob.com>
145
146 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
147 * misc/madvise.c (madvise): Renamed to __madvise.
148 Make madvise a weak alias.
149 * include/sys/mman.h: Declare __madvise.
150 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
151 * sysdeps/unix/syscalls.list
152 (madvise): Make __madvise the strong name, and madvise a weak alias.
153 * sysdeps/unix/sysv/linux/syscalls.list
154 (madvise, mmap): Remove redundant entries.
155 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
156 * malloc/malloc.c (mtrim): Likewise.
157 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
158
159 2012-10-03 Roland McGrath <roland@hack.frob.com>
160
161 * sysdeps/mach/hurd/dl-cache.c: File removed.
162 * config.h.in (USE_LDCONFIG): New #undef.
163 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
164 * configure: Regenerated.
165 * elf/Makefile (dl-routines): Add dl-cache only under
166 [$(use-ldconfig) = yes].
167 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
168 cache on [USE_LDCONFIG].
169 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
170 [USE_LDCONFIG].
171 * elf/rtld.c (dl_main): Likewise.
172
173 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
174
175 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
176 _SC_LEVEL4_CACHE_LINESIZE.
177
178 2012-10-03 Roland McGrath <roland@hack.frob.com>
179
180 * sysdeps/unix/bsd/confstr.h: File removed.
181
182 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
183
184 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
185 sys/sdt-config.h.
186
187 2012-10-02 Roland McGrath <roland@hack.frob.com>
188
189 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
190 Make 'mapoff' field ElfW(Off) rather than off_t.
191
192 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
193
194 * nscd/Makefile: Remove nscd-cflags and all its users.
195 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
196 (CFLAGS-nonlib): Add compiler flags for nscd modules.
197
198 [BZ #10631]
199 * malloc.c (malloc_printerr): Clarify error message.
200
201 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
202
203 [BZ #14648]
204 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
205 Set bit_FMA_Usable if FMA is supported.
206 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
207 macro.
208 (bit_FMA4_Usable): Updated.
209 (index_FMA_Usable): New macro.
210 (CPUID_FMA): Likewise
211 (HAS_FMA): Defined with bit_FMA_Usable.
212
213 2012-10-01 Roland McGrath <roland@hack.frob.com>
214
215 * bits/types.h (__swblk_t): Type removed.
216 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
217 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
218 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
219 (__SWBLK_T_TYPE): Likewise.
220 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
221 (__SWBLK_T_TYPE): Likewise.
222 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
223 (__SWBLK_T_TYPE): Likewise.
224 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
225 (__SWBLK_T_TYPE): Likewise.
226
227 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
228 Honza Horak <hhorak@redhat.com>
229
230 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
231 (xdr_mapname): Use YPMAXMAP as maxsize.
232 (xdr_peername): Use YPMAXPEER as maxsize.
233 (xdr_keydat): Use YPAXRECORD as maxsize.
234 (xdr_valdat): Use YPMAXRECORD as maxsize.
235
236 2012-10-01 Roland McGrath <roland@hack.frob.com>
237
238 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
239
240 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
241 * csu/init-first.c: ... here.
242 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
243 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
244 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
245 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
246 * sysdeps/i386/init-first.c: File removed.
247 * sysdeps/sh/init-first.c: File removed.
248
249 2012-10-01 Joseph Myers <joseph@codesourcery.com>
250
251 [BZ #14645]
252 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
253 if x * y might underflow to zero and z is zero.
254 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
255 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
256 * math/libm-test.inc (min_subnorm_value): New variable.
257 (fma_test): Add more tests.
258 (fma_test_towardzero): Likewise.
259 (fma_test_downward): Likewise
260 (fma_test_upward): Likewise.
261 (initialize): Set min_subnorm_value.
262
263 2012-09-29 Joseph Myers <joseph@codesourcery.com>
264
265 [BZ #14638]
266 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
267 0 + 0.
268 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
269 mode for addition resulting in exact zero.
270 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
271 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
272 exact 0 + 0.
273 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
274 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
275 * math/libm-test.inc (fma_test): Add more tests.
276 (fma_test_towardzero): New function.
277 (fma_test_downward): Likewise.
278 (fma_test_upward): Likewise.
279 (main): Call the new functions.
280
281 2012-09-28 David S. Miller <davem@davemloft.net>
282
283 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
284
285 2012-09-28 Roland McGrath <roland@hack.frob.com>
286
287 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
288 instead of SIGALRM.
289
290 * sysdeps/gnu/_G_config.h: Moved to ...
291 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
292 * sysdeps/mach/hurd/_G_config.h: Moved to ...
293 * sysdeps/generic/_G_config.h: ... here.
294
295 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
296
297 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
298
299 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
300 Conditionalize target on [libnss_test1.so-version].
301
302 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
303
304 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
305 (elfobjdir): Move out of conditionals.
306
307 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
308 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
309 (__nss_lookup_function): Conditionalize label remove_from_tree on
310 [!DO_STATIC_NSS || SHARED], matching its only use.
311
312 2012-09-28 David S. Miller <davem@davemloft.net>
313
314 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
315 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
316 file.
317 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
318 sysdep_routines.
319 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
320 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
321 when HWCAP_SPARC_CRYPTO is present.
322
323 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
324
325 * io/tst-mknodat.c: Create a FIFO instead of a socket.
326
327 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
328
329 [BZ #6530]
330 * stdio-common/vfprintf.c (process_string_arg): Revert
331 2000-07-22 change.
332
333 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
334
335 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
336 for testcase.
337 * stdio-common/tst-sprintf.c: Include <locale.h>
338 (main): Test sprintf's handling of incomplete multibyte
339 characters.
340
341 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
342
343 * elf/dl-runtime.c (VERSYMIDX): Removed.
344 * elf/dl-version.c (VERSYMIDX): Likewise.
345 * elf/do-rel.h (VERSYMIDX): Likewise.
346 (VALIDX): Likewise.
347 * elf/dynamic-link.h (VERSYMIDX): Likewise.
348 * elf/rtld.c (VALIDX): Likewise.
349 (ADDRIDX): Likewise.
350 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
351 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
352 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
353 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
354 (VALIDX): Likewise.
355 (ADDRIDX): Likewise.
356
357 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
358
359 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
360
361 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
362
363 [BZ #11438]
364 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
365 to global scope.
366 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
367 addresses are in the same scope as 192.0.2/24.
368 * posix/gai.conf: Document new scope table defaults.
369
370 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
371
372 [BZ #5298]
373 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
374 for ftell. Compute offsets from write pointers instead.
375 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
376
377 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
378
379 [BZ #14543]
380 * libio/Makefile (tests): New test case tst-fseek.
381 * libio/tst-fseek.c: New test case to verify that fseek/ftell
382 combination works in wide mode.
383 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
384 state when the external buffer state changes.
385
386 2012-09-27 David S. Miller <davem@davemloft.net>
387
388 [BZ #14376]
389 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
390 pass reloc->r_addend in as the 'high' argument to
391 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
392
393 * sysdeps/sparc/fpu/libm-test-ulps: Update.
394
395 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
396
397 * rt/tst-aio2.c: Include <pthread.h>.
398 * rt/tst-aio3.c: Likewise.
399
400 2012-09-27 Steve Ellcey <sellcey@mips.com>
401
402 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
403
404 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
405
406 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
407 contents on [SHARED].
408
409 2012-09-26 Marek Polacek <polacek@redhat.com>
410
411 [BZ #14530]
412 [BZ #13741]
413 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
414 for C++ and GCC <4.3 as well as for non GCC compilers.
415
416 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
417
418 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
419
420 2012-09-25 Roland McGrath <roland@hack.frob.com>
421
422 * Makefile.in (all, install): Declare with .PHONY.
423 Reported by Michael Hope <michael.hope@linaro.org>.
424
425 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
426
427 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
428 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
429 system header.
430 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
431 Likewise.
432 (sydep_routines): Add the new and the internal functions.
433 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
434 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
436 (GLIBC_2.17): Add the new function.
437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
438 (GLIBC_2.17): Likewise.
439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
440 (GLIBC_2.17): Likewise.
441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
442 (GLIBC_2.17): Likewise.
443 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
444
445 2012-09-25 Alan Modra <amodra@gmail.com>
446
447 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
448 Add release barrier before setting once_control to say
449 initialisation is done. Add hints on lwarx. Use macro in
450 place of isync.
451 (clear_once_control): Add release barrier.
452
453 2012-09-25 Joseph Myers <joseph@codesourcery.com>
454
455 [BZ #13629]
456 * math/s_clog.c (__clog): Handle more values close to |z| = 1
457 specially.
458 * math/s_clog10.c (__clog10): Likewise.
459 * math/s_clog10f.c (__clog10f): Likewise.
460 * math/s_clog10l.c (__clog10l): Likewise.
461 * math/s_clogf.c (__clogf): Likewise.
462 * math/s_clogl.c (__clogl): Likewise.
463 * math/Makefile (libm-calls): Add x2y2m1.
464 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
465 (__x2y2m1): Likewise.
466 (__x2y2m1l): Likewise.
467 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
468 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
469 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
470 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
471 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
472 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
473 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
474 * sysdeps/i386/fpu/libm-test-ulps: Update.
475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
476
477 [BZ #14621]
478 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
479 int as type of variable DEPTH.
480 (glob): Use size_t instead of int as type of variables NEWCOUNT
481 and OLD_PATHC.
482
483 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
484
485 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
486 Add s_sincosf-sse2.
487 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
488 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
489 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
490 macros for using routine as __sincosf_ia32.
491 Use macro for function declaration and weak_alias.
492 * sysdeps/i386/fpu/libm-test-ulps: Update.
493
494 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
495 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
496
497 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
498 subnormal argument.
499 * math/s_cexpf.c (__cexpf): Likewise.
500 * math/s_csinf.c (__csinf): Likewise.
501 * math/s_csinhf.c (__csinhf): Likewise.
502 * math/s_ctanf.c (__ctanf): Likewise.
503 * math/s_ctanhf.c (__ctanhf): Likewise.
504 * math/s_ccosh.c (__ccoshf): Likewise.
505 * math/s_cexp.c (__cexpl): Likewise.
506 * math/s_csin.c (__csin): Likewise.
507 * math/s_csinh.c (__csinh): Likewise.
508 * math/s_ctan.c (__ctan): Likewise.
509 * math/s_ctanh.c (ctanh): Likewise.
510 * math/s_ccoshl.c (__ccoshl): Likewise.
511 * math/s_cexpl.c (__cexpl): Likewise.
512 * math/s_csinl.c (__csinl): Likewise.
513 * math/s_csinhl.c (__csinhl): Likewise.
514 * math/s_ctanl.c (__ctanl): Likewise.
515 * math/s_ctanhl.c (__ctanhl): Likewise.
516
517 2012-09-25 Joseph Myers <joseph@codesourcery.com>
518
519 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
520 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
521 (_IO_off_t): Define to __off_t, not _G_off_t.
522 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
523 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
524 (_IO_wint_t): Define to wint_t, not _G_wint_t.
525 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
526 type of __dummy and __dummy2 fields.
527 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
528 (_G_ssize_t): Likewise.
529 (_G_off_t): Likewise.
530 (_G_pid_t): Likewise.
531 (_G_uid_t): Likewise.
532 (_G_wchar_t): Likewise.
533 (_G_wint_t): Likewise.
534 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
535 (_G_ssize_t): Likewise.
536 (_G_off_t): Likewise.
537 (_G_pid_t): Likewise.
538 (_G_uid_t): Likewise.
539 (_G_wchar_t): Likewise.
540 (_G_wint_t): Likewise.
541 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
542 (_G_ssize_t): Likewise.
543 (_G_off_t): Likewise.
544 (_G_pid_t): Likewise.
545 (_G_uid_t): Likewise.
546 (_G_wchar_t): Likewise.
547 (_G_wint_t): Likewise.
548
549 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
550
551 * malloc/arena.c: Include malloc-sysdep.h.
552 (shrink_heap): Use check_may_shrink_heap to decide if madvise
553 is sufficient to shrink the heap or an unmap is needed.
554 * sysdeps/generic/malloc-sysdep.h: New file. Define
555 new function check_may_shrink_heap.
556 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
557 new function check_may_shrink_heap.
558
559 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
560
561 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
562 comments.
563
564 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
565
566 * catgets/test-gencat.sh: Add "set -e".
567 * elf/tst-pathopt.sh: Likewise.
568 * grp/tst_fgetgrent.sh: Likewise.
569 * iconvdata/run-iconv-test.sh: Likewise.
570 * intl/tst-gettext.sh: Likewise.
571 * intl/tst-gettext2.sh: Likewise.
572 * intl/tst-gettext4.sh: Likewise.
573 * intl/tst-gettext6.sh: Likewise.
574 * intl/tst-translit.sh: Likewise.
575 * io/ftwtest-sh: Likewise.
576 * libio/test-freopen.sh: Likewise.
577 * malloc/tst-mtrace.sh: Likewise.
578 * posix/globtest.sh: Likewise.
579 * posix/tst-getconf.sh: Likewise.
580 * posix/wordexp-tst.sh: Likewise.
581 * stdio-common/tst-printf.sh: Likewise.
582 * stdio-common/tst-unbputc.sh: Likewise.
583 * stdlib/tst-fmtmsg.sh: Likewise.
584 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
585 * catgets/Makefile: Do not specify -e option when running
586 testsuite shell scripts.
587 * elf/Makefile: Likewise.
588 * grp/Makefile: Likewise.
589 * iconvdata/Makefile: Likewise.
590 * intl/Makefile: Likewise.
591 * io/Makefile: Likewise.
592 * libio/Makefile: Likewise.
593 * malloc/Makefile: Likewise.
594 * posix/Makefile: Likewise.
595 * stdio-common/Makefile: Likewise.
596 * stdlib/Makefile: Likewise.
597 * sysdeps/x86_64/Makefile: Likewise.
598
599 * io/ftwtest-sh: Add copyright header.
600 * posix/globtest.sh: Likewise.
601 * posix/tst-getconf.sh: Likewise.
602 * posix/wordexp-tst.sh: Likewise.
603 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
604
605 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
606
607 [BZ #13679]
608 * Makeconfig (+link): Defined as $(+link-static) if
609 $(build-shared) isn't yes.
610 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
611 isn't yes.
612 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
613
614 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
615
616 [BZ #14562]
617 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
618 new chunk size with MALLOC_ALIGN_MASK.
619
620 2012-09-24 Joseph Myers <joseph@codesourcery.com>
621
622 [BZ #5044]
623 * stdio-common/printf_fphex.c: Include <stdbool.h> and
624 <rounding-mode.h>.
625 (__printf_fphex): Determine rounding using get_rounding_mode and
626 round_away.
627 * stdio-common/tst-printf-round.c (struct hex_test): New
628 structure.
629 (hex_tests): New variable.
630 (test_hex_in_one_mode): New function.
631 (do_test): Also run tests for hex float output.
632
633 2012-09-21 Joseph Myers <joseph@codesourcery.com>
634
635 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
636 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
637 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
638 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
639 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
640 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
641 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
642 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
643
644 2012-09-20 Joseph Myers <joseph@codesourcery.com>
645
646 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
647 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
648 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
649 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
650
651 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
652
653 [BZ #14579]
654 * elf/rtld.c (dl_main): Limit the check for self loading to normal
655 mode only.
656 * elf/tst-rtld-load-self.sh: New test.
657 * elf/Makefile: Run it.
658
659 2012-09-18 Joseph Myers <joseph@codesourcery.com>
660
661 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
662 (tst-writev-ENV): Remove.
663 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
664
665 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
666
667 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
668
669 2012-09-17 Joseph Myers <joseph@codesourcery.com>
670
671 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
672 unconditional.
673 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
674 Likewise.
675 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
676 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
677 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
678 Likewise.
679
680 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
681
682 [BZ #14587]
683 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
684 * config.make.in (have-cpp-asm-debuginfo): Removed.
685 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
686 * configure: Regenerated.
687
688 2012-09-14 Joseph Myers <joseph@codesourcery.com>
689
690 [BZ #5044]
691 * stdio-common/printf_fp.c: Include <stdbool.h> and
692 <rounding-mode.h>.
693 (___printf_fp): Determine rounding using get_rounding_mode and
694 round_away.
695 * stdio-common/tst-printf-round.c: New file.
696 * stdio-common/Makefile (tests): Add tst-printf-round.
697 (link-libm): New variable.
698 ($(objpfx)tst-printf-round): Depend in $(link-libm).
699
700 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
701
702 [BZ #14576]
703 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
704 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
705 Likewise.
706 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
707 Likewise.
708
709 2012-09-13 Joseph Myers <joseph@codesourcery.com>
710
711 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
712 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
713 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
714 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
715
716 2012-09-12 Joseph Myers <joseph@codesourcery.com>
717
718 [BZ #14518]
719 * include/rounding-mode.h: New file.
720 * sysdeps/generic/get-rounding-mode.h: Likewise.
721 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
722 * stdlib/strtod_l.c: Include <rounding-mode.h>.
723 (MAX_VALUE): New macro.
724 (MIN_VALUE): Likewise.
725 (overflow_value): New function.
726 (underflow_value): Likewise.
727 (round_and_return): Use overflow_value and underflow_value to
728 determine return values in overflow and underflow cases. Use
729 round_away to determine rounding depending on rounding mode.
730 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
731 determine return values in overflow and underflow cases.
732 * stdlib/tst-strtod-round.c: Include <fenv.h>.
733 (struct test_results): New structure.
734 (struct test): Use struct test_results to store expected results
735 for all rounding modes.
736 (TEST): Include expected results for all rounding modes.
737 (test_in_one_mode): New function.
738 (do_test): Use test_in_one_mode to compute and check results.
739 Check results for all rounding modes.
740 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
741 $(link-libm).
742
743 2012-12-09 Allan McRae <allan@archlinux.org>
744
745 * sysdeps/i386/fpu/libm-test-ulps: Update
746
747 2012-09-11 Joseph Myers <joseph@codesourcery.com>
748
749 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
750 (_G_int32_t): Likewise.
751 (_G_uint16_t): Likewise.
752 (_G_uint32_t): Likewise.
753 (_G_HAVE_BOOL): Likewise.
754 (_G_HAVE_ATEXIT): Likewise.
755 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
756 (_G_HAVE_IO_FILE_OPEN): Likewise.
757 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
758 (_G_int32_t): Likewise.
759 (_G_uint16_t): Likewise.
760 (_G_uint32_t): Likewise.
761 (_G_HAVE_BOOL): Likewise.
762 (_G_HAVE_ATEXIT): Likewise.
763 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
764 (_G_HAVE_IO_FILE_OPEN): Likewise.
765 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
766 (_G_int32_t): Likewise.
767 (_G_uint16_t): Likewise.
768 (_G_uint32_t): Likewise.
769 (_G_HAVE_BOOL): Likewise.
770 (_G_HAVE_ATEXIT): Likewise.
771 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
772 (_G_HAVE_IO_FILE_OPEN): Likewise.
773
774 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
775
776 * csu/libc-tls.c: Update copyright years.
777
778 2012-09-10 Joseph Myers <joseph@codesourcery.com>
779
780 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
781 [!_G_USING_THUNKS]: Remove conditional code.
782 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
783 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
784
785 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
786 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
787 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
788 (_G_VTABLE_LABEL_PREFIX): Likewise.
789 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
790 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
791 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
792 (_G_VTABLE_LABEL_PREFIX): Likewise.
793 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
794 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
795 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
796 (_G_VTABLE_LABEL_PREFIX): Likewise.
797 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
798
799 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
800
801 * libio/Makefile: Include ../Makeconfig before tests.
802 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
803 only if $(build-shared) is yes.
804
805 * iconv/gconv_db.c: Update copyright years.
806
807 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
808
809 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
810 unwind info if defined PIC. Fix special cases description.
811 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
812
813 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
814 DP_HI_MASK entry.
815 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
816
817 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
818
819 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
820
821 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
822 is NULL.
823
824 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
825 (LDLIBS-tst-chk4): This.
826 (LDFLAGS-tst-chk5): Renamed to ...
827 (LDLIBS-tst-chk5): This.
828 (LDFLAGS-tst-chk6): Renamed to ...
829 (LDLIBS-tst-chk6): This.
830 (LDFLAGS-tst-lfschk4): Renamed to ...
831 (LDLIBS-tst-lfschk4): This.
832 (LDFLAGS-tst-lfschk5): Renamed to ...
833 (LDLIBS-tst-lfschk5): This.
834 (LDFLAGS-tst-lfschk6): Renamed to ...
835 (LDLIBS-tst-lfschk6): This.
836
837 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
838 on $(common-objpfx)soversions.mk.
839
840 2012-09-07 Joseph Myers <joseph@codesourcery.com>
841
842 [BZ #10014]
843 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
844 example host name.
845
846 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
847
848 * malloc/arena.c (arena_get_retry): New function that gets
849 another arena for the caller to try its request on.
850 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
851 current arena cannot fulfill the request.
852 (__libc_memalign): Likewise.
853 (__libc_memalign): Likewise.
854 (__libc_pvalloc): Likewise.
855 (__libc_calloc): Likewise.
856
857 2012-09-05 John Tobey <john.tobey@gmail.com>
858
859 [BZ #13542]
860 * manual/arith.texi (Operations on Complex): Fix description
861 of carg branch cut.
862
863 2012-09-06 Joseph Myers <joseph@codesourcery.com>
864
865 [BZ #10014]
866 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
867 host name.
868
869 [BZ #10038]
870 * manual/memory.texi (Memory): Make order of menu items match
871 order of sections.
872
873 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
874
875 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
876 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
877 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
878
879 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
880
881 * csu/libc-tls.c (static_dtv): Renamed to ...
882 (_dl_static_dtv): This. Make it global.
883 (_dl_initial_dtv): Removed.
884 (__libc_setup_tls): Updated.
885 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
886 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
887 DL_INITIAL_DTV.
888
889 2012-09-06 Petr Machata <pmachata@redhat.com>
890
891 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
892 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
893 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
894 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
895
896 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
897
898 [BZ #14545]
899 * csu/libc-tls.c (_dl_initial_dtv): New variable.
900 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
901 freeing dtv[-1].
902
903 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
904
905 [BZ #14544]
906 * Makeconfig (link-static-before-libc): Replace $(+prector)
907 with $(+prectorT).
908 (link-static-after-libc): Replace $(+postctor) with
909 $(+postctorT).
910 (link-bounded): Replace $(+prector)/$(+postctor) with
911 $(+prectorT)/$(+postctorT).
912 (+prectorT): New macro.
913 (+postctorT): Likewise.
914
915 2012-09-06 Joseph Myers <joseph@codesourcery.com>
916
917 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
918 (round_str): Handle values above the maximum for IBM long double
919 as inexact.
920 * stdlib/tst-strtod-round.c (tests): Regenerated.
921
922 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
923
924 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
925 assembler flag.
926 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
927 zarch_nohighgprs around the zarch optimized routines.
928 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
929 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
930 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
931 for zarch.
932
933 2012-09-05 David S. Miller <davem@davemloft.net>
934
935 * sysdeps/sparc/fpu/libm-test-ulps: Update.
936
937 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
938 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
939 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
940 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
941 entries.
942
943 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
944
945 * malloc/arena.c: Fold copyright years.
946 * malloc/mcheck.c, malloc/memusage.c: Likewise.
947
948 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
949
950 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
951
952 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
953
954 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
955
956 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
957
958 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
959 change internal state upon failure.
960
961 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
962
963 * malloc/mcheck.c (mcheck_check_all): Fix typo.
964 * malloc/memusage.c (mmap): Likewise.
965 (mmap64, mremap): Likewise. Adjust name in comment.
966
967 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
968
969 * libio/fileops.c: Fix typos in comments.
970 * libio/oldfileops.c: Likewise.
971 * libio/wfileops.c: Likewise.
972
973 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
974
975 [BZ #1349]
976 * malloc/Makefile (tests): Add tst-malloc-usable test case.
977 (tst-malloc-usable-ENV): Set environment for test case.
978 * malloc/hooks.c (malloc_check_get_size): New function to get
979 requested size.
980 * malloc/malloc.c (musable): Use malloc_check_get_size.
981 * malloc/tst-malloc-usable.c: New test case.
982
983 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
984
985 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
986
987 2012-09-05 Allan McRae <allan@archlinux.org>
988
989 [BZ #13966]
990 * configure.in (CXX_SYSINCLUDES): Use compiler output to
991 determine header location.
992 * configure: Regenerated.
993
994 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
995
996 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
997 float format.
998 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
999 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
1000 format.
1001 (test): Regenerate.
1002
1003 2012-09-04 David S. Miller <davem@davemloft.net>
1004
1005 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
1006 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
1007 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
1008
1009 2012-09-04 Florian Weimer <fweimer@redhat.com>
1010
1011 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
1012 failures.
1013
1014 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
1015
1016 2012-09-04 Joseph Myers <joseph@codesourcery.com>
1017
1018 [BZ #9914]
1019 * libio/iogetdelim.c: Include <limits.h>.
1020 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
1021 + len + 1 would overflow.
1022
1023 2012-09-03 Andreas Jaeger <aj@suse.de>
1024
1025 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1026 * sysdeps/i386/fpu/libm-test-ulps: Update.
1027
1028 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1029
1030 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1031 Add s_sinf-sse2, s_conf-sse2.
1032
1033 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
1034 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
1035 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
1036 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
1037
1038 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
1039 for using routine as __sinf_ia32.
1040 Use macro for function declaration and weak_alias.
1041 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
1042 for using routine as __cosf_ia32.
1043 Use macro for function declaration and weak_alias.
1044
1045 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
1046 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
1047
1048 * sysdeps/x86_64/fpu/s_sinf.S: New file.
1049 * sysdeps/x86_64/fpu/s_cosf.S: New file.
1050 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1051
1052 * math/libm-test.inc (cos_test): Add more test cases.
1053 (sin_test): Likewise.
1054 (sincos_test): Likewise.
1055
1056 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1057
1058 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1059 (IFUNC_RESOLVE): Make pointers to the specialized implementations
1060 hidden.
1061 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1062
1063 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
1064
1065 [BZ #14538]
1066 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
1067 first element of the GOT.
1068 (elf_machine_load_address): Return the difference between
1069 the runtime address of _DYNAMIC and elf_machine_dynamic ().
1070
1071 2012-09-01 Allan McRae <allan@archlinux.org>
1072
1073 [BZ #13412]
1074 * configure.in (AWK): Require gawk version 3.0 or later.
1075 * configure: Regenerated.
1076
1077 2012-09-01 Joseph Myers <joseph@codesourcery.com>
1078
1079 * sysdeps/unix/sysv/linux/kernel-features.h
1080 (__ASSUME_POSIX_CPU_TIMERS): Remove.
1081 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1082 [__NR_clock_getres]: Make code unconditional.
1083 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
1084 (clock_getcpuclockid): Remove code left unreachable by removal of
1085 conditionals.
1086 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
1087 code unconditional.
1088 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1089 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1090 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
1091 Make code unconditional.
1092 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1093 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1094 * sysdeps/unix/sysv/linux/clock_settime.c
1095 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
1096 conditional code.
1097 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
1098 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1099
1100 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
1101
1102 [BZ #14476]
1103 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
1104 scripts/test-installation.pl.
1105
1106 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
1107 and $ld_so_version if it is set.
1108
1109 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1110
1111 [BZ #14516]
1112 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
1113 failure if reading from procfs failed.
1114 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
1115
1116 2012-08-27 Joseph Myers <joseph@codesourcery.com>
1117
1118 * sysdeps/unix/sysv/linux/kernel-features.h
1119 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
1120 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1121 Remove conditional code.
1122 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1123 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
1124 Remove conditional code.
1125 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1126 * sysdeps/unix/sysv/linux/i386/fxstat.c
1127 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1128 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1129 * sysdeps/unix/sysv/linux/i386/fxstatat.c
1130 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1131 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1132 * sysdeps/unix/sysv/linux/i386/lxstat.c
1133 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1134 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1135 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
1136 Remove conditional code.
1137 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1138 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1139 Remove conditional code.
1140 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1141 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
1142 <kernel-features.h>.
1143 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
1144 Remove.
1145 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
1146 Remove conditional code.
1147 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1148 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
1149 Remove conditional.
1150
1151 2012-08-27 Mike Frysinger <vapier@gentoo.org>
1152
1153 [BZ #5400]
1154 * NEWS: Add fixed bug number.
1155
1156 2012-08-27 Joseph Myers <joseph@codesourcery.com>
1157
1158 [BZ #14519]
1159 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
1160 underflowing exponent in case of negative sign.
1161 * stdlib/tst-strtod-round-data: Add more tests.
1162 * stdlib/tst-strtod-round.c (tests): Regenerated.
1163
1164 [BZ #3479]
1165 * stdlib/strtod_l.c (NDIG): Remove.
1166 (HEXNDIG): Likewise.
1167 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
1168 smallest representable value.
1169 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
1170 lie within an exact representation of 1/2 ulp of the result.
1171 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
1172 unconditionally.
1173 (TENS_P9_IDX): Define unconditionally.
1174 (TENS_P9_SIZE): Likewise.
1175 (TENS_P10_IDX): Likewise.
1176 (TENS_P10_SIZE): Likewise.
1177 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
1178 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
1179 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
1180 entries for 10^2^13 and 10^2^14.
1181 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
1182 (TENS_P13_IDX): Define.
1183 (TENS_P13_SIZE): Likewise.
1184 (TENS_P14_IDX): Likewise.
1185 (TENS_P14_SIZE): Likewise.
1186 (_fpioconst_pow10): Change array size to
1187 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
1188 unconditional.
1189 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
1190 1024]: Add entries for 10^2^13 and 10^2^14.
1191 [LAST_POW10 > _LAST_POW10]: Remove #error.
1192 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
1193 (_fpioconst_pow10): Change array size to
1194 FPIOCONST_POW10_ARRAY_SIZE.
1195 * stdlib/gen-fpioconst.c: New file.
1196 * stdlib/gen-tst-strtod-round.c: Likewise.
1197 * stdlib/tst-strtod-round-data: Likewise.
1198 * stdlib/tst-strtod-round.c: Likewise.
1199 * stdlib/Makefile (tests): Add tst-strtod-round.
1200
1201 [BZ #14459]
1202 * stdlib/strtod_l.c: Include <stdint.h>.
1203 (NDEBUG): Do not define.
1204 (round_and_return): Change EXPONENT parameter to type intmax_t.
1205 Rearrange calculations to avoid internal overflow possibilities.
1206 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
1207 Rearrange calculations to avoid internal overflow possibilities.
1208 Assert that number fits inside MPNSIZE limbs.
1209 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
1210 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
1211 calculations and add assertions to avoid internal overflow
1212 possibilities. Add casts to avoid signed/unsigned operations.
1213 * stdlib/tst-strtod-overflow.c: New file.
1214 * stdlib/Makefile (tests): Add tst-strtod-overflow.
1215
1216 2012-08-25 Marek Polacek <polacek@redhat.com>
1217
1218 * time/time.h: Fix some typos in comments.
1219
1220 2012-08-23 Roland McGrath <roland@hack.frob.com>
1221
1222 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
1223 * posix/tst-rfc3484-2.c: Likewise.
1224 * posix/tst-rfc3484-3.c: Likewise.
1225
1226 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
1227
1228 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
1229 (EF_ARM_ABI_FLOAT_HARD): Likewise.
1230
1231 2012-08-23 Joseph Myers <joseph@codesourcery.com>
1232
1233 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
1234 #include of fxstatat64.c.
1235
1236 2012-08-22 Roland McGrath <roland@hack.frob.com>
1237
1238 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
1239 * shadow/getspent_r.c: Likewise.
1240 * shadow/getspnam.c: Likewise.
1241 * shadow/getspnam_r.c: Likewise.
1242 * gshadow/getsgent.c: Likewise.
1243 * gshadow/getsgent_r.c: Likewise.
1244 * gshadow/getsgnam.c: Likewise.
1245 * gshadow/getsgnam_r.c: Likewise.
1246 * inet/getnetbyad.c: Likewise.
1247 * inet/getnetbyad_r.c: Likewise.
1248 * inet/getnetbynm.c: Likewise.
1249 * inet/getnetbynm_r.c: Likewise.
1250 * inet/getnetent.c: Likewise.
1251 * inet/getnetent_r.c: Likewise.
1252 * inet/getproto.c: Likewise.
1253 * inet/getproto_r.c: Likewise.
1254 * inet/getprtent.c: Likewise.
1255 * inet/getprtent_r.c: Likewise.
1256 * inet/getprtname.c: Likewise.
1257 * inet/getprtname_r.c: Likewise.
1258 * inet/getrpcbyname.c: Likewise.
1259 * inet/getrpcbyname_r.c: Likewise.
1260 * inet/getrpcbynumber.c: Likewise.
1261 * inet/getrpcbynumber_r.c: Likewise.
1262 * inet/getrpcent.c: Likewise.
1263 * inet/getrpcent_r.c: Likewise.
1264 * inet/getaliasent.c: Likewise.
1265 * inet/getaliasent_r.c: Likewise.
1266 * inet/getaliasname.c: Likewise.
1267 * inet/getaliasname_r.c: Likewise.
1268 * nscd/getgrgid_r.c: Likewise.
1269 * nscd/getgrnam_r.c: Likewise.
1270 * nscd/gethstbyad_r.c: Likewise.
1271 * nscd/gethstbynm3_r.c: Likewise.
1272 * nscd/getpwnam_r.c: Likewise.
1273 * nscd/getpwuid_r.c: Likewise.
1274 * nscd/getsrvbynm_r.c: Likewise.
1275 * nscd/getsrvbypt_r.c: Likewise.
1276 * nscd/gai.c: Likewise.
1277
1278 * configure.in (build_nscd): New substituted variable, set
1279 by --disable-build-nscd and defaults to $use_nscd.
1280 * configure: Regenerated.
1281 * config.make.in (build-nscd): New substituted variable.
1282 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
1283 Change conditional to require [$(build-nscd) = yes] as well.
1284 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
1285
1286 [BZ# 13696]
1287 * configure.in (use_nscd): New substituted variable, set by
1288 --disable-nscd. If enabled, define USE_NSCD.
1289 * configure: Regenerated.
1290 * config.h.in: Add USE_NSCD.
1291 * config.make.in (use-nscd): New substituted variable.
1292 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
1293 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
1294 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
1295 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
1296 (CFLAGS-getgrnam_r.c): Likewise.
1297 (CFLAGS-initgroups.c): Likewise.
1298 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
1299 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
1300 Variables removed.
1301 * inet/getnetgrent_r.c
1302 (nscd_setnetgrent): New function, broken out of ...
1303 (setnetgrent): ... here. Call it.
1304 (innetgr): Conditionalize nscd bits on [USE_NSCD].
1305 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
1306 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
1307 * nscd/Makefile (routines, aux): Move definitions after include of
1308 Makeconfig. Conditionalize on [$(use-nscd) != no].
1309 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
1310 Conditionalize on [USE_NSCD].
1311 (is_nscd, nscd_init_cb): Likewise.
1312 (nss_load_library): Conditionalize init callback on [USE_NSCD].
1313 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
1314 * nss/nss_db/db-init.c: Likewise.
1315 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
1316 [USE_NSCD].
1317 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
1318 (make_request): Use it.
1319 (cache_valid_p): New function.
1320 (__check_pf): Use it.
1321 * NEWS: Add item for --disable-nscd.
1322
1323 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
1324
1325 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
1326 to support sed >= 4.2.1-20-ga9bf076.
1327 * configure: Regenerated.
1328
1329 2012-08-22 Roland McGrath <roland@hack.frob.com>
1330
1331 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
1332 Conditionalize whole body on [IREL].
1333
1334 2012-08-22 Jeff Law <law@redhat.com>
1335
1336 [BZ #14505]
1337 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
1338 if the family is PF_UNSPEC.
1339
1340 2012-08-22 Mike Frysinger <vapier@gentoo.org>
1341
1342 * Makerules (lib-version): Rename from V.
1343 (install-lib-nosubdir): Change V to lib-version.
1344
1345 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
1346
1347 [BZ #14252]
1348 * powerpc32/power6/wcschr.c: New file.
1349 * powerpc32/power6/wcscpy.c: New file.
1350 * powerpc32/power6/wcsrchr.c: New file.
1351 * powerpc64/power6/wcschr.c: New file.
1352 * powerpc64/power6/wcscpy.c: New file.
1353 * powerpc64/power6/wcsrchr.c: New file.
1354
1355 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1356
1357 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
1358 (two_way_short_needle): Use it.
1359 * string/strstr.c (AVAILABLE1_USES_J): Define.
1360 * string/strcasestr.c: Likewise.
1361
1362 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
1363 array references.
1364 * string/strcasestr.c (TOLOWER): Make side-effect safe.
1365
1366 [BZ #11607]
1367 * NEWS: Add an entry.
1368 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
1369 define their defaults.
1370 (two_way_short_needle): Detect end-of-string on-the-fly.
1371 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
1372 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
1373 * string/bug-strcasestr1.c: New test.
1374 * string/Makefile: Run it.
1375
1376 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1377
1378 [BZ #11607]
1379 * string/str-two-way.h (two_way_short_needle): Optimize matching of
1380 the first character.
1381
1382 2012-08-21 Roland McGrath <roland@hack.frob.com>
1383
1384 * csu/elf-init.c (__libc_csu_irel): Function removed.
1385 * csu/libc-start.c (apply_irel): New function.
1386 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
1387
1388 2012-08-21 Joseph Myers <joseph@codesourcery.com>
1389
1390 * sysdeps/unix/sysv/linux/kernel-features.h
1391 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
1392 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1393 <kernel-features.h>.
1394 [__NR_fadvise64_64]: Make code unconditional.
1395 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
1396 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1397 !__NR_fadvise64_64)]: Likewise.
1398 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1399 !__NR_fadvise64_64))]: Likewise.
1400 [__NR_fadvise64]: Make code unconditional.
1401 [!__NR_fadvise64]: Remove conditional code.
1402 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
1403 <kernel-features.h>.
1404 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1405 unconditional.
1406 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1407 conditional code.
1408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
1409 not include <kernel-features.h>.
1410 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1411 unconditional.
1412 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1413 conditional code.
1414 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
1415 include <kernel-features.h>.
1416 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1417 unconditional.
1418 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1419 conditional code.
1420
1421 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
1422
1423 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
1424 slight instruction rearrangements per scrollpipe analysis.
1425 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1426
1427 2012-08-20 Roland McGrath <roland@hack.frob.com>
1428
1429 * manual/syslog.texi (syslog; vsyslog, closelog):
1430 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
1431 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
1432
1433 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
1434 DSOCAPS to match condition on defining it.
1435
1436 2012-08-20 Joseph Myers <joseph@codesourcery.com>
1437
1438 * sysdeps/unix/sysv/linux/kernel-features.h
1439 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
1440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
1441 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1442 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
1444 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1445 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
1447 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1448 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1449
1450 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
1451 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
1452
1453 * sysdeps/unix/sysv/linux/kernel-features.h
1454 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
1455 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
1456 unconditional.
1457 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1458 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
1459 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1460 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1461 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
1462 Make code unconditional.
1463 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1464 (__mmap64) [!__NR_mmap2]: Likewise.
1465 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
1466 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1467 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1468 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
1469 [__NR_mmap2]: Make code unconditional.
1470 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1471 (__mmap64) [!__NR_mmap2]: Likewise.
1472
1473 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1474
1475 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
1476
1477 2012-08-18 Andreas Jaeger <aj@suse.de>
1478
1479 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
1480
1481 2012-08-18 Mike Frysinger <vapier@gentoo.org>
1482
1483 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
1484 * include/unistd.h (__have_sock_cloexec): Likewise.
1485 (__have_pipe2): Likewise.
1486 (__have_dup3): Likewise.
1487
1488 2012-08-18 Mike Frysinger <vapier@gentoo.org>
1489
1490 [BZ #9685]
1491 * include/unistd.h (__have_pipe2): Change define into an extern int.
1492 (__have_dup3): Likewise.
1493 * socket/have_sock_cloexec.c: Include fcntl.h.
1494 (__have_pipe2): New variable.
1495 (__have_dup3): Likewise.
1496
1497 2012-08-17 Mike Frysinger <vapier@gentoo.org>
1498
1499 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
1500
1501 2012-08-17 Marek Polacek <polacek@redhat.com>
1502
1503 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
1504 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
1505
1506 2012-08-17 Roland McGrath <roland@hack.frob.com>
1507
1508 * configure.in: Add AC_SUBST for sysheaders.
1509 * configure: Regenerated.
1510 * config.make.in (sysheaders): New substituted variable.
1511
1512 * sysdeps/unix/mkfifo.c: Moved ...
1513 * sysdeps/posix/mkfifo.c: ... here.
1514 * sysdeps/unix/mkfifoat.c: Moved ...
1515 * sysdeps/posix/mkfifoat.c: ... here.
1516
1517 * sysdeps/unix/utime.c: Moved ...
1518 * sysdeps/posix/utime.c: ... here.
1519
1520 * sysdeps/unix/time.c: Moved ...
1521 * sysdeps/posix/time.c: ... here.
1522 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
1523 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
1524
1525 * sysdeps/unix/nice.c: Moved ...
1526 * sysdeps/posix/nice.c: ... here.
1527
1528 * sysdeps/unix/alarm.c: Moved ...
1529 * sysdeps/posix/alarm.c: ... here.
1530
1531 * intl/Makefile ($(codeset_mo)): Depend on the input file.
1532
1533 2012-08-17 Jeff Law <law@redhat.com>
1534
1535 * intl/Makefile (codeset_mo): New variable.
1536 ($(codeset_mo)): New target.
1537 (tst-codeset.out): Depend on that. Remove explicit rule.
1538 (tst-gettext3.out, tst-gettext5.out): Likewise.
1539 (LOCPATH-ENV, tst-codeset-ENV): New variables.
1540 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
1541 * intl/tst-codeset.sh: Remove.
1542 * intl/tst-gettext3.sh: Likewise.
1543 * intl/tst-gettext5.sh: Likewise.
1544
1545 2012-08-17 Roland McGrath <roland@hack.frob.com>
1546
1547 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
1548 * sysdeps/unix/syscalls.list: ... here.
1549
1550 * sysdeps/posix/getaddrinfo.c
1551 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
1552 (gaiconf_init, gaiconf_reload): Use them.
1553 [!_STATBUF_ST_NSEC]
1554 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
1555 Define using time_t rather than struct timespec.
1556
1557 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
1558 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
1559 Macros removed.
1560 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
1561 [!NO_THREADS].
1562 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
1563 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
1564 Likewise.
1565
1566 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
1567 __libc_cleanup_push argument.
1568
1569 * bits/param.h: New file.
1570 * misc/sys/param.h: New file.
1571 * include/sys/param.h: New file.
1572 * misc/Makefile (headers): Add bits/param.h.
1573 * sysdeps/generic/sys/param.h: File removed.
1574 * sysdeps/unix/sysv/linux/bits/param.h: New file.
1575 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
1576 * sysdeps/mach/hurd/bits/param.h: New file.
1577 * sysdeps/mach/hurd/sys/param.h: New file.
1578
1579 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
1580 last change.
1581
1582 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
1583 [_IO_MTSAFE_IO].
1584 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
1585 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
1586 New macros.
1587
1588 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
1589 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
1590 rather than -D_IO_MTSAFE_IO conditionally.
1591 * stdio-common/Makefile (CPPFLAGS): Likewise.
1592 * wcsmbs/Makefile (CPPFLAGS): Likewise.
1593 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
1594 Use $(libio-mtsafe).
1595 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
1596 of -D_IO_MTSAFE_IO.
1597 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
1598 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
1599 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
1600 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
1601 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
1602 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
1603 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
1604 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
1605 (CFLAGS-fread_u_chk.c): Likewise.
1606 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
1607 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
1608 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
1609 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
1610 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
1611 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
1612 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
1613 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
1614 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
1615
1616 * libio/Makefile: Test [$(libc-reentrant) = yes]
1617 instead of [$(filter %REENTRANT, $(defines)) nonempty].
1618
1619 * Makeconfig
1620 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
1621 * sysdeps/pthread/configure: File removed.
1622 * sysdeps/pthread/Makeconfig: New file.
1623 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
1624 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
1625
1626 2012-08-16 Gary Benson <gbenson@redhat.com>
1627
1628 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
1629 unmapping the first object in a namespace.
1630
1631 2012-08-16 Roland McGrath <roland@hack.frob.com>
1632
1633 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
1634 (__internal_setnetgrent): ... this. Add internal_function to
1635 definition. Add libc_hidden_def.
1636 (setnetgrent): Update caller.
1637 (internal_endnetgrent): Renamed to ...
1638 (__internal_endnetgrent): ... this. Add internal_function to
1639 definition. Add libc_hidden_def.
1640 (endnetgrent): Update caller.
1641 (internal_getnetgrent_r): Renamed to ...
1642 (__internal_getnetgrent_r): ... this. Add internal_function to
1643 definition. Add libc_hidden_def.
1644 (__getnetgrent_r): Update caller.
1645 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
1646
1647 2012-08-16 Joseph Myers <joseph@codesourcery.com>
1648
1649 * stdlib/longlong.h: Update from GCC.
1650
1651 2012-08-16 Roland McGrath <roland@hack.frob.com>
1652
1653 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
1654 on _QL, which is set by umul_ppmm but never used.
1655 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
1656 variables, which are set by GMP macros but never used.
1657 * stdio-common/_itowa.c (_itowa): Likewise.
1658 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
1659 * stdlib/mod_1.c (mpn_mod_1): Likewise.
1660
1661 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
1662
1663 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
1664 struct La_sh_regs is not constant.
1665 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
1666 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
1667 and struct La_sparc64_regs are not constant.
1668
1669 2012-08-16 Joseph Myers <joseph@codesourcery.com>
1670
1671 * sysdeps/unix/sysv/linux/kernel-features.h
1672 (__ASSUME_POSIX_TIMERS): Remove.
1673 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1674 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1675 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
1676 Make code unconditional.
1677 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1678 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
1679 Make code unconditional.
1680 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1681 * sysdeps/unix/sysv/linux/clock_nanosleep.c
1682 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
1683 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1684 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
1685 Make code unconditional.
1686 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1687 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
1688 (__libc_missing_posix_timers): Remove.
1689
1690 2012-08-15 Roland McGrath <roland@hack.frob.com>
1691
1692 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
1693 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
1694
1695 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
1696
1697 * elf/dl-sym.c: Include <stdlib.h>.
1698
1699 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
1700 constants, which avoids warnings in 32-bit builds.
1701
1702 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
1703 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
1704
1705 * misc/lseek.c: File moved to ...
1706 * io/lseek.c: ... here.
1707
1708 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
1709
1710 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
1711 shifting LEN more than 31 bits at once.
1712
1713 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1714
1715 [BZ #14195]
1716 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
1717 segmentation fault for a case of two empty input strings.
1718 * string/test-strncasecmp.c (check1): Renamed to...
1719 (bz12205): ...this.
1720 (bz14195): Add new testcase for two empty input strings and N > 0.
1721 (test_main): Call new testcase, adapt for renamed function.
1722
1723 2012-08-15 Andreas Jaeger <aj@suse.de>
1724
1725 [BZ #14090]
1726 * crypt/md5test2.c: New test, based on test supplied by Serge
1727 Belyshev <belyshev@depni.sinp.msu.ru>.
1728 * crypt/Makefile (xtests): Add md5test-giant..
1729 * crypt/Makefile ($(objpfx)md5test-giant): Add.
1730
1731 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
1732
1733 [BZ #14090]
1734 * crypt/md5.c (md5_process_block): Don't assume the buffer
1735 length is less than 2**32.
1736 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
1737 length is less than 2**64.
1738
1739 2012-08-15 Roland McGrath <roland@hack.frob.com>
1740
1741 * string/str-two-way.h: Include <sys/param.h>.
1742 (MAX): Macro removed.
1743
1744 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
1745 Move #define and #undef of memmove to just before and after
1746 including <string.h>.
1747
1748 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
1749 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
1750 and after including <string.h>. Move declarations of
1751 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
1752 to before #include "string/memmove.c".
1753
1754 * include/dirent.h: Declare __getdirentries.
1755
1756 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
1757 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
1758
1759 2012-08-14 Mike Frysinger <vapier@gentoo.org>
1760
1761 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
1762 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
1763 * sysdeps/i386/configure: Regenerated.
1764 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
1765 STABS_CURRENT_FILE, and STABS_FUN.
1766 (END): Remove call to STABS_FUN_END.
1767 (STABS_CURRENT_FILE1): Delete.
1768 (STABS_CURRENT_FILE): Likewise.
1769 (STABS_FUN): Likewise.
1770 (STABS_FUN_END): Likewise.
1771 (STABS_FUN2): Likewise.
1772 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
1773 * sysdeps/x86_64/configure: Regenerated.
1774
1775 2012-08-14 Roland McGrath <roland@hack.frob.com>
1776
1777 * elf/dl-open.c: Include <atomic.h>.
1778 * elf/dl-lookup.c: Likewise.
1779
1780 2012-08-14 Joseph Myers <joseph@codesourcery.com>
1781
1782 * sysdeps/unix/sysv/linux/kernel-features.h
1783 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
1784 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
1785 unconditionally.
1786 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
1787 unconditionally.
1788 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
1789 condition on __ASSUME_CLONE_THREAD_FLAGS.
1790
1791 2012-08-14 Andreas Jaeger <aj@suse.de>
1792
1793 * sysdeps/i386/fpu/libm-test-ulps: Update.
1794
1795 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
1796
1797 * include/atomic.h (atomic_exchange_and_add): Split into ...
1798 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
1799 New atomic macros.
1800
1801 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
1802
1803 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1804
1805 2012-08-13 Jeff Law <law@redhat.com>
1806
1807 * manual/stdio.texi (snprintf): Clarify handling of the trailing
1808 null byte in the output string.
1809
1810 2012-08-10 Joseph Myers <joseph@codesourcery.com>
1811
1812 * sysdeps/unix/sysv/linux/kernel-features.h
1813 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
1814 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
1815 (__ASSUME_ARG_MAX_STACK_BASED): Define.
1816 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1817 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
1818 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
1819 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
1820
1821 2012-08-09 Jeff Law <law@redhat.com>
1822
1823 [BZ #13939]
1824 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
1825 When avoid_arena is set, don't retry in the that arena. Pick the
1826 next one, whatever it might be.
1827 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
1828 (arena_lock): Pass in new parameter to arena_get2.
1829 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
1830 arena_get2.
1831 (__libc_malloc): Unify retrying after main arena failure with
1832 __libc_memalign version.
1833 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
1834
1835 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
1836
1837 [BZ #14166]
1838 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
1839 to __redirect_strstr.
1840 (__strstr_sse42): Use typeof __redirect_strstr.
1841 (__strstr_ia32): Likewise.
1842 (__libc_strstr): New prototype.
1843 (strstr): Renamed to ...
1844 (__libc_strstr): This.
1845 (strstr): New strong alias of __libc_strstr.
1846 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
1847 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
1848 __redirect_time.
1849 Include <time.h>.
1850 (__libc_time): New prototype.
1851 (time_ifunc): Replace time with __libc_time.
1852 (time): New strong alias and hidden definition of __libc_time.
1853 (__GI_time): Remove strong alias.
1854 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
1855 Include <stddef.h>.
1856 (memmove): Redefined to __redirect_memmove.
1857 (__memmove_sse2): Use typeof __redirect_memmove.
1858 (__memmove_ssse3): Likewise.
1859 (__memmove_ssse3_back): Likewise.
1860 (__libc_memmove): New prototype.
1861 (memmove): Renamed to ...
1862 (__libc_memmove): This.
1863 (memmove): New strong alias of __libc_memmove.
1864
1865 2012-08-08 Mark Salter <msalter@redhat.com>
1866
1867 * elf/elf.h
1868 (R_MN10300_TLS_GD): Define.
1869 (R_MN10300_TLS_LD): Likewise.
1870 (R_MN10300_TLS_LDO): Likewise.
1871 (R_MN10300_TLS_GOTIE): Likewise.
1872 (R_MN10300_TLS_IE): Likewise.
1873 (R_MN10300_TLS_LE): Likewise.
1874 (R_MN10300_TLS_DTPMOD): Likewise.
1875 (R_MN10300_TLS_DTPOFF): Likewise.
1876 (R_MN10300_TLS_TPOFF): Likewise.
1877 (R_MN10300_SYM_DIFF): Likewise.
1878 (R_MN10300_ALIGN): Likewise.
1879 (R_MN10300_NUM): Update.
1880
1881 2012-08-08 Joseph Myers <joseph@codesourcery.com>
1882
1883 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
1884 Remove.
1885
1886 2012-08-08 Roland McGrath <roland@hack.frob.com>
1887
1888 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
1889
1890 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
1891 sysdeps/unix -> sysdeps/posix move.
1892 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1893
1894 2012-08-07 Allan McRae <allan@archlinux.org>
1895
1896 [BZ #14303]
1897 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
1898 (SUNOS_CPP): Likewise.
1899 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
1900 not found.
1901 (open_input): Call CPP using execvp.
1902
1903 2012-08-07 Joseph Myers <joseph@codesourcery.com>
1904
1905 * sysdeps/unix/sysv/linux/kernel-features.h
1906 (__ASSUME_PROT_GROWSUPDOWN): Remove.
1907 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1908 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1909 (__ASSUME_WAITID_SYSCALL): Likewise.
1910 * sysdeps/unix/sysv/linux/dl-execstack.c
1911 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
1912 code unconditional.
1913 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
1914 conditional code.
1915 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
1916 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
1917 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
1918 code.
1919 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
1920 unconditional.
1921 [__ASSUME_WAITID_SYSCALL]: Likewise.
1922 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
1923
1924 2012-08-07 Roland McGrath <roland@hack.frob.com>
1925
1926 * sysdeps/unix/closedir.c: Renamed to ...
1927 * sysdeps/posix/closedir.c: ... here.
1928 * sysdeps/unix/dirfd.c: Renamed to ...
1929 * sysdeps/posix/dirfd.c: ... here.
1930 * sysdeps/unix/dirstream.h: Renamed to ...
1931 * sysdeps/posix/dirstream.h: ... here.
1932 * sysdeps/unix/fdopendir.c: Renamed to ...
1933 * sysdeps/posix/fdopendir.c: ... here.
1934 * sysdeps/unix/opendir.c: Renamed to ...
1935 * sysdeps/posix/opendir.c: ... here.
1936 * sysdeps/unix/readdir.c: Renamed to ...
1937 * sysdeps/posix/readdir.c: ... here.
1938 * sysdeps/unix/readdir_r.c: Renamed to ...
1939 * sysdeps/posix/readdir_r.c: ... here.
1940 * sysdeps/unix/rewinddir.c: Renamed to ...
1941 * sysdeps/posix/rewinddir.c: ... here.
1942 * sysdeps/unix/seekdir.c: Renamed to ...
1943 * sysdeps/posix/seekdir.c: ... here.
1944 * sysdeps/unix/telldir.c: Renamed to ...
1945 * sysdeps/posix/telldir.c: ... here.
1946 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
1947 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
1948 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
1949 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
1950
1951 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
1952 * bits/fcntl.h: ... here.
1953
1954 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
1955 not 0.
1956 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
1957 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
1958 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
1959 (struct flock): Move l_start, l_len to the beginning.
1960 Use __pid_t for l_pid.
1961 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
1962 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
1963 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
1964 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
1965 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
1966 [__USE_LARGEFILE64] (struct flock64): New type.
1967 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
1968
1969 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
1970 * bits/dirent.h: ... here.
1971
1972 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
1973 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
1974
1975 2012-08-07 Joseph Myers <joseph@codesourcery.com>
1976
1977 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1978 Change from 2.6.0 to 2.6.16.
1979 * sysdeps/unix/sysv/linux/configure: Regenerated.
1980 * sysdeps/unix/sysv/linux/kernel-features.h
1981 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
1982 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
1983 version.
1984 (__ASSUME_UTIMES): Likewise.
1985 (__ASSUME_CLONE_STOPPED): Remove.
1986 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
1987 architectures, not kernel version.
1988 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
1989 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1990 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1991 (__ASSUME_WAITID_SYSCALL): Likewise.
1992 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
1993 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
1994 * README: State 2.6.16 as minimum Linux kernel version. Do not
1995 refer to older versions.
1996
1997 2012-08-06 Roland McGrath <roland@hack.frob.com>
1998
1999 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
2000 Define alphasort64 as an alias.
2001 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
2002 Define versionsort64 as an alias.
2003 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
2004 Define scandir64 as an alias.
2005 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
2006 Define scandirat64 as an alias.
2007 * dirent/alphasort64.c (alphasort64):
2008 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
2009 * dirent/versionsort64.c: Likewise.
2010 * dirent/scandir64.c: Likewise.
2011 * dirent/scandirat64.c: Likewise.
2012 * sysdeps/wordsize-64/alphasort.c: File removed.
2013 * sysdeps/wordsize-64/alphasort64.c: File removed.
2014 * sysdeps/wordsize-64/scandir.c: File removed.
2015 * sysdeps/wordsize-64/scandir64.c: File removed.
2016 * sysdeps/wordsize-64/scandirat.c: File removed.
2017 * sysdeps/wordsize-64/scandirat64.c: File removed.
2018 * sysdeps/wordsize-64/versionsort.c: File removed.
2019 * sysdeps/wordsize-64/versionsort64.c: File removed.
2020 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
2021 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
2022 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
2023 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
2024 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
2025 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
2026 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
2027 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
2028
2029 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
2030 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2031 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
2032 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2033 [defined __arch64__ || defined __sparcv9]
2034 (__INO_T_MATCHES_INO64_T): New macro.
2035 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2036 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
2037 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
2038 * sysdeps/unix/sysv/linux/bits/dirent.h
2039 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
2040 (_DIRENT_MATCHES_DIRENT64): New macro.
2041
2042 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
2043 Define lockf64 as an alias.
2044 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
2045 Define fseeko64 as an alias.
2046 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
2047 Define ftello64 as an alias.
2048 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
2049 Define _IO_fgetpos64 and fgetpos64 as aliases.
2050 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
2051 Define _IO_fsetpos64 and fsetpos64 as aliases.
2052 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
2053 Conditionalize body on this.
2054 * libio/fseeko64.c: Likewise.
2055 * libio/ftello64.c: Likewise.
2056 * libio/iofgetpos64.c: Likewise.
2057 * libio/iofsetpos64.c: Likewise.
2058 * sysdeps/wordsize-64/lockf.c: File removed.
2059 * sysdeps/wordsize-64/lockf64.c: File removed.
2060 * sysdeps/wordsize-64/fseeko.c: File removed.
2061 * sysdeps/wordsize-64/fseeko64.c: File removed.
2062 * sysdeps/wordsize-64/ftello.c: File removed.
2063 * sysdeps/wordsize-64/ftello64.c: File removed.
2064 * sysdeps/wordsize-64/iofgetpos.c: File removed.
2065 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
2066 * sysdeps/wordsize-64/iofsetpos.c: File removed.
2067 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
2068 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
2069 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
2070 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
2071 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
2072 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
2073 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
2074 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
2075 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
2076 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
2077 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
2078
2079 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2080 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2081 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
2082 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2083 [defined __arch64__ || defined __sparcv9]
2084 (__OFF_T_MATCHES_OFF64_T): New macro.
2085 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2086 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2087 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2088 (__OFF_T_MATCHES_OFF64_T): New macro.
2089
2090 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
2091
2092 * stdlib/secure-getenv.c (__secure_getenv): Replace
2093 GLIBC_2_16 with GLIBC_2_17.
2094
2095 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
2096
2097 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
2098 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2099
2100 2012-08-03 David S. Miller <davem@davemloft.net>
2101
2102 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2103
2104 2012-08-03 Joseph Myers <joseph@codesourcery.com>
2105
2106 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
2107 Remove.
2108 (__ASSUME_CORRECT_SI_PID): Likewise.
2109 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
2110 (__ASSUME_TMPFS_NAME): Likewise.
2111 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
2112 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
2113 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
2114 (HAVE_AUX_SECURE): Make definition unconditional.
2115 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
2116 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
2117
2118 2012-08-03 Roland McGrath <roland@hack.frob.com>
2119
2120 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
2121 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
2122 * sysdeps/mach/hurd/eloop-threshold.h: New file.
2123 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2124 __eloop_threshold instead of SYMLOOP_MAX.
2125
2126 * sysdeps/generic/eloop-threshold.h: New file.
2127 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
2128 of MAXSYMLINKS.
2129 * elf/chroot_canon.c (chroot_canon): Likewise.
2130
2131 2012-08-03 Joseph Myers <joseph@codesourcery.com>
2132
2133 [BZ #13717]
2134 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2135 Change to 2.6.0 everywhere.
2136 * sysdeps/unix/sysv/linux/configure: Regenerated.
2137 * sysdeps/unix/sysv/linux/kernel-features.h
2138 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
2139 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
2140 kernel versions.
2141 (__ASSUME_POSIX_TIMERS): Define unconditionally.
2142 (__ASSUME_FUTEX_REQUEUE): Remove.
2143 (__ASSUME_STATFS64): Define unconditionally.
2144 (__ASSUME_AT_SECURE): Likewise.
2145 (__ASSUME_CORRECT_SI_PID): Likewise.
2146 (__ASSUME_TGKILL): Define without depending on kernel version for
2147 i386.
2148 (__ASSUME_UTIMES): Likewise.
2149 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
2150 kernel version.
2151 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
2152 (__ASSUME_TMPFS_NAME): Likewise.
2153 * README: Update reference to Linux kernel versions.
2154
2155 2012-08-02 Marek Polacek <polacek@redhat.com>
2156
2157 [BZ# 14150]
2158 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
2159 libc_cv_asm_type_prefix with %.
2160 * configure: Regenerated.
2161 * include/libc-symbols.h: Remove comment about
2162 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
2163 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
2164 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
2165 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
2166 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
2167 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
2168 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
2169 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
2170 * elf/tst-unique2mod1.c: Likewise.
2171 * elf/tst-unique1mod2.c: Likewise.
2172 * elf/tst-unique1mod1.c: Likewise.
2173 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
2174 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
2175 Replace ASM_TYPE_DIRECTIVE with .type.
2176 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2177 * sysdeps/i386/sysdep.h: Likewise.
2178 * sysdeps/x86_64/sysdep.h: Likewise.
2179 * sysdeps/sh/sysdep.h: Likewise.
2180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
2181 Do not define ASM_TYPE_DIRECTIVE.
2182 * sysdeps/powerpc/sysdep.h: Likewise.
2183 * sysdeps/powerpc/powerpc32/sysdep.h:
2184 Replace ASM_TYPE_DIRECTIVE with .type.
2185 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2186 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2187 * sysdeps/i386/fpu/e_powf.S: Likewise.
2188 * sysdeps/i386/fpu/e_expl.S: Likewise.
2189 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2190 * sysdeps/i386/fpu/e_acosh.S: Likewise.
2191 * sysdeps/i386/fpu/e_pow.S: Likewise.
2192 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
2193 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2194 * sysdeps/i386/fpu/s_expm1.S: Likewise.
2195 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2196 * sysdeps/i386/fpu/e_log2.S: Likewise.
2197 * sysdeps/i386/fpu/e_log2l.S: Likewise.
2198 * sysdeps/i386/fpu/e_scalb.S: Likewise.
2199 * sysdeps/i386/fpu/e_powl.S: Likewise.
2200 * sysdeps/i386/fpu/e_log10f.S: Likewise.
2201 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
2202 * sysdeps/i386/fpu/e_logl.S: Likewise.
2203 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
2204 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2205 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
2206 * sysdeps/i386/fpu/e_log2f.S: Likewise.
2207 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2208 * sysdeps/i386/fpu/e_log.S: Likewise.
2209 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2210 * sysdeps/i386/fpu/e_logf.S: Likewise.
2211 * sysdeps/i386/fpu/e_log10l.S: Likewise.
2212 * sysdeps/i386/fpu/e_atanh.S: Likewise.
2213 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
2214 * sysdeps/i386/fpu/e_log10.S: Likewise.
2215 * sysdeps/i386/fpu/s_frexp.S: Likewise.
2216 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2217 * sysdeps/i386/fpu/s_asinh.S: Likewise.
2218 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
2219 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2220 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
2221 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
2222 * sysdeps/i386/i686/strtok.S: Likewise.
2223 * sysdeps/i386/i386-mcount.S: Likewise.
2224 * sysdeps/i386/strtok.S: Likewise.
2225 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
2226 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
2227 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2228 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
2229 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2230 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
2231 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
2232 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
2233 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
2234 * sysdeps/x86_64/_mcount.S: Likewise.
2235 * sysdeps/x86_64/strtok.S: Likewise.
2236 * sysdeps/sh/_mcount.S: Likewise.
2237
2238 2012-08-01 Roland McGrath <roland@hack.frob.com>
2239
2240 * libio/iofopen.c: Include <fcntl.h>.
2241 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
2242 (_IO_fopen64, fopen64): Define as aliases.
2243 * libio/iofopen64.c: Include <fcntl.h>.
2244 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
2245 Conditionalize body on this.
2246 * sysdeps/wordsize-64/iofopen.c: File removed.
2247 * sysdeps/wordsize-64/iofopen64.c: File removed.
2248
2249 2012-08-01 Marek Polacek <polacek@redhat.com>
2250
2251 * libc/Makeconfig: Use elf in place of binfmt-subdir.
2252 Use dlfcn directly instead of a variable.
2253 (binfmt-subdir): Do not define.
2254 (dlfcn): Likewise.
2255
2256 2012-08-01 Joseph Myers <joseph@codesourcery.com>
2257
2258 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2259 Remove all definitions.
2260 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
2261 <kernel-features.h>.
2262 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2263 (miss_F_GETOWN_EX): Remove all definitions.
2264 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
2265 macro definition.
2266 [!__ASSUME_FCNTL64]: Remove conditional code.
2267 [__ASSUME_FCNTL64]: Make code unconditional.
2268 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
2269 <kernel-features.h>.
2270 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2271 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
2272 (lockf64) [__NR_fcntl64]: Make code unconditional.
2273 (lockf64) [__ASSUME_FCNTL64]: Likewise.
2274
2275 * sysdeps/unix/sysv/linux/kernel-features.h
2276 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
2277 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
2278 Make code unconditional.
2279 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2280 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
2282 [__NR_vfork]: Make code unconditional.
2283 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2284 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
2286 [__NR_vfork]: Make code unconditional.
2287 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2288 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2289
2290 2012-08-01 Roland McGrath <roland@hack.frob.com>
2291
2292 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
2293 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
2294
2295 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2296 Define mkstemp64 as an alias.
2297 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2298 Define mkstemps64 as an alias.
2299 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2300 Define mkostemp64 as an alias.
2301 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2302 Define mkostemps64 as an alias.
2303 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
2304 Conditionalize body on this.
2305 * misc/mkostemp64.c: Likewise.
2306 * misc/mkostemps64.c: Likewise.
2307 * misc/mkstemps64.c: Likewise.
2308 * sysdeps/wordsize-64/mkstemp64.c: File removed.
2309 * sysdeps/wordsize-64/mkostemp64.c: File removed.
2310 * sysdeps/wordsize-64/mkostemp.c: File removed.
2311 * sysdeps/wordsize-64/mkstemp.c: File removed.
2312 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
2313 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
2314 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
2315 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
2316
2317 [BZ #14138]
2318 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
2319 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
2320 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
2321 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
2322
2323 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
2324 compat_symbol macros from <shlib-compat.h> rather than the underlying
2325 default_symbol_version and symbol_version macros, so that DEFAULT
2326 lines in shlib-versions are respected.
2327 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
2328
2329 2012-08-01 Florian Weimer <fweimer@redhat.com>
2330
2331 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
2332 Declare with warn_unused_result.
2333 (setgid, setregid, setegid, setresgid): Likewise.
2334 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
2335 Likewise.
2336 * WUR-REPORT: Remove set*id functions.
2337
2338 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
2339
2340 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
2341
2342 2012-07-31 Roland McGrath <roland@hack.frob.com>
2343
2344 * include/sys/socket.h (__libc_accept, __libc_accept4):
2345 Add attribute_hidden.
2346 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
2347
2348 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
2349 use of PTR_MANGLE.
2350 * inet/getnetgrent_r.c (setup): Likewise.
2351
2352 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
2353
2354 2012-07-31 David S. Miller <davem@davemloft.net>
2355
2356 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2357
2358 2012-07-31 Joseph Myers <joseph@codesourcery.com>
2359
2360 [BZ #13629]
2361 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
2362 value between 1.0 and 2.0 and smaller part has absolute value less
2363 than 1.0.
2364 * math/s_clog10.c (__clog10): Likewise.
2365 * math/s_clog10f.c (__clog10f): Likewise.
2366 * math/s_clog10l.c (__clog10l): Likewise.
2367 * math/s_clogf.c (__clogf): Likewise.
2368 * math/s_clogl.c (__clogl): Likewise.
2369 * math/libm-test.inc (clog_test): Add more tests.
2370 (clog10_test): Likewise.
2371 * sysdeps/i386/fpu/libm-test-ulps: Update.
2372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2373
2374 2012-07-31 Florian Weimer <fweimer@redhat.com>
2375
2376 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
2377 Exit with zero in case no suitable GID is found, and write a
2378 message to standard error.
2379
2380 2012-07-30 Roland McGrath <roland@hack.frob.com>
2381
2382 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
2383 rather than to 1.
2384 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
2385 (MAXPATHLEN): Removed.
2386 (NOGROUP, NODEV): New macros.
2387 (setbit, clrbit, isset, isclr): New macros.
2388 (howmany, roundup, powerof2): New macros.
2389 (DEV_BSIZE): New macro.
2390
2391 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
2392 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
2393
2394 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
2395 definition on [!__NO_LONG_DOUBLE_MATH].
2396
2397 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
2398 PTR_MANGLE and PTR_DEMANGLE.
2399
2400 * socket/accept4.c (accept4): Rename to __libc_accept4.
2401 Define accept4 as a weak alias.
2402
2403 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
2404 on [_DIRENT_HAVE_D_TYPE].
2405 * io/ftw.c (ftw_dir): Likewise.
2406
2407 * io/xmknod.c (__xmknod): Don't check PATH for being null.
2408
2409 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
2410
2411 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
2412 Use the BSD numbers rather than the arbitrary ones we had.
2413 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
2414 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
2415 (SIGXCPU, SIGXFSZ): New macros.
2416 (_NSIG): Now 32.
2417
2418 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
2419 initializer on [_LIBC_REENTRANT].
2420
2421 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
2422 definitions inside [_POSIX_MAPPED_FILES].
2423
2424 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
2425
2426 * dirent/opendir.c: Include <fcntl.h>.
2427
2428 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
2429 (__libc_getspecific): Likewise.
2430 (__libc_key_create): Likewise.
2431
2432 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
2433 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
2434 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
2435 (tmpfile64): Define as alias.
2436 * sysdeps/wordsize-64/tmpfile.c: File removed.
2437 * sysdeps/wordsize-64/tmpfile64.c: File removed.
2438 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
2439 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
2440
2441 * stdio-common/vfscanf.c: Include <stdbool.h>.
2442 * nss/makedb.c: Likewise.
2443 * stdio-common/_i18n_number.h: Likewise.
2444 * argp/argp-help.c: Likewise.
2445 * posix/wordexp.c: Likewise.
2446 * sysdeps/posix/spawni.c: Likewise.
2447 * nss/nss_files/files-initgroups.c: Likewise.
2448 * stdio-common/reg-modifier.c: Include <stdlib.h>.
2449 * nss/nss_files/files-initgroups.c: Likewise.
2450 * nss/nss_db/db-netgrp.c: Likewise.
2451 * nss/nss_db/db-initgroups.c: Likewise.
2452 * io/fchmodat.c: Include <sys/stat.h>.
2453
2454 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
2455 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
2456
2457 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
2458 [HAVE_MMAP].
2459
2460 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
2461 Add multiple inclusion protection.
2462
2463 2012-07-27 David S. Miller <davem@davemloft.net>
2464
2465 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2466
2467 2012-07-27 Gary Benson <gbenson@redhat.com>
2468
2469 [BZ #14298]
2470 * elf/rtld.c: Include <stap-probe.h>.
2471 (dl_main): Added static probes "init_start" and "init_complete".
2472 * elf/dl-load.c: Include <stap-probe.h>.
2473 (lose): Take new parameter "nsid".
2474 Added static probe "map_failed".
2475 (_dl_map_object_from_fd): Pass namespace id to lose.
2476 Added static probe "map_start".
2477 (open_verify): Pass namespace id to lose.
2478 * elf/dl-open.c: Include <stap-probe.h>.
2479 (dl_open_worker) Added static probes "map_complete", "reloc_start"
2480 and "reloc_complete".
2481 * elf/dl-close.c: Include <stap-probe.h>.
2482 (_dl_close_worker): Added static probes "unmap_start" and
2483 "unmap_complete".
2484 * elf/rtld-debugger-interface.txt: New file documenting the above.
2485
2486 2012-07-26 Roland McGrath <roland@hack.frob.com>
2487
2488 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
2489 rather than a string variable.
2490 * sunrpc/rpc_main.c (h_output): Likewise.
2491 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
2492
2493 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
2494
2495 * inet/check_native.c: New file.
2496
2497 2012-07-26 Joseph Myers <joseph@codesourcery.com>
2498
2499 [BZ #13629]
2500 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
2501 if larger part has absolute value 1.0.
2502 * math/s_clog10.c (__clog10): Likewise.
2503 * math/s_clog10f.c (__clog10f): Likewise.
2504 * math/s_clog10l.c (__clog10l): Likewise.
2505 * math/s_clogf.c (__clogf): Likewise.
2506 * math/s_clogl.c (__clogl): Likewise.
2507 * math/libm-test.inc (clog_test): Add more tests.
2508 (clog10_test): Likewise.
2509 * sysdeps/i386/fpu/libm-test-ulps: Update.
2510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2511
2512 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
2513 (pltexit): Likewise.
2514 (La_regs): Likewise.
2515 (La_retval): Likewise.
2516 (int_retval): Likewise.
2517 Update #error for removed macros to refer only to definitions in
2518 tst-audit.h.
2519 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
2520 macro.
2521 (pltexit): Likewise.
2522 (La_regs): Likewise.
2523 (La_retval): Likewise.
2524 (int_retval): Likewise.
2525 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
2526 macro.
2527 (pltexit): Likewise.
2528 (La_regs): Likewise.
2529 (La_retval): Likewise.
2530 (int_retval): Likewise.
2531 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
2532 macro.
2533 (pltexit): Likewise.
2534 (La_regs): Likewise.
2535 (La_retval): Likewise.
2536 (int_retval): Likewise.
2537 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
2538 macro.
2539 (pltexit): Likewise.
2540 (La_regs): Likewise.
2541 (La_retval): Likewise.
2542 (int_retval): Likewise.
2543 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
2544 macro.
2545 (pltexit): Likewise.
2546 (La_regs): Likewise.
2547 (La_retval): Likewise.
2548 (int_retval): Likewise.
2549 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
2550 macro.
2551 (pltexit): Likewise.
2552 (La_regs): Likewise.
2553 (La_retval): Likewise.
2554 (int_retval): Likewise.
2555 * sysdeps/generic/tst-audit.h: Update comment to refer only to
2556 macro definitions in tst-audit.h.
2557 * sysdeps/i386/tst-audit.h: New file.
2558 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
2559 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
2560 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
2561 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
2562 * sysdeps/sh/tst-audit.h: Likewise.
2563 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
2564 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
2565 * sysdeps/x86_64/tst-audit.h: Likewise.
2566
2567 2012-07-26 Andreas Jaeger <aj@suse.de>
2568
2569 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
2570 ptrace.
2571
2572 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
2573 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
2574 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
2575 PTRACE_O_MASK.
2576 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
2577 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
2578 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
2579
2580 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
2581 value.
2582
2583 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
2584 _sigsys.
2585 (si_call_addr, si_syscall, si_arch): Define new macro.
2586 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
2587 _sigsys.
2588 (si_call_addr, si_syscall, si_arch): Define new marcro.
2589 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
2590 _sigsys.
2591 (si_call_addr, si_syscall, si_arch): Define new macro.
2592 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
2593 _sigsys.
2594 (si_call_addr, si_syscall, si_arch): Define new macro.
2595
2596 2012-07-25 Joseph Myers <joseph@codesourcery.com>
2597
2598 [BZ #13717]
2599 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2600 Change to 2.4.21 where previously 2.4.1.
2601 * sysdeps/unix/sysv/linux/configure: Regenerated.
2602 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
2603 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
2604 Linux kernel version.
2605 (__ASSUME_STD_AUXV): Remove.
2606 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
2607 kernel version.
2608 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
2609 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
2610 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
2611 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
2612 (__ASSUME_NETLINK_SUPPORT): Likewise.
2613 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
2614 (__no_netlink_support): Remove conditional definition.
2615 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
2616 Remove.
2617 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2618 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
2619 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
2620 (if_nameindex_ioctl): Remove.
2621 (if_nameindex_netlink): Do not handle __no_netlink_support.
2622 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2623 code.
2624 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
2625 Remove conditional code.
2626 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2627 code.
2628 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
2629 unconditional.
2630 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2631 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
2632 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
2633 Remove.
2634 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
2635 [!__ASSUME_STD_AUXV]: Remove conditional code.
2636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
2637 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
2638 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
2639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
2640 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
2641 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2642 code.
2643 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2645 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
2646 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2647 conditional code.
2648 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2650 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2651 code.
2652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2653 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2654 conditional code.
2655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
2656 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2657 code unconditional.
2658 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2659 conditional code.
2660 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2661 unconditional.
2662 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2663 conditional code.
2664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2665 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2666 unconditional.
2667 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2668 conditional code.
2669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2670 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2671 code unconditional.
2672 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2673 conditional code.
2674 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2675 unconditional.
2676 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2677 conditional code.
2678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2679 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2680 code unconditional.
2681 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2682 conditional code.
2683 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2684 unconditional.
2685 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2686 conditional code.
2687
2688 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
2689
2690 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
2691 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
2692 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2693 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
2694 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
2695 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2696 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2697 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
2698 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
2699 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2700 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
2701 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
2702 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
2703 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2704 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
2705 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
2706 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
2707 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
2708 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
2709 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
2710 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
2711 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
2712 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2713
2714 2012-07-25 Florian Weimer <fweimer@redhat.com>
2715
2716 * Versions.def: Add GLIBC_2.17.
2717 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
2718 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
2719 Introduce __libc_secure_getenv.
2720 * stdlib/Versions (2.17): Add secure_getenv
2721 (GLIBC_PRIVATE): Add __libc_secure_getenv.
2722 * stdlib/secure-getenv.c: Rename __secure_getenv to
2723 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
2724 symbol __secure_getenv for GLIBC_2.0.
2725 * stdlib/tst-secure-getenv.c: New.
2726 * stdlib/Makefile (tests): Add testcase.
2727 * manual/startup.texi (Environment Access): Document
2728 secure_getenv.
2729 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
2730 __libc_secure_getenv.
2731 * inet/ruserpass.c (ruserpass): Likewise.
2732 * malloc/mtrace.c (mtrace): Likewise.
2733 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
2734 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
2735 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
2736 * sysdeps/posix/tempname.c: Likewise. Evaluate
2737 HAVE_SECURE_GETENV.
2738 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
2739 __secure_getenv to __libc_secure_getenv.
2740 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
2741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2742 Likewise.
2743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2744 Likewise.
2745 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2746 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2747 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2748 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2749 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2750 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2751 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2752
2753 2012-07-25 Joseph Myers <joseph@codesourcery.com>
2754
2755 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
2756 (struct La_i86_retval): Likewise.
2757 (struct La_x86_64_regs): Likewise.
2758 (struct La_x86_64_retval): Likewise.
2759 (struct La_x32_regs): Likewise.
2760 (struct La_x32_retval): Likewise.
2761 (struct La_ppc32_regs): Likewise.
2762 (struct La_ppc32_retval): Likewise.
2763 (struct La_ppc64_regs): Likewise.
2764 (struct La_ppc64_retval): Likewise.
2765 (struct La_sh_regs): Likewise.
2766 (struct La_sh_retval): Likewise.
2767 (struct La_s390_32_regs): Likewise.
2768 (struct La_s390_32_retval): Likewise.
2769 (struct La_s390_64_regs): Likewise.
2770 (struct La_s390_64_retval): Likewise.
2771 (struct La_sparc32_regs): Likewise.
2772 (struct La_sparc32_retval): Likewise.
2773 (struct La_sparc64_regs): Likewise.
2774 (struct La_sparc64_retval): Likewise.
2775 (struct audit_ifaces): Remove architecture-specific pltenter and
2776 pltexit members.
2777 * sysdeps/i386/ldsodefs.h: New file.
2778 * sysdeps/powerpc/ldsodefs.h: Likewise.
2779 * sysdeps/s390/ldsodefs.h: Likewise.
2780 * sysdeps/sh/ldsodefs.h: Likewise.
2781 * sysdeps/sparc/ldsodefs.h: Likewise.
2782 * sysdeps/x86_64/ldsodefs.h: Likewise.
2783
2784 2012-07-25 Marek Polacek <polacek@redhat.com>
2785
2786 [BZ #6808]
2787 * math/libm-test.inc (yn_test): Add another test.
2788 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
2789 to ERANGE when the result is +-Inf.
2790 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2791 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
2792 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
2793 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
2794
2795 2012-07-24 Joseph Myers <joseph@codesourcery.com>
2796
2797 * conform/data/time.h-data (NULL): Use macro-constant. Require
2798 equal to 0.
2799 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
2800 clock_t.
2801 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
2802
2803 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
2804
2805 * configure.in <sysdeps resolving>: Correct printing
2806 Implies_before.
2807 * configure: Regenerate.
2808
2809 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
2810
2811 * math/w_ilogb.c: Include <limits.h>.
2812 * math/w_ilogbl.c: Likewise.
2813
2814 2012-07-20 Joseph Myers <joseph@codesourcery.com>
2815
2816 * manual/lang.texi (__va_copy): Document primarily as ISO C99
2817 va_copy. Document allowing for unavailable va_copy only as
2818 pre-C99 compatibility.
2819 * manual/string.texi (Copying and Concatenation): Use va_copy
2820 instead of __va_copy in concat example.
2821
2822 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
2823
2824 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
2825 (__sendto): Use create_address_port. Initialize APORT and deallocate
2826 it if not null.
2827
2828 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
2829 with O_NOLINK passed to __file_name_lookup.
2830
2831 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
2832 with O_NOLINK passed to __file_name_lookup.
2833
2834 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
2835 negative N or less than NGIDS.
2836
2837 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
2838 type to string_t. Set ERANGE as errno and return it if NAME is not big
2839 enough. Use memcpy instead of strncpy.
2840
2841 2012-07-20 Joseph Myers <joseph@codesourcery.com>
2842
2843 * elf/Makefile (check-data): Remove.
2844 (localplt.data): New vpath directive.
2845 ($(objpfx)check-localplt.out): Use localplt.data from vpath
2846 instead of $(check-data).
2847 * scripts/data/localplt-generic.data: Move to ...
2848 * sysdeps/generic/localplt.data: ... here.
2849 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
2850 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
2851 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
2852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2853 ... here.
2854 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
2855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2856 ... here.
2857 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
2858 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
2859 ... here.
2860 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
2861 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2862 ... here.
2863 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
2864 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
2865 ... here.
2866 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
2867 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
2868 ... here.
2869
2870 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2871
2872 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
2873 PPC32 and PPC64 files.
2874 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
2875 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
2876
2877 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2878
2879 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
2880 __makecontext_ret to ...
2881 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2882 ... here and call exit if uc_link is NULL. New file.
2883 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
2884 __makecontext_ret.S.
2885 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
2886 __makecontext_ret to ...
2887 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2888 ... here and call exit if uc_link is NULL. New file.
2889 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
2890 __makecontext_ret.S.
2891
2892 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2893
2894 * elf/elf.h (R_390_IRELATIVE): New definition.
2895 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
2896 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
2897 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
2898 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2899 (elf_machine_lazy_rel): Likewise.
2900 * sysdeps/s390/dl-irel.h: New file.
2901 * sysdeps/s390/s390-64/memcpy.S: New asm code.
2902 * sysdeps/s390/s390-64/memset.S: New asm code.
2903 * sysdeps/s390/s390-64/memcmp.S: New asm code.
2904 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
2905 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
2906 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
2907 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
2908 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
2909 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
2910 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
2911 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
2912 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
2913 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
2914 * sysdeps/s390/s390-32/memcpy.S: New asm code.
2915 * sysdeps/s390/s390-32/memset.S: New asm code.
2916 * sysdeps/s390/s390-32/memcmp.S: New asm code.
2917
2918 2012-07-17 Marek Polacek <polacek@redhat.com>
2919
2920 [BZ #14349]
2921 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
2922 * sysdeps/s390/s390-64/configure.in: Likewise.
2923 * sysdeps/sparc/configure.in: Likewise.
2924 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
2925 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
2926 * sysdeps/i386/configure.in: Likewise.
2927 * sysdeps/x86_64/configure.in: Likewise.
2928 * sysdeps/sh/configure.in: Likewise.
2929 * sysdeps/s390/s390-32/configure: Regenerated.
2930 * sysdeps/s390/s390-64/configure: Likewise.
2931 * sysdeps/x86_64/configure: Likewise.
2932 * sysdeps/sh/configure: Likewise.
2933 * sysdeps/powerpc/powerpc64/configure: Likewise.
2934 * sysdeps/powerpc/powerpc32/configure: Likewise.
2935 * sysdeps/sparc/configure: Likwise.
2936 * sysdeps/i386/configure: Likewise.
2937
2938 * elf/dl-open.c: Comment fixes.
2939
2940 2012-07-17 Joseph Myers <joseph@codesourcery.com>
2941
2942 * Makefile [CXX] (check-data): Remove.
2943 [CXX] (c++-types.data): New vpath directive.
2944 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
2945 vpath. Do not allow for C++ type data being missing.
2946 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
2947 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
2948 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
2949 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
2950 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
2951 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
2952 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
2953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2954 ... here.
2955 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
2956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2957 ... here.
2958 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
2959 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
2960 ... here.
2961 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
2962 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
2963 ... here.
2964 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
2965 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
2966 ... here.
2967 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
2968 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
2969 ... here.
2970 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
2971 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
2972 ... here.
2973 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
2974 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
2975
2976 * elf/tls-macros.h (TLS_LE): Move architecture-specific
2977 definitions to architecture-specific files.
2978 (TLS_IE): Likewise.
2979 (TLS_LD): Likewise.
2980 (TLS_GD): Likewise.
2981 * sysdeps/i386/tls-macros.h: New file.
2982 * sysdeps/powerpc/tls-macros.h: Likewise.
2983 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2984 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2985 * sysdeps/sh/tls-macros.h: Likewise.
2986 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
2987 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
2988 * sysdeps/x86_64/tls-macros.h: Likewise.
2989
2990 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2991
2992 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
2993 zero value for regular exit case.
2994
2995 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2996 (__start_context): Preserve zero value for regular exit case.
2997
2998 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2999 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3000
3001 * manual/setjmp.texi (setcontext): Clarify normal process
3002 termination when uc_link is the null pointer.
3003 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
3004 exit call.
3005
3006 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
3007
3008 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
3009 preprocessor. Test for each exception mask separately.
3010
3011 2012-07-16 Andreas Jaeger <aj@suse.de>
3012
3013 * po/ru.po: Update from translation team.
3014
3015 2012-07-15 Joseph Myers <joseph@codesourcery.com>
3016
3017 * conform/data/string.h-data (NULL): Use macro-constant. Require
3018 equal to 0.
3019 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3020 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3021 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
3022 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
3023 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3024
3025 2012-07-13 Andreas Jaeger <aj@suse.de>
3026
3027 * po/fr.po: Update from translation team.
3028
3029 2012-07-12 Marek Polacek <polacek@redhat.com>
3030
3031 [BZ #14173]
3032 * math/libm-test.inc (yn_test): Add test for BZ #14173.
3033 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
3034 loop condition.
3035
3036 2012-07-12 Joseph Myers <joseph@codesourcery.com>
3037
3038 [BZ #13717]
3039 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3040 Change to 2.4.1 where previously 2.4.0.
3041 * sysdeps/unix/sysv/linux/configure: Regenerated.
3042 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
3043 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
3044 version.
3045 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
3046 (__ASSUME_AT_CLKTCK): Remove.
3047 (__ASSUME_AT_PAGESIZE): Likewise.
3048 (__ASSUME_AT_XID): Likewise.
3049 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
3050 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
3051 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
3052 unconditionally.
3053 (HAVE_AUX_PAGESIZE): Likewise.
3054 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
3055 [__ASSUME_AT_CLKTCK]: Make code unconditional.
3056 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
3057
3058 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
3059
3060 [BZ #14307]
3061 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
3062 the temporary buffer used to invoke __gethostbyname2_r,
3063 __gethostbyaddr_r and gethostbyname4_r to make room for struct
3064 host_data / struct gaih_addrtuple.
3065 * resolv/nss_dns/dns-host.c (global scope): Move definition of
3066 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
3067 header file nss/nsswitch.h.
3068 * nss/nsswitch.h (global scope): Add definition of implementation
3069 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
3070 resolv/nss_dns/dns-host.c).
3071
3072 2012-07-11 Andreas Jaeger <aj@suse.de>
3073
3074 * po/fr.po: Update from translation team.
3075
3076 * po/sv.po: Update from translation team
3077 * po/fr.po: Another update from translation team.
3078
3079 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3080
3081 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
3082 for subnormals or multiply small sinh result by itself.
3083 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3084 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3085
3086 2012-07-11 David S. Miller <davem@davemloft.net>
3087
3088 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3089
3090 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
3091
3092 [BZ #14347]
3093 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
3094 (INTERNAL_MARK): Shift it here.
3095
3096 2012-07-10 Marek Polacek <polacek@redhat.com>
3097
3098 [BZ #14151]
3099 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
3100 libc_cv_asm_global_directive with .globl.
3101 * configure: Regenerated.
3102 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
3103 with .globl.
3104 * sysdeps/i386/configure: Regenerated.
3105 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
3106 with .globl.
3107 * sysdeps/x86_64/configure: Regenerated.
3108 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
3109 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
3110 * elf/tst-unique2mod2.c: Likewise.
3111 * elf/tst-unique2mod1.c: Likewise.
3112 * elf/tst-unique1mod2.c: Likewise.
3113 * elf/tst-unique1mod1.c: Likewise.
3114 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3115 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3116 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3117 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3118 * sysdeps/mach/sysdep.h: Likewise.
3119 * sysdeps/i386/sysdep.h: Likewise.
3120 * sysdeps/i386/i386-mcount.S: Likewise.
3121 * sysdeps/x86_64/_mcount.S: Likewise.
3122 * sysdeps/x86_64/sysdep.h: Likewise.
3123 * sysdeps/sh/_mcount.S: Likewise.
3124 * sysdeps/sh/sysdep.h: Likewise.
3125 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
3126 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
3127 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
3128 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3129 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
3130 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
3131 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
3132 * locale/localeinfo.h: Likewise.
3133 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
3134 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
3135
3136 2012-07-09 Roland McGrath <roland@hack.frob.com>
3137
3138 [BZ #14336]
3139 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
3140 system".
3141 * manual/message.texi (The Uniforum approach): Likewise.
3142 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
3143 (glibc iconv Implementation): Likewise.
3144
3145 2012-07-09 Joseph Myers <joseph@codesourcery.com>
3146
3147 [BZ #14337]
3148 * math/s_clog.c (__clog): Avoid scaling a value down where that
3149 could result in underflow.
3150 * math/s_clog10.c (__clog10): Likewise.
3151 * math/s_clog10f.c (__clog10f): Likewise.
3152 * math/s_clog10l.c (__clog10l): Likewise.
3153 * math/s_clogf.c (__clogf): Likewise.
3154 * math/s_clogl.c (__clogl): Likewise.
3155 * math/libm-test.inc (clog_test): Add more tests.
3156 (clog10_test): Likewise.
3157 * sysdeps/i386/fpu/libm-test-ulps: Update.
3158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3159
3160 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3161
3162 [BZ #14283]
3163 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
3164 by 7 not 8 to examine high bit of fractional part.
3165
3166 [BZ #14042]
3167 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
3168 for call to __mcount_internal.
3169 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
3170 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
3171 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
3172
3173 2012-07-06 Joseph Myers <joseph@codesourcery.com>
3174
3175 [BZ #14154]
3176 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
3177 approximation for values within 0x1p-13f of an odd multiple of
3178 pi/4.
3179 * math/libm-test.inc (tan_test): Do not allow spurious underflow
3180 exception. Add more tests.
3181 * sysdeps/i386/fpu/libm-test-ulps: Update.
3182
3183 [BZ #6778]
3184 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
3185 inputs and return -1 for them. Do not check for +Inf in case not
3186 reachable for +Inf.
3187 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
3188 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
3189 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3190 and return -1 for them. Do not check for +Inf in case not
3191 reachable for +Inf.
3192 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
3193 define.
3194 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3195 and return -1 for them. Do not check for +Inf in case not
3196 reachable for +Inf.
3197 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
3198 spurious underflow.
3199 * sysdeps/i386/fpu/libm-test-ulps: Update.
3200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3201
3202 2012-07-06 Mike Frysinger <vapier@gentoo.org>
3203
3204 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
3205
3206 2012-07-05 Joseph Myers <joseph@codesourcery.com>
3207
3208 [BZ #14157]
3209 [BZ #14331]
3210 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
3211 could result in spurious underflow. Scale down values above
3212 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
3213 * math/s_csqrtf.c (__csqrtf): Likewise.
3214 * math/s_csqrtl.c (__csqrtl): Likewise.
3215 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
3216 spurious underflow.
3217 * sysdeps/i386/fpu/libm-test-ulps: Update.
3218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3219
3220 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
3221
3222 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
3223 xopen-msg.sed.
3224 * catgets/xopen-msg.awk: New file.
3225 * catgets/xopen-msg.sed: Removed.
3226
3227 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
3228 po2text.sed.
3229 * intl/po2test.awk: New file.
3230 * intl/po2test.sed: Removed.
3231
3232 2012-07-04 Joseph Myers <joseph@codesourcery.com>
3233
3234 [BZ #14328]
3235 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
3236 or multiply small sinh result by itself.
3237 * math/s_ctanf.c (__ctanf): Likewise.
3238 * math/s_ctanh.c (__ctanh): Likewise.
3239 * math/s_ctanhf.c (__ctanhf): Likewise.
3240 * math/s_ctanhl.c (__ctanhl): Likewise.
3241 * math/s_ctanl.c (__ctanl): Likewise.
3242 * math/libm-test.inc (ctan_test_tonearest): New function.
3243 (ctan_test_towardzero): Likewise.
3244 (ctan_test_downward): Likewise.
3245 (ctan_test_upward): Likewise.
3246 (ctanh_test_tonearest): Likewise.
3247 (ctanh_test_towardzero): Likewise.
3248 (ctanh_test_downward): Likewise.
3249 (ctanh_test_upward): Likewise.
3250 (main): Call these new functions.
3251 * sysdeps/i386/fpu/libm-test-ulps: Update.
3252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3253
3254 2012-07-03 Mike Frysinger <vapier@gentoo.org>
3255
3256 * .gitignore: Delete /ports entry.
3257
3258 2012-07-03 Andreas Jaeger <aj@suse.de>
3259
3260 * po/bg.po: Update from translation team.
3261 * po/cs.po: Likewise.
3262 * po/de.po: Likewise.
3263 * po/hr.po: Likewise.
3264 * po/nl.pl: Likewise.
3265 * po/pl.po: Likewise.
3266 * po/vi.po: Likewise.
3267
3268 2012-07-03 Joseph Myers <joseph@codesourcery.com>
3269
3270 * Makeconfig [!+link] (+link-before-libc): New variable.
3271 [!+link] (+link-after-libc): Likewise.
3272 [!+link] (+link-tests): Likewise.
3273 [!+link] (+link): Define in terms of $(+link-before-libc) and
3274 $(+link-after-libc).
3275 [!+link-static] (+link-static-before-libc): New variable.
3276 [!+link-static] (+link-static-after-libc): Likewise.
3277 [!+link-static] (+link-static-tests): Likewise.
3278 [!+link-static] (+link-static): Define in terms of
3279 $(+link-static-before-libc) and $(+link-static-after-libc).
3280 [build-shared] (link-libc-before-gnulib): New variable.
3281 [build-shared] (link-libc-tests): Likewise.
3282 [build-shared] (link-libc): Define in terms of
3283 $(link-libc-before-gnulib).
3284 [!build-shared] (link-libc-tests): New variable.
3285 (link-libc-static-tests): New variable.
3286 [!gnulib] (gnulib-arch): New variable.
3287 [!gnulib] (gnulib-tests): Likewise.
3288 [!gnulib] (static-gnulib-arch): Likewise.
3289 [!gnulib] (static-gnulib-tests): Likewise.
3290 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
3291 Define with "=" instead of ":=".
3292 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
3293 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
3294 * Rules (binaries-all-notests): New variable.
3295 (binaries-all-tests): Likewise.
3296 (binaries-static-notests): Likewise.
3297 (binaries-static-tests): Likewise.
3298 (binaries-all): Define using $(binaries-all-notests) and
3299 $(binaries-all-tests).
3300 (binaries-static): Define using $(binaries-static-notests) and
3301 $(binaries-static-tests).
3302 (binaries-shared-tests): New variable.
3303 (binaries-shared-notests): Likewise.
3304 (binaries-shared): Remove variable.
3305 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
3306 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
3307 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
3308 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
3309 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
3310 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
3311 * elf/Makefile (sln-modules): New variable.
3312 (extra-objs): Add $(sln-modules:=.o).
3313 (ldconfig-modules): Add static-stubs.
3314 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
3315 * elf/static-stubs.c: New file.
3316
3317 [BZ #14283]
3318 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
3319 by 7 not 8 to examine high bit of fractional part. Use volatile
3320 variables when splitting into final array of floats if
3321 __FLT_EVAL_METHOD__ != 0.
3322 * math/libm-test.inc (cos_test): Add another test.
3323 (sin_test): Likewise.
3324 * sysdeps/i386/fpu/libm-test-ulps: Update.
3325
3326 [BZ #14273]
3327 * math/libm-test.inc (cosh_test): Add more tests.
3328
3329 * version.h (RELEASE): Set to "development".
3330 (VERSION): Set to "2.16.90".
3331
3332 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
3333
3334 * NEWS: Update copyright. Remove last-updated date.
3335 Mention math library bug fixes and timezone data changes.
3336 * README: Mention GNU/Hurd, x32, and HPPA support status.
3337
3338 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
3339
3340 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
3341
3342 2012-06-27 Andreas Jaeger <aj@suse.de>
3343
3344 * manual/contrib.texi (Contributors): Add Samuel Thibault.
3345
3346 2012-06-25 Andreas Jaeger <aj@suse.de>
3347
3348 * sysdeps/s390/fpu/libm-test-ulps: Update.
3349
3350 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
3351 Thomas Schwinge <thomas@codesourcery.com>
3352
3353 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
3354 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
3355 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
3356 fanotify_mark.
3357
3358 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
3359
3360 * sysdeps/mach/start.c: Remove file.
3361 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
3362 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
3363 * sysdeps/sh/init-first.c: Likewise.
3364
3365 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
3366 registers for frame unwinding purposes, add CFI directives.
3367 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3368 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
3369 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
3370 Likewise.
3371
3372 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
3373 __fortify_fail returning.
3374 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3375
3376 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
3377 sysdeps/sh/____longjmp_chk.S.
3378 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
3379 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
3380 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
3381 (gen-as-const-headers): Append sigaltstack-offsets.sym.
3382
3383 * sysdeps/sh/abort-instr.h: New file.
3384 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
3385 process in case exit returns.
3386
3387 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
3388 initialize the GOT register before use.
3389
3390 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
3391 calculation of ARGC > 4.
3392
3393 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
3394 meaningful names to some local labels.
3395
3396 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3397 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3398
3399 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
3400 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
3401 (__arch_compare_and_exchange_val_16_acq): Likewise.
3402 (__arch_compare_and_exchange_val_32_acq): Likewise.
3403 (atomic_exchange_and_add): Fix gUSA sequence.
3404 (atomic_add): Likewise.
3405 (atomic_add_negative): Likewise.
3406 (atomic_add_zero): Likewise.
3407 (atomic_bit_test_set): Likewise.
3408
3409 2012-06-22 Andreas Schwab <schwab@redhat.com>
3410
3411 [BZ #13579]
3412 * include/link.h (struct link_map): Add l_free_initfini.
3413 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
3414 l_initfini.
3415 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
3416 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
3417 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
3418 set.
3419
3420 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
3421
3422 * configure.in: Use AC_LANG_SOURCE.
3423 * configure: Regenerate.
3424
3425 2012-06-22 Roland McGrath <roland@hack.frob.com>
3426
3427 * configure.in (libc_cv_localstatedir): New substituted variable.
3428 * configure: Regenerated.
3429 * config.make.in (localstatedir): New variable, substituted from
3430 libc_cv_localstatedir.
3431 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
3432 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
3433 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
3434 * sysdeps/gnu/configure: Regenerated.
3435
3436 2012-06-21 Jeff Law <law@redhat.com>
3437
3438 [BZ #14277]
3439 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
3440 free. Simplify list management for _LIBC case.
3441
3442 2012-06-21 Joseph Myers <joseph@codesourcery.com>
3443
3444 [BZ #14273]
3445 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
3446 Clear sign bit of 64-bit integer value before comparing against
3447 overflow value.
3448
3449 * sysdeps/mach/configure: Regenerated.
3450
3451 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
3452
3453 [BZ #14278]
3454 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
3455
3456 2012-06-21 Jeff Law <law@redhat.com>
3457
3458 [BZ #13882]
3459 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
3460 uint16_t for elements in the "seen" array to avoid char overflows.
3461 * elf/dl-fini.c (_dl_sort_fini): Likewise.
3462 * elf/dl-open.c (dl_open_worker): Likewise.
3463
3464 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
3465
3466 * scripts/list-sources.sh: Scan PORTS for translations.
3467 * po/libc.pot: Regenerated.
3468
3469 2012-06-21 Andreas Jaeger <aj@suse.de>
3470
3471 [BZ #12194]
3472 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
3473 warning.
3474 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
3475 * bits/byteswap-16.h (__bswap_16): Likewise.
3476 * bits/byteswap.h (__bswap_constant_16): Likewise.
3477
3478 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
3479
3480 [BZ #14117]
3481 * sysdeps/i386/fpu_control.h: Removed.
3482 * sysdeps/x86_64/fpu_control.h: Moved to ...
3483 * sysdeps/x86/fpu_control.h: Here.
3484
3485 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
3486 (_FPU_SETCW): Likewise.
3487
3488 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
3489
3490 [BZ #14117]
3491 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
3492 * sysdeps/x86/fpu/bits/mathinline.h: This.
3493 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
3494
3495 [BZ #14050]
3496 [BZ #14117]
3497 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
3498 functions if __x86_64__ is defined.
3499
3500 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
3501
3502 * string/endian.h: Add !__ASSEMBLER__ condition for including
3503 conversion interfaces.
3504
3505 2012-06-15 Joseph Myers <joseph@codesourcery.com>
3506
3507 [BZ #14241]
3508 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
3509 of ABS(x) in calculating zero to negative powers other than odd
3510 integers.
3511 * math/libm-test.inc (pow_test): Add more tests.
3512
3513 2012-06-15 Andreas Jaeger <aj@suse.de>
3514
3515 * manual/contrib.texi (Contributors): Update entry of Liubov
3516 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
3517 Machado Filho.
3518
3519 2012-06-15 Cyril Hrubis <metan@ucw.cz>
3520
3521 * string/string.h: Add __wur to GNU version of strerror_r.
3522
3523 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
3524
3525 [BZ #14229]
3526 * string/Makefile (tests): Add tst-strtok_r.
3527 * string/tst-strtok_r.c: New file.
3528 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
3529 RAX_LP/RDX_LP on SAVE_PTR.
3530
3531 2012-06-14 Roland McGrath <roland@hack.frob.com>
3532
3533 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
3534
3535 2012-06-14 Joseph Myers <joseph@codesourcery.com>
3536
3537 * libm_test.inc (csqrt_test): Allow more spurious underflow
3538 exceptions.
3539 (j0_test): Likewise.
3540 (j1_test): Likewise.
3541 (y0_test): Likewise.
3542 (y1_test): Likewise.
3543
3544 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
3545
3546 * po/Makefile (libc.pot): Use UTF-8 charset.
3547
3548 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
3549
3550 [BZ #14210]
3551 Suppress sign-conversion warning from FD_SET.
3552 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
3553 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
3554 not unsigned long int.
3555 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
3556
3557 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
3558
3559 [BZ #14050]
3560 [BZ #14117]
3561 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
3562 __extern_always_inline instead of __extern_inline.
3563 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
3564 (__signbit): Likewise.
3565 (__signbitl): Support C++ namespace.
3566 (lrintf): New inline function.
3567 (lrint): Likewise.
3568 (llrintf): Likewise.
3569 (llrint): Likewise.
3570 (fmaxf): Likewise.
3571 (fmax): Likewise.
3572 (fminf): Likewise.
3573 (fmin): Likewise.
3574 (rint): Likewise.
3575 (rintf): Likewise.
3576 (ceil): Likewise.
3577 (ceilf): Likewise.
3578 (floor): Likewise.
3579 (floorf): Likewise.
3580 (nearbyint): Likewise.
3581 (nearbyintf): Likewise.
3582
3583 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
3584
3585 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
3586 non-default versions.
3587
3588 2012-06-11 Roland McGrath <roland@hack.frob.com>
3589
3590 [BZ #14218]
3591 * manual/argp.texi (Argp): Reword argp_parse description slightly.
3592
3593 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
3594
3595 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
3596 (FE_UPWARD, FE_DOWNWARD): Don't define.
3597 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
3598 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3599
3600 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
3601 reading it.
3602 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3603 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3604
3605 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3606
3607 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3608 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
3609 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
3610 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
3611
3612 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
3613
3614 [BZ #14117]
3615 * sysdeps/i386/fpu/bits/fenv.h: Removed.
3616 * sysdeps/i386/fpu/Implies: New file.
3617 * sysdeps/x86_64/fpu/Implies: Likewise.
3618 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
3619 * sysdeps/x86/fpu/bits/fenv.h: This.
3620
3621 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
3622 __SSE_MATH__.
3623
3624 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3625
3626 [BZ #14134]
3627 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
3628 character 0xffff that matches the last element of the
3629 conversion table.
3630
3631 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3632
3633 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
3634 fmodl commit.
3635
3636 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3637
3638 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
3639 values higher than 25.6283.
3640
3641 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3642
3643 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
3644 subnormal exponent extraction and add some __builtin_expect.
3645 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
3646 Fix for subnormal mantissa calculation.
3647
3648 2012-06-04 Mike Frysinger <vapier@gentoo.org>
3649
3650 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
3651 cpu2 is -1 and errno is not ENOSYS.
3652
3653 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
3654
3655 [BZ #14117]
3656 * sysdeps/i386/i486/bits/string.h: Renamed to ...
3657 * sysdeps/x86/bits/string.h: This.
3658 * sysdeps/x86_64/bits/string.h: Removed.
3659
3660 * sysdeps/i386/i486/bits/string.h: Define inline functions only
3661 if not compiling for x86-64, but compiling for >= i486.
3662
3663 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
3664 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
3665
3666 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
3667 New macro from Linux kernel 3.4.0.
3668 (FP_XSTATE_MAGIC2): Likewise.
3669 (FP_XSTATE_MAGIC2_SIZE): Likewise.
3670 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
3671 (struct _fpx_sw_bytes): New struct.
3672 (struct _xsave_hdr): Likewise.
3673 (struct _ymmh_state): Likewise.
3674 (struct _xstate): Likewise.
3675
3676 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
3677 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
3678 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
3679 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
3680 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
3681 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
3682
3683 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
3684 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
3685 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
3686 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
3687 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
3688 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
3689
3690 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3691
3692 [BZ #13743]
3693 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
3694 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
3695 (sysdep_headers): Include sys/platform/ppc.h.
3696 * sysdeps/powerpc/test-gettimebase.c: Test for
3697 __ppc_get_timebase() to catch future ISA opcode/insn changes.
3698 * manual/Makefile (appendices): Include platform.texi.
3699 * manual/contrib.texi (Contributors): Update @node pointers.
3700 * manual/maint.texi (Maintenance): Likewise.
3701 (Platform): New node.
3702 * manual/platform.texi: New file. Document the new features.
3703
3704 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3705 Jakub Jelinek <jakub@redhat.com>
3706
3707 [BZ #14188]
3708 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
3709 where __builtin_expect is unavailable.
3710
3711 2012-06-03 David S. Miller <davem@davemloft.net>
3712
3713 * stdlib/longlong.h: Updated from GCC.
3714
3715 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
3716
3717 [BZ #14042]
3718 * sysdeps/powerpc/powerpc32/mcount.c: New file.
3719 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
3720 __mcount_internal.
3721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3722 (GLIBC_2.16): Likewise.
3723
3724 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3725
3726 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
3727
3728 2012-06-01 Joseph Myers <joseph@codesourcery.com>
3729
3730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3731 (default-abi): New variable.
3732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
3733 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
3734 variable.
3735 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
3736 Likewise.
3737 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
3738 Likewise.
3739 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
3740 Likewise.
3741
3742 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
3743 definition. Document in comment.
3744
3745 2012-06-01 David S. Miller <davem@davemloft.net>
3746
3747 * stdlib/longlong.h: Updated from GCC.
3748
3749 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3750
3751 [BZ #14117]
3752 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
3753 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
3754 sys/debugreg.h sys/io.h here.
3755 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
3756 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
3757 sys/io.h.
3758 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
3759 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
3760 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
3761 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
3762 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
3763 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
3764
3765 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
3766 Define only if __x86_64__ is defined.
3767
3768 2012-06-01 Joseph Myers <joseph@codesourcery.com>
3769
3770 [BZ #14048]
3771 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
3772 Use int64_t for variable i.
3773 * math/libm-test.inc (fmod_test): Add more tests.
3774
3775 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
3776 z computation is not scheduled after fetestexcept.
3777 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
3778 Use math_force_eval instead of asm to ensure calculation scheduled
3779 before exception test.
3780 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
3781 Ensure a1 + u.d computation is not scheduled after fetestexcept.
3782
3783 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
3784
3785 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
3786 computation is not scheduled after fetestexcept.
3787
3788 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3789
3790 [BZ #14117]
3791 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
3792 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
3793
3794 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3795
3796 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
3797 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3798
3799 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3800
3801 [BZ #14117]
3802 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
3803 <bits/wordsize.h>.
3804 (__WCHAR_MIN): Support __WORDSIZE == 64.
3805 (__WCHAR_MAX): Likewise.
3806
3807 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
3808 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
3809
3810 [BZ #14183]
3811 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
3812 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
3813
3814 [BZ #14117]
3815 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
3816 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
3817
3818 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
3819 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
3820
3821 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
3822 Defined to 1 if __x86_64__ isn't defined.
3823 (_STAT_VER_LINUX_OLD): New.
3824 (st_atime): Remove duplicate.
3825 (st_mtime): Likewise.
3826 (st_ctime): Likewise.
3827
3828 2012-05-31 David S. Miller <davem@davemloft.net>
3829
3830 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
3831 entries.
3832
3833 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
3834
3835 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
3836 gen-libm-test.pl.
3837
3838 [BZ #14132]
3839 * elf/dl-reloc.c: Include <_itoa.h>.
3840 (_dl_reloc_bad_type): Remove use of INTUSE.
3841 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
3842 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
3843 * stdio-common/psiginfo.c (psiginfo): Likewise.
3844 * stdio-common/psignal.c (psignal): Likewise.
3845 * string/strsignal.c (strsignal): Likewise.
3846 * include/signal.h (_sys_siglist): Declare hidden proto.
3847 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
3848 INTVARDEF with libc_hidden_data_def.
3849 * stdio-common/itoa-udigits.c: Likewise.
3850 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
3851 (_itoa_lower_digits_internal): Remove declaration.
3852 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
3853 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
3854 (_sys_sigabbrev_internal): Remove aliases.
3855 (_sys_siglist): Define hidden alias.
3856
3857 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
3858
3859 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3860 bits/sysctl.h.
3861
3862 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3863
3864 [BZ #14117]
3865 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
3866 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
3867
3868 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
3869 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
3870 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
3871 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
3872 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
3873 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
3874
3875 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
3876 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
3877 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
3878
3879 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
3880 with __addr.
3881 (insw): Likewise.
3882 (insl): Likewise.
3883 (outsb): Likewise.
3884 (outsw): Likewise.
3885 (outsl): Likewise.
3886
3887 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
3888 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
3889 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
3890
3891 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
3892 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
3893 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
3894 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
3895 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
3896 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
3897
3898 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
3899 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
3900
3901 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
3902 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
3903
3904 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
3905 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
3906 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
3907
3908 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
3909 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
3910 to ...
3911 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
3912
3913 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
3914 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
3915 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
3916
3917 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
3918 for x86-64.
3919 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
3920
3921 2012-05-31 Joseph Myers <joseph@codesourcery.com>
3922
3923 * math/math.h (M_El): Use two more decimal places.
3924 (M_LOG2El): Likewise.
3925 (M_LOG10El): Likewise.
3926 (M_LN2l): Likewise.
3927 (M_LN10l): Likewise.
3928 (M_PIl): Likewise.
3929 (M_PI_2l): Likewise.
3930 (M_PI_4l): Likewise.
3931 (M_1_PIl): Likewise.
3932 (M_2_PIl): Likewise.
3933 (M_2_SQRTPIl): Likewise.
3934 (M_SQRT2l): Likewise.
3935 (M_SQRT1_2l): Likewise.
3936
3937 2012-05-31 David S. Miller <davem@davemloft.net>
3938
3939 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
3940 values between float registers.
3941 * sysdeps/sparc/sparc64/memset.S: Likewise.
3942 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3943
3944 2012-05-31 Mike Frysinger <vapier@gentoo.org>
3945
3946 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
3947 -D_FORTIFY_SOURCE=1.
3948 (CPPFLAGS-tst-longjmp_chk.c): Define.
3949 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
3950 (CPPFLAGS-tst-longjmp_chk2.c): Define.
3951 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
3952 CFLAGS-tst-wchar-h.c.
3953
3954 2012-05-31 Marek Polacek <polacek@redhat.com>
3955
3956 [BZ #14132]
3957 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
3958 __endmntent_internal): Remove declaration.
3959 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
3960 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
3961 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
3962
3963 2012-05-30 David S. Miller <davem@davemloft.net>
3964
3965 * sysdeps/sparc/sparc32/soft-fp/q_util.c
3966 (___Q_simulate_exceptions): Use real FP ops rather than writing
3967 into the %fsr.
3968 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
3969 Likewise.
3970
3971 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3972
3973 [BZ #14117]
3974 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
3975 * sysdeps/x86/bits/xtitypes.h: This.
3976
3977 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
3978 * sysdeps/x86/bits/wordsize.h: This.
3979
3980 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
3981 * sysdeps/x86/bits/huge_vall.h: This.
3982
3983 * sysdeps/i386/bits/select.h: Removed.
3984 * sysdeps/x86_64/bits/select.h: Renamed to ...
3985 * sysdeps/x86/bits/select.h: This.
3986
3987 * sysdeps/i386/bits/setjmp.h: Removed.
3988 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
3989 * sysdeps/x86/bits/setjmp.h: This.
3990
3991 * sysdeps/i386/bits/mathdef.h: Removed.
3992 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
3993 * sysdeps/x86/bits/mathdef.h: This.
3994
3995 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
3996
3997 [BZ #14132]
3998 * include/sys/socket.h (__connect_internal)
3999 (__libc_sa_len_internal): Remove declaration.
4000 (__connect, __libc_sa_len): Declare hidden_proto.
4001 (SA_LEN): Remove use of INTUSE.
4002 * socket/connect.c: Add libc_hidden_def.
4003 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
4004 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
4005 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
4006 alias.
4007 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4008 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4009 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
4010 of adding _internal alias.
4011
4012 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4013
4014 [BZ #14117]
4015 * sysdeps/i386/bits/link.h: Removed.
4016 * sysdeps/i386/bits/linkmap.h: Likewise.
4017 * sysdeps/x86_64/bits/link.h: Renamed to ...
4018 * sysdeps/x86/bits/link.h: This.
4019 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
4020 * sysdeps/x86/bits/linkmap.h: This.
4021
4022 * sysdeps/i386/bits/endian.h: Removed.
4023 * sysdeps/x86_64/bits/endian.h: Renamed to ...
4024 * sysdeps/x86/bits/endian.h: This.
4025
4026 * sysdeps/i386/bits/byteswap.h: Removed.
4027 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4028 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
4029 * sysdeps/x86/bits/byteswap.h: This.
4030 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
4031 * sysdeps/x86/bits/byteswap-16.h: This.
4032 * sysdeps/i386/Implies: Add x86.
4033 * sysdeps/x86_64/Implies: Likewise.
4034
4035 2012-05-30 David S. Miller <davem@davemloft.net>
4036
4037 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
4038 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
4039 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4040 (FP_TRAPPING_EXCEPTIONS): Define.
4041 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4042 (FP_TRAPPING_EXCEPTIONS): Define.
4043 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
4044 subnormals only when inexact has been signalled or underflow
4045 exceptions are enabled.
4046 (_FP_PACK_CANONICAL): Likewise.
4047
4048 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4049
4050 [BZ #14183]
4051 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
4052 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
4053
4054 2012-05-30 Richard Henderson <rth@twiddle.net>
4055
4056 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
4057 with #ifndef NOT_IN_libc.
4058
4059 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
4060 marked to avoid plt entry.
4061
4062 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4063
4064 [BZ #14112]
4065 * Makeconfig (default-abi): New macro.
4066 (abi-includes): Likewise.
4067 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
4068 $(abi-$(default-abi)-lib-soname) for soname if defined.
4069 ($(common-objpfx)gnu/lib-names.stmp): Generate from
4070 abi-variants.
4071 * Makefile (installed-stubs): Likewise.
4072 * include/stubs-biarch.h: Removed.
4073 * scripts/lib-names.awk: Only handle one library at a time.
4074 * scripts/soversions.awk: Remove WORDSIZE support.
4075 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
4076 entries.
4077 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
4078 Removed.
4079 (syscall-list-default-condition): Likewise.
4080 (syscall-list-default-condition): Likewise.
4081 (syscall-list-includes): Likewise.
4082 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
4083 syscall-list-* with abi-*. Handle undefined abi-variants.
4084 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
4085 * sysdeps/unix/sysv/linux/i386/Implies: New file.
4086 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
4087 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
4088 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
4089 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
4090 Removed.
4091 (syscall-list-32-options): Likewise.
4092 (syscall-list-32-condition): Likewise.
4093 (syscall-list-64-options): Likewise.
4094 (syscall-list-64-condition): Likewise.
4095 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
4096 macro.
4097 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
4098 Renamed to ...
4099 (abi-*): This.
4100 (abi-64-ld-soname): New macro.
4101 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
4102 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
4103 Renamed to ...
4104 (abi-*): This.
4105 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
4106 * sysdeps/x86_64/x32/shlib-versions: Likewise.
4107
4108 2012-05-30 Joseph Myers <joseph@codesourcery.com>
4109
4110 * sysdeps/unix/sysv/linux/kernel-features.h
4111 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
4112 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
4113 include <kernel-features.h>.
4114 [!__NR_ftruncate64]: Remove conditional code.
4115 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4116 [__NR_ftruncate64]: Make code unconditional.
4117 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4118 * sysdeps/unix/sysv/linux/truncate64.c: Do not
4119 include <kernel-features.h>.
4120 [!__NR_ftruncate64]: Remove conditional code.
4121 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4122 [__NR_ftruncate64]: Make code unconditional.
4123 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
4125 include <kernel-features.h>.
4126 [!__NR_ftruncate64]: Remove conditional code.
4127 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4128 [__NR_ftruncate64]: Make code unconditional.
4129 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
4131 include <kernel-features.h>.
4132 [!__NR_ftruncate64]: Remove conditional code.
4133 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4134 [__NR_ftruncate64]: Make code unconditional.
4135 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4136
4137 * configure.in (libc_cv_fpie): Weaken to a compile test using
4138 LIBC_TRY_CC_OPTION.
4139 * configure: Regenerated.
4140
4141 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4142
4143 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
4144 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
4145 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
4146 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4147 Refreshed.
4148 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
4149 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
4150 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
4151 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
4152 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
4153 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4154 Refreshed.
4155
4156 2012-05-27 David S. Miller <davem@davemloft.net>
4157
4158 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
4159 (___Q_zero): New.
4160 (__Q_simulate_exceptions): Return void. Change to simulate
4161 exceptions by writing into the %fsr.
4162 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
4163 (__Qp_handle_exceptions): Likewise.
4164 (numbers): Delete.
4165 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
4166 __Qp_handle_exceptions.
4167 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
4168 __Qp_handle_exceptions.
4169 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4170 as unused and give dummy FP_RND_NEAREST initializer.
4171 (FP_INHIBIT_RESULTS): Define.
4172 (___Q_simulate_exceptions): Update declaration.
4173 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
4174 formatting.
4175 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4176 as unused and give dummy FP_RND_NEAREST initializer.
4177 (__Qp_handle_exceptions): Update declaration.
4178 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
4179 formatting.
4180
4181 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
4182
4183 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
4184 the temporary FPU control word.
4185 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4186 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
4187 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
4188 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4189 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4190 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
4191 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
4192 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4193 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4194 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
4195 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4196
4197 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4198
4199 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
4200 fields.
4201
4202 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
4203
4204 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
4205 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
4206 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
4207 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
4208 Likewise.
4209 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
4210 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
4211 Likewise.
4212
4213 2012-05-27 Ulrich Drepper <drepper@gmail.com>
4214
4215 * po/h.po: Update from translation team.
4216
4217 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
4218
4219 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
4220
4221 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
4222 handling of denormals.
4223 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4224 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4225 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4226 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4227 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4228 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
4229 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
4230 Likewise.
4231
4232 2012-05-26 Marek Polacek <polacek@redhat.com>
4233
4234 [BZ #14152]
4235 * math/libm-test.inc (fma_test): Don't always expect underflow
4236 exception.
4237
4238 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4239
4240 [BZ #12416]
4241 * elf/tst-execstack.c: Include stackinfo.h.
4242 (do_test): Adjust test case to ensure that pthread_getattr_np
4243 behaviour remains the same after marking stack executable.
4244
4245 2012-05-25 Joseph Myers <joseph@codesourcery.com>
4246
4247 * sysdeps/unix/sysv/linux/kernel-features.h
4248 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
4249 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
4250 kernel-features.h.
4251 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4252 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4253 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
4254 kernel-features.h.
4255 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4256 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4257
4258 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
4259
4260 * configure.in: Define the default includes to being none.
4261 * configure: Regenerated.
4262
4263 2012-05-25 Roland McGrath <roland@hack.frob.com>
4264
4265 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
4266 * sysdeps/x86_64/setjmp.S: Likewise.
4267 * sysdeps/i386/bsd-setjmp.S: Likewise.
4268 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4269 * sysdeps/i386/setjmp.S: Likewise.
4270 * sysdeps/i386/__longjmp.S: Likewise.
4271 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4272 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
4273
4274 * include/stap-probe.h: New file.
4275 * configure.in: Handle --enable-systemtap.
4276 * configure: Regenerated.
4277 * config.h.in (USE_STAP_PROBE): New #undef.
4278 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
4279 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
4280 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4281
4282 2012-05-25 Joseph Myers <joseph@codesourcery.com>
4283
4284 [BZ #13717]
4285 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4286 to 2.4.0 where earlier.
4287 * sysdeps/unix/sysv/linux/configure: Regenerated.
4288 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
4289 <kernel-features.h>.
4290 [__ASSUME_32BITUIDS]: Make code unconditional.
4291 [!__ASSUME_32BITUIDS]: Remove conditional code.
4292 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
4293 <kernel-features.h>.
4294 [__ASSUME_32BITUIDS]: Make code unconditional.
4295 [!__ASSUME_32BITUIDS]: Remove conditional code.
4296 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
4297 [__ASSUME_32BITUIDS]: Make code unconditional.
4298 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
4299 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
4300 <kernel-features.h>.
4301 [__ASSUME_32BITUIDS]: Make code unconditional.
4302 [!__ASSUME_32BITUIDS]: Remove conditional code.
4303 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
4304 <kernel-features.h>.
4305 [__ASSUME_32BITUIDS]: Make code unconditional.
4306 [!__ASSUME_32BITUIDS]: Remove conditional code.
4307 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
4308 <kernel-features.h>.
4309 [__ASSUME_32BITUIDS]: Make code unconditional.
4310 [!__ASSUME_32BITUIDS]: Remove conditional code.
4311 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
4312 <kernel-features.h>.
4313 [__ASSUME_32BITUIDS]: Make code unconditional.
4314 [!__ASSUME_32BITUIDS]: Remove conditional code.
4315 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
4316 <kernel-features.h>.
4317 [__ASSUME_32BITUIDS]: Make code unconditional.
4318 [!__ASSUME_32BITUIDS]: Remove conditional code.
4319 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
4320 <kernel-features.h>.
4321 [__ASSUME_32BITUIDS]: Make code unconditional.
4322 [!__ASSUME_32BITUIDS]: Remove conditional code.
4323 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
4324 <kernel-features.h>.
4325 [__ASSUME_32BITUIDS]: Make code unconditional.
4326 [!__ASSUME_32BITUIDS]: Remove conditional code.
4327 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
4328 <kernel-features.h>.
4329 [__ASSUME_32BITUIDS]: Make code unconditional.
4330 [!__ASSUME_32BITUIDS]: Remove conditional code.
4331 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
4332 <kernel-features.h>.
4333 [__ASSUME_32BITUIDS]: Make code unconditional.
4334 [!__ASSUME_32BITUIDS]: Remove conditional code.
4335 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
4336 <kernel-features.h>.
4337 [__ASSUME_32BITUIDS]: Make code unconditional.
4338 [!__ASSUME_32BITUIDS]: Remove conditional code.
4339 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
4340 <kernel-features.h>.
4341 [__NR_setresgid] (__setresgid): Do not declare.
4342 [__ASSUME_32BITUIDS]: Make code unconditional.
4343 [!__ASSUME_32BITUIDS]: Remove conditional code.
4344 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
4345 <kernel-features.h>.
4346 [__NR_setresuid] (__setresuid): Do not declare.
4347 [__ASSUME_32BITUIDS]: Make code unconditional.
4348 [!__ASSUME_32BITUIDS]: Remove conditional code.
4349 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
4350 <kernel-features.h>.
4351 [__ASSUME_32BITUIDS]: Make code unconditional.
4352 [!__ASSUME_32BITUIDS]: Remove conditional code.
4353 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
4354 <kernel-features.h>.
4355 [__ASSUME_32BITUIDS]: Make code unconditional.
4356 [!__ASSUME_32BITUIDS]: Remove conditional code.
4357 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
4358 <kernel-features.h>.
4359 [__ASSUME_32BITUIDS]: Make code unconditional.
4360 [!__ASSUME_32BITUIDS]: Remove conditional code.
4361 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
4362 <kernel-features.h>.
4363 [__ASSUME_32BITUIDS]: Make code unconditional.
4364 [!__ASSUME_32BITUIDS]: Remove conditional code.
4365 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
4366 <kernel-features.h>.
4367 [__ASSUME_32BITUIDS]: Make code unconditional.
4368 [!__ASSUME_32BITUIDS]: Remove conditional code.
4369 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
4370 <kernel-features.h>.
4371 [__ASSUME_32BITUIDS]: Make code unconditional.
4372 [!__ASSUME_32BITUIDS]: Remove conditional code.
4373 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
4374 <kernel-features.h>.
4375 [__ASSUME_32BITUIDS]: Make code unconditional.
4376 [!__ASSUME_32BITUIDS]: Remove conditional code.
4377 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
4378 <kernel-features.h>.
4379 [__ASSUME_32BITUIDS]: Make code unconditional.
4380 [!__ASSUME_32BITUIDS]: Remove conditional code.
4381 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
4382 <kernel-features.h>.
4383 [__ASSUME_32BITUIDS]: Make code unconditional.
4384 [!__ASSUME_32BITUIDS]: Remove conditional code.
4385 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
4386 <kernel-features.h>.
4387 [__ASSUME_32BITUIDS]: Make code unconditional.
4388 [!__ASSUME_32BITUIDS]: Remove conditional code.
4389 * sysdeps/unix/sysv/linux/kernel-features.h
4390 (__ASSUME_SETRESUID_SYSCALL): Remove.
4391 (__ASSUME_SETRESGID_SYSCALL): Likewise.
4392 (__ASSUME_32BITUIDS): Likewise.
4393 (__ASSUME_LDT_WORKS): Likewise.
4394 (__ASSUME_O_DIRECTORY): Likewise.
4395 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
4396 architecture but not kernel version.
4397 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4398 (__ASSUME_MMAP2_SYSCALL): Likewise.
4399 (__ASSUME_STAT64_SYSCALL): Likewise.
4400 (__ASSUME_IPC64): Likewise.
4401 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
4402 <kernel-features.h>.
4403 [__ASSUME_32BITUIDS]: Make code unconditional.
4404 [!__ASSUME_32BITUIDS]: Remove conditional code.
4405 * sysdeps/unix/sysv/linux/opendir.c: Do not include
4406 <kernel-features.h>.
4407 [__ASSUME_O_DIRECTORY]: Make code unconditional.
4408 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
4409 132096]: Remove conditional code.
4410 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
4411 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
4412 <kernel-features.h>.
4413 [__ASSUME_32BITUIDS]: Make code unconditional.
4414 [!__ASSUME_32BITUIDS]: Remove conditional code.
4415 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
4416 <kernel-features.h>.
4417 [__ASSUME_32BITUIDS]: Make code unconditional.
4418 [!__ASSUME_32BITUIDS]: Remove conditional code.
4419 * sysdeps/unix/sysv/linux/setegid.c: Do not include
4420 <kernel-features.h>.
4421 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
4422 unconditional.
4423 (__setresgid): Do not declare.
4424 [__ASSUME_32BITUIDS]: Make code unconditional.
4425 [!__ASSUME_32BITUIDS]: Remove conditional code.
4426 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
4427 <kernel-features.h>.
4428 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
4429 unconditional.
4430 (__setresuid): Do not declare.
4431 [__ASSUME_32BITUIDS]: Make code unconditional.
4432 [!__ASSUME_32BITUIDS]: Remove conditional code.
4433 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
4434 <kernel-features.h>.
4435 [__ASSUME_32BITUIDS]: Make code unconditional.
4436 [!__ASSUME_32BITUIDS]: Remove conditional code.
4437 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
4438 <kernel-features.h>.
4439 [__ASSUME_32BITUIDS]: Make code unconditional.
4440 [!__ASSUME_32BITUIDS]: Remove conditional code.
4441
4442 2012-05-25 Richard Henderson <rth@twiddle.net>
4443
4444 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
4445 dl_hwcap to ifunc resolver.
4446 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
4447 elf_ifunc_invoke.
4448 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
4449 dl_hwcap to ifunc resolver.
4450 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
4451
4452 2012-05-24 Joseph Myers <joseph@codesourcery.com>
4453
4454 [BZ #14153]
4455 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
4456 for |x| <= 2**-26, not 2**-57.
4457 * math/libm-test.inc (acos_test): Do not allow spurious underflow
4458 exception.
4459
4460 2012-05-24 Jeff Law <law@redhat.com>
4461
4462 * stdio-common/Makefile (tests): Add bug25.
4463 * stdio-common/bug25.c: New test.
4464
4465 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4466
4467 [BZ #13576]
4468 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
4469 multiple of MALLOC_ALIGNMENT in size.
4470 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
4471
4472 2012-05-24 Joseph Myers <joseph@codesourcery.com>
4473
4474 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
4475 Require >= 256.
4476 (FILENAME_MAX): Use macro-int-constant.
4477 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
4478 (_IOFBF): Use macro-int-constant.
4479 (_IOLBF): Likewise.
4480 (_IONBF): Likewise.
4481 (SEEK_CUR): Likewise.
4482 (SEEK_END): Likewise.
4483 (SEEK_SET): Likewise.
4484 (TMP_MAX): Likewise.
4485 (EOF): Use macro-int-constant. Require < 0.
4486 (NULL): Use macro-constant. Require == 0.
4487 (stdin): Require type to be FILE *.
4488 (stdout): Likewise.
4489 (stderr): Likewise.
4490 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
4491 macro-int-constant.
4492 (EXIT_SUCCESS): Likewise.
4493 (NULL): Use macro-constant. Require == 0.
4494 (RAND_MAX): Use macro-int-constant.
4495 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
4496 [C99-based standards] (strtof): Require function.
4497 [C99-based standards] (strtold): Likewise.
4498 [C99-based standards] (strtoll): Likewise.
4499 [C99-based standards] (strtoull): Likewise.
4500 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
4501 [ISO || ISO99 || ISO11] (limits.h): Likewise.
4502 [ISO || ISO99 || ISO11] (math.h): Likewise.
4503 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
4504 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
4505 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4506
4507 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
4508
4509 [BZ #14132]
4510 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
4511 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
4512 * intl/dgettext.c (DCGETTEXT): Likewise.
4513 * intl/gettext.c (DCGETTEXT): Likewise.
4514 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
4515 * posix/regex_internal.h (gettext): Likewise.
4516 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
4517 Remove declaration.
4518 * include/argz.h (__argz_count_internal)
4519 (__argz_stringify_internal): Remove declaration.
4520 (__argz_count, __argz_stringify): Declare hidden proto.
4521 * intl/dcgettext.c: Remove use of INTDEF.
4522 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
4523 * string/argz-stringify.c: Likewise.
4524 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4525 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4526 Declare hidden proto.
4527 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4528 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4529 Declare hidden proto.
4530 * include/stdio.h (__asprintf_internal): Don't declare.
4531 (__asprintf): Don't define as macro. Declare hidden proto.
4532 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
4533 (__fsetlocking): Declare hidden proto.
4534 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
4535 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
4536 hidden proto.
4537 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
4538 (_IO_setlinebuf): Remove use of INTUSE.
4539 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
4540 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
4541 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
4542 Remove declaration.
4543 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
4544 (_IO_do_flush): Remove use of INTUSE.
4545 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
4546 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
4547 (_IO_adjust_column, _IO_least_wmarker)
4548 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
4549 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
4550 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
4551 (_IO_default_doallocate, _IO_wdefault_doallocate)
4552 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
4553 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
4554 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
4555 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
4556 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
4557 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
4558 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
4559 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
4560 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
4561 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
4562 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
4563 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
4564 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
4565 proto.
4566 (_IO_flush_all_internal, _IO_adjust_column_internal)
4567 (_IO_default_uflow_internal, _IO_default_finish_internal)
4568 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
4569 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
4570 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
4571 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
4572 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
4573 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
4574 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
4575 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
4576 (_IO_file_close_internal, _IO_file_close_it_internal)
4577 (_IO_file_underflow_internal, _IO_file_overflow_internal)
4578 (_IO_file_init_internal, _IO_file_attach_internal)
4579 (_IO_file_fopen_internal, _IO_file_read_internal)
4580 (_IO_file_sync_internal, _IO_file_seek_internal)
4581 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
4582 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
4583 (_IO_str_underflow_internal, _IO_str_overflow_internal)
4584 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
4585 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
4586 (_IO_list_all_internal, _IO_link_in_internal)
4587 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
4588 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
4589 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
4590 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
4591 (_IO_do_write_internal, _IO_padn_internal)
4592 (_IO_getline_info_internal, _IO_getline_internal)
4593 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
4594 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
4595 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
4596 (_IO_vfscanf_internal, _IO_vfprintf_internal)
4597 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
4598 (_IO_init_internal, _IO_un_link_internal): Don't declare.
4599 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
4600 with libc_hidden_ver, remove use of INTUSE.
4601 * libio/genops.c: Likewise.
4602 * libio/freopen.c: Likewise.
4603 * libio/freopen64.c: Likewise.
4604 * libio/iofclose.c: Likewise.
4605 * libio/iofdopen.c: Likewise.
4606 * libio/iofflush.c: Likewise.
4607 * libio/iofflush_u.c: Likewise.
4608 * libio/iofgets.c: Likewise.
4609 * libio/iofgets_u.c: Likewise.
4610 * libio/iofopen.c: Likewise.
4611 * libio/iofopncook.c: Likewise.
4612 * libio/iofread.c: Likewise.
4613 * libio/iofread_u.c: Likewise.
4614 * libio/ioftell.c: Likewise.
4615 * libio/iofwrite.c: Likewise.
4616 * libio/iogetline.c: Likewise.
4617 * libio/iogets.c: Likewise.
4618 * libio/iogetwline.c: Likewise.
4619 * libio/iopadn.c: Likewise.
4620 * libio/iopopen.c: Likewise.
4621 * libio/ioseekoff.c: Likewise.
4622 * libio/ioseekpos.c: Likewise.
4623 * libio/iosetbuffer.c: Likewise.
4624 * libio/iosetvbuf.c: Likewise.
4625 * libio/ioungetc.c: Likewise.
4626 * libio/ioungetwc.c: Likewise.
4627 * libio/iovdprintf.c: Likewise.
4628 * libio/iovsprintf.c: Likewise.
4629 * libio/iovsscanf.c: Likewise.
4630 * libio/memstream.c: Likewise.
4631 * libio/obprintf.c: Likewise.
4632 * libio/oldfileops.c: Likewise.
4633 * libio/oldiofclose.c: Likewise.
4634 * libio/oldiofdopen.c: Likewise.
4635 * libio/oldiofopen.c: Likewise.
4636 * libio/oldiopopen.c: Likewise.
4637 * libio/oldstdfiles.c: Likewise.
4638 * libio/putc.c: Likewise.
4639 * libio/setbuf.c: Likewise.
4640 * libio/setlinebuf.c: Likewise.
4641 * libio/stdfiles.c: Likewise.
4642 * libio/strops.c: Likewise.
4643 * libio/vasprintf.c: Likewise.
4644 * libio/vscanf.c: Likewise.
4645 * libio/vsnprintf.c: Likewise.
4646 * libio/vswprintf.c: Likewise.
4647 * libio/wfiledoalloc.c: Likewise.
4648 * libio/wfileops.c: Likewise.
4649 * libio/wgenops.c: Likewise.
4650 * libio/wmemstream.c: Likewise.
4651 * libio/wstrops.c: Likewise.
4652 * libio/__fpurge.c: Likewise.
4653 * libio/__fsetlocking.c: Likewise.
4654 * assert/assert.c: Likewise.
4655 * debug/fgets_chk.c: Likewise.
4656 * debug/fgets_u_chk.c: Likewise.
4657 * debug/fread_chk.c: Likewise.
4658 * debug/fread_u_chk.c: Likewise.
4659 * debug/gets_chk.c: Likewise.
4660 * debug/obprintf_chk.c: Likewise.
4661 * debug/vasprintf_chk.c: Likewise.
4662 * debug/vdprintf_chk.c: Likewise.
4663 * debug/vsnprintf_chk.c: Likewise.
4664 * debug/vsprintf_chk.c: Likewise.
4665 * malloc/mtrace.c: Likewise.
4666 * misc/error.c: Likewise.
4667 * misc/syslog.c: Likewise.
4668 * stdio-common/asprintf.c: Likewise.
4669 * stdio-common/fxprintf.c: Likewise.
4670 * stdio-common/getw.c: Likewise.
4671 * stdio-common/isoc99_fscanf.c: Likewise.
4672 * stdio-common/isoc99_scanf.c: Likewise.
4673 * stdio-common/isoc99_vfscanf.c: Likewise.
4674 * stdio-common/isoc99_vscanf.c: Likewise.
4675 * stdio-common/isoc99_vsscanf.c: Likewise.
4676 * stdio-common/printf-prs.c: Likewise.
4677 * stdio-common/printf_fp.c: Likewise.
4678 * stdio-common/printf_fphex.c: Likewise.
4679 * stdio-common/printf_size.c: Likewise.
4680 * stdio-common/putw.c: Likewise.
4681 * stdio-common/scanf.c: Likewise.
4682 * stdio-common/sprintf.c: Likewise.
4683 * stdio-common/tmpfile.c: Likewise.
4684 * stdio-common/vfprintf.c: Likewise.
4685 * stdio-common/vfscanf.c: Likewise.
4686 * stdlib/strfmon_l.c: Likewise.
4687 * sunrpc/openchild.c: Likewise.
4688 * sunrpc/xdr_stdio.c: Likewise.
4689 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
4690 * sysdeps/mach/hurd/tmpfile.c: Likewise.
4691
4692 2012-05-24 Roland McGrath <roland@hack.frob.com>
4693
4694 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4695
4696 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
4697 in the third column, to generate for the shared library an IFUNC
4698 that uses _dl_vdso_vsym.
4699 * Makerules (COMPILE.c, compile-stdin.c): New variables.
4700 * Makeconfig (object-suffixes-noshared): New variable.
4701
4702 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
4703 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
4704 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
4705 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
4706
4707 [BZ #14132]
4708 * include/sys/time.h (__gettimeofday): Remove macro.
4709 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
4710 * time/gettimeofday.c (__gettimeofday): Remove #undef.
4711 Remove INTDEF.
4712 (__gettimeofday): Add libc_hidden_def.
4713 (gettimeofday): Add libc_hidden_weak.
4714 * sysdeps/mach/gettimeofday.c: Likewise.
4715 * sysdeps/posix/gettimeofday.c: Likewise.
4716 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4717 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4718 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
4719 (__gettimeofday_internal): Remove strong_alias.
4720 (__gettimeofday): Add libc_hidden_def.
4721 (gettimeofday): Add libc_hidden_weak.
4722 * sysdeps/unix/syscalls.list (gettimeofday):
4723 Remove __gettimeofday_internal alias.
4724
4725 2012-05-24 Daniel Jacobowitz <drow@false.org>
4726 H.J. Lu <hongjiu.lu@intel.com>
4727
4728 [BZ #12495]
4729 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
4730 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
4731 (largebin_index_32_big): New.
4732 (largebin_index): Use it for 16-byte alignment.
4733 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
4734 correction with front_misalign.
4735
4736 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4737
4738 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
4739 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4740 Likewise.
4741 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
4742 Likewise.
4743 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
4744 Likewise.
4745 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
4746 Likewise.
4747 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
4748 Likewise.
4749 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
4750 Likewise.
4751 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
4752 Likewise.
4753 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4754 Likewise.
4755 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
4756 Likewise.
4757 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
4758 Likewise.
4759 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4760 Likewise.
4761 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
4762 Likewise.
4763
4764 * scripts/data/c++-types-x32-linux-gnu.data: New file.
4765 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
4766
4767 2012-05-24 Joseph Myers <joseph@codesourcery.com>
4768
4769 [BZ #10846]
4770 [BZ #14036]
4771 * math/libm-test.inc (exp_test): Add test from bug 14036.
4772 (pow_test): Add test from bug 10846.
4773
4774 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
4775 and other flags.
4776 (special_function): Do not include flags in test name.
4777 (parse_args): Likewise.
4778 * sysdeps/i386/fpu/libm-test-ulps: Update.
4779 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4780 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4781 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4783
4784 * math/gen-libm-test.pl (%beautify): Add entries for underflow
4785 exceptions.
4786 * math/libm-test.inc ("Philosophy"): Update comment about
4787 exception testing.
4788 (UNDERFLOW_EXCEPTION): New macro.
4789 (UNDERFLOW_EXCEPTION_OK): Likewise.
4790 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4791 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4792 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4793 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4794 (INVALID_EXCEPTION_OK): Update value.
4795 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4796 (OVERFLOW_EXCEPTION_OK): Likewise.
4797 (IGNORE_ZERO_INF_SIGN): Likewise.
4798 (test_exceptions): Handle underflow exceptions.
4799 (acos_test): Update for underflow exception expectations.
4800 (cexp_test): Likewise.
4801 (clog_test): Likewise.
4802 (clog10_test): Likewise.
4803 (csqrt_test): Likewise.
4804 (ctan_test): Likewise.
4805 (ctanh_test): Likewise.
4806 (exp_test): Likewise.
4807 (exp10_test): Likewise.
4808 (exp2_test): Likewise.
4809 (expm1_test): Likewise.
4810 (fma_test): Likewise.
4811 (j0_test): Likewise.
4812 (jn_test): Likewise.
4813 (nexttoward_test): Likewise.
4814 (pow_test): Likewise.
4815 (scalbn_test): Likewise.
4816 (scalbln_test): Likewise.
4817 (tan_test): Likewise.
4818 (y1_test): Likewise.
4819 * sysdeps/i386/fpu/libm-test-ulps: Update.
4820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4821
4822 2012-05-23 David S. Miller <davem@davemloft.net>
4823
4824 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4825 (__libc_sigaction): Remove unused local variables.
4826
4827 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4828
4829 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
4830
4831 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
4832
4833 mktime: avoid signed integer overflow
4834 * time/mktime.c (__mktime_internal): Do not mishandle the case
4835 where diff == INT_MIN.
4836
4837 mktime: simplify computation of average
4838 * time/mktime.c (ranged_convert): Use new time_t_avg function
4839 instead of rolling our own (probably-slower) code.
4840
4841 mktime: do not assume signed right shift propagates sign bit
4842 * time/mktime.c (isdst_differ): New static function.
4843 (__mktime_internal): No need to normalize tm_isdst now.
4844 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
4845 tm_isdst values.
4846
4847 mktime: merge another wrapv change from gnulib
4848 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
4849 from some compilers.
4850
4851 mktime: remove incorrect attempt at unusual arithmetics
4852 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
4853 The code didn't really work on such machines anyway.
4854 (TYPE_MINIMUM): Assume two's complement.
4855 (twos_complement_arithmetic): Verify that long_int and time_t
4856 are two's complement (or unsigned, in the latter case).
4857
4858 mktime: check signed shifts on long_int and time_t, too
4859 * time/mktime.c (SHR): Check that shifts work as desired
4860 on the types long_int and time_t too, as SHR is used on
4861 such types.
4862
4863 mktime: do not assume 'long' is wide enough
4864 * time/mktime.c (verify): Move decl up.
4865 (long_int): New type.
4866 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
4867 to remove assumption in the code that 'long' is wide enough to
4868 store year values. This assumption is not true on x32 and on
4869 some non-glibc platforms.
4870
4871 mktime: merge wrapv change from gnulib
4872 * time/mktime.c (WRAPV): New macro.
4873 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
4874 (guess_time_tm, __mktime_internal): Do not assume that signed
4875 integer overflow wraps around; modern compilers generate code
4876 where this assumption is no longer valid.
4877
4878 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4879
4880 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4881 Replace "jmp L(pseudo_end)" with "ret".
4882 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
4883 Likewise.
4884
4885 2012-05-23 Andreas Jaeger <aj@suse.de>
4886
4887 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
4888 * sysdeps/unix/sysv/linux/poll.c: Remove file.
4889
4890 2012-05-23 Andreas Jaeger <aj@suse.de>
4891 Maximilian Attems <max@stro.at>
4892
4893 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
4894 New macros.
4895
4896 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4897
4898 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
4899 code so that pseudo_end is just ret and the stack pointer is
4900 correct also for static library in error case.
4901
4902 2012-05-23 Joseph Myers <joseph@codesourcery.com>
4903
4904 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
4905 move to syscalls.list.
4906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4910
4911 * manual/install.texi (Running make install): Do not mention Linux
4912 kernel version for which pt_chown is not needed.
4913 (Linux): Do not mention problems with nscd with 2.0 kernels.
4914 * INSTALL: Regenerated.
4915
4916 2012-05-23 Andreas Jaeger <aj@suse.de>
4917
4918 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
4919 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
4920 macro.
4921 * sysdeps/unix/sysv/linux/s390/bits/mman.h
4922 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4923 * sysdeps/unix/sysv/linux/sh/bits/mman.h
4924 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4925 * sysdeps/unix/sysv/linux/i386/bits/mman.h
4926 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4927 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
4928 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4929 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
4930 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4931 * sysdeps/unix/sysv/linux/bits/in.h
4932 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
4933
4934 2012-05-22 Roland McGrath <roland@hack.frob.com>
4935
4936 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
4937 (PREPARE_VERSION): Just use assert instead, it will be elided
4938 under [NDEBUG] anyway.
4939
4940 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4941
4942 * sysdeps/unix/sysv/linux/Makefile: Include
4943 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
4944 (sysdep_routines): Remove sysctl.
4945 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
4946 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
4947 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
4948 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
4949 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
4950
4951 2012-05-22 Andreas Jaeger <aj@suse.de>
4952
4953 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
4954 that pseudo_end is just ret and the stack pointer is correct also
4955 for static library in error case.
4956
4957 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4958
4959 [BZ #14122]
4960 * nss/nsswitch.c (defconfig_entries): New variable.
4961 (__nss_database_lookup): Don't leak defconfig entries.
4962 (nss_parse_service_list): Don't leak on error paths.
4963 (free_database_entries): New function.
4964 (free_defconfig): New function.
4965 (free_mem): Move common code to free_database_entries.
4966
4967 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4968
4969 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
4970 Add arch_prctl.
4971 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
4972
4973 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4974 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
4975 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
4976 New macro.
4977 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
4978 (INTERNAL_SYSCALL_TYPES): Likewise.
4979 (LOAD_ARGS_TYPES_[1-6]): Likewise.
4980 (LOAD_REGS_TYPES_[1-6]): Likewise.
4981 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
4982 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
4983
4984 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4985
4986 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
4987 copysignl for GLIBC_2_0.
4988 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
4989 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
4990 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
4991 logbl for GLIBC_2_0.
4992 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4993 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4994
4995 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4996
4997 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
4998 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4999
5000 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5001 Use "neg %eax".
5002
5003 * time/mktime.c: Update copyright years.
5004
5005 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
5006
5007 mktime: merge comment-quoting-style change from gnulib
5008 * time/mktime.c: Quote 'like this' in comments.
5009 The GNU coding standards suggest that we no longer quote `like this',
5010 as "`" and "'" are typically rendered asymmetrically nowadays.
5011 The typical gnulib style is to quote 'like this' when quoting
5012 code, and "like this" when quoting English.
5013
5014 * time/mktime.c (compile-command): Add "-I.".
5015
5016 mktime: merge mktime-internal.h change from gnulib
5017 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
5018
5019 mktime: merge time_r change from gnulib
5020 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
5021
5022 mktime: merge DEBUG change from gnulib
5023 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
5024 case system <time.h> has a #define.
5025
5026 mktime: merge <sys/types.h> change from gnulib
5027 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
5028 since <time.t> is now guaranteed to define time_t.
5029
5030 mktime: merge HAVE_CONFIG_H change from gnulib
5031 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
5032
5033 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5034
5035 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5036 Use "neg %eax".
5037
5038 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
5039 __rlim_t cast.
5040 (struct rusage): Use anonymous union to pad each field to
5041 __syscall_slong_t.
5042
5043 2012-05-21 David S. Miller <davem@davemloft.net>
5044
5045 * Makefules (o-iterator): Remove .s cases.
5046 (compile-command.s): Delete.
5047 (COMPILE.s): Delete.
5048 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
5049
5050 2012-05-21 Joseph Myers <joseph@codesourcery.com>
5051
5052 * configure.in (libc_cv_predef_stack_protector): Only consider
5053 "foobar" and "__stack_chk_fail" lines in libc_undefs.
5054 * configure: Regenerated.
5055
5056 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5057
5058 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5059 New macro. Use R*LP on int and pointer.
5060 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
5061 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
5062 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
5063 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
5064
5065 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
5066 [__WORDSIZE_TIME64_COMPAT32] instead of
5067 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
5068 (struct utmp): Likewise.
5069 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
5070 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
5071 Renamed to ...
5072 (__WORDSIZE_TIME64_COMPAT32): This.
5073 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
5074 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
5075 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
5076 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
5077 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
5078 (__WORDSIZE_TIME64_COMPAT32): New macro.
5079
5080 2012-05-21 Andreas Jaeger <aj@suse.de>
5081
5082 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
5083 only if [SHARED]. Add prototype for __wcschr_ia32.
5084
5085 2012-05-21 Roland McGrath <roland@hack.frob.com>
5086
5087 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
5088 of %rbp unmolested in the jmp_buf while mangling the low bits.
5089 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
5090 unmolested high bits of %rbp while demangling the low bits.
5091 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
5092
5093 2012-05-21 Andreas Jaeger <aj@suse.de>
5094
5095 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
5096 * sunrpc/svc_simple.c: Use it for registerrpc.
5097 * sunrpc/xcrypt.c: Use it for passwd2des.
5098
5099 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
5100
5101 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5102
5103 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
5104 Don't define if [__SYSCALL_WORDSIZE != 32].
5105 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
5106 New macro.
5107
5108 2012-05-21 Bruno Haible <bruno@clisp.org>
5109 Andreas Jaeger <aj@suse.de>
5110
5111 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
5112 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
5113 inptr and inend for must_buffer_ch.
5114 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
5115 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
5116 * stdio-common/Makefile (tests): Remove bug15.
5117 (bug15-ENV): Remove macro.
5118 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
5119 anymore.
5120
5121 2012-05-19 Andreas Jaeger <aj@suse.de>
5122 Roland McGrath <roland@hack.frob.com>
5123
5124 * manual/contrib.texi: Completely rewritten. It contains now an
5125 alphabetical list of contributors and their contributions.
5126
5127 2012-05-21 Richard Henderson <rth@twiddle.net>
5128
5129 * misc/getauxval.c (__getauxval): Use unsigned long int.
5130 * misc/sys/auxv.h: Include <sys/cdefs.h>.
5131 (getauxval): Use unsigned long int.
5132
5133 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5134
5135 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5136
5137 2012-05-21 Roland McGrath <roland@hack.frob.com>
5138
5139 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
5140 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
5141 __alignof__ (long double).
5142
5143 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5144
5145 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5146
5147 2012-05-20 Richard Henderson <rth@twiddle.net>
5148
5149 * misc/getauxval.c: New file.
5150 * misc/sys/auxv.h: New file.
5151 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
5152 (routines): Add getauxval.
5153 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
5154 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
5155 * elf/dl-sysdep.c (_dl_auxv): Remove.
5156 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
5157 * elf/dl-support.c (_dl_auxv): New variable.
5158 (_dl_aux_init): Initialize it.
5159 * manual/startup.texi (Auxiliary Vector): New node.
5160 * sysdeps/generic/bits/hwcap.h: New file.
5161 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
5162 * sysdeps/powerpc/sysdep.h: ... here. Include it.
5163 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
5164 * sysdeps/sparc/sysdep.h: ... here. Include it.
5165 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
5166 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
5167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5168 Update.
5169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
5170 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
5171 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
5172 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
5173 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5174 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5175 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
5176 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
5177
5178 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5179
5180 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5181
5182 2012-05-19 David S. Miller <davem@davemloft.net>
5183
5184 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5185
5186 2012-05-19 Joseph Myers <joseph@codesourcery.com>
5187
5188 [BZ #14123]
5189 * math/s_ccosh.c: Include <float.h>
5190 (__ccosh): Avoid internal overflow calculating sinh and cosh
5191 values before multiplying by sin and cos values.
5192 * math/s_ccoshf.c: Likewise.
5193 * math/s_ccoshl.c: Likewise.
5194 * math/s_csin.c: Likewise.
5195 * math/s_csinf.c: Likewise.
5196 * math/s_csinl.c: Likewise.
5197 * math/s_csinh.c: Likewise.
5198 * math/s_csinhf.c: Likewise.
5199 * math/s_csinhl.c: Likewise.
5200 * math/libm-test.inc (ccos_test): Add more tests.
5201 (ccosh_test): Likewise.
5202 (csin_test): Likewise.
5203 (csinh_test): Likewise.
5204 * sysdeps/i386/fpu/libm-test-ulps: Update.
5205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5206
5207 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
5208
5209 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
5210 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
5211
5212 * sysdeps/x86_64/x32/_itoa.h: Add comment.
5213
5214 2012-05-19 Joseph Myers <joseph@codesourcery.com>
5215
5216 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
5217 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
5218 * sysdeps/powerpc/soft-fp/Versions: Likewise.
5219 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
5220 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
5221 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
5222 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
5223 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
5224 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
5225 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
5226 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
5227 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
5228 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
5229 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
5230 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
5231 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
5232 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
5233 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
5234 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
5235 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
5236 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
5237 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
5238 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
5239 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
5240 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
5241 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
5242 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
5243 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
5244 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
5245 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
5246 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
5247
5248 2012-05-18 Andreas Jaeger <aj@suse.de>
5249
5250 * csu/.gitignore: Delete.
5251
5252 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5253
5254 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
5255 (timex): Use __syscall_slong_t.
5256
5257 2012-05-18 Andreas Jaeger <aj@suse.de>
5258 Carlos O'Donell <carlos_odonell@mentor.com>
5259
5260 * manual/install.texi (Configuring and compiling): Update
5261 description about files modified in the source directory.
5262 * INSTALL: Regenerated.
5263
5264 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5265
5266 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
5267 value. Use "or" to set return value to -1.
5268 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
5269 negate return value.
5270
5271 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5272
5273 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
5274 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
5275 failure if the compiler has Graphite support disabled.
5276 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
5277 Likewise.
5278 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
5279 CFLAGS-memmove.c): Likewise.
5280 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
5281 Likewise.
5282
5283 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5284
5285 * sysdeps/x86_64/x32/_itoa.h: New file.
5286
5287 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
5288 getdents system call only if kernel and user dirents have the
5289 same d_ino and d_off.
5290
5291 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5292 LLONG_MAX != LONG_MAX.
5293 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5294 (_fitoa_word): Likewise.
5295
5296 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
5297 years.
5298 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
5299 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
5300 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
5301
5302 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
5303 include <bits/wordsize.h>. Check __x86_64__ instead of
5304 __WORDSIZE.
5305 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
5306 if __x86_64__ is defined. Use anonymous union on fpstate.
5307
5308 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
5309 anonymous union.
5310
5311 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
5312
5313 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5314 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
5315 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
5316 Refer to _rtld_local_ro instead of _rtld_global_ro.
5317 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
5318 Likewise.
5319 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
5320 Likewise.
5321 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
5322 Likewise.
5323 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
5324 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
5325 of _rtld_global, and rtld_progname instead of _dl_argv[0].
5326
5327 * sysdeps/powerpc/powerpc32/dl-machine.c
5328 (__elf_machine_runtime_setup) [PROF]: Don't reference
5329 _dl_prof_resolve.
5330
5331 2012-05-18 Andreas Jaeger <aj@suse.de>
5332
5333 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
5334 function only available for GCCs before 3.4 since GCC 3.4
5335 introduced a builtin.
5336 (lrint): Likewise.
5337 (llrintf): Likewise.
5338 (llrint): Likewise.
5339 (fmaxf): Likewise.
5340 (fmax): Likewise.
5341 (fminf): Likewise.
5342 (fmin): Likewise.
5343 (rint): Likewise.
5344 (rintf): Likewise.
5345 (nearbyint): Likewise.
5346 (nearbyintf): Likewise.
5347 (ceil): Likewise.
5348 (ceilf): Likewise.
5349 (floor): Likewise.
5350 (floorf): Likewise.
5351
5352 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5353
5354 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
5355 on both fields and cast pointer to __syscall_ulong_t.
5356
5357 * bits/types.h (__fsword_t): New type.
5358 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
5359 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
5360 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5361 (__FSWORD_T_TYPE): Likewise.
5362 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5363 (__FSWORD_T_TYPE): Likewise.
5364 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5365 (__FSWORD_T_TYPE): Likewise.
5366 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
5367 (__FSWORD_T_TYPE): Likewise.
5368 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
5369 __SWORD_TYPE with __fsword_t.
5370 (statfs64): Likewise.
5371
5372 2012-05-17 David S. Miller <davem@davemloft.net>
5373
5374 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
5375
5376 2012-05-17 Andreas Jaeger <aj@suse.de>
5377
5378 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
5379 warning.
5380
5381 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5382
5383 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
5384
5385 2012-05-17 Andreas Jaeger <aj@suse.de>
5386
5387 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
5388 when it is used.
5389
5390 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5391
5392 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
5393
5394 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5395
5396 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
5397 * sysdeps/x86_64/tst-mallocalign1.c: New file.
5398
5399 2012-05-17 Andreas Jaeger <aj@suse.de>
5400 Carlos O'Donell <carlos_odonell@mentor.com>
5401
5402 [BZ #14059]
5403 * sysdeps/x86_64/multiarch/init-arch.h
5404 (bit_YMM_Usable): Rename to...
5405 (bit_AVX_Usable): ... this.
5406 (bit_FMA4_Usable): New macro.
5407 (bit_XMM_state): New macro.
5408 (bit_YMM_state): New macro.
5409 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
5410 [__ASSEMBLER__] (index_AVX_Usable): ... this.
5411 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
5412 (CPUID_OSXSAVE): New macro.
5413 (CPUID_AVX): New macro.
5414 (CPUID_FMA4): New macro.
5415 (index_YMM_Usable): Rename to...
5416 (index_AVX_Usable): ... this.
5417 (HAS_AVX): Use HAS_ARCH_FEATURE.
5418 (HAS_FMA4): Likewise.
5419 (HAS_YMM_USABLE): Remove.
5420 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5421 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
5422 are present.
5423 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
5424 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
5425 * sysdeps/x86_64/multiarch/Makefile: Likewise.
5426 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
5427 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
5428
5429 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5430
5431 * math/libm-test.c: Support platforms without multiple rounding modes.
5432 * math/bug-nextafter.c: Support platforms without FP exceptions.
5433 * math/bug-nexttoward.c: Likewise.
5434 * math/test-fenv.c: Likewise.
5435 * math/test-misc.c: Likewise.
5436 * stdlib/bug-getcontext.c: Likewise.
5437
5438 2012-05-17 Andreas Jaeger <aj@suse.de>
5439
5440 * manual/examples/search.c (critter_cmp): Change signature to
5441 avoid warnings.
5442 * manual/string.texi (Collation Functions): Likewise.
5443
5444 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5445
5446 * bits/types.h: Fold copyright years.
5447 * bits/typesizes.h: Likewise.
5448 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
5449 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5450 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
5451 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
5452 * time/time.h: Likewise.
5453
5454 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
5455
5456 [BZ #208]
5457 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
5458 in instead of returning them. Return void.
5459 (__libc_mallinfo): Accumulate over all arenas.
5460 (__malloc_stats): Adjust for change in int_mallinfo interface.
5461
5462 2012-05-16 Roland McGrath <roland@hack.frob.com>
5463
5464 [BZ #10375]
5465 * configure.in (NM): Add AC_CHECK_TOOL for it.
5466 (libc_extra_cflags): New substituted variable.
5467 Check for -fstack-protector being used implicitly.
5468 * configure: Regenerated.
5469 * config.make.in (config-extra-cflags): New variable,
5470 gets @libc_extra_cflags@.
5471 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
5472
5473 [BZ #10375]
5474 * configure.in: Check for _FORTIFY_SOURCE being predefined.
5475 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
5476 * configure: Regenerated.
5477 * config.make.in (CPPUNDEFS): New substituted variable.
5478 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
5479 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
5480 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
5481
5482 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5483
5484 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
5485 (mq_attr): Use __syscall_slong_t.
5486
5487 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5488
5489 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
5490 Check __x86_64__ instead of __WORDSIZE.
5491 (_STAT_VER_LINUX): Likewise.
5492 (stat): Check __x86_64__ instead of __WORDSIZE. Use
5493 __syscall_ulong_t and __syscall_slong_t.
5494 (stat64): Likewise.
5495
5496 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5497
5498 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
5499
5500 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5501
5502 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
5503
5504 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5505
5506 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
5507 __syscall_ulong_t.
5508
5509 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
5510 include <bits/wordsize.h>. Check __x86_64__ instead of
5511 __WORDSIZE.
5512 (greg_t): Use "__extension__ long long int" if __x86_64__ is
5513 defined.
5514 (mcontext_t): Replace "unsigned long" with "unsigned long long".
5515
5516 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
5517 include <bits/wordsize.h>. Check __x86_64__ instead of
5518 __WORDSIZE.
5519 (user_regs_struct): Use "__extension__ unsigned long long"
5520 instead of "unsigned long" if __x86_64__ is defined.
5521 (user): Likewise. Pad after pointer field if __ILP32__ is
5522 defined.
5523
5524 2012-05-16 Joseph Myers <joseph@codesourcery.com>
5525
5526 * configure.in (makeinfo): Require version 4.5 or later. Allow
5527 versions 5 to 9.
5528 * configure: Regenerated.
5529 * manual/install.texi (texinfo): Increase version requirement to
5530 4.5 or later.
5531 * INSTALL: Regenerated.
5532
5533 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
5534
5535 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5536
5537 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
5538
5539 * sysdeps/x86_64/x32/ffs.c: New file.
5540
5541 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
5542 __syscall_ulong_t.
5543 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
5544 defined. Use __syscall_ulong_t.
5545 (shminfo): Use __syscall_ulong_t.
5546 (shm_info): Likewise.
5547
5548 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
5549 __syscall_ulong_t.
5550
5551 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
5552 <bits/wordsize.h>.
5553 (msgqnum_t): Use __syscall_ulong_t.
5554 (msglen_t): Likewise.
5555 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
5556 __syscall_ulong_t.
5557
5558 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
5559 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5560
5561 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
5562
5563 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
5564 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
5565
5566 * sysvipc/sys/msg.h (msgbuf): Replace long int with
5567 __syscall_slong_t.
5568
5569 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
5570 include <bits/wordsize.h>. Check __x86_64__ instead of
5571 __WORDSIZE.
5572
5573 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
5574 "unsigned long long int" if __x86_64__ is defined.
5575 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
5576
5577 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
5578 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5579 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
5580
5581 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
5582 <stdint.h>.
5583 (GET_PC): Cast to uintptr_t first.
5584 (GET_FRAME): Likewise.
5585 (GET_STACK): Likewise.
5586
5587 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
5588 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
5589 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
5590 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
5591 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
5592 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
5593 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
5594 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
5595 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
5596 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
5597 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
5598 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
5599 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5600 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
5601 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
5602 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
5603 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
5604 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
5605 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
5606 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
5607 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
5608 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
5609 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
5610 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
5611 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
5612 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
5613 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
5614 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
5615 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
5616
5617 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
5618
5619 * Makerules (+depfiles): Also collect depfiles from .oS in
5620 $(extra-objs).
5621 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
5622 .oS, $(libnldbl-routines)).
5623
5624 * Makerules (native-compile-mkdep-flags): Define.
5625 * sunrpc/Makefile (extra-objs): Add $(addprefix
5626 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
5627 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
5628 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
5629 calling $(make-target-directory).
5630
5631 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5632
5633 * bits/types.h (__snseconds_t): Removed.
5634 * time/time.h (struct timespec): Replace __snseconds_t with
5635 __syscall_slong_t.
5636 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
5637 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
5638 Likewise.
5639 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5640 (__SNSECONDS_T_TYPE): Likewise.
5641 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5642 (__SNSECONDS_T_TYPE): Likewise.
5643 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5644 (__SNSECONDS_T_TYPE): Likewise.
5645
5646 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5647
5648 * sysdeps/mach/hurd/bits/typesizes.h
5649 (__SYSCALL_SLONG_TYPE): New macro.
5650 (__SYSCALL_ULONG_TYPE): Likewise.
5651
5652 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5653
5654 * bits/types.h (__syscall_slong_t): New type.
5655 (__syscall_ulong_t): Likewise.
5656
5657 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
5658 (__SYSCALL_ULONG_TYPE): Likewise.
5659 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5660 (__SYSCALL_SLONG_TYPE): Likewise.
5661 (__SYSCALL_ULONG_TYPE): Likewise.
5662 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5663 (__SYSCALL_SLONG_TYPE): Likewise.
5664 (__SYSCALL_ULONG_TYPE): Likewise.
5665 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5666 (__SYSCALL_SLONG_TYPE): Likewise.
5667 (__SYSCALL_ULONG_TYPE): Likewise.
5668
5669 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5670
5671 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
5672 Add sigaltstack-offsets.sym.
5673 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
5674 <sigaltstack-offsets.h>.
5675 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
5676 longjmp_msg pointer.
5677 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
5678 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
5679 signal stack.
5680 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
5681
5682 2012-05-15 Joseph Myers <joseph@codesourcery.com>
5683
5684 * elf/stackguard-macros.h: Remove file.
5685 * sysdeps/generic/stackguard-macros.h: New file.
5686 * sysdeps/i386/stackguard-macros.h: Likewise.
5687 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5688 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5689 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5690 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5691 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5692 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5693 * sysdeps/x86_64/stackguard-macros.h: Likewise.
5694 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
5695 <elf/stackguard-macros.h>.
5696
5697 [BZ #14109]
5698 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
5699 __aligned__ in attribute.
5700 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
5701 (gregset_t): Likewise.
5702
5703 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5704
5705 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
5706 * sysdeps/x86_64/64/Implies-after: Here. New file.
5707 * sysdeps/x86_64/x32/Implies-after: New file.
5708
5709 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5710
5711 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
5712 and access return value for _dl_profile_fixup. Use R10_LP to
5713 load frame size.
5714
5715 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5716
5717 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
5718
5719 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5720
5721 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
5722 * sysdeps/x86_64/x32/sysdep.h: New file.
5723
5724 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5725
5726 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
5727 * sysdeps/x86_64/setjmp.S: Likewise.
5728
5729 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5730
5731 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
5732 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
5733 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
5734 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
5735 remove unused global constant.
5736
5737 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
5738
5739 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
5740 include of <not-cancel.h>.
5741
5742 2012-05-15 Roland McGrath <roland@hack.frob.com>
5743
5744 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
5745
5746 2012-05-15 Jeff Law <law@redhat.com>
5747 Andreas Jaeger <aj@suse.de>
5748
5749 [BZ #13594]
5750 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
5751 out from...
5752 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
5753 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
5754 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
5755 code changing __hst_map_handle.map.
5756
5757 2012-05-15 Roland McGrath <roland@hack.frob.com>
5758
5759 * configure.in (sysnames): Look for Implies-before and Implies-after
5760 files.
5761 * configure: Regenerated.
5762
5763 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5764
5765 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
5766 8-byte data alignment with LP_SIZE alignment.
5767
5768 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5769
5770 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
5771 into R10_LP.
5772
5773 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5774
5775 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
5776
5777 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5778
5779 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
5780 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
5781 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
5782 Likewise.
5783 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5784
5785 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5786
5787 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
5788 (stackinfo_sub_sp): Likewise.
5789
5790 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5791
5792 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
5793 RAX_LP.
5794
5795 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5796
5797 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
5798 into R*_LP.
5799
5800 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5801
5802 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
5803 sizes into R*_LP.
5804
5805 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5806
5807 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
5808
5809 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5810
5811 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
5812 into R11_LP and load __x86_64_shared_cache_size_half into
5813 R8_LP.
5814
5815 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5816
5817 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
5818 R8_LP.
5819
5820 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5821
5822 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
5823 logb for POWER7.
5824 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
5825 logbf for POWER7.
5826 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
5827 logbl for POWER7.
5828 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
5829 powerpc32/power7/fpu/s_logb.c via #include.
5830 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
5831 powerpc32/power7/fpu/s_logbf.c via #include.
5832 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
5833 powerpc32/power7/fpu/s_logbl.c via #include.
5834
5835 2012-05-15 Joseph Myers <joseph@codesourcery.com>
5836
5837 * README.libm: Remove file.
5838
5839 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5840
5841 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
5842 count for x32. Use R*_LP and omit operand-size suffix.
5843
5844 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5845
5846 * shlib-versions: Move x86_64-.*-linux.* entries to ...
5847 * sysdeps/x86_64/64/shlib-versions: Here. New file.
5848 * sysdeps/x86_64/x32/shlib-versions: New file.
5849
5850 2012-05-14 Roland McGrath <roland@hack.frob.com>
5851
5852 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
5853 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
5854 Use _dl_fatal_printf instead.
5855
5856 2012-05-14 Joseph Myers <joseph@codesourcery.com>
5857
5858 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
5859 set if not set by the user. Do not allow for being unset.
5860 * sysdeps/unix/sysv/linux/configure: Regenerated.
5861
5862 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5863
5864 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
5865 the `q' suffix from lea and replace .quad with ASM_ADDR.
5866
5867 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5868
5869 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
5870 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
5871 instead of $17.
5872 (PTR_DEMANGLE): Likewise.
5873
5874 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5875
5876 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
5877 (LP_OP): Likewise.
5878 (ASM_ADDR): Likewise.
5879 (RAX_LP): Likewise.
5880 (RBP_LP): Likewise.
5881 (RBX_LP): Likewise.
5882 (RCX_LP): Likewise.
5883 (RDI_LP): Likewise.
5884 (RSI_LP): Likewise.
5885 (RSP_LP): Likewise.
5886 (R8_LP): Likewise.
5887 (R9_LP): Likewise.
5888 (R10_LP): Likewise.
5889 (R10_LP): Likewise.
5890 (R11_LP): Likewise.
5891 (R12_LP): Likewise.
5892 (R13_LP): Likewise.
5893 (R14_LP): Likewise.
5894 (R15_LP): Likewise.
5895
5896 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5897
5898 * sysdeps/x86_64/x32/dl-machine.h: New file.
5899
5900 2012-05-14 Andreas Jaeger <aj@suse.de>
5901
5902 * manual/Makefile (subdir): Remove export of subdir.
5903 (all): Remove target.
5904 (.PHONY): Remove all from list.
5905 (mkinstalldirs): Remove.
5906 (.PHONY): Remove installdirs from list.
5907 ($(inst_infodir)/libc.info): Use make-target-directory.
5908 (installdirs): Remove.
5909 (subdir_%): Remove.
5910 (glibc-targets): Remove.
5911 (lib): Remove.
5912 (stubs): Remove.
5913 ($(objpfx)stubs ../po/manual.pot): Remove.
5914 ($(objpfx)stamp%): Remove.
5915 (make-target-directory): Remove.
5916 (subdir_install): Remove.
5917 (routines): Remove.
5918 (aux): Remove.
5919 (sources): Remove.
5920 (objects): Remove.
5921 (headers): Remove.
5922
5923 [BZ #13750]
5924 * manual/.gitignore: Remove, it's not needed anymore.
5925 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
5926 all files in it.
5927 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
5928 directory.
5929 (texis): Renamed to $(objpfx)texis.
5930 (texis-path): New, contains path to generated files.
5931 (chapters.%): Use texis-path for complete path, add extra argument
5932 libc-texinfo.sh.
5933 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
5934 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
5935 (summary,texi, stamp-summary): Use complete path of
5936 files. Generate files in build dir.
5937 (dir-add.texi): Build in build dir.
5938 (libm-err.texi,stamp-libm-err): Likewise.
5939 (version.texi, stamp-version): Likewise.
5940 (.%c.texi): Likewise.
5941 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
5942 (mostlyclean): Remove target.
5943 (realclean): Remove target.
5944 (generated): Add new variable with contents from mostlyclean and
5945 realclean, remove entries duplicated in common-mostlyclean, add
5946 stamp-libm-err and stamp-version.
5947 (generated-dirs): Add libc directory.
5948 ($(inst_infodir)/libc.info): Install files from build dir.
5949
5950 * manual/install.texi (Configuring and compiling): Adjust since
5951 the info files are not part of the tar ball anymore.
5952
5953 2012-05-14 Andreas Jaeger <aj@suse.de>
5954
5955 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
5956 variable.
5957
5958 2012-05-14 Joseph Myers <joseph@codesourcery.com>
5959
5960 [BZ #13717]
5961 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5962 to 2.2.0 where earlier.
5963 * sysdeps/unix/sysv/linux/configure: Regenerated.
5964 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
5965 Remove conditional code.
5966 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
5967 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
5968 Remove conditional code.
5969 [!__NR_lchown]: Likewise.
5970 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5971 [__NR_lchown]: Likewise.
5972 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
5973 comment referencing __ASSUME_LCHOWN_SYSCALL.
5974 * sysdeps/unix/sysv/linux/i386/sigaction.c
5975 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5976 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5977 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
5978 Remove conditional code.
5979 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
5980 (__protocol_available): Remove #if 0 code.
5981 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
5982 conditional code.
5983 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
5984 * sysdeps/unix/sysv/linux/kernel-features.h
5985 (__ASSUME_GETCWD_SYSCALL): Don't define.
5986 (__ASSUME_REALTIME_SIGNALS): Likewise.
5987 (__ASSUME_PREAD_SYSCALL): Likewise.
5988 (__ASSUME_PWRITE_SYSCALL): Likewise.
5989 (__ASSUME_POLL_SYSCALL): Likewise.
5990 (__ASSUME_LCHOWN_SYSCALL): Likewise.
5991 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
5992 non-SPARC.
5993 (__ASSUME_SIOCGIFNAME): Don't define.
5994 (__ASSUME_MSG_NOSIGNAL): Likewise.
5995 (__ASSUME_SENDFILE): Define unconditionally.
5996 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
5997 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
5998 conditional code.
5999 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
6000 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
6001 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6002 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6003 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
6004 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6005 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
6007 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6008 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6010 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6011 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
6013 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6014 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
6016 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6017 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
6019 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6020 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
6022 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6023 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
6025 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6026 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
6028 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6029 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6030 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
6031 Remove conditional code.
6032 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6033 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6034 Remove conditional code.
6035 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6036 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
6037 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
6038 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6039 Remove conditional code.
6040 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6041 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
6042 Remove conditional code.
6043 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6044 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
6045 Remove conditional code.
6046 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6047 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6048 Remove conditional code.
6049 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6050 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6051 Remove conditional code.
6052 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6053 * sysdeps/unix/sysv/linux/sh/pwrite64.c
6054 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6055 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6056 * sysdeps/unix/sysv/linux/sigaction.c
6057 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6058 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6059 * sysdeps/unix/sysv/linux/sigpending.c
6060 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6061 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6062 * sysdeps/unix/sysv/linux/sigprocmask.c
6063 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6064 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6065 * sysdeps/unix/sysv/linux/sigsuspend.c
6066 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6067 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6068 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
6069 (__libc_missing_rt_sigs): Remove.
6070 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
6071 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
6072 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
6073 Remove conditional code.
6074 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
6075 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
6076 return 1.
6077 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
6078 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
6079 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
6080 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
6081
6082 2012-05-14 Andreas Jaeger <aj@suse.de>
6083
6084 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
6085 it's not used in glibc.
6086 (__coshm1): Likewise.
6087 (__acosh1p): Likewise.
6088 (__sgn): Likewise.
6089
6090 * manual/string.texi (Copying and Concatenation): Add missing
6091 variable in concat example.
6092 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6093
6094 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6095
6096 [BZ #14103]
6097 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
6098 __builtin_clzl with __builtin_clzll.
6099
6100 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6101
6102 [BZ #14104]
6103 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
6104 libc_freeres_ptr.
6105
6106 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6107
6108 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
6109 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
6110 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
6111 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
6112
6113 2012-05-14 Mike Frysinger <vapier@gentoo.org>
6114
6115 * NEWS: Update ia64 info.
6116
6117 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
6118
6119 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
6120 used as bcopy.
6121
6122 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
6123
6124 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
6125 * sysdeps/unix/syscalls.list (dup3): Likewise.
6126 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
6127 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
6128
6129 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6130
6131 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
6132 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
6133
6134 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6135
6136 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
6137 thread pointer.
6138 (TLS_IE): Use mov/add instead of movq/addq to load thread
6139 pointer.
6140 (TLS_GD_PREFIX): New.
6141 (TLS_GD): Use it.
6142
6143 2012-05-11 David S. Miller <davem@davemloft.net>
6144
6145 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
6146 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
6147 (_FPU_SETCW): Likewise.
6148
6149 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6150
6151 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
6152 is 32-byte aligned.
6153
6154 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
6155
6156 [BZ #11837]
6157 * iconvdata/gb18030.c: Update tables.
6158 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
6159 characters specially.
6160 (BODY for TO_LOOP): Add encoding of missing ranges.
6161
6162 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
6163
6164 [BZ #13673]
6165 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
6166 * sysdeps/mach/hurd/dup3.c: Likewise.
6167 * sysdeps/mach/hurd/readlinkat.c: Likewise.
6168 * sysdeps/powerpc/memmove.c:: Likewise.
6169
6170 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6171
6172 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
6173 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
6174
6175 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6176
6177 * elf/elf.h (R_X86_64_RELATIVE64): New.
6178 (R_X86_64_NUM): Updated.
6179 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6180 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
6181 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
6182 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
6183 tst-quad1pie tst-quad2pie
6184 (modules-names): Add tst-quadmod1 tst-quadmod2.
6185 ($(objpfx)tst-quad1): New dependency.
6186 ($(objpfx)tst-quad2): Likewise.
6187 ($(objpfx)tst-quad1pie): Likewise.
6188 ($(objpfx)tst-quad2pie): Likewise.
6189 * sysdeps/x86_64/tst-quad1.c: New file.
6190 * sysdeps/x86_64/tst-quad1pie.c: New file.
6191 * sysdeps/x86_64/tst-quad2.c: Likewise.
6192 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
6193 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
6194 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
6195 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
6196 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
6197
6198 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6199
6200 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
6201 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
6202 * streams/stropts.h (t_scalar_t): Define type.
6203
6204 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
6205 (_PATH_PRESERVE): Set to "/var/lib".
6206 (_PATH_RWHODIR): Set to "/var/spool/rwho".
6207
6208 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
6209 instead of int.
6210
6211 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
6212 if __dir_mkfile succeeded.
6213
6214 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
6215 checking for _hurd_dtablesize. Unlock it right after having
6216 finished _hurd_dtable allocation.
6217
6218 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6219
6220 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
6221 * sysdeps/mach/hurd/configure: Regenerated.
6222 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
6223 special-casing to...
6224 * sysdeps/gnu/configure.in: ... this new file.
6225 * sysdeps/unix/sysv/linux/configure: Regenerated.
6226 * sysdeps/gnu/configure: New generated file.
6227
6228 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
6229 for Linux: use nsec instead of usec, as well as:
6230 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
6231 members of type struct timespec.
6232 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
6233 New macros.
6234 (struct stat64): Likewise.
6235 (_STATBUF_ST_NSEC): New macro.
6236 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
6237
6238 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
6239 __strtoul_internal rather than strtoul.
6240
6241 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6242
6243 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
6244 and reject them.
6245
6246 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6247
6248 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
6249 which preserves existing values.
6250 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
6251
6252 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6253
6254 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
6255 TIMEOUT values. Return EINVAL for NFDS values either negative or
6256 greater than FD_SETSIZE.
6257
6258 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6259
6260 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
6261 allocated, call __vm_protect to finish enabling the existing space, and
6262 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
6263 allocate the remainder.
6264
6265 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6266
6267 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
6268 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
6269
6270 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6271
6272 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
6273 sysdeps/mach/hurd/readlink.c.
6274
6275 * posix/tst-sysconf.c (posix_options): Only use
6276 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
6277 _POSIX_SYNCHRONIZED_IO when they are defined
6278 * sysdeps/mach/hurd/bits/posix_opt.h:
6279 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
6280 (_XOPEN_REALTIME): Undefine macro.
6281 (_XOPEN_REALTIME_THREADS): Undefine macro.
6282 (_XOPEN_SHM): Undefine macro.
6283 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
6284 macro to -1.
6285 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
6286 macro to -1.
6287 (_POSIX_ASYNC_IO): Undefine macro.
6288 (_POSIX_PRIORITIZED_IO): Undefine macro.
6289 (_POSIX_SPIN_LOCKS): Define macro to -1.
6290
6291 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
6292 SA_NODEFER, SA_RESETHAND.
6293 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
6294 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
6295 F_DUPFD_CLOEXEC.
6296
6297 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6298
6299 * elf/Makefile (pldd-modules): Define unconditionally.
6300
6301 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6302
6303 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
6304
6305 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6306
6307 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
6308 Return ENOENT when name is empty.
6309 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
6310
6311 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6312
6313 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
6314
6315 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
6316
6317 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6318
6319 Fix mlock in all cases except non-readable pages.
6320 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
6321 instead of VM_PROT_ALL as parameter to __vm_wire function.
6322
6323 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
6324 (__mkdir): When path is `/', just fail with EEXIST.
6325 * sysdeps/mach/hurd/mkdirat.c: Likewise.
6326
6327 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6328
6329 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
6330 <sys/uio.h> (for writev).
6331 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
6332 and <sys/param.h> (for MIN).
6333
6334 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6335
6336 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
6337 REQUESTED_TIME. Properly set the remaining time and return EINTR
6338 if interrupted.
6339
6340 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6341
6342 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
6343 Depend on against $(link-rpcuserlibs).
6344
6345 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6346
6347 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
6348 (__libc_stack_end): Do not use attribute_relro.
6349 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
6350 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
6351 to libthread-provided value.
6352 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
6353 attribute_relro.
6354
6355 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6356
6357 [BZ #3748]
6358 * bits/libc-lock.h (__libc_once_get): New macro.
6359 * sysdeps/mach/bits/libc-lock.h: Likewise.
6360 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
6361 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
6362 instead of using implementation details.
6363
6364 * libio/fileops.c: Unconditionally include <kernel-features.h>.
6365 * libio/freopen.c: Likewise.
6366 * libio/freopen64.c: Likewise.
6367 * misc/syslog.c: Likewise.
6368 * nscd/connections.c: Likewise.
6369 * nscd/netgroupcache.c: Likewise.
6370 * sysdeps/posix/getcwd.c: Likewise.
6371
6372 2012-05-10 Roland McGrath <roland@hack.frob.com>
6373
6374 * math/w_ilogbf.c: Add #include <limits.h>.
6375
6376 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6377
6378 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
6379 path instead of returning without unlocking.
6380
6381 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
6382 immediate-write ioctls.
6383 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
6384
6385 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6386
6387 * sysdeps/mach/hurd/i386/init-first.c (init): Use
6388 __builtin_frame_address instead of making assumptions about the
6389 location of the return address relative to DATA. Force early load of
6390 the return address.
6391 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
6392 __builtin_frame_address.
6393
6394 dup3 for GNU Hurd.
6395 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
6396 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
6397 implement dup3 and do some further code clean-ups.
6398 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
6399 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
6400
6401 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6402
6403 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
6404
6405 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
6406 HURD_CRITICAL_END around holding _hurd_dtable_lock.
6407 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
6408 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
6409 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
6410 d->port.lock.
6411
6412 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
6413 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
6414 when handler == SIG_ERR, not when handler != SIG_ERR.
6415
6416 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6417
6418 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
6419 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
6420 definitions.
6421
6422 accept4 for GNU Hurd.
6423 * include/sys/socket.h (__libc_accept4): New prototype.
6424 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
6425 to implement __libc_accept4.
6426 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
6427 __libc_accept4.
6428 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
6429
6430 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
6431 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
6432 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
6433 signal-defines.sym.
6434
6435 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6436
6437 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6438
6439 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6440
6441 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
6442 assertion on O_CLOEXEC flag.
6443 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
6444 * hurd/intern-fd.c: Likewise.
6445 * hurd/port2fd.c: Likewise.
6446
6447 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6448
6449 [BZ #3906]
6450 * bits/in.h (IPV6_PKTINFO): Define new macro.
6451 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
6452
6453 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6454
6455 [BZ #13954]
6456 [BZ #13955]
6457 [BZ #13956]
6458 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
6459 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6460 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
6461 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6462 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6463 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6464 * math/libm-test.inc (logb_test) : Additional logb tests.
6465
6466 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
6467 Andreas Jaeger <aj@suse.de>
6468
6469 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
6470 * configure: Regenerated.
6471 * config.h.in (LINK_OBSOLETE_RPC): New macro.
6472 * config.make.in (link-obsolete-rpc): New substituted variable.
6473 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
6474 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
6475 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6476 (shared-only-routines): Don't set it under [link-obsolete-rpc],
6477 so that libc.a contains the symbols.
6478 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6479 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
6480 * sunrpc/auth_none.c: Likewise.
6481 * sunrpc/auth_unix.c: Likewise.
6482 * sunrpc/authdes_prot.c: Likewise.
6483 * sunrpc/authuxprot.c: Likewise.
6484 * sunrpc/clnt_gen.c: Likewise.
6485 * sunrpc/clnt_perr.c: Likewise.
6486 * sunrpc/clnt_raw.c: Likewise.
6487 * sunrpc/clnt_simp.c: Likewise.
6488 * sunrpc/clnt_tcp.c: Likewise.
6489 * sunrpc/clnt_udp.c: Likewise.
6490 * sunrpc/clnt_unix.c: Likewise.
6491 * sunrpc/des_crypt.c: Likewise.
6492 * sunrpc/des_soft.c: Likewise.
6493 * sunrpc/get_myaddr.c: Likewise.
6494 * sunrpc/key_call.c: Likewise.
6495 * sunrpc/key_prot.c: Likewise.
6496 * sunrpc/netname.c: Likewise.
6497 * sunrpc/pm_getmaps.c: Likewise.
6498 * sunrpc/pm_getport.c: Likewise.
6499 * sunrpc/pmap_clnt.c: Likewise.
6500 * sunrpc/pmap_prot.c: Likewise.
6501 * sunrpc/pmap_prot2.c: Likewise.
6502 * sunrpc/pmap_rmt.c: Likewise.
6503 * sunrpc/publickey.c: Likewise.
6504 * sunrpc/rpc_cmsg.c: Likewise.
6505 * sunrpc/rpc_common.c: Likewise.
6506 * sunrpc/rpc_dtable.c: Likewise.
6507 * sunrpc/rpc_prot.c: Likewise.
6508 * sunrpc/rpc_thread.c: Likewise.
6509 * sunrpc/rtime.c: Likewise.
6510 * sunrpc/svc.c: Likewise.
6511 * sunrpc/svc_auth.c: Likewise.
6512 * sunrpc/svc_raw.c: Likewise.
6513 * sunrpc/svc_run.c: Likewise.
6514 * sunrpc/svc_tcp.c: Likewise.
6515 * sunrpc/svc_udp.c: Likewise.
6516 * sunrpc/svc_unix.c: Likewise.
6517 * sunrpc/svcauth_des.c: Likewise.
6518 * sunrpc/xcrypt.c: Likewise.
6519 * sunrpc/xdr.c: Likewise.
6520 * sunrpc/xdr_array.c: Likewise.
6521 * sunrpc/xdr_float.c: Likewise.
6522 * sunrpc/xdr_intXX_t.c: Likewise.
6523 * sunrpc/xdr_mem.c: Likewise.
6524 * sunrpc/xdr_rec.c: Likewise.
6525 * sunrpc/xdr_ref.c: Likewise.
6526 * sunrpc/xdr_sizeof.c: Likewise.
6527 * sunrpc/xdr_stdio.c: Likewise.
6528
6529 2012-05-10 Roland McGrath <roland@hack.frob.com>
6530
6531 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
6532 change. Update copyright years.
6533
6534 2012-05-10 Joseph Myers <joseph@codesourcery.com>
6535
6536 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
6537
6538 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
6539 Joseph Myers <joseph@codesourcery.com>
6540 Paul Pluzhnikov <ppluzhnikov@google.com>
6541
6542 [BZ #14012]
6543 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
6544 requiring rpcgen.
6545 [cross-compiling] (extra-libs): Likewise.
6546 [cross-compiling] (extra-libs-others): Likewise.
6547 [cross-compiling] (librpcsvc-routines): Likewise.
6548 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
6549 [cross-compiling] (omit-deps): Likewise.
6550 (sunrpc-CPPFLAGS): New variable.
6551 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
6552 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
6553 (cross-rpcgen-objs): New variable.
6554 (extra-objs): Append $(cross-rpcgen-objs).
6555 ($(cross-rpcgen-objs)): New rule.
6556 ($(objpfx)cross-rpcgen): Likewise.
6557 (rpcgen-cmd): Define to use $(built-program-file). Expand
6558 comment.
6559 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
6560 ($(objpfx)x%.stmp): Likewise.
6561 * sunrpc/proto.h [IS_IN_build] (_): Define.
6562 [IS_IN_build] (_libc_intl_domainname): Likewise.
6563
6564 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6565
6566 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
6567 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
6568 and R_X86_64_TPOFF64.
6569
6570 2012-05-10 Joseph Myers <joseph@codesourcery.com>
6571
6572 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
6573 sysdeps/unix/sysv/syscalls.list.
6574 (stime): Likewise.
6575 (utime): Likewise.
6576 * sysdeps/unix/sysv/syscalls.list: Remove file.
6577
6578 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
6579
6580 [BZ #3440]
6581 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
6582 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
6583 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
6584 (__LC_IDENTIFICATION): Make these macros useful in #if
6585 expressions, as required by C99.
6586
6587 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
6588
6589 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
6590 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
6591 after this.
6592
6593 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6594
6595 * stdlib/longlong.h: Updated from GCC.
6596
6597 2012-05-09 Andreas Jaeger <aj@suse.de>
6598
6599 * nscd/nscd.c (run_modes): Make named enum, reorder so that
6600 default is first entry.
6601 (run_mode): Set type.
6602 (main): Remove informal message about syslog.
6603 (options): Fix typo.
6604
6605 [BZ #14053]
6606 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
6607 to asm.
6608 (lrint): Likewise.
6609 (llrintf): Likewise.
6610 (llrint): Likewise.
6611 (rint): Likewise.
6612 (rintf): Likewise.
6613 (nearbyint): Likewise.
6614 (nearbyintf): Likewise.
6615
6616 2012-05-09 Andreas Jaeger <aj@suse.de>
6617 Pedro Alves <palves@redhat.com>
6618
6619 * nscd/nscd.c (run_mode): Use enum.
6620 (main): Cleanup coding style issue.
6621
6622 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
6623 Andreas Jaeger <aj@suse.de>
6624
6625 * nscd/nscd.c (go_background): Replaced with...
6626 (run_mode): ... this.
6627 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
6628 (options): Add -F --foreground.
6629 (main): Implement it.
6630 (parse_opt): Parse it.
6631
6632 2012-05-09 Andreas Jaeger <aj@suse.de>
6633
6634 [BZ #14083]
6635 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
6636 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
6637 -Wconversion warning.
6638 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
6639 Likewise.
6640
6641 2012-05-09 Joseph Myers <joseph@codesourcery.com>
6642
6643 * conform/data/locale.h-data (NULL): Use macro-constant. Require
6644 == 0.
6645 (LC_ALL): Use macro-int-constant.
6646 (LC_COLLATE): Likewise.
6647 (LC_CTYPE): Likewise.
6648 (LC_MESSAGES): Likewise.
6649 (LC_MONETARY): Likewise.
6650 (LC_NUMERIC): Likewise.
6651 (LC_TIME): Likewise.
6652 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
6653 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6654 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6655 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
6656 Specify type.
6657 [C99-based standards] (float_t): Expect type.
6658 [C99-based standards] (double_t): Expect type.
6659 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
6660 type.
6661 [C99-based standards] (HUGE_VALL): Likewise.
6662 [C99-based standards] (INFINITY): Likewise.
6663 [C99-based standards] (NAN): Likewise.
6664 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
6665 [C99-based standards] (FP_NAN): Likewise.
6666 [C99-based standards] (FP_NORMAL): Likewise.
6667 [C99-based standards] (FP_SUBNORMAL): Likewise.
6668 [C99-based standards] (FP_ZERO): Likewise.
6669 [C99-based standards] (FP_FAST_FMA): Use
6670 optional-macro-int-constant. Specify type. Require == 1.
6671 [C99-based standards] (FP_FAST_FMAF): Likewise.
6672 [C99-based standards] (FP_FAST_FMAL): Likewise.
6673 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
6674 [C99-based standards] (FP_ILOGBNAN): Likewise.
6675 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
6676 Specify type.
6677 [C99-based standards] (MATH_ERREXCEPT): Likewise.
6678 [C99-based standards] (math_errhandling): Specify type.
6679 [ISO99 || ISO11] (signgam): Do not allow.
6680 [non-C99-based standards] (copysignf): Do not allow.
6681 [non-C99-based standards] (exp2f): Likewise.
6682 [non-C99-based standards] (log2f): Likewise.
6683 [non-C99-based standards] (modff): Allow.
6684 [non-C99-based standards] (erff): Do not allow.
6685 [non-C99-based standards] (erfcf): Likewise.
6686 [non-C99-based standards] (gammaf): Likewise.
6687 [non-C99-based standards] (hypotf): Likewise.
6688 [non-C99-based standards] (j0f): Likewise.
6689 [non-C99-based standards] (j1f): Likewise.
6690 [non-C99-based standards] (jnf): Likewise.
6691 [non-C99-based standards] (lgammaf): Likewise.
6692 [non-C99-based standards] (tgammaf): Likewise.
6693 [non-C99-based standards] (y0f): Likewise.
6694 [non-C99-based standards] (y1f): Likewise.
6695 [non-C99-based standards] (ynf): Likewise.
6696 [non-C99-based standards] (isnanf): Likewise.
6697 [non-C99-based standards] (acoshf): Likewise.
6698 [non-C99-based standards] (asinhf): Likewise.
6699 [non-C99-based standards] (atanhf): Likewise.
6700 [non-C99-based standards] (cbrtf): Likewise.
6701 [non-C99-based standards] (expm1f): Likewise.
6702 [non-C99-based standards] (ilogbf): Likewise.
6703 [non-C99-based standards] (log1pf): Likewise.
6704 [non-C99-based standards] (logbf): Likewise.
6705 [non-C99-based standards] (nextafterf): Likewise.
6706 [non-C99-based standards] (remainderf): Likewise.
6707 [non-C99-based standards] (rintf): Likewise.
6708 [non-C99-based standards] (scalbf): Likewise.
6709 [non-C99-based standards] (copysignl): Likewise.
6710 [non-C99-based standards] (exp2l): Likewise.
6711 [non-C99-based standards] (log2l): Likewise.
6712 [non-C99-based standards] (modfl): Allow.
6713 [non-C99-based standards] (erfl): Do not allow.
6714 [non-C99-based standards] (erfcl): Likewise.
6715 [non-C99-based standards] (gammal): Likewise.
6716 [non-C99-based standards] (hypotl): Likewise.
6717 [non-C99-based standards] (j0l): Likewise.
6718 [non-C99-based standards] (j1l): Likewise.
6719 [non-C99-based standards] (jnl): Likewise.
6720 [non-C99-based standards] (lgammal): Likewise.
6721 [non-C99-based standards] (tgammal): Likewise.
6722 [non-C99-based standards] (y0l): Likewise.
6723 [non-C99-based standards] (y1l): Likewise.
6724 [non-C99-based standards] (ynl): Likewise.
6725 [non-C99-based standards] (isnanl): Likewise.
6726 [non-C99-based standards] (acoshl): Likewise.
6727 [non-C99-based standards] (asinhl): Likewise.
6728 [non-C99-based standards] (atanhl): Likewise.
6729 [non-C99-based standards] (cbrtl): Likewise.
6730 [non-C99-based standards] (expm1l): Likewise.
6731 [non-C99-based standards] (ilogbl): Likewise.
6732 [non-C99-based standards] (log1pl): Likewise.
6733 [non-C99-based standards] (logbl): Likewise.
6734 [non-C99-based standards] (nextafterl): Likewise.
6735 [non-C99-based standards] (remainderl): Likewise.
6736 [non-C99-based standards] (rintl): Likewise.
6737 [non-C99-based standards] (scalbl): Likewise.
6738 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6739 [non-C99-based standards] (FP_*): Do not allow.
6740 [C99-based standards] (FP_*): Change to
6741 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6742 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6743 allow.
6744 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
6745 (SIG_ERR): Likewise.
6746 [X/Open-based standards] (SIG_HOLD): Likewise.
6747 (SIG_IGN): Likewise.
6748 (SIGABRT): Use macro-int-constant. Specify type. Require
6749 positive value.
6750 (SIGFPE): Likewise.
6751 (SIGILL): Likewise.
6752 (SIGINT): Likewise.
6753 (SIGSEGV): Likewise.
6754 (SIGTER): Likewise.
6755 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
6756 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
6757 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
6758 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
6759 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
6760 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
6761 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
6762 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
6763 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
6764 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
6765 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
6766 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
6767 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
6768 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
6769 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
6770 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
6771 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
6772 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
6773 [X/Open-based standards] (SIGTRAP): Likewise.
6774 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
6775 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
6776 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
6777 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
6778 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6779 allow.
6780
6781 2012-05-08 Ian Wienand <ianw@vmware.com>
6782
6783 [BZ #14080]
6784 * time/tzset.c (__tzset_parse_tz): Update default rules for
6785 daylight time changes in the Energy Policy Act of 2005.
6786
6787 2012-05-09 Andreas Jaeger <aj@suse.de>
6788
6789 [BZ #13983]
6790 * elf/ldconfig.c (parse_conf): Change string to make clear that
6791 ldconfig only issued a warning if ld.so.conf does not exist.
6792
6793 2012-05-08 David S. Miller <davem@davemloft.net>
6794
6795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
6796 movxtod instead of popping the value on the stack.
6797
6798 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6799
6800 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
6801
6802 * config.h.in: Add HAVE_ARM_PCS_VFP.
6803
6804 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
6805
6806 [BZ #13979]
6807 * include/features.h: Warn if user requests __FORTIFY_SOURCE
6808 checking but the checks are disabled for any reason.
6809
6810 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
6811
6812 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
6813 and ELF64_R_TYPE with ELFW(R_TYPE).
6814
6815 2012-05-08 Joseph Myers <joseph@codesourcery.com>
6816
6817 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
6818 (ulimit): Likewise.
6819
6820 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
6821 (settimeofday): Likewise.
6822
6823 2012-05-08 Mike Frysinger <vapier@gentoo.org>
6824
6825 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
6826 a struct th_u2 inside the union, and move tu_block/tu_code into
6827 a new th_u3 union of tu_block/tu_code inside of that. Move
6828 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
6829 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
6830 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
6831 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
6832 (th_stuff): Change to th_u1.tu_stuff.
6833 (th_data): Define.
6834 (th_msg): Change to th_u1.th_u2.tu_data.
6835
6836 2012-05-07 David S. Miller <davem@davemloft.net>
6837
6838 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6839
6840 [BZ #14074]
6841 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
6842 (SETUP_PIC_REG): Use it.
6843 (SETUP_PIC_REG_LEAF): Use it.
6844
6845 2012-05-07 Joseph Myers <joseph@codesourcery.com>
6846
6847 [BZ #13885]
6848 [BZ #13923]
6849 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6850 USE_AS_EXPM1L.
6851 (EXPL_FINITE): Likewise.
6852 (FLDLOG): Likewise.
6853 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6854 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6855 e_expl.S.
6856 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6857 USE_AS_EXPM1L.
6858 (EXPL_FINITE): Likewise.
6859 (FLDLOG): Likewise.
6860 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6861 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6862 e_expl.S.
6863 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
6864 test of -max_value argument for long double.
6865 * sysdeps/i386/fpu/libm-test-ulps: Update.
6866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6867
6868 2012-05-06 David S. Miller <davem@davemloft.net>
6869
6870 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
6871 quad soft-float symbols whose references which are compiler
6872 generated.
6873 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6874
6875 2012-05-06 Joseph Myers <joseph@codesourcery.com>
6876
6877 [BZ #13884]
6878 [BZ #13914]
6879 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6880 USE_AS_EXP10L.
6881 (EXPL_FINITE): Likewise.
6882 (FLDLOG): Likewise.
6883 (c0): Likewise.
6884 (c1): Likewise.
6885 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6886 Adjust comments for base varying.
6887 (__expl_finite): Change alias to EXPL_FINITE.
6888 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
6889 e_expl.S.
6890 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
6891 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6892 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6893 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
6894 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6895 USE_AS_EXP10L.
6896 (EXPL_FINITE): Likewise.
6897 (FLDLOG): Likewise.
6898 (c0): Likewise.
6899 (c1): Likewise.
6900 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6901 Adjust comments for base varying.
6902 (__expl_finite): Change alias to EXPL_FINITE.
6903 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
6904 tests for bugs.
6905 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6906
6907 [BZ #14064]
6908 * math/libm-test.inc (check_float_internal): Correct ulp
6909 calculation for subnormal expected results.
6910
6911 2012-05-06 Andreas Jaeger <aj@suse.de>
6912
6913 * Makeconfig (+math-flags): New, set to -frounding-math.
6914 (+cflags): Add +math-flags so that all of glibc gets compiled with
6915 it.
6916
6917 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
6918
6919 2012-05-05 Joseph Myers <joseph@codesourcery.com>
6920
6921 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
6922 Disable one test.
6923
6924 [BZ #13787]
6925 [BZ #13922]
6926 [BZ #14036]
6927 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
6928 (__ieee754_expl): Allow for and saturate large arguments.
6929 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
6930 (u_threshold): Likewise.
6931 (__exp): Call __ieee754_exp before checking for overflow and
6932 underflow.
6933 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
6934 (u_threshold): Likewise.
6935 (__expf): Call __ieee754_expf before checking for overflow and
6936 underflow.
6937 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
6938 (u_threshold): Likewise.
6939 (__expl): Call __ieee754_expl before checking for overflow and
6940 underflow.
6941 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
6942 (__ieee754_expl): Allow for and saturate large arguments.
6943 * math/libm-test.inc (exp_test): Add another test. Do not allow
6944 missing overflow exception on overflow.
6945 (expm1_test): Do not allow missing overflow exception on overflow.
6946
6947 * sysdeps/i386/fpu/e_expl.c: Move to ...
6948 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
6949 rather than using inline asm.
6950 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
6951 * sysdeps/x86_64/fpu/e_expl.S: Copy from
6952 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
6953
6954 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
6955 (nice): Likewise.
6956 (poll): Likewise.
6957 (signal): Likewise.
6958 (time): Likewise.
6959 (times): Likewise.
6960
6961 2012-05-04 Joseph Myers <joseph@codesourcery.com>
6962
6963 * sysdeps/unix/syscalls.list (adjtime): Add entry from
6964 sysdeps/unix/common/syscalls.list.
6965 (fchmod): Likewise.
6966 (fchown): Likewise.
6967 (ftruncate): Likewise.
6968 (getrusage): Likewise.
6969 (gettimeofday): Likewise.
6970 (setpgid): Likewise.
6971 (setregid): Likewise.
6972 (setreuid): Likewise.
6973 (sigaction): Likewise.
6974 (truncate): Likewise.
6975 (vhangup): Likewise.
6976 * sysdeps/unix/common/syscalls.list: Remove file.
6977 * sysdeps/unix/bsd/Implies: Don't include unix/common.
6978 * sysdeps/unix/sysv/linux/Implies: Likewise.
6979
6980 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
6981
6982 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
6983 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
6984 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
6985 Moved to ...
6986 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6987 Here.
6988 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
6989 to ...
6990 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
6991 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
6992 to ...
6993 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
6994 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
6995 to ...
6996 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
6997 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
6998 to ...
6999 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
7000 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
7001 to ...
7002 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
7003 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
7004 to ...
7005 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
7006 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
7007 to ...
7008 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7009 Here.
7010 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
7011 to ...
7012 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
7013 Here.
7014 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
7015 to ...
7016 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
7017 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
7018 Moved to ...
7019 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
7020 Here.
7021 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
7022 to ...
7023 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
7024
7025 2012-05-04 Joseph Myers <joseph@codesourcery.com>
7026
7027 * sysdeps/unix/common/bits/dirent.h: Remove file.
7028 * sysdeps/unix/common/bits/fcntl.h: Likewise.
7029
7030 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
7031 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
7032 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
7033 * sysdeps/unix/bsd/isatty.c: Likewise.
7034 * sysdeps/unix/bsd/tcdrain.c: Likewise.
7035 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
7036 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
7037
7038 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7039
7040 [BZ #13563]
7041 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
7042 long double comparison inaccuracies.
7043 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
7044 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7045
7046 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
7047
7048 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
7049 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
7050
7051 2012-05-04 Joseph Myers <joseph@codesourcery.com>
7052
7053 [BZ #14049]
7054 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
7055 nonzero digits before rounding a hex value.
7056 * stdlib/tst-strtod.c (tests): Add another test.
7057
7058 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7059
7060 * sysdeps/s390/fpu/libm-test-ulps: Update.
7061
7062 2012-05-03 Andreas Jaeger <aj@suse.de>
7063
7064 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
7065 does not get optimized out.
7066 (malloc_opt_barrier): New.
7067
7068 2012-05-03 Andreas Jaeger <aj@suse.de>
7069 Roland McGrath <roland@hack.frob.com>
7070
7071 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
7072 intermediate file deletion.
7073 (generated): Add .symlist files.
7074
7075 2012-05-03 Joseph Myers <joseph@codesourcery.com>
7076
7077 [BZ #13775]
7078 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
7079 Redirect under this condition.
7080 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7081 [__USE_GNU] (__dprintf_chk): Not under this condition.
7082 [__USE_GNU] (__vdprintf_chk): Likewise.
7083 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
7084 under this condition.
7085 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7086 [__USE_XOPEN2K8] (dprintf): Define under this condition.
7087 [__USE_XOPEN2K8] (vdprintf): Likewise.
7088 [__USE_GNU] (__dprintf_chk): Not under this condition.
7089 [__USE_GNU] (__vdprintf_chk): Likewise.
7090 [__USE_GNU] (dprintf): Likewise.
7091 [__USE_GNU] (vdprintf): Likewise.
7092
7093 2012-05-03 Roland McGrath <roland@hack.frob.com>
7094
7095 * elf/Makefile (common-generated): Set this instead of generated for
7096 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
7097 $(all-built-dso)-derived lists.
7098
7099 2012-05-03 Andreas Jaeger <aj@suse.de>
7100
7101 * sysdeps/i386/fpu/libm-test-ulps: Update.
7102
7103 * FAQ: Removed.
7104 * FAQ.in: Likewise.
7105 * scripts/gen-FAQ.pl: Likewise.
7106 * manual/install.texi (Installation): Point to online location of
7107 FAQ.
7108 * Makefile (files-for-dist): Remove FAQ.
7109 (FAQ): Remove.
7110
7111 2012-05-02 Allan McRae <allan@archlinux.org>
7112
7113 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
7114 (LDFLAGS-reldepmod5.so): Likewise.
7115 (LDFLAGS-reldep6mod1.so): Likewise.
7116 (LDFLAGS-reldep6mod4.so): Likewise.
7117 (LDFLAGS-reldep8mod3.so): Likewise.
7118 (LDFLAGS-unload4mod1.so): Likewise.
7119 (LDFLAGS-unload4mod2.so): Likewise.
7120 (LDFLAGS-tst-initorder): Likewise.
7121 (LDFLAGS-tst-initordera2.so): Likewise.
7122 (LDFLAGS-tst-initordera3.so): Likewise.
7123 (LDFLAGS-tst-initordera4.so): Likewise.
7124 (LDFLAGS-tst-initorderb2.so): Likewise.
7125 (LDFLAGS-noload): Likewise.
7126 (LDFLAGS-next): Likewise.
7127 (LDFLAGS-order2mod1.so): Likewise.
7128 (LDFLAGS-order2mod2.so): Likewise.
7129 (LDFLAGS-tst-initorder2): Likewise.
7130 (LDFLAGS-tst-initorder2a.so): Likewise.
7131 (LDFLAGS-tst-initorder2b.so): Likewise.
7132 (LDFLAGS-tst-initorder2c.so): Likewise.
7133 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
7134
7135 2012-05-02 David S. Miller <davem@davemloft.net>
7136
7137 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7138
7139 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
7140
7141 [BZ #14055]
7142 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
7143
7144 2012-05-02 Andreas Jaeger <aj@suse.de>
7145
7146 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
7147 since we manipulate rounding mode.
7148 (CPPFLAGS-test-idouble.c): Likewise.
7149 (CPPFLAGS-test-ifloat.c): Likewise.
7150 (CFLAGS-test-ldouble.c): Likewise.
7151 (CFLAGS-test-double.c): Likewise.
7152 (CFLAGS-test-float.c): Likewise.
7153 (CFLAGS-test-misc.c): Likewise.
7154 (CFLAGS-test-test-fenv.c): Likewise.
7155
7156 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7157
7158 [BZ #2550]
7159 [BZ #2570]
7160 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
7161 comparisons to determine direction to adjust input.
7162
7163 2012-05-01 Roland McGrath <roland@hack.frob.com>
7164
7165 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
7166 output to the target.
7167
7168 * scripts/localplt.awk: New file.
7169 * elf/Makefile ($(objpfx)check-localplt): Target removed.
7170 (check-localplt-CFLAGS): Variable removed.
7171 ($(all-built-dso:=.jmprel)): New static pattern rule.
7172 (generated): Add those targets.
7173 (localplt-built-dso): New variable.
7174 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
7175
7176 * elf/check-localplt.c: File removed.
7177
7178 * scripts/check-execstack.awk: New file.
7179 * elf/Makefile ($(objpfx)check-execstack): Target removed.
7180 (check-execstack-CFLAGS): Variable removed.
7181 ($(objpfx)check-execstack.h): Target removed.
7182 ($(objpfx)execstack-default): New target.
7183 (generated): Add that instead of check-execstack.h.
7184 ($(all-built-dso:=.phdr)): New static pattern rule.
7185 (generated): Add those targets.
7186 * elf/check-execstack.c: File removed.
7187
7188 * scripts/check-textrel.awk: New file.
7189 * elf/Makefile ($(objpfx)check-textrel): Target removed.
7190 (check-textrel-CFLAGS): Variable removed.
7191 (all-built-dso): Use := to define.o
7192 ($(all-built-dso:=.dyn)): New static pattern rule.
7193 (generated): Add those targets.
7194 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
7195 * config.make.in (READELF): New substituted variable.
7196 * elf/check-textrel.c: File removed.
7197
7198 2012-05-01 Joseph Myers <joseph@codesourcery.com>
7199
7200 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7201 allow.
7202 * conform/data/ctype.h-data [C99-based standards] (isblank):
7203 Expect function.
7204 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
7205 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
7206 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7207 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
7208 Specify type. Require positive value.
7209 (EILSEQ): Likewise.
7210 (ERANGE): Likewise.
7211 [ISO || POSIX] (EILSEQ): Do not expect.
7212 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
7213 Specify type. Require positive value.
7214 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
7215 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
7216 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
7217 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
7218 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
7219 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
7220 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
7221 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
7222 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
7223 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
7224 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
7225 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
7226 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
7227 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
7228 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
7229 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
7230 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
7231 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
7232 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
7233 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
7234 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
7235 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
7236 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
7237 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
7238 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
7239 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
7240 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
7241 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
7242 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
7243 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
7244 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
7245 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
7246 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
7247 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
7248 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
7249 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
7250 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
7251 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
7252 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
7253 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
7254 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
7255 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
7256 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
7257 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
7258 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
7259 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
7260 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
7261 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
7262 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
7263 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
7264 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
7265 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
7266 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
7267 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
7268 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
7269 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
7270 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
7271 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
7272 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
7273 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
7274 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
7275 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
7276 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
7277 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
7278 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
7279 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
7280 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
7281 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
7282 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
7283 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
7284 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
7285 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
7286 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
7287 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
7288 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
7289 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
7290 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
7291 Require >= 2.
7292 (FLT_ROUNDS): Expect as macro, not constant.
7293 (FLT_MANT_DIG): Use macro-int-constant.
7294 (DBL_MANT_DIG): Likewise.
7295 (LDBL_MANT_DIG): Likewise.
7296 (FLT_DIG): Likewise.
7297 (DBL_DIG): Likewise.
7298 (LDBL_DIG): Likewise.
7299 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
7300 (DBL_MIN_EXP): Likewise.
7301 (LDBL_MIN_EXP): Likewise.
7302 (FLT_MAX_EXP): Use macro-int-constant.
7303 (DBL_MAX_EXP): Likewise.
7304 (LDBL_MAX_EXP): Likewise.
7305 (FLT_MAX_10_EXP): Likewise.
7306 (DBL_MAX_10_EXP): Likewise.
7307 (LDBL_MAX_10_EXP): Likewise.
7308 (FLT_MAX): Use macro-constant.
7309 (DBL_MAX): Likewise.
7310 (LDBL_MAX): Likewise.
7311 (FLT_EPSILON): Use macro-constant. Give upper bound.
7312 (DBL_EPSILON): Likewise.
7313 (LDBL_EPSILON): Likewise.
7314 (FLT_MIN): Likewise.
7315 (DBL_MIN): Likewise.
7316 (LDBL_MIN): Likewise.
7317 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
7318 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
7319 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
7320 [ISO11] (FLT_HAS_SUBNORM): Likewise.
7321 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
7322 [ISO11] (DBL_DECIMAL_DIG): Likewise.
7323 [ISO11] (FLT_DECIMAL_DIG): Likewise.
7324 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
7325 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
7326 [ISO11] (FLT_TRUE_MIN): Likewise.
7327 [ISO11] (LDBL_TRUE_MIN): Likewise.
7328 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7329 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
7330 (SCHAR_MIN): Use macro-int-constant. Specify type.
7331 (SCHAR_MAX): Likewise.
7332 (UCHAR_MAX): Likewise.
7333 (CHAR_MIN): Likewise.
7334 (CHAR_MAX): Likewise.
7335 (MB_LEN_MAX): Use macro-int-constant.
7336 (SHRT_MIN): Use macro-int-constant. Specify type.
7337 (SHRT_MAX): Likewise.
7338 (USHRT_MAX): Likewise.
7339 (INT_MAX): Likewise.
7340 (INT_MIN): Use macro-int-constant. Specify type. Make upper
7341 bound negative.
7342 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
7343 bound with "U".
7344 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7345 bound with "L".
7346 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
7347 bound negative. Suffix upper bound with "L".
7348 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7349 bound with "UL".
7350 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
7351 Specify type.
7352 [C99-based standards] (LLONG_MAX): Likewise.
7353 [C99-based standards] (ULLONG_MAX): Likewise.
7354 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
7355 == 0.
7356 [ISO11] (max_align_t): Require type.
7357 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7358
7359 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
7360 from $CFLAGS, without defining away __attribute__ calls.
7361 (checknamespace): Use $CFLAGS_namespace.
7362
7363 * conform/conformtest.pl (@keywords): Only include C99 keywords
7364 for standards based on C99 or C11.
7365
7366 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
7367 Disable tests.
7368 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
7369 UNIX98]: Likewise.
7370
7371 * conform/conformtest.pl: Handle "macro-int-constant" and test for
7372 usability of symbols in #if.
7373
7374 * conform/conformtest.pl: If macro or constant types start
7375 "promoted:", expect the symbol to be of the following type
7376 promoted by the integer promotions.
7377
7378 * conform/conformtest.pl: Parse all "constant" and "macro" lines
7379 in one place. Also handle "macro-constant".
7380
7381 * conform/conformtest.pl: Only accept expected macro values with
7382 "==". Parse all "macro" lines in one place.
7383 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
7384
7385 * conform/conformtest.pl: Handle braced types on "constant" lines
7386 instead of handling "typed-constant".
7387 * conform/data/signal.h-data: Use "constant" instead of
7388 "typed-constant".
7389
7390 * conform/conformtest.pl: Handle "optional-" at start of lines in
7391 one place rather than duplicating several cases. Handle each
7392 format of "macro" line with initial "optional-".
7393
7394 * conform/conformtest.pl: Only accept expected constant or
7395 optional-constant values with "==". Parse all "constant" lines in
7396 one place. Parse all "optional-constant" lines in one place.
7397 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
7398 * conform/data/fmtmsg.h-data: Likewise.
7399 * conform/data/netinet/in.h-data: Likewise.
7400 * conform/data/tar.h-data: Likewise.
7401 * conform/data/limits.h-data: Use "==" form on "constant" and
7402 "optional-constant" lines.
7403
7404 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
7405 Use -std=c99 for XOPEN2K.
7406 (@knownproblems): Remove.
7407 (newtoken): Don't check %isknown.
7408
7409 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
7410 Do not expect macro.
7411 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
7412 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
7413 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
7414 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
7415 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
7416 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
7417 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
7418 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
7419 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
7420 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
7421 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
7422 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
7423 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
7424 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
7425 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
7426 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
7427 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
7428 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
7429 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
7430 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
7431 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
7432 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
7433 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
7434 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
7435 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
7436 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
7437 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
7438 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
7439 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
7440 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
7441 [XPG3] (acosh): Likewise.
7442 [XPG3] (asinh): Likewise.
7443 [XPG3] (atanh): Likewise.
7444 [XPG3] (cbrt): Likewise.
7445 [XPG3] (expm1): Likewise.
7446 [XPG3] (ilogb): Likewise.
7447 [XPG3] (log1p): Likewise.
7448 [XPG3] (logb): Likewise.
7449 [XPG3] (nextafter): Likewise.
7450 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
7451 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
7452 [XPG3] (remainder): Likewise.
7453 [XPG3] (rint): Likewise.
7454 [XPG3 || XPG4 || UNIX98] (round): Likewise.
7455 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
7456 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
7457 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
7458 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
7459 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
7460 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
7461 [UNIX98 || XOPEN2K] (scalb): Expect.
7462 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
7463 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
7464 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
7465 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
7466 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
7467 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
7468 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
7469 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
7470 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
7471 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
7472 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
7473 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
7474 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
7475 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
7476 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
7477 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
7478 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
7479 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
7480 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
7481 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
7482 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
7483 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
7484 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
7485 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
7486 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
7487 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
7488 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
7489 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
7490 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
7491 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
7492 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
7493 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
7494 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
7495 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
7496 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
7497 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
7498 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
7499 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
7500 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
7501 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
7502 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
7503 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
7504 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
7505 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
7506 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
7507 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
7508 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
7509 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
7510 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
7511 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
7512 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
7513 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
7514 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
7515 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
7516 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
7517 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
7518 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
7519 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
7520 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
7521 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
7522 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
7523 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
7524 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
7525 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
7526 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
7527 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
7528 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
7529 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
7530 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
7531 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
7532 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
7533 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
7534 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
7535 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
7536 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
7537 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
7538 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
7539 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
7540 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
7541 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
7542 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
7543 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
7544 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
7545 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
7546 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
7547 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
7548 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
7549 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
7550 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
7551 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
7552 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
7553 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
7554 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
7555 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
7556 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
7557 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
7558 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
7559 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
7560 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
7561 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
7562 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
7563 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
7564 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
7565 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
7566 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
7567 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
7568 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
7569 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
7570 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
7571 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
7572 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
7573 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
7574 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
7575 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
7576 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
7577 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
7578 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
7579 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
7580 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
7581 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
7582 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
7583 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
7584 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
7585 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
7586 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
7587 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
7588 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
7589 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
7590 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
7591 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
7592 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
7593 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
7594 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
7595 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
7596 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
7597 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
7598 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
7599
7600 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
7601 _XOPEN_SOURCE_EXTENDED for XPG4.
7602
7603 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
7604
7605 * Makeconfig (localtime): Remove variable.
7606 (inst_localtime-file): Likewise.
7607
7608 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7609
7610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7611 Update.
7612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7613 Update.
7614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7615 Update.
7616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7617 Update.
7618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7619 Update.
7620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
7621 Update.
7622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7623 Update.
7624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
7625 Update.
7626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7627 Update.
7628
7629 2012-05-01 Joseph Myers <joseph@codesourcery.com>
7630
7631 [BZ #2550]
7632 [BZ #2570]
7633 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
7634 comparisons to determine direction to adjust input.
7635 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7636 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
7637 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
7638 Likewise.
7639 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
7640 Likewise.
7641 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7642 Likewise.
7643 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
7644 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7645 Likewise.
7646 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7647 Likewise.
7648 * math/libm-test.inc (nexttoward_test): Add more tests.
7649
7650 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7651
7652 [BZ #14040]
7653 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
7654 in version GLIBC_2.1, not GLIBC_2.0.
7655 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
7656 Likewise.
7657
7658 2012-04-30 Joseph Myers <joseph@codesourcery.com>
7659
7660 [BZ #13942]
7661 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
7662 (1 - x) * (1 + x).
7663 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7664 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
7665 * math/libm-test.inc (acos_test): Add more tests.
7666 (asin_test): Likewise.
7667 * sysdeps/i386/fpu/libm-test-ulps: Update.
7668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7669
7670 [BZ #14034]
7671 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
7672 of square root.
7673 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
7674 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7675 * math/libm-test.inc (acos_test_tonearest): New function.
7676 (acos_test_towardzero): Likewise.
7677 (acos_test_downward): Likewise.
7678 (acos_test_upward): Likewise.
7679 (asin_test_tonearest): Likewise.
7680 (asin_test_towardzero): Likewise.
7681 (asin_test_downward): Likewise.
7682 (asin_test_upward): Likewise.
7683 (main): Call the new functions.
7684 * sysdeps/i386/fpu/libm-test-ulps: Update.
7685 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7686
7687 [BZ #13884]
7688 [BZ #13924]
7689 * math/e_exp10.c: Include <float.h>.
7690 (__ieee754_exp10): Handle underflow here rather than multiplying
7691 large negative argument by M_LN10.
7692 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
7693 of __ieee754_expf.
7694 * math/e_exp10l.c: Include <float.h>.
7695 (__ieee754_exp10l): Handle underflow here rather than multiplying
7696 large negative argument by M_LN10l.
7697 * math/libm-test.inc (exp10_test): Add another test. Do not allow
7698 spurious overflow exception on underflow.
7699
7700 2012-04-29 Marek Polacek <polacek@redhat.com>
7701
7702 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
7703 (__fortify_function): New macro.
7704 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
7705 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
7706 __extern_always_inline.
7707 * libio/bits/stdio2.h: Likewise.
7708 * libio/bits/stdio.h: Likewise.
7709 * string/string.h: Likewise.
7710 * string/bits/string3.h: Likewise.
7711 * include/stdio.h: Likewise.
7712 * stdlib/bits/stdlib.h: Likewise.
7713 * stdlib/stdlib.h: Likewise.
7714 * rt/bits/mqueue2.h: Likewise.
7715 * rt/mqueue.h: Likewise.
7716 * posix/bits/unistd.h: Likewise.
7717 * posix/unistd.h: Likewise.
7718 * io/bits/poll2.h: Likewise.
7719 * io/bits/fcntl2.h: Likewise.
7720 * io/fcntl.h: Likewise.
7721 * io/sys/poll.h: Likewise.
7722 * misc/bits/syslog.h: Likewise.
7723 * misc/bits/syslog-ldbl.h: Likewise.
7724 * misc/sys/syslog.h: Likewise.
7725 * socket/bits/socket2.h: Likewise.
7726 * socket/sys/socket.h: Likewise.
7727 * debug/tst-chk1.c: Likewise.
7728 * wcsmbs/bits/wchar2.h: Likewise.
7729 * wcsmbs/bits/wchar-ldbl.h: Likewise.
7730 * wcsmbs/wchar.h: Likewise.
7731
7732 2012-04-29 Andreas Jaeger <aj@suse.de>
7733
7734 * Makerules (tests): Remove enable-check-abi protection.
7735 (check-abi-warn): Remove.
7736 (check-abi-%): Remove check-abi-warn usage.
7737
7738 * configure.in: Remove check-abi configure option.
7739 * configure: Regenerated.
7740 * config.make.in (enable-check-abi): Remove.
7741
7742 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
7743
7744 [BZ #14033]
7745 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
7746 double functions to double *_finite functions.
7747
7748 [BZ #13941]
7749 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
7750 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
7751 LDBL_MIN_EXP.
7752 * stdio-common/Makefile (tests): Add tst-sprintf3.
7753 * stdio-common/tst-sprintf3.c: New file.
7754
7755 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
7756 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
7757
7758 2012-04-28 Joseph Myers <joseph@codesourcery.com>
7759
7760 * conform/conformtest.pl: Remove duplicate typed-constant
7761 handling.
7762
7763 2012-04-28 David S. Miller <davem@davemloft.net>
7764
7765 * Makerules (%.abilist): Add vpath on sysdep_dirs.
7766 (check-abi-%): Remove AWK script prerequisite and explicit
7767 abilist directory.
7768 (check-abi): Rewrite to just diff the symlist with the abilist.
7769 (config-tls, config-abi-config): Delete, no longer used.
7770 (update-abi-%): Remove AWK script and explicit abilist directory.
7771 (update-abi): Rewrite to simply compare and conditionally copy the
7772 symlist and the sysdep abilist file. Remove update-abi-config
7773 checks.
7774 * abilist/ld.abilist: Remove.
7775 * abilist/libBrokenLocale.abilist: Remove.
7776 * abilist/libanl.abilist: Remove.
7777 * abilist/libcrypt.abilist: Remove.
7778 * abilist/libdl.abilist: Remove.
7779 * abilist/librt.abilist: Remove.
7780 * abilist/libthread_db.abilist: Remove.
7781 * abilist/libutil.abilist: Remove.
7782 * scripts/extract-abilist.awk: Remove.
7783 * scripts/merge-abilist.awk: Remove.
7784 * sysdeps/generic/libcidn.abilist: New file.
7785 * sysdeps/generic/libnss_compat.abilist: New file.
7786 * sysdeps/generic/libnss_db.abilist: New file.
7787 * sysdeps/generic/libnss_dns.abilist: New file.
7788 * sysdeps/generic/libnss_files.abilist: New file.
7789 * sysdeps/generic/libnss_hesiod.abilist: New file.
7790 * sysdeps/generic/libnss_nis.abilist: New file.
7791 * sysdeps/generic/libnss_nisplus.abilist: New file.
7792 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
7793 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
7794 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
7795 file.
7796 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
7797 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
7798 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
7799 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
7800 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
7801 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
7802 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
7803 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
7804 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
7805 file.
7806 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
7807 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
7808 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
7809 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
7810 file.
7811 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
7812 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
7813 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
7814 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
7815 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
7816 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
7817 file.
7818 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
7819 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
7820 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
7821 file.
7822 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
7823 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
7824 New file.
7825 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
7826 New file.
7827 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
7828 New file.
7829 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
7830 New file.
7831 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
7832 New file.
7833 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
7834 New file.
7835 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
7836 New file.
7837 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
7838 New file.
7839 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
7840 New file.
7841 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
7842 New file.
7843 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
7844 New file.
7845 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
7846 New file.
7847 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
7848 New file.
7849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
7850 file.
7851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7852 New file.
7853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7854 New file.
7855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
7856 file.
7857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7858 New file.
7859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7860 New file.
7861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
7862 file.
7863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7864 New file.
7865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7866 New file.
7867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7868 New file.
7869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7870 New file.
7871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7872 New file.
7873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7874 New file.
7875 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
7876 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
7877 file.
7878 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7879 New file.
7880 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
7881 file.
7882 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
7883 file.
7884 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
7885 file.
7886 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
7887 file.
7888 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
7889 file.
7890 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7891 New file.
7892 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
7893 file.
7894 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
7895 file.
7896 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7897 New file.
7898 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
7899 file.
7900 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
7901 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
7902 file.
7903 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7904 New file.
7905 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
7906 file.
7907 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
7908 file.
7909 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
7910 file.
7911 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
7912 file.
7913 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
7914 file.
7915 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7916 New file.
7917 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
7918 file.
7919 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
7920 file.
7921 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7922 New file.
7923 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
7924 file.
7925 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7926 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
7927 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
7928 file.
7929 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
7930 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
7931 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
7932 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
7933 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
7934 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
7935 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
7936 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
7937 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
7938 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
7939 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
7940 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
7941 file.
7942 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7943 New file.
7944 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
7945 file.
7946 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
7947 file.
7948 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
7949 file.
7950 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
7951 file.
7952 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
7953 file.
7954 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7955 New file.
7956 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7957 New file.
7958 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
7959 file.
7960 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7961 New file.
7962 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
7963 file.
7964 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
7965 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
7966 file.
7967 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7968 New file.
7969 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
7970 file.
7971 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
7972 file.
7973 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
7974 file.
7975 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
7976 file.
7977 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
7978 file.
7979 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7980 New file.
7981 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7982 New file.
7983 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
7984 file.
7985 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7986 New file.
7987 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
7988 file.
7989
7990 2012-04-28 Joseph Myers <joseph@codesourcery.com>
7991
7992 * conform/conformtest.pl: Fix typo in handling typed-constant from
7993 allow-header.
7994
7995 2012-04-27 Joseph Myers <joseph@codesourcery.com>
7996
7997 * README: Cut down references to pre-2.6 Linux kernels and
7998 Linuxthreads. Update lists of configurations in libc and ports
7999 and sort alphabetically. Say "or newer" with Linux kernel version
8000 requirements.
8001
8002 * config.h.in [IS_IN_build]: Allow compiling without optimization.
8003
8004 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8005
8006 [BZ #887]
8007 * math/libm-test.inc (logb_test_downward): New test to expose
8008 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
8009 rounding mode.
8010
8011 2012-04-27 Joseph Myers <joseph@codesourcery.com>
8012
8013 [BZ #14027]
8014 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
8015 to be done.
8016 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
8017 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
8018
8019 2012-04-26 Joseph Myers <joseph@codesourcery.com>
8020
8021 * sysdeps/unix/i386/brk.S: Remove file.
8022 * sysdeps/unix/i386/dl-brk.S: Likewise.
8023 * sysdeps/unix/i386/pipe.S: Likewise.
8024 * sysdeps/unix/i386/sigreturn.S: Likewise.
8025 * sysdeps/unix/i386/syscall.S: Likewise.
8026 * sysdeps/unix/i386/vfork.S: Likewise.
8027 * sysdeps/unix/i386/wait.S: Likewise.
8028
8029 * sysdeps/unix/common/tcsendbrk.c: Move to ...
8030 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
8031
8032 * configure.in (arm*-none*): Do not allow without
8033 --enable-hacker-mode.
8034 (netbsd*): Remove case setting base_os.
8035 (386bsd*): Likewise.
8036 (freebsd*): Likewise.
8037 (bsdi*): Likewise.
8038 (osf*): Likewise.
8039 (sunos*): Likewise.
8040 (ultrix*): Likewise.
8041 (newsos*): Likewise.
8042 (dynix*): Likewise.
8043 (*bsd*): Likewise.
8044 (sysv*): Likewise.
8045 (isc*): Likewise.
8046 (esix*): Likewise.
8047 (sco*): Likewise.
8048 (minix*): Likewise.
8049 (irix4*): Likewise.
8050 (irix6*): Likewise.
8051 (solaris[2-9]*): Likewise.
8052 (none): Likewise.
8053 * configure: Regenerated.
8054
8055 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8056
8057 [BZ #11521]
8058 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
8059 overflow or cancellation in calculating denominator.
8060 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
8061 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
8062 down expression to avoid unexpected rounding in newer GCCs.
8063 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
8064
8065 2012-04-26 David S. Miller <davem@davemloft.net>
8066
8067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
8068 long-double compat symbols.
8069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
8073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8074 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
8075 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
8076 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
8077 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
8078 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
8079 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
8080 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
8081 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8082
8083 2012-04-25 David S. Miller <davem@davemloft.net>
8084
8085 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
8086 HWCAP_* values only after the memory barriers have been defined.
8087 (atomic_full_barrier): Define.
8088 (atomic_read_barrier): Define.
8089 (atomic_write_barrier): Define.
8090
8091 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8092
8093 * shlib-versions: Add libgcc_s version information.
8094 * sysdeps/generic/libgcc_s.h: Remove.
8095 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
8096 libgcc_s.h.
8097 * sysdeps/gnu/unwind-resume.c: Likewise.
8098 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
8099
8100 2012-04-25 David S. Miller <davem@davemloft.net>
8101
8102 * sysdeps/unix/sparc/brk.S: Delete.
8103 * sysdeps/unix/sparc/dl-brk.S: Delete.
8104 * sysdeps/unix/sparc/pipe.S: Delete.
8105 * sysdeps/unix/sparc/sysdep.S: Delete.
8106 * sysdeps/unix/sparc/sysdep.h: Delete.
8107 * sysdeps/unix/sparc/vfork.S: Delete.
8108 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
8109 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
8110 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
8111 ret_ERRVAL, r0, r1, MOVE): Define.
8112 (JUMPTARGET): Remove.
8113 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
8114 sysdeps/unix/sparc/sysdep.h
8115 (ENTRY, END): Remove.
8116 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8117
8118 2012-04-25 Joseph Myers <joseph@codesourcery.com>
8119
8120 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
8121 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
8122 -DIS_IN_build.
8123
8124 * timezone/README: Update upstream location and email address for
8125 tzcode and tzdata.
8126 * timezone/zdump.c: Update from tzcode 2012b.
8127 * timezone/zic.c: Likewise.
8128
8129 * configure.in (libc_cv_as_needed): Remove test.
8130 * configure: Regenerated.
8131 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
8132 conditional definition.
8133 [$(have-as-needed) != yes] (no-as-needed): Likewise.
8134 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
8135 * config.make.in (have-as-needed): Remove variable.
8136
8137 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8138 Paul Pluzhnikov <ppluzhnikov@google.com>
8139
8140 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
8141 strings correctly.
8142
8143 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
8144
8145 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
8146 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
8147 * sysdeps/sh/strlen.S: Likewise.
8148
8149 2012-04-24 Joseph Myers <joseph@codesourcery.com>
8150
8151 * sysdeps/unix/fork.S: Remove file.
8152 * sysdeps/unix/i386/fork.S: Likewise.
8153 * sysdeps/unix/sparc/fork.S: Likewise.
8154
8155 * sysdeps/unix/system.c: Remove file.
8156 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
8157
8158 * sysdeps/unix/getegid.S: Remove file.
8159 * sysdeps/unix/geteuid.S: Likewise.
8160
8161 2012-04-24 Roland McGrath <roland@hack.frob.com>
8162
8163 * scripts/check-localplt.awk: New file.
8164 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
8165 of diff.
8166 * scripts/data/localplt-generic.data: Add a comment.
8167
8168 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
8169 NODE when __dir_mkfile failed.
8170 * sysdeps/mach/hurd/symlinkat.c: Likewise.
8171 Reported by Ludovic Courtès <ludo@gnu.org>.
8172
8173 2012-04-24 Andreas Jaeger <aj@suse.de>
8174
8175 * Makerules (common-clean): Also remove gen-as-const-headers
8176 files.
8177
8178 2012-04-24 Joseph Myers <joseph@codesourcery.com>
8179
8180 * Makerules (native-compile): Do not change working directory for
8181 build. Use $(OUTPUT_OPTION) in command.
8182 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
8183
8184 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8185
8186 [BZ #13886]
8187 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
8188 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
8189 * math/libm-test.inc (floor_test): Add more tests.
8190 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
8191
8192 2012-04-24 Joseph Myers <joseph@codesourcery.com>
8193
8194 * sysdeps/unix/getdents.c: Remove file.
8195 * sysdeps/unix/sysv/getdents.c: Likewise.
8196 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
8197
8198 * sysdeps/unix/syscalls.list (madvise): Add syscall from
8199 sysdeps/unix/mman/syscalls.list.
8200 (mmap): Likewise.
8201 (mprotect): Likewise.
8202 (msync): Likewise.
8203 (munmap): Likewise.
8204 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
8205 * sysdeps/unix/mman/syscalls.list: Remove.
8206 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
8207
8208 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
8209 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
8210 * configure: Regenerated.
8211 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
8212 $(libgcc_s_suffix).
8213 * config.make.in (libgcc_s_suffix): Remove variable.
8214
8215 2012-04-23 Joseph Myers <joseph@codesourcery.com>
8216
8217 * sysdeps/unix/sysv/gethostname.c: Move to ...
8218 * sysdeps/posix/gethostname.c: ... here.
8219
8220 * sysdeps/unix/execve.S: Remove file.
8221
8222 * sysdeps/unix/_exit.S: Remove file.
8223
8224 2012-04-23 Andreas Jaeger <aj@suse.de>
8225
8226 [BZ #13739]
8227 * manual/Makefile: Remove make dist support, there's no
8228 need for a stand-alone documentation tar ball.
8229 (TEXI2DVI): Define always, it's not in Makeconfig.
8230 (dist): Removed.
8231 (tar-it): Removed.
8232 (edition): Removed.
8233 (glibc-doc-$(edition).tar): Removed
8234 (%.Z): Removed.
8235 (%.gz): Removed.
8236 (%.uu): Removed.
8237 (ETAGS): Remove, it's in Makeconfig.
8238 (move-if-change): Remove, it's in Makeconfig.
8239
8240 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
8241
8242 [BZ #13970]
8243 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
8244 (strtod, strtof, strtold, strtol, strtoul, strtoq)
8245 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
8246 (strtod_l, strtof_l, strtold_l): Remove __wur.
8247 It is not necessarily an error to ignore strtol's return value.
8248 One can reliably look at the stored endptr to decide whether
8249 the number had valid syntax.
8250
8251 2012-04-21 Andreas Jaeger <aj@suse.de>
8252
8253 [BZ #13739]
8254 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
8255
8256 2012-04-21 Joseph Myers <joseph@codesourcery.com>
8257
8258 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
8259 * sysdeps/unix/sysv/Versions: Remove file.
8260
8261 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
8262
8263 [BZ #13927]
8264 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8265
8266 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
8267
8268 [BZ #7064]
8269 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
8270 version from __vm86.
8271
8272 2012-04-20 Joseph Myers <joseph@codesourcery.com>
8273
8274 * sysdeps/unix/common/lxstat.c: Remove file.
8275 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
8276
8277 * sysdeps/unix/sysv/Makefile: Remove file.
8278
8279 * sysdeps/unix/sysv/direct.h: Remove file.
8280
8281 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
8282 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
8283 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
8284 * sysdeps/unix/sysv/bits/signum.h: Likewise.
8285 * sysdeps/unix/sysv/bits/stat.h: Likewise.
8286 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
8287 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
8288
8289 * sysdeps/unix/sysv/setrlimit.c: Remove file.
8290
8291 * sysdeps/unix/xmknod.c: Remove file.
8292 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
8293
8294 * sysdeps/unix/sysv/settimeofday.c: Remove file.
8295
8296 * sysdeps/unix/sysv/i386/time.S: Remove file.
8297
8298 * sysdeps/unix/fxstat.c: Remove file.
8299 * sysdeps/unix/xstat.c: Likewise.
8300 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
8301
8302 * sysdeps/unix/sysv/sigaction.c: Remove file.
8303
8304 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
8305 (sysdep_headers): Remove variable.
8306 [termio.h not in sysdep_headers] (generated): Likewise.
8307 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
8308 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
8309 * sysdeps/unix/sysv/tcdrain.c: Likewise.
8310 * sysdeps/unix/sysv/tcflow.c: Likewise.
8311 * sysdeps/unix/sysv/tcflush.c: Likewise.
8312 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
8313 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
8314 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
8315 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
8316 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
8317
8318 * sysdeps/unix/siglist.c: Remove file.
8319
8320 * sysdeps/unix/getppid.S: Remove file.
8321
8322 * sysdeps/unix/mkdir.c: Remove file.
8323 * sysdeps/unix/rmdir.c: Likewise.
8324
8325 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
8326
8327 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
8328 ERR_MAX value.
8329 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
8330 errlist-compat value.
8331
8332 2012-04-18 David S. Miller <davem@davemloft.net>
8333
8334 * sysdeps/generic/memcopy.h (reg_char): Delete.
8335 * debug/strcat_chk.c: Use char, not reg_char.
8336 * debug/strcpy_chk.c: Likewise.
8337 * debug/strncat_chk.c: Likewise.
8338 * debug/strncpy_chk.c: Likewise.
8339 * string/memchr.c: Likewise.
8340 * string/memrchr.c: Likewise.
8341 * string/rawmemchr.c: Likewise.
8342 * string/strcat.c: Likewise.
8343 * string/strchr.c: Likewise.
8344 * string/strchrnul.c: Likewise.
8345 * string/strcmp.c: Likewise.
8346 * string/strcpy.c: Likewise.
8347 * string/strncat.c: Likewise.
8348 * string/strncmp.c: Likewise.
8349 * string/strncpy.c: Likewise.
8350
8351 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8352
8353 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
8354 __builtin_memcopy is called when src and dest ranges are known to not
8355 overlap.
8356
8357 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8358
8359 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
8360 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
8361 fwd_align_merge macro call.
8362 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
8363 bwd_align_merge macro call.
8364 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8365
8366 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8367
8368 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
8369 bwd_align_merge macros.
8370 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
8371 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
8372 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8373
8374 2012-04-18 David S. Miller <davem@davemloft.net>
8375
8376 * sysdeps/sparc/sparc64/memcopy.h: Delete.
8377
8378 2012-04-18 Andreas Jaeger <aj@suse.de>
8379
8380 [BZ# 6794]
8381 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
8382 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
8383 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8384
8385 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
8386 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
8387 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8388
8389 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
8390 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
8391 Adjust for changed ldbl-128 files.
8392
8393 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
8394 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
8395 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8396
8397 2012-04-17 David S. Miller <davem@davemloft.net>
8398
8399 * sysdeps/sparc/sparc32/memcopy.h: Delete.
8400
8401 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
8402
8403 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
8404 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
8405 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
8406 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
8407 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8408 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
8409
8410 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8411
8412 [BZ #6794]
8413 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
8414 * math/libm-test.inc: Add ilogb errno and exception tests.
8415 * math/w_ilogb.c: New file: ilogb wrapper.
8416 * math/w_ilogbf.c: New file: ilogbf wrapper.
8417 * math/w_ilogbl.c: New file: ilogbl wrapper.
8418 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
8419 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
8420 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
8421 exception being thrown with 0.0 as argument.
8422 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
8423 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
8424 exception being thrown with 0.0 as argument.
8425 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
8426 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8427 exception being thrown with 0.0 as argument.
8428 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
8429 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8430 exception being thrown with 0.0 as argument.
8431 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
8432 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
8433 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
8434 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
8435 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
8436 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
8437 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
8438 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
8439 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
8440
8441 2012-04-17 Petr Baudis <pasky@ucw.cz>
8442
8443 * include/sys/uio.h: Change __vector to __iovec to avoid clash
8444 with altivec.
8445
8446 2012-04-16 Marek Polacek <polacek@redhat.com>
8447
8448 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
8449
8450 2012-04-16 Marek Polacek <polacek@redhat.com>
8451
8452 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
8453 operands of fdivp instruction.
8454
8455 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8456
8457 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
8458 * elf/tst-auditmod3b.c: Likewise.
8459 * elf/tst-auditmod4b.c: Likewise.
8460 * elf/tst-auditmod5b.c: Likewise.
8461 * elf/tst-auditmod6b.c: Likewise.
8462 * elf/tst-auditmod6c.c: Likewise.
8463 * elf/tst-auditmod7b.c: Likewise.
8464 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
8465 * sysdeps/x86_64/preconfigure.in: Likewise.
8466 * sysdeps/x86_64/preconfigure: Regenerated.
8467
8468 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8469
8470 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
8471 __ILP32__.
8472
8473 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
8474
8475 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8476 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
8477
8478 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
8479
8480 [BZ #13973]
8481 * locale/iso-639.def: Fix gl language name. Spotted by
8482 Yaron Shahrabani.
8483
8484 2012-04-12 Roland McGrath <roland@hack.frob.com>
8485
8486 [BZ #2074]
8487 * libio/libio.h (__io_write_fn): Update comment.
8488
8489 2012-04-12 Petr Baudis <pasky@ucw.cz>
8490
8491 [BZ #2074]
8492 * stdio.texi (Hook Functions): The user provided writer function
8493 is not allowed to return -1.
8494
8495 2012-04-11 David S. Miller <davem@davemloft.net>
8496
8497 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8498
8499 2012-04-11 Mike Frysinger <vapier@gentoo.org>
8500
8501 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
8502 Add a leading slash to rtkaio.
8503
8504 2012-04-11 Jim Meyering <meyering@redhat.com>
8505
8506 [BZ #11959]
8507 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
8508 It is not necessarily an error to ignore fwrite's return
8509 value. One can reliably use ferror to test for errors after
8510 the fact.
8511
8512 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8513
8514 * bits/types.h (__snseconds_t): New type.
8515 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
8516
8517 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
8518 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8519 (__SNSECONDS_T_TYPE): Likewise.
8520 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8521 (__SNSECONDS_T_TYPE): Likewise.
8522 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8523 (__SNSECONDS_T_TYPE): Likewise.
8524
8525 2012-04-10 Andreas Jaeger <aj@suse.de>
8526
8527 [BZ #2636]
8528 * manual/time.texi (Processor Time): Return type of times is
8529 elapsed real time since an arbitrary point in the past.
8530 (CPU Time): Move CLK_TCK from here...
8531 (Processor Time): ...to here. Correct description.
8532 * manual/conf.texi (Constants for Sysconf): Correct description of
8533 _SC_CLK_TCK.
8534
8535 2012-04-10 David S. Miller <davem@davemloft.net>
8536
8537 [BZ #13967]
8538 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
8539 where the is a gap between DT_REL(A) and DT_JMPREL.
8540
8541 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8542
8543 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
8544 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8545 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8546
8547 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8548
8549 * elf/dl-support.c (_dl_inhibit_cache): New variable.
8550 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
8551 (dl_main): Handle --inhibit-cache.
8552 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
8553 _dl_inhibit_cache.
8554 * elf/dl-load.c (_dl_map_object): Use it.
8555 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
8556
8557 2012-04-09 Joseph Myers <joseph@codesourcery.com>
8558
8559 [BZ #13872]
8560 * sysdeps/i386/fpu/e_powl.S (p78): New object.
8561 (__ieee754_powl): Saturate large exponents rather than testing for
8562 overflow of y*log2(x).
8563 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8564 * math/libm-test.inc (pow_test): Do not permit spurious overflow
8565 exceptions.
8566
8567 [BZ #11521]
8568 * math/s_ctan.c: Include <float.h>.
8569 (__ctan): Avoid internal overflow or cancellation in calculating
8570 denominator.
8571 * math/s_ctanf.c: Likewise.
8572 * math/s_ctanl.c: Likewise.
8573 * math/s_ctanh.c: Likewise.
8574 * math/s_ctanhf.c: Likewise.
8575 * math/s_ctanhl.c: Likewise.
8576 * math/libm-test.inc (ctan_test): Add more tests.
8577 (ctanh_test): Likewise.
8578 * sysdeps/i386/fpu/libm-test-ulps: Update.
8579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8580
8581 2012-04-09 Andreas Jaeger <aj@suse.de>
8582
8583 [BZ #6894]
8584 * manual/filesys.texi (Directory Entries): Mention that d_namlen
8585 is an optional BSD extension.
8586
8587 [BZ #10254]
8588 * manual/stdio.texi (Opening Streams): Document additional fopen
8589 parameters.
8590
8591 2012-04-09 Roland McGrath <roland@hack.frob.com>
8592
8593 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
8594 %eax without telling the compiler.
8595
8596 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
8597
8598 [BZ # 13963]
8599 * manual/install.texi: Use sourceware.org.
8600
8601 2012-04-09 Joseph Myers <joseph@codesourcery.com>
8602
8603 [BZ #13873]
8604 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
8605 (__ieee754_pow): Generate overflow and underflow using huge*huge
8606 and tiny*tiny rather than just returning constant infinity or zero
8607 for large exponents.
8608 * math/libm-test.inc (pow_test): Require overflow exceptions for
8609 applicable cases of large exponents.
8610
8611 [BZ #706]
8612 * sysdeps/i386/fpu/e_pow.S (p10): New object.
8613 (__ieee754_pow): Use iterative multiplication algorithm only for
8614 integer exponents with absolute value below 1024. Check for odd
8615 integer exponents when using algorithm for real exponents.
8616 * math/libm-test.inc (pow_test): Add more tests.
8617 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8618
8619 2012-04-08 Joseph Myers <joseph@codesourcery.com>
8620
8621 [BZ #13705]
8622 * math/libm-test.inc (exp_test): Do not allow overflow exception
8623 on underflow test.
8624
8625 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
8626
8627 [BZ #13705]
8628 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
8629 instead of __kernel_standard_f.
8630
8631 2012-04-08 Mike Frysinger <vapier@gentoo.org>
8632
8633 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
8634 * sysdeps/x86_64/memset_chk.S: Likewise.
8635
8636 2012-04-08 Andreas Jaeger <aj@suse.de>
8637
8638 [BZ #10153]
8639 * manual/startup.texi (Environment Access): Describe return value
8640 for putenv and setenv.
8641
8642 [BZ #6895]
8643 * manual/filesys.texi (Directory Entries): Add description for
8644 DT_LNK.
8645
8646 [BZ #6890]
8647 * manual/filesys.texi (Directory Entries): Clarify that it's file
8648 system not operating system in the description of DT_UNKNOWN.
8649
8650 [BZ #6578]
8651 * manual/syslog.texi (closelog): Fix reference, it's openlog.
8652
8653 2012-04-08 Stephen Compall <s11@member.fsf.org>
8654
8655 [BZ #6649]
8656 * manual/llio.texi (Opening and Closing Files): Add cross
8657 reference to explain mode argument.
8658
8659 2012-04-07 Mike Frysinger <vapier@gentoo.org>
8660
8661 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
8662 * sysdeps/x86_64/memset_chk.S: Likewise.
8663
8664 2012-04-07 David S. Miller <davem@davemloft.net>
8665
8666 * elf/elf.h (R_SPARC_WDISP10): Define.
8667 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
8668 R_SPARC_SIZE32.
8669 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
8670 R_SPARC_SIZE64 and R_SPARC_H34.
8671
8672 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
8673
8674 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
8675 conditions and remove no longer applicable assertion.
8676
8677 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8678
8679 * bits/byteswap.h: Include <features.h>.
8680 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8681 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8682
8683 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8684
8685 * bits/byteswap.h (__bswap_16): Removed.
8686 Include <bits/byteswap-16.h> to get __bswap_16.
8687 * sysdeps/i386/bits/byteswap.h: Likewise.
8688 * sysdeps/s390/bits/byteswap.h: Likewise.
8689 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8690 * bits/byteswap-16.h: New file.
8691 * sysdeps/i386/bits/byteswap-16.h: Likewise.
8692 * sysdeps/s390/bits/byteswap-16.h: Likewise.
8693 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
8694 * string/Makefile (headers): Add bits/byteswap-16.h.
8695
8696 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8697
8698 [BZ #13895]
8699 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
8700 extra indirection.
8701 * nss/Makefile (tests-static, tests): Add tst-nss-static.
8702 * nss/tst-nss-static.c: New.
8703
8704 2012-04-06 Robert Millan <rmh@gnu.org>
8705
8706 [BZ #6486]
8707 * manual/llio.texi (File Position Primitive): lseek
8708 refers to WHENCE when it really means OFFSET.
8709
8710 2012-04-06 Andreas Jaeger <aj@suse.de>
8711
8712 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
8713 strncmp declarations.
8714
8715 * abilist/libc.abilist: Add __poll and __ppoll.
8716
8717 2012-04-05 David S. Miller <davem@davemloft.net>
8718
8719 * scripts/check-local-headers.sh: Accept a host triplet in the
8720 path matched by the exclude regexp.
8721
8722 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
8723 definition.
8724 * sysdeps/powerpc/powerpc32/dl-machine.h
8725 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
8726 * sysdeps/s390/s390-32/dl-machine.h
8727 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8728 * sysdeps/sparc/sparc32/dl-machine.h
8729 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8730 * sysdeps/sparc/sparc64/dl-machine.h
8731 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8732
8733 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
8734 lazy binding.
8735 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
8736 undefined symbol errors.
8737
8738 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
8739 DT_NEEDED entries.
8740
8741 2012-04-05 Michael Matz <matz@suse.de>
8742
8743 [BZ #13592]
8744 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
8745
8746 2012-04-05 Andreas Jaeger <aj@suse.de>
8747
8748 [BZ #13908]
8749 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
8750 comment.
8751
8752 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8753
8754 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
8755 which ROUND is no valid rounding mode.
8756
8757 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8758
8759 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
8760 read again.
8761 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
8762
8763 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8764
8765 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
8766 an exception using FPU order intentionally.
8767
8768 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8769
8770 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
8771 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
8772 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
8773 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
8774
8775 2012-04-05 Simon Josefsson <simon@josefsson.org>
8776
8777 [BZ #12340]
8778 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
8779 EINVAL when BUFLEN is too smal.
8780
8781 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
8782
8783 [BZ #13553]
8784 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
8785 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
8786
8787 2012-04-03 Andreas Jaeger <aj@suse.de>
8788
8789 [BZ #13938]
8790 * manual/setjmp.texi (System V contexts): Fix sentence.
8791
8792 [BZ #13926]
8793 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
8794 New macro for this case.
8795 [!__GNUC__] (__bswap_64): New inline function for this case.
8796 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8797 * bits/byteswap.h: Likewise.
8798 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
8799 ull, guard with __GLIBC_HAVE_LONG_LONG.
8800
8801 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
8802 __GLIBC_HAVE_LONG_LONG.
8803
8804 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
8805 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
8806
8807 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8808
8809 [BZ #13691]
8810 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
8811 inptr and inend, rather than using last_ch.
8812
8813 2012-04-02 David S. Miller <davem@davemloft.net>
8814
8815 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
8816 * stdio-common/printf-parse.h (read_int): Change return type to
8817 'int', return -1 on INT_MAX overflow.
8818 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
8819 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
8820 overflows INT_MAX. Check for overflow of in-format-string precision
8821 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
8822 SIZE_MAX not INT_MAX for integer overflow test.
8823 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
8824 skip the construct in the format string but do not record anything.
8825 * stdio-common/bug22.c: Adjust to test both width/prevision
8826 INT_MAX overflow as well as total length INT_MAX overflow. Check
8827 explicitly for proper errno values.
8828
8829 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
8830
8831 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
8832 CHAR_MAX.
8833 * string/test-strcmp.c [! WIDE]: Likewise.
8834 * time/tst-mktime2.c: Likewise for INT_MAX.
8835 * string/test-string.h: #include <sys/param.h> for MIN.
8836
8837 * csu/init-first.c (__libc_init_first): Call __ctype_init.
8838 * sysdeps/i386/init-first.c (init): Likewise.
8839 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
8840 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
8841 * sysdeps/sh/init-first.c (init): Likewise.
8842
8843 2012-04-01 Ulrich Drepper <drepper@gmail.com>
8844
8845 * po/ru.po: Update from translation team.
8846 * po/vi.po: Likewise.
8847
8848 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8849
8850 * resolv/nss_dns/dns-host.c: Merge copyright years.
8851
8852 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8853
8854 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8855 Optimize memcpy with prefetch if
8856 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
8857 src, dst pointers have unequal 16 byte alignments.
8858
8859 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8860
8861 [BZ #13928]
8862 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
8863 from a CNAME entry and return the minimum ttl for the query.
8864 (gaih_getanswer_slice): Likewise.
8865
8866 2012-03-30 Jeff Law <law@redhat.com>
8867
8868 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
8869 due to long keys.
8870 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8871 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8872
8873 * resolv/nss_dns/dns-host.c: Update copyright year.
8874
8875 2012-03-30 Ulrich Drepper <drepper@gmail.com>
8876
8877 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8878 requests to save a system call. Fix check that all bytes are sent.
8879
8880 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
8881 comments for sendmmsg.
8882
8883 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8884
8885 [BZ #13691]
8886 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
8887 with only 1 character between 0x0041 and 0x01b0.
8888 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
8889 * wcsmbs/tst-mbsnrtowcs.c: New file.
8890
8891 2012-03-29 David S. Miller <davem@davemloft.net>
8892
8893 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
8894 small copies by hand.
8895
8896 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8897
8898 [BZ #13761]
8899 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
8900 _nss_compat_initgroups_dyn): Fall back to malloc/free
8901 for large group memberships.
8902
8903 2012-03-28 David S. Miller <davem@davemloft.net>
8904
8905 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
8906 that branches into memcpy.
8907 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8908 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8909 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8910 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8911 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
8912 bits.
8913 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
8914 implementation too.
8915 * sysdeps/sparc/mempcpy.S: New file.
8916
8917 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
8918 the IFUNC routine in the libc case.
8919 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8920
8921 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
8922 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
8923 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
8924 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
8925 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
8926 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
8927 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
8928 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
8929
8930 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
8931 loop to 256 bytes instead of 64 bytes and fix test signedness.
8932
8933 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
8934 * sysdeps/sparc/sparc32/Makefile: rather than here...
8935 * sysdeps/sparc/sparc64/Makefile: and here.
8936
8937 2012-03-28 Ulrich Drepper <drepper@gmail.com>
8938
8939 * malloc/mallocbug.c: Avoid warnings about unused variables.
8940
8941 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8942
8943 [BZ #13760]
8944 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
8945 in the right place. Discard and retry query if response is
8946 larger than input buffer size.
8947
8948 2012-03-28 Joseph Myers <joseph@codesourcery.com>
8949
8950 [BZ #369]
8951 [BZ #2678]
8952 [BZ #3866]
8953 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
8954 x for large integer exponent.
8955 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8956 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
8957 sign of result as needed afterwards.
8958 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8959 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
8960 result for underflowing pow the same as for overflow.
8961 (__kernel_standard_l): Handle powl overflow and underflow here
8962 rather than calling __kernel_standard.
8963 * math/libm-test.inc (pow_test): Add more tests.
8964
8965 [BZ #3868]
8966 [BZ #13879]
8967 [BZ #13910]
8968 [BZ #13911]
8969 [BZ #13912]
8970 [BZ #13913]
8971 [BZ #13915]
8972 [BZ #13916]
8973 [BZ #13917]
8974 [BZ #13918]
8975 [BZ #13919]
8976 [BZ #13920]
8977 [BZ #13921]
8978 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
8979 * sysdeps/ieee754/k_standard.c: Include <float.h>.
8980 (__kernel_standard_l): New function.
8981 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
8982 __kernel_standard.
8983 * math/w_acosl.c (__acosl): Likewise.
8984 * math/w_asinl.c (__asinl): Likewise.
8985 * math/w_atan2l.c (__atan2l): Likewise.
8986 * math/w_atanhl.c (__atanhl): Likewise.
8987 * math/w_coshl.c (__coshl): Likewise.
8988 * math/w_exp10l.c (__exp10l): Likewise.
8989 * math/w_exp2l.c (__exp2l): Likewise.
8990 * math/w_fmodl.c (__fmodl): Likewise.
8991 * math/w_hypotl.c (__hypotl): Likewise.
8992 * math/w_j0l.c (__j0l, __y0l): Likewise.
8993 * math/w_j1l.c (__j1l, __y1l): Likewise.
8994 * math/w_jnl.c (__jnl, __ynl): Likewise.
8995 * math/w_lgammal.c (__lgammal): Likewise.
8996 * math/w_log10l.c (__log10l): Likewise.
8997 * math/w_log2l.c (__log2l): Likewise.
8998 * math/w_logl.c (__logl): Likewise.
8999 * math/w_powl.c (__powl): Likewise.
9000 * math/w_remainderl.c (__remainderl): Likewise.
9001 * math/w_scalbl.c (sysv_scalbl): Likewise.
9002 * math/w_sinhl.c (__sinhl): Likewise.
9003 * math/w_sqrtl.c (__sqrtl): Likewise.
9004 * math/w_tgammal.c (__tgammal): Likewise.
9005 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
9006 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
9007 * math/libm-test.inc (acos_test): Add more tests.
9008 (acosh_test): Likewise.
9009 (asin_test): Likewise.
9010 (atanh_test): Likewise.
9011 (exp_test): Likewise.
9012 (exp10_test): Likewise.
9013 (exp2_test): Likewise.
9014 (expm1_test): Likewise.
9015 (lgamma_test): Likewise.
9016 (log_test): Likewise.
9017 (log10_test): Likewise.
9018 (log1p_test): Likewise.
9019 (log2_test): Likewise.
9020 (pow_test): Do not allow some spurious overflow exceptions.
9021 (sqrt_test): Add more tests.
9022 (tgamma_test): Likewise.
9023 (y0_test): Likewise.
9024 (y1_test): Likewise.
9025 (yn_test): Likewise.
9026
9027 2012-03-27 Anton Blanchard <anton@samba.org>
9028
9029 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
9030 MAP_HUGETLB.
9031 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9032 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9033 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9034
9035 2012-03-27 David S. Miller <davem@davemloft.net>
9036
9037 * conform/Makefile: Run run-conformtest.sh using $(BASH).
9038
9039 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
9040 have-as-vis3 check.
9041
9042 2012-03-27 Andreas Jaeger <aj@suse.de>
9043
9044 * sysdeps/x86_64/elf/configure.in: Moved to ...
9045 * sysdeps/x86_64/configure.in: ... here.
9046 * sysdeps/x86_64/elf/start.S: Moved to ...
9047 * sysdeps/x86_64/start.S: ... here.
9048 * sysdeps/x86_64/elf/configure: Delete.
9049
9050 * sysdeps/x86_64/configure.in: Merge contents from
9051 sysdeps/i386/configure.in (without i686 check).
9052
9053 * sysdeps/i386/elf/Versions: Merge into ...
9054 * sysdeps/i386/Versions: ... this.
9055 * sysdeps/i386/elf/Versions: Delete file.
9056 * sysdeps/i386/elf/start.S: Moved to ...
9057 * sysdeps/i386/start.S: ...here.
9058 * sysdeps/i386/elf/configure.in: Merge into...
9059 * sysdeps/i386/configure.in: ...here.
9060 * sysdeps/i386/elf/configure.in: Delete file.
9061 * sysdeps/i386/elf/configure: Delete file.
9062
9063 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
9064 * debug/backtracesyms.c: ... here.
9065 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
9066 * debug/backtracesymsfd.c: ... here.
9067 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
9068 * sysdeps/generic/ifunc-sel.h: ... here.
9069
9070 * sysdeps/unix/i386/start.c: Delete file.
9071 * sysdeps/unix/sparc/start.c: Delete file.
9072 * sysdeps/unix/start.c: Delete file.
9073
9074 * sysdeps/sh/elf/configure.in: Moved to ...
9075 * sysdeps/sh/configure.in: ... here.
9076 * sysdeps/sh/elf/start.S: Moved to ...
9077 * sysdeps/sh/start.S: ... here.
9078 * sysdeps/sh/elf/configure: Delete file.
9079
9080 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
9081 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
9082 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
9083 * sysdeps/powerpc/powerpc64/entry.h: ... here.
9084 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
9085 * sysdeps/powerpc/powerpc64/start.S: here.
9086 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
9087 * sysdeps/powerpc/powerpc64/Makefile: ... this.
9088 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
9089 * sysdeps/powerpc/powerpc64/configure.in: ... this.
9090 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
9091
9092 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
9093 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
9094 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
9095 * sysdeps/powerpc/powerpc32/start.S: ... here.
9096 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
9097 * sysdeps/powerpc/powerpc32/configure.in: ... this.
9098 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
9099
9100 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
9101 * sysdeps/powerpc/ifunc-sel.h: ... here.
9102 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
9103 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
9104
9105 * sysdeps/sparc/elf/configure.in: Moved to ...
9106 * sysdeps/sparc/configure.in: ... here.
9107 * sysdeps/sparc/elf/configure: Delete file.
9108 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
9109 * sysdeps/sparc/sparc32/start.S: ... here.
9110 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
9111 * sysdeps/sparc/sparc64/start.S: ... here.
9112 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
9113 * sysdeps/sparc/sparc32/Makefile: ... this.
9114 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
9115 * sysdeps/sparc/sparc64/Makefile: ... this.
9116
9117 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
9118 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
9119 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
9120 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
9121 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
9122 * sysdeps/s390/s390-32/setjmp.S: ... here.
9123 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
9124 * sysdeps/s390/s390-32/configure.in: ... here.
9125 * sysdeps/s390/s390-32/elf/configure: Delete file.
9126 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
9127 * sysdeps/s390/s390-32/start.S: ... here.
9128
9129 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
9130 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
9131 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
9132 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
9133 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
9134 * sysdeps/s390/s390-64/setjmp.S: ... here.
9135 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
9136 * sysdeps/s390/s390-64/configure.in: ... here
9137 * sysdeps/s390/s390-64/elf/configure: Delete file.
9138 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
9139 * sysdeps/s390/s390-64/start.S: ... here.
9140 * sysdeps/s390/s390-64/elf/configure: Delete.
9141
9142 * configure.in: Remove support for elf directories in sysdeps.
9143
9144 * configure: Regenerated.
9145 * sysdeps/i386/configure: Regenerated.
9146 * sysdeps/powerpc/powerpc32/configure: Regenerated.
9147 * sysdeps/powerpc/powerpc64/configure: Regenerated.
9148 * sysdeps/s390/s390-32/configure: Regenerated.
9149 * sysdeps/s390/s390-64/configure: Regenerated.
9150 * sysdeps/sh/configure: Regenerated.
9151 * sysdeps/sparc/configure: Regenerated.
9152 * sysdeps/x86_64/configure: Regenerated.
9153
9154 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
9155
9156 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9157
9158 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
9159 denormal result into account.
9160
9161 2012-03-25 Roland McGrath <roland@hack.frob.com>
9162
9163 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
9164 Reported by Allan McRae <allan@archlinux.org>.
9165
9166 2012-03-23 Jeff Law <law@redhat.com>
9167
9168 * nss/getnssent.c (__nss_getent): Fix typo.
9169
9170 2012-03-23 David S. Miller <davem@davemloft.net>
9171
9172 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9173
9174 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
9175
9176 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
9177 to pad to uint64_t for each field.
9178 (dl_tls_index): Replace unsigned long with uint64_t.
9179
9180 2012-03-23 Daniel Jacobowitz <dmj@google.com>
9181 Paul Pluzhnikov <ppluzhnikov@google.com>
9182
9183 [BZ #6528]
9184 * grp/Makefile (otherlibs): Don't set it.
9185 * inet/Makefile (otherlibs): Likewise.
9186 * login/Makefile (otherlibs): Likewise.
9187 * nscd/Makefile (otherlibs): Likewise.
9188 * posix/Makefile (otherlibs): Likewise.
9189 * pwd/Makefile (otherlibs): Likewise.
9190 * rt/Makefile (otherlibs): Likewise.
9191 * sunrpc/Makefile (otherlibs): Likewise.
9192 * nss/Makefile (otherlibs): Likewise.
9193 Add libnss_files to routines and static-only-routines.
9194 ($(objpfx)getent): Remove rule.
9195 * resolv/Makefile: Add libnss_dns and libresolv to routines and
9196 static-only-routines.
9197
9198 2012-03-22 Joseph Myers <joseph@codesourcery.com>
9199
9200 [BZ #13892]
9201 * math/s_cexp.c: Include <float.h>.
9202 (__cexp): Handle exp result overflowing not necessarily
9203 overflowing both real and imaginary parts of result.
9204 * math/s_cexpf.c: Likewise.
9205 * math/s_cexpl.c: Likewise.
9206 * math/libm-test.inc (cexp_test): Add more tests.
9207 * sysdeps/i386/fpu/libm-test-ulps: Update.
9208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9209
9210 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9211
9212 * include/link.h (ELFW): New macro.
9213 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
9214 Replace ELF64_R_TYPE with ELFW(R_TYPE).
9215
9216 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9217
9218 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
9219 with uint64_t.
9220
9221 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9222
9223 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
9224 declaration.
9225 (struct La_x32_retval): Likewise.
9226
9227 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9228
9229 * sysdeps/x86_64/preconfigure.in: New file.
9230 * sysdeps/x86_64/preconfigure: New generated file.
9231
9232 2012-03-22 Joseph Myers <joseph@codesourcery.com>
9233
9234 [BZ #13824]
9235 * math/e_exp2l.c: Include <float.h>.
9236 (__ieee754_exp2l): Handle overflow and underflow cases
9237 separately. Only pass fractional part of argument to
9238 __ieee754_expl.
9239 * math/libm-test.inc (exp2_test): Add more tests.
9240
9241 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
9242 negating x to take absolute value.
9243 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
9244 Likewise.
9245 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9246 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
9247 Likewise.
9248 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
9249 computing low part if x was negated.
9250 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9251
9252 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9253
9254 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
9255 la_x32_gnu_pltexit.
9256 (pltexit): Cast int_retval to ptrdiff_t.
9257 * elf/tst-auditmod3b.c: Likewise.
9258 * elf/tst-auditmod4b.c: Likewise.
9259 * elf/tst-auditmod5b.c: Likewise.
9260 * elf/tst-auditmod6b.c: Likewise.
9261 * elf/tst-auditmod6c.c: Likewise.
9262 * elf/tst-auditmod7b.c: Likewise.
9263
9264 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
9265 and x32_gnu_pltexit.
9266
9267 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
9268 __ELF_NATIVE_CLASS.
9269 (La_x32_regs): New macro.
9270 (La_x32_retval): Likewise.
9271 (la_x32_gnu_pltenter): New function prototype.
9272 (la_x32_gnu_pltexit): Likewise.
9273
9274 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
9275
9276 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
9277 exponent.
9278
9279 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9280
9281 * configure.in (libc_cv_cc_nofma): Check for option to disable
9282 generation of FMA instructions.
9283 * configure: Regenerate.
9284 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
9285 * sysdeps/ieee754/dbl-64/Makefile: New file.
9286 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
9287 Remove brandred-fma4.
9288 (CFLAGS-brandred-fma4.c): Remove.
9289 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
9290 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
9291 define.
9292 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
9293 define.
9294
9295 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9296
9297 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9298 LLONG_MAX != LONG_MAX.
9299 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9300 (_fitoa_word): Likewise.
9301 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
9302 LLONG_MAX != LONG_MAX.
9303 * stdio-common/_itowa.h: Include <_itoa.h>.
9304 (_itowa_word): Use _ITOA_WORD_TYPE on value.
9305 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
9306 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
9307 only if not defined.
9308 (_ITOA_WORD_TYPE): Likewise.
9309 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9310 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
9311
9312 2012-03-21 David S. Miller <davem@davemloft.net>
9313
9314 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9315
9316 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9317
9318 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
9319 of x86_64 when setting libc_cv_slibdir, libdir and
9320 libc_cv_localedir.
9321 * sysdeps/unix/sysv/linux/configure: Regenerated.
9322
9323 2012-03-21 Joseph Myers <joseph@codesourcery.com>
9324
9325 * manual/lang.texi (Old Varargs): Remove section.
9326 (How Variadic): Update menu.
9327 (va_start): Do not mention varargs.h.
9328
9329 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9330 Joseph Myers <joseph@codesourcery.com>
9331
9332 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
9333 link test.
9334 * configure: Regenerated.
9335
9336 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9337
9338 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
9339 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
9340 conformtest.pl
9341
9342 2012-03-21 Joseph Myers <joseph@codesourcery.com>
9343
9344 * NOTES: Remove.
9345 * Makefile (files-for-dist): Remove NOTES.
9346 (NOTES): Remove rule.
9347 * README: Don't refer to NOTES.
9348 * manual/creature.texi: Don't include macros.texi.
9349 * manual/intro.texi (creature.texi): Remove comment referring to
9350 NOTES.
9351
9352 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
9353 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
9354 * configure: Regenerated.
9355 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
9356 LIBC_TRY_CC_OPTION.
9357 (libc_cv_as_i686): Likewise.
9358 (libc_cv_cc_avx): Likewise.
9359 (libc_cv_cc_sse2avx): Likewise.
9360 (libc_cv_cc_fma4): Likewise.
9361 (libc_cv_cc_novzeroupper): Likewise.
9362 * sysdeps/i386/configure: Regenerated.
9363
9364 [BZ #13883]
9365 * sysdeps/i386/fpu/s_cexp.S: Remove.
9366 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9367 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9368 * math/libm-test.inc (cexp_test): Add more tests.
9369 * sysdeps/i386/fpu/libm-test-ulps: Update.
9370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9371
9372 2012-03-21 Allan McRae <allan@archlinux.org>
9373
9374 * timezone/Makefile: Do not install iso3166.tab and zone.tab
9375
9376 2012-03-21 Joseph Myers <joseph@codesourcery.com>
9377
9378 [BZ #13871]
9379 * math/w_exp2.c: Do not include <float.h>.
9380 (o_threshold, u_threshold): Remove.
9381 (__exp2): Calculate result before checking finiteness and calling
9382 __kernel_standard.
9383 * math/w_exp2f.c: Likewise.
9384 * math/w_exp2l.c: Likewise.
9385 * math/libm-test.inc (exp2_test): Require overflow exception for
9386 1e6 input.
9387
9388 [BZ #3866]
9389 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
9390 range of signed 64-bit integers before using fistpll. Remove
9391 checks for whether integers fit in mantissa bits.
9392 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
9393 the range of signed 32-bit integers before using fistpl. Remove
9394 checks for whether integers fit in mantissa bits.
9395 * sysdeps/i386/fpu/e_powl.S (p64): New object.
9396 (__ieee754_powl): Test for y outside the range of signed 64-bit
9397 integers before using fistpll. Reduce 64-bit values to 63-bit
9398 ones as needed.
9399 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
9400 divide-by-zero is raised for zero to large negative powers.
9401 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
9402 (__ieee754_powl): Test for y outside the range of signed 64-bit
9403 integers before using fistpll. Reduce 64-bit values to 63-bit
9404 ones as needed.
9405 * math/libm-test.inc (pow_test): Add more tests.
9406
9407 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9408
9409 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
9410 <stdio-common/_itoa.h>.
9411 * debug/segfault.c: Likewise.
9412 * elf/dl-cache.c: Likewise.
9413 * elf/dl-minimal.c: Likewise.
9414 * elf/dl-misc.c: Likewise.
9415 * elf/dl-sysdep.c: Likewise.
9416 * elf/dl-version.c: Likewise.
9417 * elf/rtld.c: Likewise.
9418 * hurd/hurdsock.c: Likewise.
9419 * hurd/lookup-retry.c: Likewise.
9420 * malloc/malloc.c: Likewise.
9421 * malloc/mtrace.c: Likewise.
9422 * nscd/nscd_getgr_r.c: Likewise.
9423 * nscd/nscd_getpw_r.c: Likewise.
9424 * nscd/nscd_getserv_r.c: Likewise.
9425 * posix/getopt_init.c: Likewise.
9426 * posix/wordexp.c: Likewise.
9427 * stdio-common/_itoa.c: Likewise.
9428 * stdio-common/printf_fphex.c: Likewise.
9429 * stdio-common/vfprintf.c: Likewise.
9430 * string/_strerror.c: Likewise.
9431 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
9432 * sysdeps/i386/i686/hp-timing.h: Likewise.
9433 * sysdeps/mach/_strerror.c: Likewise.
9434 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
9435 * sysdeps/mach/hurd/sethostid.c: Likewise.
9436 * sysdeps/mach/hurd/xmknodat.c: Likewise.
9437 * sysdeps/mach/xpg-strerror.c: Likewise.
9438 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9439 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9440 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
9441 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
9442 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9443 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
9444 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9445 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9446 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
9447 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
9448 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
9449 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
9450 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
9451 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9452 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9453 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
9454 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
9455 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
9456 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9457 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9458 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
9459
9460 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
9461
9462 * stdio-common/_itoa.h: Moved to ...
9463 * sysdeps/generic/_itoa.h: Here.
9464
9465 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
9466
9467 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
9468 instead of "_itoa.h" and "_itowa.h".
9469 * stdio-common/vfprintf.: Likewise.
9470
9471 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9472
9473 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
9474 <bits/wordsize.h>.
9475 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
9476 (__signbit): Likwise.
9477 (llrintf): Likwise.
9478 (llrint): Likwise.
9479
9480 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9481
9482 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
9483 __WORDSIZE != 64.
9484
9485 2012-03-20 Joseph Myers <joseph@codesourcery.com>
9486
9487 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
9488 OVERFLOW_EXCEPTION_OK.
9489 * math/libm-test.inc ("Philosophy"): Update comment about
9490 exception testing.
9491 (OVERFLOW_EXCEPTION): Define.
9492 (OVERFLOW_EXCEPTION_OK): Likewise.
9493 (INVALID_EXCEPTION_OK): Renumber.
9494 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9495 (IGNORE_ZERO_INF_SIGN): Likewise.
9496 (test_exceptions): Handle FE_OVERFLOW.
9497 (exp10_test): Expect overflow exceptions.
9498 (exp2_test): Likewise.
9499 (expm1_test): Likewise.
9500 (nextafter_test): Likewise.
9501 (pow_test): Likewise.
9502 (scalbn_test): Likewise.
9503 (scalbln_test): Likewise.
9504
9505 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9506
9507 * sysdeps/x86_64/bits/atomic.h
9508 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
9509 64bit integer.
9510 (atomic_exchange_acq): Likewise.
9511 (__arch_exchange_and_add_body): Likewise.
9512 (__arch_add_body): Likewise.
9513 (atomic_add_negative): Likewise.
9514 (atomic_add_zero): Likewise.
9515
9516 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9517
9518 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
9519 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
9520
9521 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9522
9523 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
9524 Check __x86_64__ instead of __WORDSIZE.
9525
9526 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9527
9528 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
9529
9530 2012-03-19 David S. Miller <davem@davemloft.net>
9531
9532 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9533
9534 * sysdeps/sparc/fpu/fenv_private.h: New file.
9535 * sysdeps/sparc/fpu/math_private.h: Use it.
9536 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
9537 Remove.
9538 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
9539 (libc_feholdexcept_setroundl): Remove.
9540 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
9541 Remove.
9542 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
9543 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
9544
9545 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9546
9547 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
9548 int64_t instead of long int.
9549 (INSERT_WORDS64): Likwise.
9550
9551 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9552
9553 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
9554 _Unwind_GetCFA return to _Unwind_Ptr first.
9555
9556 2012-03-19 Joseph Myers <joseph@codesourcery.com>
9557
9558 [BZ #13629]
9559 * math/s_clog.c: Include <float.h>.
9560 (__clog): Scale large or subnormal inputs.
9561 * math/s_clogf.c: Likewise.
9562 * math/s_clogl.c: Likewise.
9563 * math/s_clog10.c: Include <float.h>.
9564 (M_LOG10_2): Define.
9565 (__clog10): Scale large or subnormal inputs.
9566 * math/s_clog10f.c: Likewise.
9567 * math/s_clog10l.c: Likewise.
9568 * math/libm-test.inc (clog_test): Add more tests.
9569 (clog10_test): Likewise.
9570 * sysdeps/i386/fpu/libm-test-ulps: Update.
9571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9572
9573 [BZ #11451]
9574 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
9575 x and y.
9576 * math/libm-test.inc (atan2_test): Add another test.
9577
9578 * Makerules (common-objdir-compile): Remove.
9579 * sysdeps/unix/Makefile (config-generated): Do not add
9580 $(unix-generated) to variable.
9581 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
9582 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
9583 Remove rule.
9584 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
9585 Likewise.
9586 [generic bits/local_lim.h] (before-compile): Do not append to
9587 variable.
9588 [generic bits/local_lim.h] (common-generated): Likewise.
9589 [generic sys/param.h] (before-compile): Do not append to variable.
9590 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
9591 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
9592 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
9593 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
9594 include.
9595 [generic sys/param.h] (sys/param.h-includes): Remove variable.
9596 [generic sys/param.h] (sys/param.h-includes): Remove rule.
9597 [generic sys/param.h] ($(addprefix
9598 $(common-objpfx),$(sys/param.h-includes))): Likewise.
9599 [generic sys/param.h] (common-generated): Do not append to
9600 variable.
9601 [generic sys/param.h] (sysdep_headers): Likewise.
9602 [generic bits/errno.h] (before-compile): Do not append to
9603 variable.
9604 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
9605 rule.
9606 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
9607 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
9608 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
9609 [generic bits/errno.h] (common-generated): Do not append to
9610 variable.
9611 [generic bits/ioctls.h] (before-compile): Do not append to
9612 variable.
9613 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
9614 rule.
9615 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
9616 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
9617 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
9618 rule.
9619 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
9620 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
9621 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
9622 [generic bits/ioctls.h] (common-generated): Do not append to
9623 variable.
9624 [generic sys/syscall.h] (syscall.h): Remove variable.
9625 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
9626 rule.
9627 [generic sys/syscall.h] (before-compile): Do not append to
9628 variable.
9629 [generic sys/syscall.h] (common-generated): Likewise.
9630 * sysdeps/unix/errnos-tmpl.c: Remove file.
9631 * sysdeps/unix/errnos.awk: Likewise.
9632 * sysdeps/unix/ioctls-tmpl.c: Likewise.
9633 * sysdeps/unix/ioctls.awk: Likewise.
9634 * sysdeps/unix/mk-local_lim.c: Likewise.
9635 * sysdeps/unix/snarf-ioctls: Likewise.
9636
9637 2012-03-19 Richard Henderson <rth@twiddle.net>
9638
9639 * sysdeps/i386/fpu/fenv_private.h: New file.
9640 * sysdeps/i386/fpu/math_private.h: Use it.
9641 (math_opt_barrier, math_force_eval): Remove.
9642 (libc_feholdexcept_setround_53bit): Remove.
9643 (libc_feupdateenv_53bit): Remove.
9644 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9645 (math_opt_barrier, math_force_eval): Remove.
9646 (libc_feholdexcept): Remove.
9647 (libc_feholdexcept_setround): Remove.
9648 (libc_fetestexcept, libc_fesetenv): Remove.
9649 (libc_feupdateenv_test): Remove.
9650 (libc_feupdateenv, libc_feholdsetround): Remove.
9651 (libc_feresetround): Remove.
9652
9653 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
9654 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9655
9656 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
9657 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
9658 (libc_feupdateenv_testl): New.
9659 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
9660 (libc_feupdateenv_testf): New.
9661 (libc_feupdateenv): Use libc_feupdateenv_test.
9662 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
9663 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
9664
9665 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
9666 (libc_feholdsetroundf, libc_feholdsetroundl): New.
9667 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
9668 (libc_feresetround_noex): New.
9669 (libc_feresetround_noexf): New.
9670 (libc_feresetround_noexl): New.
9671 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
9672 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
9673 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
9674 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
9675 SET_RESTORE_ROUND.
9676 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9677 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
9678 (__cos): Likewise.
9679 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
9680 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
9681 SET_RESTORE_ROUND_NOEX.
9682 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
9683 SET_RESTORE_ROUND_NOEXF.
9684 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
9685 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
9686 (libc_feholdsetroundf): New.
9687 (libc_feresetround, libc_feresetroundf): New.
9688
9689 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
9690 (libc_feholdexcept_setround_53bit): Convert from macro to function.
9691 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
9692
9693 * sysdeps/generic/math_private.h: Include <fenv.h>.
9694 (default_libc_feholdexcept): New.
9695 (default_libc_feholdexcept_setround): New.
9696 (default_libc_fesetenv, default_libc_feupdateenv): New.
9697 (libc_feholdexcept): Only define if undefined.
9698 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
9699 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
9700 (libc_feholdexcept_setroundl): Likewise.
9701 (libc_feholdexcept_setround_53bit): Likewise.
9702 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
9703 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
9704 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
9705 (libc_feupdateenv_53bit): Likewise.
9706 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
9707 (libc_feholdexcept): Convert from macro to inline function.
9708 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
9709 (libc_fesetenv, libc_feupdateenv): Likewise.
9710
9711 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
9712 not previously defined.
9713 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
9714 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
9715 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
9716 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
9717 * sysdeps/ieee754/flt-32/math_private.h: New file.
9718 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
9719 math_private.h below SET_FLOAT_WORD.
9720 (__isnan, __isinf_ns, __finite): Remove.
9721 (__isnanf, __isinf_nsf, __finitef): Remove.
9722
9723 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
9724
9725 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9726
9727 2012-03-17 David S. Miller <davem@davemloft.net>
9728
9729 [BZ #6471]
9730 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
9731 for 2.16.
9732
9733 2012-03-16 David S. Miller <davem@davemloft.net>
9734
9735 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
9736 warnings.
9737
9738 [BZ #6471]
9739 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
9740 properly.
9741 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
9742 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
9743 sysdep_routines when subdir is sysvipc.
9744 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
9745 __getshmlba helper.
9746
9747 * sysdeps/sparc/fpu/libm-test/ulps: Update.
9748
9749 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9750
9751 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
9752 [__LP64__].
9753
9754 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9755
9756 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
9757 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
9758 (__lround): Renamed to ...
9759 (__llround): This. Replace long int with long long int.
9760 Define lround functions as aliases of llround functions.
9761 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
9762
9763 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9764
9765 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
9766 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
9767 adresses to uintptr_t. Replace "long int" and "unsigned long
9768 int" with "greg_t" on va_arg.
9769
9770 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9771
9772 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
9773 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
9774
9775 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
9776 Move e_machine check before EI_CLASS check. Handle x32
9777 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
9778 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
9779 SKIP_EM_IA_64 and include
9780 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
9781
9782 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
9783 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
9784 (add_system_dir): New macro.
9785
9786 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
9787 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
9788
9789 2012-03-16 Joseph Myers <joseph@codesourcery.com>
9790
9791 [BZ #2551]
9792 [BZ #2552]
9793 [BZ #2553]
9794 [BZ #2554]
9795 [BZ #2562]
9796 [BZ #2563]
9797 [BZ #2565]
9798 [BZ #2566]
9799 [BZ #2576]
9800 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
9801 (y0): Likewise.
9802 * math/w_j0f.c (j0f): Likewise.
9803 (y0f): Likewise.
9804 * math/w_j0l.c (__j0l): Likewise.
9805 (__y0l): Likewise.
9806 * math/w_j1.c (j1): Likewise.
9807 (y1): Likewise.
9808 * math/w_j1f.c (j1f): Likewise.
9809 (y1f): Likewise.
9810 * math/w_j1l.c (__j1l): Likewise.
9811 (__y1l): Likewise.
9812 * math/w_jn.c (jn): Likewise.
9813 (yn): Likewise.
9814 * math/w_jnf.c (jnf): Likewise.
9815 (ynf): Likewise.
9816 * math/w_jnl.c (__jnl): Likewise.
9817 (__ynl): Likewise.
9818 * math/libm-test.inc (j0_test): Add more tests.
9819 (j1_test): Likewise.
9820 (jn_test): Likewise. Add trailing semicolon to existing test.
9821 (y0_test): Likewise.
9822 (y1_test): Likewise.
9823 * sysdeps/i386/fpu/libm-test-ulps: Update.
9824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9825
9826 [BZ #13851]
9827 [BZ #13854]
9828 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
9829 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
9830 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
9831 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
9832 (__tanl): Set errno for infinite argument.
9833 * sysdeps/i386/fpu/mptan.c: Remove.
9834 * sysdeps/i386/fpu/s_tan.S: Likewise.
9835 * sysdeps/i386/fpu/s_tanl.S: Likewise.
9836 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
9837 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
9838 * math/libm-test.inc (tan_test): Add more tests and enable more
9839 tests for double and long double.
9840 * sysdeps/i386/fpu/libm-test-ulps: Update.
9841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9842
9843 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9844
9845 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
9846 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
9847
9848 2012-03-16 Roland McGrath <roland@hack.frob.com>
9849
9850 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
9851 * configure.in: Use it for both main tree and add-ons.
9852 * configure: Regenerated.
9853
9854 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9855
9856 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
9857
9858 2012-03-16 Joseph Myers <joseph@codesourcery.com>
9859
9860 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
9861 in comment.
9862
9863 [BZ #13851]
9864 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
9865 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
9866 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
9867 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
9868 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
9869 infinite argument.
9870 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
9871 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
9872 != 0 for prec == 2.
9873 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
9874 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
9875 * sysdeps/i386/fpu/s_cosl.S: Likewise.
9876 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
9877 * sysdeps/i386/fpu/s_sinl.S: Likewise.
9878 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
9879 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
9880 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
9881 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
9882 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
9883 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
9884 * math/libm-test.inc (cos_test): Add more tests and enable more
9885 tests for long double.
9886 (sin_test): Likewise.
9887 (sincos_test): Likewise.
9888 * sysdeps/i386/fpu/libm-test-ulps: Update.
9889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9890
9891 2012-03-16 David S. Miller <davem@davemloft.net>
9892
9893 * sysdeps/sparc/fpu/math_private.h: New file.
9894
9895 2012-03-15 David S. Miller <davem@davemloft.net>
9896
9897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
9898 file.
9899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
9900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
9901 file.
9902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
9903 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
9904 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
9905 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
9906 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
9907 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
9908 sysdep routines.
9909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9910
9911 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
9912 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
9913
9914 * sysdeps/sparc/sparc-ifunc.h: New file.
9915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
9916 sparc-ifunc.h
9917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
9919 Likewise.
9920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
9921 Likewise.
9922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
9923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
9924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9926 Likewise.
9927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
9929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
9931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
9932 Likewise.
9933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
9934 Likewise.
9935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
9937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
9938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
9939 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9940 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9941 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
9942 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
9943 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9944 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9945 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
9946 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
9947 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
9948 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
9949 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
9950 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
9951 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
9952 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
9953 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
9954 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
9955 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
9956 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
9957 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
9958 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
9959
9960 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9961
9962 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
9963 scaling.
9964 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9965
9966 2012-03-15 Andreas Jaeger <aj@suse.de>
9967
9968 [BZ #13852]
9969 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
9970 ieee754/flt-32 implementation for sin, cos and sincos.
9971 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
9972 * sysdeps/i386/fpu/s_cosf.S: Likewise.
9973 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
9974 * sysdeps/i386/fpu/s_sinf.S: Likewise.
9975 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
9976 ieee754/flt-32 implementation for tan.
9977
9978 * math/libm-test.inc (cos_test): Enable some large input tests for
9979 float as well
9980 (sin_test): Likewise.
9981 (sincos_test): Likewise.
9982 (tan_test): Add tests for large input.
9983
9984 * sysdeps/i386/fpu/libm-test-ulps: Update.
9985
9986 2012-03-15 Andreas Jaeger <aj@suse.de>
9987
9988 [BZ #13658]
9989 * math/libm-test.inc (cos_test): Add more test cases.
9990 (sin_test): Likewise.
9991 (sincos_test): Likewise.
9992
9993 2012-03-15 Andreas Jaeger <aj@suse.de>
9994
9995 [BZ #13837]
9996 * math/libm-test.inc (cos_test): Add a test case for large input
9997 value.
9998 (sin_test): Likewise.
9999 (sincos_test): Likewise.
10000
10001 2012-03-15 Andreas Jaeger <aj@suse.de>,
10002 Joseph Myers <joseph@codesourcery.com>
10003
10004 [BZ #13658]
10005 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
10006 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
10007 * sysdeps/i386/fpu/branred.c: Likewise.
10008 * sysdeps/i386/fpu/dosincos.c: Likewise.
10009 * sysdeps/i386/fpu/mpa.c: Likewise.
10010 * sysdeps/i386/fpu/s_cos.S: Likewise.
10011 * sysdeps/i386/fpu/s_sin.S: Likewise.
10012 * sysdeps/i386/fpu/s_sincos.S: Likewise.
10013 * sysdeps/i386/fpu/sincos32.c: Likewise.
10014
10015 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
10016 Define.
10017 (libc_feupdateenv_53bit): Define.
10018 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
10019 Define.
10020 (libc_feupdateenv_53bit): Define.
10021
10022 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
10023 53 bit (without extend i386 double precision).
10024
10025 * math/libm-test.inc (sincos_test): Add tests for large input.
10026 (sin): Likewise.
10027 (cos): Likewise.
10028
10029 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
10030
10031 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10032
10033 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10034
10035 2012-03-15 David S. Miller <davem@davemloft.net>
10036
10037 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
10038 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
10039 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
10040 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
10041 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
10042 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
10043 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
10044 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
10045 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
10046 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
10047 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
10048 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
10049 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
10050 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
10051 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
10052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
10053 file.
10054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
10055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
10056 file.
10057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
10058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
10059 file.
10060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
10061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
10062 file.
10063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
10064 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
10065 fmin/fmax sysdep routines.
10066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10067
10068 2012-03-14 David S. Miller <davem@davemloft.net>
10069
10070 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
10071 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
10072 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
10073 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
10074 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
10075 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
10076 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
10077 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
10078 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
10079 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
10080 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
10081 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
10082 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
10083 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
10084 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
10085 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
10086 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
10087 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
10088 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
10089 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
10090 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
10091 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
10092 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
10093 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
10094 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
10095 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
10096 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
10097 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
10098 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
10099 routines.
10100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
10101 file.
10102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
10103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
10104 file.
10105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
10106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
10107 file.
10108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
10109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
10110 file.
10111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
10112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
10113 file.
10114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
10115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
10116 file.
10117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
10118 file.
10119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
10120 file.
10121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
10122 file.
10123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
10124 New file.
10125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
10126 file.
10127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
10128 file.
10129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
10130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
10131 file.
10132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
10133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
10134 file.
10135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
10136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
10137 file.
10138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
10139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
10140 VIS3 routines.
10141
10142 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10143 New file.
10144
10145 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10146
10147 * sysdeps/sparc/configure.in: New file.
10148 * sysdeps/sparc/configure: Generate.
10149 * configure.in (libc_cv_sparc_as_vis3): Substitute.
10150 * configure: Regenerate.
10151 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
10152 * config.make.in (have-as-vis3): New.
10153 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
10154 available use -Av9d instead of -Av9a.
10155 * sysdeps/sparc/sparc64/Makefile: Likewise.
10156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
10157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
10158 New file.
10159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
10160 file.
10161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
10162 New file.
10163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
10164 file.
10165 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
10166 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
10167 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
10168 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
10169 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
10170
10171 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
10172 fzeros/fnegs to load 0x80000000 into a float register instead of
10173 using the stack.
10174 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
10175
10176 2012-03-14 Joseph Myers <joseph@codesourcery.com>
10177
10178 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10179 bits/syscall.h.
10180 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
10181 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
10182 ($(inst_includedir)/bits/syscall.h): Remove rule.
10183 ($(objpfx)bits/syscall.d): Include instead of
10184 $(objpfx)syscall-list.d.
10185 (generated): Change syscall-list.h and syscall-list.d to
10186 bits/syscall.h and bits/syscall.d.
10187
10188 2012-03-14 Roland McGrath <roland@hack.frob.com>
10189
10190 [BZ #13846]
10191 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
10192
10193 2012-03-14 Joseph Myers <joseph@codesourcery.com>
10194
10195 [BZ #13841]
10196 * math/s_csqrt.c: Include <float.h>.
10197 (__csqrt): Scale large or subnormal inputs.
10198 * math/s_csqrtf.c: Likewise.
10199 * math/s_csqrtl.c: Likewise.
10200 * math/libm-test.inc (csqrt_test): Add more tests.
10201 * sysdeps/i386/fpu/libm-test-ulps: Update.
10202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10203
10204 [BZ #13840]
10205 * math/libm-test.inc (hypot_test): Add more tests.
10206
10207 2012-03-13 David S. Miller <davem@davemloft.net>
10208
10209 [BZ #13840]
10210 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
10211 double-precision for the calculation instead of scaling.
10212
10213 2012-03-13 Joseph Myers <joseph@codesourcery.com>
10214
10215 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
10216 manipulate bits before adding and subtracting TWO52[sx].
10217 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
10218 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
10219 Likewise.
10220 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
10221
10222 2012-03-13 David S. Miller <davem@davemloft.net>
10223
10224 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
10225 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
10226 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
10227 rtld-global-offsets.h
10228 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10229
10230 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
10231 large parameters.
10232
10233 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
10234
10235 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
10236 'err' in the ifdef scope in which it is actually used.
10237
10238 * nss/nss_db/db-init.c: Include string.h
10239
10240 2012-03-12 David S. Miller <davem@davemloft.net>
10241
10242 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10243 masking out of the most significant byte of random value used.
10244 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10245 Fix coding style in previous change.
10246
10247 * sysdeps/unix/sysv/linux/kernel-features.h
10248 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
10249 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
10250 expression.
10251 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
10252 later.
10253
10254 2012-03-11 David S. Miller <davem@davemloft.net>
10255
10256 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10257 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
10258 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
10259 for 'resultvar' otherwise things get truncated on 64-bit.
10260
10261 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10262 Fix masking out of the most significant byte of random value used.
10263
10264 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10265
10266 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
10267
10268 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10269
10270 2012-03-09 David S. Miller <davem@davemloft.net>
10271
10272 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
10273 variables with appropriate CPP guards.
10274 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
10275 frame pointer, not the stack pointer. Correct layout comments. Fix test
10276 on resulting framesize and the management of the outregs buffer for pltexit.
10277 Preserve floating point return values across _dl_call_pltexit call.
10278 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
10279 framesize and the management of the outregs buffer for pltexit.
10280 Preserve floating point return values across _dl_call_pltexit
10281 call.
10282 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
10283 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
10284 (print_exit): Fix format string for return register value.
10285
10286 2012-03-10 Joseph Myers <joseph@codesourcery.com>
10287
10288 * sunrpc/Makefile (others): Add rpcgen.
10289 ($(objpfx)rpcgen): Remove special build rule and dependency on
10290 libc.
10291 * sunrpc/rpcgen.c: New file.
10292
10293 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
10294
10295 [BZ #13673]
10296 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
10297 * stdio-common/bug-vfprintf-nargs.c: Likewise.
10298 * sysdeps/i386/crti.S: Likewise.
10299 * sysdeps/i386/crtn.S: Likewise.
10300 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
10301 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
10302 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
10303 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
10304 * sysdeps/sh/crti.S: Likewise.
10305 * sysdeps/sh/crtn.S: Likewise.
10306 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10307
10308 [BZ #13673]
10309 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
10310 with URL.
10311 * locale/programs/locfile-kw.gperf: Likewise.
10312 * locale/programs/charmap-kw.h: Regenerated.
10313 * locale/programs/locfile-kw.h: Likewise.
10314
10315 [BZ #13673]
10316 * intl/plural.y: Replace FSF snail mail address with URL.
10317 * intl/plural.c: Regenerated.
10318
10319 2012-03-09 Richard Henderson <rth@twiddle.net>
10320
10321 * include/math_private.h: Remove file.
10322 * math/math_private.h: Move file ...
10323 * sysdeps/generic/math_private.h: ... here.
10324
10325 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
10326 * sysdeps/powerpc/fpu/math_private.h: Likewise.
10327 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10328
10329 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
10330 and <math_private.h>.
10331 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10332 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10333 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10334 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10335 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10336 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
10337 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10338 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10339 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10340 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10341 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10342 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10343 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10344 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10345 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10346 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10347 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10348 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10349 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10350 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10351 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10352 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10353 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10354 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10355 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10356 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10357 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10358 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10359 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10360 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10361 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10362 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10363 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10364 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10365 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10366 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10367 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10368 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10369 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10370 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10371 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
10372 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10373 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10374 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10375 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10376 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10377 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10378 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10379 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10380 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10381 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10382 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10383 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10384 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10385 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10386 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10387 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10388 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10389 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10390 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
10391 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10392 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10393 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10394 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10395 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
10396 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10397 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10398 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10399 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
10400 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
10401 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10402 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10403 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10404 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10405 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
10406 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
10407 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
10408 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10409 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
10410 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10411 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10412 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10413 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10414 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10415 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10416 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10417 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
10418 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10419 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10420 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10421 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10422 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10423 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10424 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10425 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10426 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10427 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10428 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10429 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10430 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10431 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10432 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10433 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10434 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10435 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10436 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10437 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10438 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10439 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10440 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10441 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10442 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10443 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10444 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10445 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
10446 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10447 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10448 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10449 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10450 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10451 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10452 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10453 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10454 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
10455 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10456 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10457 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10458 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
10459 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10460 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10461 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10462 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10463 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10464 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10465 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10466 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10467 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10468 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10469 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
10470 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10471 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10472 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10473 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10474 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
10475 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
10476 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10477 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10478 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10479 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
10480 * sysdeps/ieee754/k_standard.c: Likewise.
10481 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10482 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10483 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10484 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10485 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10486 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10487 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10488 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10489 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10490 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10491 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10492 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10493 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10494 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10495 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10496 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10497 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10498 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10499 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10500 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
10501 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10502 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10503 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10504 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10505 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10506 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10507 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10508 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10509 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10510 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10511 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10512 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10513 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10514 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10515 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
10516 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10517 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10518 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
10519 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
10520 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10521 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10522 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10523 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10524 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10525 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10526 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10527 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10528 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10529 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10530 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10531 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10532 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
10533 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10534 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
10535 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10536 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10537 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
10538 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
10539 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10540 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10541 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10542 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10543 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10544 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
10545 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10546 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10547 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10548 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10549 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10550 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10551 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10552 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10553 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
10554 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
10555 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
10556 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10557 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
10558 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
10559 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10560 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
10561 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
10562 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
10563 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10564 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10565 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
10566 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10567 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10568 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
10569 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10570 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10571 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
10572 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10573 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
10574 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
10575 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10576 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10577 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
10578 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
10579 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
10580 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
10581 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10582 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10583 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10584 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10585 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
10586 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10587 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10588 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
10589 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
10590 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10591 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10592 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10593 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10594 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10595 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10596 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10597 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10598 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10599 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10600 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10601 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10602 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10603 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10604 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10605 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10606 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
10607 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10608 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10609 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10610 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10611 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10612 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10613 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10614 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10615 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10616 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10617 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
10618 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10619 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10620 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10621 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10622 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10623 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10624 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10625 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10626 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10627 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10628 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10629 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10630 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
10631 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10632 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10633 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10634 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10635 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
10636 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
10637 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10638 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10639 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10640 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10641 * sysdeps/ieee754/s_lib_version.c: Likewise.
10642 * sysdeps/ieee754/s_matherr.c: Likewise.
10643 * sysdeps/ieee754/s_signgam.c: Likewise.
10644 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10645 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10646 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
10647 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
10648 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
10649 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10650 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
10651 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
10652 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
10653 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
10654 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
10655 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
10656 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10657 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10658 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
10659 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10660 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10661 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10662 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10663 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10664 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10665
10666 2012-03-09 Joseph Myers <joseph@codesourcery.com>
10667
10668 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
10669 * sunrpc/rpc_main.c: Likewise.
10670 * sunrpc/rpc_svcout.c: Likewise.
10671
10672 2012-03-09 David S. Miller <davem@davemloft.net>
10673
10674 * include/math_private.h: New file.
10675
10676 2012-03-09 Joseph Myers <joseph@codesourcery.com>
10677
10678 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
10679 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
10680 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
10681 from <bits/socket_type.h>.
10682 (enum __socket_type): Don't define here.
10683 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
10684 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10685 bits/socket_type.h.
10686
10687 [BZ #13566]
10688 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
10689 checking __USE_GNU.
10690
10691 * Makerules ($(inst_includedir)/%.h): New rule.
10692 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
10693 (install-others): Remove variable setting.
10694 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
10695
10696 2012-03-08 Richard Henderson <rth@twiddle.net>
10697
10698 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
10699 from macro to inline function; merge with the
10700 !__LIBC_INTERNAL_MATH_INLINES version.
10701 (__ieee754_sqrtf): Likewise.
10702
10703 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
10704 to inline function.
10705 (__rintf, __floor, __floorf): Likewise.
10706
10707 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
10708 macro to inline function.
10709 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
10710
10711 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
10712 not <math/math_private.h>.
10713
10714 2012-03-08 David S. Miller <davem@davemloft.net>
10715
10716 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
10717 copyright year.
10718 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
10719
10720 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
10721
10722 * resolv/gai_misc.c (handle_requests): Fix struct timespec
10723 normalization.
10724 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
10725 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10726
10727 2012-03-08 Ulrich Drepper <drepper@gmail.com>
10728
10729 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
10730 be defined individually, they must be defined as a block. Define
10731 S for printing a string instead of hidint the different by using a
10732 macro for adding the 'l'.
10733 * stdio-common/tst-fphex-wide.c: Adjust.
10734
10735 2012-03-07 Marek Polacek <polacek@redhat.com>
10736
10737 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
10738
10739 2012-03-08 Marek Polacek <polacek@redhat.com>
10740
10741 [BZ #13806]
10742 * stdio-common/Makefile (tests): Add tst-fphex-wide.
10743 * stdio-common/tst-fphex.c: Define a few macros to make the
10744 test reusable. Use them.
10745 * stdio-common/tst-fphex-wide.c: New file.
10746
10747 2012-03-08 Joseph Myers <joseph@codesourcery.com>
10748
10749 [BZ #6911]
10750 * manual/macros.texi (gnusystems): New macro.
10751 (nongnusystems): Likewise.
10752 (gnulinuxhurdsystems): Likewise.
10753 (gnuhurdsystems): Likewise..
10754 (gnulinuxsystems): Likewise.
10755 * manual/charset.texi: Use new macros or @theglibc{} to refer to
10756 variants of the GNU system, not "GNU system".
10757 * manual/conf.texi: Likewise.
10758 * manual/errno.texi: Likewise. Update example of errno macro
10759 expansion.
10760 * manual/filesys.texi: Likewise.
10761 (getumask): Document as specific to GNU/Hurd.
10762 * manual/install.texi: Likewise. Reword some references to
10763 GNU/Linux.
10764 * manual/intro.texi: Likewise.
10765 * manual/io.texi: Likewise.
10766 (File Name Portability): Detail which constraints are inapplicable
10767 to all GNU systems and which are only inapplicable to GNU/Hurd.
10768 * manual/job.texi: Likewise.
10769 * manual/llio.texi: Likewise.
10770 (O_NOCTTY): Document as present on GNU/Linux.
10771 * manual/maint.texi: Likewise.
10772 * manual/memory.texi: Likewise.
10773 * manual/pattern.texi: Likewise.
10774 * manual/pipe.texi: Likewise.
10775 * manual/process.texi: Likewise.
10776 * manual/resource.texi: Likewise.
10777 (RUSAGE_CHILDREN): Remove statement about specifying a particular
10778 child on GNU/Hurd.
10779 * manual/setjmp.texi: Likewise.
10780 * manual/signal.texi: Likewise.
10781 * manual/startup.texi: Likewise.
10782 * manual/stdio.texi: Likewise.
10783 * manual/terminal.texi: Likewise.
10784 (ONLCR): Document as POSIX.
10785 (OXTABS): Document availability on GNU/Linux as XTABS.
10786 (ONOEOT): Document availability separately from other bits.
10787 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
10788 * manual/time.texi: Likewise.
10789 * manual/users.texi: Likewise.
10790 * INSTALL: Regenerated.
10791 * sysdeps/gnu/errlist.c: Regenerated.
10792
10793 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
10794 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
10795 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
10796 puts.
10797 * configure: Regenerated.
10798
10799 2012-03-07 Joseph Myers <joseph@codesourcery.com>
10800
10801 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
10802 default includes instead of AC_HEADER_CHECK.
10803 * sysdeps/i386/configure: Regenerated.
10804
10805 [BZ #10716]
10806 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
10807 * math/s_cacoshf.c (__cacoshf): Likewise.
10808 * math/s_cacoshl.c (__cacoshl): Likewise.
10809 * math/s_casinh.c (__casinh): Set signs of result from argument.
10810 * math/s_casinhf.c (__casinhf): Likewise.
10811 * math/s_casinhl.c (__casinhl): Likewise.
10812 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
10813 (casinh_test): Add more tests.
10814 * sysdeps/i386/fpu/libm-test-ulps: Update.
10815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10816
10817 2012-03-07 Ulrich Drepper <drepper@gmail.com>
10818
10819 * po/zh_TW.po: Update from translation team.
10820
10821 * login/Makefile (distribute): Remove variable.
10822 * catgets/Makefile: Likewise.
10823 * mach/Makefile: Likewise.
10824 * malloc/Makefile: Likewise.
10825 * misc/Makefile: Likewise.
10826 * iconv/Makefile: Likewise.
10827 * nscd/Makefile: Likewise.
10828 * hurd/Makefile: Likewise.
10829 * manual/Makefile: Likewise.
10830 * locale/Makefile: Likewise.
10831 * intl/Makefile: Likewise.
10832 * conform/Makefile: Likewise.
10833 * nss/Makefile: Likewise.
10834 * time/Makefile: Likewise.
10835 * soft-fp/Makefile: Likewise.
10836 * dirent/Makefile: Likewise.
10837 * gmon/Makefile: Likewise.
10838 * po/Makefile: Likewise.
10839 * rt/Makefile: Likewise.
10840 * socket/Makefile: Likewise.
10841 * math/Makefile: Likewise.
10842 * signal/Makefile: Likewise.
10843 * debug/Makefile: Likewise.
10844 * elf/Makefile: Likewise.
10845 * timezone/Makefile: Likewise.
10846 * stdlib/Makefile: Likewise.
10847 * iconvdata/Makefile: Likewise.
10848 * sunrpc/Makefile: Likewise.
10849 * io/Makefile: Likewise.
10850 * argp/Makefile: Likewise.
10851 * inet/Makefile: Likewise.
10852 * hesiod/Makefile: Likewise.
10853 * grp/Makefile: Likewise.
10854 * csu/Makefile: Likewise.
10855 * wctype/Makefile: Likewise.
10856 * crypt/Makefile: Likewise.
10857 * libio/Makefile: Likewise.
10858 * string/Makefile: Likewise.
10859 * nis/Makefile: Likewise.
10860 * resolv/Makefile: Likewise.
10861 * stdio-common/Makefile: Likewise.
10862 * wcsmbs/Makefile: Likewise.
10863 * dlfcn/Makefile: Likewise.
10864 * posix/Makefile: Likewise.
10865
10866 [BZ #6959]
10867 * timezone/Makefile: Don't install timezone files, just the programs
10868 and scripts.
10869
10870 2012-03-06 Ulrich Drepper <drepper@gmail.com>
10871
10872 * nss/databases.def: Add missing gshadow entry.
10873
10874 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
10875
10876 2012-03-06 Marek Polacek <polacek@redhat.com>
10877
10878 [BZ #13726]
10879 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
10880 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10881 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
10882 * stdio-common/tst-long-dbl-fphex.c: New file.
10883
10884 2012-03-06 David S. Miller <davem@davemloft.net>
10885
10886 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10887 (set_obp_int): New function.
10888 (get_obp_int): New function.
10889 (__get_clockfreq_via_dev_openprom): Likewise.
10890 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
10891 Avoid unused variable warnings on 'val' and use builtin_expect.
10892 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
10893 __builtin_expect.
10894 (INLINE_CLONE_SYSCALL): Likewise.
10895
10896 2012-03-05 David S. Miller <davem@davemloft.net>
10897
10898 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10899
10900 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
10901
10902 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10903
10904 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
10905 only for |x| >= 40.
10906 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10907
10908 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
10909
10910 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
10911 Replace gettimeofday with __vdso_gettimeofday.
10912
10913 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10914 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
10915 __vdso_clock_gettime and __vdso_getcpu.
10916
10917 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
10918 time with __vdso_time.
10919
10920 2012-03-05 Joseph Myers <joseph@codesourcery.com>
10921
10922 * manual/lang.texi (size_t): Note types to which size_t may be
10923 equivalent with the GNU C Library, but do not describe when
10924 differences between them are significant.
10925
10926 2012-03-05 Andreas Jaeger <aj@suse.de>
10927
10928 * sysdeps/i386/fpu/libm-test-ulps: Update.
10929
10930 2012-03-05 Joseph Myers <joseph@codesourcery.com>
10931
10932 [BZ #3976]
10933 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
10934 (__ieee754_pow): Save and restore rounding mode and use
10935 round-to-nearest for main computations.
10936 * math/libm-test.inc (pow_test_tonearest): New function.
10937 (pow_test_towardzero): Likewise.
10938 (pow_test_downward): Likewise.
10939 (pow_test_upward): Likewise.
10940 (main): Call the new functions.
10941 * sysdeps/i386/fpu/libm-test-ulps: Update.
10942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10943
10944 [BZ #3976]
10945 * math/libm-test.inc (cosh_test_tonearest): New function.
10946 (cosh_test_towardzero): Likewise.
10947 (cosh_test_downward): Likewise.
10948 (cosh_test_upward): Likewise.
10949 (sinh_test_tonearest): Likewise.
10950 (sinh_test_towardzero): Likewise.
10951 (sinh_test_downward): Likewise.
10952 (sinh_test_upward): Likewise.
10953 (main): Call the new functions.
10954 * sysdeps/i386/fpu/libm-test-ulps: Update.
10955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10956
10957 2012-03-05 Tom de Vries <tom@codesourcery.com>
10958
10959 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
10960 default stack guard is set in last bytes.
10961 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
10962
10963 2012-03-05 Kees Cook <keescook@chromium.org>
10964
10965 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
10966
10967 [BZ #13656]
10968 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
10969 possibly allocate from heap instead of stack.
10970 * stdio-common/bug-vfprintf-nargs.c: New file.
10971 * stdio-common/Makefile (tests): Add nargs overflow test.
10972
10973 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
10974
10975 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10976
10977 2012-03-03 Marek Polacek <polacek@redhat.com>
10978
10979 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
10980 * math/math_private.h: Likewise.
10981 * stdlib/tst-strtod.c: Likewise.
10982 * sysdeps/i386/i486/bits/atomic.h: Likewise.
10983 * sysdeps/x86_64/bits/atomic.h: Likewise.
10984
10985 2012-03-02 David S. Miller <davem@davemloft.net>
10986
10987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
10988 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
10989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
10990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
10991 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
10992 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
10993 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
10994 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
10995
10996 2012-03-02 Roland McGrath <roland@hack.frob.com>
10997
10998 [BZ #13792]
10999 * manual/examples/README: New file, says the example source files
11000 can be used under GPL>=2.
11001 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
11002 line containing just "*/".
11003 * manual/examples/add.c: Add copyright header (GPL>=2).
11004 * manual/examples/argp-ex1.c: Likewise.
11005 * manual/examples/argp-ex2.c: Likewise.
11006 * manual/examples/argp-ex3.c: Likewise.
11007 * manual/examples/argp-ex4.c: Likewise.
11008 * manual/examples/atexit.c: Likewise.
11009 * manual/examples/db.c: Likewise.
11010 * manual/examples/dir.c: Likewise.
11011 * manual/examples/dir2.c: Likewise.
11012 * manual/examples/execinfo.c: Likewise.
11013 * manual/examples/filecli.c: Likewise.
11014 * manual/examples/filesrv.c: Likewise.
11015 * manual/examples/fmtmsgexpl.c: Likewise.
11016 * manual/examples/genpass.c: Likewise.
11017 * manual/examples/inetcli.c: Likewise.
11018 * manual/examples/inetsrv.c: Likewise.
11019 * manual/examples/isockad.c: Likewise.
11020 * manual/examples/longopt.c: Likewise.
11021 * manual/examples/memopen.c: Likewise.
11022 * manual/examples/memstrm.c: Likewise.
11023 * manual/examples/mkfsock.c: Likewise.
11024 * manual/examples/mkisock.c: Likewise.
11025 * manual/examples/mygetpass.c: Likewise.
11026 * manual/examples/pipe.c: Likewise.
11027 * manual/examples/popen.c: Likewise.
11028 * manual/examples/rprintf.c: Likewise.
11029 * manual/examples/search.c: Likewise.
11030 * manual/examples/select.c: Likewise.
11031 * manual/examples/setjmp.c: Likewise.
11032 * manual/examples/sigh1.c: Likewise.
11033 * manual/examples/sigusr.c: Likewise.
11034 * manual/examples/stpcpy.c: Likewise.
11035 * manual/examples/strdupa.c: Likewise.
11036 * manual/examples/strftim.c: Likewise.
11037 * manual/examples/strncat.c: Likewise.
11038 * manual/examples/subopt.c: Likewise.
11039 * manual/examples/swapcontext.c: Likewise.
11040 * manual/examples/termios.c: Likewise.
11041 * manual/examples/testopt.c: Likewise.
11042 * manual/examples/testpass.c: Likewise.
11043 * manual/examples/timeval_subtract.c: Likewise.
11044
11045 [BZ #13792]
11046 * manual/time.texi (Elapsed Time): Move timeval_subtract example
11047 function to ...
11048 * manual/timeval_subtract.c.texi: ... here, new file.
11049
11050 2012-03-02 David S. Miller <davem@davemloft.net>
11051
11052 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
11053
11054 2012-03-02 Joseph Myers <joseph@codesourcery.com>
11055
11056 [BZ #3976]
11057 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
11058 (__sin): Save and restore rounding mode and use round-to-nearest
11059 for all computations.
11060 (__cos): Save and restore rounding mode and use round-to-nearest
11061 for all computations.
11062 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
11063 <fenv.h>.
11064 (tan): Save and restore rounding mode and use round-to-nearest for
11065 all computations.
11066 * math/libm-test.inc (cos_test_tonearest): New function.
11067 (cos_test_towardzero): Likewise.
11068 (cos_test_downward): Likewise.
11069 (cos_test_upward): Likewise.
11070 (sin_test_tonearest): Likewise.
11071 (sin_test_towardzero): Likewise.
11072 (sin_test_downward): Likewise.
11073 (sin_test_upward): Likewise.
11074 (tan_test_tonearest): Likewise.
11075 (tan_test_towardzero): Likewise.
11076 (tan_test_downward): Likewise.
11077 (tan_test_upward): Likewise.
11078 (main): Call the new functions.
11079 * sysdeps/i386/fpu/libm-test-ulps: Update.
11080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11081
11082 [BZ #10135]
11083 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
11084 small n, then large n, before computing and testing k+n.
11085 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11086 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
11087 Likewise.
11088 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
11089 Likewise.
11090 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
11091 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
11092 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
11093 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
11094 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11095 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11096 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
11097 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
11098 * math/libm-test.inc (scalbn_test): Add more tests.
11099 (scalbln_test): Likewise.
11100
11101 * manual/filesys.texi (mode_t): Describe constraints on size and
11102 signedness, not exact equivalence to a particular type.
11103 (ino_t): Likewise.
11104 (ino64_t): Likewise.
11105 (dev_t): Likewise.
11106 (nlink_t): Likewise.
11107 (blkcnt_t): Likewise.
11108 (blkcnt64_t): Likewise.
11109 * manual/llio.texi (off_t): Likewise.
11110
11111 [BZ #3976]
11112 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
11113 (__ieee754_exp): Save and restore rounding mode and use
11114 round-to-nearest for all computations.
11115 * math/libm-test.inc (exp_test_tonearest): New function.
11116 (exp_test_towardzero): Likewise.
11117 (exp_test_downward): Likewise.
11118 (exp_test_upward): Likewise.
11119 (main): Call the new functions.
11120 * sysdeps/i386/fpu/libm-test-ulps: Update.
11121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11122
11123 2012-03-01 Chris Demetriou <cgd@google.com>
11124
11125 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
11126 have predictable order.
11127
11128 2012-03-01 David S. Miller <davem@davemloft.net>
11129
11130 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
11131
11132 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
11133 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
11134 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
11135 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
11136
11137 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
11138 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
11139 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
11140 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
11141 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
11142 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
11143 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
11144 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
11145 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
11146
11147 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11148
11149 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
11150 * sysdeps/sparc/fpu/libm-test-ulps: to here.
11151 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
11152
11153 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
11154 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11155 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11156 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
11157 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
11158 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
11159 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
11160 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11161 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11162 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
11163 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
11164 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11165 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11166 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11167 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11168 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11169 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
11170 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
11171 * sysdeps/sparc/elf/configure: Regenerated.
11172
11173 2012-03-01 Joseph Myers <joseph@codesourcery.com>
11174
11175 * configure.in (AS, LD): Require binutils 2.20 or later.
11176 * configure: Regenerated.
11177 * manual/install.texi (Tools for Compilation): Give binutils 2.20
11178 as required minimum version.
11179 * INSTALL: Regenerated.
11180
11181 [BZ #2541]
11182 [BZ #4108]
11183 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
11184 before squaring exponent.
11185 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
11186 bottom long double and 27 bits of top long double before squaring
11187 exponent.
11188 * math/libm-test.inc (erfc_test): Add more tests.
11189 * sysdeps/i386/fpu/libm-test-ulps: Update.
11190 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11192
11193 2012-03-01 Kai Tietz <ktietz@redhat.com>
11194
11195 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
11196 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
11197 containing bit-fields.
11198 * soft-fp/extended.h (_FP_UNION_E): Likewise.
11199 * soft-fp/single.h (_FP_UNION_S): Likewise.
11200 * soft-fp/double.h (_FP_UNION_D): Likewise.
11201
11202 2012-02-29 Joseph Myers <joseph@codesourcery.com>
11203
11204 [BZ #13786]
11205 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
11206 not include ../strcmp.S.
11207 [USE_AS_STRNCASECMP_L]: Likewise.
11208 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
11209 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
11210 * sysdeps/i386/i686/multiarch/strncase_l-c.c
11211 (__strncasecmp_l_ia32): Define as alias to
11212 __strncasecmp_l_nonascii.
11213
11214 [BZ #5794]
11215 * math/libm-test.inc (expm1_test): Add test for bug 5794.
11216 * sysdeps/i386/fpu/libm-test-ulps: Update.
11217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11218
11219 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
11220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11221
11222 2012-02-29 Jeff Law <law@redhat.com>
11223
11224 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
11225 out of bounds read.
11226
11227 2012-02-29 Marek Polacek <polacek@redhat.com>
11228
11229 [BZ #13706]
11230 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
11231 * elf/Makefile: Add rules to run tst-unused-dep.out.
11232
11233 2012-02-28 David S. Miller <davem@davemloft.net>
11234
11235 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
11236 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
11237 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
11238 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
11239 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
11240 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
11241
11242 2012-02-29 Joseph Myers <joseph@codesourcery.com>
11243
11244 * math/libm-test.inc (llround_test): Move one test from
11245 lround_test. Use TEST_f_L in moved test.
11246 (lround_test): Move misplaced test to llround_test. Add testcase
11247 from bug 2561.
11248
11249 2012-02-28 Ulrich Drepper <drepper@gmail.com>
11250
11251 * sysdeps/x86_64/fpu/e_expf.S: New file.
11252 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
11253
11254 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
11255
11256 [BZ #13637]
11257 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
11258 of remain_len that may cause incomplete multi-byte character and
11259 false match.
11260 * posix/bug-regex33.c: New file.
11261 * posix/Makefile (tests): Add bug-regex33.
11262
11263 2012-02-28 Joseph Myers <joseph@codesourcery.com>
11264
11265 * manual/macros.texi: New file.
11266 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
11267 * manual/libc.texinfo: Include macros.texi.
11268 * manual/creatute.texi: Likewise.
11269 * manual/install.texi: Likewise.
11270 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
11271 @glibcadj{} in references to the GNU C Library.
11272 * manual/charset.texi: Likewise.
11273 * manual/conf.texi: Likewise.
11274 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
11275 when not using those macros.
11276 * manual/creature.texi: Likewise.
11277 * manual/crypt.texi: Likewise.
11278 * manual/errno.texi: Likewise.
11279 * manual/filesys.texi: Likewise.
11280 * manual/header.texi: Likewise.
11281 * manual/install.texi: Likewise.
11282 * manual/intro.texi: Likewise.
11283 * manual/io.texi: Likewise.
11284 * manual/job.texi: Likewise.
11285 * manual/lang.texi: Likewise.
11286 * manual/libc.texiinfo: Likewise.
11287 * manual/llio.texi: Likewise.
11288 * manual/locale.texi: Likewise.
11289 * manual/maint.texi: Likewise.
11290 * manual/math.texi: Likewise.
11291 * manual/memory.texi: Likewise.
11292 * manual/message.texi: Likewise.
11293 * manual/nss.texi: Likewise.
11294 * manual/pattern.texi: Likewise.
11295 * manual/process.texi: Likewise.
11296 * manual/resource.texi: Likewise.
11297 * manual/search.texi: Likewise.
11298 * manual/setjmp.texi: Likewise.
11299 * manual/signal.texi: Likewise.
11300 * manual/socket.texi: Likewise.
11301 * manual/startup.texi: Likewise.
11302 * manual/stdio.texi: Likewise.
11303 * manual/string.texi: Likewise.
11304 * manual/sysinfo.texi: Likewise.
11305 * manual/syslog.texi: Likewise.
11306 * manual/terminal.texi: Likewise.
11307 * manual/time.texi: Likewise.
11308 * manual/users.texi: Likewise.
11309 * INSTALL: Regenerated.
11310 * NOTES: Regenerated.
11311 * sysdeps/gnu/errlist.c: Regenerated.
11312
11313 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
11314
11315 * include/dirent.h: Include <dirstream.h> before
11316 <dirent/dirent.h>.
11317
11318 2012-02-28 David S. Miller <davem@davemloft.net>
11319
11320 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
11321 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
11322 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
11323 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
11324
11325 2012-02-27 David S. Miller <davem@davemloft.net>
11326
11327 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
11328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
11329 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
11330 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
11331
11332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
11333 frame pointer instead of stack pointer relative arg slot.
11334 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11335 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11336 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11337
11338 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
11339
11340 [BZ #3992]
11341 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
11342
11343 2012-02-27 David S. Miller <davem@davemloft.net>
11344
11345 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
11346 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
11349 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11350 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11351 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
11352 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
11353
11354 2012-02-27 Joseph Myers <joseph@codesourcery.com>
11355
11356 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
11357 later. Allow versions 5-9.
11358 * configure: Regenerated.
11359 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
11360 required minimum version and 4.6 as recommended version. Do not
11361 mention bugs in GCC 2.7 and 2.8.
11362 * INSTALL: Regenerated.
11363
11364 2012-02-27 David S. Miller <davem@davemloft.net>
11365
11366 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
11367 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
11368 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
11369 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
11370 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
11371 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
11372 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
11373 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
11374
11375 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
11376 manipulate bits before adding and subtracting TWO112[sx].
11377 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11378
11379 2012-02-27 Roland McGrath <roland@hack.frob.com>
11380
11381 [BZ #13775]
11382 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
11383 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
11384 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
11385 being in POSIX, because they are in 1003.1-2008.
11386
11387 * rt/tst-aio.c: Include <fcntl.h>.
11388 * rt/tst-aio7.c: Likewise.
11389 * rt/tst-aio64.c: Likewise.
11390
11391 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
11392
11393 2012-02-27 Joseph Myers <joseph@codesourcery.com>
11394
11395 * manual/install.texi (--with-headers): Describe headers as
11396 interface headers, not private headers.
11397 (Specific advice for GNU/Linux systems): Describe use of headers
11398 from "make headers_install", not private headers from older
11399 kernels.
11400 * INSTALL: Regenerated.
11401 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
11402 Change to 2.6.19.
11403 * sysdeps/unix/sysv/linux/configure: Regenerated.
11404
11405 * manual/llio.texi (fclean): Remove documentation.
11406
11407 * manual/Makefile (libc-texi-generated): New variable. Include
11408 version.texi.
11409 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
11410 $(libc-texi-generated), not duplicated list of files.
11411 (version.texi, stamp-version): New rules.
11412 (realclean): Remove $(libc-texi-generated), not individual files
11413 from that list. Do not remove dir-add.texinfo.
11414 * manual/libc.texinfo: Comment out uses of edition numbers and
11415 references to printed manual. Remove last-updated dates.
11416 (EDITION): Comment out.
11417 (ISBN): Likewise.
11418 (VERSION, UPDATED): Remove.
11419 (version.texi): Include.
11420
11421 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
11422
11423 * sysdeps/posix/spawni.c: Include <signal.h>.
11424 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
11425 * sysdeps/pthread/aio_fsync.c: Likewise.
11426
11427 2012-02-26 Ulrich Drepper <drepper@gmail.com>
11428
11429 * conform/Makefile (tests): Run only when not cross-compiling and
11430 when fast-check is not defined.
11431
11432 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
11433 * conform/data/limits.h-data: Fixes for POSIX2008.
11434 * conform/run-conformtest.sh: Run all tests.
11435 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
11436 headers.
11437 * include/bits/dlfcn.h: Likewise.
11438 * include/langinfo.h: Likewise.
11439 * include/monetary.h: Likewise.
11440 * include/sys/poll.h: Likewise.
11441
11442 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
11443 for __USE_GNU.
11444 * posix/spawn.h: Define __need_sigset_t.
11445 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
11446 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
11447 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
11448 to get sigevent_t only.
11449 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
11450 only for __USE_GNU.
11451 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11452 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11453 process_vm_writev only for __USE_GNU.
11454 * termios/termios.h: Declare tcgetsid also for POSIX2008.
11455
11456 * conform/Makefile: For now ignore errors from run-conformtest.
11457 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
11458 POSIX to avoid namespace pollution. Don't prepend headers.
11459 * conform/data/aio.h-data: Fixes for POSIX testing.
11460 * conform/data/fcntl.h-data: Likewise.
11461 * conform/data/glob.h-data: Likewise.
11462 * conform/data/grp.h-data: Likewise.
11463 * conform/data/pthread.h-data: Likewise.
11464 * conform/data/pwd.h-data: Likewise.
11465 * conform/data/signal.h-data: Likewise.
11466 * conform/data/spawn.h-data: Likewise.
11467 * conform/data/stdio.h-data: Likewise.
11468 * conform/data/stdlib.h-data: Likewise.
11469 * conform/data/stropts.h-data: Likewise.
11470 * conform/data/sys/mman.h-data: Likewise.
11471 * conform/data/sys/stat.h-data: Likewise.
11472 * conform/data/sys/types.h-data: Likewise.
11473 * conform/data/sys/wait.h-data: Likewise.
11474 * conform/data/time.h-data: Likewise.
11475 * conform/data/unistd.h-data: Likewise.
11476 * conform/data/utime.h-data: Likewise.
11477
11478 * io/sys/stat.h: fchmod was always in POSIX.
11479 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
11480 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
11481 * rt/aio.h: Define __need_timespec before including <time.h>.
11482 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
11483 struct. Add forward declaration of pthread_attr_t and use it in
11484 sigevent.
11485 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11486 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11487 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
11488 always remove CLK_TCK definition.
11489
11490 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
11491
11492 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
11493
11494 2012-02-25 Ulrich Drepper <drepper@gmail.com>
11495
11496 * conform/run-conformtest.sh: New file.
11497 * conform/Makefile: Run run-conformtest for tests.
11498 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
11499 support.
11500
11501 * conform/data/uchar.h-data: New file.
11502 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
11503 * conform/data/arpa/inet.h-data: Likewise.
11504 * conform/data/assert.h-data: Likewise.
11505 * conform/data/complex.h-data: Likewise.
11506 * conform/data/cpio.h-data: Likewise.
11507 * conform/data/ctype.h-data: Likewise.
11508 * conform/data/dirent.h-data: Likewise.
11509 * conform/data/dlfcn.h-data: Likewise.
11510 * conform/data/errno.h-data: Likewise.
11511 * conform/data/fcntl.h-data: Likewise.
11512 * conform/data/float.h-data: Likewise.
11513 * conform/data/fmtmsg.h-data: Likewise.
11514 * conform/data/fnmatch.h-data: Likewise.
11515 * conform/data/ftw.h-data: Likewise.
11516 * conform/data/glob.h-data: Likewise.
11517 * conform/data/grp.h-data: Likewise.
11518 * conform/data/iconv.h-data: Likewise.
11519 * conform/data/inttypes.h-data: Likewise.
11520 * conform/data/langinfo.h-data: Likewise.
11521 * conform/data/libgen.h-data: Likewise.
11522 * conform/data/limits.h-data: Likewise.
11523 * conform/data/locale.h-data: Likewise.
11524 * conform/data/math.h-data: Likewise.
11525 * conform/data/monetary.h-data: Likewise.
11526 * conform/data/mqueue.h-data: Likewise.
11527 * conform/data/ndbm.h-data: Likewise.
11528 * conform/data/net/if.h-data: Likewise.
11529 * conform/data/netdb.h-data: Likewise.
11530 * conform/data/netinet/in.h-data: Likewise.
11531 * conform/data/nl_types.h-data: Likewise.
11532 * conform/data/poll.h-data: Likewise.
11533 * conform/data/pthread.h-data: Likewise.
11534 * conform/data/pwd.h-data: Likewise.
11535 * conform/data/regex.h-data: Likewise.
11536 * conform/data/sched.h-data: Likewise.
11537 * conform/data/search.h-data: Likewise.
11538 * conform/data/semaphore.h-data: Likewise.
11539 * conform/data/setjmp.h-data: Likewise.
11540 * conform/data/signal.h-data: Likewise.
11541 * conform/data/spawn.h-data: Likewise.
11542 * conform/data/stdarg.h-data: Likewise.
11543 * conform/data/stdio.h-data: Likewise.
11544 * conform/data/stdlib.h-data: Likewise.
11545 * conform/data/string.h-data: Likewise.
11546 * conform/data/strings.h-data: Likewise.
11547 * conform/data/stropts.h-data: Likewise.
11548 * conform/data/sys/ipc.h-data: Likewise.
11549 * conform/data/sys/mman.h-data: Likewise.
11550 * conform/data/sys/msg.h-data: Likewise.
11551 * conform/data/sys/resource.h-data: Likewise.
11552 * conform/data/sys/select.h-data: Likewise.
11553 * conform/data/sys/sem.h-data: Likewise.
11554 * conform/data/sys/shm.h-data: Likewise.
11555 * conform/data/sys/socket.h-data: Likewise.
11556 * conform/data/sys/stat.h-data: Likewise.
11557 * conform/data/sys/statvfs.h-data: Likewise.
11558 * conform/data/sys/time.h-data: Likewise.
11559 * conform/data/sys/timeb.h-data: Likewise.
11560 * conform/data/sys/times.h-data: Likewise.
11561 * conform/data/sys/types.h-data: Likewise.
11562 * conform/data/sys/uio.h-data: Likewise.
11563 * conform/data/sys/un.h-data: Likewise.
11564 * conform/data/sys/utsname.h-data: Likewise.
11565 * conform/data/sys/wait.h-data: Likewise.
11566 * conform/data/syslog.h-data: Likewise.
11567 * conform/data/tar.h-data: Likewise.
11568 * conform/data/termios.h-data: Likewise.
11569 * conform/data/utime.h-data: Likewise.
11570 * conform/data/utmpx.h-data: Likewise.
11571 * conform/data/varargs.h-data: Likewise.
11572 * conform/data/wchar.h-data: Likewise.
11573 * conform/data/wctype.h-data: Likewise.
11574 * conform/data/wordexp.h-data: Likewise.
11575
11576 * include/stropts.h: New file.
11577 * include/uchar.h: New file.
11578 * include/aio.h: Changes to allow conformtest.pl to use the headers.
11579 * include/assert.h: Likewise.
11580 * include/ctype.h: Likewise.
11581 * include/dirent.h: Likewise.
11582 * include/dlfcn.h: Likewise.
11583 * include/fcntl.h: Likewise.
11584 * include/fnmatch.h: Likewise.
11585 * include/glob.h: Likewise.
11586 * include/grp.h: Likewise.
11587 * include/libio.h: Likewise.
11588 * include/locale.h: Likewise.
11589 * include/math.h: Likewise.
11590 * include/net/if.h: Likewise.
11591 * include/netdb.h: Likewise.
11592 * include/netinet/in.h: Likewise.
11593 * include/pthread.h: Likewise.
11594 * include/pwd.h: Likewise.
11595 * include/regex.h: Likewise.
11596 * include/sched.h: Likewise.
11597 * include/search.h: Likewise.
11598 * include/setjmp.h: Likewise.
11599 * include/signal.h: Likewise.
11600 * include/stdio.h: Likewise.
11601 * include/stdlib.h: Likewise.
11602 * include/string.h: Likewise.
11603 * include/sys/cdefs.h: Likewise.
11604 * include/sys/mman.h: Likewise.
11605 * include/sys/msg.h: Likewise.
11606 * include/sys/resource.h: Likewise.
11607 * include/sys/select.h: Likewise.
11608 * include/sys/socket.h: Likewise.
11609 * include/sys/stat.h: Likewise.
11610 * include/sys/statvfs.h: Likewise.
11611 * include/sys/time.h: Likewise.
11612 * include/sys/times.h: Likewise.
11613 * include/sys/uio.h: Likewise.
11614 * include/sys/utsname.h: Likewise.
11615 * include/sys/wait.h: Likewise.
11616 * include/termios.h: Likewise.
11617 * include/time.h: Likewise.
11618 * include/ulimit.h: Likewise.
11619 * include/unistd.h: Likewise.
11620 * include/utime.h: Likewise.
11621 * include/wchar.h: Likewise.
11622 * include/wctype.h: Likewise.
11623 * include/wordexp.h: Likewise.
11624
11625 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
11626
11627 * time/time.h: TIME_UTC must be a macro.
11628 Make timespec_get available for ISO C11 only as well.
11629
11630 2012-02-24 Ulrich Drepper <drepper@gmail.com>
11631
11632 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
11633 Reported by Peng Haitao <penght@cn.fujitsu.com>.
11634
11635 2012-02-24 Joseph Myers <joseph@codesourcery.com>
11636
11637 * configure.in: Use -o not -a in test for unsupported multi-arch.
11638
11639 2012-02-24 Joseph Myers <joseph@codesourcery.com>
11640
11641 * manual/texinfo.tex: Update to version 2012-01-19.16.
11642
11643 2012-02-24 Joseph Myers <joseph@codesourcery.com>
11644
11645 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
11646
11647 2012-02-24 Roland McGrath <roland@hack.frob.com>
11648
11649 [BZ #13738]
11650 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
11651 * manual/fdl-1.3.texi: New file.
11652 * manual/fdl-1.1.texi: File removed.
11653
11654 [BZ #13738]
11655 * manual/libc.texinfo (FDL_VERSION): New @set.
11656 Use it for mention of FDL in cover text.
11657 (Documentation License): Use it in @include file name.
11658
11659 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11660 Roland McGrath <roland@hack.frob.com>
11661
11662 [BZ #5461]
11663 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
11664 not LONG_LONG_MAX and LONG_LONG_MIN.
11665 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
11666 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
11667 name.
11668 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
11669
11670 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11671
11672 [BZ #2547]
11673 [BZ #11365]
11674 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
11675 manipulate bits before adding and subtracting TWO23[sx].
11676 * math/libm-test.inc (nearbyint_test): Add more tests.
11677
11678 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11679
11680 [BZ #2548]
11681 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
11682 bits before adding and subtracting TWO23[sx].
11683 * math/libm-test.inc (rint_test): Add more tests.
11684 (rint_test_tonearest): Likewise.
11685 (rint_test_towardzero): Likewise.
11686 (rint_test_downward): Likewise.
11687 (rint_test_upward: Likewise.
11688
11689 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11690
11691 [BZ #10110]
11692 * include/stdc-predef.h: New file. Extracted from features.h.
11693 * include/features.h: Include stdc-predef.h.
11694 * Makefile (headers): Add stdc-predef.h.
11695 * CONFORMANCE (Compiler limitations): Update.
11696
11697 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11698
11699 * manual/libc.texinfo (VERSION, UPDATED): Revert.
11700
11701 2012-02-21 David S. Miller <davem@davemloft.net>
11702
11703 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
11704 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11705
11706 2012-02-20 David S. Miller <davem@davemloft.net>
11707
11708 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
11709 using a normal save/restore sequence, rather than allocating a
11710 dummy stack frame just to store a frame pointer and restore.
11711 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11712
11713 2012-02-21 Joseph Myers <joseph@codesourcery.com>
11714
11715 * manual/install.texi: Fix stray word in line-wrapped comment.
11716
11717 2012-02-20 David S. Miller <davem@davemloft.net>
11718
11719 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
11720 both binutils and gcc support GOTDATA.
11721
11722 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
11723 "rd %pc" in the PIC register setup sequences.
11724
11725 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
11726 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11727 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11728 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11729 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11730 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11731 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11732 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11733 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
11734 (SYSCALL_ERROR_HANDLER): Likewise.
11735 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11736 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11737 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
11738 (SYSCALL_ERROR_HANDLER): Likewise.
11739
11740 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
11741 (HAVE_GCC_GOTDATA): New.
11742 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
11743 relocation support in both binutils and gcc.
11744 * sysdeps/sparc/elf/configure: Regenerate.
11745
11746 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
11747 * sysdeps/sparc/sparc32/elf/configure: Delete.
11748 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
11749 * sysdeps/sparc/sparc64/elf/configure: Delete.
11750 * sysdeps/sparc/elf/configure.in: New file.
11751 * sysdeps/sparc/elf/configure: Generate.
11752
11753 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
11754 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
11755 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11756 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
11757 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
11758
11759 2012-02-21 Joseph Myers <joseph@codesourcery.com>
11760
11761 * manual/install.texi: Do not mention specific glibc version
11762 numbers.
11763 * manual/libc.texinfo (VERSION, UPDATED): Update.
11764 (@copying): Use @copyright{} and range of years.
11765
11766 2012-02-21 Joseph Myers <joseph@codesourcery.com>
11767
11768 [BZ #13695]
11769 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
11770 [crti.S not in sysdirs] (generated): Do not append.
11771 [crti.S not in sysdirs] (omit-deps): Likewise.
11772 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
11773 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
11774 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
11775 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
11776 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
11777 Likewise.
11778 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
11779 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
11780 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
11781 * csu/defs.awk: Remove file.
11782 * sysdeps/generic/initfini.c: Likewise.
11783 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
11784 variable.
11785 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
11786 Likewise.
11787
11788 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11789
11790 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
11791 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
11792 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
11793 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
11794 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11795 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
11796 <bits/epoll.h>.
11797 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
11798 (__EPOLL_PACKED): Define to empty if not defined by
11799 <bits/epoll.h>.
11800 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
11801 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11802 bits/epoll.h.
11803
11804 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11805
11806 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
11807 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
11808 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
11809 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
11810 <bits/timerfd.h>.
11811 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
11812 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11813 bits/timerfd.h.
11814
11815 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11816
11817 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
11818 in C locale.
11819 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11820 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
11821 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
11822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11823
11824 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
11825
11826 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11827 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11828
11829 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
11830
11831 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
11832 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
11833 defined.
11834 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
11835 Likewise.
11836 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
11837 entry for 2.16.
11838
11839 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
11840
11841 * math/w_acos.c: Use non-signaling floating-point comparisons.
11842 * math/w_acosf.c: Likewise.
11843 * math/w_acosh.c: Likewise.
11844 * math/w_acoshf.c: Likewise.
11845 * math/w_acoshl.c: Likewise.
11846 * math/w_acosl.c: Likewise.
11847 * math/w_asin.c: Likewise.
11848 * math/w_asinf.c: Likewise.
11849 * math/w_asinl.c: Likewise.
11850 * math/w_atanh.c: Likewise.
11851 * math/w_atanhf.c: Likewise.
11852 * math/w_atanhl.c: Likewise.
11853 * math/w_exp2.c: Likewise.
11854 * math/w_exp2f.c: Likewise.
11855 * math/w_exp2l.c: Likewise.
11856 * math/w_j0.c: Likewise.
11857 * math/w_j0f.c: Likewise.
11858 * math/w_j0l.c: Likewise.
11859 * math/w_j1.c: Likewise.
11860 * math/w_j1f.c: Likewise.
11861 * math/w_j1l.c: Likewise.
11862 * math/w_jn.c: Likewise.
11863 * math/w_jnf.c: Likewise.
11864 * math/w_log.c: Likewise.
11865 * math/w_log10.c: Likewise.
11866 * math/w_log10f.c: Likewise.
11867 * math/w_log10l.c: Likewise.
11868 * math/w_log2.c: Likewise.
11869 * math/w_log2f.c: Likewise.
11870 * math/w_log2l.c: Likewise.
11871 * math/w_logf.c: Likewise.
11872 * math/w_logl.c: Likewise.
11873 * math/w_sqrt.c: Likewise.
11874 * math/w_sqrtf.c: Likewise.
11875 * math/w_sqrtl.c: Likewise.
11876 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11877 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
11878 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11879 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11880 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11881
11882 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11883
11884 [BZ #9739]
11885 * manual/string.texi (strnlen): Use correct parameter name in
11886 equivalent expression.
11887
11888 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11889
11890 [BZ #11174]
11891 * manual/users.texi (seteuid): Consistently use neweuid for
11892 argument name.
11893
11894 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11895
11896 [BZ #13704]
11897 * manual/nss.texi (Services in the NSS configuration): Correct
11898 list of services in example configuration file.
11899
11900 2012-02-19 Nick Bowler <nbowler@draconx.ca>
11901
11902 [BZ #11322]
11903 * manual/arith.texi: Remove statements about negative zero
11904 behaving identically to zero.
11905
11906 2012-02-18 Joseph Myers <joseph@codesourcery.com>
11907
11908 [BZ #5993]
11909 * manual/install.texi: Do not document upgrading from libc5.
11910
11911 2012-02-18 Joseph Myers <joseph@codesourcery.com>
11912
11913 [BZ #4596]
11914 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
11915
11916 2012-02-18 David S. Miller <davem@davemloft.net>
11917
11918 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
11919 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
11920 %o7 across the call.
11921 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
11922 instead.
11923 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
11924 SETUP_PIC_REG_LEAF.
11925 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11926 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
11927 * sysdeps/sparc/crtn.S: Likewise.
11928
11929 2012-02-17 Ulrich Drepper <drepper@gmail.com>
11930
11931 * aout/Makefile: Remove.
11932
11933 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
11934
11935 [BZ #13058]
11936 * manual/examples/argp-ex1.c (main): Format definition in GNU
11937 style.
11938 * manual/examples/argp-ex2.c (main): Likewise.
11939 * manual/examples/argp-ex3.c (main): Likewise.
11940 * manual/examples/argp-ex4.c (main): Likewise.
11941 * manual/examples/longopt.c (main): Use new-style prototype
11942 definition.
11943 * manual/examples/strncat.c (main): Specify return type and use
11944 (void) for arguments.
11945 * manual/examples/subopt.c (main): Use char **argv argument.
11946
11947 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11948
11949 [BZ #5077]
11950 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
11951 rounding modes.
11952
11953 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
11954
11955 [BZ #6907]
11956 * manual/string.texi (strchr): Change when strchrnul is
11957 recommended.
11958
11959 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
11960
11961 [BZ #174]
11962 * manual/locale.texi (setlocale): Document LOCPATH.
11963
11964 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11965
11966 [BZ #10210]
11967 * manual/process.texi (execle): Move @dots{} before last argument.
11968
11969 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
11970
11971 [BZ #12047]
11972 * manual/charset.texi (Generic Charset Conversion): Fix typo
11973 (LC_TYPE -> LC_CTYPE).
11974
11975 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
11976
11977 [BZ #5805]
11978 * manual/arith.texi (scalbn): Use @var{} on parameter names.
11979 (scalbnf): Likewise.
11980 (scalbnl): Likewise.
11981 (scalbln): Likewise.
11982 (scalblnf): Likewise.
11983 (scalblnl): Likewise.
11984 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
11985 (vwarnx): Likewise.
11986 (verr): Likewise.
11987 (verrx): Likewise.
11988 * manual/filesys.texi (telldir): Use braces around return type.
11989 * manual/llio.texi (mmap): Add space after comma.
11990 (mmap64): Likewise.
11991 * manual/math.texi (jn): Use @var{} on parameter names.
11992 (jnf): Likewise.
11993 (jnl): Likewise.
11994 (yn): Likewise.
11995 (ynf): Likewise.
11996 (ynl): Likewise.
11997 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
11998 line.
11999 * manual/resource.texi (ulimit): Use @dots{} instead of literal
12000 "...".
12001 (sched_get_priority_min): Remove semicolon on @deftypefun line.
12002 (sched_get_priority_max): Likewise.
12003 * manual/signal.texi (sigvec): Add space after comma.
12004 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
12005 names.
12006 (if_indextoname): Likewise.
12007 (if_freenameindex): Likewise.
12008 (sendto): Use ',' instead of '.' in prototype.
12009 * manual/startup.texi (syscall): Use @dots{} instead of literal
12010 "...".
12011 * manual/stdio.texi (__fpending): Separate initial words of
12012 paragraph from @deftypefun line.
12013 * manual/syslog.texi (syslog): Use @dots{} instead of literal
12014 "...".
12015 (vsyslog): Use @var{} on parameter names.
12016 * manual/terminal.texi (stty): Use @var{} on parameter names.
12017 * manual/users.texi (getutmp): Use @var{} on parameter names.
12018 (getutmpx): Likewise.
12019
12020 2012-02-17 Joseph Myers <joseph@codesourcery.com>
12021
12022 [BZ #6884]
12023 * manual/stdio.texi (fopen): Fix typos in description of
12024 ",ccs=STRING".
12025
12026 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
12027
12028 [BZ #4026]
12029 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
12030 get clock_id definition.
12031
12032 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
12033
12034 [BZ #4822]
12035 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
12036 (madvise): Cast every argument to void on its own.
12037
12038 2012-02-17 Joseph Myers <joseph@codesourcery.com>
12039
12040 [BZ #9902]
12041 * manual/startup.texi (Exit Status): Fix typo.
12042
12043 2012-02-17 Joseph Myers <joseph@codesourcery.com>
12044
12045 [BZ #10140]
12046 * manual/examples/argp-ex1.c: Include <stdlib.h>.
12047 * manual/examples/argp-ex2.c: Likewise.
12048 * manual/examples/argp-ex3.c: Likewise.
12049
12050 2012-02-16 Richard Henderson <rth@redhat.com>
12051
12052 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
12053 * sysdeps/s390/s390-32/initfini.c: Remove.
12054 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
12055 * sysdeps/s390/s390-64/initfini.c: Remove.
12056
12057 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12058
12059 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
12060 compiler output for sysdeps/generic/initfini.c.
12061 * sysdeps/sh/elf/initfini.c: Remove file.
12062
12063 2012-02-16 David S. Miller <davem@davemloft.net>
12064
12065 [BZ #11494]
12066 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
12067
12068 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
12069 * sysdeps/sparc/crti.S: New file.
12070 * sysdeps/sparc/crtn.S: New file.
12071 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
12072 * sysdeps/sparc/sparc64/Makefile: Likewise.
12073
12074 2012-02-15 Mike Frysinger <vapier@gentoo.org>
12075
12076 [BZ #3335]
12077 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
12078
12079 2012-02-15 Roland McGrath <roland@hack.frob.com>
12080
12081 [BZ #4822]
12082 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
12083
12084 * mach/devstream.c (cookie_io_functions_t): Macro removed.
12085 (write, read, close): Likewise.
12086 Patch by Aurelien Jarno <aurelien@aurel32.net>.
12087
12088 2012-02-15 Joseph Myers <joseph@codesourcery.com>
12089
12090 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
12091 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
12092 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
12093 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
12094 <bits/signalfd.h>.
12095 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
12096 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12097 bits/signalfd.h.
12098
12099 2012-02-14 Marek Polacek <polacek@redhat.com>
12100
12101 * sysdeps/x86_64/crti.S: New file.
12102 * sysdeps/x86_64/crtn.S: New file.
12103 * sysdeps/x86_64/elf/initfini.c: Remove file.
12104
12105 2012-02-13 Joseph Myers <joseph@codesourcery.com>
12106
12107 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
12108 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
12109 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
12110 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
12111 <bits/inotify.h>.
12112 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
12113 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12114 bits/inotify.h.
12115
12116 2012-02-13 Joseph Myers <joseph@codesourcery.com>
12117
12118 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
12119 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
12120 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
12121 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
12122 <bits/eventfd.h>.
12123 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
12124 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12125 bits/eventfd.h.
12126
12127 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
12128
12129 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
12130 __feraiseexcept instead of feraiseexcept.
12131
12132 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
12133 nanosleep invocations.
12134 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
12135 strings, and add error checking for a nanosleep invocations.
12136
12137 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
12138
12139 Replace FSF snail mail address with URLs, as per GNU coding standards.
12140 Most of the snail mail addresses were wrong anyway, and omitting
12141 them makes the source code easier to maintain. Almost all of the
12142 changes are to license notices and to locale LC_IDENTIFICATION
12143 addresses, except for this one:
12144 * manual/libc.texinfo: In "Published by", give the FSF's URL,
12145 not its snail mail address.
12146
12147 2012-02-09 Richard Henderson <rth@twiddle.net>
12148
12149 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
12150 of kernel-features.h.
12151
12152 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
12153
12154 2012-02-08 Marek Polacek <polacek@redhat.com>
12155
12156 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
12157 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
12158 * sysdeps/gnu/_G_config.h: Likewise.
12159 * sysdeps/generic/_G_config.h: Likewise.
12160
12161 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
12162
12163 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
12164 tests.
12165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12166
12167 * sysdeps/powerpc/powerpc32/crti.S: New file.
12168 * sysdeps/powerpc/powerpc32/crtn.S: New file.
12169 * sysdeps/powerpc/powerpc64/crti.S: New file.
12170 * sysdeps/powerpc/powerpc64/crtn.S: New file.
12171
12172 * Makeconfig (have-initfini): Don't set.
12173 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
12174 * configure.in (nopic_initfini): Don't substitute.
12175 * config.h.in (HAVE_INITFINI): Don't #undef.
12176 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
12177 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
12178
12179 2012-02-08 Joseph Myers <joseph@codesourcery.com>
12180
12181 Support crti.S and crtn.S provided directly by architectures.
12182 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
12183 [crti.S in sysdirs] (omit-deps): Likewise.
12184 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
12185 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
12186 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
12187 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
12188 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
12189 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
12190 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
12191 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
12192 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
12193 compiler output for sysdeps/generic/initfini.c.
12194 * sysdeps/i386/elf/Makefile: Remove file.
12195 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
12196
12197 2012-02-07 Marek Polacek <polacek@redhat.com>
12198
12199 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
12200 * sysdeps/gnu/_G_config.h: Likewise.
12201 * sysdeps/mach/hurd/_G_config.h: Likewise.
12202
12203 2012-02-07 Marek Polacek <polacek@redhat.com>
12204
12205 * math/Makefile (tests): Add tst-CMPLX2.
12206 * math/tst-CMPLX2.c: New file.
12207
12208 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
12209
12210 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12211
12212 * math/libm-test.inc (jn_test): Add missing L suffix.
12213
12214 2012-02-06 Marek Polacek <polacek@redhat.com>
12215
12216 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
12217 * sysdeps/i386/fpu/e_powf.S: Likewise.
12218 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12219 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12220 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12221 * sysdeps/i386/fpu/e_pow.S: Likewise.
12222 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
12223 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12224 * sysdeps/i386/fpu/s_expm1.S: Likewise.
12225 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
12226 * sysdeps/i386/fpu/e_log2.S: Likewise.
12227 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12228 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12229 * sysdeps/i386/fpu/e_powl.S: Likewise.
12230 * sysdeps/i386/fpu/s_log1p.S: Likewise.
12231 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12232 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
12233 * sysdeps/i386/fpu/e_logl.S: Likewise.
12234 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
12235 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
12236 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
12237 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
12238 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12239 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12240 * sysdeps/i386/fpu/e_log.S: Likewise.
12241 * sysdeps/i386/fpu/s_cexp.S: Likewise.
12242 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12243 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
12244 * sysdeps/i386/fpu/e_logf.S: Likewise.
12245 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12246 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12247 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
12248 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
12249 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12250 * sysdeps/i386/fpu/e_log10.S: Likewise.
12251 * sysdeps/i386/fpu/s_frexp.S: Likewise.
12252 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12253 * sysdeps/i386/fpu/s_asinh.S: Likewise.
12254 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
12255 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12256 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
12257 * sysdeps/i386/asm-syntax.h: Likewise.
12258 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12259 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12260 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12261 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
12262 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
12263 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12264 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
12265 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
12266 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12267 * sysdeps/powerpc/sysdep.h: Likewise.
12268 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
12269 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12270
12271 2012-02-06 Joseph Myers <joseph@codesourcery.com>
12272
12273 [BZ #411]
12274 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
12275
12276 2012-02-06 Joseph Myers <joseph@codesourcery.com>
12277
12278 * sysdeps/i386/sysdep.h: Include <features.h>.
12279 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
12280 version.
12281
12282 2012-02-05 Joseph Myers <joseph@codesourcery.com>
12283
12284 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
12285 Define.
12286 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
12287 LOAD_PIC_REG_STR.
12288
12289 2012-02-03 Joseph Myers <joseph@codesourcery.com>
12290
12291 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
12292 (SETUP_PIC_REG): Use GET_PC_THUNK.
12293 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
12294 macro.
12295
12296 2012-02-03 Joseph Myers <joseph@codesourcery.com>
12297
12298 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
12299 for non-PIC compilation.
12300 (SETUP_PIC_REG): Add .p2align directive.
12301 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
12302 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
12303 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12304 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12305 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12306 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12307 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
12308 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12309 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12310 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12311 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12312 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12313 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12314 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12315 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12316 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12317 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12318 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12319 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12320 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12321 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12322 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12323 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12324 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12325 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12326 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12327 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12328 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12329 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12330 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12331 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12332 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12333 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12334 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12335 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12336 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12337 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12338 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12339 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12340 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12341 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12342
12343 2012-02-03 Joseph Myers <joseph@codesourcery.com>
12344
12345 * math/tst-CMPLX.c: Include <stdio.h>.
12346
12347 2012-01-31 Joseph Myers <joseph@codesourcery.com>
12348
12349 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
12350 float.
12351 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12352 * sysdeps/sparc/bits/mathdef.h: Likewise.
12353
12354 2012-01-31 Marek Polacek <polacek@redhat.com>
12355
12356 * libio/libio.h: Don't define _PARAMS.
12357 * locale/programs/config.h: Don't define PARAMS.
12358 * stdlib/strtol_l.c: Likewise.
12359 (__strtol_l): Remove PARAMS from the prototype.
12360
12361 2012-01-31 Ulrich Drepper <drepper@gmail.com>
12362
12363 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
12364 names. Just use the correct names. Remove unnecessary wrapper
12365 functions.
12366 * malloc/arena.c: Likewise.
12367 * malloc/hooks.c: Likewise.
12368
12369 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
12370 ARENA_TEST says not to. Simplify test for creation of a new arena.
12371 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
12372
12373 2012-01-30 Ulrich Drepper <drepper@gmail.com>
12374
12375 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
12376 into tail calls.
12377 (update_get_addr): New function.
12378 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
12379 GET_ADDR_MODULE parameter.
12380
12381 2012-01-30 Joseph Myers <joseph@codesourcery.com>
12382
12383 * crypt/cert.c: Remove __STDC__ conditionals.
12384 * crypt/crypt-entry.c: Likewise.
12385 * crypt/crypt_util.c: Likewise.
12386 * libio/filedoalloc.c: Likewise.
12387 * libio/fileops.c: Likewise.
12388 * libio/genops.c: Likewise.
12389 * libio/iofclose.c: Likewise.
12390 * libio/iofdopen.c: Likewise.
12391 * libio/iofopen.c: Likewise.
12392 * libio/iofopen64.c: Likewise.
12393 * libio/iogetdelim.c: Likewise.
12394 * libio/iopopen.c: Likewise.
12395 * libio/obprintf.c: Likewise.
12396 * libio/oldfileops.c: Likewise.
12397 * libio/oldiofclose.c: Likewise.
12398 * libio/oldiofdopen.c: Likewise.
12399 * libio/oldiofopen.c: Likewise.
12400 * libio/oldiopopen.c: Likewise.
12401 * libio/wfiledoalloc.c: Likewise.
12402 * libio/wgenops.c: Likewise.
12403 * locale/programs/xmalloc.c: Likewise.
12404 * misc/syslog.c: Likewise.
12405 * stdio-common/xbug.c: Likewise.
12406 * string/memchr.c: Likewise.
12407 * string/memcmp.c: Likewise.
12408 * string/memrchr.c: Likewise.
12409 * string/rawmemchr.c: Likewise.
12410 * sysdeps/posix/getcwd.c: Likewise.
12411 * time/strftime_l.c: Likewise.
12412
12413 2012-01-30 Joseph Myers <joseph@codesourcery.com>
12414
12415 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
12416 * config.make.in (config-cflags-sse2avx): Define.
12417 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
12418 Fix typo.
12419
12420 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
12421
12422 * scripts/config.guess: Update from upstream config git repository.
12423 * scripts/config.sub: Likewise.
12424
12425 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
12426
12427 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
12428 (EM_NUM): Update.
12429 (R_TILEPRO_*, R_TILEGX_*): New macros.
12430
12431 * scripts/firstversions.awk: Fix bug in version range handling.
12432
12433 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
12434
12435 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
12436
12437 * include/sys/epoll.h: New file.
12438 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
12439 libc_hidden_def.
12440
12441 2012-01-28 Ulrich Drepper <drepper@gmail.com>
12442
12443 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
12444 Avoid unnecessary __WORDSIZE == 64 test.
12445 (fmaxf): Use VEX format if possible.
12446 (fmax): Likewise.
12447 (fminf): Likewise.
12448 (fmin): Likewise.
12449
12450 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
12451 * math/math_private.h: Remove libc_fegetround* and
12452 libc_fesetround*.
12453 * sysdeps/i386/configure.in: Check for -msse2avx.
12454 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
12455 also if SSE2AVX is defined.
12456 Remove libc_fegetround* and libc_fesetround*.
12457 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
12458 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
12459 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
12460 of HAS_YMM_USABLE.
12461 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12462 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12463 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12464 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12465 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12466
12467 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
12468
12469 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12470
12471 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
12472 size is not set.
12473 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12474
12475 2012-01-27 Ulrich Drepper <drepper@gmail.com>
12476
12477 [BZ #13618]
12478 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
12479 relocation.
12480 * Makeconfig (libm): Define.
12481 * elf/Makefile: Add rules to build and run tst-relsort1.
12482 * elf/tst-relsort1.c: New file.
12483 * elf/tst-relsort1mod1.c: New file.
12484 * elf/tst-relsort1mod2.c: New file.
12485
12486 2012-01-27 Joseph Myers <joseph@codesourcery.com>
12487
12488 * math/s_ldexp.c: Remove __STDC__ conditionals.
12489 * math/s_ldexpf.c: Likewise.
12490 * math/s_ldexpl.c: Likewise.
12491 * math/s_nextafter.c: Likewise.
12492 * math/s_nexttowardf.c: Likewise.
12493 * math/s_significand.c: Likewise.
12494 * math/s_significandf.c: Likewise.
12495 * math/s_significandl.c: Likewise.
12496 * math/w_jnl.c: Likewise.
12497 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
12498 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
12499 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12500 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12501 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12502 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12503 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
12504 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12505 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12506 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12507 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12508 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12509 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12510 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
12511 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12512 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12513 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12514 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12515 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12516 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12517 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12518 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12519 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12520 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12521 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12522 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12523 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12524 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12525 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12526 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12527 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12528 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12529 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12530 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12531 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12532 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12533 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12534 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12535 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12536 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12537 * sysdeps/ieee754/k_standard.c: Likewise.
12538 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12539 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12540 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12541 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12542 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12543 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12544 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12545 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12546 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12547 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12548 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12549 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
12550 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12551 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12552 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12553 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12554 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12555 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12556 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12557 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12558 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12559 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12560 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12561 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12562 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12563 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12564 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12565 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12566 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12567 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12568 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12569 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
12570 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12571 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
12572 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12573 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
12574 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
12575 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12576 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
12577 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
12578 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
12579 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
12580 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12581 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
12582 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12583 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12584 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12585 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12586 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12587 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12588 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
12589 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12590 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12591 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
12592 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12593 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
12594 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
12595 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12596 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12597 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12598 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12599 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12600 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
12601 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12602 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12603 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12604 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12605 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
12606 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
12607 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12608 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12609 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12610 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12611 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12612 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12613 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12614 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
12615 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12616 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
12617 * sysdeps/ieee754/s_matherr.c: Likewise.
12618 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
12619 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12620 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12621 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12622
12623 2012-01-26 Joseph Myers <joseph@codesourcery.com>
12624
12625 * crypt/md5.h: Remove __STDC__ conditionals.
12626 * libio/libioP.h: Likewise.
12627 * locale/programs/config.h: Likewise.
12628 * sysdeps/generic/sysdep.h: Likewise.
12629 * sysdeps/i386/asm-syntax.h: Likewise.
12630 * sysdeps/s390/asm-syntax.h: Likewise.
12631 * sysdeps/unix/sysdep.h: Likewise.
12632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12634
12635 2012-01-26 Joseph Myers <joseph@codesourcery.com>
12636
12637 * libio/libio.h: Remove __STDC__ conditionals.
12638 * malloc/obstack.h: Likewise.
12639 * math/complex.h: Likewise.
12640 * math/math.h: Likewise.
12641 * sysdeps/generic/_G_config.h: Likewise.
12642 * sysdeps/gnu/_G_config.h: Likewise.
12643 * sysdeps/mach/hurd/_G_config.h: Likewise.
12644 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12645 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12646 * sysdeps/sparc/bits/mathdef.h: Likewise.
12647
12648 2012-01-26 Ulrich Drepper <drepper@gmail.com>
12649
12650 [BZ #13583]
12651 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
12652 Clean up HAS_* macros.
12653 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
12654 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
12655 possible.
12656 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
12657 HAS_AVX.
12658 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12659 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12660 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12661 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12662 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12663
12664 2012-01-25 Joseph Myers <joseph@codesourcery.com>
12665
12666 * elf/tst-unique3.cc (gets): Remove declaration.
12667 * elf/tst-unique3lib.cc (gets): Likewise.
12668 * elf/tst-unique3lib2.cc (gets): Likewise.
12669 * elf/tst-unique4.cc (gets): Likewise.
12670
12671 2012-01-24 Ulrich Drepper <drepper@gmail.com>
12672
12673 * include/stdio.h: Add C++ protection. Add gets declarations and
12674 definitions.
12675 * debug/tst-chk1.c: Don't declare gets here.
12676 * stdio-common/tst-gets.c: Likewise.
12677
12678 2012-01-24 Joseph Myers <joseph@codesourcery.com>
12679
12680 * posix/glob: Remove directory.
12681
12682 2012-01-24 Joseph Myers <joseph@codesourcery.com>
12683
12684 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
12685
12686 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
12687
12688 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
12689 of the non-standard EPFNOSUPPORT.
12690
12691 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
12692
12693 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
12694 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
12695 ANYWHERE set to 1 only on KERN_NO_SPACE error.
12696
12697 2012-01-21 Ulrich Drepper <drepper@gmail.com>
12698
12699 * wcsmbs/uchar.h: Test __STDC_VERSION__.
12700
12701 2012-01-20 Ulrich Drepper <drepper@gmail.com>
12702
12703 * nscd/aicache.c (addhstaiX): Do not cache negative results of
12704 transient errors.
12705 * nscd/grpcache.c (cache_addgr): Likewise.
12706 * nscd/hstcache.c (cache_addhst): Likewise.
12707 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12708 * nscd/pwdcache.c (cache_addpw): Likewise.
12709 * nscd/servicescache.c (cache_addserv): Likewise.
12710
12711 2012-01-16 Ulrich Drepper <drepper@gmail.com>
12712
12713 * malloc/malloc.c: Various cleanups.
12714 * malloc/hooks.c: Likewise.
12715
12716 * stdlib/Makefile (tests): Add bug-fmtmsg1.
12717 * stdlib/bug-fmtmsg1.c: New file.
12718
12719 * stdlib/fmtmsg.c (init): Add missing unlock.
12720 Patch by Peng Haitao <penght@cn.fujitsu.com>.
12721
12722 2012-01-12 Marek Polacek <polacek@redhat.com>
12723
12724 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
12725 and _GNU_SOURCE.
12726
12727 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12728
12729 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
12730 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
12731 macro to ensure uniqueness of label name.
12732 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12733 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12734
12735 2012-01-11 Ulrich Drepper <drepper@gmail.com>
12736
12737 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
12738
12739 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
12740 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12741 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12742 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
12743
12744 2012-01-10 Ulrich Drepper <drepper@gmail.com>
12745
12746 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
12747
12748 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
12749 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12750 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
12751
12752 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
12753
12754 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
12755 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12756 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12757 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
12758
12759 * math/bits/math-finite.h: Add ldexp support.
12760
12761 2012-01-10 Marek Polacek <polacek@redhat.com>
12762
12763 * locale/programs/localedef.h (show_archive_content): Add noreturn
12764 attribute.
12765
12766 2012-01-09 Ulrich Drepper <drepper@gmail.com>
12767
12768 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
12769
12770 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12771
12772 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
12773
12774 * io/Makefile (headers): Add bits/poll2.h.
12775
12776 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
12777
12778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
12779 typo #include statement.
12780
12781 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12782
12783 * include/sys/cdefs.h: Define __attribute_alloc_size.
12784 * catgets/gencat.c: Add alloc_size attribute and apply consistently
12785 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
12786 * elf/pldd.c: Likewise.
12787 * iconv/iconv_charmap.c: Likewise.
12788 * iconv/iconvconfig.c: Likewise.
12789 * iconv/strtab.c: Likewise.
12790 * locale/programs/locale.c: Likewise.
12791 * locale/programs/localedef.h: Likewise.
12792 * locale/programs/simple-hash.c: Likewise.
12793 * nscd/nscd.h: Likewise.
12794 * nss/makedb.c: Likewise.
12795 * sysdeps/generic/ldconfig.h: Likewise.
12796 * locale/programs/localedef.c: Remove xmalloc prototype.
12797 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
12798
12799 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12800
12801 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
12802 appropriate.
12803
12804 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12805
12806 * math/Makefile (tests): Add tst-CMPLX.
12807 * math/tst-CMPLX.c: New file.
12808
12809 * math/complex.h (CMPLXL): Fix typo.
12810
12811 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
12812 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
12813 GLIBC_2.16.
12814 * debug/tst-chk1.c: Add poll and ppoll tests.
12815 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
12816 * include/sys/poll.h: Add hidden proto for ppoll.
12817 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
12818 * sysdeps/mach/hurd/ppoll.c: Likewise.
12819 * io/ppoll.c: Likewise.
12820 * debug/poll_chk.c: New file.
12821 * debug/ppoll_chk.c: New file.
12822 * include/bits/poll2.h: New file.
12823 * io/bits/poll2.h: New file.
12824
12825 [BZ #1350]
12826 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
12827
12828 * configure.in: static is always set to yes. Remove.
12829 * config.make.in: Don't set build-static.
12830 * Makeconfig: Remove use of build-static.
12831 * dlfcn/Makefile: Likewise.
12832 * elf/Makefile: Likewise.
12833 * math/Makefile: Likewise.
12834 * misc/Makefile: Likewise.
12835 * nptl/Makefile: Likewise.
12836 * sysdeps/mach/hurd/Makefile: Likewise.
12837
12838 * configure.in: PWD_P is not used anymore.
12839 * config.make.in: Remove PWD_P entry.
12840
12841 * configure.in: Remove last remnants of RANLIB.
12842 No need to check for signed size_t anymore.
12843 Don't set libc_commonpagesize and libc_relro_required here for Alpha
12844 and IA-64.
12845 Remove __builtin_expect test because we require at least gcc 3.4.
12846 * aclocal.m4: Likewise.
12847
12848 * wcsmbs/mbrtoc16.c: Implement using towc function.
12849 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
12850 * wcsmbs/wcsmbsload.c: Likewise.
12851 * iconv/gconv_simple.c: Likewise.
12852 * iconv/gconv_int.h: Likewise.
12853 * iconv/gconv_builtin.h: Likewise.
12854 * iconv/iconv_prog.c: Remove CHAR16 handling.
12855
12856 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
12857
12858 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
12859
12860 * configure.in: Remove --with-elf and --enable-bounded options.
12861 Dont set base_machine for ia64. More non-ELF conditions removed.
12862 Remove testing and setting of leading underscore information.
12863 * config.make.in (build-bounded): Set to no.
12864 * config.h.in: Remove NO_UNDERSCORES entry.
12865 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
12866 them.
12867 * csu/start.c: Remove !NO_UNDERSCORE code.
12868 * locale/localeinfo.h: Likewise.
12869 * sysdeps/generic/machine-gmon.h: Likewise.
12870 * sysdeps/generic/sysdep.h: Likewise.
12871 * sysdeps/i386/sysdep.h: Likewise.
12872 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12873 * sysdeps/mach/sysdep.h: Likewise.
12874 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12875 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12876 * sysdeps/sh/sysdep.h: Likewise.
12877 * sysdeps/sparc/sparc32/alloca.S: Likewise.
12878 * sysdeps/unix/i386/sysdep.S: Likewise.
12879 * sysdeps/unix/sparc/start.c: Likewise.
12880 * sysdeps/unix/sparc/sysdep.S: Likewise.
12881 * sysdeps/unix/sparc/sysdep.h: Likewise.
12882 * sysdeps/unix/start.c: Likewise.
12883 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12884 * sysdeps/x86_64/sysdep.h: Likewise.
12885
12886 2012-01-07 Ulrich Drepper <drepper@gmail.com>
12887
12888 [BZ #13553]
12889 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
12890 for non-gcc.
12891 * argp/argp-fmtstream.h: Use const instead __const.
12892 * argp/argp.h: Likewise.
12893 * assert/assert.h: Likewise.
12894 * bits/fenv.h: Likewise.
12895 * bits/sched.h: Likewise.
12896 * bits/sigset.h: Likewise.
12897 * bits/sigthread.h: Likewise.
12898 * catgets/nl_types.h: Likewise.
12899 * conform/data/pthread.h-data: Likewise.
12900 * crypt/crypt-private.h: Likewise.
12901 * crypt/crypt.h: Likewise.
12902 * crypt/crypt_util.c: Likewise.
12903 * ctype/ctype.h: Likewise.
12904 * debug/execinfo.h: Likewise.
12905 * debug/mbsnrtowcs_chk.c: Likewise.
12906 * debug/mbsrtowcs_chk.c: Likewise.
12907 * debug/wcsnrtombs_chk.c: Likewise.
12908 * debug/wcsrtombs_chk.c: Likewise.
12909 * debug/wcstombs_chk.c: Likewise.
12910 * dirent/dirent.h: Likewise.
12911 * dlfcn/dlfcn.h: Likewise.
12912 * elf/neededtest4.c: Likewise.
12913 * grp/grp.h: Likewise.
12914 * gshadow/gshadow.h: Likewise.
12915 * iconv/gconv.h: Likewise.
12916 * iconv/gconv_int.h: Likewise.
12917 * iconv/gconv_simple.c: Likewise.
12918 * iconv/iconv.h: Likewise.
12919 * iconv/loop.c: Likewise.
12920 * iconv/skeleton.c: Likewise.
12921 * include/aio.h: Likewise.
12922 * include/aliases.h: Likewise.
12923 * include/argz.h: Likewise.
12924 * include/arpa/inet.h: Likewise.
12925 * include/assert.h: Likewise.
12926 * include/dirent.h: Likewise.
12927 * include/dlfcn.h: Likewise.
12928 * include/execinfo.h: Likewise.
12929 * include/fcntl.h: Likewise.
12930 * include/fenv.h: Likewise.
12931 * include/glob.h: Likewise.
12932 * include/grp.h: Likewise.
12933 * include/libintl.h: Likewise.
12934 * include/mntent.h: Likewise.
12935 * include/netdb.h: Likewise.
12936 * include/pwd.h: Likewise.
12937 * include/rpc/netdb.h: Likewise.
12938 * include/sched.h: Likewise.
12939 * include/search.h: Likewise.
12940 * include/shadow.h: Likewise.
12941 * include/signal.h: Likewise.
12942 * include/stdio.h: Likewise.
12943 * include/stdlib.h: Likewise.
12944 * include/string.h: Likewise.
12945 * include/sys/socket.h: Likewise.
12946 * include/sys/stat.h: Likewise.
12947 * include/sys/statfs.h: Likewise.
12948 * include/sys/statvfs.h: Likewise.
12949 * include/sys/syslog.h: Likewise.
12950 * include/sys/time.h: Likewise.
12951 * include/sys/uio.h: Likewise.
12952 * include/time.h: Likewise.
12953 * include/unistd.h: Likewise.
12954 * include/utmp.h: Likewise.
12955 * include/wchar.h: Likewise.
12956 * include/wctype.h: Likewise.
12957 * inet/aliases.h: Likewise.
12958 * inet/arpa/inet.h: Likewise.
12959 * inet/netinet/ether.h: Likewise.
12960 * inet/netinet/in.h: Likewise.
12961 * intl/libintl.h: Likewise.
12962 * io/bits/fcntl2.h: Likewise.
12963 * io/fcntl.h: Likewise.
12964 * io/ftw.h: Likewise.
12965 * io/sys/poll.h: Likewise.
12966 * io/sys/stat.h: Likewise.
12967 * io/sys/statfs.h: Likewise.
12968 * io/sys/statvfs.h: Likewise.
12969 * io/utime.h: Likewise.
12970 * libio/bits/stdio.h: Likewise.
12971 * libio/bits/stdio2.h: Likewise.
12972 * libio/libio.h: Likewise.
12973 * libio/libioP.h: Likewise.
12974 * libio/stdio.h: Likewise.
12975 * locale/lc-ctype.c: Likewise.
12976 * locale/locale.h: Likewise.
12977 * login/utmp.h: Likewise.
12978 * malloc/arena.c: Likewise.
12979 * malloc/malloc.c: Likewise.
12980 * malloc/malloc.h: Likewise.
12981 * malloc/mcheck.c: Likewise.
12982 * malloc/mtrace.c: Likewise.
12983 * math/bits/mathcalls.h: Likewise.
12984 * math/fenv.h: Likewise.
12985 * math/math_private.h: Likewise.
12986 * misc/bits/error.h: Likewise.
12987 * misc/bits/syslog.h: Likewise.
12988 * misc/err.h: Likewise.
12989 * misc/error.h: Likewise.
12990 * misc/fstab.h: Likewise.
12991 * misc/mntent.h: Likewise.
12992 * misc/regexp.h: Likewise.
12993 * misc/search.h: Likewise.
12994 * misc/sgtty.h: Likewise.
12995 * misc/sys/mman.h: Likewise.
12996 * misc/sys/syslog.h: Likewise.
12997 * misc/sys/uio.h: Likewise.
12998 * misc/sys/xattr.h: Likewise.
12999 * misc/ttyent.h: Likewise.
13000 * nis/rpcsvc/ypclnt.h: Likewise.
13001 * nss/nss.h: Likewise.
13002 * posix/bits/unistd.h: Likewise.
13003 * posix/fnmatch.h: Likewise.
13004 * posix/glob.h: Likewise.
13005 * posix/sched.h: Likewise.
13006 * posix/spawn.h: Likewise.
13007 * posix/sys/wait.h: Likewise.
13008 * posix/unistd.h: Likewise.
13009 * posix/wordexp.h: Likewise.
13010 * pwd/pwd.h: Likewise.
13011 * resolv/netdb.h: Likewise.
13012 * resource/sys/resource.h: Likewise.
13013 * rt/aio.h: Likewise.
13014 * rt/bits/mqueue2.h: Likewise.
13015 * rt/mqueue.h: Likewise.
13016 * shadow/shadow.h: Likewise.
13017 * signal/signal.h: Likewise.
13018 * socket/send.c: Likewise.
13019 * socket/sendto.c: Likewise.
13020 * socket/sys/socket.h: Likewise.
13021 * stdio-common/printf.h: Likewise.
13022 * stdlib/bits/stdlib.h: Likewise.
13023 * stdlib/fmtmsg.h: Likewise.
13024 * stdlib/monetary.h: Likewise.
13025 * stdlib/stdlib.h: Likewise.
13026 * stdlib/ucontext.h: Likewise.
13027 * streams/stropts.h: Likewise.
13028 * string/argz.h: Likewise.
13029 * string/bits/string2.h: Likewise.
13030 * string/string.h: Likewise.
13031 * string/strings.h: Likewise.
13032 * sunrpc/rpc/auth.h: Likewise.
13033 * sunrpc/rpc/auth_des.h: Likewise.
13034 * sunrpc/rpc/clnt.h: Likewise.
13035 * sunrpc/rpc/netdb.h: Likewise.
13036 * sunrpc/rpc/pmap_clnt.h: Likewise.
13037 * sunrpc/rpc/xdr.h: Likewise.
13038 * sysdeps/generic/inttypes.h: Likewise.
13039 * sysdeps/generic/net/if.h: Likewise.
13040 * sysdeps/generic/sys/swap.h: Likewise.
13041 * sysdeps/gnu/net/if.h: Likewise.
13042 * sysdeps/gnu/utmpx.h: Likewise.
13043 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
13044 * sysdeps/i386/i486/bits/string.h: Likewise.
13045 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
13046 * sysdeps/s390/bits/string.h: Likewise.
13047 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
13048 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
13049 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
13050 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
13051 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
13052 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
13053 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
13054 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
13055 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
13056 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
13057 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
13058 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13059 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
13060 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13061 * sysdeps/unix/sysv/linux/readv.c: Likewise.
13062 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
13063 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13064 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13065 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13066 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13067 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13068 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
13069 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
13070 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
13071 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
13072 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
13073 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
13074 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13075 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
13076 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
13077 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
13078 * sysvipc/sys/ipc.h: Likewise.
13079 * sysvipc/sys/msg.h: Likewise.
13080 * sysvipc/sys/sem.h: Likewise.
13081 * sysvipc/sys/shm.h: Likewise.
13082 * termios/termios.h: Likewise.
13083 * time/sys/time.h: Likewise.
13084 * time/time.h: Likewise.
13085 * wcsmbs/bits/wchar2.h: Likewise.
13086 * wcsmbs/uchar.h: Likewise.
13087 * wcsmbs/wchar.h: Likewise.
13088 * wctype/wctype.h: Likewise.
13089
13090 [BZ #13551]
13091 * Makeconfig: Remove all but ELF support including AIX support.
13092 * Makerules: Likewise.
13093 * config.h.in: Likewise.
13094 * config.make.in: Likewise.
13095 * configure: Likewise.
13096 * configure.in: Likewise.
13097 * csu/Makefile: Likewise.
13098 * csu/version.c: Likewise.
13099 * debug/Makefile: Likewise.
13100 * dlfcn/Makefile: Likewise.
13101 * elf/Makefile: Likewise.
13102 * extra-lib.mk: Likewise.
13103 * iconv/Makefile: Likewise.
13104 * include/libc-symbols.h: Likewise.
13105 * include/shlib-compat.h: Likewise.
13106 * resolv/Makefile: Likewise.
13107 * resolv/res_libc.c: Likewise.
13108 * rt/Makefile: Likewise.
13109 * sysdeps/i386/asm-syntax.h: Likewise.
13110 * sysdeps/i386/sysdep.h: Likewise.
13111 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13112 * sysdeps/mach/sysdep.h: Likewise.
13113 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
13114 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
13115 * sysdeps/s390/asm-syntax.h: Likewise.
13116 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13117 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13118 * sysdeps/sh/sysdep.h: Likewise.
13119 * sysdeps/unix/sparc/sysdep.h: Likewise.
13120 * sysdeps/wordsize-32/divdi3.c: Likewise.
13121 * sysdeps/x86_64/sysdep.h: Likewise.
13122
13123 * argp/Versions: Remove _argp_unlock_xxx.
13124
13125 [BZ #13559]
13126 * abilist/ld.abilist: Update. Adjust for removal of tls option.
13127 * abilist/libBrokenLocale.abilist: Likewise.
13128 * abilist/libanl.abilist: Likewise.
13129 * abilist/libc.abilist: Likewise.
13130 * abilist/libcrypt.abilist: Likewise.
13131 * abilist/libdl.abilist: Likewise.
13132 * abilist/libm.abilist: Likewise.
13133 * abilist/libnsl.abilist: Likewise.
13134 * abilist/libpthread.abilist: Likewise.
13135 * abilist/libresolv.abilist: Likewise.
13136 * abilist/librt.abilist: Likewise.
13137 * abilist/libthread_db.abilist: Likewise.
13138 * abilist/libutil.abilist: Likewise.
13139 * abilist/libnss_db.abilist: New file.
13140
13141 * scripts/abilist.awk: Add support for indirect functions.
13142
13143 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
13144
13145 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
13146
13147 * shlib-versions: Remove entries for ports architectures.
13148
13149 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
13150 files in ports.
13151 * elf/stackguard-macros.h: Remove support for IA-64.
13152 * elf/tst-auditmod1.c: Likewise.
13153 * sysdeps/generic/ldsodefs.h: Likewise.
13154
13155 * sysdeps/unix/sysv/linux/configure.in: Ports should define
13156 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
13157 configure files.
13158
13159 [BZ #13552]
13160 * configure.in: Remove --enable-omitfp support.
13161 * FAQ.in: Adjust.
13162 * config.make.in: Likewise.
13163 * Makeconfig: Likewise.
13164 * manual/install.texi: Likewise.
13165
13166 In case anyone cares, the IA-64 architecture could move to ports.
13167 * sysdeps/ia64/*: Removed.
13168 * sysdeps/unix/sysv/linux/ia64/*: Removed.
13169 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
13170
13171 [BZ #13555]
13172 * configure.in: Remove entries for unsupported architectures.
13173
13174 [BZ #13533]
13175 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
13176 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
13177 routines.
13178 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
13179 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
13180 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
13181 fall back to using wcrtomb.
13182 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
13183 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
13184 renaming.
13185 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
13186 * wcsmbs/tst-c16c32-1.c: New file.
13187
13188 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
13189 local variable.
13190
13191 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
13192
13193 * elf/tst-unique3.cc: Add explicit declaration of gets.
13194 * elf/tst-unique3lib.cc: Likewise.
13195 * elf/tst-unique3lib2.cc: Likewise.
13196 * elf/tst-unique4.cc: Likewise.
13197
13198 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
13199
13200 2012-01-06 Joseph Myers <joseph@codesourcery.com>
13201
13202 [BZ #13566]
13203 * assert/assert.h (static_assert): Don't define for C++.
13204 * libio/stdio.h (gets): Do declare for C++ <= C++11.
13205 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
13206
13207 2012-01-03 Ulrich Drepper <drepper@gmail.com>
13208
13209 * iconv/loop.c (single loop): Fix assertion in storing of
13210 remaining bytes.
13211
13212 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
13213
13214 2012-01-01 Ulrich Drepper <drepper@gmail.com>
13215
13216 * posix/getconf.c: Update copyright year.
13217 * nss/getent.c: Likewise.
13218 * nss/makedb.c: Likewise.
13219 * iconv/iconvconfig.c: Likewise.
13220 * iconv/iconv_prog.c: Likewise.
13221 * elf/ldconfig.c: Likewise.
13222 * elf/pldd.c: Likewise.
13223 * elf/sotruss.ksh: Likewise.
13224 * catgets/gencat.c: Likewise.
13225 * csu/version.c: Likewise.
13226 * elf/ldd.bash.in: Likewise.
13227 * elf/sprof.c (print_version): Likewise.
13228 * locale/programs/locale.c: Likewise.
13229 * locale/programs/localedef.c: Likewise.
13230 * login/programs/pt_chown.c: Likewise.
13231 * nscd/nscd.c (print_version): Likewise.
13232 * debug/xtrace.sh: Likewise.
13233 * malloc/memusage.sh: Likewise.
13234 * malloc/mtrace.pl: Likewise.
13235 * debug/catchsegv.sh: Likewise.
13236
13237 2011-12-30 Jakub Jelinek <jakub@redhat.com>
13238
13239 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
13240 pure attribute.
13241
13242 2011-12-24 Ulrich Drepper <drepper@gmail.com>
13243
13244 [BZ #13533]
13245 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
13246 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
13247 transformations.
13248 * iconv/gconv_int.h: Likewise.
13249 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
13250 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
13251 from libc for GLIBC_2.16.
13252 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
13253 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
13254 * wcsmbs/uchar.h: Really define mbstate_t.
13255 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
13256 * wcsmbs/c16rtomb.c: New file.
13257 * wcsmbs/mbrtoc16.c: New file.
13258 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
13259 for C/POSIX locale.
13260 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
13261 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
13262
13263 * wcsmbs/wchar.h: Add missing __restrict.
13264
13265 2011-12-23 Ulrich Drepper <drepper@gmail.com>
13266
13267 [BZ #13532]
13268 * time/Makefile (routines): Add timespec_get.
13269 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
13270 * time/time.h: Define TIME_UTC and declare timespec_get. Define
13271 timespec for ISO C11.
13272 * time/timespec_get.c: New file.
13273 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
13274 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
13275
13276 [BZ #13531]
13277 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
13278 * stdlib/stdlib.h: Declare aligned_alloc.
13279 * Versions.def: Add GLIBC_2.16 for libc.
13280 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
13281
13282 [BZ 13527]
13283 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
13284 ISO C11.
13285
13286 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
13287 code.
13288
13289 [BZ #13528]
13290 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
13291
13292 [BZ #13529]
13293 * assert/assert.h (static_assert): Define.
13294
13295 * version.h: Update for 2.16 development version.
13296
13297 [BZ #13526]
13298 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
13299 _ISOC11_SOURCE.
13300
13301 * version.h (RELEASE): Bump for 2.15 release.
13302 * include/features.h (__GLIBC_MINOR__): Bump to 15.
13303
13304 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
13305 Patch by Marek Polacek <mpolacek@redhat.com>.
13306
13307 * bits/byteswap.h: Protect long long constants with __extension__.
13308 * sysdeps/i386/bits/byteswap.h: Likewise.
13309 * sysdeps/ia64/bits/byteswap.h: Likewise.
13310 * sysdeps/s390/bits/byteswap.h: Likewise.
13311 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13312
13313 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13314
13315 [BZ #13540]
13316 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
13317 destination buffer.
13318 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
13319
13320 2011-12-23 Marek Polacek <polacek@redhat.com>
13321
13322 * elf/dl-addr.c (determine_info): Add inline keyword.
13323 * elf/tst-auditmod4b.c (check_avx): Likewise.
13324 * elf/tst-auditmod6b.c (check_avx): Likewise.
13325 * elf/tst-auditmod6c.c (check_avx): Likewise.
13326 * elf/tst-auditmod7b.c (check_avx): Likewise.
13327
13328 2011-12-23 Ulrich Drepper <drepper@gmail.com>
13329
13330 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
13331 !__SSE_MATH__.
13332
13333 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13334
13335 [BZ #13540]
13336 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
13337 processing for last bytes.
13338
13339 2011-08-06 Bruno Haible <bruno@clisp.org>
13340
13341 [BZ #13061]
13342 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
13343 U+0385, not to U+1FEE.
13344
13345 [BZ #13062]
13346 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
13347 entry for U+00A5 U+0301.
13348
13349 2011-12-22 Ulrich Drepper <drepper@gmail.com>
13350
13351 [BZ #13166]
13352 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
13353 buffer for the output is too small.
13354
13355 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
13356 optimization.
13357
13358 [BZ #13185]
13359 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
13360 SSE flags if possible.
13361
13362 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13363
13364 [BZ #13540]
13365 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
13366 processing for last bytes.
13367
13368 2011-12-22 Joseph Myers <joseph@codesourcery.com>
13369
13370 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
13371 (syscall-list-default-options, syscall-list-default-condition)
13372 (syscall-list-includes): Define.
13373 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
13374 list of ABIs and options and #if conditions for each ABI. Do not
13375 handle common syscalls between ABIs specially.
13376 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
13377 Remove.
13378 (syscall-list-variants, syscall-list-32bit-options)
13379 (syscall-list-32bit-condition, syscall-list-64bit-options)
13380 (syscall-list-64bit-condition): Define.
13381 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
13382 (syscall-list-variants, syscall-list-32bit-options)
13383 (syscall-list-32bit-condition, syscall-list-64bit-options)
13384 (syscall-list-64bit-condition): Define.
13385 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
13386 Remove.
13387 (syscall-list-variants, syscall-list-32bit-options)
13388 (syscall-list-32bit-condition, syscall-list-64bit-options)
13389 (syscall-list-64bit-condition): Define.
13390 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
13391 Remove.
13392 (syscall-list-variants, syscall-list-32bit-options)
13393 (syscall-list-32bit-condition, syscall-list-64bit-options)
13394 (syscall-list-64bit-condition): Define.
13395
13396 2011-12-22 Ulrich Drepper <drepper@gmail.com>
13397
13398 * locale/iso-639.def: Add brx entry.
13399
13400 [BZ #13328]
13401 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
13402 Proposed by Mariusz_Cukr <marcukr@op.pl>.
13403
13404 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
13405 __feraiseexcept_renamed.
13406
13407 2011-12-21 Ulrich Drepper <drepper@gmail.com>
13408
13409 [BZ #13538]
13410 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
13411 EPOLLET with unsigned values.
13412 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13413 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13414
13415 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
13416 to large cancellation.
13417 * math/s_cacoshf.c: Likewise.
13418 * math/s_cacoshl.c: Likewise.
13419
13420 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
13421
13422 [BZ #13305]
13423 [BZ #12786]
13424 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
13425 * math/s_cacoshf.c: Likewise.
13426 * math/s_cacoshl.c: Likewise.
13427
13428 2011-12-21 Ulrich Drepper <drepper@gmail.com>
13429
13430 [BZ #13439]
13431 * iconv/gconv.h: Define __GCONV_SWAP.
13432 * iconvdata/unicode.c: The swap bit must be stored in __flags.
13433 * iconvdata/utf-16.c: Likewise.
13434 * iconvdata/utf-32.c: Likewise.
13435
13436 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
13437
13438 [BZ #13524]
13439 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
13440 numerator after shifting it by one limb.
13441
13442 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
13443
13444 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
13445 under [__USE_EXTERN_INLINES].
13446
13447 2011-12-17 Ulrich Drepper <drepper@gmail.com>
13448
13449 [BZ #13446]
13450 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
13451
13452 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13453
13454 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
13455 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
13456 optimized code.
13457 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
13458 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
13459 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
13460 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
13461 for strncasecmp/strncasecmp_l compilation.
13462 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
13463 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
13464
13465 2011-12-08 Marek Polacek <mpolacek@redhat.com>
13466
13467 [BZ #13484]
13468 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
13469 of __asm__.
13470
13471 2011-12-17 Ulrich Drepper <drepper@gmail.com>
13472
13473 [BZ #13506]
13474 * time/tzfile.c (__tzfile_read): Check values from file header.
13475
13476 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13477
13478 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
13479 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
13480 * powerpc/powerpc32/dl-start.S: Likewise.
13481 * powerpc/powerpc32/elf/start.S: Likewise.
13482 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13483 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
13484 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
13485 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
13486 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13487 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
13488 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
13489 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
13490 * powerpc/powerpc32/fpu/s_round.S: Likewise.
13491 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13492 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13493 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13494 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
13495 * powerpc/powerpc32/memset.S: Likewise.
13496 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13497 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13498 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13499 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13500 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13501 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13502 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13503 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13504 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
13505 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
13506 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
13507 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13508 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13509
13510 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13511
13512 * math/libm-test.inc: Added more nearbyint tests.
13513 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
13514 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
13515 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
13516 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
13517
13518 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
13519
13520 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
13521 FD_CLOEXEC.
13522
13523 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13524
13525 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
13526 Add wcscpy-ssse3 wcscpy-c.
13527 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
13528 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
13529 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
13530 * sysdeps/x86_64/wcschr.S: New file.
13531 * sysdeps/x86_64/wcsrchr.S: New file.
13532 * string/test-strcmp.c: Remove checking of wcscmp function for
13533 wrong alignments.
13534 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
13535 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
13536 wcsrchr-sse2 wcsrchr-c.
13537 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
13538 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
13539 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
13540 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
13541 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
13542 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
13543 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
13544 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
13545 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
13546 * wcsmbc/wcschr.c (WCSCHR): New macro.
13547
13548 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13549
13550 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
13551 * wcsmbs/test-wcsrchr.c: New file.
13552 * string/test-strrchr.c: Add wcsrchr support.
13553 (WIDE): New macro.
13554 * wcsmbs/test-wcscpy.c: New file.
13555 * string/test-strcpy.c: Add wcscpy support.
13556 (WIDE): New macro.
13557
13558 2011-12-10 Ulrich Drepper <drepper@gmail.com>
13559
13560 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
13561 the inner loop.
13562
13563 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
13564
13565 [BZ #13472]
13566 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
13567
13568 2011-12-04 Ulrich Drepper <drepper@gmail.com>
13569
13570 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
13571 Minor optimizations.
13572
13573 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
13574 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
13575 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
13576
13577 2011-12-03 Ulrich Drepper <drepper@gmail.com>
13578
13579 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
13580 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
13581 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
13582 for gcc to avoid warnings.
13583 * inet/Makefile (tests): Add tst-checks.
13584 * inet/tst-checks.c: New file.
13585
13586 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
13587 warning.
13588
13589 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
13590 __wmemcmp_sse2.
13591
13592 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
13593 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
13594
13595 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
13596
13597 2011-12-02 Ulrich Drepper <drepper@gmail.com>
13598
13599 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
13600 problem.
13601
13602 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
13603
13604 2011-11-29 Joseph Myers <joseph@codesourcery.com>
13605
13606 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
13607 conditional on GCC version.
13608 (__arch_compare_and_exchange_val_8_acq)
13609 (__arch_compare_and_exchange_val_16_acq)
13610 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
13611 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
13612 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
13613
13614 2011-12-02 Joseph Myers <joseph@codesourcery.com>
13615
13616 * sysdeps/sh/backtrace.c: New file.
13617
13618 2011-12-02 Andreas Schwab <schwab@redhat.com>
13619
13620 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
13621 parenthesis.
13622
13623 2011-12-01 Andreas Schwab <schwab@redhat.com>
13624
13625 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
13626 falling back to utime.
13627
13628 2011-11-30 Andreas Schwab <schwab@redhat.com>
13629
13630 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
13631 expectations for float.
13632
13633 2011-11-29 Andreas Schwab <schwab@redhat.com>
13634
13635 * locale/weight.h (findidx): Add parameter len.
13636 * locale/weightwc.h (findidx): Likewise.
13637 * posix/fnmatch_loop.c (FCT): Adjust caller.
13638 * posix/regcomp.c (build_equiv_class): Likewise.
13639 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
13640 * posix/regexec.c (check_node_accept_bytes): Likewise.
13641 * string/strcoll_l.c (STRCOLL): Likewise.
13642 * string/strxfrm_l.c (STRXFRM): Likewise.
13643
13644 2011-11-17 Ulrich Drepper <drepper@gmail.com>
13645
13646 * Makefile.in: Remove CVSOPT handling.
13647 * configure.in: Remove use of AC_REVISION.
13648 * iconvdata/Makefile (distribute): No need to filter out CVS.
13649 * scripts/list-sources.sh: Remove CVS, subversion and monotone
13650 handling.
13651
13652 2011-11-16 Andreas Schwab <schwab@redhat.com>
13653
13654 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
13655 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
13656 [USE_AS_STRNCASECMP_L]: Likewise.
13657 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
13658 NO_TLS_DIRECT_SEG_REFS.
13659 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
13660 Fix argument offsets for non-PIC.
13661 [USE_AS_STRNCASECMP_L]: Likewise.
13662 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
13663 NO_TLS_DIRECT_SEG_REFS.
13664
13665 2011-11-15 Ulrich Drepper <drepper@gmail.com>
13666
13667 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
13668 O_CLOEXEC.
13669 * locale/loadlocale.c (_nl_load_locale): Likewise.
13670
13671 2011-11-15 Andreas Schwab <schwab@redhat.com>
13672
13673 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
13674 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
13675 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
13676 (SYSCALL_GETTIME): Set errno on error.
13677
13678 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
13679 count references to noai6ai_cached.
13680
13681 2011-11-15 Ulrich Drepper <drepper@gmail.com>
13682
13683 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
13684
13685 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
13686 FD_CLOEXEC for /proc/self/maps.
13687
13688 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
13689 FD_CLOEXEC for /proc/meminfo.
13690
13691 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
13692 gai.conf.
13693
13694 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
13695 FD_CLOEXEC for given file.
13696
13697 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
13698
13699 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
13700 FD_CLOEXEC for /etc/hosts.
13701 (_gethtent): Likewise.
13702
13703 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
13704
13705 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
13706 cancellation and set FD_CLOEXEC for /etc/netgroup.
13707
13708 * nss/nss_files/files-key.c (search): Don't allow cancellation when
13709 reading /etc/publickey.
13710
13711 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
13712 allow cancellation when reading /etc/group.
13713
13714 * nss/nss_files/files-alias.c (internal_setent): Don't allow
13715 cancellation.
13716 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
13717
13718 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
13719 when using data file.
13720
13721 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
13722
13723 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
13724 (write_nis_obj): Use "c" and "e" in fopen.
13725
13726 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
13727
13728 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
13729
13730 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
13731
13732 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
13733
13734 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
13735 locale.alias.
13736
13737 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
13738
13739 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
13740
13741 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
13742
13743 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
13744 file parsing and set FD_CLOEXEC.
13745
13746 2011-11-14 Ulrich Drepper <drepper@gmail.com>
13747
13748 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
13749
13750 2011-11-14 Andreas Schwab <schwab@redhat.com>
13751
13752 * malloc/arena.c (arena_get2): Don't call reused_arena when
13753 _int_new_arena failed.
13754
13755 2011-11-14 Ulrich Drepper <drepper@gmail.com>
13756
13757 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
13758 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
13759 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
13760 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13761 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13762 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
13763 to compile strcasecmp and strncasecmp.
13764 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
13765 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
13766
13767 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
13768
13769 2011-11-13 Ulrich Drepper <drepper@gmail.com>
13770
13771 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
13772 locale-defines.sym to gen-as-const-headers.
13773 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
13774 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
13775 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
13776 to compile strcasecmp and strncasecmp.
13777 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
13778 strcasecmp_l and strncasecmp_l.
13779 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
13780 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
13781 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
13782 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
13783 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
13784 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
13785 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
13786 * sysdeps/i386/i686/multiarch/strncase.S: New file.
13787 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
13788 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
13789 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
13790
13791 2011-11-12 Ulrich Drepper <drepper@gmail.com>
13792
13793 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
13794 result of SYSDEP_GETTIME_CPU to retval.
13795 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
13796 parameter list to macro. Remove trailing semicolon. Adjust users.
13797
13798 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
13799 variable.
13800
13801 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
13802 mantissa words.
13803 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13804
13805 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
13806 from unused variable.
13807
13808 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
13809 DWARF definitions.
13810 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
13811 for assembling.
13812
13813 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
13814 over namespaces.
13815
13816 * sunrpc/rpc_prot.c (rejected): Fix case value.
13817
13818 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
13819 unsigned long long int to avoid warnings in shift.
13820
13821 * posix/regex_internal.c (re_string_reconstruct): Actually use result
13822 of use of trans.
13823 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
13824 variable tmp.
13825
13826 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
13827 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
13828 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
13829
13830 * nis/nis_table.c (nis_list): Use variable of correct type for
13831 result of __follow_path call.
13832
13833 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13834
13835 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
13836 of math functions ceil, trunc, floor, round, and sqrt, when
13837 avaliable on the platform.
13838 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
13839 name clash.
13840 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13841 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13842 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13843
13844 2011-10-30 Marek Polacek <mpolacek@redhat.com>
13845
13846 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
13847 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13848
13849 2011-11-11 Roland McGrath <roland@hack.frob.com>
13850
13851 * include/unistd.h: Fix __readlink return type.
13852 Reported by Chris Metcalf <cmetcalf@tilera.com>.
13853
13854 2011-11-11 Ulrich Drepper <drepper@gmail.com>
13855
13856 * stdlib/ucontext.h: Undo last change for makecontext.
13857
13858 2011-11-11 Andreas Schwab <schwab@redhat.com>
13859
13860 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
13861
13862 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
13863 * setjmp/setjmp.h: Mark functions as non-leaf.
13864 * setjmp/bits/setjmp2.h: Likewise.
13865 * stdlib/ucontext.h: Likewise.
13866
13867 2011-11-10 Andreas Schwab <schwab@redhat.com>
13868
13869 * malloc/arena.c (_int_new_arena): Don't increment narenas.
13870 (reused_arena): Don't check arena limit.
13871 (arena_get2): Atomically check arena limit.
13872
13873 2011-11-08 Ulrich Drepper <drepper@gmail.com>
13874
13875 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
13876 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
13877
13878 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
13879 instructions.
13880
13881 2011-11-07 Andreas Schwab <schwab@redhat.com>
13882
13883 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
13884 handler when locking.
13885
13886 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13887 Fix size of allocated buffer.
13888
13889 2011-11-04 Andreas Schwab <schwab@redhat.com>
13890
13891 [BZ #10103]
13892 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
13893 declarations for long double functions.
13894 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
13895
13896 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
13897
13898 2011-11-03 Andreas Schwab <schwab@redhat.com>
13899
13900 * nscd/nscd.c (main): Don't start AVC thread until credentials are
13901 installed.
13902
13903 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
13904 is disabled.
13905
13906 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13907
13908 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
13909
13910 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
13911
13912 * include/alloca.h (stackinfo_alloca_round): Define.
13913 (extend_alloca): Use it.
13914 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
13915 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
13916 here.
13917
13918 * scripts/check-local-headers.sh: Ignore libaudit.h.
13919
13920 * nscd/Makefile (extra-objs): Make recursively expanded.
13921
13922 2011-11-01 Ulrich Drepper <drepper@gmail.com>
13923
13924 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
13925 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13926
13927 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
13928 * posix/tst-rfc3484-2.c: Likewise.
13929 * posix/tst-rfc3484-3.c: Likewise.
13930
13931 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13932 process_vm_writev.
13933 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
13934 process_vm_writev.
13935 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
13936 process_vm_writev from libc using GLIBC_2.15 version.
13937
13938 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
13939
13940 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
13941
13942 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
13943 stack usage.
13944
13945 2011-10-31 Ulrich Drepper <drepper@gmail.com>
13946
13947 [BZ #13367]
13948 * nss/getent.c (initgroups_keys): Show error message in case no group
13949 names are given.
13950
13951 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
13952 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
13953 __bump_nl_timestamp.
13954 * nscd/connections (nscd_init): When host database is served open
13955 netlink socket and request notification about configuration changes.
13956 (main_loop_poll): Track netlink file descriptor and bump timestamp
13957 in case data becomes available.
13958 (main_loop_epoll): Likewise.
13959 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
13960 (database_pers_head): Add extra_data fileds.
13961 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
13962 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
13963 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
13964 Adjust caller.
13965 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
13966 in6ai data, call __free_in6ai.
13967 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
13968 Add -DHAVE_NETLINK.
13969 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
13970 interface information. Reuse previous data if netlink timestamp
13971 is not changed.
13972 (__bump_nl_timestamp): New function.
13973 (__free_in6ai): New function.
13974
13975 2011-10-30 Ulrich Drepper <drepper@gmail.com>
13976
13977 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
13978 close_not_cancel_no_status here.
13979 (__check_pf): Reorganize code a bit to not call close twice if OOM.
13980
13981 2011-10-29 Ulrich Drepper <drepper@gmail.com>
13982
13983 [BZ #13276]
13984 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
13985 return value.
13986
13987 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
13988 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
13989 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
13990
13991 2011-07-03 Andreas Jaeger <aj@suse.de>
13992
13993 [BZ #10709]
13994 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
13995 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
13996 * math/libm-test.inc (sin_test): Add test case.
13997
13998 2011-10-29 Ulrich Drepper <drepper@gmail.com>
13999
14000 [BZ #13337]
14001 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
14002 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14003
14004 * elf/chroot_canon.c (chroot_canon): Cleanups.
14005
14006 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
14007
14008 [BZ #13335]
14009 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
14010 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14011
14012 * string/test-strchr.c: Make usable for strchrnul testing.
14013 * string/test-strchrnul.c: New file.
14014 * string/Makefile (strop-tests): Add strchrnul.
14015
14016 * po/it.po: Update from translation team.
14017 * po/es.po: Likewise.
14018
14019 2011-10-28 Ulrich Drepper <drepper@gmail.com>
14020
14021 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
14022 the three constants needed as parameters. Drop the others.
14023 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
14024 __m128i_strloadu_tolower.
14025 Create and initialize variable zero and use it in all the places
14026 where _mm_setzero_si128 was used.
14027
14028 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
14029 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
14030 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
14031 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
14032 anymore.
14033 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
14034 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
14035 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
14036 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
14037 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
14038 __mpranred, __mptan.
14039 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
14040 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
14041 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
14042 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
14043 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
14044 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
14045 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
14046 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
14047 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
14048
14049 2011-10-28 Andreas Schwab <schwab@redhat.com>
14050
14051 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
14052 redefine if SHARED.
14053 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
14054
14055 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
14056 wide char related routines to wcsmbs subdir.
14057
14058 2011-10-27 Andreas Schwab <schwab@redhat.com>
14059
14060 [BZ #13344]
14061 * misc/sys/cdefs.h (__THROWNL): Define.
14062 * posix/unistd.h: Use __THREADNL instead of __THREAD
14063 for memory synchronization functions.
14064
14065 2011-10-26 Roland McGrath <roland@hack.frob.com>
14066
14067 [BZ #13349]
14068 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
14069 doesn't exist.
14070 * manual/stdio.texi (Obstack Streams): Node removed.
14071
14072 2011-10-26 Andreas Schwab <schwab@redhat.com>
14073
14074 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
14075 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14076 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14077
14078 * math/math_private.h (math_force_eval): Allow non-addressable
14079 arguments.
14080 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
14081
14082 2011-10-25 Ulrich Drepper <drepper@gmail.com>
14083
14084 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
14085 file is not needed.
14086
14087 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
14088 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
14089 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14090 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14091 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14092 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14093 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14094 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
14095 Add AVX variants.
14096 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
14097 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
14098 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
14099 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
14100 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
14101 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
14102 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
14103 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
14104 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
14105 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
14106 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
14107 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
14108 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
14109 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
14110 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
14111 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
14112 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
14113 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
14114 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
14115
14116 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
14117 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
14118
14119 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
14120 place. Use VEX encoding when compiling for AVX.
14121
14122 2011-10-25 Andreas Schwab <schwab@redhat.com>
14123
14124 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
14125 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14126
14127 * string/test-strchr.c (do_test): Don't generate NUL bytes.
14128
14129 2011-10-25 Ulrich Drepper <drepper@gmail.com>
14130
14131 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
14132 useless if() expression.
14133 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14134 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14135 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14136 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14137 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14138 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14139 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14140 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14141 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14142 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14143 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14144 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14145 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14146 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14147 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14148 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14149 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14150 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14151 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14152
14153 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
14154
14155 2011-10-25 Andreas Schwab <schwab@redhat.com>
14156
14157 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
14158 condition.
14159 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14160
14161 2011-10-25 Ulrich Drepper <drepper@gmail.com>
14162
14163 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
14164 .text section. Avoid duplicate constants.
14165 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14166 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14167 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14168 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14169 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14170 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14171 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14172 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14173 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14174 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
14175 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14176 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14177 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14178 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14179 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14180 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14181 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14182 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14183 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14184 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14185 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14186 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14187 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14188 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
14189 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
14190 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
14191 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
14192 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
14193 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
14194 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
14195 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
14196 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
14197 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14198 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
14199 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
14200 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
14201 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
14202 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
14203 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
14204 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
14205 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
14206 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
14207 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
14208 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
14209 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
14210
14211 2011-10-24 Ulrich Drepper <drepper@gmail.com>
14212
14213 * sysdeps/x86_64/dla.h: Move to ...
14214 * sysdeps/x86_64/fpu/dla.h: ...here.
14215 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
14216 situations. Use __builtin_fma only for gcc 4.6 and up.
14217
14218 * config.make.in: Add have-mfma4 entry.
14219 * configure.in: Substitute libc_cv_cc_fma4.
14220 * math/Makefile (dbl-only-routines): Add sincostab.
14221 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
14222 Use __sincostab not sincos.
14223 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
14224 name is a macro.
14225 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14226 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14227 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14228 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
14229 using __copysign.
14230 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
14231 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
14232 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
14233 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
14234 and __inv.
14235 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
14236 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
14237 __copysign.
14238 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
14239 define aliases when function name is a macro.
14240 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
14241 sysdeps/ieee754/dbl-64/sincos.tbl.
14242 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
14243 fma4-enabled routines.
14244 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
14245 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
14246 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
14247 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
14248 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
14249 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
14250 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
14251 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
14252 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
14253 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
14254 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
14255 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
14256 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
14257 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
14258 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
14259 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
14260 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
14261 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
14262 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
14263 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
14264 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
14265 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
14266 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
14267 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
14268 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
14269 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
14270 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
14271 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
14272 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
14273 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
14274
14275 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
14276 rename.
14277 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14278 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14279 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14280 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14281 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14282 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14283 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14284 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14285
14286 2011-10-24 Andreas Schwab <schwab@redhat.com>
14287
14288 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
14289
14290 2011-10-23 Ulrich Drepper <drepper@gmail.com>
14291
14292 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
14293
14294 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
14295 prediction.
14296 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
14297
14298 * string/strnlen.c: Don't define STRNLEN, reverse logic.
14299 Remove unused variable magic_bits.
14300 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
14301
14302 * string/strnlen.c: Define and use STRNLEN macro.
14303 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
14304 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
14305 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
14306 * wcsmbs/wcslen.c: Define and use WCSLEN.
14307 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
14308 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
14309 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
14310 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
14311 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
14312 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
14313 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14314
14315 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14316
14317 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14318 strnlen-sse2-no-bsf.
14319 Rename strlen-no-bsf to strlen-sse2-no-bsf.
14320 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
14321 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
14322 Add strnlen support.
14323 (USE_AS_STRNLEN): New macro.
14324 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
14325 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
14326 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
14327 * sysdeps/x86_64/wcslen.S: New file.
14328
14329 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
14330
14331 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
14332 XMM-moves are used for copying on small sizes.
14333
14334 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14335
14336 * wcsmbs/Makefile (strop-tests): Add wcschr.
14337 * wcsmbs/test-wcschr.c: New file.
14338 * string/test-strchr.c: Update.
14339 Add wcschr support.
14340 (WIDE): New macro.
14341
14342 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14343
14344 * wcsmbs/Makefile (strop-tests): Add wcslen.
14345 * wcsmbs/test-wcslen.c: New file.
14346 * string/test-strlen.c: Update.
14347 Add wcslen support.
14348 (WIDE): New macro.
14349
14350 2011-10-23 Ulrich Drepper <drepper@gmail.com>
14351
14352 * po/it.po: Update from translation team.
14353
14354 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14355
14356 * sysdeps/x86_64/wcscmp.S: Update.
14357 Fix wrong comparison semantics.
14358 wcscmp shall use signed comparison not unsigned.
14359 Don't use substraction to avoid overflow bug.
14360 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
14361 * wcsmbc/wcscmp.c: Likewise.
14362 * string/test-strcmp.c: Likewise.
14363 Add new tests to check cases with negative values.
14364
14365 2011-10-23 Ulrich Drepper <drepper@gmail.com>
14366
14367 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
14368 * sysdeps/x86_64/dla.h: ...here. New file.
14369 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
14370 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14371 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14372 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14373 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14374 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14375 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14376 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14377 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14378
14379 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
14380
14381 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
14382 __ynl_finite aliases.
14383
14384 2011-10-22 Ulrich Drepper <drepper@gmail.com>
14385
14386 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14387
14388 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
14389 define DLA_FMA.
14390 [DLA_FMA] (EMULV): Use DLA_FMA.
14391 [DLA_FMA] (MUL12): Use EMULV.
14392 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
14393 that are not needed.
14394 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14395 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14396 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14397 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14398 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14399 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14400 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14401
14402 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
14403
14404 * math/s_nan.c: Undef __nan.
14405 * math/s_nanf.c: Undef __nanf.
14406 * math/s_nanl.c: Undef __nanl.
14407 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
14408 "math_private.h".
14409
14410 2011-10-22 Ulrich Drepper <drepper@gmail.com>
14411
14412 * math/s_catan.c: Add branch predictions.
14413 * math/s_catanf.c: Likewise.
14414 * math/s_catanh.c: Likewise.
14415 * math/s_catanhf.c: Likewise.
14416 * math/s_catanhl.c: Likewise.
14417 * math/s_catanl.c: Likewise.
14418 * math/s_cexp.c: Likewise.
14419 * math/s_cexpf.c: Likewise.
14420 * math/s_cexpl.c: Likewise.
14421 * math/s_clog.c: Likewise.
14422 * math/s_clog10.c: Likewise.
14423 * math/s_clog10f.c: Likewise.
14424 * math/s_clog10l.c: Likewise.
14425 * math/s_clogf.c: Likewise.
14426 * math/s_clogl.c: Likewise.
14427 * math/s_csqrt.c: Likewise.
14428 * math/s_csqrtf.c: Likewise.
14429 * math/s_csqrtl.c: Likewise.
14430 * math/s_ctanf.c: Likewise.
14431 * math/s_ctanh.c: Likewise.
14432 * math/s_ctanhf.c: Likewise.
14433 * math/s_ctanhl.c: Likewise.
14434 * math/s_ctanl.c: Likewise.
14435
14436 * math/math_private.h: Define __nan, __nanf, __nanl.
14437 * math/s_cacosh.c: Include <math_private.h>.
14438 * math/s_cacoshl.c: Likewise.
14439 * math/s_casinh.c: Likewise.
14440 * math/s_casinhf.c: Likewise.
14441 * math/s_casinhl.c: Likewise.
14442 * math/s_ccos.c: Rely entire on ccosh.
14443 * math/s_ccosf.c: Rely entire on ccoshf.
14444 * math/s_ccosl.c: Rely entirely on ccoshl.
14445 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
14446 Remove tests for FE_INVALID.
14447 * math/s_ccoshf.c: Likewise.
14448 * math/s_ccoshl.c: Likewise.
14449 * math/s_csin.c: Likewise.
14450 * math/s_csinf.c: Likewise.
14451 * math/s_csinh.c Likewise.
14452 * math/s_csinhf.c: Likewise.
14453 * math/s_csinhl.c: Likewise.
14454 * math/s_csinl.c: Likewise.
14455 * math/s_ctan.c: Likewise.
14456 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
14457 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
14458 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
14459
14460 2011-10-21 Ulrich Drepper <drepper@gmail.com>
14461
14462 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
14463 compilation problems.
14464
14465 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
14466 __builtin_expect.
14467
14468 2011-10-20 Ulrich Drepper <drepper@gmail.com>
14469
14470 * sysdeps/i386/configure.in: Test for -mfma4 option.
14471 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
14472 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
14473 COMMON_CPUID_INDEX_80000001.
14474 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
14475 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
14476 use it if FMA3 is not supported.
14477 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
14478
14479 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
14480 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14481
14482 2011-10-20 Andreas Schwab <schwab@redhat.com>
14483
14484 [BZ #12892]
14485 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
14486 it would create a cycle with a link time dependency.
14487
14488 2011-10-19 Ulrich Drepper <drepper@gmail.com>
14489
14490 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
14491 instruction.
14492 * string/Makefile (strop-tests): Add rawmemchr.
14493 * string/test-rawmemchr.c: New file.
14494
14495 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
14496 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
14497 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
14498 when compiling str{,n}casecmp and when AVX is available. Hook up
14499 new optimized code in initializers.
14500
14501 2011-10-19 Andreas Schwab <schwab@redhat.com>
14502
14503 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
14504 __feraiseexcept instead of feraiseexcept.
14505
14506 2011-10-18 Ulrich Drepper <drepper@gmail.com>
14507
14508 * math/math_private.h: Define defaults for libc_fetestexcept and
14509 libc_feupdateenv.
14510 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
14511 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
14512 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14513 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14514 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14515 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14516 libc_fetestexcept and libc_feupdateenv.
14517
14518 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
14519 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
14520 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
14521 * sysdeps/x86_64/fpu/math_private.h: Define special version of
14522 libc_feholdexcept_setround.
14523
14524 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
14525 Add s_nearbyint-c and s_nearbyintf-c.
14526 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
14527 nearbyintf inlines.
14528 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
14529 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
14530 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
14531 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
14532
14533 * math/math_private.h: Define defaults for libc_fegetround,
14534 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
14535 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
14536 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
14537 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
14538 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
14539 standard functions.
14540 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14541 Remove comments and hacks for old compiler versions.
14542 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14543 libc_fegetround, libc_fesetround, libc_feholdexcept, and
14544 libc_feholdexceptl.
14545
14546 2011-10-18 Andreas Schwab <schwab@redhat.com>
14547
14548 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
14549 (__feraiseexcept_renamed): Add __NTH.
14550 (feraiseexcept): Add __NTH. Rename local variables to fix
14551 namespace violations.
14552
14553 2011-10-17 Ulrich Drepper <drepper@gmail.com>
14554
14555 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
14556
14557 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
14558
14559 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
14560 recently added interfaces.
14561 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
14562
14563 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
14564 about macro parameter expansion.
14565
14566 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
14567 __NO_MATH_INLINES is defined. Cleanups.
14568
14569 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
14570 and __floorf is target has SSE4.1.
14571 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
14572 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
14573 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
14574 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
14575
14576 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
14577 name.
14578 (floorf): Likewise.
14579
14580 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
14581
14582 2011-10-17 Andreas Schwab <schwab@redhat.com>
14583
14584 * misc/sys/cdefs.h: Fix last change.
14585
14586 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
14587 database lookup.
14588
14589 2011-10-16 Ulrich Drepper <drepper@gmail.com>
14590
14591 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
14592
14593 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
14594 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14595 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14596 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14597 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14598 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14599 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14600 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14601 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14602 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
14603 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
14604 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
14605 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
14606 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
14607 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
14608 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
14609 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
14610 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
14611 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
14612 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
14613 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
14614 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
14615
14616 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
14617 ceil, ceilf, floor, floorf.
14618
14619 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
14620 Perform IRELATIVE relocations last.
14621
14622 * elf/do-rel.h: Add another parameter nrelative, replacing the
14623 local variable with the same name. Change name of the function
14624 to end in Rel or Rela (uppercase).
14625 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
14626 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
14627 elf_dynamic_do_##reloc function.
14628
14629 2011-10-15 Ulrich Drepper <drepper@gmail.com>
14630
14631 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
14632 is sufficient, at least on modern CPUs.
14633
14634 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
14635
14636 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
14637 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
14638
14639 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
14640 __expl_finite.
14641 * math/bits/math-finite.h: Add entries for exp.
14642 * math/e_expl.c: Add __*_finite alias.
14643 * sysdeps/i386/fpu/e_exp.S: Likewise.
14644 * sysdeps/i386/fpu/e_expf.S: Likewise.
14645 * sysdeps/i386/fpu/e_expl.c: Likewise.
14646 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14647 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14648 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14649 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14650 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
14651 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14652 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14653
14654 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
14655 is sufficient, at least on modern CPUs.
14656
14657 * ctype/ctype-info.c (__ctype_init): Define.
14658 * include/ctype.h (__ctype_init): Declare.
14659 (__ctype_b_loc): The variable is always initialized.
14660 (__ctype_toupper_loc): Likewise.
14661 (__ctype_tolower_loc): Likewise.
14662 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
14663 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
14664
14665 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
14666
14667 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
14668
14669 * configure.in: Also look in $cxxmachine/include for C++ system
14670 headers.
14671
14672 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14673
14674 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
14675 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
14676 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
14677 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
14678 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
14679 (USE_AS_WMEMCMP): New macro.
14680 Fixing indents.
14681 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
14682 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
14683 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
14684 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
14685 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14686 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
14687 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
14688 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
14689 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
14690 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
14691 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
14692 (USE_AS_WMEMCMP): New macro.
14693 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
14694 * sysdeps/string/test-memcmp.c: Update.
14695 Fix simple_wmemcmp.
14696 Add new tests.
14697 * wcsmbs/wmemcmp.c: Update.
14698 (WMEMCMP): New macro.
14699 Fix overflow bug.
14700
14701 2011-10-12 Andreas Jaeger <aj@suse.de>
14702
14703 [BZ #13268]
14704 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
14705
14706 2011-10-15 Ulrich Drepper <drepper@gmail.com>
14707
14708 * libio/iofwide.c (do_length): Avoid warning.
14709
14710 * ctype/ctype.h (__isctype_f): Add missing __THROW.
14711
14712 2011-10-14 Ulrich Drepper <drepper@gmail.com>
14713
14714 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
14715
14716 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
14717 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
14718 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
14719 * sysdeps/i386/i686/fpu/e_log.S: New file.
14720 * sysdeps/i386/i686/fpu/e_logf.S: New file.
14721 * sysdeps/i386/i686/fpu/e_logl.S: New file.
14722
14723 * ctype/ctype.h: Add support for inlined isXXX functions when
14724 compiling C++ code.
14725
14726 2011-10-14 Andreas Schwab <schwab@redhat.com>
14727
14728 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14729
14730 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
14731
14732 2011-10-13 Roland McGrath <roland@hack.frob.com>
14733
14734 [BZ #13291]
14735 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
14736
14737 2011-10-13 Andreas Schwab <schwab@redhat.com>
14738
14739 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
14740 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
14741 feraiseexcept.
14742
14743 * sysdeps/x86_64/memrchr.S: Check for zero size.
14744
14745 * string/stratcliff.c: Add memrchr tests.
14746
14747 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14748
14749 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14750 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
14751 rawmemchr-sse2 rawmemchr-sse2-bsf.
14752 * sysdeps/i386/i686/multiarch/memchr.S: New file.
14753 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
14754 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
14755 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
14756 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
14757 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
14758 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
14759 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
14760 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
14761 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
14762 * string/memrchr.c (MEMRCHR): New macro.
14763
14764 2011-10-12 Ulrich Drepper <drepper@gmail.com>
14765
14766 Add integration with gcc's -ffinite-math-only and optimize wrapper
14767 functions in libm.
14768 * Versions.def: Define GLIBC_2.15 version for libm.
14769 * math/Makefile (headers): Add bits/math-finite.h.
14770 * math/bits/math-finite.h: New file.
14771 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
14772 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
14773 * math/e_acoshl.c: Add __*_finite alias.
14774 * math/e_acosl.c: Likewise.
14775 * math/e_asinl.c: Likewise.
14776 * math/e_atan2l.c: Likewise.
14777 * math/e_atanhl.c: Likewise.
14778 * math/e_coshl.c: Likewise.
14779 * math/e_exp10.c: Likewise.
14780 * math/e_exp10f.c: Likewise.
14781 * math/e_exp10l.c: Likewise.
14782 * math/e_exp2l.c: Likewise.
14783 * math/e_fmodl.c: Likewise.
14784 * math/e_gammal_r.c: Likewise.
14785 * math/e_hypotl.c: Likewise.
14786 * math/e_j0l.c: Likewise.
14787 * math/e_j1l.c: Likewise.
14788 * math/e_jnl.c: Likewise.
14789 * math/e_lgammal_r.c: Likewise.
14790 * math/e_log10l.c: Likewise.
14791 * math/e_log2l.c: Likewise.
14792 * math/e_logl.c: Likewise.
14793 * math/e_powl.c: Likewise.
14794 * math/e_sinhl.c: Likewise.
14795 * math/e_sqrtl.c: Likewise.
14796 * math/e_scalb.c: Completely rewritten and optimized.
14797 * math/e_scalbf.c: Likewise.
14798 * math/e_scalbl.c: Likewise.
14799 * math/w_acos.c: Likewise.
14800 * math/w_acosf.c: Likewise.
14801 * math/w_acosl.c: Likewise.
14802 * math/w_acosh.c: Likewise.
14803 * math/w_acoshf.c: Likewise.
14804 * math/w_acoshl.c: Likewise.
14805 * math/w_asin.c: Likewise.
14806 * math/w_asinf.c: Likewise.
14807 * math/w_asinl.c: Likewise.
14808 * math/w_atan2.c: Likewise.
14809 * math/w_atan2f.c: Likewise.
14810 * math/w_atan2l.c: Likewise.
14811 * math/w_atanh.c: Likewise.
14812 * math/w_atanhf.c: Likewise.
14813 * math/w_atanhl.c: Likewise.
14814 * math/w_exp10.c: Likewise.
14815 * math/w_exp10f.c: Likewise.
14816 * math/w_exp10l.c: Likewise.
14817 * math/w_fmod.c: Likewise.
14818 * math/w_fmodf.c: Likewise.
14819 * math/w_fmodl.c: Likewise.
14820 * math/w_j0.c: Likewise.
14821 * math/w_j0f.c: Likewise.
14822 * math/w_j0l.c: Likewise.
14823 * math/w_j1.c: Likewise.
14824 * math/w_j1f.c: Likewise.
14825 * math/w_j1l.c: Likewise.
14826 * math/w_jn.c: Likewise.
14827 * math/w_jnf.c: Likewise.
14828 * math/w_log.c: Likewise.
14829 * math/w_logf.c: Likewise.
14830 * math/w_logl.c: Likewise.
14831 * math/w_log10.c: Likewise.
14832 * math/w_log10f.c: Likewise.
14833 * math/w_log10l.c: Likewise.
14834 * math/w_log2.c: Likewise.
14835 * math/w_log2f.c: Likewise.
14836 * math/w_log2l.c: Likewise.
14837 * math/w_pow.c: Likewise.
14838 * math/w_powf.c: Likewise.
14839 * math/w_powl.c: Likewise.
14840 * math/w_remainder.c: Likewise.
14841 * math/w_remainderf.c: Likewise.
14842 * math/w_remainderl.c: Likewise.
14843 * math/w_scalb.c: Likewise.
14844 * math/w_scalbf.c: Likewise.
14845 * math/w_scalbl.c: Likewise.
14846 * math/w_sqrt.c: Likewise.
14847 * math/w_sqrtf.c: Likewise.
14848 * math/w_sqrtl.c: Likewise.
14849 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
14850 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
14851 used.
14852 * math/math_private.h: Declare __kernel_standard_f.
14853 * math/w_cosh.c: Remove cruft and optimize a bit.
14854 * math/w_coshf.c: Likewise.
14855 * math/w_coshl.c: Likewise.
14856 * math/w_exp2.c: Likewise.
14857 * math/w_exp2f.c: Likewise.
14858 * math/w_exp2l.c: Likewise.
14859 * math/w_hypot.c: Likewise.
14860 * math/w_hypotf.c: Likewise.
14861 * math/w_hypotl.c: Likewise.
14862 * math/w_lgamma.c: Likewise.
14863 * math/w_lgamma_r.c: Likewise.
14864 * math/w_lgammaf.c: Likewise.
14865 * math/w_lgammaf_r.c: Likewise.
14866 * math/w_lgammal.c: Likewise.
14867 * math/w_lgammal_r.c: Likewise.
14868 * math/w_sinh.c: Likewise.
14869 * math/w_sinhf.c: Likewise.
14870 * math/w_sinhl.c: Likewise.
14871 * math/w_tgamma.c: Likewise.
14872 * math/w_tgammaf.c: Likewise.
14873 * math/w_tgammal.c: Likewise.
14874 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14875 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14876 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
14877 Minor optimizations. Pretty printing. Remove cruft.
14878 * sysdeps/i386/fpu/e_acosf.S: Likewise.
14879 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14880 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14881 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14882 * sysdeps/i386/fpu/e_acosl.c: Likewise.
14883 * sysdeps/i386/fpu/e_asin.S: Likewise.
14884 * sysdeps/i386/fpu/e_asinf.S: Likewise.
14885 * sysdeps/i386/fpu/e_atan2.S: Likewise.
14886 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
14887 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
14888 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14889 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14890 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14891 * sysdeps/i386/fpu/e_exp10.S: Likewise.
14892 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
14893 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
14894 * sysdeps/i386/fpu/e_exp2.S: Likewise.
14895 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
14896 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
14897 * sysdeps/i386/fpu/e_fmod.S: Likewise.
14898 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
14899 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
14900 * sysdeps/i386/fpu/e_hypot.S: Likewise.
14901 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
14902 * sysdeps/i386/fpu/e_log.S: Likewise.
14903 * sysdeps/i386/fpu/e_log10.S: Likewise.
14904 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14905 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14906 * sysdeps/i386/fpu/e_log2.S: Likewise.
14907 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14908 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14909 * sysdeps/i386/fpu/e_logf.S: Likewise.
14910 * sysdeps/i386/fpu/e_logl.S: Likewise.
14911 * sysdeps/i386/fpu/e_pow.S: Likewise.
14912 * sysdeps/i386/fpu/e_powf.S: Likewise.
14913 * sysdeps/i386/fpu/e_powl.S: Likewise.
14914 * sysdeps/i386/fpu/e_remainder.S: Likewise.
14915 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
14916 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
14917 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14918 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14919 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14920 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
14921 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
14922 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
14923 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14924 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14925 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14926 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14927 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14928 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14929 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14930 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14931 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14932 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14933 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14934 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14935 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14936 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14937 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14938 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14939 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14940 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14941 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14942 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14943 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14944 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14945 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14946 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14947 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14948 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14949 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14950 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14951 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14952 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14953 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14954 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14955 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14956 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14957 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14958 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14959 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14960 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14961 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14962 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14963 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14964 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14965 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14966 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14967 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14968 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14969 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14970 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14971 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14972 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14973 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14974 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14975 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14976 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14977 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14978 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14979 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14980 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14981 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14982 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14983 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14984 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14985 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14986 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14987 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14988 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14989 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14990 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14991 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14992 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14993 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14994 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14995 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14996 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14997 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14998 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14999 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15000 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
15001 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15002 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
15003 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15004 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
15005 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
15006 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15007 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15008 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15009 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15010 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
15011 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15012 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15013 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15014 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15015 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15016 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15017 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15018 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
15019 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
15020 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
15021 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
15022 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
15023 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
15024 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
15025 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
15026 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
15027 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15028 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15029 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15030 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15031 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
15032 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15033 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
15034 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
15035 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
15036 (__isnanf): Likewise.
15037 (__isinf_ns): Likewise.
15038 (__isinf_nsf): Likewise.
15039 (__finite): Likewise.
15040 (__finitef): Likewise.
15041 (__ieee754_sqrt): Define as macro.
15042 (__ieee754_sqrtf): Define as macro.
15043 (__ieee754_sqrtl): Define as macro.
15044 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
15045 inlined copy.
15046 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
15047 __FINITE_MATH_ONLY__ consistent.
15048 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
15049
15050 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
15051
15052 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
15053 of rawmemchr.
15054
15055 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
15056
15057 2011-10-09 Ulrich Drepper <drepper@gmail.com>
15058
15059 * po/ja.po: Update from translation team.
15060
15061 2011-10-08 Roland McGrath <roland@hack.frob.com>
15062
15063 * locale/programs/locarchive.c (prepare_address_space): New function.
15064 (create_archive, enlarge_archive, open_archive): Use it.
15065
15066 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
15067 inside [SHARED], where it is used.
15068
15069 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
15070
15071 * nss/getent.c (netgroup_keys): Remove unused variable.
15072 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
15073
15074 2011-10-08 Ulrich Drepper <drepper@gmail.com>
15075
15076 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
15077 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
15078 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
15079 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
15080 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
15081 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
15082 * math/Makefile (libm-calls): Add s_isinf_ns.
15083 * math/divtc3.c: Use __isinf_nsl instead of isinf.
15084 * math/multc3.c: Likewise.
15085 * math/s_casin.c: Likewise.
15086 * math/s_casinf.c: Likewise.
15087 * math/s_casinl.c: Likewise.
15088 * math/s_ccos.c: Likewise.
15089 * math/s_ccosf.c: Likewise.
15090 * math/s_ccosl.c: Likewise.
15091 * math/s_ctan.c: Likewise.
15092 * math/s_ctanf.c: Likewise.
15093 * math/s_ctanh.c: Likewise.
15094 * math/s_ctanhf.c: Likewise.
15095 * math/s_ctanhl.c: Likewise.
15096 * math/s_ctanl.c: Likewise.
15097 * math/w_fmod.c: Likewise.
15098 * math/w_fmodf.c: Likewise.
15099 * math/w_fmodl.c: Likewise.
15100 * math/w_remainder.c: Likewise.
15101 * math/w_remainderf.c: Likewise.
15102 * math/w_remainderl.c: Likewise.
15103 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
15104 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
15105 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
15106 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
15107 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
15108 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
15109 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
15110 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
15111
15112 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
15113 of the number.
15114 * stdio-common/printf_fphex.c: Likewise.
15115 * stdio-common/printf_size.c: Likewise.
15116
15117 * math/e_exp10.c: Include math_private.h using <...> not "...".
15118 * math/e_exp10f.c: Likewise.
15119 * math/e_exp10l.c: Likewise.
15120 * math/e_exp2l.c: Likewise.
15121 * math/e_j0l.c: Likewise.
15122 * math/e_j1l.c: Likewise.
15123 * math/e_jnl.c: Likewise.
15124 * math/e_lgammal_r.c: Likewise.
15125 * math/e_rem_pio2l.c: Likewise.
15126 * math/e_scalb.c: Likewise.
15127 * math/e_scalbf.c: Likewise.
15128 * math/e_scalbl.c: Likewise.
15129 * math/k_cosl.c: Likewise.
15130 * math/k_sinl.c: Likewise.
15131 * math/k_tanl.c: Likewise.
15132 * math/s_cacoshf.c: Likewise.
15133 * math/s_catan.c: Likewise.
15134 * math/s_catanf.c: Likewise.
15135 * math/s_catanh.c: Likewise.
15136 * math/s_catanhf.c: Likewise.
15137 * math/s_catanhl.c: Likewise.
15138 * math/s_catanl.c: Likewise.
15139 * math/s_ccosh.c: Likewise.
15140 * math/s_ccoshf.c: Likewise.
15141 * math/s_ccoshl.c: Likewise.
15142 * math/s_cexp.c: Likewise.
15143 * math/s_cexpf.c: Likewise.
15144 * math/s_cexpl.c: Likewise.
15145 * math/s_clog.c: Likewise.
15146 * math/s_clog10.c: Likewise.
15147 * math/s_clog10f.c: Likewise.
15148 * math/s_clog10l.c: Likewise.
15149 * math/s_clogf.c: Likewise.
15150 * math/s_clogl.c: Likewise.
15151 * math/s_csin.c: Likewise.
15152 * math/s_csinf.c: Likewise.
15153 * math/s_csinh.c: Likewise.
15154 * math/s_csinhf.c: Likewise.
15155 * math/s_csinhl.c: Likewise.
15156 * math/s_csinl.c: Likewise.
15157 * math/s_csqrt.c: Likewise.
15158 * math/s_csqrtf.c: Likewise.
15159 * math/s_csqrtl.c: Likewise.
15160 * math/s_ctan.c: Likewise.
15161 * math/s_ctanf.c: Likewise.
15162 * math/s_ctanh.c: Likewise.
15163 * math/s_ctanhf.c: Likewise.
15164 * math/s_ctanhl.c: Likewise.
15165 * math/s_ctanl.c: Likewise.
15166 * math/s_ldexp.c: Likewise.
15167 * math/s_ldexpf.c: Likewise.
15168 * math/s_ldexpl.c: Likewise.
15169 * math/s_significand.c: Likewise.
15170 * math/s_significandf.c: Likewise.
15171 * math/s_significandl.c: Likewise.
15172 * math/w_acos.c: Likewise.
15173 * math/w_acosf.c: Likewise.
15174 * math/w_acosh.c: Likewise.
15175 * math/w_acoshf.c: Likewise.
15176 * math/w_acoshl.c: Likewise.
15177 * math/w_acosl.c: Likewise.
15178 * math/w_asin.c: Likewise.
15179 * math/w_asinf.c: Likewise.
15180 * math/w_asinl.c: Likewise.
15181 * math/w_atan2.c: Likewise.
15182 * math/w_atan2f.c: Likewise.
15183 * math/w_atan2l.c: Likewise.
15184 * math/w_atanh.c: Likewise.
15185 * math/w_atanhf.c: Likewise.
15186 * math/w_atanhl.c: Likewise.
15187 * math/w_cosh.c: Likewise.
15188 * math/w_coshf.c: Likewise.
15189 * math/w_coshl.c: Likewise.
15190 * math/w_dremf.c: Likewise.
15191 * math/w_exp10.c: Likewise.
15192 * math/w_exp10f.c: Likewise.
15193 * math/w_exp10l.c: Likewise.
15194 * math/w_exp2.c: Likewise.
15195 * math/w_exp2f.c: Likewise.
15196 * math/w_fmod.c: Likewise.
15197 * math/w_fmodf.c: Likewise.
15198 * math/w_fmodl.c: Likewise.
15199 * math/w_hypot.c: Likewise.
15200 * math/w_hypotf.c: Likewise.
15201 * math/w_hypotl.c: Likewise.
15202 * math/w_j0.c: Likewise.
15203 * math/w_j0f.c: Likewise.
15204 * math/w_j0l.c: Likewise.
15205 * math/w_j1.c: Likewise.
15206 * math/w_j1f.c: Likewise.
15207 * math/w_j1l.c: Likewise.
15208 * math/w_jn.c: Likewise.
15209 * math/w_jnf.c: Likewise.
15210 * math/w_jnl.c: Likewise.
15211 * math/w_lgamma.c: Likewise.
15212 * math/w_lgamma_r.c: Likewise.
15213 * math/w_lgammaf.c: Likewise.
15214 * math/w_lgammaf_r.c: Likewise.
15215 * math/w_lgammal.c: Likewise.
15216 * math/w_lgammal_r.c: Likewise.
15217 * math/w_log.c: Likewise.
15218 * math/w_log10.c: Likewise.
15219 * math/w_log10f.c: Likewise.
15220 * math/w_log10l.c: Likewise.
15221 * math/w_log2.c: Likewise.
15222 * math/w_log2f.c: Likewise.
15223 * math/w_log2l.c: Likewise.
15224 * math/w_logf.c: Likewise.
15225 * math/w_logl.c: Likewise.
15226 * math/w_pow.c: Likewise.
15227 * math/w_powf.c: Likewise.
15228 * math/w_powl.c: Likewise.
15229 * math/w_remainder.c: Likewise.
15230 * math/w_remainderf.c: Likewise.
15231 * math/w_remainderl.c: Likewise.
15232 * math/w_scalb.c: Likewise.
15233 * math/w_scalbf.c: Likewise.
15234 * math/w_scalbl.c: Likewise.
15235 * math/w_sinh.c: Likewise.
15236 * math/w_sinhf.c: Likewise.
15237 * math/w_sinhl.c: Likewise.
15238 * math/w_sqrt.c: Likewise.
15239 * math/w_sqrtf.c: Likewise.
15240 * math/w_sqrtl.c: Likewise.
15241 * math/w_tgamma.c: Likewise.
15242 * math/w_tgammaf.c: Likewise.
15243 * math/w_tgammal.c: Likewise.
15244
15245 * po/ja.po: Update from translation team.
15246
15247 2011-09-29 Andreas Jaeger <aj@suse.de>
15248
15249 [BZ #13179]
15250 * sunrpc/netname.c (netname2host): Fix logic.
15251
15252 [BZ #6779]
15253 [BZ #6783]
15254 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
15255 correctly.
15256 * math/w_remainder.c (__remainder): Likewise.
15257 * math/w_remainderf.c (__remainderf): Likewise.
15258 * math/libm-test.inc (remainder_test): Add test cases.
15259
15260 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15261
15262 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
15263 sdiv_qrnnd.
15264
15265 2011-10-07 Ulrich Drepper <drepper@gmail.com>
15266
15267 * string/test-memcmp.c: Avoid unncessary #defines.
15268 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
15269
15270 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15271
15272 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
15273 Use new sse2 version for core i3 - i7 as it's faster
15274 than sse42 version.
15275 (bit_Prefer_PMINUB_for_stringop): New.
15276 * sysdeps/x86_64/rawmemchr.S: Update.
15277 Replace with faster SSE2 version.
15278 * sysdeps/x86_64/memrchr.S: New file.
15279 * sysdeps/x86_64/memchr.S: Update.
15280 Replace with faster SSE2 version.
15281
15282 2011-09-12 Marek Polacek <mpolacek@redhat.com>
15283
15284 * elf/dl-load.c (lose): Add cast to avoid warning.
15285
15286 2011-10-07 Ulrich Drepper <drepper@gmail.com>
15287
15288 * po/ca.po: Update from translation team.
15289
15290 * inet/getnetgrent_r.c: Hook up nscd.
15291 * nscd/Makefile (routines): Add nscd_netgroup.
15292 (nscd-modules): Add netgroupcache.
15293 (CFLAGS-netgroupcache.c): Define.
15294 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
15295 (cache_search): Add const to second parameter.
15296 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
15297 INNETGR.
15298 (dbs): Add netgrdb entry.
15299 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
15300 (verify_persistent_db): Handle netgrdb.
15301 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
15302 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
15303 GETFDNETGR.
15304 (netgroup_response_header): Define.
15305 (innetgroup_response_header): Define.
15306 (datahead): Add netgroup_response_header and innetgroup_response_header
15307 elements.
15308 * nscd/nscd.conf: Add entries for netgroup cache.
15309 * nscd/nscd.h (dbtype): Add netgrdb.
15310 (_PATH_NSCD_NETGROUP_DB): Define.
15311 (netgroup_iov_disabled): Declare.
15312 (xmalloc, xcalloc, xrealloc): Move declarations here.
15313 (cache_search): Adjust prototype.
15314 Add netgroup-related prototypes.
15315 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
15316 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
15317 (__nscd_innetgr): Declare.
15318 * nscd/selinux.c (perms): Use access_vector_t as element type and
15319 add netgroup-related initializers.
15320 * nscd/netgroupcache.c: New file.
15321 * nscd/nscd_netgroup.c: New file.
15322 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
15323 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
15324 For four parameters use innetgr.
15325 * nss/nss_files/files-init.c: Add definition and callback for netgr.
15326 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
15327 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
15328 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
15329
15330 * nscd/connections.c (register_traced_file): Don't register file
15331 for disabled databases.
15332
15333 2011-10-06 Ulrich Drepper <drepper@gmail.com>
15334
15335 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
15336
15337 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
15338 from tree and freeing node.
15339
15340 2011-09-25 Jiri Olsa <jolsa@redhat.com>
15341
15342 * nss/nsswitch.c (__nss_database_lookup): Handle
15343 nss_parse_service_list out of memory case.
15344
15345 2011-09-15 Jiri Olsa <jolsa@redhat.com>
15346
15347 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
15348 out of memory case.
15349
15350 2011-10-04 Andreas Schwab <schwab@redhat.com>
15351
15352 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
15353 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
15354 pass it down.
15355 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
15356 elf_machine_rela, elf_machine_lazy_rel.
15357 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
15358 (ELF_DYNAMIC_DO_REL): Likewise.
15359 (ELF_DYNAMIC_DO_RELA): Likewise.
15360 (ELF_DYNAMIC_RELOCATE): Likewise.
15361 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
15362 to ELF_DYNAMIC_DO_REL.
15363 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
15364 (dl_main): In trace mode always set __RTLD_NOIFUNC.
15365 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
15366 elf_machine_rela.
15367 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
15368 skip_ifunc, don't call ifunc function if non-zero.
15369 (elf_machine_rela): Likewise.
15370 (elf_machine_lazy_rel): Likewise.
15371 (elf_machine_lazy_rela): Likewise.
15372 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15373 (elf_machine_lazy_rel): Likewise.
15374 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15375 Likewise.
15376 (elf_machine_lazy_rel): Likewise.
15377 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15378 Likewise.
15379 (elf_machine_lazy_rel): Likewise.
15380 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
15381 (elf_machine_lazy_rel): Likewise.
15382 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
15383 (elf_machine_lazy_rel): Likewise.
15384 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15385 (elf_machine_lazy_rel): Likewise.
15386 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
15387 (elf_machine_lazy_rel): Likewise.
15388 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
15389 (elf_machine_lazy_rel): Likewise.
15390 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15391 (elf_machine_lazy_rel): Likewise.
15392
15393 2011-09-28 Ulrich Drepper <drepper@gmail.com>
15394
15395 * nss/nss_files/files-init.c (_nss_files_init): Use static
15396 initialization for all the *_traced_file variables.
15397
15398 2011-09-28 Andreas Schwab <schwab@redhat.com>
15399
15400 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15401
15402 2011-09-27 Roland McGrath <roland@hack.frob.com>
15403
15404 [BZ #13226]
15405 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
15406
15407 2011-09-27 Andreas Schwab <schwab@redhat.com>
15408
15409 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15410 Reread the line before reparsing it.
15411
15412 2011-09-26 Andreas Schwab <schwab@redhat.com>
15413
15414 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
15415
15416 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
15417 Maxim Kuvyrkov <maxim@codesourcery.com>
15418 Joseph Myers <joseph@codesourcery.com>
15419
15420 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
15421 if needed for __stack_chk_guard.
15422
15423 2011-09-19 Roland McGrath <roland@hack.frob.com>
15424
15425 * sysdeps/posix/spawni.c (script_execute): Always define it.
15426 It will be optimized away if unused.
15427 (maybe_script_execute): New function.
15428 (__spawni): Call it.
15429
15430 * Makerules: Don't include tls.make.
15431 (config-tls): Always set to thread.
15432 * tls.make.c: File removed.
15433
15434 2011-09-19 Mike Frysinger <vapier@gentoo.org>
15435
15436 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
15437 * config.make.in (CPPFLAGS-config): New substituted variable.
15438
15439 2011-09-15 Ulrich Drepper <drepper@gmail.com>
15440
15441 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
15442
15443 [BZ #13192]
15444 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
15445 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
15446
15447 2011-09-15 Roland McGrath <roland@hack.frob.com>
15448
15449 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
15450 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
15451 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15452 (CALL_FAIL): Likewise.
15453 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
15454 (CALL_FAIL): Macro removed.
15455 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
15456
15457 2011-09-15 Ulrich Drepper <drepper@gmail.com>
15458
15459 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
15460 for __FINITE_MATH_ONLY__ == 1.
15461
15462 2011-09-15 Andreas Schwab <schwab@redhat.com>
15463
15464 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
15465 __ieee754_sqrt instead of sqrt.
15466 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
15467 __ieee754_sqrtf instead of sqrtf.
15468 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
15469 __floorf instead of floorf.
15470 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
15471 __floorf, __truncf instead of floorf, truncf.
15472
15473 2011-09-14 Ulrich Drepper <drepper@gmail.com>
15474
15475 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
15476
15477 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
15478 __extern_always_inline.
15479 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
15480 32-bit.
15481
15482 2011-09-14 Andreas Schwab <schwab@redhat.com>
15483
15484 * elf/rtld.c (dl_main): Also relocate in dependency order when
15485 doing symbol dependency testing.
15486
15487 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
15488
15489 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15490 Always define `refsym'.
15491
15492 2011-09-13 Andreas Schwab <schwab@redhat.com>
15493
15494 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
15495 (__FD_ELT): Renamed from __FDELT.
15496 * misc/bits/select2.h (__FD_ELT): Likewise.
15497 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
15498 __FD_MASK instead of __FDELT, __FDMASK.
15499 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15500 Likewise.
15501 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15502 Likewise.
15503
15504 * elf/Makefile (gen-ldd): Fix pattern.
15505
15506 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
15507 (init_tls): Likewise.
15508
15509 2011-09-12 Ulrich Drepper <drepper@gmail.com>
15510
15511 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
15512
15513 2011-09-12 Andreas Schwab <schwab@redhat.com>
15514
15515 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
15516 `struct cmsghdr *' instead of `void *'.
15517 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
15518 Likewise.
15519
15520 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
15521
15522 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
15523 if non-absolute.
15524 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
15525 ldd_rewrite_script.
15526
15527 2011-09-11 Ulrich Drepper <drepper@gmail.com>
15528
15529 * configure.in: Remove --with-tls option.
15530 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
15531 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
15532 out in case it is missing.
15533 * sysdeps/ia64/elf/configure.in: Likewise.
15534 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
15535 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
15536 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
15537 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
15538 * sysdeps/sh/elf/configure.in: Likewise.
15539 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
15540 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15541 * sysdeps/x86_64/elf/configure.in: Likewise.
15542 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
15543 * sysdeps/mach/hurd/tls.h: Likewise.
15544
15545 [BZ #13067]
15546 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
15547
15548 [BZ #13090]
15549 * configure.in: Fix use of AC_INIT.
15550
15551 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
15552
15553 2011-09-10 Ulrich Drepper <drepper@gmail.com>
15554
15555 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
15556 __set_errno.
15557 * malloc/hooks.c: Likewise.
15558
15559 [BZ #11929]
15560 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
15561 variables statically.
15562 (narenas): Initialize.
15563 (list_lock): Initialize.
15564 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
15565 initializtion of main_arena and list_lock. Small cleanups.
15566 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
15567 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
15568 Add initializers to main_arena and mp_.
15569 (malloc_state): Remove pagesize member. Change all users to use
15570 GLRO(dl_pagesize).
15571
15572 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
15573 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
15574 is always initialized.
15575
15576 * malloc/malloc.c: Removed unused configurations and dead code.
15577 * malloc/arena.c: Likewise.
15578 * malloc/hooks.c: Likewise.
15579 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
15580
15581 * include/tls.h: Removed. USE___THREAD must always be defined.
15582 * bits/libc-tsd.h: Don't handle !USE___THREAD.
15583 * elf/dl-libc.c: Likewise.
15584 * elf/dl-tsd.c: Likewise.
15585 * include/errno.h: Likewise.
15586 * include/netdb.h: Likewise.
15587 * include/resolv.h: Likewise.
15588 * inet/herrno-loc.c: Likewise.
15589 * inet/herrno.c: Likewise.
15590 * malloc/arena.c: Likewise.
15591 * malloc/hooks.c: Likewise.
15592 * malloc/malloc.c: Likewise.
15593 * resolv/res-state.c: Likewise.
15594 * resolv/res_libc.c: Likewise.
15595 * sysdeps/i386/dl-machine.h: Likewise.
15596 * sysdeps/ia64/dl-machine.h: Likewise.
15597 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15598 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15599 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15600 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15601 * sysdeps/sh/dl-machine.h: Likewise.
15602 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15603 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15604 * sysdeps/unix/i386/sysdep.S: Likewise.
15605 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15606 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
15607 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
15608 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15609 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
15610 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15611 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15612 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15613 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15614 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15615 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15616 * sysdeps/x86_64/dl-machine.h: Likewise.
15617 * tls.make.c: Likewise.
15618
15619 * configure.in: Remove --with-__thread option. Make tests for
15620 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
15621 tls_model attribute fail if no support is available. Remove
15622 USE_IN_LIBIO.
15623 * Makeconfig: Adjust for dropped configure option. All features are
15624 now mandatory.
15625 * Makerules: Likewise.
15626 * Versions.def: Likewise.
15627 * argp/argp-fmtstream.c: Likewise.
15628 * argp/argp-fmtstream.h: Likewise.
15629 * argp/argp-help.c: Likewise.
15630 * assert/assert.c: Likewise.
15631 * config.h.in: Likewise.
15632 * config.make.in: Likewise.
15633 * configure: Likewise.
15634 * configure.in: Likewise.
15635 * csu/Versions: Likewise.
15636 * csu/init.c: Likewise.
15637 * elf/tst-audit2.c: Likewise.
15638 * elf/tst-tls10.c: Likewise.
15639 * elf/tst-tls10.h: Likewise.
15640 * elf/tst-tls11.c: Likewise.
15641 * elf/tst-tls12.c: Likewise.
15642 * elf/tst-tls14.c: Likewise.
15643 * elf/tst-tlsmod11.c: Likewise.
15644 * elf/tst-tlsmod12.c: Likewise.
15645 * elf/tst-tlsmod13.c: Likewise.
15646 * elf/tst-tlsmod13a.c: Likewise.
15647 * elf/tst-tlsmod14a.c: Likewise.
15648 * elf/tst-tlsmod15b.c: Likewise.
15649 * elf/tst-tlsmod16a.c: Likewise.
15650 * elf/tst-tlsmod16b.c: Likewise.
15651 * elf/tst-tlsmod7.c: Likewise.
15652 * elf/tst-tlsmod8.c: Likewise.
15653 * elf/tst-tlsmod9.c: Likewise.
15654 * gmon/gmon.c: Likewise.
15655 * grp/fgetgrent_r.c: Likewise.
15656 * grp/putgrent.c: Likewise.
15657 * hurd/fopenport.c: Likewise.
15658 * include/libc-symbols.h: Likewise.
15659 * include/tls.h: Likewise.
15660 * intl/gettextP.h: Likewise.
15661 * intl/loadinfo.h: Likewise.
15662 * locale/global-locale.c: Likewise.
15663 * locale/localeinfo.h: Likewise.
15664 * mach/devstream.c: Likewise.
15665 * malloc/arena.c: Likewise.
15666 * malloc/set-freeres.c: Likewise.
15667 * misc/err.c: Likewise.
15668 * misc/getttyent.c: Likewise.
15669 * misc/mntent_r.c: Likewise.
15670 * posix/getopt.c: Likewise.
15671 * posix/wordexp.c: Likewise.
15672 * pwd/fgetpwent_r.c: Likewise.
15673 * resolv/Versions: Likewise.
15674 * resolv/res_hconf.c: Likewise.
15675 * shadow/fgetspent_r.c: Likewise.
15676 * shadow/putspent.c: Likewise.
15677 * stdio-common/printf_fphex.c: Likewise.
15678 * stdio-common/tmpfile.c: Likewise.
15679 * stdlib/abort.c: Likewise.
15680 * stdlib/fmtmsg.c: Likewise.
15681 * sunrpc/auth_unix.c: Likewise.
15682 * sunrpc/clnt_perr.c: Likewise.
15683 * sunrpc/clnt_tcp.c: Likewise.
15684 * sunrpc/clnt_udp.c: Likewise.
15685 * sunrpc/clnt_unix.c: Likewise.
15686 * sunrpc/openchild.c: Likewise.
15687 * sunrpc/svc_simple.c: Likewise.
15688 * sunrpc/svc_tcp.c: Likewise.
15689 * sunrpc/svc_udp.c: Likewise.
15690 * sunrpc/svc_unix.c: Likewise.
15691 * sunrpc/xdr.c: Likewise.
15692 * sunrpc/xdr_array.c: Likewise.
15693 * sunrpc/xdr_rec.c: Likewise.
15694 * sunrpc/xdr_ref.c: Likewise.
15695 * sunrpc/xdr_stdio.c: Likewise.
15696
15697 2011-09-09 Ulrich Drepper <drepper@gmail.com>
15698
15699 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15700
15701 2011-07-03 Andreas Jaeger <aj@suse.de>
15702
15703 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
15704 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
15705 regenerate with gen-libm-tests.pl.
15706
15707 2010-05-12 Petr Baudis <pasky@suse.cz>
15708
15709 [BZ #11589]
15710 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
15711 around j0() zero points by switching to j1().
15712 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15713 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15714 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15715 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15716
15717 2011-09-09 Ulrich Drepper <drepper@gmail.com>
15718
15719 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
15720 instead of 0.
15721 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
15722 instead of 0. .
15723 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15724 Patch in part by Pavel Roskin <proski@gnu.org>.
15725
15726 [BZ #13138]
15727 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
15728 realloc.
15729 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
15730 Free memory block if necessary.
15731
15732 [BZ #12847]
15733 * libio/genops.c (INTDEF): For string streams the _lock pointer can
15734 be NULL. Don't lock in this case.
15735
15736 2011-09-09 Roland McGrath <roland@hack.frob.com>
15737
15738 * elf/elf.h (ELFOSABI_GNU): New macro.
15739 (ELFOSABI_LINUX): Define to that.
15740
15741 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
15742
15743 * string/strncat.c (strncat): Undef the symbol in case it has been
15744 defined in bits/string.h.
15745
15746 2011-09-09 Ulrich Drepper <drepper@gmail.com>
15747
15748 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
15749
15750 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
15751 link map.
15752
15753 2011-08-17 Andreas Jaeger <aj@suse.de>
15754
15755 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
15756
15757 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15758 Ian Lance Taylor <iant@google.com>
15759
15760 * math/libm-test.inc (lround_test): New testcase.
15761 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
15762
15763 2011-09-08 Ulrich Drepper <drepper@gmail.com>
15764
15765 * Makefile: Remove support for automatic cvs check-ins.
15766 * Makerules: Likewise.
15767 * config.make.in: Likewise.
15768 * configure.in: Likewise.
15769 * intl/Makefile: Likewise.
15770 * locale/Makefile: Likewise.
15771 * po/Makefile: Likewise.
15772 * posix/Makefile: Likewise.
15773 * sysdeps/gnu/Makefile: Likewise.
15774 * sysdeps/mach/hurd/Makefile: Likewise.
15775 * sysdeps/sparc/sparc32/Makefile: Likewise.
15776
15777 [BZ #13118]
15778 * posix/Makefile (bug-regex32-ENV): Define.
15779 Patch by John Stanley <jpsinthemix@verizon.net>.
15780
15781 * misc/Makefile (headers): Add bits/select2.h.
15782 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
15783 * misc/bits/select2.h: New file.
15784 * include/bits/select2.h: New file.
15785 * debug/Makefile (routines): Add fdelt_chk.
15786 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
15787 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
15788 FD_ISSET.
15789 * debug/fdelt_chk.c: New file.
15790
15791 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
15792 * wcsmbs/test-wmemcmp.c: Likewise.
15793 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
15794 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
15795
15796 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15797
15798 * string/Makefile (strop-tests): Add memcmp.
15799 * string/test-wmemcmp.c: New file.
15800 * string/test-memcmp.c: Add wmemcmp support.
15801
15802 2011-09-08 Roland McGrath <roland@hack.frob.com>
15803
15804 [BZ #13153]
15805 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
15806 2011-07-19 change.
15807
15808 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
15809 garbage value in a __mach_port_mod_refs call in the cases of the
15810 task-self and thread-self ports.
15811
15812 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15813
15814 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
15815
15816 2011-09-08 Andreas Schwab <schwab@redhat.com>
15817
15818 * elf/dl-load.c (lose): Check for non-null L.
15819
15820 2011-09-07 Ulrich Drepper <drepper@gmail.com>
15821
15822 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
15823
15824 * elf/dl-libc.c (dlerror_run): Pass back error code from
15825 dl_catch_error.
15826
15827 [BZ #13123]
15828 * elf/dl-load.c (lose): Free l_origin if it is valid.
15829
15830 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
15831 names.
15832 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
15833 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15834 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15835 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15836 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
15837 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
15838
15839 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15840
15841 * sysdeps/powerpc/fpu/e_hypot.c: New file.
15842 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
15843 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
15844 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
15845 * sysdeps/powerpc/fpu/k_cosf.c: New file.
15846 * sysdeps/powerpc/fpu/k_sinf.c: New file.
15847 * sysdeps/powerpc/fpu/s_cosf.c: New file.
15848 * sysdeps/powerpc/fpu/s_sinf.c: New file.
15849 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
15850 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
15851
15852 2011-08-15 Alan Modra <amodra@gmail.com>
15853
15854 [BZ #13092]
15855 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
15856 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
15857 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
15858 ppc_mcount to static-only-routines.
15859 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
15860 __mcount_internal.
15861 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
15862 __mcount_internal with usual JUMPTARGET. Remove useless nop.
15863
15864 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
15865
15866 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
15867 for finite and infinity parameters.
15868
15869 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15870
15871 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
15872 and add nop instructions for throughput optimization.
15873 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15874
15875 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
15876
15877 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
15878 aligned copy for power7 with vector-scalar instructions.
15879 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15880
15881 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
15882
15883 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
15884 AVX check.
15885
15886 2011-09-07 Andreas Schwab <schwab@redhat.com>
15887
15888 [BZ #13144]
15889 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
15890 last change.
15891
15892 2011-09-07 Ulrich Drepper <drepper@gmail.com>
15893
15894 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15895 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
15896 syscall wrapper around clock_gettime in __vdso_clock_gettime.
15897 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
15898 clock_gettime.
15899
15900 2011-09-06 Ulrich Drepper <drepper@gmail.com>
15901
15902 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
15903 Forgot to demangle the pointer.
15904
15905 * sysdeps/i386/sysdep.h: Define atom_text_section.
15906 * sysdeps/x86_64/sysdep.h: Likewise.
15907 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
15908 section with atom_text_section.
15909 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15910 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15911 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
15912 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15913 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
15914
15915 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
15916 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
15917 already be defined. Change to take two parameters and don't assign
15918 result to variable. Adjust all users.
15919 Define INTERNAL_GETTIME if not already defined.
15920 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
15921 call.
15922 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
15923 HAVE_CLOCK_GETTIME_VSYSCALL.
15924 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
15925
15926 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
15927 gettimeofday vsyscall, just use time.
15928
15929 2011-09-06 Andreas Schwab <schwab@redhat.com>
15930
15931 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
15932 <errno.h>.
15933
15934 2011-09-06 Ulrich Drepper <drepper@gmail.com>
15935
15936 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
15937 syscall on x86-64.
15938 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
15939 syscall.
15940 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
15941 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
15942 syscall if possible.
15943
15944 2011-09-05 Ulrich Drepper <drepper@gmail.com>
15945
15946 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
15947 e_ident. Don't pass to find_mapsXX.
15948 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
15949
15950 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15951
15952 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15953 strchr-sse2-no-bsf strrchr-sse2-no-bsf
15954 * sysdeps/x86_64/multiarch/strchr.S: Update.
15955 Check bit_slow_BSF bit.
15956 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15957 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
15958 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
15959
15960 2011-09-05 Ulrich Drepper <drepper@gmail.com>
15961
15962 [BZ #13134]
15963 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
15964 before glibc 2.15.
15965 (tryshell): Define.
15966 (__spawni): Change last parameter to be flag. Test
15967 SPAWN_XFLAGS_USE_PATH flag to use path or not.
15968 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
15969 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
15970 * posix/spawni.c: Likewise.
15971 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
15972 * posix/spawnp.c: Likewise. Change normal version to use
15973 SPAWN_XFLAGS_USE_PATH.
15974 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
15975 SPAWN_XFLAGS_TRY_SHELL.
15976
15977 [BZ #13150]
15978 * posix/glob.h: Remove gcc 1.x support.
15979
15980 [BZ #13068]
15981 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
15982
15983 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15984
15985 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15986 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
15987 strrchr-sse2-bsf
15988 * sysdeps/i386/i686/multiarch/strchr.S: New file.
15989 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
15990 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
15991 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
15992 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
15993 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
15994
15995 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15996
15997 * sysdeps/x86_64/wcscmp.S: New file.
15998
15999 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
16000 wcscmp-c wcscmp-sse2
16001 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
16002 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
16003 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
16004 * wcsmbs/wcscmp.c: Allow renaming.
16005
16006 2011-09-05 David S. Miller <davem@davemloft.net>
16007
16008 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
16009 stack slot, rather than the struct return pointer slot.
16010 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
16011 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
16012 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
16013 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
16014
16015 2011-09-05 Ulrich Drepper <drepper@gmail.com>
16016
16017 * po/ja.po: Update from translation team.
16018
16019 [BZ #13144]
16020 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
16021 kernel in 64-bit binaries.
16022
16023 2011-09-01 David S. Miller <davem@davemloft.net>
16024
16025 * elf/elf.h (HWCAP_SPARC_*): Move to..
16026 * sysdeps/sparc/sysdep.h: this new file and add new values.
16027 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
16028 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
16029 _DL_HWCAP_COUNT to 24.
16030 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16031 entries.
16032 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
16033 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
16034 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
16035 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
16036 instead of magic constants.
16037 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16038
16039 2011-08-31 David S. Miller <davem@davemloft.net>
16040
16041 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
16042 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
16043 Reimplement to do errno handling inline.
16044 (SYSCALL_ERROR_HANDLER): New macro.
16045 (__SYSCALL_STRING): Do not do errno handling in asm.
16046 (__CLONE_SYSCALL_STRING): Delete.
16047 (__INTERNAL_SYSCALL_STRING): Delete.
16048 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
16049 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
16050 (PSEUDO): Reimplement to do errno handling inline.
16051 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
16052 (SYSCALL_ERROR_HANDLER): New macro.
16053 (__SYSCALL_STRING): Do not do errno handling in asm.
16054 (__CLONE_SYSCALL_STRING): Delete.
16055 (__INTERNAL_SYSCALL_STRING): Delete.
16056 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
16057 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
16058 i386.
16059 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
16060 (inline_syscall*): Add 'err' argument.
16061 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
16062 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
16063 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
16064 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
16065
16066 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
16067 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
16068
16069 2011-08-30 Andreas Schwab <schwab@redhat.com>
16070
16071 * elf/rtld.c (dl_main): Relocate objects in dependency order.
16072
16073 2011-08-29 Jiri Olsa <jolsa@redhat.com>
16074
16075 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
16076 directive.
16077
16078 2011-08-24 David S. Miller <davem@davemloft.net>
16079
16080 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
16081
16082 2011-08-24 Andreas Schwab <schwab@redhat.com>
16083
16084 * elf/Makefile: Add rules to build and run unload8 test.
16085 * elf/unload8.c: New file.
16086 * elf/unload8mod1.c: New file.
16087 * elf/unload8mod1x.c: New file.
16088 * elf/unload8mod2.c: New file.
16089 * elf/unload8mod3.c: New file.
16090
16091 * elf/dl-close.c (_dl_close_worker): Reset private search list if
16092 it wasn't used.
16093
16094 2011-08-23 David S. Miller <davem@davemloft.net>
16095
16096 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
16097 subtract stack bias.
16098 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
16099 %sp not %fp in calculations.
16100 (_JMPBUF_UNWINDS_ADJ): Likewise.
16101
16102 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
16103 (aio_suspend): Call it to force an exception region around the
16104 AIO_MISC_WAIT() invocation.
16105
16106 2011-08-23 Andreas Schwab <schwab@redhat.com>
16107
16108 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
16109 backslash.
16110
16111 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
16112
16113 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
16114 protection macro.
16115 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
16116 and <dl-machine.h>.
16117 (Elf64_FuncDesc): Remove.
16118
16119 2011-08-22 David S. Miller <davem@davemloft.net>
16120
16121 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
16122 sigaltstack check, add missing cfi directives.
16123 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
16124 missing cfi directives, and sigaltstack handling.
16125
16126 2011-08-16 Andreas Schwab <schwab@redhat.com>
16127
16128 [BZ #11724]
16129 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
16130 object is seen twice.
16131 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16132
16133 * elf/Makefile (distribute): Add tst-initorder2.c.
16134 (tests): Add tst-initorder2.
16135 (modules-names): Add tst-initorder2a tst-initorder2b
16136 tst-initorder2c tst-initorder2d. Add rules to build them.
16137 ($(objpfx)tst-initorder2.out): New rule.
16138 * elf/tst-initorder2.c: New file.
16139 * elf/tst-initorder2.exp: New file.
16140
16141 2011-08-22 Andreas Schwab <schwab@redhat.com>
16142
16143 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
16144
16145 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
16146 dependencies back to end of function.
16147
16148 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16149 $(elfobjdir)/ld.so.
16150
16151 2011-08-21 Ulrich Drepper <drepper@gmail.com>
16152
16153 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
16154 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
16155 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
16156 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
16157 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
16158 of __vdso_gettimeofday.
16159 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
16160 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
16161 attribute_hidden.
16162 (_libc_vdso_platform_setup): Remove initialization of
16163 __vdso_gettimeofday and __vdso_time.
16164
16165 2011-08-20 Ulrich Drepper <drepper@gmail.com>
16166
16167 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
16168 and fgetc_unlocked.
16169 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
16170 getc_unlocked.
16171
16172 * elf/dl-open.c (add_to_global): Report additions to the global scope
16173 for LD_DEBUG=scopes.
16174 (dl_open_worker): Also print scope of newly loaded dependencies.
16175 (_dl_show_scope): Indicate if there is no scope.
16176
16177 [BZ #13114]
16178 * stdio-common/Makefile (tests): Add bug24.
16179 * stdio-common/bug24.c: New file.
16180
16181 2011-08-19 Andreas Jaeger <aj@suse.de>
16182
16183 [BZ #13114]
16184 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
16185 non-existant file when using close-on-exec mode.
16186
16187 2011-08-20 Ulrich Drepper <drepper@gmail.com>
16188
16189 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
16190 the very first instruction.
16191
16192 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
16193 the CFI state in the end.
16194 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
16195 inclusion of dl-trampoline.h.
16196 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
16197
16198 2011-08-19 Andreas Schwab <schwab@redhat.com>
16199
16200 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
16201 expectations for long double.
16202
16203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
16204 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
16205
16206 2011-08-14 David S. Miller <davem@davemloft.net>
16207
16208 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
16209 artificual limit depends upon the system page size.
16210
16211 2011-08-17 Ulrich Drepper <drepper@gmail.com>
16212
16213 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
16214 * resolv/Makefile: Define CFLAGS-libresolv.
16215
16216 2011-08-17 Andreas Schwab <schwab@redhat.com>
16217
16218 * nss/makedb.c (compute_tables): Make variables used in nested
16219 function static.
16220
16221 2011-08-17 Ulrich Drepper <drepper@gmail.com>
16222
16223 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
16224 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
16225 if buffer was too small.
16226
16227 * elf/pldd.c (main): Attach to all threads in the process.
16228 Rewrite /proc handling to use *at functions.
16229
16230 2011-08-16 Ulrich Drepper <drepper@gmail.com>
16231
16232 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
16233 specifies first scope to show.
16234 (dl_open_worker): Update callers. Move printing scope of new
16235 object to before the relocation.
16236 * elf/rtld.c (dl_main): Update _dl_show_scope call.
16237 * sysdeps/generic/ldsodefs.h: Update declaration.
16238
16239 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
16240 string for the scope number.
16241
16242 2011-08-14 Ulrich Drepper <drepper@gmail.com>
16243
16244 * nscd/servicescache.c (cache_addserv): Make sure written is always
16245 initialized.
16246
16247 2011-08-14 Roland McGrath <roland@hack.frob.com>
16248
16249 * sysdeps/i386/i486/bits/atomic.h
16250 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
16251 statement expression, so as to suppress "set but not used" warning.
16252 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
16253
16254 * string/strncat.c (STRNCAT): Use prototype definition.
16255
16256 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
16257 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
16258 -Iprograms here.
16259 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
16260 (localedef-modules): Add localedef.
16261 (locale-modules): Add locale.
16262
16263 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
16264 * elf/rtld.c (dl_main): Invert order of assignment in last change,
16265 to avoid a warning.
16266
16267 2011-08-14 David S. Miller <davem@davemloft.net>
16268
16269 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
16270 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
16271
16272 2011-08-13 Ulrich Drepper <drepper@gmail.com>
16273
16274 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
16275 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
16276 * elf/rtld.c (dl_main): Set l_name of vDSO.
16277 Call _dl_show_scope when DL_DEBUG_SCOPES.
16278 (process_dl_debug): Recognize scopes flag and also set it for all.
16279 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
16280 Declare _dl_show_scope.
16281
16282 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
16283 (do_dlopen): Pass caller_dlopen to dl_open.
16284 (__libc_dlopen_mode): Initialize caller_dlopen.
16285
16286 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
16287 of libc. Make tolower call locale-independent. Optimize a bit by
16288 using isdigit instead of isalnum.
16289 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
16290
16291 2011-08-12 Ulrich Drepper <drepper@gmail.com>
16292
16293 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
16294 was a dependency or dynamically loaded.
16295
16296 2011-08-11 Ulrich Drepper <drepper@gmail.com>
16297
16298 * intl/l10nflist.c: Allow architecture-specific pop function.
16299 * sysdeps/x86_64/l10nflist.c: New file.
16300
16301 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
16302 classification.
16303
16304 2011-08-10 Andreas Schwab <schwab@redhat.com>
16305
16306 * include/dirent.h: Add libc_hidden_proto for scandirat and
16307 scandirat64. Don't declare __scandirat64.
16308 * dirent/scandirat.c: Add libc_hidden_def.
16309 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
16310 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
16311
16312 2011-08-10 David S. Miller <davem@davemloft.net>
16313
16314 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
16315 enum.
16316 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16317 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16318 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16319
16320 2011-08-09 Ulrich Drepper <drepper@gmail.com>
16321
16322 * Versions.def [libc]: Add GLIBC_2.15.
16323 * dirent/Makefile (routines): Add scandirat and scandirat64.
16324 * dirent/Versions [libc]: Export scandirat and scandirat64 for
16325 GLIBC_2.15.
16326 * dirent/dirent.h: Declare scandirat and scandirat64.
16327 * dirent/scandirat.c: New file.
16328 * dirent/scandirat64.c: New file.
16329 * sysdeps/wordsize-64/scandirat.c: New file.
16330 * sysdeps/wordsize-64/scandirat64.c: New file.
16331 * dirent/opendir.c: Define opendirat.
16332 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
16333 using scandirat.
16334 * dirent/scandir64.c: Adjust for scandir.c change.
16335 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
16336 __scandirat64, and __scandir_cancel_handler.
16337 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
16338 additional parameter and use openat instead of open (outside of ld.so).
16339 Add new __opendir as wrapper around __opendirat.
16340 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
16341 here without requiring old scandirat implementation.
16342
16343 2011-08-08 Ulrich Drepper <drepper@gmail.com>
16344
16345 * dirent/scandir.c (cancel_handler): Renamed to
16346 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
16347 defined. Adjust users.
16348 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
16349 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
16350
16351 2011-08-04 Ulrich Drepper <drepper@gmail.com>
16352
16353 * string/test-string.h (IMPL): Use __STRING to expand name and then
16354 stringify it.
16355
16356 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
16357 of cleanups.
16358
16359 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16360
16361 * string/Makefile: Update.
16362 (strop-tests): Append strncat.
16363 * string/test-wcscmp.c: New file.
16364 New comprehensive test for wcscmp.
16365 * string/test-strcmp.c: Update.
16366 (WIDE): New define.
16367
16368 2011-07-22 Andreas Schwab <schwab@redhat.com>
16369
16370 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
16371 line.
16372
16373 2011-07-26 Andreas Schwab <schwab@redhat.com>
16374
16375 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16376 encoding to ACE if AI_IDN.
16377
16378 2011-08-01 Jakub Jelinek <jakub@redhat.com>
16379
16380 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
16381 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
16382
16383 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16384
16385 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
16386 Fix overflow bug in strncat.
16387 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
16388
16389 * string/test-strncat.c: Update.
16390 Add new tests for checking overflow bugs.
16391
16392 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16393
16394 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16395 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
16396 * sysdeps/i386/i686/multiarch/strcat.S: New file.
16397 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
16398 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
16399 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
16400 * sysdeps/i386/i686/multiarch/strncat.S: New file.
16401 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
16402 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
16403
16404 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
16405 (USE_AS_STRCAT): Define.
16406 Add strcat and strncat support.
16407 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16408
16409 2011-07-25 Andreas Schwab <schwab@redhat.com>
16410
16411 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
16412 __n bigger than INT_MAX+1.
16413 (__strncmp_g): Likewise.
16414
16415 2011-07-23 Ulrich Drepper <drepper@gmail.com>
16416
16417 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
16418 * libio/stido.h: Likewise.
16419
16420 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
16421 (AF_NFC): Define.
16422 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
16423 (AF_NFC): Define.
16424
16425 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
16426 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16427 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16428 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16429 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16430
16431 [BZ #13021]
16432 * scripts/test-installation.pl: Don't expect libnss_test1 to be
16433 installed.
16434
16435 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
16436 typo.
16437 (_dl_x86_64_save_sse): Likewise.
16438
16439 2011-07-22 Ulrich Drepper <drepper@gmail.com>
16440
16441 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
16442 OSXSAVE.
16443 (_dl_x86_64_save_sse): Likewise.
16444
16445 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
16446
16447 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
16448
16449 2011-07-21 Andreas Schwab <schwab@redhat.com>
16450
16451 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
16452 change.
16453 (_dl_x86_64_save_sse): Use correct AVX check.
16454
16455 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16456
16457 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
16458 bug in strncpy/strncat.
16459 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
16460
16461 2011-07-21 Ulrich Drepper <drepper@gmail.com>
16462
16463 * string/tester.c (test_strcat): Add tests for different alignments
16464 of source and destination.
16465 (test_strncat): Likewise.
16466
16467 2011-07-20 Ulrich Drepper <drepper@gmail.com>
16468
16469 [BZ #12852]
16470 * posix/glob.c (glob): Check passed in values before using them in
16471 expressions to avoid some overflows.
16472 (glob_in_dir): Likewise.
16473
16474 [BZ #13007]
16475 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
16476 check for AVX enablement so that we don't crash with old kernels and
16477 new hardware.
16478 * elf/tst-audit4.c: Add same checks here.
16479 * elf/tst-audit6.c: Likewise.
16480
16481 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
16482
16483 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
16484
16485 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
16486
16487 2011-07-20 Ulrich Drepper <drepper@gmail.com>
16488
16489 * po/cs.po: Update from translation team.
16490 * po/bg.po: Likewise.
16491
16492 2011-07-12 Marek Polacek <mpolacek@redhat.com>
16493
16494 * misc/sys/cdefs.h: Add support for const attribute.
16495 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
16496 to gnu_dev_{major,minor,makedev} functions.
16497
16498 2011-07-20 Marek Polacek <mpolacek@redhat.com>
16499
16500 * intl/dcigettext.c (get_output_charset): Add missing bracket.
16501
16502 2011-07-20 Andreas Schwab <schwab@redhat.com>
16503
16504 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
16505 strlen results.
16506
16507 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16508
16509 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
16510 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
16511 register in order to avoid conflicts with the soft frame pointer
16512 being held in r11 when necessary.
16513 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
16514 (INTERNAL_VSYSCALL_NCS): Likewise.
16515
16516 2011-07-14 Marek Polacek <mpolacek@redhat.com>
16517
16518 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
16519 * elf/dl-fini.c (_dl_fini): Adjust caller.
16520 * elf/dl-close.c (_dl_close_worker): Likewise.
16521 * sysdeps/generic/ldsodefs.h: Adjust declaration.
16522
16523 2011-07-15 Marek Polacek <mpolacek@redhat.com>
16524
16525 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
16526 "aux_cache->nlibs < 0".
16527
16528 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
16529 in the reload-count case.
16530
16531 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16532
16533 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16534 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
16535 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
16536 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
16537 * sysdeps/x86_64/multiarch/strcat.S: New file.
16538 * sysdeps/x86_64/multiarch/strncat.S: New file.
16539 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
16540 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
16541 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
16542 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
16543 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
16544 (USE_AS_STRCAT): Define.
16545 Add strcat and strncat support.
16546 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16547 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16548 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
16549 * string/strncat.c: Update.
16550 (USE_AS_STRNCAT): Define.
16551 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16552 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
16553 and i7.
16554 * sysdeps/x86_64/multiarch/init-arch.h
16555 (bit_Prefer_PMINUB_for_stringop): New.
16556 (index_Prefer_PMINUB_for_stringop): Likewise.
16557 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
16558 bit_Prefer_PMINUB_for_stringop.
16559
16560 2011-07-19 Ulrich Drepper <drepper@gmail.com>
16561
16562 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
16563 buffer64.
16564 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
16565 of casting of buffer.
16566 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
16567 buffer32 and buffer64.
16568 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
16569 writes instead of casting of buffer.
16570 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
16571 buffer32.
16572 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
16573 casting of buffer.
16574
16575 2011-07-19 Andreas Schwab <schwab@redhat.com>
16576
16577 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
16578
16579 2011-07-19 Ulrich Drepper <drepper@gmail.com>
16580
16581 * nscd/nscd.c (termination_handler): Don't do anything for a database
16582 if it has not yet been initialized.
16583
16584 2011-07-18 Ulrich Drepper <drepper@gmail.com>
16585
16586 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16587
16588 2011-07-15 Marek Polacek <mpolacek@redhat.com>
16589
16590 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16591
16592 2011-07-18 Ulrich Drepper <drepper@gmail.com>
16593
16594 * po/nl.po: Update from translation team.
16595 * po/sv.po: Likewise.
16596
16597 2011-07-16 Roland McGrath <roland@hack.frob.com>
16598
16599 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
16600 now disallowed by GCC.
16601
16602 * configure.in (use-default-link): Default to yes if a test -shared
16603 link meets our qualifications.
16604 * configure: Regenerated.
16605
16606 * config.make.in (output-format): New variable.
16607 * configure.in: Check for ld --print-output-format support.
16608 * configure: Regenerated.
16609 * Makerules ($(common-objpfx)format.lds)
16610 [$(output-format) != unknown]: Just use $(output-format),
16611 instead of the linker-script munging.
16612
16613 2011-07-14 Roland McGrath <roland@hack.frob.com>
16614
16615 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
16616 of $(common-objpfx)shlib.lds.
16617 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
16618
16619 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
16620 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
16621
16622 * configure.in (-z relro check): Adjust test code to add a large
16623 writable data section after it.
16624 * configure: Regenerated.
16625
16626 2011-07-11 Roland McGrath <roland@hack.frob.com>
16627
16628 * configure.in (-z relro check): Fix test code to make the variable
16629 truly const.
16630 * configure: Regenerated.
16631
16632 2011-07-11 Ulrich Drepper <drepper@gmail.com>
16633
16634 * nscd/nscd.h (struct traced_file): Define.
16635 (struct database_dyn): Remove inotify_descr, reset_res, and filename
16636 elements. Add traced_files.
16637 (inotify_fd): Declare.
16638 (register_traced_file): Declare.
16639 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
16640 (inotify_fd): Export.
16641 (resolv_conf_descr): Remove.
16642 (nscd_init): Move inotify descriptor creation to main.
16643 Don't register files for notification here.
16644 (register_traced_file): New function.
16645 (invalidate_cache): Don't use reset_res to determine whether to call
16646 res_init, go through the list of registered files.
16647 (main_loop_poll): The inotify descriptors are now stored in the
16648 structures for the traced files.
16649 (main_loop_epoll): Likewise
16650 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
16651 to __nss_disable_nscd.
16652 * nscd/cache.c (prune_cache): There is no single inotify descriptor
16653 for a database anymore. Check the records for all the registered
16654 files instead.
16655 * nss/Makefile (libnss_files-routines): Add files-init.
16656 (libnss_db-routines): Add db-init.
16657 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
16658 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
16659 * nss/nss_db/db-init.c: New file.
16660 * nss/nss_files/files-init.c: New file.
16661 * nss/nsswitch.c (nss_load_library): New function. Broken out of
16662 __nss_lookup_function.
16663 (__nss_lookup_function): Call nss_load_library.
16664 (nss_load_all_libraries): New function.
16665 (__nss_disable_nscd): Take parameter with callback function for files
16666 to register. Set is_nscd. Load all the DSOs for the NSS modules
16667 used for the cached services.
16668 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
16669 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
16670 options for features to all the files in nscd.
16671
16672 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
16673
16674 2011-07-10 Roland McGrath <roland@hack.frob.com>
16675
16676 * csu/elf-init.c (__libc_csu_init): Comment typo.
16677
16678 2011-07-09 Ulrich Drepper <drepper@gmail.com>
16679
16680 * po/pl.po: Update from translation team.
16681 * po/ja.po: Likewise.
16682 * po/ru.po: Likewise.
16683 * po/ko.po: Likewise.
16684 * po/fr.po: Likewise.
16685
16686 2011-07-09 Roland McGrath <roland@hack.frob.com>
16687
16688 * configure.in (.ctors/.dtors header and trailer check):
16689 Use an empirical test on a built program.
16690 * configure: Regenerated.
16691
16692 * configure.in (-z relro check): Use an empirical test on a built DSO.
16693 Detect, but do not require, on ia64.
16694 * configure: Regenerated.
16695
16696 * configure.in (READELF): Find it with AC_CHECK_TOOL.
16697 Update tests that use readelf to use $READELF instead.
16698 * configure: Regenerated.
16699
16700 2011-07-08 Ulrich Drepper <drepper@gmail.com>
16701
16702 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
16703 if the result is not used.
16704
16705 2011-07-05 Andreas Jaeger <aj@suse.de>
16706
16707 [BZ#9696]
16708 * stdlib/tst-strtod.c: Add testcase.
16709
16710 2011-07-07 Ulrich Drepper <drepper@gmail.com>
16711
16712 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
16713 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
16714 The latter has a higher limit. Take additional parameter to pass to
16715 the new function.
16716 (__pathconf): Pass file to __statfs_link_max.
16717 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
16718 __statfs_link_max.
16719 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
16720 __statfs_link_max.
16721
16722 [BZ #12868]
16723 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
16724 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16725 Handle Lustre.
16726 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
16727 (__statfs_filesize_max): Likewise.
16728 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
16729
16730 2011-07-05 Andreas Jaeger <aj@suse.de>
16731
16732 * resolv/res_comp.c (dn_skipname): Remove unused variable.
16733
16734 2011-07-06 Marek Polacek <mpolacek@redhat.com>
16735
16736 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
16737 `status' variable.
16738 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
16739 Likewise.
16740
16741 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
16742
16743 * Makefile (strop-tests): Add strncat.
16744 * string/test-strncat.c: New file.
16745
16746 2011-06-30 Marek Polacek <mpolacek@redhat.com>
16747
16748 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
16749
16750 2011-06-21 Andreas Jaeger <aj@suse.de>
16751
16752 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
16753 Copy rule from iconvdata/Makefile.
16754
16755 2011-07-06 Ulrich Drepper <drepper@gmail.com>
16756
16757 [BZ #12922]
16758 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
16759 but no long options are defined, just return 'W'.
16760
16761 2011-06-22 Marek Polacek <mpolacek@redhat.com>
16762
16763 [BZ #9696]
16764 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
16765
16766 2011-07-06 Ulrich Drepper <drepper@gmail.com>
16767
16768 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
16769 netgroups to read.
16770 (innetgr): Likewise.
16771
16772 2011-07-05 Roland McGrath <roland@hack.frob.com>
16773
16774 * config.make.in (install_root): Default to $(DESTDIR).
16775
16776 2011-07-05 Ulrich Drepper <drepper@gmail.com>
16777
16778 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
16779
16780 2011-07-02 Roland McGrath <roland@hack.frob.com>
16781
16782 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
16783
16784 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
16785 containing directory rather than embedding absolute directory names.
16786
16787 * scripts/check-local-headers.sh: Rewritten using awk.
16788 Match by word, not by line. Print error messages for matches.
16789 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
16790
16791 * Makerules [shlib-lds-flags empty]:
16792 ($(common-objpfx)libc_pic.opts): New target.
16793 ($(common-objpfx)libc_pic.os.clean): New target.
16794 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
16795
16796 * config.make.in (OBJCOPY): New variable.
16797 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
16798 * configure: Regenerated.
16799
16800 * config.make.in (use-default-link): New variable.
16801 * configure.in (use_default_link): Grok --with-default-link to set it.
16802 * configure: Regenerated.
16803 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
16804 (shlib-lds, shlib-lds-flags): Define to empty.
16805
16806 * Makerules (shlib-lds): New variable.
16807 (shlib-lds-flags): New variable.
16808 (build-shlib, build-moduile, build-module-asneeded): Use it.
16809 ($(common-objpfx)libc.so): Use $(shlib-lds).
16810 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
16811 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
16812
16813 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
16814 DT_FLAGS/DT_FLAGS_1 with zero flags.
16815
16816 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
16817 linker script munging.
16818
16819 2011-07-02 Ulrich Drepper <drepper@gmail.com>
16820
16821 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
16822 as 128-bit value.
16823 * crypt/sha512.c (sha512_process_block): Perform total addition using
16824 128-bit if possible.
16825 (__sha512_finish_ctx): Likewise.
16826 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
16827 as 64-bit value.
16828 * crypt/sha256.c (SWAP64): Define.
16829 (sha256_process_block): Perform total addition using 64-bit if
16830 possible.
16831 (__sha256_finish_ctx): Likewise.
16832
16833 2011-07-01 Ulrich Drepper <drepper@gmail.com>
16834
16835 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
16836 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16837 * nscd/hstcache.c (cache_addhst): Likewise.
16838 * nscd/grpcache.c (cache_addgr): Likewise.
16839 * nscd/aicache.c (addhstaiX): Likewise
16840 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
16841
16842 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
16843
16844 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
16845 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16846 * nscd/hstcache.c (cache_addhst): Likewise.
16847 * nscd/grpcache.c (cache_addgr): Likewise.
16848 * nscd/aicache.c (addhstaiX): Likewise
16849
16850 2011-07-01 Andreas Schwab <schwab@redhat.com>
16851
16852 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
16853 domain only when needed.
16854
16855 2011-06-30 Andreas Schwab <schwab@redhat.com>
16856
16857 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
16858 is always restored.
16859
16860 2011-06-29 Ulrich Drepper <drepper@gmail.com>
16861
16862 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
16863 are re-adding the entry.
16864 * nscd/servicescache.c (cache_addserv): Likewise.
16865
16866 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
16867
16868 * sysdeps/generic/dl-irel.h: fix protection against multiple
16869 inclusions.
16870 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
16871
16872 2011-06-28 Ulrich Drepper <drepper@gmail.com>
16873
16874 [BZ #12935]
16875 * malloc/memusage.sh: Fix quoting in message.
16876 * debug/xtrace.sh: Likewise.
16877
16878 * configure.in: Remove support for --experimental-malloc option, make
16879 it the default.
16880 * config.make.in: Likewise.
16881 * malloc/Makefile: Likewise.
16882
16883 2011-06-27 Andreas Schwab <schwab@redhat.com>
16884
16885 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
16886 two-byte characters.
16887
16888 2011-06-27 Roland McGrath <roland@hack.frob.com>
16889
16890 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
16891 AC_CACHE_CHECK invocation.
16892 * configure: Regenerated.
16893
16894 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
16895
16896 2011-06-27 Ulrich Drepper <drepper@gmail.com>
16897
16898 [BZ #12350]
16899 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
16900 bit from old_res_options.
16901
16902 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
16903
16904 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
16905 value type for setfct.
16906
16907 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
16908
16909 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16910 __gettimeofday instead of gettimeofday.
16911
16912 2011-06-26 Ulrich Drepper <drepper@gmail.com>
16913
16914 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
16915
16916 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
16917
16918 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
16919
16920 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
16921 info.
16922
16923 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16924
16925 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16926 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16927 strcpy-sse2-unaligned strncpy-sse2-unaligned
16928 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
16929 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
16930 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
16931 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
16932 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
16933 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
16934 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
16935 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
16936 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
16937 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
16938 (STRCPY): Support SSE2 and SSSE3 versions.
16939
16940 2011-06-24 Ulrich Drepper <drepper@gmail.com>
16941
16942 [BZ #12874]
16943 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
16944 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
16945 kernels which artificially limit size of requests.
16946
16947 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16948
16949 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16950 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16951 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
16952 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
16953 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
16954 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
16955 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
16956 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
16957 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
16958 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
16959 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
16960 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
16961 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
16962 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
16963 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
16964 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16965 Enable unaligned load optimization for Intel Core i3, i5 and i7
16966 processors.
16967 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
16968 Define.
16969 (index_Fast_Unaligned_Load): Define.
16970 (HAS_FAST_UNALIGNED_LOAD): Define.
16971
16972 2011-06-23 Marek Polacek <mpolacek@redhat.com>
16973
16974 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
16975
16976 2011-06-22 Ulrich Drepper <drepper@gmail.com>
16977
16978 [BZ #12907]
16979 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
16980 until it is clear that the information is realy needed.
16981 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
16982
16983 2011-06-22 Andreas Schwab <schwab@redhat.com>
16984
16985 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
16986
16987 2011-06-22 Ulrich Drepper <drepper@gmail.com>
16988
16989 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16990 /sys/devices/system/cpu/online if it is usable.
16991
16992 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
16993 reading the information from the /proc filesystem to once a second.
16994
16995 2011-06-21 Andreas Jaeger <aj@suse.de>
16996
16997 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
16998 NULL after inclusion of kernel headers.
16999
17000 2011-06-21 Ulrich Drepper <drepper@gmail.com>
17001
17002 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
17003 calls to internal_setent.
17004
17005 [BZ #12885]
17006 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
17007 addresses using gethostbyname4_r ignore IPv4 addresses.
17008
17009 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
17010 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
17011
17012 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
17013
17014 2011-06-20 David S. Miller <davem@davemloft.net>
17015
17016 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
17017 inclusions.
17018 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
17019
17020 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
17021 (elf_irel): Use it.
17022 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
17023 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
17024 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
17025 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
17026 * sysdeps/x86_64/dl-irel.h: Likewise.
17027
17028 * elf/dl-runtime.c: Use elf_ifunc_invoke.
17029 * elf/dl-sym.c: Likewise.
17030
17031 2011-06-15 Ulrich Drepper <drepper@gmail.com>
17032
17033 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
17034 need to dereference resplen2.
17035
17036 2011-06-14 Andreas Schwab <schwab@redhat.com>
17037
17038 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
17039
17040 2011-06-15 Ulrich Drepper <drepper@gmail.com>
17041
17042 * Makeconfig: Define vardbdir and inst_vardbdir.
17043 * nss/Makefile: Add rules to install db-Makefile.
17044
17045 * nss/nss_db/db-XXX.c: Cleanup.
17046
17047 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
17048 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
17049 GLIBC_PRIVATE.
17050 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
17051 * nss/makedb.c: Implement -g option to specify that value strings
17052 are generated and should not be added to table iterated over for
17053 get*ent calls.
17054 * nss/nss_db/db-initgroups.c: New file.
17055
17056 * nss/getent.c: Add support for initgroups lookups through getgrouplist
17057 interface.
17058
17059 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
17060 (internal_getgrouplist): Adjust to name change.
17061 Update use_initgroups_entry if this is not the first call.
17062 * nss/databases.def: Add initgroups entry.
17063
17064 * nss/makedb.c (compute_tables): Check result of multiple hash table
17065 sizes to minimize maximum chain length.
17066
17067 2011-06-14 Ulrich Drepper <drepper@gmail.com>
17068
17069 * Versions.def: Add entry for libnss_db.
17070 * shlib-versions: Likewise.
17071 * nss/Makefile: Add rules to build libnss_db.
17072 * nss/Versions: Add libnss_db information. Organize libnss_files
17073 entries better.
17074 * nss/db-Makefile: Add gshadow support. Change rules for the new
17075 makedb progra. Some minor improvements to generate smaller files.
17076 * nss/nss_db/nss_db.h: Move NSS database header data structures to
17077 here from...
17078 * nss/makedb.c: ...here.
17079 Improve database format to be smaller and require less memory at
17080 runtime.
17081 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
17082 db anymore.
17083 * nss/nss_db/db-netgrp.c: Likewise.
17084 * nss/nss_db/db-open.c: Likewise.
17085 * nss/nss_files/flies-XXX.x: Adjust comments.
17086 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
17087 * nss/nss_files/files-grp.c: Likewise.
17088 * nss/nss_files/files-hosts.c: Likewise.
17089 * nss/nss_files/files-network.c: Likewise.
17090 * nss/nss_files/files-proto.c: Likewise.
17091 * nss/nss_files/files-pwd.c: Likewise.
17092 * nss/nss_files/files-rpc.c: Likewise.
17093 * nss/nss_files/files-service.c: Likewise.
17094 * nss/nss_files/files-sgrp.c: Likewise.
17095 * nss/nss_files/files-spwd.c: Likewise.
17096 * nss/nss_db/db-alias.c: Removed.
17097 * nss/nss_db/dummy-db.h: Removed.
17098
17099 2011-06-02 Ulrich Drepper <drepper@gmail.com>
17100
17101 * nss/makedb.c: Rewritten to not use database library.
17102 * nss/Makefile: Update to build new makedb program.
17103
17104 2011-06-14 Andreas Jaeger <aj@suse.de>
17105
17106 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
17107 memset declaration.
17108
17109 2011-06-10 Andreas Schwab <schwab@redhat.com>
17110
17111 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
17112 tmpbuf.
17113
17114 2011-06-10 Roland McGrath <roland@hack.frob.com>
17115
17116 * Makerules (shlib.lds): Fail if the linker script comes out empty.
17117 * elf/Makefile ($(objpfx)ld.so): Likewise.
17118
17119 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
17120 Don't list ld.so twice in dependencies.
17121
17122 * posix/bug-regex31.c: Include <stdlib.h>.
17123
17124 * nscd/hstcache.c (cache_addhst): Remove unused variable.
17125
17126 * nis/nss_compat/compat-spwd.c
17127 (getspent_next_nss_netgr): Remove unused variable.
17128 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
17129
17130 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
17131 nonmembers" output to use the right array.
17132
17133 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
17134
17135 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
17136
17137 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
17138 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
17139 * catgets/gencat.c (read_input_file): Likewise.
17140 * locale/programs/locarchive.c (enlarge_archive): Likewise.
17141
17142 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
17143 variable definition inside #if's controlling its use.
17144
17145 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
17146
17147 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
17148
17149 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
17150
17151 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
17152 unreachable code.
17153
17154 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
17155
17156 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
17157 * configure: Regenerated.
17158
17159 * Makerules: Revert last change.
17160 * elf/Makefile: Likewise.
17161
17162 2011-06-09 Roland McGrath <roland@hack.frob.com>
17163
17164 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
17165 * elf/Makefile ($(objpfx)librtld.os): Likewise.
17166 (reloc-link): Likewise.
17167
17168 2011-06-09 Ulrich Drepper <drepper@gmail.com>
17169
17170 * elf/Makefile: Add rules to build pldd.
17171 * elf/pldd.c: New file.
17172 * elf/pldd-xx.c: New file.
17173
17174 2011-06-07 Ulrich Drepper <drepper@gmail.com>
17175
17176 * version.h: Update for 2.15 development version.
17177
17178 2011-06-07 David S. Miller <davem@davemloft.net>
17179
17180 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
17181 ifuncs.
17182 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
17183 elf_machine_lazy_rel): Likewise.
17184 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17185 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
17186 elf_machine_lazy_rel): Likewise.
17187 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
17188 dl_hwcap via passed in argument.
17189 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
17190 Likewise.
17191
17192 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17193
17194 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
17195
17196 2011-06-06 Roland McGrath <roland@hack.frob.com>
17197
17198 [BZ #12849]
17199 * manual/fdl-1.1.texi: New file, verbatim from:
17200 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
17201 * manual/lgpl-2.1.texi: New file, verbatim from:
17202 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
17203 * manual/Makefile (licenses): New variable, list those new file names.
17204 (texis): Use it.
17205 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
17206
17207 * manual/fdl.texi: File removed.
17208 * manual/lesser.texi: File removed.
17209 * manual/libc.texinfo (Copying, Documentation License):
17210 Use new @include file names, put @appendix directive before @include.
17211
17212 2011-06-04 Jakub Jelinek <jakub@redhat.com>
17213
17214 [BZ #12841]
17215 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
17216 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
17217 (mq_open): Add __NTH.
17218
17219 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
17220
17221 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17222 Assume Intel Core i3/i5/i7 processor if AVX is available.
17223
17224 2011-05-31 Ulrich Drepper <drepper@gmail.com>
17225
17226 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17227 typo.
17228
17229 2011-05-31 Andreas Schwab <schwab@redhat.com>
17230
17231 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
17232 memory. Use alloca_account. Fix memory leak when retrying.
17233
17234 2011-05-31 Ulrich Drepper <drepper@gmail.com>
17235
17236 * version.h (RELEASE): Bump for 2.14 release.
17237 * include/features.h (__GLIBC_MINOR__): Bump to 14.
17238
17239 * config.make.in (RANLIB): Remove entry.
17240
17241 2011-05-30 Ulrich Drepper <drepper@gmail.com>
17242
17243 * po/Makefile (po-sed-cmd): Add ksh to extensions.
17244 (libc.pot): Work around missing support for .ksh extension in xgettext.
17245
17246 [BZ #12684]
17247 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
17248 if both request failed.
17249 (send_dg): In case of server errors clear resplen or *resplen2.
17250
17251 [BZ #12454]
17252 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
17253 when there are multiple maps.
17254 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
17255 (_dl_fini): Remove test here.
17256
17257 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
17258
17259 2011-05-29 Ulrich Drepper <drepper@gmail.com>
17260
17261 [BZ #12350]
17262 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
17263 bit from old_res_options.
17264 (gaih_inet): Likewise.
17265
17266 [BZ #11099]
17267 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
17268 as signed.
17269
17270 * resolv/res_init.c (res_setoptions): Make the code more compact.
17271
17272 [BZ #11558]
17273 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
17274 set RES_USEVC.
17275
17276 [BZ #11634]
17277 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
17278
17279 * malloc/malloc.h: Mark malloc hook variables as deprecated.
17280
17281 [BZ #11781]
17282 * malloc/malloc.h: Declare malloc hook variables as volatile.
17283
17284 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
17285 in last patch.
17286
17287 [BZ #11799]
17288 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
17289 raise in the comment.
17290 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17291 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17292 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
17293
17294 2011-05-28 Ulrich Drepper <drepper@gmail.com>
17295
17296 [BZ #12811]
17297 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
17298 grow the buffers more if it already has to be sufficient.
17299 (build_wcs_upper_buffer): Likewise.
17300 * posix/regexec.c (check_matching): Likewise.
17301 (clean_state_log_if_needed): Likewise.
17302 (extend_buffers): Don't enlarge buffers beyond size of the input
17303 buffer.
17304 Patches mostly by Emil Wojak <emil@wojak.eu>.
17305 * posix/bug-regex32.c: New file.
17306 * posix/Makefile (tests): Add bug-regex32.
17307
17308 * locale/findlocale.c (_nl_find_locale): Return right away if
17309 _nl_explode_name failed.
17310 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
17311
17312 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
17313
17314 * debug/xtrace.sh: Unify messages.
17315 * malloc/memusage.sh: Likewise.
17316
17317 [BZ #12813]
17318 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
17319 time symbol from vDSO. Substitute with vsyscall if not available.
17320 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
17321 __vdso_time.
17322
17323 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
17324 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
17325 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
17326 Add sendmmsg and internal_sendmmsg.
17327 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
17328 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
17329 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
17330
17331 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
17332 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
17333 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
17334
17335 2011-05-27 Ulrich Drepper <drepper@gmail.com>
17336
17337 [BZ #12813]
17338 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
17339 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
17340 available.
17341 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
17342 __vdso_getcpu.
17343
17344 [BZ #12814]
17345 * iconvdata/Makefile (tests): Add bug-iconv9.
17346 * iconvdata/bug-iconv9.c: New file.
17347
17348 2011-05-27 Andreas Schwab <schwab@redhat.com>
17349
17350 [BZ #12814]
17351 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
17352
17353 2011-05-25 Jakub Jelinek <jakub@redhat.com>
17354
17355 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17356 (struct user_regs_struct): Change intcs field back to cs.
17357
17358 2011-05-25 Ulrich Drepper <drepper@gmail.com>
17359
17360 * po/ja.po: Update from translation team.
17361
17362 2011-05-23 Ulrich Drepper <drepper@gmail.com>
17363
17364 [BZ #12795]
17365 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
17366 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
17367
17368 2011-05-20 Andreas Schwab <schwab@redhat.com>
17369
17370 * stdlib/longlong.h: Update from GCC.
17371
17372 2011-05-23 Andreas Schwab <schwab@redhat.com>
17373
17374 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
17375 parameter name.
17376 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
17377 Add parameter name.
17378 (__sysconf): Pass it down.
17379
17380 2011-05-22 Ulrich Drepper <drepper@gmail.com>
17381
17382 [BZ #12671]
17383 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
17384 some situations.
17385 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17386 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
17387 add in in __libc_use_alloca calls. Adjust callers.
17388 (glob): Use malloc in some situations.
17389
17390 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
17391 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
17392 pltexit.
17393
17394 2011-05-21 Ulrich Drepper <drepper@gmail.com>
17395
17396 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
17397 and CLOCK_BOOTTIME_ALARM.
17398
17399 [BZ #12782]
17400 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
17401 is returned.
17402
17403 * string/_strerror.c (__strerror_r): Print negative errors as signed
17404 numbers.
17405
17406 [BZ #12777]
17407 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
17408 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
17409 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
17410
17411 * configure.in: Fix typo in redirection and correct removal of test
17412 files in two cases.
17413
17414 [BZ #12788]
17415 * locale/setlocale.c (new_composite_name): Fix test to check for
17416 identical name of all categories.
17417
17418 [BZ #12792]
17419 * libio/filedoalloc.c (local_isatty): New function.
17420 (_IO_file_doallocate): Use local_isatty.
17421 * stdio-common/perror.c (perror): In case a new stream is used
17422 forward the stream error.
17423 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
17424 error flag.
17425
17426 2011-05-20 Ulrich Drepper <drepper@gmail.com>
17427
17428 [BZ #11869]
17429 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
17430 alloca.
17431 * include/alloca.h (extend_alloca_account): Define.
17432
17433 [BZ #11857]
17434 * posix/regex.h: Fix comments with documentation of user-accessible
17435 fields after compilation and describe correct free'ing of pattern
17436 after re_compile_pattern.
17437 Patch by Reuben Thomas <rrt@sc3d.org>.
17438
17439 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
17440
17441 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
17442 and -mno-altivec to prevent the compiler from using Altivec and/or
17443 VSX instructions when the corresponding registers are not available.
17444
17445 2011-05-19 Andreas Schwab <schwab@redhat.com>
17446
17447 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
17448
17449 2011-05-19 Ulrich Drepper <drepper@gmail.com>
17450
17451 * libio/freopen.c (freopen): Use __dup2, not dup2.
17452 * libio/freopen64.c (freopen64): Likewise.
17453
17454 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
17455
17456 [BZ #12775]
17457 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
17458 * math/Makefile (tests): Add test-powl.
17459 (CFLAGS-test-powl.c): Define.
17460 * math/test-powl.c: New file.
17461
17462 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
17463
17464 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
17465
17466 2011-05-17 Ulrich Drepper <drepper@gmail.com>
17467
17468 [BZ #11837]
17469 * iconvdata/gb18030.c: Update to GB18020-2005.
17470
17471 2011-05-16 Ulrich Drepper <drepper@gmail.com>
17472
17473 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
17474 RE_SYNTAX_POSIX_AWK): Update to match recent development.
17475 Patch by Aharon Robbins <arnold@skeeve.com>.
17476
17477 [BZ #11892]
17478 * stdlib/putenv.c (putenv): Don't always create copy of the variable
17479 on the stack.
17480
17481 [BZ #11895]
17482 * misc/pselect.c (__pselect): Handle timeout value errors hidden
17483 through underflows.
17484
17485 [BZ #12766]
17486 * misc/error.c (error_at_line): Ensure file_name and old_file_name
17487 point to strings before performing equality test for error_one_per_line
17488 mode.
17489
17490 [BZ #11697]
17491 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
17492
17493 [BZ #11820]
17494 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17495 (struct user_fpregs_struct): Avoid __uint*_t types.
17496
17497 [BZ #6420]
17498 * malloc/mtrace.c (tr_where): Add additional parameter to point to
17499 symbol info. Use it instead of calling _dl_addr locally.
17500 (lock_and_info): New function.
17501 (tr_freehook): Call lock_and_info and pass symbol info as additional
17502 parameter to tr_where.
17503 (tr_mallochook): Likewise.
17504 (tr_reallochook): Likewise.
17505 (tr_memalignhook): Likewise.
17506
17507 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
17508 used and couldn't be at all thread-safe.
17509
17510 2011-05-15 Ulrich Drepper <drepper@gmail.com>
17511
17512 * libio/freopen.c (freopen): Don't close old file descriptor
17513 before the new one is opened. Instead dup the new file descriptor
17514 to the old one after the new stream is created.
17515 * libio/freopen64.c (freopen64): Likewise.
17516 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
17517 * libio/fileops.c (_IO_new_file_close_it): Handle new
17518 _IO_FLAGS2_NOCLOSE flag.
17519 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
17520 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
17521 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
17522 _IO_FLAGS2_NOCLOSE flag.
17523 * include/unistd.h: Add hidden_proto for dup3.
17524 Define __have_dup3.
17525 * io/dup3.c: Define hidden symbol.
17526 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
17527
17528 [BZ #7101]
17529 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
17530 when an incomplete long option is used.
17531 * posix/tst-getopt_long1.c: New file.
17532 * posix/Makefile (tests): Add tst-getopt_long1.
17533
17534 [BZ #10138]
17535 * scripts/config.guess: Update from autoconf-2.68.
17536 * scripts/config.sub: Likewise.
17537
17538 [BZ #10157]
17539 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
17540 tests into ...
17541 (has_cpuclock): ...this. New function.
17542 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
17543 macro here based on has_cpuclock code.
17544
17545 [BZ #10149]
17546 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17547 First byte (not low byte) is now always NUL.
17548 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
17549
17550 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17551 Use non-cancelable interfaces.
17552
17553 [BZ #9809]
17554 * locale/iso-639.def: Add entry for Sorani.
17555
17556 [BZ #11901]
17557 * include/stdlib.h: Move include protection to the right place.
17558 Define abort_msg_s. Declare __abort_msg with it.
17559 * stdlib/abort.c (__abort_msg): Adjust type.
17560 * assert/assert.c (__assert_fail_base): New function. Majority
17561 of code from __assert_fail. Allocate memory for __abort_msg with
17562 mmap.
17563 (__assert_fail): Now call __assert_fail_base.
17564 * assert/assert-perr.c: Remove bulk of implementation. Use
17565 __assert_fail_base.
17566 * include/assert.hL Declare __assert_fail_base.
17567 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
17568 mmap.
17569 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
17570
17571 2011-05-14 Ulrich Drepper <drepper@gmail.com>
17572
17573 [BZ #11952]
17574 [BZ #12453]
17575 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
17576 until all modules are registered in the DTV.
17577 * elf/Makefile: Add rules to build and run tst-tls19.
17578 * elf/tst-tls19.c: New file.
17579 * elf/tst-tls19mod1.c: New file.
17580 * elf/tst-tls19mod2.c: New file.
17581 * elf/tst-tls19mod3.c: New file.
17582 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
17583
17584 [BZ #12083]
17585 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
17586 correctly.
17587
17588 [BZ #12601]
17589 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
17590 two-byte sequence errors.
17591 * iconvdata/Makefile (tests): Add bug-iconv8.
17592 * iconvdata/bug-iconv8.c: New file.
17593
17594 [BZ #12626]
17595 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
17596 buf2 definition.
17597
17598 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
17599
17600 [BZ #12432]
17601 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
17602 (dummy_getcfa): New function.
17603 (init): Get _Unwind_GetCFA address, use dummy if not found.
17604 (backtrace_helper): In recursion check, also check whether CFA changes.
17605 (__backtrace): Completely initialize arg.
17606
17607 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
17608 storing incomplete byte sequence in state object. Avoid testing for
17609 guaranteed too small input if we know there is enough data available.
17610
17611 2011-05-11 Andreas Schwab <schwab@redhat.com>
17612
17613 * Makeconfig (+link-pie): Indent.
17614 * Rules (binaries-pie): Define if $(have-fpie) and
17615 $(build-shared).
17616 (binaries-shared): Also filter out $(binaries-pie).
17617 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
17618 * nscd/Makefile (others-pie): Add nscd.
17619 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
17620 ($(objpfx)nscd): Remove command override.
17621 * login/Makefile (others-pie): Add pt_chown.
17622 ($(objpfx)pt_chown): Remove command override.
17623 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
17624 remove command overrides.
17625
17626 2011-05-13 Ulrich Drepper <drepper@gmail.com>
17627
17628 * libio/tst_putwc.c: Fix error messages.
17629
17630 [BZ #12724]
17631 * libio/fileops.c (_IO_new_file_close_it): Always flush when
17632 currently writing and seek to current position when not.
17633 * libio/Makefile (tests): Add bug-fclose1.
17634 * libio/bug-fclose1.c: New file.
17635
17636 2011-05-12 Ulrich Drepper <drepper@gmail.com>
17637
17638 [BZ #12511]
17639 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
17640 don't set DF_1_NODELETE here.
17641 (do_lookup_x): When entering new entry test for copy relocation
17642 and if necessary set DF_1_NODELETE flag.
17643 * elf/tst-unique4.cc: New file.
17644 * elf/tst-unique4.h: New file.
17645 * elf/tst-unique4lib.cc: New file.
17646 * elf/Makefile: Add rules to build and run tst-unique4.
17647 Patch by Piotr Bury <pbury@goahead.com>.
17648
17649 2011-05-11 Ulrich Drepper <drepper@gmail.com>
17650
17651 [BZ #12052]
17652 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
17653
17654 [BZ #12625]
17655 * misc/mntent_r.c (addmntent): Flush the stream after the output
17656
17657 [BZ #12393]
17658 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
17659 (is_trusted_path_normalize): Skip initial colon. Append slash
17660 to empty buffer. Duplicate is_trusted_path code but allow
17661 constructed patch to be prefix.
17662 (is_dst): Allow $ORIGIN followed by /.
17663 (_dl_dst_substitute): Correct clearing of check_for_trusted.
17664 Correct testing of result of is_trusted_path_normalize
17665 (decompose_rpath): Fix warning.
17666
17667 2011-05-10 Ulrich Drepper <drepper@gmail.com>
17668
17669 [BZ #11257]
17670 * grp/initgroups.c (internal_getgrouplist): When we found the service
17671 list through the initgroups entry in nsswitch.conf do not always
17672 continue on a successful lookup. Don't always use the
17673 __nss_group_database value if it is set.
17674 * nss/nsswitch.conf (initgroups): Change action for successful db
17675 lookup to continue for compatibility.
17676
17677 2011-05-09 Ulrich Drepper <drepper@gmail.com>
17678
17679 [BZ #11532]
17680 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
17681 and CP774 modules.
17682 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
17683 and CP774 modules.
17684 * iconvdata/tst-tables.sh: Likewise.
17685 * iconvdata/cp770.c: New file.
17686 * iconvdata/cp771.c: New file.
17687 * iconvdata/cp772.c: New file.
17688 * iconvdata/cp773.c: New file.
17689 * iconvdata/cp774.c: New file.
17690 * iconvdata/testdata/CP770: New file.
17691 * iconvdata/testdata/CP770..UTF8: New file.
17692 * iconvdata/testdata/CP771: New file.
17693 * iconvdata/testdata/CP771..UTF8: New file.
17694 * iconvdata/testdata/CP772: New file.
17695 * iconvdata/testdata/CP772..UTF8: New file.
17696 * iconvdata/testdata/CP773: New file.
17697 * iconvdata/testdata/CP773..UTF8: New file.
17698 * iconvdata/testdata/CP774: New file.
17699 * iconvdata/testdata/CP774..UTF8: New file.
17700
17701 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
17702 END CHARMAP line.
17703 * iconvdata/gen-8bit-gap.sh: Likewise.
17704 * iconvdata/gen-8bit.sh: Likewise.
17705
17706 * locale/iso-639.def: Add ary entry.
17707
17708 [BZ #11258]
17709 * locale/C-translit.h.in: Add U20A1 transliteration.
17710
17711 [BZ #12178]
17712 * locale/iso-639.def: Add wae entry.
17713 Patch by Kevin Bortis <bortis@translate-wae.ch>.
17714
17715 [BZ #12545]
17716 * locale/programs/localedef.c (construct_output_path): Use ssize_t
17717 for n.
17718
17719 [BZ #12711]
17720 * locale/C-translit.h.in: Add entry for U20B9.
17721 Patch by pravin.d.s@gmail.com.
17722
17723 2011-05-08 Ulrich Drepper <drepper@gmail.com>
17724
17725 [BZ #12713]
17726 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
17727 ENAMETOOLONG use generic getcwd.
17728 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
17729 in rtld. Use *stat64.
17730 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
17731 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
17732 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
17733 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
17734 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
17735 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
17736 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
17737 __fstatat64 macros.
17738 * include/dirent.h: Add libc_hidden_proto for rewinddir.
17739 * dirent/rewinddir.c: Add libc_hidden_def.
17740 * sysdeps/mach/hurd/rewinddir.c: Likewise.
17741 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
17742
17743 * include/dirent.h (__alloc_dir): Add flags parameter.
17744 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
17745 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
17746 __alloc_dir.
17747 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
17748 from fdopendir if O_CLOEXEC is already set.
17749
17750 2011-03-15 Alan Modra <amodra@gmail.com>
17751
17752 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
17753 l_tls_firstbyte_offset non-zero. Save padding offset in
17754 l_tls_firstbyte_offset for later use.
17755 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
17756 freeing static tls block.
17757
17758 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
17759
17760 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
17761 where #ifdef was intended. The intent is to prevent ARG_MAX from
17762 being defined by the kernel headers.
17763
17764 2011-05-07 Ulrich Drepper <drepper@gmail.com>
17765
17766 [BZ #12734]
17767 * resolv/resolv.h: Define RES_NOTLDQUERY.
17768 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
17769 no-tld-query and set RES_NOTLDQUERY.
17770 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
17771 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
17772 modern BIND to search name as TLD unless forbidden.
17773
17774 2011-05-07 Petr Baudis <pasky@suse.cz>
17775 Ulrich Drepper <drepper@gmail.com>
17776
17777 [BZ #12393]
17778 * elf/dl-load.c (fillin_rpath): Move trusted path check...
17779 (is_trusted_path): ...to here.
17780 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
17781 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
17782 using is_trusted_path_normalize() in setuid scripts.
17783
17784 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17785
17786 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
17787 __BEGIN/__END_DECLS.
17788
17789 2011-05-06 Ulrich Drepper <drepper@gmail.com>
17790
17791 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
17792 NSS_STATUS_NOTFOUND if no record was found.
17793
17794 2011-05-05 Andreas Schwab <schwab@redhat.com>
17795
17796 * sunrpc/Makefile (headers): Add rpc/netdb.h.
17797 (headers-not-in-tirpc): Remove rpc/netdb.h
17798 * resolv/netdb.h: Revert last change.
17799
17800 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17801
17802 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
17803 circular dependency between libgcc.a and libc.a.
17804
17805 2011-05-05 Andreas Schwab <schwab@redhat.com>
17806
17807 * resolv/netdb.h: Don't include <rpc/netdb.h>.
17808 * nis/Makefile: Don't install rpcsvc/*.
17809 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
17810 instead of <rpc/types.h>.
17811 (MAXHOSTNAMELEN): Define.
17812
17813 2011-05-03 Andreas Schwab <schwab@redhat.com>
17814
17815 * elf/ldconfig.c (add_dir): Don't crash on empty path.
17816
17817 2011-04-28 Maciej Babinski <mbabinski@google.com>
17818
17819 [BZ #12714]
17820 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
17821 gethostbyname4_r when IPv6 results are possible.
17822
17823 2011-05-02 Ulrich Drepper <drepper@gmail.com>
17824
17825 [BZ #12723]
17826 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
17827 _PC_PIPE_BUF handling.
17828
17829 2011-04-30 Bruno Haible <bruno@clisp.org>
17830
17831 [BZ #12717]
17832 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
17833 * resolv/netdb.h (getnameinfo): Change type of flags parameter
17834 to 'int'.
17835 * inet/getnameinfo.c (getnameinfo): Likewise.
17836
17837 2011-04-29 Ulrich Drepper <drepper@gmail.com>
17838
17839 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
17840 to groups setting in database lookup.
17841 * nss/nsswitch.conf: Add initgroups entry.
17842
17843 2011-04-22 Ulrich Drepper <drepper@gmail.com>
17844
17845 [BZ #12685]
17846 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
17847 mode string.
17848 Patch by Eric Blake <eblake@redhat.com>.
17849
17850 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
17851
17852 * sunrpc/Makefile (need-export-routines): Add svc_run.
17853 (routines): Remove svc_run.
17854 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
17855 * sunrpc/clnt_perr.c (clnt_perrno): Export.
17856 * sunrpc/svc_run.c (svc_run): Likewise.
17857 * sunrpc/svc_udp.c (svcudp_create): Likewise.
17858
17859 2011-04-21 Ulrich Drepper <drepper@gmail.com>
17860
17861 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
17862 problem in reallocation in last patch.
17863
17864 2011-04-20 Ulrich Drepper <drepper@gmail.com>
17865
17866 * sunrpc/Makefile: Move inclusion of Rules.
17867
17868 2011-04-19 Ulrich Drepper <drepper@gmail.com>
17869
17870 * nss/nss_files/files-initgroups.c: New file.
17871 * nss/Makefile (libnss_files-routines): Add files-initgroups.
17872 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
17873 _nss_files_initgroups_dyn.
17874
17875 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
17876
17877 * elf/elf.h (R_ARM_IRELATIVE): Define.
17878
17879 2011-04-19 Ulrich Drepper <drepper@gmail.com>
17880
17881 * po/ru.po: Update from translation team.
17882
17883 2011-04-17 Ulrich Drepper <drepper@gmail.com>
17884
17885 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
17886 dependencies.
17887
17888 2011-02-06 Mike Frysinger <vapier@gentoo.org>
17889
17890 [BZ #12653]
17891 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
17892 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
17893 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17894 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17895 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17896
17897 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
17898
17899 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
17900 differing bytes.
17901 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17902 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17903 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17904
17905 2011-04-17 Ulrich Drepper <drepper@gmail.com>
17906
17907 [BZ #12420]
17908 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
17909 storing it.
17910 * stdlib/bug-getcontext.c: New file.
17911 * stdlib/Makefile: Add rules to build and run bug-getcontext.
17912
17913 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17914
17915 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
17916 instructions into .machine "z9-109".
17917 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
17918 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
17919
17920 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17921
17922 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
17923 between environment variables and auxiliary vector.
17924
17925 2011-04-16 Ulrich Drepper <drepper@gmail.com>
17926
17927 * Makefile: Add rules to build linkobj/libc.so.
17928 * include/libc-symbols.h: Define libc_hidden_nolink.
17929 * include/rpc/auth.h: Mark functions which are to be hidden.
17930 * include/rpc/auth_des.h: Likewise.
17931 * include/rpc/auth_unix.h: Likewise.
17932 * include/rpc/clnt.h: Likewise.
17933 * include/rpc/des_crypt.h: Likewise.
17934 * include/rpc/key_prot.h: Likewise.
17935 * include/rpc/pmap_clnt.h: Likewise.
17936 * include/rpc/pmap_prot.h: Likewise.
17937 * include/rpc/pmap_rmt.h: Likewise.
17938 * include/rpc/rpc_msg.h: Likewise.
17939 * include/rpc/svc.h: Likewise.
17940 * include/rpc/svc_auth.h: Likewise.
17941 * include/rpc/xdr.h: Likewise.
17942 * nis/Makefile: Link all DSOs against linkobj/libc.so.
17943 * nss/Makefile: Likewise.
17944 * sunrpc/Makefile: Don't install headers. Build library with normal
17945 entry points. Don't build rpcinfo. Link RPC tests appropriately.
17946 * sunrpc/auth_des.c: Hide exported symbols by default, export some
17947 for the compat linking library. Remove use of INTDEF/INTUSE.
17948 * sunrpc/auth_none.c: Likewise.
17949 * sunrpc/auth_unix.c: Likewise.
17950 * sunrpc/authdes_prot.c: Likewise.
17951 * sunrpc/authuxprot.c: Likewise.
17952 * sunrpc/clnt_gen.c: Likewise.
17953 * sunrpc/clnt_perr.c: Likewise.
17954 * sunrpc/clnt_raw.c: Likewise.
17955 * sunrpc/clnt_simp.c: Likewise.
17956 * sunrpc/clnt_tcp.c: Likewise.
17957 * sunrpc/clnt_udp.c: Likewise.
17958 * sunrpc/clnt_unix.c: Likewise.
17959 * sunrpc/des_crypt.c: Likewise.
17960 * sunrpc/des_soft.c: Likewise.
17961 * sunrpc/get_myaddr.c: Likewise.
17962 * sunrpc/key_call.c: Likewise.
17963 * sunrpc/key_prot.c: Likewise.
17964 * sunrpc/netname.c: Likewise.
17965 * sunrpc/pm_getmaps.c: Likewise.
17966 * sunrpc/pm_getport.c: Likewise.
17967 * sunrpc/pmap_clnt.c: Likewise.
17968 * sunrpc/pmap_prot.c: Likewise.
17969 * sunrpc/pmap_prot2.c: Likewise.
17970 * sunrpc/pmap_rmt.c: Likewise.
17971 * sunrpc/publickey.c: Likewise.
17972 * sunrpc/rpc_cmsg.c: Likewise.
17973 * sunrpc/rpc_common.c: Likewise.
17974 * sunrpc/rpc_dtable.c: Likewise.
17975 * sunrpc/rpc_prot.c: Likewise.
17976 * sunrpc/rpc_thread.c: Likewise.
17977 * sunrpc/rtime.c: Likewise.
17978 * sunrpc/svc.c: Likewise.
17979 * sunrpc/svc_auth.c: Likewise.
17980 * sunrpc/svc_authux.c: Likewise.
17981 * sunrpc/svc_raw.c: Likewise.
17982 * sunrpc/svc_run.c: Likewise.
17983 * sunrpc/svc_simple.c: Likewise.
17984 * sunrpc/svc_tcp.c: Likewise.
17985 * sunrpc/svc_udp.c: Likewise.
17986 * sunrpc/svc_unix.c: Likewise.
17987 * sunrpc/svcauth_des.c: Likewise.
17988 * sunrpc/xcrypt.c: Likewise.
17989 * sunrpc/xdr.c: Likewise.
17990 * sunrpc/xdr_array.c: Likewise.
17991 * sunrpc/xdr_float.c: Likewise.
17992 * sunrpc/xdr_intXX_t.c: Likewise.
17993 * sunrpc/xdr_mem.c: Likewise.
17994 * sunrpc/xdr_rec.c: Likewise.
17995 * sunrpc/xdr_ref.c: Likewise.
17996 * sunrpc/xdr_sizeof.c: Likewise.
17997 * sunrpc/xdr_stdio.c: Likewise.
17998
17999 2011-04-10 Ulrich Drepper <drepper@gmail.com>
18000
18001 [BZ #12650]
18002 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
18003 * sysdeps/ia64/dl-tls.h: Likewise.
18004 * sysdeps/powerpc/dl-tls.h: Likewise.
18005 * sysdeps/s390/dl-tls.h: Likewise.
18006 * sysdeps/sh/dl-tls.h: Likewise.
18007 * sysdeps/sparc/dl-tls.h: Likewise.
18008 * sysdeps/x86_64/dl-tls.h: Likewise.
18009 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
18010
18011 2011-03-14 Andreas Schwab <schwab@redhat.com>
18012
18013 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
18014 rpath element also skip the following colon.
18015 (expand_dynamic_string_token): Add is_path parameter and pass
18016 down to DL_DST_REQUIRED and _dl_dst_substitute.
18017 (decompose_rpath): Call expand_dynamic_string_token with
18018 non-zero is_path. Ignore empty rpaths.
18019 (_dl_map_object_from_fd): Call expand_dynamic_string_token
18020 with zero is_path.
18021
18022 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
18023
18024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
18025 Make cancelable.
18026
18027 2011-04-09 Ulrich Drepper <drepper@gmail.com>
18028
18029 [BZ #12655]
18030 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
18031 Patch by Filipe David Manana <fdmanana@apache.org>.
18032
18033 2011-04-07 Andreas Schwab <schwab@redhat.com>
18034
18035 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
18036 Maintain aligned stack.
18037 (CHECK_RSP): Remove unused macro.
18038
18039 2011-04-03 Ulrich Drepper <drepper@gmail.com>
18040
18041 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
18042 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
18043
18044 2011-04-02 Ulrich Drepper <drepper@gmail.com>
18045
18046 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
18047
18048 * include/features.h: Mention __USE_XOPEN2K8 in comment.
18049
18050 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
18051
18052 [BZ #12518]
18053 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
18054 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
18055 * sysdeps/x86_64/memmove.c: New file.
18056 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
18057 (memcpy): Renamed to ...
18058 (__new_memcpy): This.
18059 (memcpy): Provide GLIBC_2_14 memcpy.
18060 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
18061 (memcpy): Provide GLIBC_2_2_5 memcpy.
18062
18063 2011-04-01 Ulrich Drepper <drepper@gmail.com>
18064
18065 [BZ #12631]
18066 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
18067
18068 2011-03-30 Andreas Schwab <schwab@redhat.com>
18069
18070 * misc/syncfs.c: New file.
18071 * misc/Makefile (routines): Add syncfs.
18072 * posix/unistd.h: Declare syncfs.
18073 * sysdeps/unix/syscalls.list: Add syncfs.
18074
18075 2011-04-01 Andreas Schwab <schwab@redhat.com>
18076
18077 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
18078 open_by_handle_at.
18079 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18080 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18081 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18082 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18083 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18084 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
18085 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18086
18087 2011-04-01 Ulrich Drepper <drepper@gmail.com>
18088
18089 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
18090 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18091 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
18092 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18093 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18094 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18095 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18096
18097 * io/Makefile: Compile fallocate.c, fallocate64.c, and
18098 sync_file_range.c with -fexceptions.
18099 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
18100 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
18101 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
18102 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
18103 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
18104 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
18105 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
18106 sync_file_range as cancellation point
18107 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
18108 now a wrapper around __call_sync_file_range with cancellation handling.
18109 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
18110 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
18111 function name to __call_sync_file_range.
18112 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
18113 Add call_sync_file_range.
18114
18115 2011-04-01 Andreas Schwab <schwab@redhat.com>
18116
18117 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18118 bits/timex.h.
18119
18120 2011-04-01 Ulrich Drepper <drepper@gmail.com>
18121
18122 * iconv/iconv.h: Fix typo in comment.
18123 * io/fcntl.h: Likewise.
18124 * libio/stdio.h: Likewise.
18125 * posix/spawn.h: Likewise.
18126 * posix/unistd.h: Likewise.
18127 * stdlib/stdlib.h: Likewise.
18128 * time/time.h: Likewise.
18129 * wcsmbs/wchar.h: Likewise.
18130
18131 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
18132 open_by_handle): Add.
18133 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
18134 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
18135 Augment a few comments.
18136 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18137 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18138 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18139 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18140 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18141 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
18142 open_by_handle.
18143
18144 * io/fcntl.h (AT_EMPTY_PATH): Define.
18145
18146 2011-03-30 Ulrich Drepper <drepper@gmail.com>
18147
18148 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
18149 * sysdeps/unix/sysv/linux/bits/time.h: New file.
18150 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
18151 to...
18152 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
18153 * Versions.def: Add GLIBC_2.14.
18154 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
18155 Export.
18156
18157 2011-03-22 Ulrich Drepper <drepper@gmail.com>
18158
18159 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
18160 round counter.
18161 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18162
18163 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
18164
18165 [BZ #12597]
18166 * string/test-strncmp.c (do_page_test): New function.
18167 (check2): Likewise.
18168 (test_main): Call check2.
18169 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
18170
18171 2011-03-20 Ulrich Drepper <drepper@gmail.com>
18172
18173 [BZ #12587]
18174 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
18175 Handle cache information in CPU leaf 4.
18176 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18177
18178 2011-03-18 Ulrich Drepper <drepper@gmail.com>
18179
18180 [BZ #12583]
18181 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
18182 character representation.
18183 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
18184
18185 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
18186
18187 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
18188 END(__isnan) to END(__isnanf) to match function entry point/label
18189 EALIGN(__isnanf,...).
18190
18191 2011-03-10 Jakub Jelinek <jakub@redhat.com>
18192
18193 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
18194
18195 2011-03-10 Ulrich Drepper <drepper@gmail.com>
18196
18197 [BZ #12510]
18198 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
18199 copy from the symbol referenced in the relocation to initialize the
18200 used variable.
18201 Patch by Piotr Bury <pbury@goahead.com>.
18202 * elf/Makefile: Add rules to build and tst-unique3.
18203 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
18204 * elf/tst-unique3.cc: New file.
18205 * elf/tst-unique3.h: New file.
18206 * elf/tst-unique3lib.cc: New file.
18207 * elf/tst-unique3lib2.cc: New file.
18208
18209 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
18210
18211 2011-03-10 Mike Frysinger <vapier@gentoo.org>
18212
18213 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
18214 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
18215 to _start.
18216
18217 2011-03-06 Ulrich Drepper <drepper@gmail.com>
18218
18219 * elf/dl-load.c (_dl_map_object): If we are looking for the first
18220 to-be-loaded object along a path to loader is ld.so.
18221
18222 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18223 Ulrich Drepper <drepper@gmail.com>
18224
18225 * sysdeps/x86_64/memset.S: After aligning destination, code
18226 branches to different locations depending on the value of
18227 misalignment, when multiarch is enabled. Fix this.
18228
18229 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18230
18231 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
18232 Set _x86_64_preferred_memory_instruction for AMD processsors.
18233 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18234 Set bit_Prefer_SSE_for_memop for AMD processors.
18235
18236 2011-03-04 Ulrich Drepper <drepper@gmail.com>
18237
18238 * libio/fmemopen.c (fmemopen): Optimize a bit.
18239
18240 2011-03-03 Andreas Schwab <schwab@redhat.com>
18241
18242 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
18243
18244 2011-03-03 Roland McGrath <roland@redhat.com>
18245
18246 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
18247
18248 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
18249
18250 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
18251 __bzero_ultra1 instead of __memset_ultra1.
18252
18253 2011-02-23 Andreas Schwab <schwab@redhat.com>
18254 Ulrich Drepper <drepper@gmail.com>
18255
18256 [BZ #12509]
18257 * include/link.h (struct link_map): Add l_orig_initfini.
18258 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
18259 returning unsuccessfully.
18260 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
18261 close of a file loaded at startup, restore the original l_initfini
18262 list.
18263 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
18264 list, store the pointer.
18265 * elf/Makefile ($(objpfx)noload-mem): New rule.
18266 (noload-ENV): Define.
18267 (tests): Add $(objpfx)noload-mem.
18268 * elf/noload.c: Include <memcheck.h>.
18269 (main): Call mtrace. Close all opened handles.
18270
18271 2011-02-17 Andreas Schwab <schwab@redhat.com>
18272
18273 [BZ #12454]
18274 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
18275 dependencies are missing.
18276
18277 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
18278
18279 Fix __if_freereq crash: Unlike the generic version which uses free,
18280 Hurd needs munmap.
18281 * sysdeps/mach/hurd/ifreq.h: New file.
18282
18283 2011-01-27 Petr Baudis <pasky@suse.cz>
18284 Ulrich Drepper <drepper@gmail.com>
18285
18286 [BZ 12445]#
18287 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
18288 to extend_alloca().
18289 * stdio-common/bug23.c: New file.
18290 * stdio-common/Makefile (tests): Add bug23.
18291
18292 2010-09-28 Andreas Schwab <schwab@redhat.com>
18293 Ulrich Drepper <drepper@gmail.com>
18294
18295 [BZ #12489]
18296 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
18297 before performing relro protection. At old place add assertion
18298 to make sure nothing changed.
18299
18300 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
18301 Glauber de Oliveira Costa <glommer@gmail.com>
18302
18303 * elf/elf.h: Add new ARM TLS relocs.
18304
18305 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
18306
18307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18308 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
18309 cast from r3.
18310 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
18311 'tests' variable.
18312 * sysdeps/wordsize-64/tst-writev.c: New file.
18313
18314 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
18315
18316 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
18317 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
18318 insns in _dl_start to prevent a TOC reference before relocs are
18319 resolved.
18320
18321 2011-02-15 Ulrich Drepper <drepper@gmail.com>
18322
18323 [BZ #12469]
18324 * Makeconfig: Remove RANLIB definition.
18325 * Makerules: Don't use RANLIB.
18326 * aclocal.m4: Remove ranlib test.
18327 * configure.in: No need to check for ranlib.
18328 * elf/rtld-Rules: Don't use RANLIB.
18329
18330 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18331
18332 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
18333 protection macro.
18334 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
18335 inclusion protection macro.
18336
18337 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
18338 SIGRTMIN and SIGRTMAX and print information in that case only when
18339 SIGRTMIN is defined.
18340
18341 2011-02-11 Jakub Jelinek <jakub@redhat.com>
18342
18343 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
18344 arginfo fn returning -1.
18345
18346 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
18347 and thousands string is zero terminated.
18348
18349 2011-02-03 Andreas Schwab <schwab@redhat.com>
18350
18351 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
18352 sysdeps/unix/sysv/linux/bits/socket.h.
18353
18354 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
18355
18356 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
18357 (__CPU_COUNT): Remove old macros.
18358 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
18359 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
18360 (__CPU_ALLOC, __CPU_FREE): Add macros.
18361 (__sched_cpualloc, __sched_cpufree): Add declarations.
18362
18363 2011-02-05 Ulrich Drepper <drepper@gmail.com>
18364
18365 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
18366 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
18367 * nscd/aicache.c (addhstaiX): Return timeout of added value.
18368 (readdhstai): Return value of addhstaiX call.
18369 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
18370 (addgrbyX): Return value returned by cache_addgr.
18371 (readdgrbyname): Return value returned by addgrbyX.
18372 (readdgrbygid): Likewise.
18373 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
18374 (addpwbyX): Return value returned by cache_addpw.
18375 (readdpwbyname): Return value returned by addhstbyX.
18376 (readdpwbyuid): Likewise.
18377 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
18378 (addservbyX): Return value returned by cache_addserv.
18379 (readdservbyname): Return value returned by addservbyX:
18380 (readdservbyport): Likewise.
18381 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
18382 (addhstbyX): Return value returned by cache_addhst.
18383 (readdhstbyname): Return value returned by addhstbyX.
18384 (readdhstbyaddr): Likewise.
18385 (readdhstbynamev6): Likewise.
18386 (readdhstbyaddrv6): Likewise.
18387 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
18388 (readdinitgroups): Return value returned by addinitgroupsX.
18389 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
18390 (prune_cache): Keep track of timeout value of re-added entries.
18391 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
18392 * nscd/nscd.h: Adjust prototypes of readd* functions.
18393
18394 2011-02-04 Roland McGrath <roland@redhat.com>
18395
18396 * nis/nis_server.c (nis_servstate): Use the right name for 0.
18397 (nis_stats): Likewise.
18398 * nis/nis_modify.c (nis_modify): Likewise.
18399 * nis/nis_remove.c (nis_remove): Likewise.
18400 * nis/nis_add.c (nis_add): Likewise.
18401
18402 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
18403
18404 * posix/fnmatch_loop.c: Add some consts.
18405
18406 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
18407
18408 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
18409
18410 [BZ #12460]
18411 * config.make.in (config-cflags-novzeroupper): Define.
18412 * configure.in: Substitute libc_cv_cc_novzeroupper.
18413 * elf/Makefile (AVX-CFLAGS): Define.
18414 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
18415 (CFLAGS-tst-auditmod4a.c): Likewise.
18416 (CFLAGS-tst-auditmod4b.c): Likewise.
18417 (CFLAGS-tst-auditmod6b.c): Likewise.
18418 (CFLAGS-tst-auditmod6c.c): Likewise.
18419 (CFLAGS-tst-auditmod7b.c): Likewise.
18420 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
18421
18422 2011-02-02 Ulrich Drepper <drepper@gmail.com>
18423
18424 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
18425 function to the callback.
18426 Patch partly by Jiri Olsa <jolsa@redhat.com>.
18427
18428 2011-02-02 Andreas Schwab <schwab@redhat.com>
18429
18430 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
18431 of errno.
18432
18433 2011-01-19 Ulrich Drepper <drepper@gmail.com>
18434
18435 [BZ #11724]
18436 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
18437 of constructors.
18438 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
18439 of destructors.
18440 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
18441
18442 [BZ #11724]
18443 * elf/Makefile: Add rules to build and run new test.
18444 * elf/tst-initorder.c: New file.
18445 * elf/tst-initorder.exp: New file.
18446 * elf/tst-initordera1.c: New file.
18447 * elf/tst-initordera2.c: New file.
18448 * elf/tst-initordera3.c: New file.
18449 * elf/tst-initordera4.c: New file.
18450 * elf/tst-initorderb1.c: New file.
18451 * elf/tst-initorderb2.c: New file.
18452 * elf/tst-order-a1.c: New file.
18453 * elf/tst-order-a2.c: New file.
18454 * elf/tst-order-a3.c: New file.
18455 * elf/tst-order-a4.c: New file.
18456 * elf/tst-order-b1.c: New file.
18457 * elf/tst-order-b2.c: New file.
18458 * elf/tst-order-main.c: New file.
18459 New test case by George Gensure <werkt0@gmail.com>.
18460
18461 2010-10-01 Andreas Schwab <schwab@redhat.com>
18462
18463 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18464 decoding ACE if AI_CANONIDN.
18465
18466 2011-01-18 Ulrich Drepper <drepper@gmail.com>
18467
18468 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
18469
18470 2011-01-17 Ulrich Drepper <drepper@gmail.com>
18471
18472 * version.h (RELEASE): Bump for 2.13 release.
18473 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
18474
18475 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
18476
18477 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
18478 MADV_NOHUGEPAGE.
18479 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
18480 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18481 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18482 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
18483 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18484 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18485
18486 * posix/getconf.c: Update copyright year.
18487 * catgets/gencat.c: Likewise.
18488 * csu/version.c: Likewise.
18489 * debug/catchsegv.sh: Likewise.
18490 * debug/xtrace.sh: Likewise.
18491 * elf/ldconfig.c: Likewise.
18492 * elf/ldd.bash.in: Likewise.
18493 * elf/sprof.c (print_version): Likewise.
18494 * iconv/iconv_prog.c: Likewise.
18495 * iconv/iconvconfig.c: Likewise.
18496 * locale/programs/locale.c: Likewise.
18497 * locale/programs/localedef.c: Likewise.
18498 * malloc/memusage.sh: Likewise.
18499 * malloc/mtrace.pl: Likewise.
18500 * nscd/nscd.c (print_version): Likewise.
18501 * nss/getent.c: Likewise.
18502
18503 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
18504 PF_CAIF, and PF_ALG.
18505 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18506
18507 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
18508
18509 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
18510 (modules-names): Use them.
18511 (ifunc-test-modules, ifunc-pie-tests): Define.
18512 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
18513 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
18514 (test-extras): Likewise.
18515 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
18516 $(compile-command.c).
18517 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
18518 (all-built-dso): Define.
18519 (check-textrel.out, check-execstack.out): Depend on it.
18520
18521 * configure.in: Don't override --enable-multi-arch.
18522
18523 2011-01-15 Ulrich Drepper <drepper@gmail.com>
18524
18525 [BZ #6812]
18526 * nscd/hstcache.c (tryagain): Define.
18527 (cache_addhst): Return tryagain not notfound for temporary errors.
18528 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
18529 failed.
18530
18531 2011-01-14 Ulrich Drepper <drepper@gmail.com>
18532
18533 [BZ #10563]
18534 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
18535 to make the syscall.
18536 * sysdeps/unix/sysv/linux/setgroups.c: New file.
18537
18538 [BZ #12378]
18539 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
18540 and fall back to matching as normal character if the string ends before
18541 the matching ']' is found. This is what POSIX requires.
18542 * posix/testfnm.c: Adjust test result.
18543 * posix/globtest.sh: Adjust test result. Add new test.
18544 * posix/tst-fnmatch.input: Likewise.
18545 * posix/tst-fnmatch2.c: Add new test.
18546
18547 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
18548
18549 * elf/Makefile (check-execstack): Revert last change. Depend on
18550 check-execstack.h.
18551 (check-execstack.h): New target.
18552 (generated): Add check-execstack.h.
18553 * elf/check-execstack.c: Include "check-execstack.h".
18554 (main): Revert last change.
18555 (handle_file): Return zero if GNU_STACK is absent and
18556 DEFAULT_STACK_PERMS doesn't include PF_X.
18557
18558 2011-01-13 Ulrich Drepper <drepper@gmail.com>
18559
18560 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
18561 in child fails because the descriptor is already closed.
18562 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
18563 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
18564 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
18565
18566 [BZ #12397]
18567 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
18568 syscall.
18569
18570 [BZ #10484]
18571 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
18572 temporary buffer used to handle multi lookups locally.
18573 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
18574
18575 2011-01-12 Ulrich Drepper <drepper@gmail.com>
18576
18577 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
18578 loader is ld.so.
18579
18580 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
18581
18582 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
18583 alignment for SSE2.
18584
18585 2011-01-12 Ulrich Drepper <drepper@gmail.com>
18586
18587 [BZ #12394]
18588 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
18589 characters. When rounding increased number of integer digits recompute
18590 number of groups.
18591 * stdio-common/tst-grouping.c: New file.
18592 * stdio-common/Makefile: Add rules to build and run tst-grouping.
18593
18594 2011-01-09 Ulrich Drepper <drepper@gmail.com>
18595
18596 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
18597 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
18598
18599 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
18600 void.
18601 * bits/select.h: Likewise.
18602
18603 2011-01-08 Ulrich Drepper <drepper@gmail.com>
18604
18605 * po/ja.po: Update from translation team.
18606
18607 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
18608
18609 [BZ #11155]
18610 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
18611 implementation just like for lxstat, fxstatat, et al.
18612
18613 2010-12-27 Jim Meyering <meyering@redhat.com>
18614
18615 [BZ #12348]
18616 * posix/regexec.c (build_trtable): Return failure indication upon
18617 calloc failure. Otherwise, re_search_internal could infloop on OOM.
18618
18619 2010-12-25 Ulrich Drepper <drepper@gmail.com>
18620
18621 [BZ #12201]
18622 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
18623 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
18624 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
18625 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
18626
18627 [BZ #12207]
18628 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
18629
18630 [BZ #12204]
18631 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
18632 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
18633
18634 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
18635
18636 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
18637 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
18638 script has SORT_BY_INIT_PRIORITY.
18639 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
18640 NO_CTORS_DTORS_SECTIONS is defined.
18641 * elf/soinit.c: Likewise.
18642 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
18643 NO_CTORS_DTORS_SECTIONS is defined.
18644 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
18645 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
18646 * sysdeps/sh/init-first.c: Likewise.
18647 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
18648
18649 2010-12-24 Ulrich Drepper <drepper@gmail.com>
18650
18651 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
18652 always use the slow path.
18653
18654 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
18655
18656 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
18657 similar rule which adds the sysdep directories to the header search in
18658 order to pick up the correct platform stackinfo.h.
18659 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
18660 perform test if it is, otherwise return successfully without testing.
18661 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
18662 DEFAULT_STACK_PERMS define in stackinfo.h.
18663 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
18664 defined in stackinfo.h.
18665 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
18666 DEFAULT_STACK_PERMS defined in stackinfo.h.
18667 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
18668 * sysdeps/ia64/stackinfo.h: Likewise.
18669 * sysdeps/s390/stackinfo.h: Likewise.
18670 * sysdeps/sh/stackinfo.h: Likewise.
18671 * sysdeps/sparc/stackinfo.h: Likewise.
18672 * sysdeps/x86_64/stackinfo.h: Likewise.
18673 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
18674 PF_X for powerpc64. Retain PF_X for powerpc32.
18675
18676 2010-12-19 Ulrich Drepper <drepper@gmail.com>
18677
18678 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
18679 accurately.
18680 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
18681 GETDENTS_64BIT_ALIGNED.
18682
18683 2010-12-14 Ulrich Drepper <dreper@gmail.com>
18684
18685 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
18686
18687 2010-12-10 Andreas Schwab <schwab@redhat.com>
18688
18689 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
18690 _GNU_SOURCE.
18691
18692 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
18693 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
18694 Remove __restrict.
18695 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
18696 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
18697
18698 2010-12-09 Ulrich Drepper <drepper@gmail.com>
18699
18700 [BZ #11655]
18701 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
18702 are initialized.
18703
18704 2010-12-09 Jakub Jelinek <jakub@redhat.com>
18705
18706 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
18707
18708 2010-12-03 Ulrich Drepper <drepper@gmail.com>
18709
18710 * po/it.po: Update from translation team.
18711
18712 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
18713
18714 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
18715 unused codes.
18716
18717 2010-11-30 Ulrich Drepper <drepper@gmail.com>
18718
18719 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
18720
18721 2010-11-24 Andreas Schwab <schwab@redhat.com>
18722
18723 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
18724 specially.
18725 (gaih_getanswer_slice): Likewise.
18726
18727 2010-10-20 Jakub Jelinek <jakub@redhat.com>
18728
18729 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
18730
18731 2010-05-31 Petr Baudis <pasky@suse.cz>
18732
18733 [BZ #11149]
18734 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
18735 silently even in the chroot mode.
18736
18737 2010-11-22 Ulrich Drepper <drepper@gmail.com>
18738
18739 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
18740 last patch a bit. Pretty printing
18741
18742 2010-05-31 Petr Baudis <pasky@suse.cz>
18743
18744 [BZ #10085]
18745 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
18746 initialization of skip_initgroups_dyn.
18747
18748 2010-11-19 Ulrich Drepper <drepper@gmail.com>
18749
18750 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
18751 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18752
18753 2010-11-16 Ulrich Drepper <drepper@gmail.com>
18754
18755 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
18756
18757 2010-11-11 Andreas Schwab <schwab@redhat.com>
18758
18759 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
18760 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
18761 (tst-fnmatch-ENV): Set MALLOC_TRACE.
18762 ($(objpfx)tst-fnmatch-mem): New rule.
18763 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
18764 * posix/tst-fnmatch.c (main): Call mtrace.
18765
18766 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
18767
18768 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18769 Support Intel processor model 6 and model 0x2c.
18770
18771 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
18772
18773 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
18774 signed comparison.
18775
18776 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
18777
18778 [BZ #12205]
18779 * string/test-strncasecmp.c (check_result): New function.
18780 (do_one_test): Use it.
18781 (check1): New function.
18782 (test_main): Use it.
18783 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
18784 Support strcasecmp and strncasecmp.
18785
18786 2010-11-08 Ulrich Drepper <drepper@gmail.com>
18787
18788 [BZ #12194]
18789 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
18790 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18791
18792 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
18793
18794 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
18795 IFUNC support.
18796 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18797 memset-x86-64.
18798 * sysdeps/x86_64/multiarch/bzero.S: New file.
18799 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
18800 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
18801 * sysdeps/x86_64/multiarch/memset.S: New file.
18802 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
18803 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18804 Set bit_Prefer_SSE_for_memop for Intel processors.
18805 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
18806 Define.
18807 (index_Prefer_SSE_for_memop): Define.
18808 (HAS_PREFER_SSE_FOR_MEMOP): Define.
18809
18810 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
18811
18812 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
18813 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
18814
18815 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
18816
18817 [BZ #12191]
18818 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18819 (__x86_64_raw_data_cache_size_half): Likewise.
18820 (__x86_64_raw_shared_cache_size): Likewise.
18821 (__x86_64_raw_shared_cache_size_half): Likewise.
18822
18823 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18824 (__x86_64_raw_data_cache_size_half): Likewise.
18825 (__x86_64_raw_shared_cache_size): Likewise.
18826 (__x86_64_raw_shared_cache_size_half): Likewise.
18827 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
18828 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
18829 and __x86_64_raw_shared_cache_size_half. Round
18830 __x86_64_data_cache_size_half, __x86_64_data_cache_size
18831 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
18832 to multiple of 256 bytes.
18833
18834 2010-11-03 Ulrich Drepper <drepper@gmail.com>
18835
18836 [BZ #12167]
18837 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
18838 of inacessible symlinks. Verify result of symlink before returning it.
18839 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18840 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
18841
18842 2010-10-28 Erich Ritz <erichritz@gmail.com>
18843
18844 * math/math.h (isinf): Fix typo in comment.
18845
18846 2010-11-01 Ulrich Drepper <drepper@gmail.com>
18847
18848 * po/da.po: Update from translation team.
18849
18850 2010-10-26 Ulrich Drepper <drepper@gmail.com>
18851
18852 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
18853 is added to the list.
18854
18855 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18856 Ulrich Drepper <drepper@gmail.com>
18857
18858 * elf/dl-object.c (_dl_new_object): Don't append the new object to
18859 the global list here. Move code to...
18860 (_dl_add_to_namespace_list): ...here. New function.
18861 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
18862 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
18863 * elf/dl-load.c (lose): Don't remove the element from the list.
18864 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
18865 (_dl_map_object): Likewise.
18866
18867 2010-10-25 Ulrich Drepper <drepper@gmail.com>
18868
18869 [BZ #12159]
18870 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
18871 into all bytes of SSE register.
18872 Patch by Richard Li <richardpku@gmail.com>.
18873
18874 2010-10-24 Ulrich Drepper <drepper@gmail.com>
18875
18876 [BZ #12140]
18877 * malloc/malloc.c (_int_free): Fill correct number of bytes when
18878 perturbing.
18879
18880 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
18881
18882 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
18883 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
18884 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
18885 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
18887 submachine.
18888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18889
18890 2010-10-22 Andreas Schwab <schwab@redhat.com>
18891
18892 * include/dlfcn.h (__RTLD_SECURE): Define.
18893 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
18894 mode & __RTLD_SECURE instead.
18895 (open_path): Rename preloaded parameter to secure.
18896 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
18897 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
18898 * elf/dl-deps.c (openaux): Likewise.
18899 * elf/rtld.c (struct map_args): Remove is_preloaded.
18900 (map_doit): Don't use it.
18901 (dl_main): Likewise.
18902 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
18903 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
18904
18905 2010-09-09 Andreas Schwab <schwab@redhat.com>
18906
18907 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
18908 (sysd-rules-targets): Remove duplicates.
18909 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
18910 rtld-%.$o dependency.
18911
18912 2010-10-18 Andreas Schwab <schwab@redhat.com>
18913
18914 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
18915 _dl_map_object do it.
18916
18917 2010-10-19 Ulrich Drepper <drepper@gmail.com>
18918
18919 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
18920 fast fma builtins, define the macros in the C99 standard.
18921 (FP_FAST_FMAF): Likewise.
18922 (FP_FAST_FMAL): Likewise.
18923 * sysdeps/x86_64/bits/mathdef.h: Likewise.
18924
18925 * bits/mathdef.h: Update copyright year.
18926 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18927
18928 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
18929
18930 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
18931 builtins, define the macros in the C99 standard.
18932 (FP_FAST_FMAF): Likewise.
18933 (FP_FAST_FMAL): Likewise.
18934 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
18935 multiply/add.
18936 (FP_FAST_FMAF): Likewise.
18937
18938 2010-10-15 Jakub Jelinek <jakub@redhat.com>
18939
18940 [BZ #3268]
18941 * math/libm-test.inc (fma_test): Some new testcases.
18942 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
18943 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
18944 y and infinite z. Do multiplication by C already in long double.
18945 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
18946 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
18947 y and infinite z. Do bitwise or of inexact bit into u.d.
18948 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
18949 * sysdeps/i386/fpu/s_fmaf.S: Removed.
18950 * sysdeps/i386/fpu/s_fma.S: Removed.
18951 * sysdeps/i386/fpu/s_fmal.S: Removed.
18952
18953 2010-10-16 Jakub Jelinek <jakub@redhat.com>
18954
18955 [BZ #3268]
18956 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
18957 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
18958 computation is not scheduled after fetestexcept. Fix value
18959 of minimum denormal long double.
18960
18961 2010-10-14 Jakub Jelinek <jakub@redhat.com>
18962
18963 [BZ #3268]
18964 * math/libm-test.inc (fma_test): Add some more tests.
18965 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
18966 correctly.
18967
18968 2010-10-15 Andreas Schwab <schwab@redhat.com>
18969
18970 * scripts/data/localplt-s390-linux-gnu.data: New file.
18971 * scripts/data/localplt-s390x-linux-gnu.data: New file.
18972
18973 2010-10-13 Jakub Jelinek <jakub@redhat.com>
18974
18975 [BZ #3268]
18976 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
18977 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
18978 instead of dbl-64.
18979 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
18980 inlines.
18981 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
18982 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
18983 if one of x and y is very large and the other is subnormal.
18984 * sysdeps/s390/fpu/s_fmaf.c: New file.
18985 * sysdeps/s390/fpu/s_fma.c: New file.
18986 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
18987 * sysdeps/powerpc/fpu/s_fma.S: New file.
18988 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
18989 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
18990 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
18991
18992 2010-10-12 Jakub Jelinek <jakub@redhat.com>
18993
18994 [BZ #3268]
18995 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
18996 fma tests.
18997 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
18998 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
18999 * sysdeps/i386/i686/multiarch/s_fma.c: Include
19000 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
19001 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
19002 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
19003 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
19004
19005 2010-10-12 Ulrich Drepper <drepper@redhat.com>
19006
19007 [BZ #12078]
19008 * posix/regcomp.c (parse_branch): One more memory leak plugged.
19009 * posix/bug-regex31.input: Add test case.
19010
19011 2010-10-11 Ulrich Drepper <drepper@gmail.com>
19012
19013 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
19014 * posix/bug-regex31.input: New file.
19015
19016 [BZ #12078]
19017 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
19018 (parse_sub_exp): Fix last change, use postorder.
19019
19020 * posix/bug-regex31.c: New file.
19021 * posix/Makefile: Add rules to build and run bug-regex31.
19022
19023 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
19024
19025 [BZ #12078]
19026 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
19027
19028 [BZ #12108]
19029 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
19030 to have entries in sys_siglist.
19031
19032 [BZ #12093]
19033 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
19034 be NULL.
19035
19036 2010-10-07 Jakub Jelinek <jakub@redhat.com>
19037
19038 [BZ #3268]
19039 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
19040 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
19041 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
19042 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
19043 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
19044 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
19045 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
19046 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
19047 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
19048 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
19049 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
19050 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
19051 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
19052 * math/ftestexcept.c (fetestexcept): Likewise.
19053 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
19054 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
19055 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
19056 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
19057 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
19058 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
19059 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19060
19061 2010-10-11 Ulrich Drepper <drepper@gmail.com>
19062
19063 [BZ #12107]
19064 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
19065 newline.
19066
19067 2010-10-06 Ulrich Drepper <drepper@gmail.com>
19068
19069 * string/bug-strstr1.c: New file.
19070 * string/Makefile: Add rules to build and run bug-strstr1.
19071
19072 2010-10-05 Eric Blake <eblake@redhat.com>
19073
19074 [BZ #12092]
19075 * string/str-two-way.h (two_way_long_needle): Always clear memory
19076 when skipping input due to the shift table.
19077
19078 2010-10-03 Ulrich Drepper <drepper@gmail.com>
19079
19080 [BZ #12005]
19081 * malloc/mcheck.c: Handle large requests.
19082
19083 [BZ #12077]
19084 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
19085 for strncmp and strncasecmp.
19086 * string/stratcliff.c: Add tests for strcmp and strncmp.
19087 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
19088
19089 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19090
19091 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
19092 __set_fpscr.
19093
19094 2010-09-30 Andreas Jaeger <aj@suse.de>
19095
19096 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
19097 (CGROUP_SUPER_MAGIC): Define.
19098 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19099 Handle btrfs and cgroup file systems.
19100 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19101 Likewise.
19102
19103 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
19104
19105 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
19106 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
19107
19108 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19109
19110 [BZ #12067]
19111 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
19112 trying to locate the ELF header.
19113
19114 2010-09-27 Andreas Schwab <schwab@redhat.com>
19115
19116 [BZ #11611]
19117 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
19118 Mask out sign-bit copies when constructing f_fsid.
19119
19120 2010-09-24 Petr Baudis <pasky@suse.cz>
19121
19122 * debug/stack_chk_fail_local.c: Add missing licence exception.
19123 * debug/warning-nop.c: Likewise.
19124
19125 2010-09-15 Joseph Myers <joseph@codesourcery.com>
19126
19127 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
19128 implementing getdents64 using getdents syscall, set d_type if
19129 __ASSUME_GETDENTS32_D_TYPE.
19130
19131 2010-09-16 Andreas Schwab <schwab@redhat.com>
19132
19133 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
19134 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
19135
19136 2010-09-21 Ulrich Drepper <drepper@redhat.com>
19137
19138 [BZ #12037]
19139 * posix/unistd.h: Undo change of feature selection for ftruncate from
19140 2010-01-11.
19141
19142 2010-09-20 Ulrich Drepper <drepper@redhat.com>
19143
19144 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
19145 detection.
19146
19147 2010-09-20 Andreas Schwab <schwab@redhat.com>
19148
19149 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
19150 fanotify_mark.
19151 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19152
19153 2010-09-14 Andreas Schwab <schwab@redhat.com>
19154
19155 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
19156 variables after CHECK_SP call.
19157 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
19158
19159 2010-09-13 Andreas Schwab <schwab@redhat.com>
19160 Ulrich Drepper <drepper@redhat.com>
19161
19162 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
19163 re-relocationg ld.so.
19164 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
19165 _dl_init_paths call.
19166 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
19167 here anymore.
19168
19169 2010-09-14 Ulrich Drepper <drepper@redhat.com>
19170
19171 * resolv/res_init.c (__res_vinit): Count the default server we added.
19172
19173 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
19174 Ulrich Drepper <drepper@redhat.com>
19175
19176 [BZ #11968]
19177 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19178 (____longjmp_chk): Use %ebx for saving value across system call.
19179 Add unwind info.
19180
19181 2010-09-06 Andreas Schwab <schwab@redhat.com>
19182
19183 * manual/Makefile: Don't mix pattern rules with normal rules.
19184
19185 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
19186
19187 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
19188 operation.
19189 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
19190 * libio/iofopncook.c (_IO_cookie_init): Likewise.
19191 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
19192 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
19193 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19194 Likewise.
19195
19196 2010-09-04 Ulrich Drepper <drepper@redhat.com>
19197
19198 [BZ #11979]
19199 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
19200 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
19201
19202 2010-09-02 Ulrich Drepper <drepper@redhat.com>
19203
19204 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
19205 * sysdeps/x86_64/addmul_1.S: Likewise.
19206 * sysdeps/x86_64/lshift.S: Likewise.
19207 * sysdeps/x86_64/mul_1.S: Likewise.
19208 * sysdeps/x86_64/rshift.S: Likewise.
19209 * sysdeps/x86_64/sub_n.S: Likewise.
19210 * sysdeps/x86_64/submul_1.S: Likewise.
19211
19212 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
19213
19214 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
19215 Define __sched_param instead of SCHED_* and sched_param when
19216 <bits/sched.h> is included with __need_schedparam defined.
19217 * bits/sched.h [__need_schedparam]
19218 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
19219 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
19220 (__defined_schedparam): Define to 1.
19221 (__sched_param): New structure, identical to sched_param.
19222 (__need_schedparam): Undefine.
19223
19224 2010-08-31 Mike Frysinger <vapier@gentoo.org>
19225
19226 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
19227 (epoll_create1): Declare.
19228
19229 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
19230
19231 2010-08-31 Andreas Schwab <schwab@redhat.com>
19232
19233 [BZ #7066]
19234 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
19235 shifting retval into place.
19236
19237 2010-09-01 Ulrich Drepper <drepper@redhat.com>
19238
19239 * nis/rpcsvc/nis.h: Update copyright notice.
19240 * nis/rpcsvc/nis.x: Likewise.
19241 * nis/rpcsvc/nis_callback.h: Likewise.
19242 * nis/rpcsvc/nis_callback.x: Likewise.
19243 * nis/rpcsvc/nis_object.x: Likewise.
19244 * nis/rpcsvc/nis_tags.h: Likewise.
19245 * nis/rpcsvc/yp.h: Likewise.
19246 * nis/rpcsvc/yp.x: Likewise.
19247 * nis/rpcsvc/ypupd.h: Likewise.
19248 * nis/yp_xdr.c: Likewise.
19249 * nis/ypupdate_xdr.c: Likewise.
19250
19251 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
19252 mainly the body of pmap_getport. Add parameters to specify timeouts.
19253 (pmap_getport): Use __libc_rpc_getport.
19254 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
19255 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
19256 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
19257
19258 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
19259
19260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
19261 fanotify_mark.
19262
19263 2010-08-27 Roland McGrath <roland@redhat.com>
19264
19265 * sysdeps/i386/i686/multiarch/Makefile
19266 (CFLAGS-varshift.c): New variable.
19267
19268 2010-08-27 Ulrich Drepper <drepper@redhat.com>
19269
19270 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
19271 * sysdeps/i386/i686/multiarch/varshift.c: New file.
19272
19273 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
19274
19275 * sysdeps/x86_64/strlen.S: Minimal code improvement.
19276
19277 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
19278
19279 * sysdeps/x86_64/strlen.S: Unroll the loop.
19280 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19281 strlen-sse2 strlen-sse2-bsf.
19282 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
19283 __strlen_no_bsf if bit_Slow_BSF is set.
19284 (__strlen_sse42): Removed.
19285 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
19286 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
19287
19288 2010-08-25 Roland McGrath <roland@redhat.com>
19289
19290 * sysdeps/x86_64/multiarch/varshift.S: File removed.
19291 * sysdeps/x86_64/multiarch/varshift.c: New file.
19292 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
19293 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
19294 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
19295 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19296
19297 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
19298
19299 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19300 strlen-sse2 strlen-sse2-bsf.
19301 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
19302 __strlen_sse2_bsf if bit_Slow_BSF is unset.
19303 (__strlen_sse2): Removed.
19304 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
19305 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
19306 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19307 bit_Slow_BSF for Atom.
19308 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
19309 (index_Slow_BSF): Define.
19310 (HAS_SLOW_BSF): Define.
19311
19312 2010-08-25 Ulrich Drepper <drepper@redhat.com>
19313
19314 [BZ #10851]
19315 * resolv/res_init.c (__res_vinit): When no server address at all
19316 is given default to loopback.
19317
19318 2010-08-24 Roland McGrath <roland@redhat.com>
19319
19320 * configure.in: Remove config-name.h generation.
19321 * configure: Regenerated.
19322 * config-name.in: File removed.
19323 * scripts/config-uname.sh: New file.
19324 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
19325 ($(objdir)config-name.h): New target.
19326
19327 * sunrpc/rpc_parse.h: Avoid nested comment.
19328
19329 2010-08-24 Richard Henderson <rth@redhat.com>
19330 Ulrich Drepper <drepper@redhat.com>
19331 H.J. Lu <hongjiu.lu@intel.com>
19332
19333 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
19334 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
19335 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
19336 Replace _mm_srli_si128 with __m128i_shift_right. Replace
19337 _mm_alignr_epi8 with _mm_loadu_si128.
19338 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
19339 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
19340 (__m128i_shift_right): Removed.
19341 * sysdeps/i386/i686/multiarch/varshift.h: New file.
19342 * sysdeps/i386/i686/multiarch/varshift.S: New file.
19343 * sysdeps/x86_64/multiarch/varshift.h: New file.
19344 * sysdeps/x86_64/multiarch/varshift.S: New file.
19345
19346 2010-08-21 Mike Frysinger <vapier@gentoo.org>
19347
19348 * configure.in: Move assembler checks to before sysdep dir checking.
19349
19350 2010-08-20 Petr Baudis <pasky@suse.cz>
19351
19352 * LICENSES: Sync the sunrpc license.
19353
19354 2010-08-19 Ulrich Drepper <drepper@redhat.com>
19355
19356 * sunrpc/auth_des.c: Update copyright notice once again.
19357 * sunrpc/auth_none.c: Likewise.
19358 * sunrpc/auth_unix.c: Likewise.
19359 * sunrpc/authdes_prot.c: Likewise.
19360 * sunrpc/authuxprot.c: Likewise.
19361 * sunrpc/bindrsvprt.c: Likewise.
19362 * sunrpc/clnt_gen.c: Likewise.
19363 * sunrpc/clnt_perr.c: Likewise.
19364 * sunrpc/clnt_raw.c: Likewise.
19365 * sunrpc/clnt_simp.c: Likewise.
19366 * sunrpc/clnt_tcp.c: Likewise.
19367 * sunrpc/clnt_udp.c: Likewise.
19368 * sunrpc/clnt_unix.c: Likewise.
19369 * sunrpc/des_crypt.c: Likewise.
19370 * sunrpc/des_soft.c: Likewise.
19371 * sunrpc/get_myaddr.c: Likewise.
19372 * sunrpc/getrpcport.c: Likewise.
19373 * sunrpc/key_call.c: Likewise.
19374 * sunrpc/key_prot.c: Likewise.
19375 * sunrpc/openchild.c: Likewise.
19376 * sunrpc/pm_getmaps.c: Likewise.
19377 * sunrpc/pm_getport.c: Likewise.
19378 * sunrpc/pmap_clnt.c: Likewise.
19379 * sunrpc/pmap_prot.c: Likewise.
19380 * sunrpc/pmap_prot2.c: Likewise.
19381 * sunrpc/pmap_rmt.c: Likewise.
19382 * sunrpc/rpc/auth.h: Likewise.
19383 * sunrpc/rpc/auth_unix.h: Likewise.
19384 * sunrpc/rpc/clnt.h: Likewise.
19385 * sunrpc/rpc/des_crypt.h: Likewise.
19386 * sunrpc/rpc/key_prot.h: Likewise.
19387 * sunrpc/rpc/netdb.h: Likewise.
19388 * sunrpc/rpc/pmap_clnt.h: Likewise.
19389 * sunrpc/rpc/pmap_prot.h: Likewise.
19390 * sunrpc/rpc/pmap_rmt.h: Likewise.
19391 * sunrpc/rpc/rpc.h: Likewise.
19392 * sunrpc/rpc/rpc_des.h: Likewise.
19393 * sunrpc/rpc/rpc_msg.h: Likewise.
19394 * sunrpc/rpc/svc.h: Likewise.
19395 * sunrpc/rpc/svc_auth.h: Likewise.
19396 * sunrpc/rpc/types.h: Likewise.
19397 * sunrpc/rpc/xdr.h: Likewise.
19398 * sunrpc/rpc_clntout.c: Likewise.
19399 * sunrpc/rpc_cmsg.c: Likewise.
19400 * sunrpc/rpc_common.c: Likewise.
19401 * sunrpc/rpc_cout.c: Likewise.
19402 * sunrpc/rpc_dtable.c: Likewise.
19403 * sunrpc/rpc_hout.c: Likewise.
19404 * sunrpc/rpc_main.c: Likewise.
19405 * sunrpc/rpc_parse.c: Likewise.
19406 * sunrpc/rpc_parse.h: Likewise.
19407 * sunrpc/rpc_prot.c: Likewise.
19408 * sunrpc/rpc_sample.c: Likewise.
19409 * sunrpc/rpc_scan.c: Likewise.
19410 * sunrpc/rpc_scan.h: Likewise.
19411 * sunrpc/rpc_svcout.c: Likewise.
19412 * sunrpc/rpc_tblout.c: Likewise.
19413 * sunrpc/rpc_util.c: Likewise.
19414 * sunrpc/rpc_util.h: Likewise.
19415 * sunrpc/rpcinfo.c: Likewise.
19416 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
19417 * sunrpc/rpcsvc/key_prot.x: Likewise.
19418 * sunrpc/rpcsvc/klm_prot.x: Likewise.
19419 * sunrpc/rpcsvc/mount.x: Likewise.
19420 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
19421 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
19422 * sunrpc/rpcsvc/rex.x: Likewise.
19423 * sunrpc/rpcsvc/rstat.x: Likewise.
19424 * sunrpc/rpcsvc/rusers.x: Likewise.
19425 * sunrpc/rpcsvc/sm_inter.x: Likewise.
19426 * sunrpc/rpcsvc/spray.x: Likewise.
19427 * sunrpc/rpcsvc/yppasswd.x: Likewise.
19428 * sunrpc/rtime.c: Likewise.
19429 * sunrpc/svc.c: Likewise.
19430 * sunrpc/svc_auth.c: Likewise.
19431 * sunrpc/svc_authux.c: Likewise.
19432 * sunrpc/svc_raw.c: Likewise.
19433 * sunrpc/svc_run.c: Likewise.
19434 * sunrpc/svc_simple.c: Likewise.
19435 * sunrpc/svc_tcp.c: Likewise.
19436 * sunrpc/svc_udp.c: Likewise.
19437 * sunrpc/svc_unix.c: Likewise.
19438 * sunrpc/svcauth_des.c: Likewise.
19439 * sunrpc/xcrypt.c: Likewise.
19440 * sunrpc/xdr.c: Likewise.
19441 * sunrpc/xdr_array.c: Likewise.
19442 * sunrpc/xdr_float.c: Likewise.
19443 * sunrpc/xdr_mem.c: Likewise.
19444 * sunrpc/xdr_rec.c: Likewise.
19445 * sunrpc/xdr_ref.c: Likewise.
19446 * sunrpc/xdr_sizeof.c: Likewise.
19447 * sunrpc/xdr_stdio.c: Likewise.
19448
19449 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
19450 handling.
19451
19452 2010-08-19 Andreas Schwab <schwab@redhat.com>
19453
19454 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
19455
19456 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
19457
19458 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
19459 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
19460 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
19461 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
19462 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
19463 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
19464 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
19465 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
19466 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
19467 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
19468 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
19469 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
19470 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
19471 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
19472
19473 2010-07-26 Anton Blanchard <anton@samba.org>
19474
19475 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
19476 * malloc/arena.c (heap_trim): Likewise.
19477
19478 2010-08-16 Ulrich Drepper <drepper@redhat.com>
19479
19480 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
19481 here. Not...
19482 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
19483 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
19484
19485 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
19486
19487 * sysdeps/i386/elf/Makefile: New file.
19488
19489 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19490
19491 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
19492 from fanotify_init.
19493 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
19494 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19495
19496 2010-08-15 Ulrich Drepper <drepper@redhat.com>
19497
19498 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
19499 of strncasecmp_l.
19500 * sysdeps/multiarch/strcmp.S: Likewise.
19501
19502 2010-08-14 Ulrich Drepper <drepper@redhat.com>
19503
19504 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19505 strncase_l-nonascii.
19506 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19507 Add strncase_l-ssse3.
19508 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
19509 * sysdeps/x86_64/strcmp.S: Likewise.
19510 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
19511 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
19512 * sysdeps/x86_64/strncase.S: New file.
19513 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
19514 * sysdeps/x86_64/strncase_l.S: New file.
19515 * string/Makefile (strop-tests): Add strncasecmp.
19516 * string/test-strncasecmp.c: New file.
19517
19518 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
19519 warning.
19520
19521 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
19522 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
19523
19524 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19525
19526 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
19527
19528 2010-08-12 Ulrich Drepper <drepper@redhat.com>
19529
19530 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
19531 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
19532 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
19533
19534 2010-05-01 Alan Modra <amodra@gmail.com>
19535
19536 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
19537 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
19538 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
19539 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
19540 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
19541 tidying. Don't tail-call __sigjmp_save for static lib.
19542 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
19543 save location.
19544 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
19545 (CALL_MCOUNT): Add eh info, and nop after bl.
19546 (TAIL_CALL_SYSCALL_ERROR): New macro.
19547 (PSEUDO_RET): Use it.
19548 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19549 Correct save location of integer regs and cr.
19550 (_dl_profile_resolve): Correct cr save location. Delete nops
19551 after bl when SHARED. Reduce cfi size a little by better
19552 placement of cfi directives.
19553 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
19554 make a stack frame. Instead use parm save area as a temp.
19555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
19556 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
19557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19558 Don't make a stack frame for parent, use parm save area.
19559 Increase child stack frame to 112 bytes. Don't save unused reg,
19560 and adjust reg usage. Set up cfi on error recovery and
19561 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
19562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19563 (__makecontext): Add dummy nop after jump to exit.
19564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
19565 Use correct parm save area and cr save, reduce stack frame.
19566 Correct cfi for possible PSEUDO_RET frame setup.
19567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
19568 Branch to local label emitted by PSEUDO_RET rather than
19569 __syscall_error.
19570
19571 2010-08-12 Andreas Schwab <schwab@redhat.com>
19572
19573 [BZ #11904]
19574 * locale/programs/locale.c (print_assignment): New function.
19575 (show_locale_vars): Use it.
19576
19577 2010-08-11 Ulrich Drepper <drepper@redhat.com>
19578
19579 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
19580 field.
19581 (struct statfs64): Likewise.
19582 (_STATFS_F_FLAGS): Define.
19583 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
19584 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19585 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
19586 (ST_VALID): Define locally.
19587 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
19588 __statvfs_getflags, use the provided value.
19589 * sysdeps/unix/sysv/linux/kernel-features.h: Define
19590 __ASSUME_STATFS_F_FLAGS.
19591
19592 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
19593
19594 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
19595 Add sys/fanotify.h.
19596 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
19597 fanotify_mask for GLIBC_2.13.
19598 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
19599 fanotify_init and fanotify_mark.
19600 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19601 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
19602
19603 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
19604 Add prlimit.
19605 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
19606 prlimit64 for GLIBC_2.13.
19607 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
19608 prlimit64.
19609 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
19610 syscall.
19611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
19612 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19613 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
19614 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
19615 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
19616 add prlimit alias.
19617 * sysdeps/unix/sysv/linux/prlimit.c: New file.
19618
19619 [BZ #11903]
19620 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
19621 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
19622
19623 * nss/Makefile: Add rules to build and run tst-nss-test1.
19624 * shlib-versions: Add entry for libnss_test1.
19625 * nss/nss_test1.c: New file.
19626 * nss/tst-nss-test1.c: New file.
19627
19628 * nss/nsswitch.c (__nss_database_custom): Define new variable.
19629 (__nss_configure_lookup): Set appropriate entry in
19630 __nss_configure_lookup to true.
19631 * nss/nsswitch.h: Define enum with indeces of databases in
19632 databases and __nss_database_custom arrays. Declare
19633 __nss_database_custom.
19634 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
19635 to avoid using nscd when custom rules are installed.
19636 * nss/getXXbyYY_r.c: Likewise.
19637 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19638
19639 * nss/nss_files/files-parse.c: Whitespace fixes.
19640
19641 2010-08-09 Ulrich Drepper <drepper@redhat.com>
19642
19643 [BZ #11883]
19644 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
19645 * posix/fnmatch_loop.c: Likewise.
19646
19647 2010-07-17 Andi Kleen <ak@linux.intel.com>
19648
19649 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
19650 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
19651 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
19652 * Versions.def [GLIBC_2.13]: Add.
19653
19654 2010-08-06 Ulrich Drepper <drepper@redhat.com>
19655
19656 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19657 Also fail if tpwd after pwuid call is NULL.
19658
19659 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
19660
19661 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
19662 when converting to ms.
19663
19664 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19665
19666 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
19667 EOPNOTSUPP errors with ENOTTY.
19668 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
19669 EOPNOTSUPP errors with ENOTTY.
19670
19671 2010-07-31 Ulrich Drepper <drepper@redhat.com>
19672
19673 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19674 Add strcasecmp_l-ssse3.
19675 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
19676 strcasecmp.
19677 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
19678 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
19679 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
19680
19681 2010-07-30 Ulrich Drepper <drepper@redhat.com>
19682
19683 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
19684
19685 * string/Makefile (strop-tests): Add strcasecmp.
19686 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19687 strcasecmp_l-nonascii.
19688 (gen-as-const-headers): Add locale-defines.sym.
19689 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
19690 * sysdeps/x86_64/strcasecmp.S: New file.
19691 * sysdeps/x86_64/strcasecmp_l.S: New file.
19692 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
19693 * sysdeps/x86_64/locale-defines.sym: New file.
19694 * string/test-strcasecmp.c: New file.
19695
19696 * string/test-strcasestr.c: Test both ends of the range of characters.
19697 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
19698
19699 2010-07-29 Roland McGrath <roland@redhat.com>
19700
19701 [BZ #11856]
19702 * manual/locale.texi (Yes-or-No Questions): Fix example code.
19703
19704 2010-07-27 Ulrich Drepper <drepper@redhat.com>
19705
19706 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
19707 for ld.so.
19708
19709 2010-07-27 Andreas Schwab <schwab@redhat.com>
19710
19711 * manual/memory.texi (Malloc Tunable Parameters): Document
19712 M_PERTURB.
19713
19714 2010-07-26 Roland McGrath <roland@redhat.com>
19715
19716 [BZ #11840]
19717 * configure.in (-fgnu89-inline check): Set and substitute
19718 gnu89_inline, not libc_cv_gnu89_inline.
19719 * configure: Regenerated.
19720 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
19721
19722 2010-07-26 Ulrich Drepper <drepper@redhat.com>
19723
19724 * string/test-strnlen.c: New file.
19725 * string/Makefile (strop-tests): Add strnlen.
19726 * string/tester.c (test_strnlen): Add a few more test cases.
19727 * string/tst-strlen.c: Better error reporting.
19728
19729 * sysdeps/x86_64/strnlen.S: New file.
19730
19731 2010-07-24 Ulrich Drepper <drepper@redhat.com>
19732
19733 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
19734 lower-latency instructions.
19735
19736 2010-07-23 Ulrich Drepper <drepper@redhat.com>
19737
19738 * string/test-strcasestr.c: New file.
19739 * string/test-strstr.c: New file.
19740 * string/Makefile (strop-tests): Add strstr and strcasestr.
19741 * string/str-two-way.h: Don't undefine MAX.
19742 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
19743
19744 2010-07-21 Andreas Schwab <schwab@redhat.com>
19745
19746 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19747 strcasestr-nonascii.
19748 (CFLAGS-strcasestr-nonascii.c): Define.
19749 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
19750 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
19751 Remove unused attribute.
19752
19753 2010-07-20 Roland McGrath <roland@redhat.com>
19754
19755 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
19756 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
19757 ld.so.cache was broken. With it, there is no way to disable dsocaps
19758 like LD_HWCAP_MASK can disable hwcaps.
19759
19760 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19761
19762 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
19763
19764 2010-07-16 Ulrich Drepper <drepper@redhat.com>
19765
19766 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
19767 call in strcasestr.
19768 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
19769 __strcasestr_sse42_nonascii.
19770 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
19771 strcasestr-nonascii.c.
19772 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
19773
19774 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
19775
19776 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
19777 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
19778 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
19779 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
19780
19781 2010-07-09 Ulrich Drepper <drepper@redhat.com>
19782
19783 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
19784 fcntl.
19785
19786 2010-07-06 Andreas Schwab <schwab@redhat.com>
19787
19788 [BZ #11577]
19789 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
19790 dl_signal_cerror.
19791
19792 2010-07-06 Ulrich Drepper <drepper@redhat.com>
19793
19794 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
19795 _PC_PIPE_BUF using F_GETPIPE_SZ.
19796
19797 2010-07-05 Roland McGrath <roland@redhat.com>
19798
19799 * manual/arith.texi (Rounding Functions): Fix rint description
19800 implicit in round description.
19801
19802 2010-07-02 Ulrich Drepper <drepper@redhat.com>
19803
19804 * elf/Makefile: Fix linking for a few tests to make recent linker
19805 happy.
19806
19807 2010-06-30 Andreas Schwab <schwab@redhat.com>
19808
19809 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19810 $(common-objpfx)libc_nonshared.a.
19811
19812 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
19813
19814 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
19815 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
19816 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19817 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19818 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
19819 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
19820 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19821 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
19823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
19824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
19825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
19827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
19829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
19830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
19831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
19832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
19834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
19836 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
19837 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
19838 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
19839 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
19840 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
19841 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
19842 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
19843 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
19844 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
19845 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
19846 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
19847 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
19848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
19849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
19850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
19851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
19852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
19853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
19854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
19855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
19856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
19857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
19858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
19859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
19860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
19861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
19862
19863 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
19864
19865 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
19866 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
19867 * string/memmove.c (memmove): Renamed to ...
19868 (MEMMOVE): ...this. Default to memmove.
19869 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
19870 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
19871 (END_CHK): Define.
19872 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19873 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
19874 mempcpy-ssse3-back memmove-ssse3-back.
19875 * sysdeps/x86_64/multiarch/bcopy.S: New file .
19876 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
19877 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
19878 * sysdeps/x86_64/multiarch/memcpy.S: New file.
19879 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
19880 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
19881 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
19882 * sysdeps/x86_64/multiarch/memmove.c: New file.
19883 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
19884 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
19885 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
19886 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
19887 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
19888 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
19889 Define.
19890 (index_Fast_Copy_Backward): Define.
19891 (HAS_ARCH_FEATURE): Define.
19892 (HAS_FAST_REP_STRING): Define.
19893 (HAS_FAST_COPY_BACKWARD): Define.
19894
19895 2010-06-21 Andreas Schwab <schwab@redhat.com>
19896
19897 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19898 Restore proper fallback handling.
19899
19900 2010-06-19 Ulrich Drepper <drepper@redhat.com>
19901
19902 [BZ #11701]
19903 * posix/group_member.c (__group_member): Correct checking loop.
19904
19905 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
19906 OOM in getpwuid_r correctly. Return error number when the caller
19907 should return, otherwise -1.
19908 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
19909 call returning > 0 value.
19910 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
19911
19912 2010-06-07 Andreas Schwab <schwab@redhat.com>
19913
19914 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
19915 libc_nonshared.a from targets in modules-names.
19916
19917 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
19918
19919 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
19920 requires it.
19921
19922 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
19923
19924 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
19925 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
19926 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
19927 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
19928
19929 2010-06-02 Andreas Schwab <schwab@redhat.com>
19930
19931 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
19932
19933 2010-06-14 Ulrich Drepper <drepper@redhat.com>
19934
19935 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
19936 and F_GETPIPE_SZ.
19937 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19938 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19939 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19940 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19941 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19942 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
19943
19944 2010-06-14 Roland McGrath <roland@redhat.com>
19945
19946 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
19947
19948 2010-06-07 Jakub Jelinek <jakub@redhat.com>
19949
19950 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
19951 __REDIRECT followed by __THROW.
19952 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
19953 * posix/getopt.h (getopt): Likewise.
19954
19955 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19956
19957 * hurd/lookup-at.c (__file_name_lookup_at): Accept
19958 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
19959 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
19960 in AT_FLAGS.
19961 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
19962 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
19963
19964 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
19965
19966 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
19967
19968 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
19969
19970 [BZ #11640]
19971 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19972 Properly check family and model.
19973
19974 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
19975
19976 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
19977
19978 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
19979
19980 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
19981
19982 2010-05-21 Ulrich Drepper <drepper@redhat.com>
19983
19984 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
19985 symbol reference.
19986
19987 2010-05-19 Andreas Schwab <schwab@redhat.com>
19988
19989 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
19990 symbol reference.
19991
19992 2010-05-21 Andreas Schwab <schwab@redhat.com>
19993
19994 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
19995 and internal_recvmmsg.
19996 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
19997 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
19998 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
19999 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
20000
20001 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
20002 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20003 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20004
20005 2010-05-20 Andreas Schwab <schwab@redhat.com>
20006
20007 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
20008
20009 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
20010
20011 POWER7 optimizations.
20012 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
20013 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
20014
20015 2010-05-19 Ulrich Drepper <drepper@redhat.com>
20016
20017 * version.h: Update for 2.13 development version.
20018
20019 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
20020
20021 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
20022 exceptions. Return 0.
20023
20024 2010-05-07 Roland McGrath <roland@redhat.com>
20025
20026 * elf/ldconfig.c (main): Add a const.
20027
20028 2010-05-06 Ulrich Drepper <drepper@redhat.com>
20029
20030 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
20031 (args_options): Add no-idn option.
20032 (ahosts_keys_int): Add idn_flags to ai_flags.
20033 (parse_option): Handle 'i' option to clear idn_flags.
20034
20035 * malloc/malloc.c (_int_free): Possible race in the most recently
20036 added check. Only act on the data if no current modification
20037 happened.
20038
20039 See ChangeLog.17 for earlier changes.