]> sourceware.org Git - glibc.git/blame - ChangeLog
Set up the data structures for vDSO in libc.a
[glibc.git] / ChangeLog
CommitLineData
9cee5585
L
12012-10-05 H.J. Lu <hongjiu.lu@intel.com>
2
3 [BZ #14557]
4 * elf/dl-support.c (_dl_sysinfo_map): New.
5 Include "get-dynamic-info.h" and "setup-vdso.h".
6 (_dl_non_dynamic_init): Call setup_vdso.
7 * elf/dynamic-link.h: Don't include <assert.h>.
8 (elf_get_dynamic_info): Moved to ...
9 * elf/get-dynamic-info.h: Here. New file.
10 * elf/dynamic-link.h: Include "get-dynamic-info.h".
11 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
12 * elf/setup-vdso.h: Here. New file.
13 * elf/rtld.c: Include "setup-vdso.h".
14 (dl_main): Call setup_vdso.
15
23c31b76
JM
162012-10-05 Joseph Myers <joseph@codesourcery.com>
17
28234b07
JM
18 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
19 creal in comment listing functions tested. List finite, isinf,
20 isnan, isless, islessequal, isgreater, isgreaterequal,
21 islessgreater, isunordered, lgamma_r and pow10 as functions and
22 macros not tested. Mention which functions not tested are aliases
23 for other functions. Fix typo. Note that signs of NaNs are not
24 tested.
25
23c31b76
JM
26 * scripts/config.guess: Update from config.git.
27 * scripts/config.sub: Likewise.
28
9043e228
RM
292012-10-04 Roland McGrath <roland@hack.frob.com>
30
31 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
32 * misc/madvise.c (madvise): Renamed to __madvise.
33 Make madvise a weak alias.
34 * include/sys/mman.h: Declare __madvise.
35 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
36 * sysdeps/unix/syscalls.list
37 (madvise): Make __madvise the strong name, and madvise a weak alias.
38 * sysdeps/unix/sysv/linux/syscalls.list
39 (madvise, mmap): Remove redundant entries.
40 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
41 * malloc/malloc.c (mtrim): Likewise.
42 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
43
f57f8055
RM
442012-10-03 Roland McGrath <roland@hack.frob.com>
45
46 * sysdeps/mach/hurd/dl-cache.c: File removed.
47 * config.h.in (USE_LDCONFIG): New #undef.
48 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
49 * configure: Regenerated.
50 * elf/Makefile (dl-routines): Add dl-cache only under
51 [$(use-ldconfig) = yes].
52 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
53 cache on [USE_LDCONFIG].
54 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
55 [USE_LDCONFIG].
56 * elf/rtld.c (dl_main): Likewise.
57
5bb0c10a
PT
582012-10-03 Pino Toscano <toscano.pino@tiscali.it>
59
60 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
61 _SC_LEVEL4_CACHE_LINESIZE.
62
010188c6
RM
632012-10-03 Roland McGrath <roland@hack.frob.com>
64
65 * sysdeps/unix/bsd/confstr.h: File removed.
66
b6c5ec07
AO
672012-10-02 Alexandre Oliva <aoliva@redhat.com>
68
69 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
70 sys/sdt-config.h.
71
408223d4
RM
722012-10-02 Roland McGrath <roland@hack.frob.com>
73
74 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
75 Make 'mapoff' field ElfW(Off) rather than off_t.
76
bb9510dc
DL
772012-10-02 Dmitry V. Levin <ldv@altlinux.org>
78
fc997c6e
DL
79 * nscd/Makefile: Remove nscd-cflags and all its users.
80 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
81 (CFLAGS-nonlib): Add compiler flags for nscd modules.
82
bb9510dc
DL
83 [BZ #10631]
84 * malloc.c (malloc_printerr): Clarify error message.
85
05699367
L
862012-10-02 H.J. Lu <hongjiu.lu@intel.com>
87
88 [BZ #14648]
89 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
90 Set bit_FMA_Usable if FMA is supported.
91 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
92 macro.
93 (bit_FMA4_Usable): Updated.
94 (index_FMA_Usable): New macro.
95 (CPUID_FMA): Likewise
96 (HAS_FMA): Defined with bit_FMA_Usable.
97
51367701
RM
982012-10-01 Roland McGrath <roland@hack.frob.com>
99
100 * bits/types.h (__swblk_t): Type removed.
101 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
102 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
103 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
104 (__SWBLK_T_TYPE): Likewise.
105 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
106 (__SWBLK_T_TYPE): Likewise.
107 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
108 (__SWBLK_T_TYPE): Likewise.
109 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
110 (__SWBLK_T_TYPE): Likewise.
111
4d57bf63
JL
1122012-10-01 Patsy Franklin <pfrankli@redhat.com>
113 Honza Horak <hhorak@redhat.com>
114
115 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
116 (xdr_mapname): Use YPMAXMAP as maxsize.
117 (xdr_peername): Use YPMAXPEER as maxsize.
118 (xdr_keydat): Use YPAXRECORD as maxsize.
119 (xdr_valdat): Use YPMAXRECORD as maxsize.
120
93c65d43
RM
1212012-10-01 Roland McGrath <roland@hack.frob.com>
122
497a03d6
RM
123 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
124
93c65d43
RM
125 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
126 * csu/init-first.c: ... here.
127 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
128 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
129 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
130 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
131 * sysdeps/i386/init-first.c: File removed.
132 * sysdeps/sh/init-first.c: File removed.
133
bec749fd
JM
1342012-10-01 Joseph Myers <joseph@codesourcery.com>
135
136 [BZ #14645]
137 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
138 if x * y might underflow to zero and z is zero.
139 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
140 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
141 * math/libm-test.inc (min_subnorm_value): New variable.
142 (fma_test): Add more tests.
143 (fma_test_towardzero): Likewise.
144 (fma_test_downward): Likewise
145 (fma_test_upward): Likewise.
146 (initialize): Set min_subnorm_value.
147
8ec5b013
JM
1482012-09-29 Joseph Myers <joseph@codesourcery.com>
149
150 [BZ #14638]
151 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
152 0 + 0.
153 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
154 mode for addition resulting in exact zero.
155 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
156 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
157 exact 0 + 0.
158 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
159 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
160 * math/libm-test.inc (fma_test): Add more tests.
161 (fma_test_towardzero): New function.
162 (fma_test_downward): Likewise.
163 (fma_test_upward): Likewise.
164 (main): Call the new functions.
165
b1fa802e
DM
1662012-09-28 David S. Miller <davem@davemloft.net>
167
168 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
169
d3b9fd9e
RM
1702012-09-28 Roland McGrath <roland@hack.frob.com>
171
ea4d37b3
RM
172 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
173 instead of SIGALRM.
174
ac51c949
RM
175 * sysdeps/gnu/_G_config.h: Moved to ...
176 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
177 * sysdeps/mach/hurd/_G_config.h: Moved to ...
178 * sysdeps/generic/_G_config.h: ... here.
179
28c195f7
RM
180 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
181
848917f9
RM
182 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
183
6bacf05b
RM
184 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
185 Conditionalize target on [libnss_test1.so-version].
186
91363dbb
RM
187 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
188
cc87f7d8
RM
189 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
190 (elfobjdir): Move out of conditionals.
191
b1c608fe
RM
192 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
193 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
194 (__nss_lookup_function): Conditionalize label remove_from_tree on
195 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 196
1d9a6d96
DM
1972012-09-28 David S. Miller <davem@davemloft.net>
198
199 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
200 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
201 file.
202 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
203 sysdep_routines.
204 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
205 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
206 when HWCAP_SPARC_CRYPTO is present.
207
72581615
PT
2082012-09-28 Pino Toscano <toscano.pino@tiscali.it>
209
210 * io/tst-mknodat.c: Create a FIFO instead of a socket.
211
715a900c
JL
2122012-09-28 Andreas Schwab <schwab@linux-m68k.org>
213
214 [BZ #6530]
215 * stdio-common/vfprintf.c (process_string_arg): Revert
216 2000-07-22 change.
217
2182011-09-28 Jonathan Nieder <jrnieder@gmail.com>
219
220 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
221 for testcase.
222 * stdio-common/tst-sprintf.c: Include <locale.h>
223 (main): Test sprintf's handling of incomplete multibyte
224 characters.
225
9bac1d86
L
2262012-09-28 H.J. Lu <hongjiu.lu@intel.com>
227
228 * elf/dl-runtime.c (VERSYMIDX): Removed.
229 * elf/dl-version.c (VERSYMIDX): Likewise.
230 * elf/do-rel.h (VERSYMIDX): Likewise.
231 (VALIDX): Likewise.
232 * elf/dynamic-link.h (VERSYMIDX): Likewise.
233 * elf/rtld.c (VALIDX): Likewise.
234 (ADDRIDX): Likewise.
9bac1d86
L
235 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
236 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
237 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
238 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
239 (VALIDX): Likewise.
240 (ADDRIDX): Likewise.
9bac1d86 241
b31606c0
PT
2422012-09-28 Pino Toscano <toscano.pino@tiscali.it>
243
244 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
245
11541177
JL
2462012-09-28 Dmitry V. Levin <ldv@altlinux.org>
247
248 [BZ #11438]
249 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
250 to global scope.
251 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
252 addresses are in the same scope as 192.0.2/24.
253 * posix/gai.conf: Document new scope table defaults.
254
adb26fae
SP
2552012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
256
257 [BZ #5298]
258 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
259 for ftell. Compute offsets from write pointers instead.
260 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
261
4573c6b0
SP
2622012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
263
264 [BZ #14543]
265 * libio/Makefile (tests): New test case tst-fseek.
266 * libio/tst-fseek.c: New test case to verify that fseek/ftell
267 combination works in wide mode.
268 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
269 state when the external buffer state changes.
270
aa9bbfe6
DM
2712012-09-27 David S. Miller <davem@davemloft.net>
272
273 [BZ #14376]
274 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
275 pass reloc->r_addend in as the 'high' argument to
276 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
277
784421e7
DM
278 * sysdeps/sparc/fpu/libm-test-ulps: Update.
279
c39bc8b8
PT
2802012-09-28 Pino Toscano <toscano.pino@tiscali.it>
281
282 * rt/tst-aio2.c: Include <pthread.h>.
283 * rt/tst-aio3.c: Likewise.
284
1ccc2399
SE
2852012-09-27 Steve Ellcey <sellcey@mips.com>
286
287 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
288
31ed4153
L
2892012-09-27 H.J. Lu <hongjiu.lu@intel.com>
290
25f5f885
L
291 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
292 contents on [SHARED].
31ed4153 293
b7bfe116
MP
2942012-09-26 Marek Polacek <polacek@redhat.com>
295
296 [BZ #14530]
297 [BZ #13741]
298 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
299 for C++ and GCC <4.3 as well as for non GCC compilers.
300
43c4edba
MT
3012012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
302
303 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
304
6a1bf82f
RM
3052012-09-25 Roland McGrath <roland@hack.frob.com>
306
307 * Makefile.in (all, install): Declare with .PHONY.
308 Reported by Michael Hope <michael.hope@linaro.org>.
309
8ad11b9a
TMQMF
3102012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
311
312 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
313 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
314 system header.
315 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
316 Likewise.
317 (sydep_routines): Add the new and the internal functions.
318 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
319 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
321 (GLIBC_2.17): Add the new function.
322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
323 (GLIBC_2.17): Likewise.
324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
325 (GLIBC_2.17): Likewise.
326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
327 (GLIBC_2.17): Likewise.
328 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
329
7e2fca8d
AM
3302012-09-25 Alan Modra <amodra@gmail.com>
331
332 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
333 Add release barrier before setting once_control to say
334 initialisation is done. Add hints on lwarx. Use macro in
335 place of isync.
336 (clear_once_control): Add release barrier.
337
b87c4b24
JM
3382012-09-25 Joseph Myers <joseph@codesourcery.com>
339
d032e0d2
JM
340 [BZ #13629]
341 * math/s_clog.c (__clog): Handle more values close to |z| = 1
342 specially.
343 * math/s_clog10.c (__clog10): Likewise.
344 * math/s_clog10f.c (__clog10f): Likewise.
345 * math/s_clog10l.c (__clog10l): Likewise.
346 * math/s_clogf.c (__clogf): Likewise.
347 * math/s_clogl.c (__clogl): Likewise.
348 * math/Makefile (libm-calls): Add x2y2m1.
349 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
350 (__x2y2m1): Likewise.
351 (__x2y2m1l): Likewise.
352 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
353 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
354 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
355 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
356 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
357 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
358 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
359 * sysdeps/i386/fpu/libm-test-ulps: Update.
360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
361
b87c4b24
JM
362 [BZ #14621]
363 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
364 int as type of variable DEPTH.
365 (glob): Use size_t instead of int as type of variables NEWCOUNT
366 and OLD_PATHC.
367
6d3bf199
LD
3682012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
369
22bf5c17
LD
370 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
371 Add s_sincosf-sse2.
372 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
373 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
374 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
375 macros for using routine as __sincosf_ia32.
376 Use macro for function declaration and weak_alias.
377 * sysdeps/i386/fpu/libm-test-ulps: Update.
378
379 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
380 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
381
382 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
383 subnormal argument.
384 * math/s_cexpf.c (__cexpf): Likewise.
385 * math/s_csinf.c (__csinf): Likewise.
386 * math/s_csinhf.c (__csinhf): Likewise.
387 * math/s_ctanf.c (__ctanf): Likewise.
388 * math/s_ctanhf.c (__ctanhf): Likewise.
389 * math/s_ccosh.c (__ccoshf): Likewise.
390 * math/s_cexp.c (__cexpl): Likewise.
391 * math/s_csin.c (__csin): Likewise.
392 * math/s_csinh.c (__csinh): Likewise.
393 * math/s_ctan.c (__ctan): Likewise.
394 * math/s_ctanh.c (ctanh): Likewise.
395 * math/s_ccoshl.c (__ccoshl): Likewise.
396 * math/s_cexpl.c (__cexpl): Likewise.
397 * math/s_csinl.c (__csinl): Likewise.
398 * math/s_csinhl.c (__csinhl): Likewise.
399 * math/s_ctanl.c (__ctanl): Likewise.
400 * math/s_ctanhl.c (__ctanhl): Likewise.
401
203e5603
JM
4022012-09-25 Joseph Myers <joseph@codesourcery.com>
403
404 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
405 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
406 (_IO_off_t): Define to __off_t, not _G_off_t.
407 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
408 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
409 (_IO_wint_t): Define to wint_t, not _G_wint_t.
410 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
411 type of __dummy and __dummy2 fields.
412 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
413 (_G_ssize_t): Likewise.
414 (_G_off_t): Likewise.
415 (_G_pid_t): Likewise.
416 (_G_uid_t): Likewise.
417 (_G_wchar_t): Likewise.
418 (_G_wint_t): Likewise.
419 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
420 (_G_ssize_t): Likewise.
421 (_G_off_t): Likewise.
422 (_G_pid_t): Likewise.
423 (_G_uid_t): Likewise.
424 (_G_wchar_t): Likewise.
425 (_G_wint_t): Likewise.
426 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
427 (_G_ssize_t): Likewise.
428 (_G_off_t): Likewise.
429 (_G_pid_t): Likewise.
430 (_G_uid_t): Likewise.
431 (_G_wchar_t): Likewise.
432 (_G_wint_t): Likewise.
433
9fab36eb
SP
4342012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
435
436 * malloc/arena.c: Include malloc-sysdep.h.
437 (shrink_heap): Use check_may_shrink_heap to decide if madvise
438 is sufficient to shrink the heap or an unmap is needed.
439 * sysdeps/generic/malloc-sysdep.h: New file. Define
440 new function check_may_shrink_heap.
441 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
442 new function check_may_shrink_heap.
443
2b4f00d1
SP
4442012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
445
446 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
447 comments.
448
9a9028b1
DL
4492012-09-24 Dmitry V. Levin <ldv@altlinux.org>
450
57c69bef
DL
451 * catgets/test-gencat.sh: Add "set -e".
452 * elf/tst-pathopt.sh: Likewise.
453 * grp/tst_fgetgrent.sh: Likewise.
454 * iconvdata/run-iconv-test.sh: Likewise.
455 * intl/tst-gettext.sh: Likewise.
456 * intl/tst-gettext2.sh: Likewise.
457 * intl/tst-gettext4.sh: Likewise.
458 * intl/tst-gettext6.sh: Likewise.
459 * intl/tst-translit.sh: Likewise.
460 * io/ftwtest-sh: Likewise.
461 * libio/test-freopen.sh: Likewise.
462 * malloc/tst-mtrace.sh: Likewise.
463 * posix/globtest.sh: Likewise.
464 * posix/tst-getconf.sh: Likewise.
465 * posix/wordexp-tst.sh: Likewise.
466 * stdio-common/tst-printf.sh: Likewise.
467 * stdio-common/tst-unbputc.sh: Likewise.
468 * stdlib/tst-fmtmsg.sh: Likewise.
469 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
470 * catgets/Makefile: Do not specify -e option when running
471 testsuite shell scripts.
472 * elf/Makefile: Likewise.
473 * grp/Makefile: Likewise.
474 * iconvdata/Makefile: Likewise.
475 * intl/Makefile: Likewise.
476 * io/Makefile: Likewise.
477 * libio/Makefile: Likewise.
478 * malloc/Makefile: Likewise.
479 * posix/Makefile: Likewise.
480 * stdio-common/Makefile: Likewise.
481 * stdlib/Makefile: Likewise.
482 * sysdeps/x86_64/Makefile: Likewise.
483
9a9028b1
DL
484 * io/ftwtest-sh: Add copyright header.
485 * posix/globtest.sh: Likewise.
486 * posix/tst-getconf.sh: Likewise.
487 * posix/wordexp-tst.sh: Likewise.
488 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
489
ced6f16e
L
4902012-09-24 H.J. Lu <hongjiu.lu@intel.com>
491
94b32c39
L
492 [BZ #13679]
493 * Makeconfig (+link): Defined as $(+link-static) if
494 $(build-shared) isn't yes.
495 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
496 isn't yes.
497 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
498
189e935b
L
499 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
500
ced6f16e
L
501 [BZ #14562]
502 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
503 new chunk size with MALLOC_ALIGN_MASK.
504
a9f8e53a
JM
5052012-09-24 Joseph Myers <joseph@codesourcery.com>
506
507 [BZ #5044]
508 * stdio-common/printf_fphex.c: Include <stdbool.h> and
509 <rounding-mode.h>.
510 (__printf_fphex): Determine rounding using get_rounding_mode and
511 round_away.
512 * stdio-common/tst-printf-round.c (struct hex_test): New
513 structure.
514 (hex_tests): New variable.
515 (test_hex_in_one_mode): New function.
516 (do_test): Also run tests for hex float output.
517
43153109
JM
5182012-09-21 Joseph Myers <joseph@codesourcery.com>
519
520 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
521 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
522 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
523 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
524 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
525 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
526 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
527 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
528
8a26625d
JM
5292012-09-20 Joseph Myers <joseph@codesourcery.com>
530
531 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
532 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
533 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
534 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
535
f3fd569c
DL
5362012-09-19 Dmitry V. Levin <ldv@altlinux.org>
537
538 [BZ #14579]
539 * elf/rtld.c (dl_main): Limit the check for self loading to normal
540 mode only.
541 * elf/tst-rtld-load-self.sh: New test.
542 * elf/Makefile: Run it.
543
63bbedd4
JM
5442012-09-18 Joseph Myers <joseph@codesourcery.com>
545
546 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
547 (tst-writev-ENV): Remove.
548 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
549
626f8b6a
CM
5502012-09-17 Chris Metcalf <cmetcalf@tilera.com>
551
552 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
553
b7aaa4d6
JM
5542012-09-17 Joseph Myers <joseph@codesourcery.com>
555
556 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
557 unconditional.
558 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
559 Likewise.
560 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
561 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
562 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
563 Likewise.
564
65513990
L
5652012-09-14 H.J. Lu <hongjiu.lu@intel.com>
566
567 [BZ #14587]
568 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
569 * config.make.in (have-cpp-asm-debuginfo): Removed.
570 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
571 * configure: Regenerated.
572
784761be
JM
5732012-09-14 Joseph Myers <joseph@codesourcery.com>
574
575 [BZ #5044]
576 * stdio-common/printf_fp.c: Include <stdbool.h> and
577 <rounding-mode.h>.
578 (___printf_fp): Determine rounding using get_rounding_mode and
579 round_away.
580 * stdio-common/tst-printf-round.c: New file.
581 * stdio-common/Makefile (tests): Add tst-printf-round.
582 (link-libm): New variable.
583 ($(objpfx)tst-printf-round): Depend in $(link-libm).
584
9503345f
L
5852012-09-13 H.J. Lu <hongjiu.lu@intel.com>
586
587 [BZ #14576]
588 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
589 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
590 Likewise.
591 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
592 Likewise.
593
ad35fc00
JM
5942012-09-13 Joseph Myers <joseph@codesourcery.com>
595
596 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
597 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
598 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
599 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
600
6c9b0f68
JM
6012012-09-12 Joseph Myers <joseph@codesourcery.com>
602
603 [BZ #14518]
604 * include/rounding-mode.h: New file.
605 * sysdeps/generic/get-rounding-mode.h: Likewise.
606 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
607 * stdlib/strtod_l.c: Include <rounding-mode.h>.
608 (MAX_VALUE): New macro.
609 (MIN_VALUE): Likewise.
610 (overflow_value): New function.
611 (underflow_value): Likewise.
612 (round_and_return): Use overflow_value and underflow_value to
613 determine return values in overflow and underflow cases. Use
614 round_away to determine rounding depending on rounding mode.
615 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
616 determine return values in overflow and underflow cases.
617 * stdlib/tst-strtod-round.c: Include <fenv.h>.
618 (struct test_results): New structure.
619 (struct test): Use struct test_results to store expected results
620 for all rounding modes.
621 (TEST): Include expected results for all rounding modes.
622 (test_in_one_mode): New function.
623 (do_test): Use test_in_one_mode to compute and check results.
624 Check results for all rounding modes.
625 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
626 $(link-libm).
627
19fcedd5
AM
6282012-12-09 Allan McRae <allan@archlinux.org>
629
630 * sysdeps/i386/fpu/libm-test-ulps: Update
631
8bbfd2f1
JM
6322012-09-11 Joseph Myers <joseph@codesourcery.com>
633
634 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
635 (_G_int32_t): Likewise.
636 (_G_uint16_t): Likewise.
637 (_G_uint32_t): Likewise.
638 (_G_HAVE_BOOL): Likewise.
639 (_G_HAVE_ATEXIT): Likewise.
640 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
641 (_G_HAVE_IO_FILE_OPEN): Likewise.
642 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
643 (_G_int32_t): Likewise.
644 (_G_uint16_t): Likewise.
645 (_G_uint32_t): Likewise.
646 (_G_HAVE_BOOL): Likewise.
647 (_G_HAVE_ATEXIT): Likewise.
648 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
649 (_G_HAVE_IO_FILE_OPEN): Likewise.
650 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
651 (_G_int32_t): Likewise.
652 (_G_uint16_t): Likewise.
653 (_G_uint32_t): Likewise.
654 (_G_HAVE_BOOL): Likewise.
655 (_G_HAVE_ATEXIT): Likewise.
656 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
657 (_G_HAVE_IO_FILE_OPEN): Likewise.
658
b1dc5912
L
6592012-09-11 H.J. Lu <hongjiu.lu@intel.com>
660
661 * csu/libc-tls.c: Update copyright years.
662
0e886ef9
JM
6632012-09-10 Joseph Myers <joseph@codesourcery.com>
664
28361c5e
JM
665 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
666 [!_G_USING_THUNKS]: Remove conditional code.
667 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
668 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
669
0e886ef9
JM
670 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
671 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
672 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
673 (_G_VTABLE_LABEL_PREFIX): Likewise.
674 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
675 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
676 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
677 (_G_VTABLE_LABEL_PREFIX): Likewise.
678 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
679 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
680 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
681 (_G_VTABLE_LABEL_PREFIX): Likewise.
682 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
683
bcba7aa2
L
6842012-09-10 H.J. Lu <hongjiu.lu@intel.com>
685
686 * libio/Makefile: Include ../Makeconfig before tests.
687 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
688 only if $(build-shared) is yes.
689
06585ee8
L
690 * iconv/gconv_db.c: Update copyright years.
691
80ccd52c
LD
6922012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
693
694 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
695 unwind info if defined PIC. Fix special cases description.
696 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
697
698 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
699 DP_HI_MASK entry.
700 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
701
691bc9c1
L
7022012-09-07 H.J. Lu <hongjiu.lu@intel.com>
703
3d9b46b3
L
704 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
705
de2139a9
L
706 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
707 is NULL.
708
5ca78dd0
L
709 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
710 (LDLIBS-tst-chk4): This.
711 (LDFLAGS-tst-chk5): Renamed to ...
712 (LDLIBS-tst-chk5): This.
713 (LDFLAGS-tst-chk6): Renamed to ...
714 (LDLIBS-tst-chk6): This.
715 (LDFLAGS-tst-lfschk4): Renamed to ...
716 (LDLIBS-tst-lfschk4): This.
717 (LDFLAGS-tst-lfschk5): Renamed to ...
718 (LDLIBS-tst-lfschk5): This.
719 (LDFLAGS-tst-lfschk6): Renamed to ...
720 (LDLIBS-tst-lfschk6): This.
721
691bc9c1
L
722 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
723 on $(common-objpfx)soversions.mk.
724
65cafb1c
JM
7252012-09-07 Joseph Myers <joseph@codesourcery.com>
726
727 [BZ #10014]
728 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
729 example host name.
730
c78ab094
SP
7312012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
732
733 * malloc/arena.c (arena_get_retry): New function that gets
734 another arena for the caller to try its request on.
735 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
736 current arena cannot fulfill the request.
737 (__libc_memalign): Likewise.
738 (__libc_memalign): Likewise.
739 (__libc_pvalloc): Likewise.
740 (__libc_calloc): Likewise.
741
01f49f59
JT
7422012-09-05 John Tobey <john.tobey@gmail.com>
743
744 [BZ #13542]
745 * manual/arith.texi (Operations on Complex): Fix description
746 of carg branch cut.
747
4c23fed5
JM
7482012-09-06 Joseph Myers <joseph@codesourcery.com>
749
1d3c8572
JM
750 [BZ #10014]
751 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
752 host name.
753
4c23fed5
JM
754 [BZ #10038]
755 * manual/memory.texi (Memory): Make order of menu items match
756 order of sections.
757
04570aaa
L
7582012-09-06 H.J. Lu <hongjiu.lu@intel.com>
759
760 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
761 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
762 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
763
b80af2f4
L
7642012-09-06 H.J. Lu <hongjiu.lu@intel.com>
765
766 * csu/libc-tls.c (static_dtv): Renamed to ...
767 (_dl_static_dtv): This. Make it global.
768 (_dl_initial_dtv): Removed.
769 (__libc_setup_tls): Updated.
770 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
771 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
772 DL_INITIAL_DTV.
773
2abe9f15
PM
7742012-09-06 Petr Machata <pmachata@redhat.com>
775
776 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
777 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
778 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
779 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
780
0948c3af
L
7812012-09-06 H.J. Lu <hongjiu.lu@intel.com>
782
783 [BZ #14545]
784 * csu/libc-tls.c (_dl_initial_dtv): New variable.
785 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
786 freeing dtv[-1].
787
a5055ad1
L
7882012-09-06 H.J. Lu <hongjiu.lu@intel.com>
789
790 [BZ #14544]
791 * Makeconfig (link-static-before-libc): Replace $(+prector)
792 with $(+prectorT).
793 (link-static-after-libc): Replace $(+postctor) with
794 $(+postctorT).
795 (link-bounded): Replace $(+prector)/$(+postctor) with
796 $(+prectorT)/$(+postctorT).
797 (+prectorT): New macro.
798 (+postctorT): Likewise.
799
ed8c2ecd
JM
8002012-09-06 Joseph Myers <joseph@codesourcery.com>
801
802 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
803 (round_str): Handle values above the maximum for IBM long double
804 as inexact.
805 * stdlib/tst-strtod-round.c (tests): Regenerated.
806
14c996c8
AK
8072012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
808
809 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
810 assembler flag.
811 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
812 zarch_nohighgprs around the zarch optimized routines.
813 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
814 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
815 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
816 for zarch.
817
430d6ce6
DM
8182012-09-05 David S. Miller <davem@davemloft.net>
819
820 * sysdeps/sparc/fpu/libm-test-ulps: Update.
821
ff04dda4
DM
822 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
823 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
824 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
825 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
826 entries.
827
24d4e01b
AO
8282012-09-05 Alexandre Oliva <aoliva@redhat.com>
829
830 * malloc/arena.c: Fold copyright years.
831 * malloc/mcheck.c, malloc/memusage.c: Likewise.
832
61d58174
AO
8332012-09-05 Alexandre Oliva <aoliva@redhat.com>
834
835 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
836
20196a5e
AO
8372012-09-05 Alexandre Oliva <aoliva@redhat.com>
838
839 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
840
5c447383
AO
8412012-09-05 Alexandre Oliva <aoliva@redhat.com>
842
843 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
844 change internal state upon failure.
845
fad64255
AO
8462012-09-05 Alexandre Oliva <aoliva@redhat.com>
847
848 * malloc/mcheck.c (mcheck_check_all): Fix typo.
849 * malloc/memusage.c (mmap): Likewise.
850 (mmap64, mremap): Likewise. Adjust name in comment.
851
1ffb8c90
SP
8522012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
853
854 * libio/fileops.c: Fix typos in comments.
855 * libio/oldfileops.c: Likewise.
856 * libio/wfileops.c: Likewise.
857
6ef9cc37
SP
8582012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
859
860 [BZ #1349]
861 * malloc/Makefile (tests): Add tst-malloc-usable test case.
862 (tst-malloc-usable-ENV): Set environment for test case.
863 * malloc/hooks.c (malloc_check_get_size): New function to get
864 requested size.
865 * malloc/malloc.c (musable): Use malloc_check_get_size.
866 * malloc/tst-malloc-usable.c: New test case.
867
4d038ae3
AS
8682012-09-05 Andreas Schwab <schwab@linux-m68k.org>
869
870 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
871
c4e85184
AM
8722012-09-05 Allan McRae <allan@archlinux.org>
873
b9dafc56 874 [BZ #13966]
c4e85184
AM
875 * configure.in (CXX_SYSINCLUDES): Use compiler output to
876 determine header location.
877 * configure: Regenerated.
878
e1343020
AS
8792012-09-05 Andreas Schwab <schwab@linux-m68k.org>
880
881 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
882 float format.
883 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
884 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
885 format.
e1343020
AS
886 (test): Regenerate.
887
0a9f1987
DM
8882012-09-04 David S. Miller <davem@davemloft.net>
889
890 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
891 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
892 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
893
29237804
FW
8942012-09-04 Florian Weimer <fweimer@redhat.com>
895
896 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
897 failures.
898
edb3cb88
FW
899 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
900
60160d83
JM
9012012-09-04 Joseph Myers <joseph@codesourcery.com>
902
903 [BZ #9914]
904 * libio/iogetdelim.c: Include <limits.h>.
905 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
906 + len + 1 would overflow.
907
bcd6c8dc
AJ
9082012-09-03 Andreas Jaeger <aj@suse.de>
909
910 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
911 * sysdeps/i386/fpu/libm-test-ulps: Update.
912
4ffffbd2
LD
9132012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
914
915 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
916 Add s_sinf-sse2, s_conf-sse2.
917
918 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
919 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
920 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
921 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
922
923 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
924 for using routine as __sinf_ia32.
925 Use macro for function declaration and weak_alias.
926 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
927 for using routine as __cosf_ia32.
928 Use macro for function declaration and weak_alias.
929
930 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
931 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
932
933 * sysdeps/x86_64/fpu/s_sinf.S: New file.
934 * sysdeps/x86_64/fpu/s_cosf.S: New file.
935 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
936
937 * math/libm-test.inc (cos_test): Add more test cases.
938 (sin_test): Likewise.
939 (sincos_test): Likewise.
940
511fa286
AK
9412012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
942
943 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
944 (IFUNC_RESOLVE): Make pointers to the specialized implementations
945 hidden.
946 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
947
5f30cfec
L
9482012-09-02 H.J. Lu <hongjiu.lu@intel.com>
949
950 [BZ #14538]
951 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
952 first element of the GOT.
953 (elf_machine_load_address): Return the difference between
954 the runtime address of _DYNAMIC and elf_machine_dynamic ().
955
0786794f
AM
9562012-09-01 Allan McRae <allan@archlinux.org>
957
5f30cfec
L
958 [BZ #13412]
959 * configure.in (AWK): Require gawk version 3.0 or later.
960 * configure: Regenerated.
0786794f 961
26889eac
JM
9622012-09-01 Joseph Myers <joseph@codesourcery.com>
963
964 * sysdeps/unix/sysv/linux/kernel-features.h
965 (__ASSUME_POSIX_CPU_TIMERS): Remove.
966 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
967 [__NR_clock_getres]: Make code unconditional.
968 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
969 (clock_getcpuclockid): Remove code left unreachable by removal of
970 conditionals.
971 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
972 code unconditional.
973 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
974 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
975 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
976 Make code unconditional.
977 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
978 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
979 * sysdeps/unix/sysv/linux/clock_settime.c
980 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
981 conditional code.
982 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
983 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
984
d22e28b0
L
9852012-08-29 H.J. Lu <hongjiu.lu@intel.com>
986
987 [BZ #14476]
988 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
989 scripts/test-installation.pl.
990
991 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
992 and $ld_so_version if it is set.
993
050af9c4
SP
9942012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
995
996 [BZ #14516]
997 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
998 failure if reading from procfs failed.
999 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
1000
ad845c0b
JM
10012012-08-27 Joseph Myers <joseph@codesourcery.com>
1002
1003 * sysdeps/unix/sysv/linux/kernel-features.h
1004 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
1005 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1006 Remove conditional code.
1007 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1008 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
1009 Remove conditional code.
1010 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1011 * sysdeps/unix/sysv/linux/i386/fxstat.c
1012 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1013 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1014 * sysdeps/unix/sysv/linux/i386/fxstatat.c
1015 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1016 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1017 * sysdeps/unix/sysv/linux/i386/lxstat.c
1018 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1019 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1020 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
1021 Remove conditional code.
1022 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1023 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1024 Remove conditional code.
1025 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1026 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
1027 <kernel-features.h>.
1028 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
1029 Remove.
1030 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
1031 Remove conditional code.
1032 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1033 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
1034 Remove conditional.
1035
5dbf56af
MF
10362012-08-27 Mike Frysinger <vapier@gentoo.org>
1037
1038 [BZ #5400]
1039 * NEWS: Add fixed bug number.
1040
d6e70f43
JM
10412012-08-27 Joseph Myers <joseph@codesourcery.com>
1042
7efb4737
JM
1043 [BZ #14519]
1044 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
1045 underflowing exponent in case of negative sign.
1046 * stdlib/tst-strtod-round-data: Add more tests.
1047 * stdlib/tst-strtod-round.c (tests): Regenerated.
1048
af92131a
JM
1049 [BZ #3479]
1050 * stdlib/strtod_l.c (NDIG): Remove.
1051 (HEXNDIG): Likewise.
1052 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
1053 smallest representable value.
1054 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
1055 lie within an exact representation of 1/2 ulp of the result.
1056 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
1057 unconditionally.
1058 (TENS_P9_IDX): Define unconditionally.
1059 (TENS_P9_SIZE): Likewise.
1060 (TENS_P10_IDX): Likewise.
1061 (TENS_P10_SIZE): Likewise.
1062 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
1063 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
1064 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
1065 entries for 10^2^13 and 10^2^14.
1066 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
1067 (TENS_P13_IDX): Define.
1068 (TENS_P13_SIZE): Likewise.
1069 (TENS_P14_IDX): Likewise.
1070 (TENS_P14_SIZE): Likewise.
1071 (_fpioconst_pow10): Change array size to
1072 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
1073 unconditional.
1074 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
1075 1024]: Add entries for 10^2^13 and 10^2^14.
1076 [LAST_POW10 > _LAST_POW10]: Remove #error.
1077 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
1078 (_fpioconst_pow10): Change array size to
1079 FPIOCONST_POW10_ARRAY_SIZE.
1080 * stdlib/gen-fpioconst.c: New file.
1081 * stdlib/gen-tst-strtod-round.c: Likewise.
1082 * stdlib/tst-strtod-round-data: Likewise.
1083 * stdlib/tst-strtod-round.c: Likewise.
1084 * stdlib/Makefile (tests): Add tst-strtod-round.
1085
d6e70f43
JM
1086 [BZ #14459]
1087 * stdlib/strtod_l.c: Include <stdint.h>.
1088 (NDEBUG): Do not define.
1089 (round_and_return): Change EXPONENT parameter to type intmax_t.
1090 Rearrange calculations to avoid internal overflow possibilities.
1091 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
1092 Rearrange calculations to avoid internal overflow possibilities.
1093 Assert that number fits inside MPNSIZE limbs.
1094 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
1095 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
1096 calculations and add assertions to avoid internal overflow
1097 possibilities. Add casts to avoid signed/unsigned operations.
1098 * stdlib/tst-strtod-overflow.c: New file.
1099 * stdlib/Makefile (tests): Add tst-strtod-overflow.
1100
1f529f7d
MP
11012012-08-25 Marek Polacek <polacek@redhat.com>
1102
1103 * time/time.h: Fix some typos in comments.
1104
59a629f1
RM
11052012-08-23 Roland McGrath <roland@hack.frob.com>
1106
1107 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
1108 * posix/tst-rfc3484-2.c: Likewise.
1109 * posix/tst-rfc3484-3.c: Likewise.
1110
d3bafbc9
SM
11112012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
1112
1113 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
1114 (EF_ARM_ABI_FLOAT_HARD): Likewise.
1115
4efcc022
JM
11162012-08-23 Joseph Myers <joseph@codesourcery.com>
1117
1118 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
1119 #include of fxstatat64.c.
1120
3cc3ef96
RM
11212012-08-22 Roland McGrath <roland@hack.frob.com>
1122
f04e2132
RM
1123 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
1124 * shadow/getspent_r.c: Likewise.
1125 * shadow/getspnam.c: Likewise.
1126 * shadow/getspnam_r.c: Likewise.
1127 * gshadow/getsgent.c: Likewise.
1128 * gshadow/getsgent_r.c: Likewise.
1129 * gshadow/getsgnam.c: Likewise.
1130 * gshadow/getsgnam_r.c: Likewise.
1131 * inet/getnetbyad.c: Likewise.
1132 * inet/getnetbyad_r.c: Likewise.
1133 * inet/getnetbynm.c: Likewise.
1134 * inet/getnetbynm_r.c: Likewise.
1135 * inet/getnetent.c: Likewise.
1136 * inet/getnetent_r.c: Likewise.
1137 * inet/getproto.c: Likewise.
1138 * inet/getproto_r.c: Likewise.
1139 * inet/getprtent.c: Likewise.
1140 * inet/getprtent_r.c: Likewise.
1141 * inet/getprtname.c: Likewise.
1142 * inet/getprtname_r.c: Likewise.
1143 * inet/getrpcbyname.c: Likewise.
1144 * inet/getrpcbyname_r.c: Likewise.
1145 * inet/getrpcbynumber.c: Likewise.
1146 * inet/getrpcbynumber_r.c: Likewise.
1147 * inet/getrpcent.c: Likewise.
1148 * inet/getrpcent_r.c: Likewise.
1149 * inet/getaliasent.c: Likewise.
1150 * inet/getaliasent_r.c: Likewise.
1151 * inet/getaliasname.c: Likewise.
1152 * inet/getaliasname_r.c: Likewise.
1153 * nscd/getgrgid_r.c: Likewise.
1154 * nscd/getgrnam_r.c: Likewise.
1155 * nscd/gethstbyad_r.c: Likewise.
1156 * nscd/gethstbynm3_r.c: Likewise.
1157 * nscd/getpwnam_r.c: Likewise.
1158 * nscd/getpwuid_r.c: Likewise.
1159 * nscd/getsrvbynm_r.c: Likewise.
1160 * nscd/getsrvbypt_r.c: Likewise.
1161 * nscd/gai.c: Likewise.
1162
c53d909c
RM
1163 * configure.in (build_nscd): New substituted variable, set
1164 by --disable-build-nscd and defaults to $use_nscd.
1165 * configure: Regenerated.
1166 * config.make.in (build-nscd): New substituted variable.
1167 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
1168 Change conditional to require [$(build-nscd) = yes] as well.
1169 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
1170
3cc3ef96
RM
1171 [BZ# 13696]
1172 * configure.in (use_nscd): New substituted variable, set by
1173 --disable-nscd. If enabled, define USE_NSCD.
1174 * configure: Regenerated.
1175 * config.h.in: Add USE_NSCD.
1176 * config.make.in (use-nscd): New substituted variable.
1177 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
1178 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
1179 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
1180 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
1181 (CFLAGS-getgrnam_r.c): Likewise.
1182 (CFLAGS-initgroups.c): Likewise.
1183 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
1184 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
1185 Variables removed.
1186 * inet/getnetgrent_r.c
1187 (nscd_setnetgrent): New function, broken out of ...
1188 (setnetgrent): ... here. Call it.
1189 (innetgr): Conditionalize nscd bits on [USE_NSCD].
1190 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
1191 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
1192 * nscd/Makefile (routines, aux): Move definitions after include of
1193 Makeconfig. Conditionalize on [$(use-nscd) != no].
1194 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
1195 Conditionalize on [USE_NSCD].
1196 (is_nscd, nscd_init_cb): Likewise.
1197 (nss_load_library): Conditionalize init callback on [USE_NSCD].
1198 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
1199 * nss/nss_db/db-init.c: Likewise.
1200 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
1201 [USE_NSCD].
1202 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
1203 (make_request): Use it.
1204 (cache_valid_p): New function.
1205 (__check_pf): Use it.
1206 * NEWS: Add item for --disable-nscd.
1207
07e51550
DL
12082012-08-22 Dmitry V. Levin <ldv@altlinux.org>
1209
1210 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
1211 to support sed >= 4.2.1-20-ga9bf076.
1212 * configure: Regenerated.
1213
35a5b08b
RM
12142012-08-22 Roland McGrath <roland@hack.frob.com>
1215
1216 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
1217 Conditionalize whole body on [IREL].
1218
8479f23a
JL
12192012-08-22 Jeff Law <law@redhat.com>
1220
1221 [BZ #14505]
1222 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
1223 if the family is PF_UNSPEC.
1224
48da0b21
MF
12252012-08-22 Mike Frysinger <vapier@gentoo.org>
1226
1227 * Makerules (lib-version): Rename from V.
1228 (install-lib-nosubdir): Change V to lib-version.
1229
15d0da8c
WS
12302012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
1231
1232 [BZ #14252]
1233 * powerpc32/power6/wcschr.c: New file.
1234 * powerpc32/power6/wcscpy.c: New file.
1235 * powerpc32/power6/wcsrchr.c: New file.
1236 * powerpc64/power6/wcschr.c: New file.
1237 * powerpc64/power6/wcscpy.c: New file.
1238 * powerpc64/power6/wcsrchr.c: New file.
1239
bcca0895
MK
12402012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1241
1242 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
1243 (two_way_short_needle): Use it.
5a4aaa33
RM
1244 * string/strstr.c (AVAILABLE1_USES_J): Define.
1245 * string/strcasestr.c: Likewise.
99677e57
MK
1246
1247 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
1248 array references.
1249 * string/strcasestr.c (TOLOWER): Make side-effect safe.
1250
400726de
MK
1251 [BZ #11607]
1252 * NEWS: Add an entry.
1253 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
1254 define their defaults.
1255 (two_way_short_needle): Detect end-of-string on-the-fly.
1256 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
1257 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
1258 * string/bug-strcasestr1.c: New test.
1259 * string/Makefile: Run it.
1260
20a71f2c
MK
12612012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1262
1263 [BZ #11607]
1264 * string/str-two-way.h (two_way_short_needle): Optimize matching of
1265 the first character.
1266
21ad0558
RM
12672012-08-21 Roland McGrath <roland@hack.frob.com>
1268
1269 * csu/elf-init.c (__libc_csu_irel): Function removed.
1270 * csu/libc-start.c (apply_irel): New function.
1271 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
1272
0e1d9911
JM
12732012-08-21 Joseph Myers <joseph@codesourcery.com>
1274
1275 * sysdeps/unix/sysv/linux/kernel-features.h
1276 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
1277 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1278 <kernel-features.h>.
1279 [__NR_fadvise64_64]: Make code unconditional.
1280 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
1281 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1282 !__NR_fadvise64_64)]: Likewise.
1283 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1284 !__NR_fadvise64_64))]: Likewise.
1285 [__NR_fadvise64]: Make code unconditional.
1286 [!__NR_fadvise64]: Remove conditional code.
1287 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
1288 <kernel-features.h>.
1289 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1290 unconditional.
1291 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1292 conditional code.
1293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
1294 not include <kernel-features.h>.
1295 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1296 unconditional.
1297 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1298 conditional code.
1299 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
1300 include <kernel-features.h>.
1301 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1302 unconditional.
1303 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1304 conditional code.
1305
14a50c9d
WS
13062012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
1307
1308 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
1309 slight instruction rearrangements per scrollpipe analysis.
1310 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1311
c0f4faf0
RM
13122012-08-20 Roland McGrath <roland@hack.frob.com>
1313
696da859
RM
1314 * manual/syslog.texi (syslog; vsyslog, closelog):
1315 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
1316 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
1317
c0f4faf0
RM
1318 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
1319 DSOCAPS to match condition on defining it.
1320
348363b2
JM
13212012-08-20 Joseph Myers <joseph@codesourcery.com>
1322
a35cbf28
JM
1323 * sysdeps/unix/sysv/linux/kernel-features.h
1324 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
1325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
1326 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1327 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
1329 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1330 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
1332 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1333 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1334
445f7ecd
JM
1335 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
1336 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
1337
348363b2
JM
1338 * sysdeps/unix/sysv/linux/kernel-features.h
1339 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
1340 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
1341 unconditional.
1342 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1343 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
1344 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1345 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1346 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
1347 Make code unconditional.
1348 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1349 (__mmap64) [!__NR_mmap2]: Likewise.
1350 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
1351 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1352 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1353 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
1354 [__NR_mmap2]: Make code unconditional.
1355 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1356 (__mmap64) [!__NR_mmap2]: Likewise.
1357
bc5bc0e5
AK
13582012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1359
1360 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
1361
88d506de
AJ
13622012-08-18 Andreas Jaeger <aj@suse.de>
1363
1364 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
1365
493387d2
MF
13662012-08-18 Mike Frysinger <vapier@gentoo.org>
1367
1368 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
1369 * include/unistd.h (__have_sock_cloexec): Likewise.
1370 (__have_pipe2): Likewise.
1371 (__have_dup3): Likewise.
1372
a277af22
MF
13732012-08-18 Mike Frysinger <vapier@gentoo.org>
1374
1375 [BZ #9685]
1376 * include/unistd.h (__have_pipe2): Change define into an extern int.
1377 (__have_dup3): Likewise.
1378 * socket/have_sock_cloexec.c: Include fcntl.h.
1379 (__have_pipe2): New variable.
1380 (__have_dup3): Likewise.
1381
fdab8fd3
MF
13822012-08-17 Mike Frysinger <vapier@gentoo.org>
1383
1384 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
1385
31035e80
MP
13862012-08-17 Marek Polacek <polacek@redhat.com>
1387
1388 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
1389 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
1390
3bd9e993
RM
13912012-08-17 Roland McGrath <roland@hack.frob.com>
1392
c91c505f
RM
1393 * configure.in: Add AC_SUBST for sysheaders.
1394 * configure: Regenerated.
1395 * config.make.in (sysheaders): New substituted variable.
1396
7c6f9d53
RM
1397 * sysdeps/unix/mkfifo.c: Moved ...
1398 * sysdeps/posix/mkfifo.c: ... here.
1399 * sysdeps/unix/mkfifoat.c: Moved ...
1400 * sysdeps/posix/mkfifoat.c: ... here.
1401
1402 * sysdeps/unix/utime.c: Moved ...
1403 * sysdeps/posix/utime.c: ... here.
1404
1405 * sysdeps/unix/time.c: Moved ...
1406 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
1407 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
1408 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
1409
1410 * sysdeps/unix/nice.c: Moved ...
1411 * sysdeps/posix/nice.c: ... here.
1412
1413 * sysdeps/unix/alarm.c: Moved ...
1414 * sysdeps/posix/alarm.c: ... here.
1415
3bd9e993
RM
1416 * intl/Makefile ($(codeset_mo)): Depend on the input file.
1417
d1f09384
JL
14182012-08-17 Jeff Law <law@redhat.com>
1419
1420 * intl/Makefile (codeset_mo): New variable.
1421 ($(codeset_mo)): New target.
1422 (tst-codeset.out): Depend on that. Remove explicit rule.
1423 (tst-gettext3.out, tst-gettext5.out): Likewise.
1424 (LOCPATH-ENV, tst-codeset-ENV): New variables.
1425 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
1426 * intl/tst-codeset.sh: Remove.
1427 * intl/tst-gettext3.sh: Likewise.
1428 * intl/tst-gettext5.sh: Likewise.
1429
2ae1ae5c
RM
14302012-08-17 Roland McGrath <roland@hack.frob.com>
1431
c31fdb83
RM
1432 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
1433 * sysdeps/unix/syscalls.list: ... here.
1434
a0844057
RM
1435 * sysdeps/posix/getaddrinfo.c
1436 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
1437 (gaiconf_init, gaiconf_reload): Use them.
1438 [!_STATBUF_ST_NSEC]
1439 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
1440 Define using time_t rather than struct timespec.
1441
750c1f2a
RM
1442 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
1443 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
1444 Macros removed.
1445 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
1446 [!NO_THREADS].
1447 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
1448 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
1449 Likewise.
1450
2ae1ae5c
RM
1451 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
1452 __libc_cleanup_push argument.
1453
e66a42f5
RM
1454 * bits/param.h: New file.
1455 * misc/sys/param.h: New file.
1456 * include/sys/param.h: New file.
1457 * misc/Makefile (headers): Add bits/param.h.
1458 * sysdeps/generic/sys/param.h: File removed.
1459 * sysdeps/unix/sysv/linux/bits/param.h: New file.
1460 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
1461 * sysdeps/mach/hurd/bits/param.h: New file.
1462 * sysdeps/mach/hurd/sys/param.h: New file.
1463
b7c08a66
RM
1464 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
1465 last change.
1466
b2e1c562
RM
1467 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
1468 [_IO_MTSAFE_IO].
1469 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
1470 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
1471 New macros.
1472
c75ccd4c
RM
1473 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
1474 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
1475 rather than -D_IO_MTSAFE_IO conditionally.
1476 * stdio-common/Makefile (CPPFLAGS): Likewise.
1477 * wcsmbs/Makefile (CPPFLAGS): Likewise.
1478 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
1479 Use $(libio-mtsafe).
1480 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
1481 of -D_IO_MTSAFE_IO.
1482 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
1483 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
1484 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
1485 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
1486 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
1487 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
1488 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
1489 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
1490 (CFLAGS-fread_u_chk.c): Likewise.
1491 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
1492 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
1493 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
1494 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
1495 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
1496 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
1497 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
1498 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
1499 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
1500
1501 * libio/Makefile: Test [$(libc-reentrant) = yes]
1502 instead of [$(filter %REENTRANT, $(defines)) nonempty].
1503
1504 * Makeconfig
1505 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
1506 * sysdeps/pthread/configure: File removed.
1507 * sysdeps/pthread/Makeconfig: New file.
1508 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
1509 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
1510
d9195db8
GB
15112012-08-16 Gary Benson <gbenson@redhat.com>
1512
1513 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
1514 unmapping the first object in a namespace.
1515
86466cd9
RM
15162012-08-16 Roland McGrath <roland@hack.frob.com>
1517
1518 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
1519 (__internal_setnetgrent): ... this. Add internal_function to
1520 definition. Add libc_hidden_def.
1521 (setnetgrent): Update caller.
1522 (internal_endnetgrent): Renamed to ...
1523 (__internal_endnetgrent): ... this. Add internal_function to
1524 definition. Add libc_hidden_def.
1525 (endnetgrent): Update caller.
1526 (internal_getnetgrent_r): Renamed to ...
1527 (__internal_getnetgrent_r): ... this. Add internal_function to
1528 definition. Add libc_hidden_def.
1529 (__getnetgrent_r): Update caller.
1530 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
1531
c3c8283c
JM
15322012-08-16 Joseph Myers <joseph@codesourcery.com>
1533
1534 * stdlib/longlong.h: Update from GCC.
1535
db1ee0a8
RM
15362012-08-16 Roland McGrath <roland@hack.frob.com>
1537
1538 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
1539 on _QL, which is set by umul_ppmm but never used.
1540 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
1541 variables, which are set by GMP macros but never used.
1542 * stdio-common/_itowa.c (_itowa): Likewise.
1543 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
1544 * stdlib/mod_1.c (mpn_mod_1): Likewise.
1545
30f69637
CD
15462012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
1547
1548 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
1549 struct La_sh_regs is not constant.
1550 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
1551 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
1552 and struct La_sparc64_regs are not constant.
1553
93a78ac4
JM
15542012-08-16 Joseph Myers <joseph@codesourcery.com>
1555
1556 * sysdeps/unix/sysv/linux/kernel-features.h
1557 (__ASSUME_POSIX_TIMERS): Remove.
1558 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1559 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1560 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
1561 Make code unconditional.
1562 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1563 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
1564 Make code unconditional.
1565 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1566 * sysdeps/unix/sysv/linux/clock_nanosleep.c
1567 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
1568 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1569 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
1570 Make code unconditional.
1571 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1572 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
1573 (__libc_missing_posix_timers): Remove.
1574
dd924cd7
RM
15752012-08-15 Roland McGrath <roland@hack.frob.com>
1576
4b4f2771
RM
1577 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
1578 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
1579
601c888b
RM
1580 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
1581
176790a7
RM
1582 * elf/dl-sym.c: Include <stdlib.h>.
1583
329bc018
RM
1584 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
1585 constants, which avoids warnings in 32-bit builds.
1586
e04e272d
RM
1587 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
1588 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
1589
952bf94a
RM
1590 * misc/lseek.c: File moved to ...
1591 * io/lseek.c: ... here.
1592
7c99b50a
RM
1593 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
1594
dd924cd7
RM
1595 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
1596 shifting LEN more than 31 bits at once.
1597
b3f479a8
LD
15982012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1599
1600 [BZ #14195]
8c4ae0d4
RM
1601 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
1602 segmentation fault for a case of two empty input strings.
b3f479a8
LD
1603 * string/test-strncasecmp.c (check1): Renamed to...
1604 (bz12205): ...this.
1605 (bz14195): Add new testcase for two empty input strings and N > 0.
1606 (test_main): Call new testcase, adapt for renamed function.
1607
9c55864e
AJ
16082012-08-15 Andreas Jaeger <aj@suse.de>
1609
1610 [BZ #14090]
1611 * crypt/md5test2.c: New test, based on test supplied by Serge
1612 Belyshev <belyshev@depni.sinp.msu.ru>.
1613 * crypt/Makefile (xtests): Add md5test-giant..
1614 * crypt/Makefile ($(objpfx)md5test-giant): Add.
1615
02dcb6c5
PE
16162012-08-15 Paul Eggert <eggert@cs.ucla.edu>
1617
1618 [BZ #14090]
1619 * crypt/md5.c (md5_process_block): Don't assume the buffer
1620 length is less than 2**32.
1621 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
1622 length is less than 2**64.
1623
a3f95dcc
RM
16242012-08-15 Roland McGrath <roland@hack.frob.com>
1625
be75d758
RM
1626 * string/str-two-way.h: Include <sys/param.h>.
1627 (MAX): Macro removed.
1628
7312ca90
RM
1629 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
1630 Move #define and #undef of memmove to just before and after
1631 including <string.h>.
1632
9a0a5486
RM
1633 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
1634 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
1635 and after including <string.h>. Move declarations of
1636 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
1637 to before #include "string/memmove.c".
1638
67cc348d
RM
1639 * include/dirent.h: Declare __getdirentries.
1640
a3f95dcc
RM
1641 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
1642 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
1643
ca98e171
MF
16442012-08-14 Mike Frysinger <vapier@gentoo.org>
1645
1646 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
1647 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
1648 * sysdeps/i386/configure: Regenerated.
1649 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
1650 STABS_CURRENT_FILE, and STABS_FUN.
1651 (END): Remove call to STABS_FUN_END.
1652 (STABS_CURRENT_FILE1): Delete.
1653 (STABS_CURRENT_FILE): Likewise.
1654 (STABS_FUN): Likewise.
1655 (STABS_FUN_END): Likewise.
1656 (STABS_FUN2): Likewise.
1657 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
1658 * sysdeps/x86_64/configure: Regenerated.
1659
5908bf46
RM
16602012-08-14 Roland McGrath <roland@hack.frob.com>
1661
1662 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 1663 * elf/dl-lookup.c: Likewise.
5908bf46 1664
f2c05b9e
JM
16652012-08-14 Joseph Myers <joseph@codesourcery.com>
1666
1667 * sysdeps/unix/sysv/linux/kernel-features.h
1668 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
1669 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
1670 unconditionally.
1671 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
1672 unconditionally.
1673 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
1674 condition on __ASSUME_CLONE_THREAD_FLAGS.
1675
e11f5155
AJ
16762012-08-14 Andreas Jaeger <aj@suse.de>
1677
1678 * sysdeps/i386/fpu/libm-test-ulps: Update.
1679
51a9ba86
MK
16802012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
1681
2fdd4f78
AJ
1682 * include/atomic.h (atomic_exchange_and_add): Split into ...
1683 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
1684 New atomic macros.
51a9ba86 1685
ba6cba9e
MT
16862012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
1687
1688 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1689
42443a47
JL
16902012-08-13 Jeff Law <law@redhat.com>
1691
1692 * manual/stdio.texi (snprintf): Clarify handling of the trailing
1693 null byte in the output string.
1694
121dce05
JM
16952012-08-10 Joseph Myers <joseph@codesourcery.com>
1696
1697 * sysdeps/unix/sysv/linux/kernel-features.h
1698 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
1699 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
1700 (__ASSUME_ARG_MAX_STACK_BASED): Define.
1701 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1702 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
1703 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
1704 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
1705
bf51f568
JL
17062012-08-09 Jeff Law <law@redhat.com>
1707
1708 [BZ #13939]
1709 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
1710 When avoid_arena is set, don't retry in the that arena. Pick the
1711 next one, whatever it might be.
1712 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
1713 (arena_lock): Pass in new parameter to arena_get2.
1714 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
1715 arena_get2.
1716 (__libc_malloc): Unify retrying after main arena failure with
1717 __libc_memalign version.
1718 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
1719
f85fa270
L
17202012-08-09 H.J. Lu <hongjiu.lu@intel.com>
1721
1722 [BZ #14166]
1723 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
1724 to __redirect_strstr.
1725 (__strstr_sse42): Use typeof __redirect_strstr.
1726 (__strstr_ia32): Likewise.
1727 (__libc_strstr): New prototype.
1728 (strstr): Renamed to ...
1729 (__libc_strstr): This.
1730 (strstr): New strong alias of __libc_strstr.
1731 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
1732 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
1733 __redirect_time.
1734 Include <time.h>.
1735 (__libc_time): New prototype.
1736 (time_ifunc): Replace time with __libc_time.
1737 (time): New strong alias and hidden definition of __libc_time.
1738 (__GI_time): Remove strong alias.
1739 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
1740 Include <stddef.h>.
1741 (memmove): Redefined to __redirect_memmove.
1742 (__memmove_sse2): Use typeof __redirect_memmove.
1743 (__memmove_ssse3): Likewise.
1744 (__memmove_ssse3_back): Likewise.
1745 (__libc_memmove): New prototype.
1746 (memmove): Renamed to ...
1747 (__libc_memmove): This.
1748 (memmove): New strong alias of __libc_memmove.
1749
33b4a91e
MS
17502012-08-08 Mark Salter <msalter@redhat.com>
1751
1752 * elf/elf.h
1753 (R_MN10300_TLS_GD): Define.
1754 (R_MN10300_TLS_LD): Likewise.
1755 (R_MN10300_TLS_LDO): Likewise.
1756 (R_MN10300_TLS_GOTIE): Likewise.
1757 (R_MN10300_TLS_IE): Likewise.
1758 (R_MN10300_TLS_LE): Likewise.
1759 (R_MN10300_TLS_DTPMOD): Likewise.
1760 (R_MN10300_TLS_DTPOFF): Likewise.
1761 (R_MN10300_TLS_TPOFF): Likewise.
1762 (R_MN10300_SYM_DIFF): Likewise.
1763 (R_MN10300_ALIGN): Likewise.
1764 (R_MN10300_NUM): Update.
1765
b36137f1
JM
17662012-08-08 Joseph Myers <joseph@codesourcery.com>
1767
1768 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
1769 Remove.
1770
cdd915fd
RM
17712012-08-08 Roland McGrath <roland@hack.frob.com>
1772
a2433aac
RM
1773 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
1774
cdd915fd
RM
1775 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
1776 sysdeps/unix -> sysdeps/posix move.
1777 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1778
bf9b740a
AM
17792012-08-07 Allan McRae <allan@archlinux.org>
1780
1781 [BZ #14303]
1782 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
1783 (SUNOS_CPP): Likewise.
1784 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
1785 not found.
1786 (open_input): Call CPP using execvp.
1787
93df14ee
JM
17882012-08-07 Joseph Myers <joseph@codesourcery.com>
1789
1790 * sysdeps/unix/sysv/linux/kernel-features.h
1791 (__ASSUME_PROT_GROWSUPDOWN): Remove.
1792 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1793 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1794 (__ASSUME_WAITID_SYSCALL): Likewise.
1795 * sysdeps/unix/sysv/linux/dl-execstack.c
1796 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
1797 code unconditional.
1798 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
1799 conditional code.
1800 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
1801 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
1802 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
1803 code.
1804 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
1805 unconditional.
1806 [__ASSUME_WAITID_SYSCALL]: Likewise.
1807 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
1808
d34689de
RM
18092012-08-07 Roland McGrath <roland@hack.frob.com>
1810
a281decc
RM
1811 * sysdeps/unix/closedir.c: Renamed to ...
1812 * sysdeps/posix/closedir.c: ... here.
1813 * sysdeps/unix/dirfd.c: Renamed to ...
1814 * sysdeps/posix/dirfd.c: ... here.
1815 * sysdeps/unix/dirstream.h: Renamed to ...
1816 * sysdeps/posix/dirstream.h: ... here.
1817 * sysdeps/unix/fdopendir.c: Renamed to ...
1818 * sysdeps/posix/fdopendir.c: ... here.
1819 * sysdeps/unix/opendir.c: Renamed to ...
1820 * sysdeps/posix/opendir.c: ... here.
1821 * sysdeps/unix/readdir.c: Renamed to ...
1822 * sysdeps/posix/readdir.c: ... here.
1823 * sysdeps/unix/readdir_r.c: Renamed to ...
1824 * sysdeps/posix/readdir_r.c: ... here.
1825 * sysdeps/unix/rewinddir.c: Renamed to ...
1826 * sysdeps/posix/rewinddir.c: ... here.
1827 * sysdeps/unix/seekdir.c: Renamed to ...
1828 * sysdeps/posix/seekdir.c: ... here.
1829 * sysdeps/unix/telldir.c: Renamed to ...
1830 * sysdeps/posix/telldir.c: ... here.
1831 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
1832 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
1833 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
1834 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
1835
22895b47
RM
1836 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
1837 * bits/fcntl.h: ... here.
1838
707a53b6
RM
1839 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
1840 not 0.
1841 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
1842 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
1843 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
1844 (struct flock): Move l_start, l_len to the beginning.
1845 Use __pid_t for l_pid.
1846 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
1847 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
1848 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
1849 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
1850 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
1851 [__USE_LARGEFILE64] (struct flock64): New type.
1852 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
1853
f0bd3e25
RM
1854 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
1855 * bits/dirent.h: ... here.
1856
d34689de
RM
1857 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
1858 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
1859
6dad2c06
JM
18602012-08-07 Joseph Myers <joseph@codesourcery.com>
1861
1862 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1863 Change from 2.6.0 to 2.6.16.
1864 * sysdeps/unix/sysv/linux/configure: Regenerated.
1865 * sysdeps/unix/sysv/linux/kernel-features.h
1866 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
1867 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
1868 version.
1869 (__ASSUME_UTIMES): Likewise.
1870 (__ASSUME_CLONE_STOPPED): Remove.
1871 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
1872 architectures, not kernel version.
1873 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
1874 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1875 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1876 (__ASSUME_WAITID_SYSCALL): Likewise.
1877 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
1878 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
1879 * README: State 2.6.16 as minimum Linux kernel version. Do not
1880 refer to older versions.
1881
03af9520
RM
18822012-08-06 Roland McGrath <roland@hack.frob.com>
1883
8e49df1d
RM
1884 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
1885 Define alphasort64 as an alias.
1886 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
1887 Define versionsort64 as an alias.
1888 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
1889 Define scandir64 as an alias.
1890 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
1891 Define scandirat64 as an alias.
1892 * dirent/alphasort64.c (alphasort64):
1893 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
1894 * dirent/versionsort64.c: Likewise.
1895 * dirent/scandir64.c: Likewise.
1896 * dirent/scandirat64.c: Likewise.
1897 * sysdeps/wordsize-64/alphasort.c: File removed.
1898 * sysdeps/wordsize-64/alphasort64.c: File removed.
1899 * sysdeps/wordsize-64/scandir.c: File removed.
1900 * sysdeps/wordsize-64/scandir64.c: File removed.
1901 * sysdeps/wordsize-64/scandirat.c: File removed.
1902 * sysdeps/wordsize-64/scandirat64.c: File removed.
1903 * sysdeps/wordsize-64/versionsort.c: File removed.
1904 * sysdeps/wordsize-64/versionsort64.c: File removed.
1905 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
1906 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
1907 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
1908 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
1909 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
1910 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
1911 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
1912 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
1913
1914 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
1915 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1916 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
1917 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1918 [defined __arch64__ || defined __sparcv9]
1919 (__INO_T_MATCHES_INO64_T): New macro.
1920 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1921 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
1922 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
1923 * sysdeps/unix/sysv/linux/bits/dirent.h
1924 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
1925 (_DIRENT_MATCHES_DIRENT64): New macro.
1926
03af9520
RM
1927 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
1928 Define lockf64 as an alias.
1929 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
1930 Define fseeko64 as an alias.
1931 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
1932 Define ftello64 as an alias.
1933 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
1934 Define _IO_fgetpos64 and fgetpos64 as aliases.
1935 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
1936 Define _IO_fsetpos64 and fsetpos64 as aliases.
1937 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
1938 Conditionalize body on this.
1939 * libio/fseeko64.c: Likewise.
1940 * libio/ftello64.c: Likewise.
1941 * libio/iofgetpos64.c: Likewise.
1942 * libio/iofsetpos64.c: Likewise.
1943 * sysdeps/wordsize-64/lockf.c: File removed.
1944 * sysdeps/wordsize-64/lockf64.c: File removed.
1945 * sysdeps/wordsize-64/fseeko.c: File removed.
1946 * sysdeps/wordsize-64/fseeko64.c: File removed.
1947 * sysdeps/wordsize-64/ftello.c: File removed.
1948 * sysdeps/wordsize-64/ftello64.c: File removed.
1949 * sysdeps/wordsize-64/iofgetpos.c: File removed.
1950 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
1951 * sysdeps/wordsize-64/iofsetpos.c: File removed.
1952 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
1953 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
1954 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
1955 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
1956 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
1957 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
1958 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
1959 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
1960 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
1961 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
1962 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
1963
1964 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1965 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1966 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
1967 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1968 [defined __arch64__ || defined __sparcv9]
1969 (__OFF_T_MATCHES_OFF64_T): New macro.
1970 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1971 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1972 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1973 (__OFF_T_MATCHES_OFF64_T): New macro.
1974
c5757acd
L
19752012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1976
1977 * stdlib/secure-getenv.c (__secure_getenv): Replace
1978 GLIBC_2_16 with GLIBC_2_17.
1979
3a31811e
L
19802012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1981
1982 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
1983 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1984
faa2bccb
DM
19852012-08-03 David S. Miller <davem@davemloft.net>
1986
1987 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1988
85fe1997
JM
19892012-08-03 Joseph Myers <joseph@codesourcery.com>
1990
1991 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
1992 Remove.
1993 (__ASSUME_CORRECT_SI_PID): Likewise.
1994 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
1995 (__ASSUME_TMPFS_NAME): Likewise.
1996 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
1997 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
1998 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
1999 (HAVE_AUX_SECURE): Make definition unconditional.
2000 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
2001 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
2002
4f75b7a0
RM
20032012-08-03 Roland McGrath <roland@hack.frob.com>
2004
2005 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
2006 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
2007 * sysdeps/mach/hurd/eloop-threshold.h: New file.
2008 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2009 __eloop_threshold instead of SYMLOOP_MAX.
2010
2011 * sysdeps/generic/eloop-threshold.h: New file.
2012 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
2013 of MAXSYMLINKS.
2014 * elf/chroot_canon.c (chroot_canon): Likewise.
2015
7aab07e4
JM
20162012-08-03 Joseph Myers <joseph@codesourcery.com>
2017
2018 [BZ #13717]
2019 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2020 Change to 2.6.0 everywhere.
2021 * sysdeps/unix/sysv/linux/configure: Regenerated.
2022 * sysdeps/unix/sysv/linux/kernel-features.h
2023 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
2024 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
2025 kernel versions.
2026 (__ASSUME_POSIX_TIMERS): Define unconditionally.
2027 (__ASSUME_FUTEX_REQUEUE): Remove.
2028 (__ASSUME_STATFS64): Define unconditionally.
2029 (__ASSUME_AT_SECURE): Likewise.
2030 (__ASSUME_CORRECT_SI_PID): Likewise.
2031 (__ASSUME_TGKILL): Define without depending on kernel version for
2032 i386.
2033 (__ASSUME_UTIMES): Likewise.
2034 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
2035 kernel version.
2036 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
2037 (__ASSUME_TMPFS_NAME): Likewise.
2038 * README: Update reference to Linux kernel versions.
2039
b67e9372
MP
20402012-08-02 Marek Polacek <polacek@redhat.com>
2041
1f529f7d 2042 [BZ# 14150]
b67e9372
MP
2043 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
2044 libc_cv_asm_type_prefix with %.
2045 * configure: Regenerated.
d2441631
RM
2046 * include/libc-symbols.h: Remove comment about
2047 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
2048 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
2049 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
2050 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
2051 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
2052 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
2053 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
2054 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
2055 * elf/tst-unique2mod1.c: Likewise.
2056 * elf/tst-unique1mod2.c: Likewise.
2057 * elf/tst-unique1mod1.c: Likewise.
2058 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
2059 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
2060 Replace ASM_TYPE_DIRECTIVE with .type.
2061 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2062 * sysdeps/i386/sysdep.h: Likewise.
2063 * sysdeps/x86_64/sysdep.h: Likewise.
2064 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
2065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
2066 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 2067 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
2068 * sysdeps/powerpc/powerpc32/sysdep.h:
2069 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
2070 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2071 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2072 * sysdeps/i386/fpu/e_powf.S: Likewise.
2073 * sysdeps/i386/fpu/e_expl.S: Likewise.
2074 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2075 * sysdeps/i386/fpu/e_acosh.S: Likewise.
2076 * sysdeps/i386/fpu/e_pow.S: Likewise.
2077 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
2078 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2079 * sysdeps/i386/fpu/s_expm1.S: Likewise.
2080 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2081 * sysdeps/i386/fpu/e_log2.S: Likewise.
2082 * sysdeps/i386/fpu/e_log2l.S: Likewise.
2083 * sysdeps/i386/fpu/e_scalb.S: Likewise.
2084 * sysdeps/i386/fpu/e_powl.S: Likewise.
2085 * sysdeps/i386/fpu/e_log10f.S: Likewise.
2086 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
2087 * sysdeps/i386/fpu/e_logl.S: Likewise.
2088 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
2089 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2090 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
2091 * sysdeps/i386/fpu/e_log2f.S: Likewise.
2092 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2093 * sysdeps/i386/fpu/e_log.S: Likewise.
2094 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2095 * sysdeps/i386/fpu/e_logf.S: Likewise.
2096 * sysdeps/i386/fpu/e_log10l.S: Likewise.
2097 * sysdeps/i386/fpu/e_atanh.S: Likewise.
2098 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
2099 * sysdeps/i386/fpu/e_log10.S: Likewise.
2100 * sysdeps/i386/fpu/s_frexp.S: Likewise.
2101 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2102 * sysdeps/i386/fpu/s_asinh.S: Likewise.
2103 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
2104 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2105 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
2106 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
2107 * sysdeps/i386/i686/strtok.S: Likewise.
2108 * sysdeps/i386/i386-mcount.S: Likewise.
2109 * sysdeps/i386/strtok.S: Likewise.
2110 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
2111 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
2112 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2113 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
2114 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2115 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
2116 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
2117 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
2118 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
2119 * sysdeps/x86_64/_mcount.S: Likewise.
2120 * sysdeps/x86_64/strtok.S: Likewise.
2121 * sysdeps/sh/_mcount.S: Likewise.
2122
2747bf9a
RM
21232012-08-01 Roland McGrath <roland@hack.frob.com>
2124
2125 * libio/iofopen.c: Include <fcntl.h>.
2126 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
2127 (_IO_fopen64, fopen64): Define as aliases.
2128 * libio/iofopen64.c: Include <fcntl.h>.
2129 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
2130 Conditionalize body on this.
2131 * sysdeps/wordsize-64/iofopen.c: File removed.
2132 * sysdeps/wordsize-64/iofopen64.c: File removed.
2133
3fb791b8
MP
21342012-08-01 Marek Polacek <polacek@redhat.com>
2135
2136 * libc/Makeconfig: Use elf in place of binfmt-subdir.
2137 Use dlfcn directly instead of a variable.
2138 (binfmt-subdir): Do not define.
2139 (dlfcn): Likewise.
2140
a9f1039f
JM
21412012-08-01 Joseph Myers <joseph@codesourcery.com>
2142
23bddc06
JM
2143 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2144 Remove all definitions.
2145 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
2146 <kernel-features.h>.
2147 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2148 (miss_F_GETOWN_EX): Remove all definitions.
2149 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
2150 macro definition.
2151 [!__ASSUME_FCNTL64]: Remove conditional code.
2152 [__ASSUME_FCNTL64]: Make code unconditional.
2153 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
2154 <kernel-features.h>.
2155 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2156 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
2157 (lockf64) [__NR_fcntl64]: Make code unconditional.
2158 (lockf64) [__ASSUME_FCNTL64]: Likewise.
2159
a9f1039f
JM
2160 * sysdeps/unix/sysv/linux/kernel-features.h
2161 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
2162 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
2163 Make code unconditional.
2164 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2165 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
2167 [__NR_vfork]: Make code unconditional.
2168 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2169 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
2171 [__NR_vfork]: Make code unconditional.
2172 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2173 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2174
09c0ee5f
RM
21752012-08-01 Roland McGrath <roland@hack.frob.com>
2176
48aec5b9
RM
2177 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
2178 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
2179
cd97c966
RM
2180 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2181 Define mkstemp64 as an alias.
3f55550c
RM
2182 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2183 Define mkstemps64 as an alias.
cd97c966
RM
2184 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2185 Define mkostemp64 as an alias.
b8625cfc
RM
2186 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2187 Define mkostemps64 as an alias.
cd97c966
RM
2188 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
2189 Conditionalize body on this.
2190 * misc/mkostemp64.c: Likewise.
b8625cfc 2191 * misc/mkostemps64.c: Likewise.
3f55550c 2192 * misc/mkstemps64.c: Likewise.
cd97c966
RM
2193 * sysdeps/wordsize-64/mkstemp64.c: File removed.
2194 * sysdeps/wordsize-64/mkostemp64.c: File removed.
2195 * sysdeps/wordsize-64/mkostemp.c: File removed.
2196 * sysdeps/wordsize-64/mkstemp.c: File removed.
2197 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
2198 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
2199 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
2200 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
2201
09c0ee5f
RM
2202 [BZ #14138]
2203 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
2204 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
2205 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
2206 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
2207
2208 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
2209 compat_symbol macros from <shlib-compat.h> rather than the underlying
2210 default_symbol_version and symbol_version macros, so that DEFAULT
2211 lines in shlib-versions are respected.
2212 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
2213
7e66ee51
FW
22142012-08-01 Florian Weimer <fweimer@redhat.com>
2215
2216 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
2217 Declare with warn_unused_result.
2218 (setgid, setregid, setegid, setresgid): Likewise.
2219 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
2220 Likewise.
2221 * WUR-REPORT: Remove set*id functions.
2222
d2a54255
PT
22232012-07-31 Pino Toscano <toscano.pino@tiscali.it>
2224
2225 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
2226
7ecdb005
RM
22272012-07-31 Roland McGrath <roland@hack.frob.com>
2228
789bd351
RM
2229 * include/sys/socket.h (__libc_accept, __libc_accept4):
2230 Add attribute_hidden.
2231 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
2232
40ce302d
RM
2233 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
2234 use of PTR_MANGLE.
2235 * inet/getnetgrent_r.c (setup): Likewise.
2236
7ecdb005
RM
2237 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
2238
e2eabb2c
DM
22392012-07-31 David S. Miller <davem@davemloft.net>
2240
2241 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2242
d0419dbf
JM
22432012-07-31 Joseph Myers <joseph@codesourcery.com>
2244
2245 [BZ #13629]
2246 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
2247 value between 1.0 and 2.0 and smaller part has absolute value less
2248 than 1.0.
2249 * math/s_clog10.c (__clog10): Likewise.
2250 * math/s_clog10f.c (__clog10f): Likewise.
2251 * math/s_clog10l.c (__clog10l): Likewise.
2252 * math/s_clogf.c (__clogf): Likewise.
2253 * math/s_clogl.c (__clogl): Likewise.
2254 * math/libm-test.inc (clog_test): Add more tests.
2255 (clog10_test): Likewise.
2256 * sysdeps/i386/fpu/libm-test-ulps: Update.
2257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2258
2bc13872
FW
22592012-07-31 Florian Weimer <fweimer@redhat.com>
2260
2261 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
2262 Exit with zero in case no suitable GID is found, and write a
2263 message to standard error.
2264
bea9b193
RM
22652012-07-30 Roland McGrath <roland@hack.frob.com>
2266
2267 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
2268 rather than to 1.
2269 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
2270 (MAXPATHLEN): Removed.
2271 (NOGROUP, NODEV): New macros.
2272 (setbit, clrbit, isset, isclr): New macros.
2273 (howmany, roundup, powerof2): New macros.
2274 (DEV_BSIZE): New macro.
2275
2276 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
2277 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
2278
2279 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
2280 definition on [!__NO_LONG_DOUBLE_MATH].
2281
2282 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
2283 PTR_MANGLE and PTR_DEMANGLE.
2284
2285 * socket/accept4.c (accept4): Rename to __libc_accept4.
2286 Define accept4 as a weak alias.
2287
2288 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
2289 on [_DIRENT_HAVE_D_TYPE].
2290 * io/ftw.c (ftw_dir): Likewise.
2291
2292 * io/xmknod.c (__xmknod): Don't check PATH for being null.
2293
2294 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
2295
2296 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
2297 Use the BSD numbers rather than the arbitrary ones we had.
2298 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
2299 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
2300 (SIGXCPU, SIGXFSZ): New macros.
2301 (_NSIG): Now 32.
2302
2303 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
2304 initializer on [_LIBC_REENTRANT].
2305
2306 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
2307 definitions inside [_POSIX_MAPPED_FILES].
2308
2309 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
2310
2311 * dirent/opendir.c: Include <fcntl.h>.
2312
2313 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
2314 (__libc_getspecific): Likewise.
2315 (__libc_key_create): Likewise.
2316
2317 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
2318 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
2319 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
2320 (tmpfile64): Define as alias.
2321 * sysdeps/wordsize-64/tmpfile.c: File removed.
2322 * sysdeps/wordsize-64/tmpfile64.c: File removed.
2323 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
2324 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
2325
2326 * stdio-common/vfscanf.c: Include <stdbool.h>.
2327 * nss/makedb.c: Likewise.
2328 * stdio-common/_i18n_number.h: Likewise.
2329 * argp/argp-help.c: Likewise.
2330 * posix/wordexp.c: Likewise.
2331 * sysdeps/posix/spawni.c: Likewise.
2332 * nss/nss_files/files-initgroups.c: Likewise.
2333 * stdio-common/reg-modifier.c: Include <stdlib.h>.
2334 * nss/nss_files/files-initgroups.c: Likewise.
2335 * nss/nss_db/db-netgrp.c: Likewise.
2336 * nss/nss_db/db-initgroups.c: Likewise.
2337 * io/fchmodat.c: Include <sys/stat.h>.
2338
2339 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
2340 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
2341
2342 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
2343 [HAVE_MMAP].
2344
2345 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
2346 Add multiple inclusion protection.
2347
e5abc686
DM
23482012-07-27 David S. Miller <davem@davemloft.net>
2349
2350 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2351
815e6fa3
GB
23522012-07-27 Gary Benson <gbenson@redhat.com>
2353
2354 [BZ #14298]
2355 * elf/rtld.c: Include <stap-probe.h>.
2356 (dl_main): Added static probes "init_start" and "init_complete".
2357 * elf/dl-load.c: Include <stap-probe.h>.
2358 (lose): Take new parameter "nsid".
2359 Added static probe "map_failed".
2360 (_dl_map_object_from_fd): Pass namespace id to lose.
2361 Added static probe "map_start".
2362 (open_verify): Pass namespace id to lose.
2363 * elf/dl-open.c: Include <stap-probe.h>.
2364 (dl_open_worker) Added static probes "map_complete", "reloc_start"
2365 and "reloc_complete".
2366 * elf/dl-close.c: Include <stap-probe.h>.
2367 (_dl_close_worker): Added static probes "unmap_start" and
2368 "unmap_complete".
2369 * elf/rtld-debugger-interface.txt: New file documenting the above.
2370
9f98c16c
RM
23712012-07-26 Roland McGrath <roland@hack.frob.com>
2372
2373 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
2374 rather than a string variable.
2375 * sunrpc/rpc_main.c (h_output): Likewise.
2376 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
2377
f3c22df3
PT
23782012-07-26 Pino Toscano <toscano.pino@tiscali.it>
2379
2380 * inet/check_native.c: New file.
2381
3129cfc6
JM
23822012-07-26 Joseph Myers <joseph@codesourcery.com>
2383
da865e95
JM
2384 [BZ #13629]
2385 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
2386 if larger part has absolute value 1.0.
2387 * math/s_clog10.c (__clog10): Likewise.
2388 * math/s_clog10f.c (__clog10f): Likewise.
2389 * math/s_clog10l.c (__clog10l): Likewise.
2390 * math/s_clogf.c (__clogf): Likewise.
2391 * math/s_clogl.c (__clogl): Likewise.
2392 * math/libm-test.inc (clog_test): Add more tests.
2393 (clog10_test): Likewise.
2394 * sysdeps/i386/fpu/libm-test-ulps: Update.
2395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2396
3129cfc6
JM
2397 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
2398 (pltexit): Likewise.
2399 (La_regs): Likewise.
2400 (La_retval): Likewise.
2401 (int_retval): Likewise.
2402 Update #error for removed macros to refer only to definitions in
2403 tst-audit.h.
2404 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
2405 macro.
2406 (pltexit): Likewise.
2407 (La_regs): Likewise.
2408 (La_retval): Likewise.
2409 (int_retval): Likewise.
2410 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
2411 macro.
2412 (pltexit): Likewise.
2413 (La_regs): Likewise.
2414 (La_retval): Likewise.
2415 (int_retval): Likewise.
2416 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
2417 macro.
2418 (pltexit): Likewise.
2419 (La_regs): Likewise.
2420 (La_retval): Likewise.
2421 (int_retval): Likewise.
2422 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
2423 macro.
2424 (pltexit): Likewise.
2425 (La_regs): Likewise.
2426 (La_retval): Likewise.
2427 (int_retval): Likewise.
2428 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
2429 macro.
2430 (pltexit): Likewise.
2431 (La_regs): Likewise.
2432 (La_retval): Likewise.
2433 (int_retval): Likewise.
2434 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
2435 macro.
2436 (pltexit): Likewise.
2437 (La_regs): Likewise.
2438 (La_retval): Likewise.
2439 (int_retval): Likewise.
2440 * sysdeps/generic/tst-audit.h: Update comment to refer only to
2441 macro definitions in tst-audit.h.
2442 * sysdeps/i386/tst-audit.h: New file.
2443 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
2444 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
2445 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
2446 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
2447 * sysdeps/sh/tst-audit.h: Likewise.
2448 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
2449 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
2450 * sysdeps/x86_64/tst-audit.h: Likewise.
2451
bfc07087
AJ
24522012-07-26 Andreas Jaeger <aj@suse.de>
2453
b1b2aaf8
AJ
2454 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
2455 ptrace.
2456
2457 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
2458 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
2459 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
2460 PTRACE_O_MASK.
2461 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
2462 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
2463 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
2464
bfc07087
AJ
2465 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
2466 value.
2467
2468 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
2469 _sigsys.
2470 (si_call_addr, si_syscall, si_arch): Define new macro.
2471 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
2472 _sigsys.
2473 (si_call_addr, si_syscall, si_arch): Define new marcro.
2474 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
2475 _sigsys.
2476 (si_call_addr, si_syscall, si_arch): Define new macro.
2477 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
2478 _sigsys.
2479 (si_call_addr, si_syscall, si_arch): Define new macro.
2480
89b4b02f
JM
24812012-07-25 Joseph Myers <joseph@codesourcery.com>
2482
2483 [BZ #13717]
2484 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2485 Change to 2.4.21 where previously 2.4.1.
2486 * sysdeps/unix/sysv/linux/configure: Regenerated.
2487 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
2488 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
2489 Linux kernel version.
2490 (__ASSUME_STD_AUXV): Remove.
2491 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
2492 kernel version.
2493 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
2494 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
2495 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
2496 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
2497 (__ASSUME_NETLINK_SUPPORT): Likewise.
2498 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
2499 (__no_netlink_support): Remove conditional definition.
2500 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
2501 Remove.
2502 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2503 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
2504 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
2505 (if_nameindex_ioctl): Remove.
2506 (if_nameindex_netlink): Do not handle __no_netlink_support.
2507 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2508 code.
2509 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
2510 Remove conditional code.
2511 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2512 code.
2513 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
2514 unconditional.
2515 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2516 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
2517 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
2518 Remove.
2519 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
2520 [!__ASSUME_STD_AUXV]: Remove conditional code.
2521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
2522 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
2523 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
2524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
2525 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
2526 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2527 code.
2528 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2530 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
2531 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2532 conditional code.
2533 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2535 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2536 code.
2537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2538 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2539 conditional code.
2540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
2541 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2542 code unconditional.
2543 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2544 conditional code.
2545 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2546 unconditional.
2547 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2548 conditional code.
2549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2550 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2551 unconditional.
2552 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2553 conditional code.
2554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2555 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2556 code unconditional.
2557 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2558 conditional code.
2559 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2560 unconditional.
2561 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2562 conditional code.
2563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2564 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2565 code unconditional.
2566 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2567 conditional code.
2568 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2569 unconditional.
2570 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2571 conditional code.
2572
842a39cd
AS
25732012-07-25 Andreas Schwab <schwab@linux-m68k.org>
2574
2575 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
2576 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
2577 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2578 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
2579 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
2580 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2581 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2582 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
2583 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
2584 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2585 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
2586 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
2587 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
2588 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2589 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
2590 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
2591 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
2592 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
2593 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
2594 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
2595 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
2596 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
2597 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2598
84b3fd84
FW
25992012-07-25 Florian Weimer <fweimer@redhat.com>
2600
2601 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
2602 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
2603 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
2604 Introduce __libc_secure_getenv.
0c7936d5
FW
2605 * stdlib/Versions (2.17): Add secure_getenv
2606 (GLIBC_PRIVATE): Add __libc_secure_getenv.
2607 * stdlib/secure-getenv.c: Rename __secure_getenv to
2608 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
2609 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
2610 * stdlib/tst-secure-getenv.c: New.
2611 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
2612 * manual/startup.texi (Environment Access): Document
2613 secure_getenv.
84b3fd84
FW
2614 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
2615 __libc_secure_getenv.
2616 * inet/ruserpass.c (ruserpass): Likewise.
2617 * malloc/mtrace.c (mtrace): Likewise.
2618 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 2619 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
2620 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
2621 * sysdeps/posix/tempname.c: Likewise. Evaluate
2622 HAVE_SECURE_GETENV.
2623 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 2624 __secure_getenv to __libc_secure_getenv.
84b3fd84 2625 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
2626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2627 Likewise.
2628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2629 Likewise.
2630 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2631 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2632 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2633 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2634 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2635 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2636 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 2637
56e49b71
JM
26382012-07-25 Joseph Myers <joseph@codesourcery.com>
2639
2640 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
2641 (struct La_i86_retval): Likewise.
2642 (struct La_x86_64_regs): Likewise.
2643 (struct La_x86_64_retval): Likewise.
2644 (struct La_x32_regs): Likewise.
2645 (struct La_x32_retval): Likewise.
2646 (struct La_ppc32_regs): Likewise.
2647 (struct La_ppc32_retval): Likewise.
2648 (struct La_ppc64_regs): Likewise.
2649 (struct La_ppc64_retval): Likewise.
2650 (struct La_sh_regs): Likewise.
2651 (struct La_sh_retval): Likewise.
2652 (struct La_s390_32_regs): Likewise.
2653 (struct La_s390_32_retval): Likewise.
2654 (struct La_s390_64_regs): Likewise.
2655 (struct La_s390_64_retval): Likewise.
2656 (struct La_sparc32_regs): Likewise.
2657 (struct La_sparc32_retval): Likewise.
2658 (struct La_sparc64_regs): Likewise.
2659 (struct La_sparc64_retval): Likewise.
2660 (struct audit_ifaces): Remove architecture-specific pltenter and
2661 pltexit members.
2662 * sysdeps/i386/ldsodefs.h: New file.
2663 * sysdeps/powerpc/ldsodefs.h: Likewise.
2664 * sysdeps/s390/ldsodefs.h: Likewise.
2665 * sysdeps/sh/ldsodefs.h: Likewise.
2666 * sysdeps/sparc/ldsodefs.h: Likewise.
2667 * sysdeps/x86_64/ldsodefs.h: Likewise.
2668
354691b7
MP
26692012-07-25 Marek Polacek <polacek@redhat.com>
2670
2671 [BZ #6808]
2672 * math/libm-test.inc (yn_test): Add another test.
2673 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
2674 to ERANGE when the result is +-Inf.
2675 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2676 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
2677 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
2678 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
2679
bf9e2071
JM
26802012-07-24 Joseph Myers <joseph@codesourcery.com>
2681
2682 * conform/data/time.h-data (NULL): Use macro-constant. Require
2683 equal to 0.
2684 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
2685 clock_t.
2686 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
2687
57633811
TS
26882012-07-23 Thomas Schwinge <thomas@codesourcery.com>
2689
2690 * configure.in <sysdeps resolving>: Correct printing
2691 Implies_before.
2692 * configure: Regenerate.
2693
c23c33b0
TS
26942012-07-22 Thomas Schwinge <thomas@codesourcery.com>
2695
2696 * math/w_ilogb.c: Include <limits.h>.
2697 * math/w_ilogbl.c: Likewise.
2698
b5982523
JM
26992012-07-20 Joseph Myers <joseph@codesourcery.com>
2700
2701 * manual/lang.texi (__va_copy): Document primarily as ISO C99
2702 va_copy. Document allowing for unavailable va_copy only as
2703 pre-C99 compatibility.
2704 * manual/string.texi (Copying and Concatenation): Use va_copy
2705 instead of __va_copy in concat example.
2706
ac4ea442
PT
27072012-07-20 Pino Toscano <toscano.pino@tiscali.it>
2708
2709 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
2710 (__sendto): Use create_address_port. Initialize APORT and deallocate
2711 it if not null.
2712
f98eafbd
PT
2713 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
2714 with O_NOLINK passed to __file_name_lookup.
2715
898c7aab
PT
2716 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
2717 with O_NOLINK passed to __file_name_lookup.
2718
0ced335a
PT
2719 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
2720 negative N or less than NGIDS.
2721
b3404dbd
PT
2722 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
2723 type to string_t. Set ERANGE as errno and return it if NAME is not big
2724 enough. Use memcpy instead of strncpy.
2725
0f48659e
JM
27262012-07-20 Joseph Myers <joseph@codesourcery.com>
2727
2728 * elf/Makefile (check-data): Remove.
2729 (localplt.data): New vpath directive.
2730 ($(objpfx)check-localplt.out): Use localplt.data from vpath
2731 instead of $(check-data).
2732 * scripts/data/localplt-generic.data: Move to ...
2733 * sysdeps/generic/localplt.data: ... here.
2734 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
2735 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
2736 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
2737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2738 ... here.
2739 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
2740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2741 ... here.
2742 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
2743 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
2744 ... here.
2745 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
2746 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2747 ... here.
2748 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
2749 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
2750 ... here.
2751 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
2752 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
2753 ... here.
2754
d37cbdaa
AZ
27552012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2756
2757 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
2758 PPC32 and PPC64 files.
2759 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
2760 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
2761
46f85fc2
AK
27622012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2763
2764 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
2765 __makecontext_ret to ...
2766 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2767 ... here and call exit if uc_link is NULL. New file.
2768 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
2769 __makecontext_ret.S.
2770 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
2771 __makecontext_ret to ...
2772 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2773 ... here and call exit if uc_link is NULL. New file.
2774 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
2775 __makecontext_ret.S.
2776
08f43f9b
AK
27772012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2778
2779 * elf/elf.h (R_390_IRELATIVE): New definition.
2780 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
2781 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
2782 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
2783 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2784 (elf_machine_lazy_rel): Likewise.
2785 * sysdeps/s390/dl-irel.h: New file.
2786 * sysdeps/s390/s390-64/memcpy.S: New asm code.
2787 * sysdeps/s390/s390-64/memset.S: New asm code.
2788 * sysdeps/s390/s390-64/memcmp.S: New asm code.
2789 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
2790 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
2791 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
2792 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
2793 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
2794 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
2795 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
2796 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
2797 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
2798 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
2799 * sysdeps/s390/s390-32/memcpy.S: New asm code.
2800 * sysdeps/s390/s390-32/memset.S: New asm code.
2801 * sysdeps/s390/s390-32/memcmp.S: New asm code.
2802
3b05db33
MP
28032012-07-17 Marek Polacek <polacek@redhat.com>
2804
2805 [BZ #14349]
2806 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
2807 * sysdeps/s390/s390-64/configure.in: Likewise.
2808 * sysdeps/sparc/configure.in: Likewise.
2809 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
2810 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
2811 * sysdeps/i386/configure.in: Likewise.
2812 * sysdeps/x86_64/configure.in: Likewise.
2813 * sysdeps/sh/configure.in: Likewise.
2814 * sysdeps/s390/s390-32/configure: Regenerated.
2815 * sysdeps/s390/s390-64/configure: Likewise.
2816 * sysdeps/x86_64/configure: Likewise.
2817 * sysdeps/sh/configure: Likewise.
2818 * sysdeps/powerpc/powerpc64/configure: Likewise.
2819 * sysdeps/powerpc/powerpc32/configure: Likewise.
2820 * sysdeps/sparc/configure: Likwise.
2821 * sysdeps/i386/configure: Likewise.
2822
a66877c6
MP
2823 * elf/dl-open.c: Comment fixes.
2824
cfc82fd8
JM
28252012-07-17 Joseph Myers <joseph@codesourcery.com>
2826
bd29910a
JM
2827 * Makefile [CXX] (check-data): Remove.
2828 [CXX] (c++-types.data): New vpath directive.
2829 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
2830 vpath. Do not allow for C++ type data being missing.
2831 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
2832 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
2833 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
2834 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
2835 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
2836 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
2837 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
2838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2839 ... here.
2840 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
2841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2842 ... here.
2843 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
2844 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
2845 ... here.
2846 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
2847 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
2848 ... here.
2849 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
2850 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
2851 ... here.
2852 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
2853 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
2854 ... here.
2855 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
2856 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
2857 ... here.
2858 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
2859 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
2860
cfc82fd8
JM
2861 * elf/tls-macros.h (TLS_LE): Move architecture-specific
2862 definitions to architecture-specific files.
2863 (TLS_IE): Likewise.
2864 (TLS_LD): Likewise.
2865 (TLS_GD): Likewise.
2866 * sysdeps/i386/tls-macros.h: New file.
2867 * sysdeps/powerpc/tls-macros.h: Likewise.
2868 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2869 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2870 * sysdeps/sh/tls-macros.h: Likewise.
2871 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
2872 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
2873 * sysdeps/x86_64/tls-macros.h: Likewise.
2874
f7db3170
TS
28752012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2876
07cbfc23
TS
2877 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
2878 zero value for regular exit case.
2879
f7db3170
TS
2880 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2881 (__start_context): Preserve zero value for regular exit case.
2882
dc97c227
TS
28832012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2884 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2885
2886 * manual/setjmp.texi (setcontext): Clarify normal process
2887 termination when uc_link is the null pointer.
2888 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
2889 exit call.
2890
d0cd7d02
AS
28912012-07-16 Andreas Schwab <schwab@linux-m68k.org>
2892
2893 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
2894 preprocessor. Test for each exception mask separately.
2895
dd318934
AJ
28962012-07-16 Andreas Jaeger <aj@suse.de>
2897
2898 * po/ru.po: Update from translation team.
2899
8048311a
JM
29002012-07-15 Joseph Myers <joseph@codesourcery.com>
2901
2902 * conform/data/string.h-data (NULL): Use macro-constant. Require
2903 equal to 0.
2904 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2905 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2906 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
2907 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
2908 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2909
b637d46e
AJ
29102012-07-13 Andreas Jaeger <aj@suse.de>
2911
2912 * po/fr.po: Update from translation team.
2913
541428fe
MP
29142012-07-12 Marek Polacek <polacek@redhat.com>
2915
2916 [BZ #14173]
2917 * math/libm-test.inc (yn_test): Add test for BZ #14173.
2918 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
2919 loop condition.
2920
ec332e94
JM
29212012-07-12 Joseph Myers <joseph@codesourcery.com>
2922
2923 [BZ #13717]
2924 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2925 Change to 2.4.1 where previously 2.4.0.
2926 * sysdeps/unix/sysv/linux/configure: Regenerated.
2927 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
2928 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
2929 version.
2930 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
2931 (__ASSUME_AT_CLKTCK): Remove.
2932 (__ASSUME_AT_PAGESIZE): Likewise.
2933 (__ASSUME_AT_XID): Likewise.
2934 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
2935 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
2936 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
2937 unconditionally.
2938 (HAVE_AUX_PAGESIZE): Likewise.
2939 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
2940 [__ASSUME_AT_CLKTCK]: Make code unconditional.
2941 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
2942
7b6e99be
JB
29432012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
2944
2945 [BZ #14307]
2946 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
2947 the temporary buffer used to invoke __gethostbyname2_r,
2948 __gethostbyaddr_r and gethostbyname4_r to make room for struct
2949 host_data / struct gaih_addrtuple.
2950 * resolv/nss_dns/dns-host.c (global scope): Move definition of
2951 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
2952 header file nss/nsswitch.h.
2953 * nss/nsswitch.h (global scope): Add definition of implementation
2954 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
2955 resolv/nss_dns/dns-host.c).
2956
608404eb
AJ
29572012-07-11 Andreas Jaeger <aj@suse.de>
2958
2959 * po/fr.po: Update from translation team.
2960
71220aca
AJ
2961 * po/sv.po: Update from translation team
2962 * po/fr.po: Another update from translation team.
2963
28cfe843
AZ
29642012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2965
2966 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
2967 for subnormals or multiply small sinh result by itself.
2968 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2969 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2970
6b90f981
DM
29712012-07-11 David S. Miller <davem@davemloft.net>
2972
2973 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2974
c6825772
AS
29752012-07-10 Andreas Schwab <schwab@linux-m68k.org>
2976
2977 [BZ #14347]
2978 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
2979 (INTERNAL_MARK): Shift it here.
2980
7b8e0d49
MP
29812012-07-10 Marek Polacek <polacek@redhat.com>
2982
2983 [BZ #14151]
2984 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
2985 libc_cv_asm_global_directive with .globl.
2986 * configure: Regenerated.
2987 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
2988 with .globl.
2989 * sysdeps/i386/configure: Regenerated.
2990 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
2991 with .globl.
2992 * sysdeps/x86_64/configure: Regenerated.
2993 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
2994 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
2995 * elf/tst-unique2mod2.c: Likewise.
2996 * elf/tst-unique2mod1.c: Likewise.
2997 * elf/tst-unique1mod2.c: Likewise.
2998 * elf/tst-unique1mod1.c: Likewise.
2999 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3000 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3001 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3002 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3003 * sysdeps/mach/sysdep.h: Likewise.
3004 * sysdeps/i386/sysdep.h: Likewise.
3005 * sysdeps/i386/i386-mcount.S: Likewise.
3006 * sysdeps/x86_64/_mcount.S: Likewise.
3007 * sysdeps/x86_64/sysdep.h: Likewise.
3008 * sysdeps/sh/_mcount.S: Likewise.
3009 * sysdeps/sh/sysdep.h: Likewise.
3010 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
3011 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
3012 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
3013 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3014 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
3015 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
3016 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
3017 * locale/localeinfo.h: Likewise.
3018 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
3019 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
3020
6c55cda3
RM
30212012-07-09 Roland McGrath <roland@hack.frob.com>
3022
3023 [BZ #14336]
3024 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
3025 system".
3026 * manual/message.texi (The Uniforum approach): Likewise.
3027 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
3028 (glibc iconv Implementation): Likewise.
3029
638a572e
JM
30302012-07-09 Joseph Myers <joseph@codesourcery.com>
3031
3032 [BZ #14337]
3033 * math/s_clog.c (__clog): Avoid scaling a value down where that
3034 could result in underflow.
3035 * math/s_clog10.c (__clog10): Likewise.
3036 * math/s_clog10f.c (__clog10f): Likewise.
3037 * math/s_clog10l.c (__clog10l): Likewise.
3038 * math/s_clogf.c (__clogf): Likewise.
3039 * math/s_clogl.c (__clogl): Likewise.
3040 * math/libm-test.inc (clog_test): Add more tests.
3041 (clog10_test): Likewise.
3042 * sysdeps/i386/fpu/libm-test-ulps: Update.
3043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3044
261f4859
AS
30452012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3046
0abaf3e4
AS
3047 [BZ #14283]
3048 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
3049 by 7 not 8 to examine high bit of fractional part.
3050
261f4859
AS
3051 [BZ #14042]
3052 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
3053 for call to __mcount_internal.
3054 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
3055 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
3056 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
3057
f17ac40d
JM
30582012-07-06 Joseph Myers <joseph@codesourcery.com>
3059
9ad63c23
JM
3060 [BZ #14154]
3061 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
3062 approximation for values within 0x1p-13f of an odd multiple of
3063 pi/4.
3064 * math/libm-test.inc (tan_test): Do not allow spurious underflow
3065 exception. Add more tests.
3066 * sysdeps/i386/fpu/libm-test-ulps: Update.
3067
f17ac40d
JM
3068 [BZ #6778]
3069 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
3070 inputs and return -1 for them. Do not check for +Inf in case not
3071 reachable for +Inf.
3072 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
3073 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
3074 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3075 and return -1 for them. Do not check for +Inf in case not
3076 reachable for +Inf.
3077 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
3078 define.
3079 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3080 and return -1 for them. Do not check for +Inf in case not
3081 reachable for +Inf.
3082 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
3083 spurious underflow.
3084 * sysdeps/i386/fpu/libm-test-ulps: Update.
3085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3086
fb21f89b
MF
30872012-07-06 Mike Frysinger <vapier@gentoo.org>
3088
3089 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
3090
cdfe2c5e
JM
30912012-07-05 Joseph Myers <joseph@codesourcery.com>
3092
3093 [BZ #14157]
3094 [BZ #14331]
3095 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
3096 could result in spurious underflow. Scale down values above
3097 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
3098 * math/s_csqrtf.c (__csqrtf): Likewise.
3099 * math/s_csqrtl.c (__csqrtl): Likewise.
3100 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
3101 spurious underflow.
3102 * sysdeps/i386/fpu/libm-test-ulps: Update.
3103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3104
70d35b67
AS
31052012-07-04 Andreas Schwab <schwab@linux-m68k.org>
3106
704bc459
AS
3107 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
3108 xopen-msg.sed.
3109 * catgets/xopen-msg.awk: New file.
3110 * catgets/xopen-msg.sed: Removed.
3111
70d35b67
AS
3112 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
3113 po2text.sed.
3114 * intl/po2test.awk: New file.
3115 * intl/po2test.sed: Removed.
3116
ca61cf32
JM
31172012-07-04 Joseph Myers <joseph@codesourcery.com>
3118
3119 [BZ #14328]
3120 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
3121 or multiply small sinh result by itself.
3122 * math/s_ctanf.c (__ctanf): Likewise.
3123 * math/s_ctanh.c (__ctanh): Likewise.
3124 * math/s_ctanhf.c (__ctanhf): Likewise.
3125 * math/s_ctanhl.c (__ctanhl): Likewise.
3126 * math/s_ctanl.c (__ctanl): Likewise.
3127 * math/libm-test.inc (ctan_test_tonearest): New function.
3128 (ctan_test_towardzero): Likewise.
3129 (ctan_test_downward): Likewise.
3130 (ctan_test_upward): Likewise.
3131 (ctanh_test_tonearest): Likewise.
3132 (ctanh_test_towardzero): Likewise.
3133 (ctanh_test_downward): Likewise.
3134 (ctanh_test_upward): Likewise.
3135 (main): Call these new functions.
3136 * sysdeps/i386/fpu/libm-test-ulps: Update.
3137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3138
ca48a46a
MF
31392012-07-03 Mike Frysinger <vapier@gentoo.org>
3140
3141 * .gitignore: Delete /ports entry.
3142
9d63d37d
AJ
31432012-07-03 Andreas Jaeger <aj@suse.de>
3144
3145 * po/bg.po: Update from translation team.
3146 * po/cs.po: Likewise.
3147 * po/de.po: Likewise.
3148 * po/hr.po: Likewise.
3149 * po/nl.pl: Likewise.
3150 * po/pl.po: Likewise.
3151 * po/vi.po: Likewise.
3152
370ca3d2
JM
31532012-07-03 Joseph Myers <joseph@codesourcery.com>
3154
95f5a9a8
JM
3155 * Makeconfig [!+link] (+link-before-libc): New variable.
3156 [!+link] (+link-after-libc): Likewise.
3157 [!+link] (+link-tests): Likewise.
3158 [!+link] (+link): Define in terms of $(+link-before-libc) and
3159 $(+link-after-libc).
3160 [!+link-static] (+link-static-before-libc): New variable.
3161 [!+link-static] (+link-static-after-libc): Likewise.
3162 [!+link-static] (+link-static-tests): Likewise.
3163 [!+link-static] (+link-static): Define in terms of
3164 $(+link-static-before-libc) and $(+link-static-after-libc).
3165 [build-shared] (link-libc-before-gnulib): New variable.
3166 [build-shared] (link-libc-tests): Likewise.
3167 [build-shared] (link-libc): Define in terms of
3168 $(link-libc-before-gnulib).
3169 [!build-shared] (link-libc-tests): New variable.
3170 (link-libc-static-tests): New variable.
3171 [!gnulib] (gnulib-arch): New variable.
3172 [!gnulib] (gnulib-tests): Likewise.
3173 [!gnulib] (static-gnulib-arch): Likewise.
3174 [!gnulib] (static-gnulib-tests): Likewise.
3175 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
3176 Define with "=" instead of ":=".
3177 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
3178 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
3179 * Rules (binaries-all-notests): New variable.
3180 (binaries-all-tests): Likewise.
3181 (binaries-static-notests): Likewise.
3182 (binaries-static-tests): Likewise.
3183 (binaries-all): Define using $(binaries-all-notests) and
3184 $(binaries-all-tests).
3185 (binaries-static): Define using $(binaries-static-notests) and
3186 $(binaries-static-tests).
3187 (binaries-shared-tests): New variable.
3188 (binaries-shared-notests): Likewise.
3189 (binaries-shared): Remove variable.
3190 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
3191 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
3192 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
3193 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
3194 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
3195 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
3196 * elf/Makefile (sln-modules): New variable.
3197 (extra-objs): Add $(sln-modules:=.o).
3198 (ldconfig-modules): Add static-stubs.
3199 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
3200 * elf/static-stubs.c: New file.
3201
7a845b2c
JM
3202 [BZ #14283]
3203 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
3204 by 7 not 8 to examine high bit of fractional part. Use volatile
3205 variables when splitting into final array of floats if
3206 __FLT_EVAL_METHOD__ != 0.
3207 * math/libm-test.inc (cos_test): Add another test.
3208 (sin_test): Likewise.
3209 * sysdeps/i386/fpu/libm-test-ulps: Update.
3210
e2283f38
JM
3211 [BZ #14273]
3212 * math/libm-test.inc (cosh_test): Add more tests.
3213
370ca3d2
JM
3214 * version.h (RELEASE): Set to "development".
3215 (VERSION): Set to "2.16.90".
3216
ee9247c3
CD
32172012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
3218
3219 * NEWS: Update copyright. Remove last-updated date.
3220 Mention math library bug fixes and timezone data changes.
3221 * README: Mention GNU/Hurd, x32, and HPPA support status.
3222
4648c381
TS
32232012-06-28 Thomas Schwinge <thomas@codesourcery.com>
3224
3225 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
3226
aac78a43
AJ
32272012-06-27 Andreas Jaeger <aj@suse.de>
3228
3229 * manual/contrib.texi (Contributors): Add Samuel Thibault.
3230
ed3dbfad
AJ
32312012-06-25 Andreas Jaeger <aj@suse.de>
3232
3233 * sysdeps/s390/fpu/libm-test-ulps: Update.
3234
4d0ee855
AS
32352012-06-23 Andreas Schwab <schwab@linux-m68k.org>
3236 Thomas Schwinge <thomas@codesourcery.com>
3237
3238 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
3239 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
3240 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
3241 fanotify_mark.
3242
af1bce34
TS
32432012-06-23 Thomas Schwinge <thomas@codesourcery.com>
3244
a9fa33ba
TS
3245 * sysdeps/mach/start.c: Remove file.
3246 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
3247 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
3248 * sysdeps/sh/init-first.c: Likewise.
3249
58f902b8
TS
3250 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
3251 registers for frame unwinding purposes, add CFI directives.
3252 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3253 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
3254 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
3255 Likewise.
3256
1518f58b
TS
3257 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
3258 __fortify_fail returning.
3259 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3260
db9b5059
TS
3261 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
3262 sysdeps/sh/____longjmp_chk.S.
3263 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
3264 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
3265 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
3266 (gen-as-const-headers): Append sigaltstack-offsets.sym.
3267
967705fe
TS
3268 * sysdeps/sh/abort-instr.h: New file.
3269 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
3270 process in case exit returns.
3271
a9def8c4
TS
3272 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
3273 initialize the GOT register before use.
3274
2a649725
TS
3275 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
3276 calculation of ARGC > 4.
3277
af1bce34
TS
3278 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
3279 meaningful names to some local labels.
3280
d230f50a
KK
32812012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3282 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3283
3284 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
3285 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
3286 (__arch_compare_and_exchange_val_16_acq): Likewise.
3287 (__arch_compare_and_exchange_val_32_acq): Likewise.
3288 (atomic_exchange_and_add): Fix gUSA sequence.
3289 (atomic_add): Likewise.
3290 (atomic_add_negative): Likewise.
3291 (atomic_add_zero): Likewise.
3292 (atomic_bit_test_set): Likewise.
3293
0479b305
AS
32942012-06-22 Andreas Schwab <schwab@redhat.com>
3295
3296 [BZ #13579]
3297 * include/link.h (struct link_map): Add l_free_initfini.
3298 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
3299 l_initfini.
3300 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
3301 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
3302 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
3303 set.
3304
0e3933b9
CD
33052012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
3306
3307 * configure.in: Use AC_LANG_SOURCE.
3308 * configure: Regenerate.
3309
4248b1b1
RM
33102012-06-22 Roland McGrath <roland@hack.frob.com>
3311
3312 * configure.in (libc_cv_localstatedir): New substituted variable.
3313 * configure: Regenerated.
3314 * config.make.in (localstatedir): New variable, substituted from
3315 libc_cv_localstatedir.
3316 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
3317 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
3318 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
3319 * sysdeps/gnu/configure: Regenerated.
3320
006dd861
JL
33212012-06-21 Jeff Law <law@redhat.com>
3322
3323 [BZ #14277]
3324 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
3325 free. Simplify list management for _LIBC case.
3326
79662d42
JM
33272012-06-21 Joseph Myers <joseph@codesourcery.com>
3328
b7abb4bf
JM
3329 [BZ #14273]
3330 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
3331 Clear sign bit of 64-bit integer value before comparing against
3332 overflow value.
3333
79662d42
JM
3334 * sysdeps/mach/configure: Regenerated.
3335
1f150908
L
33362012-06-21 H.J. Lu <hongjiu.lu@intel.com>
3337
3338 [BZ #14278]
3339 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
3340
28363bbf
JL
33412012-06-21 Jeff Law <law@redhat.com>
3342
3343 [BZ #13882]
3344 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
3345 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 3346 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
3347 * elf/dl-open.c (dl_open_worker): Likewise.
3348
09615db4
CD
33492012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
3350
3351 * scripts/list-sources.sh: Scan PORTS for translations.
3352 * po/libc.pot: Regenerated.
3353
2174c6dd
AJ
33542012-06-21 Andreas Jaeger <aj@suse.de>
3355
3356 [BZ #12194]
3357 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
3358 warning.
3359 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
3360 * bits/byteswap-16.h (__bswap_16): Likewise.
3361 * bits/byteswap.h (__bswap_constant_16): Likewise.
3362
3ee947b1
L
33632012-06-18 H.J. Lu <hongjiu.lu@intel.com>
3364
3365 [BZ #14117]
a2f34833
L
3366 * sysdeps/i386/fpu_control.h: Removed.
3367 * sysdeps/x86_64/fpu_control.h: Moved to ...
3368 * sysdeps/x86/fpu_control.h: Here.
3369
3ee947b1
L
3370 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
3371 (_FPU_SETCW): Likewise.
3372
ed1825f8
L
33732012-06-15 H.J. Lu <hongjiu.lu@intel.com>
3374
25f1282a
L
3375 [BZ #14117]
3376 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
3377 * sysdeps/x86/fpu/bits/mathinline.h: This.
3378 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
3379
ed1825f8
L
3380 [BZ #14050]
3381 [BZ #14117]
3382 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
3383 functions if __x86_64__ is defined.
3384
36d54b74
CLT
33852012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
3386
3387 * string/endian.h: Add !__ASSEMBLER__ condition for including
3388 conversion interfaces.
3389
10285c21
JM
33902012-06-15 Joseph Myers <joseph@codesourcery.com>
3391
3392 [BZ #14241]
3393 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
3394 of ABS(x) in calculating zero to negative powers other than odd
3395 integers.
3396 * math/libm-test.inc (pow_test): Add more tests.
3397
06c5abbd
AJ
33982012-06-15 Andreas Jaeger <aj@suse.de>
3399
3400 * manual/contrib.texi (Contributors): Update entry of Liubov
3401 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
3402 Machado Filho.
3403
a3aeac40
CH
34042012-06-15 Cyril Hrubis <metan@ucw.cz>
3405
3406 * string/string.h: Add __wur to GNU version of strerror_r.
3407
49bdf4c1
L
34082012-06-14 H.J. Lu <hongjiu.lu@intel.com>
3409
3410 [BZ #14229]
3411 * string/Makefile (tests): Add tst-strtok_r.
3412 * string/tst-strtok_r.c: New file.
3413 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
3414 RAX_LP/RDX_LP on SAVE_PTR.
3415
834f9b8d
RM
34162012-06-14 Roland McGrath <roland@hack.frob.com>
3417
3418 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
3419
75fa1921
JM
34202012-06-14 Joseph Myers <joseph@codesourcery.com>
3421
3422 * libm_test.inc (csqrt_test): Allow more spurious underflow
3423 exceptions.
3424 (j0_test): Likewise.
3425 (j1_test): Likewise.
3426 (y0_test): Likewise.
3427 (y1_test): Likewise.
3428
771766df
CD
34292012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
3430
3431 * po/Makefile (libc.pot): Use UTF-8 charset.
3432
ceb9e56b
PP
34332012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
3434
3435 [BZ #14210]
3436 Suppress sign-conversion warning from FD_SET.
3437 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
3438 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
3439 not unsigned long int.
3440 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
3441
ddb28975
L
34422012-06-12 H.J. Lu <hongjiu.lu@intel.com>
3443
3444 [BZ #14050]
3445 [BZ #14117]
3446 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
3447 __extern_always_inline instead of __extern_inline.
3448 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
3449 (__signbit): Likewise.
3450 (__signbitl): Support C++ namespace.
3451 (lrintf): New inline function.
3452 (lrint): Likewise.
3453 (llrintf): Likewise.
3454 (llrint): Likewise.
3455 (fmaxf): Likewise.
3456 (fmax): Likewise.
3457 (fminf): Likewise.
3458 (fmin): Likewise.
3459 (rint): Likewise.
3460 (rintf): Likewise.
3461 (ceil): Likewise.
3462 (ceilf): Likewise.
3463 (floor): Likewise.
3464 (floorf): Likewise.
3465 (nearbyint): Likewise.
3466 (nearbyintf): Likewise.
3467
d7b4fb26
TS
34682012-06-12 Thomas Schwinge <thomas@codesourcery.com>
3469
3470 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
3471 non-default versions.
3472
eb55f5c2
RM
34732012-06-11 Roland McGrath <roland@hack.frob.com>
3474
3475 [BZ #14218]
3476 * manual/argp.texi (Argp): Reword argp_parse description slightly.
3477
366af02c
TS
34782012-06-09 Thomas Schwinge <thomas@codesourcery.com>
3479
99ff6e5c
TS
3480 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
3481 (FE_UPWARD, FE_DOWNWARD): Don't define.
3482 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
3483 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3484
366af02c
TS
3485 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
3486 reading it.
3487 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3488 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3489
793ea851
KK
34902012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3491
3492 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3493 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
3494 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
3495 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
3496
a728a38f
L
34972012-06-06 H.J. Lu <hongjiu.lu@intel.com>
3498
3499 [BZ #14117]
c08010c7
L
3500 * sysdeps/i386/fpu/bits/fenv.h: Removed.
3501 * sysdeps/i386/fpu/Implies: New file.
3502 * sysdeps/x86_64/fpu/Implies: Likewise.
3503 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
3504 * sysdeps/x86/fpu/bits/fenv.h: This.
3505
a728a38f
L
3506 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
3507 __SSE_MATH__.
3508
6e230d11
SP
35092012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3510
3511 [BZ #14134]
3512 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
3513 character 0xffff that matches the last element of the
3514 conversion table.
3515
1b671feb
AZ
35162012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3517
3518 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
3519 fmodl commit.
3520
6043738b
AZ
35212012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3522
3523 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
3524 values higher than 25.6283.
3525
34ae0b32
AZ
35262012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3527
3528 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
3529 subnormal exponent extraction and add some __builtin_expect.
3530 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
3531 Fix for subnormal mantissa calculation.
3532
1214ec8f
MF
35332012-06-04 Mike Frysinger <vapier@gentoo.org>
3534
3535 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
3536 cpu2 is -1 and errno is not ENOSYS.
3537
f3d1f93c
L
35382012-06-04 H.J. Lu <hongjiu.lu@intel.com>
3539
3540 [BZ #14117]
0e4a3cd7
L
3541 * sysdeps/i386/i486/bits/string.h: Renamed to ...
3542 * sysdeps/x86/bits/string.h: This.
3543 * sysdeps/x86_64/bits/string.h: Removed.
3544
6704c645
L
3545 * sysdeps/i386/i486/bits/string.h: Define inline functions only
3546 if not compiling for x86-64, but compiling for >= i486.
3547
48495318
L
3548 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
3549 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
3550
14adcbfc
L
3551 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
3552 New macro from Linux kernel 3.4.0.
3553 (FP_XSTATE_MAGIC2): Likewise.
3554 (FP_XSTATE_MAGIC2_SIZE): Likewise.
3555 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
3556 (struct _fpx_sw_bytes): New struct.
3557 (struct _xsave_hdr): Likewise.
3558 (struct _ymmh_state): Likewise.
3559 (struct _xstate): Likewise.
3560
68e408ab
L
3561 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
3562 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
3563 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
3564 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
3565 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
3566 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
3567
f3d1f93c
L
3568 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
3569 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
3570 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
3571 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
3572 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
3573 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
3574
d9dc34cd
TMQMF
35752012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3576
3577 [BZ #13743]
3578 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
3579 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
3580 (sysdep_headers): Include sys/platform/ppc.h.
3581 * sysdeps/powerpc/test-gettimebase.c: Test for
3582 __ppc_get_timebase() to catch future ISA opcode/insn changes.
3583 * manual/Makefile (appendices): Include platform.texi.
3584 * manual/contrib.texi (Contributors): Update @node pointers.
3585 * manual/maint.texi (Maintenance): Likewise.
3586 (Platform): New node.
3587 * manual/platform.texi: New file. Document the new features.
3588
4af3879c
SP
35892012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3590 Jakub Jelinek <jakub@redhat.com>
3591
3592 [BZ #14188]
3593 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
3594 where __builtin_expect is unavailable.
3595
2fd6ff13
DM
35962012-06-03 David S. Miller <davem@davemloft.net>
3597
3598 * stdlib/longlong.h: Updated from GCC.
3599
173f7220
AS
36002012-06-02 Andreas Schwab <schwab@linux-m68k.org>
3601
3602 [BZ #14042]
3603 * sysdeps/powerpc/powerpc32/mcount.c: New file.
3604 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
3605 __mcount_internal.
3606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3607 (GLIBC_2.16): Likewise.
3608
f34a1c6f
L
36092012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3610
3611 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
3612
88a4576f
JM
36132012-06-01 Joseph Myers <joseph@codesourcery.com>
3614
ea32bcdd
JM
3615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3616 (default-abi): New variable.
3617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
3618 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
3619 variable.
3620 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
3621 Likewise.
3622 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
3623 Likewise.
3624 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
3625 Likewise.
3626
88a4576f
JM
3627 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
3628 definition. Document in comment.
3629
402fe938
DM
36302012-06-01 David S. Miller <davem@davemloft.net>
3631
3632 * stdlib/longlong.h: Updated from GCC.
3633
3553723f
L
36342012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3635
3636 [BZ #14117]
3bd872c4
L
3637 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
3638 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
3639 sys/debugreg.h sys/io.h here.
3640 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
3641 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
3642 sys/io.h.
3643 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
3644 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
3645 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
3646 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
3647 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
3648 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
3649
3553723f
L
3650 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
3651 Define only if __x86_64__ is defined.
3652
4842e4fe
JM
36532012-06-01 Joseph Myers <joseph@codesourcery.com>
3654
c5bfe3d5
JM
3655 [BZ #14048]
3656 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
3657 Use int64_t for variable i.
3658 * math/libm-test.inc (fmod_test): Add more tests.
3659
4842e4fe
JM
3660 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
3661 z computation is not scheduled after fetestexcept.
3662 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
3663 Use math_force_eval instead of asm to ensure calculation scheduled
3664 before exception test.
3665 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
3666 Ensure a1 + u.d computation is not scheduled after fetestexcept.
3667
efb73488
AJ
36682012-06-01 Aurelien Jarno <aurelien@aurel32.net>
3669
3670 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
3671 computation is not scheduled after fetestexcept.
3672
29bcce7c
L
36732012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3674
3675 [BZ #14117]
3676 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
3677 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
3678
73a68f94
AZ
36792012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3680
3681 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
3682 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3683
67b6df78
L
36842012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3685
edf2933a 3686 [BZ #14117]
ebc64a18
L
3687 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
3688 <bits/wordsize.h>.
3689 (__WCHAR_MIN): Support __WORDSIZE == 64.
3690 (__WCHAR_MAX): Likewise.
3691
edf2933a
L
3692 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
3693 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
3694
57c6cf40
L
3695 [BZ #14183]
3696 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
3697 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
3698
67b6df78 3699 [BZ #14117]
8eb6281e
L
3700 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
3701 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
3702
aac639f4
L
3703 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
3704 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
3705
67b6df78
L
3706 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
3707 Defined to 1 if __x86_64__ isn't defined.
3708 (_STAT_VER_LINUX_OLD): New.
3709 (st_atime): Remove duplicate.
3710 (st_mtime): Likewise.
3711 (st_ctime): Likewise.
3712
1c2cfe81
DM
37132012-05-31 David S. Miller <davem@davemloft.net>
3714
3715 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
3716 entries.
3717
5be8418c
AS
37182012-06-01 Andreas Schwab <schwab@linux-m68k.org>
3719
e7725326
AS
3720 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
3721 gen-libm-test.pl.
3722
5be8418c
AS
3723 [BZ #14132]
3724 * elf/dl-reloc.c: Include <_itoa.h>.
3725 (_dl_reloc_bad_type): Remove use of INTUSE.
3726 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
3727 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
3728 * stdio-common/psiginfo.c (psiginfo): Likewise.
3729 * stdio-common/psignal.c (psignal): Likewise.
3730 * string/strsignal.c (strsignal): Likewise.
3731 * include/signal.h (_sys_siglist): Declare hidden proto.
3732 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
3733 INTVARDEF with libc_hidden_data_def.
3734 * stdio-common/itoa-udigits.c: Likewise.
3735 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
3736 (_itoa_lower_digits_internal): Remove declaration.
3737 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
3738 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
3739 (_sys_sigabbrev_internal): Remove aliases.
3740 (_sys_siglist): Define hidden alias.
3741
507352f1
MT
37422012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
3743
3744 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3745 bits/sysctl.h.
3746
42bbb1c3
L
37472012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3748
3749 [BZ #14117]
6bd784b6
L
3750 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
3751 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
3752
8bca20f0
L
3753 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
3754 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
3755 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
3756 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
3757 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
3758 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
3759
f9e890a9
L
3760 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
3761 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
3762 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
3763
471101a1
L
3764 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
3765 with __addr.
3766 (insw): Likewise.
3767 (insl): Likewise.
3768 (outsb): Likewise.
3769 (outsw): Likewise.
3770 (outsl): Likewise.
3771
6451c862
L
3772 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
3773 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
3774 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
3775
a254b8c9
L
3776 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
3777 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
3778 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
3779 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
3780 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
3781 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
3782
b8dfdd92
L
3783 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
3784 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
3785
578cd270
L
3786 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
3787 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
3788
de662f5f
L
3789 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
3790 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
3791 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
3792
25653439
L
3793 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
3794 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
3795 to ...
3796 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
3797
6bad24a0
L
3798 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
3799 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
3800 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
3801
42bbb1c3
L
3802 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
3803 for x86-64.
3804 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
3805
2d10d547
JM
38062012-05-31 Joseph Myers <joseph@codesourcery.com>
3807
3808 * math/math.h (M_El): Use two more decimal places.
3809 (M_LOG2El): Likewise.
3810 (M_LOG10El): Likewise.
3811 (M_LN2l): Likewise.
3812 (M_LN10l): Likewise.
3813 (M_PIl): Likewise.
3814 (M_PI_2l): Likewise.
3815 (M_PI_4l): Likewise.
3816 (M_1_PIl): Likewise.
3817 (M_2_PIl): Likewise.
3818 (M_2_SQRTPIl): Likewise.
3819 (M_SQRT2l): Likewise.
3820 (M_SQRT1_2l): Likewise.
3821
f230c29b
DM
38222012-05-31 David S. Miller <davem@davemloft.net>
3823
3824 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
3825 values between float registers.
3826 * sysdeps/sparc/sparc64/memset.S: Likewise.
3827 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3828
fed806c3
MF
38292012-05-31 Mike Frysinger <vapier@gentoo.org>
3830
3831 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
3832 -D_FORTIFY_SOURCE=1.
3833 (CPPFLAGS-tst-longjmp_chk.c): Define.
3834 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
3835 (CPPFLAGS-tst-longjmp_chk2.c): Define.
3836 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
3837 CFLAGS-tst-wchar-h.c.
3838
30917259
MP
38392012-05-31 Marek Polacek <polacek@redhat.com>
3840
3841 [BZ #14132]
3842 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
3843 __endmntent_internal): Remove declaration.
3844 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
3845 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
3846 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
3847
1c58d5dc
DM
38482012-05-30 David S. Miller <davem@davemloft.net>
3849
3850 * sysdeps/sparc/sparc32/soft-fp/q_util.c
3851 (___Q_simulate_exceptions): Use real FP ops rather than writing
3852 into the %fsr.
3853 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
3854 Likewise.
3855
7dc00e0d
L
38562012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3857
3858 [BZ #14117]
0bd53985
L
3859 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
3860 * sysdeps/x86/bits/xtitypes.h: This.
3861
3a257e66
L
3862 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
3863 * sysdeps/x86/bits/wordsize.h: This.
3864
62f62904
L
3865 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
3866 * sysdeps/x86/bits/huge_vall.h: This.
3867
404fe9d9
L
3868 * sysdeps/i386/bits/select.h: Removed.
3869 * sysdeps/x86_64/bits/select.h: Renamed to ...
3870 * sysdeps/x86/bits/select.h: This.
3871
d48d0446
L
3872 * sysdeps/i386/bits/setjmp.h: Removed.
3873 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
3874 * sysdeps/x86/bits/setjmp.h: This.
3875
7dc00e0d
L
3876 * sysdeps/i386/bits/mathdef.h: Removed.
3877 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
3878 * sysdeps/x86/bits/mathdef.h: This.
3879
03277f8f
AS
38802012-05-30 Andreas Schwab <schwab@linux-m68k.org>
3881
3882 [BZ #14132]
3883 * include/sys/socket.h (__connect_internal)
3884 (__libc_sa_len_internal): Remove declaration.
3885 (__connect, __libc_sa_len): Declare hidden_proto.
3886 (SA_LEN): Remove use of INTUSE.
3887 * socket/connect.c: Add libc_hidden_def.
3888 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
3889 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
3890 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
3891 alias.
3892 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3893 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3894 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
3895 of adding _internal alias.
3896
13764867
L
38972012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3898
3899 [BZ #14117]
6bd97696
L
3900 * sysdeps/i386/bits/link.h: Removed.
3901 * sysdeps/i386/bits/linkmap.h: Likewise.
3902 * sysdeps/x86_64/bits/link.h: Renamed to ...
3903 * sysdeps/x86/bits/link.h: This.
3904 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
3905 * sysdeps/x86/bits/linkmap.h: This.
3906
f726f0bb
L
3907 * sysdeps/i386/bits/endian.h: Removed.
3908 * sysdeps/x86_64/bits/endian.h: Renamed to ...
3909 * sysdeps/x86/bits/endian.h: This.
3910
13764867
L
3911 * sysdeps/i386/bits/byteswap.h: Removed.
3912 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3913 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
3914 * sysdeps/x86/bits/byteswap.h: This.
3915 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
3916 * sysdeps/x86/bits/byteswap-16.h: This.
3917 * sysdeps/i386/Implies: Add x86.
3918 * sysdeps/x86_64/Implies: Likewise.
3919
ae251b0b
DM
39202012-05-30 David S. Miller <davem@davemloft.net>
3921
3922 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
3923 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
3924 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3925 (FP_TRAPPING_EXCEPTIONS): Define.
3926 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3927 (FP_TRAPPING_EXCEPTIONS): Define.
3928 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
3929 subnormals only when inexact has been signalled or underflow
3930 exceptions are enabled.
3931 (_FP_PACK_CANONICAL): Likewise.
3932
d5c90867
L
39332012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3934
3935 [BZ #14183]
3936 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
3937 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
3938
63f1549e
RH
39392012-05-30 Richard Henderson <rth@twiddle.net>
3940
8d8f2279
RH
3941 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
3942 with #ifndef NOT_IN_libc.
3943
63f1549e
RH
3944 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
3945 marked to avoid plt entry.
3946
0ab0291b
L
39472012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3948
3949 [BZ #14112]
3950 * Makeconfig (default-abi): New macro.
3951 (abi-includes): Likewise.
3952 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
3953 $(abi-$(default-abi)-lib-soname) for soname if defined.
3954 ($(common-objpfx)gnu/lib-names.stmp): Generate from
3955 abi-variants.
3956 * Makefile (installed-stubs): Likewise.
3957 * include/stubs-biarch.h: Removed.
3958 * scripts/lib-names.awk: Only handle one library at a time.
3959 * scripts/soversions.awk: Remove WORDSIZE support.
3960 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
3961 entries.
3962 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
3963 Removed.
3964 (syscall-list-default-condition): Likewise.
3965 (syscall-list-default-condition): Likewise.
3966 (syscall-list-includes): Likewise.
3967 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
3968 syscall-list-* with abi-*. Handle undefined abi-variants.
3969 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
3970 * sysdeps/unix/sysv/linux/i386/Implies: New file.
3971 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
3972 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
3973 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
3974 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
3975 Removed.
3976 (syscall-list-32-options): Likewise.
3977 (syscall-list-32-condition): Likewise.
3978 (syscall-list-64-options): Likewise.
3979 (syscall-list-64-condition): Likewise.
3980 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
3981 macro.
3982 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
3983 Renamed to ...
3984 (abi-*): This.
3985 (abi-64-ld-soname): New macro.
3986 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
3987 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
3988 Renamed to ...
3989 (abi-*): This.
3990 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
3991 * sysdeps/x86_64/x32/shlib-versions: Likewise.
3992
4da0431d
JM
39932012-05-30 Joseph Myers <joseph@codesourcery.com>
3994
3a85279c
JM
3995 * sysdeps/unix/sysv/linux/kernel-features.h
3996 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
3997 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
3998 include <kernel-features.h>.
3999 [!__NR_ftruncate64]: Remove conditional code.
4000 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4001 [__NR_ftruncate64]: Make code unconditional.
4002 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4003 * sysdeps/unix/sysv/linux/truncate64.c: Do not
4004 include <kernel-features.h>.
4005 [!__NR_ftruncate64]: Remove conditional code.
4006 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4007 [__NR_ftruncate64]: Make code unconditional.
4008 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
4010 include <kernel-features.h>.
4011 [!__NR_ftruncate64]: Remove conditional code.
4012 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4013 [__NR_ftruncate64]: Make code unconditional.
4014 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
4016 include <kernel-features.h>.
4017 [!__NR_ftruncate64]: Remove conditional code.
4018 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4019 [__NR_ftruncate64]: Make code unconditional.
4020 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4021
4da0431d
JM
4022 * configure.in (libc_cv_fpie): Weaken to a compile test using
4023 LIBC_TRY_CC_OPTION.
4024 * configure: Regenerated.
4025
11ef492c
AK
40262012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4027
4028 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
4029 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
4030 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
4031 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4032 Refreshed.
4033 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
4034 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
4035 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
4036 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
4037 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
4038 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4039 Refreshed.
4040
d66ef399
DM
40412012-05-27 David S. Miller <davem@davemloft.net>
4042
4043 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
4044 (___Q_zero): New.
4045 (__Q_simulate_exceptions): Return void. Change to simulate
4046 exceptions by writing into the %fsr.
4047 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
4048 (__Qp_handle_exceptions): Likewise.
4049 (numbers): Delete.
4050 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
4051 __Qp_handle_exceptions.
4052 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
4053 __Qp_handle_exceptions.
4054 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4055 as unused and give dummy FP_RND_NEAREST initializer.
4056 (FP_INHIBIT_RESULTS): Define.
4057 (___Q_simulate_exceptions): Update declaration.
4058 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
4059 formatting.
4060 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4061 as unused and give dummy FP_RND_NEAREST initializer.
4062 (__Qp_handle_exceptions): Update declaration.
4063 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
4064 formatting.
4065
04fb54b5
TS
40662012-05-27 Thomas Schwinge <thomas@codesourcery.com>
4067
4068 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
4069 the temporary FPU control word.
4070 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4071 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
4072 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
4073 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4074 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4075 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
4076 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
4077 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4078 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4079 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
4080 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4081
3f99608f
KK
40822012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4083
4084 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
4085 fields.
4086
65a4de4e
CLT
40872012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
4088
4089 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
4090 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
4091 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
4092 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
4093 Likewise.
4094 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
4095 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
4096 Likewise.
4097
15749d40
UD
40982012-05-27 Ulrich Drepper <drepper@gmail.com>
4099
4100 * po/h.po: Update from translation team.
4101
25dbcb27
AS
41022012-05-26 Andreas Schwab <schwab@linux-m68k.org>
4103
3d3f8e55
AS
4104 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
4105
25dbcb27
AS
4106 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
4107 handling of denormals.
4108 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4109 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4110 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4111 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4112 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4113 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
4114 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
4115 Likewise.
4116
7ad47a80 41172012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
4118
4119 [BZ #14152]
4120 * math/libm-test.inc (fma_test): Don't always expect underflow
4121 exception.
4122
9c6ea9fa
SP
41232012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4124
4125 [BZ #12416]
4126 * elf/tst-execstack.c: Include stackinfo.h.
4127 (do_test): Adjust test case to ensure that pthread_getattr_np
4128 behaviour remains the same after marking stack executable.
4129
a8239222
JM
41302012-05-25 Joseph Myers <joseph@codesourcery.com>
4131
4132 * sysdeps/unix/sysv/linux/kernel-features.h
4133 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
4134 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
4135 kernel-features.h.
4136 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4137 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4138 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
4139 kernel-features.h.
4140 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4141 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4142
918b5606
L
41432012-05-25 H.J. Lu <hongjiu.lu@intel.com>
4144
4145 * configure.in: Define the default includes to being none.
4146 * configure: Regenerated.
4147
3a097cc7
RM
41482012-05-25 Roland McGrath <roland@hack.frob.com>
4149
8422c9a5
RM
4150 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
4151 * sysdeps/x86_64/setjmp.S: Likewise.
4152 * sysdeps/i386/bsd-setjmp.S: Likewise.
4153 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4154 * sysdeps/i386/setjmp.S: Likewise.
4155 * sysdeps/i386/__longjmp.S: Likewise.
4156 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4157 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
4158
3a097cc7
RM
4159 * include/stap-probe.h: New file.
4160 * configure.in: Handle --enable-systemtap.
4161 * configure: Regenerated.
4162 * config.h.in (USE_STAP_PROBE): New #undef.
4163 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
4164 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
4165 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4166
21708942
JM
41672012-05-25 Joseph Myers <joseph@codesourcery.com>
4168
4169 [BZ #13717]
4170 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4171 to 2.4.0 where earlier.
4172 * sysdeps/unix/sysv/linux/configure: Regenerated.
4173 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
4174 <kernel-features.h>.
4175 [__ASSUME_32BITUIDS]: Make code unconditional.
4176 [!__ASSUME_32BITUIDS]: Remove conditional code.
4177 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
4178 <kernel-features.h>.
4179 [__ASSUME_32BITUIDS]: Make code unconditional.
4180 [!__ASSUME_32BITUIDS]: Remove conditional code.
4181 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
4182 [__ASSUME_32BITUIDS]: Make code unconditional.
4183 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
4184 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
4185 <kernel-features.h>.
4186 [__ASSUME_32BITUIDS]: Make code unconditional.
4187 [!__ASSUME_32BITUIDS]: Remove conditional code.
4188 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
4189 <kernel-features.h>.
4190 [__ASSUME_32BITUIDS]: Make code unconditional.
4191 [!__ASSUME_32BITUIDS]: Remove conditional code.
4192 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
4193 <kernel-features.h>.
4194 [__ASSUME_32BITUIDS]: Make code unconditional.
4195 [!__ASSUME_32BITUIDS]: Remove conditional code.
4196 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
4197 <kernel-features.h>.
4198 [__ASSUME_32BITUIDS]: Make code unconditional.
4199 [!__ASSUME_32BITUIDS]: Remove conditional code.
4200 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
4201 <kernel-features.h>.
4202 [__ASSUME_32BITUIDS]: Make code unconditional.
4203 [!__ASSUME_32BITUIDS]: Remove conditional code.
4204 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
4205 <kernel-features.h>.
4206 [__ASSUME_32BITUIDS]: Make code unconditional.
4207 [!__ASSUME_32BITUIDS]: Remove conditional code.
4208 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
4209 <kernel-features.h>.
4210 [__ASSUME_32BITUIDS]: Make code unconditional.
4211 [!__ASSUME_32BITUIDS]: Remove conditional code.
4212 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
4213 <kernel-features.h>.
4214 [__ASSUME_32BITUIDS]: Make code unconditional.
4215 [!__ASSUME_32BITUIDS]: Remove conditional code.
4216 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
4217 <kernel-features.h>.
4218 [__ASSUME_32BITUIDS]: Make code unconditional.
4219 [!__ASSUME_32BITUIDS]: Remove conditional code.
4220 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
4221 <kernel-features.h>.
4222 [__ASSUME_32BITUIDS]: Make code unconditional.
4223 [!__ASSUME_32BITUIDS]: Remove conditional code.
4224 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
4225 <kernel-features.h>.
4226 [__NR_setresgid] (__setresgid): Do not declare.
4227 [__ASSUME_32BITUIDS]: Make code unconditional.
4228 [!__ASSUME_32BITUIDS]: Remove conditional code.
4229 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
4230 <kernel-features.h>.
4231 [__NR_setresuid] (__setresuid): Do not declare.
4232 [__ASSUME_32BITUIDS]: Make code unconditional.
4233 [!__ASSUME_32BITUIDS]: Remove conditional code.
4234 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
4235 <kernel-features.h>.
4236 [__ASSUME_32BITUIDS]: Make code unconditional.
4237 [!__ASSUME_32BITUIDS]: Remove conditional code.
4238 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
4239 <kernel-features.h>.
4240 [__ASSUME_32BITUIDS]: Make code unconditional.
4241 [!__ASSUME_32BITUIDS]: Remove conditional code.
4242 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
4243 <kernel-features.h>.
4244 [__ASSUME_32BITUIDS]: Make code unconditional.
4245 [!__ASSUME_32BITUIDS]: Remove conditional code.
4246 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
4247 <kernel-features.h>.
4248 [__ASSUME_32BITUIDS]: Make code unconditional.
4249 [!__ASSUME_32BITUIDS]: Remove conditional code.
4250 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
4251 <kernel-features.h>.
4252 [__ASSUME_32BITUIDS]: Make code unconditional.
4253 [!__ASSUME_32BITUIDS]: Remove conditional code.
4254 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
4255 <kernel-features.h>.
4256 [__ASSUME_32BITUIDS]: Make code unconditional.
4257 [!__ASSUME_32BITUIDS]: Remove conditional code.
4258 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
4259 <kernel-features.h>.
4260 [__ASSUME_32BITUIDS]: Make code unconditional.
4261 [!__ASSUME_32BITUIDS]: Remove conditional code.
4262 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
4263 <kernel-features.h>.
4264 [__ASSUME_32BITUIDS]: Make code unconditional.
4265 [!__ASSUME_32BITUIDS]: Remove conditional code.
4266 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
4267 <kernel-features.h>.
4268 [__ASSUME_32BITUIDS]: Make code unconditional.
4269 [!__ASSUME_32BITUIDS]: Remove conditional code.
4270 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
4271 <kernel-features.h>.
4272 [__ASSUME_32BITUIDS]: Make code unconditional.
4273 [!__ASSUME_32BITUIDS]: Remove conditional code.
4274 * sysdeps/unix/sysv/linux/kernel-features.h
4275 (__ASSUME_SETRESUID_SYSCALL): Remove.
4276 (__ASSUME_SETRESGID_SYSCALL): Likewise.
4277 (__ASSUME_32BITUIDS): Likewise.
4278 (__ASSUME_LDT_WORKS): Likewise.
4279 (__ASSUME_O_DIRECTORY): Likewise.
4280 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
4281 architecture but not kernel version.
4282 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4283 (__ASSUME_MMAP2_SYSCALL): Likewise.
4284 (__ASSUME_STAT64_SYSCALL): Likewise.
4285 (__ASSUME_IPC64): Likewise.
4286 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
4287 <kernel-features.h>.
4288 [__ASSUME_32BITUIDS]: Make code unconditional.
4289 [!__ASSUME_32BITUIDS]: Remove conditional code.
4290 * sysdeps/unix/sysv/linux/opendir.c: Do not include
4291 <kernel-features.h>.
4292 [__ASSUME_O_DIRECTORY]: Make code unconditional.
4293 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
4294 132096]: Remove conditional code.
4295 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
4296 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
4297 <kernel-features.h>.
4298 [__ASSUME_32BITUIDS]: Make code unconditional.
4299 [!__ASSUME_32BITUIDS]: Remove conditional code.
4300 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
4301 <kernel-features.h>.
4302 [__ASSUME_32BITUIDS]: Make code unconditional.
4303 [!__ASSUME_32BITUIDS]: Remove conditional code.
4304 * sysdeps/unix/sysv/linux/setegid.c: Do not include
4305 <kernel-features.h>.
4306 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
4307 unconditional.
4308 (__setresgid): Do not declare.
4309 [__ASSUME_32BITUIDS]: Make code unconditional.
4310 [!__ASSUME_32BITUIDS]: Remove conditional code.
4311 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
4312 <kernel-features.h>.
4313 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
4314 unconditional.
4315 (__setresuid): Do not declare.
4316 [__ASSUME_32BITUIDS]: Make code unconditional.
4317 [!__ASSUME_32BITUIDS]: Remove conditional code.
4318 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
4319 <kernel-features.h>.
4320 [__ASSUME_32BITUIDS]: Make code unconditional.
4321 [!__ASSUME_32BITUIDS]: Remove conditional code.
4322 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
4323 <kernel-features.h>.
4324 [__ASSUME_32BITUIDS]: Make code unconditional.
4325 [!__ASSUME_32BITUIDS]: Remove conditional code.
4326
a386f1cc
RH
43272012-05-25 Richard Henderson <rth@twiddle.net>
4328
4329 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
4330 dl_hwcap to ifunc resolver.
4331 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
4332 elf_ifunc_invoke.
4333 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
4334 dl_hwcap to ifunc resolver.
4335 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
4336
b6550497
JM
43372012-05-24 Joseph Myers <joseph@codesourcery.com>
4338
4339 [BZ #14153]
4340 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
4341 for |x| <= 2**-26, not 2**-57.
4342 * math/libm-test.inc (acos_test): Do not allow spurious underflow
4343 exception.
4344
b0bc23a1
JL
43452012-05-24 Jeff Law <law@redhat.com>
4346
4347 * stdio-common/Makefile (tests): Add bug25.
4348 * stdio-common/bug25.c: New test.
4349
347c92e9
L
43502012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4351
4352 [BZ #13576]
4353 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
4354 multiple of MALLOC_ALIGNMENT in size.
4355 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
4356
6bcc8b3f
JM
43572012-05-24 Joseph Myers <joseph@codesourcery.com>
4358
4359 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
4360 Require >= 256.
4361 (FILENAME_MAX): Use macro-int-constant.
4362 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
4363 (_IOFBF): Use macro-int-constant.
4364 (_IOLBF): Likewise.
4365 (_IONBF): Likewise.
4366 (SEEK_CUR): Likewise.
4367 (SEEK_END): Likewise.
4368 (SEEK_SET): Likewise.
4369 (TMP_MAX): Likewise.
4370 (EOF): Use macro-int-constant. Require < 0.
4371 (NULL): Use macro-constant. Require == 0.
4372 (stdin): Require type to be FILE *.
4373 (stdout): Likewise.
4374 (stderr): Likewise.
4375 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
4376 macro-int-constant.
4377 (EXIT_SUCCESS): Likewise.
4378 (NULL): Use macro-constant. Require == 0.
4379 (RAND_MAX): Use macro-int-constant.
4380 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
4381 [C99-based standards] (strtof): Require function.
4382 [C99-based standards] (strtold): Likewise.
4383 [C99-based standards] (strtoll): Likewise.
4384 [C99-based standards] (strtoull): Likewise.
4385 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
4386 [ISO || ISO99 || ISO11] (limits.h): Likewise.
4387 [ISO || ISO99 || ISO11] (math.h): Likewise.
4388 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
4389 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
4390 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4391
d18ea0c5
AS
43922012-05-24 Andreas Schwab <schwab@linux-m68k.org>
4393
4394 [BZ #14132]
56d25bb8
AS
4395 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
4396 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
4397 * intl/dgettext.c (DCGETTEXT): Likewise.
4398 * intl/gettext.c (DCGETTEXT): Likewise.
4399 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
4400 * posix/regex_internal.h (gettext): Likewise.
4401 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
4402 Remove declaration.
4403 * include/argz.h (__argz_count_internal)
4404 (__argz_stringify_internal): Remove declaration.
4405 (__argz_count, __argz_stringify): Declare hidden proto.
4406 * intl/dcgettext.c: Remove use of INTDEF.
4407 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
4408 * string/argz-stringify.c: Likewise.
4409 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4410 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4411 Declare hidden proto.
d18ea0c5
AS
4412 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4413 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4414 Declare hidden proto.
4415 * include/stdio.h (__asprintf_internal): Don't declare.
4416 (__asprintf): Don't define as macro. Declare hidden proto.
4417 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
4418 (__fsetlocking): Declare hidden proto.
4419 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
4420 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
4421 hidden proto.
4422 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
4423 (_IO_setlinebuf): Remove use of INTUSE.
4424 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
4425 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
4426 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
4427 Remove declaration.
4428 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
4429 (_IO_do_flush): Remove use of INTUSE.
4430 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
4431 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
4432 (_IO_adjust_column, _IO_least_wmarker)
4433 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
4434 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
4435 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
4436 (_IO_default_doallocate, _IO_wdefault_doallocate)
4437 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
4438 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
4439 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
4440 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
4441 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
4442 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
4443 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
4444 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
4445 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
4446 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
4447 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
4448 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
4449 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
4450 proto.
4451 (_IO_flush_all_internal, _IO_adjust_column_internal)
4452 (_IO_default_uflow_internal, _IO_default_finish_internal)
4453 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
4454 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
4455 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
4456 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
4457 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
4458 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
4459 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
4460 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
4461 (_IO_file_close_internal, _IO_file_close_it_internal)
4462 (_IO_file_underflow_internal, _IO_file_overflow_internal)
4463 (_IO_file_init_internal, _IO_file_attach_internal)
4464 (_IO_file_fopen_internal, _IO_file_read_internal)
4465 (_IO_file_sync_internal, _IO_file_seek_internal)
4466 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
4467 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
4468 (_IO_str_underflow_internal, _IO_str_overflow_internal)
4469 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
4470 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
4471 (_IO_list_all_internal, _IO_link_in_internal)
4472 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
4473 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
4474 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
4475 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
4476 (_IO_do_write_internal, _IO_padn_internal)
4477 (_IO_getline_info_internal, _IO_getline_internal)
4478 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
4479 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
4480 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
4481 (_IO_vfscanf_internal, _IO_vfprintf_internal)
4482 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
4483 (_IO_init_internal, _IO_un_link_internal): Don't declare.
4484 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
4485 with libc_hidden_ver, remove use of INTUSE.
4486 * libio/genops.c: Likewise.
4487 * libio/freopen.c: Likewise.
4488 * libio/freopen64.c: Likewise.
4489 * libio/iofclose.c: Likewise.
4490 * libio/iofdopen.c: Likewise.
4491 * libio/iofflush.c: Likewise.
4492 * libio/iofflush_u.c: Likewise.
4493 * libio/iofgets.c: Likewise.
4494 * libio/iofgets_u.c: Likewise.
4495 * libio/iofopen.c: Likewise.
4496 * libio/iofopncook.c: Likewise.
4497 * libio/iofread.c: Likewise.
4498 * libio/iofread_u.c: Likewise.
4499 * libio/ioftell.c: Likewise.
4500 * libio/iofwrite.c: Likewise.
4501 * libio/iogetline.c: Likewise.
4502 * libio/iogets.c: Likewise.
4503 * libio/iogetwline.c: Likewise.
4504 * libio/iopadn.c: Likewise.
4505 * libio/iopopen.c: Likewise.
4506 * libio/ioseekoff.c: Likewise.
4507 * libio/ioseekpos.c: Likewise.
4508 * libio/iosetbuffer.c: Likewise.
4509 * libio/iosetvbuf.c: Likewise.
4510 * libio/ioungetc.c: Likewise.
4511 * libio/ioungetwc.c: Likewise.
4512 * libio/iovdprintf.c: Likewise.
4513 * libio/iovsprintf.c: Likewise.
4514 * libio/iovsscanf.c: Likewise.
4515 * libio/memstream.c: Likewise.
4516 * libio/obprintf.c: Likewise.
4517 * libio/oldfileops.c: Likewise.
4518 * libio/oldiofclose.c: Likewise.
4519 * libio/oldiofdopen.c: Likewise.
4520 * libio/oldiofopen.c: Likewise.
4521 * libio/oldiopopen.c: Likewise.
4522 * libio/oldstdfiles.c: Likewise.
4523 * libio/putc.c: Likewise.
4524 * libio/setbuf.c: Likewise.
4525 * libio/setlinebuf.c: Likewise.
4526 * libio/stdfiles.c: Likewise.
4527 * libio/strops.c: Likewise.
4528 * libio/vasprintf.c: Likewise.
4529 * libio/vscanf.c: Likewise.
4530 * libio/vsnprintf.c: Likewise.
4531 * libio/vswprintf.c: Likewise.
4532 * libio/wfiledoalloc.c: Likewise.
4533 * libio/wfileops.c: Likewise.
4534 * libio/wgenops.c: Likewise.
4535 * libio/wmemstream.c: Likewise.
4536 * libio/wstrops.c: Likewise.
4537 * libio/__fpurge.c: Likewise.
4538 * libio/__fsetlocking.c: Likewise.
4539 * assert/assert.c: Likewise.
4540 * debug/fgets_chk.c: Likewise.
4541 * debug/fgets_u_chk.c: Likewise.
4542 * debug/fread_chk.c: Likewise.
4543 * debug/fread_u_chk.c: Likewise.
4544 * debug/gets_chk.c: Likewise.
4545 * debug/obprintf_chk.c: Likewise.
4546 * debug/vasprintf_chk.c: Likewise.
4547 * debug/vdprintf_chk.c: Likewise.
4548 * debug/vsnprintf_chk.c: Likewise.
4549 * debug/vsprintf_chk.c: Likewise.
4550 * malloc/mtrace.c: Likewise.
4551 * misc/error.c: Likewise.
4552 * misc/syslog.c: Likewise.
4553 * stdio-common/asprintf.c: Likewise.
4554 * stdio-common/fxprintf.c: Likewise.
4555 * stdio-common/getw.c: Likewise.
4556 * stdio-common/isoc99_fscanf.c: Likewise.
4557 * stdio-common/isoc99_scanf.c: Likewise.
4558 * stdio-common/isoc99_vfscanf.c: Likewise.
4559 * stdio-common/isoc99_vscanf.c: Likewise.
4560 * stdio-common/isoc99_vsscanf.c: Likewise.
4561 * stdio-common/printf-prs.c: Likewise.
4562 * stdio-common/printf_fp.c: Likewise.
4563 * stdio-common/printf_fphex.c: Likewise.
4564 * stdio-common/printf_size.c: Likewise.
4565 * stdio-common/putw.c: Likewise.
4566 * stdio-common/scanf.c: Likewise.
4567 * stdio-common/sprintf.c: Likewise.
4568 * stdio-common/tmpfile.c: Likewise.
4569 * stdio-common/vfprintf.c: Likewise.
4570 * stdio-common/vfscanf.c: Likewise.
4571 * stdlib/strfmon_l.c: Likewise.
4572 * sunrpc/openchild.c: Likewise.
4573 * sunrpc/xdr_stdio.c: Likewise.
4574 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
4575 * sysdeps/mach/hurd/tmpfile.c: Likewise.
4576
d6c33fda
RM
45772012-05-24 Roland McGrath <roland@hack.frob.com>
4578
c1487492
RM
4579 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4580
4581 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
4582 in the third column, to generate for the shared library an IFUNC
4583 that uses _dl_vdso_vsym.
4584 * Makerules (COMPILE.c, compile-stdin.c): New variables.
4585 * Makeconfig (object-suffixes-noshared): New variable.
4586
4587 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
4588 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
4589 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
4590 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
4591
d6c33fda
RM
4592 [BZ #14132]
4593 * include/sys/time.h (__gettimeofday): Remove macro.
4594 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
4595 * time/gettimeofday.c (__gettimeofday): Remove #undef.
4596 Remove INTDEF.
4597 (__gettimeofday): Add libc_hidden_def.
4598 (gettimeofday): Add libc_hidden_weak.
4599 * sysdeps/mach/gettimeofday.c: Likewise.
4600 * sysdeps/posix/gettimeofday.c: Likewise.
4601 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4602 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4603 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
4604 (__gettimeofday_internal): Remove strong_alias.
4605 (__gettimeofday): Add libc_hidden_def.
4606 (gettimeofday): Add libc_hidden_weak.
4607 * sysdeps/unix/syscalls.list (gettimeofday):
4608 Remove __gettimeofday_internal alias.
4609
b5a2bbe6
L
46102012-05-24 Daniel Jacobowitz <drow@false.org>
4611 H.J. Lu <hongjiu.lu@intel.com>
4612
4613 [BZ #12495]
4614 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
4615 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
4616 (largebin_index_32_big): New.
4617 (largebin_index): Use it for 16-byte alignment.
4618 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
4619 correction with front_misalign.
4620
cfba4fda
L
46212012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4622
7f907421
L
4623 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
4624 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4625 Likewise.
4626 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
4627 Likewise.
4628 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
4629 Likewise.
4630 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
4631 Likewise.
4632 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
4633 Likewise.
4634 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
4635 Likewise.
4636 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
4637 Likewise.
4638 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4639 Likewise.
4640 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
4641 Likewise.
4642 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
4643 Likewise.
4644 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4645 Likewise.
4646 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
4647 Likewise.
4648
cfba4fda
L
4649 * scripts/data/c++-types-x32-linux-gnu.data: New file.
4650 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
4651
80bad0cc
JM
46522012-05-24 Joseph Myers <joseph@codesourcery.com>
4653
7a25eb06
JM
4654 [BZ #10846]
4655 [BZ #14036]
4656 * math/libm-test.inc (exp_test): Add test from bug 14036.
4657 (pow_test): Add test from bug 10846.
4658
795405f9
JM
4659 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
4660 and other flags.
4661 (special_function): Do not include flags in test name.
4662 (parse_args): Likewise.
4663 * sysdeps/i386/fpu/libm-test-ulps: Update.
4664 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4665 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4666 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4668
80bad0cc
JM
4669 * math/gen-libm-test.pl (%beautify): Add entries for underflow
4670 exceptions.
4671 * math/libm-test.inc ("Philosophy"): Update comment about
4672 exception testing.
4673 (UNDERFLOW_EXCEPTION): New macro.
4674 (UNDERFLOW_EXCEPTION_OK): Likewise.
4675 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4676 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4677 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4678 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4679 (INVALID_EXCEPTION_OK): Update value.
4680 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4681 (OVERFLOW_EXCEPTION_OK): Likewise.
4682 (IGNORE_ZERO_INF_SIGN): Likewise.
4683 (test_exceptions): Handle underflow exceptions.
4684 (acos_test): Update for underflow exception expectations.
4685 (cexp_test): Likewise.
4686 (clog_test): Likewise.
4687 (clog10_test): Likewise.
4688 (csqrt_test): Likewise.
4689 (ctan_test): Likewise.
4690 (ctanh_test): Likewise.
4691 (exp_test): Likewise.
4692 (exp10_test): Likewise.
4693 (exp2_test): Likewise.
4694 (expm1_test): Likewise.
4695 (fma_test): Likewise.
4696 (j0_test): Likewise.
4697 (jn_test): Likewise.
4698 (nexttoward_test): Likewise.
4699 (pow_test): Likewise.
4700 (scalbn_test): Likewise.
4701 (scalbln_test): Likewise.
4702 (tan_test): Likewise.
4703 (y1_test): Likewise.
4704 * sysdeps/i386/fpu/libm-test-ulps: Update.
4705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4706
9e0e3d0b
DM
47072012-05-23 David S. Miller <davem@davemloft.net>
4708
4709 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4710 (__libc_sigaction): Remove unused local variables.
4711
ccd0a08f
L
47122012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4713
4714 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
4715
62bdf9a6
PE
47162012-05-23 Paul Eggert <eggert@cs.ucla.edu>
4717
f8591f80
PE
4718 mktime: avoid signed integer overflow
4719 * time/mktime.c (__mktime_internal): Do not mishandle the case
4720 where diff == INT_MIN.
4721
94c7d826
PE
4722 mktime: simplify computation of average
4723 * time/mktime.c (ranged_convert): Use new time_t_avg function
4724 instead of rolling our own (probably-slower) code.
4725
ce73d683
PE
4726 mktime: do not assume signed right shift propagates sign bit
4727 * time/mktime.c (isdst_differ): New static function.
4728 (__mktime_internal): No need to normalize tm_isdst now.
4729 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
4730 tm_isdst values.
4731
72a22e59
PE
4732 mktime: merge another wrapv change from gnulib
4733 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
4734 from some compilers.
4735
68605433
PE
4736 mktime: remove incorrect attempt at unusual arithmetics
4737 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
4738 The code didn't really work on such machines anyway.
4739 (TYPE_MINIMUM): Assume two's complement.
4740 (twos_complement_arithmetic): Verify that long_int and time_t
4741 are two's complement (or unsigned, in the latter case).
4742
03cf7fe3
PE
4743 mktime: check signed shifts on long_int and time_t, too
4744 * time/mktime.c (SHR): Check that shifts work as desired
4745 on the types long_int and time_t too, as SHR is used on
4746 such types.
4747
f04dfbc2
PE
4748 mktime: do not assume 'long' is wide enough
4749 * time/mktime.c (verify): Move decl up.
4750 (long_int): New type.
4751 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
4752 to remove assumption in the code that 'long' is wide enough to
4753 store year values. This assumption is not true on x32 and on
4754 some non-glibc platforms.
4755
62bdf9a6
PE
4756 mktime: merge wrapv change from gnulib
4757 * time/mktime.c (WRAPV): New macro.
4758 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
4759 (guess_time_tm, __mktime_internal): Do not assume that signed
4760 integer overflow wraps around; modern compilers generate code
4761 where this assumption is no longer valid.
4762
5e292e4f
L
47632012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4764
4765 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4766 Replace "jmp L(pseudo_end)" with "ret".
4767 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
4768 Likewise.
4769
8caf8c87
AJ
47702012-05-23 Andreas Jaeger <aj@suse.de>
4771
4772 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
4773 * sysdeps/unix/sysv/linux/poll.c: Remove file.
4774
1a09dc56
AJ
47752012-05-23 Andreas Jaeger <aj@suse.de>
4776 Maximilian Attems <max@stro.at>
4777
4778 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
4779 New macros.
4780
1c87aba0
L
47812012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4782
4783 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
4784 code so that pseudo_end is just ret and the stack pointer is
4785 correct also for static library in error case.
4786
40e45bd5
JM
47872012-05-23 Joseph Myers <joseph@codesourcery.com>
4788
c2670533
JM
4789 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
4790 move to syscalls.list.
4791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4795
40e45bd5
JM
4796 * manual/install.texi (Running make install): Do not mention Linux
4797 kernel version for which pt_chown is not needed.
4798 (Linux): Do not mention problems with nscd with 2.0 kernels.
4799 * INSTALL: Regenerated.
4800
be08eda5
AJ
48012012-05-23 Andreas Jaeger <aj@suse.de>
4802
4803 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
4804 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
4805 macro.
4806 * sysdeps/unix/sysv/linux/s390/bits/mman.h
4807 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4808 * sysdeps/unix/sysv/linux/sh/bits/mman.h
4809 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4810 * sysdeps/unix/sysv/linux/i386/bits/mman.h
4811 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4812 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
4813 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4814 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
4815 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4816 * sysdeps/unix/sysv/linux/bits/in.h
4817 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
4818
a6a056bb
RM
48192012-05-22 Roland McGrath <roland@hack.frob.com>
4820
4821 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
4822 (PREPARE_VERSION): Just use assert instead, it will be elided
4823 under [NDEBUG] anyway.
4824
c9009328
L
48252012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4826
4827 * sysdeps/unix/sysv/linux/Makefile: Include
4828 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 4829 (sysdep_routines): Remove sysctl.
c9009328
L
4830 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
4831 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
4832 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
4833 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
4834 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
4835
73338355
AJ
48362012-05-22 Andreas Jaeger <aj@suse.de>
4837
4838 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
4839 that pseudo_end is just ret and the stack pointer is correct also
4840 for static library in error case.
4841
d44638b0
PP
48422012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4843
4844 [BZ #14122]
4845 * nss/nsswitch.c (defconfig_entries): New variable.
4846 (__nss_database_lookup): Don't leak defconfig entries.
4847 (nss_parse_service_list): Don't leak on error paths.
4848 (free_database_entries): New function.
4849 (free_defconfig): New function.
4850 (free_mem): Move common code to free_database_entries.
4851
31a39bd8
L
48522012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4853
da0331a8
L
4854 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
4855 Add arch_prctl.
4856 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
4857
31a39bd8
L
4858 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4859 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
4860 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
4861 New macro.
4862 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
4863 (INTERNAL_SYSCALL_TYPES): Likewise.
4864 (LOAD_ARGS_TYPES_[1-6]): Likewise.
4865 (LOAD_REGS_TYPES_[1-6]): Likewise.
4866 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
4867 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
4868
45470df3
AZ
48692012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4870
4871 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
4872 copysignl for GLIBC_2_0.
4873 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
4874 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
4875 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
4876 logbl for GLIBC_2_0.
4877 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4878 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4879
98a61bcb
L
48802012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4881
a4f6e481
L
4882 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
4883 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4884
f63d5db6
L
4885 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4886 Use "neg %eax".
4887
98a61bcb
L
4888 * time/mktime.c: Update copyright years.
4889
95770f14
PE
48902012-05-22 Paul Eggert <eggert@cs.ucla.edu>
4891
6226efbd
PE
4892 mktime: merge comment-quoting-style change from gnulib
4893 * time/mktime.c: Quote 'like this' in comments.
4894 The GNU coding standards suggest that we no longer quote `like this',
4895 as "`" and "'" are typically rendered asymmetrically nowadays.
4896 The typical gnulib style is to quote 'like this' when quoting
4897 code, and "like this" when quoting English.
4898
b99e4f78
PE
4899 * time/mktime.c (compile-command): Add "-I.".
4900
643e01e6
PE
4901 mktime: merge mktime-internal.h change from gnulib
4902 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
4903
2554247d
PE
4904 mktime: merge time_r change from gnulib
4905 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
4906
826dd0ab
PE
4907 mktime: merge DEBUG change from gnulib
4908 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
4909 case system <time.h> has a #define.
4910
bd83aabe
PE
4911 mktime: merge <sys/types.h> change from gnulib
4912 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
4913 since <time.t> is now guaranteed to define time_t.
4914
95770f14
PE
4915 mktime: merge HAVE_CONFIG_H change from gnulib
4916 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
4917
5e1a27a9
L
49182012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4919
0e44a77e
L
4920 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4921 Use "neg %eax".
4922
5e1a27a9
L
4923 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
4924 __rlim_t cast.
4925 (struct rusage): Use anonymous union to pad each field to
4926 __syscall_slong_t.
4927
46259bec
DM
49282012-05-21 David S. Miller <davem@davemloft.net>
4929
4930 * Makefules (o-iterator): Remove .s cases.
4931 (compile-command.s): Delete.
4932 (COMPILE.s): Delete.
4933 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
4934
59f0c22e
JM
49352012-05-21 Joseph Myers <joseph@codesourcery.com>
4936
4937 * configure.in (libc_cv_predef_stack_protector): Only consider
4938 "foobar" and "__stack_chk_fail" lines in libc_undefs.
4939 * configure: Regenerated.
4940
20c07380
L
49412012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4942
bbb3154b
L
4943 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4944 New macro. Use R*LP on int and pointer.
4945 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
4946 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
4947 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
4948 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
4949
20c07380
L
4950 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
4951 [__WORDSIZE_TIME64_COMPAT32] instead of
4952 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
4953 (struct utmp): Likewise.
4954 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
4955 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
4956 Renamed to ...
4957 (__WORDSIZE_TIME64_COMPAT32): This.
4958 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4959 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4960 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4961 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4962 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
4963 (__WORDSIZE_TIME64_COMPAT32): New macro.
4964
d8d1017e
AJ
49652012-05-21 Andreas Jaeger <aj@suse.de>
4966
4967 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
4968 only if [SHARED]. Add prototype for __wcschr_ia32.
4969
6c7fb145
RM
49702012-05-21 Roland McGrath <roland@hack.frob.com>
4971
4972 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
4973 of %rbp unmolested in the jmp_buf while mangling the low bits.
4974 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
4975 unmolested high bits of %rbp while demangling the low bits.
4976 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4977
66274218
AJ
49782012-05-21 Andreas Jaeger <aj@suse.de>
4979
07c58f8f
AJ
4980 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
4981 * sunrpc/svc_simple.c: Use it for registerrpc.
4982 * sunrpc/xcrypt.c: Use it for passwd2des.
4983
66274218
AJ
4984 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
4985
61f65140
L
49862012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4987
4988 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
4989 Don't define if [__SYSCALL_WORDSIZE != 32].
4990 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
4991 New macro.
4992
5fefb436
AJ
49932012-05-21 Bruno Haible <bruno@clisp.org>
4994 Andreas Jaeger <aj@suse.de>
4995
4996 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
4997 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
4998 inptr and inend for must_buffer_ch.
4999 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
5000 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
5001 * stdio-common/Makefile (tests): Remove bug15.
5002 (bug15-ENV): Remove macro.
5003 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
5004 anymore.
5005
d8e272ab
AJ
50062012-05-19 Andreas Jaeger <aj@suse.de>
5007 Roland McGrath <roland@hack.frob.com>
5008
5009 * manual/contrib.texi: Completely rewritten. It contains now an
5010 alphabetical list of contributors and their contributions.
5011
4a56a162
RH
50122012-05-21 Richard Henderson <rth@twiddle.net>
5013
5014 * misc/getauxval.c (__getauxval): Use unsigned long int.
5015 * misc/sys/auxv.h: Include <sys/cdefs.h>.
5016 (getauxval): Use unsigned long int.
5017
d024d23c
L
50182012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5019
5020 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5021
cbc00a03
RM
50222012-05-21 Roland McGrath <roland@hack.frob.com>
5023
5024 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
5025 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
5026 __alignof__ (long double).
5027
478143fa
AZ
50282012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5029
5030 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5031
c7683a6d
RH
50322012-05-20 Richard Henderson <rth@twiddle.net>
5033
5034 * misc/getauxval.c: New file.
5035 * misc/sys/auxv.h: New file.
5036 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
5037 (routines): Add getauxval.
5038 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
5039 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
5040 * elf/dl-sysdep.c (_dl_auxv): Remove.
5041 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
5042 * elf/dl-support.c (_dl_auxv): New variable.
5043 (_dl_aux_init): Initialize it.
5044 * manual/startup.texi (Auxiliary Vector): New node.
5045 * sysdeps/generic/bits/hwcap.h: New file.
5046 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
5047 * sysdeps/powerpc/sysdep.h: ... here. Include it.
5048 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
5049 * sysdeps/sparc/sysdep.h: ... here. Include it.
5050 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
5051 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
5052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5053 Update.
c7683a6d
RH
5054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
5055 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
5056 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
5057 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
5058 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5059 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5060 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
5061 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
5062
a6f1845d
AZ
50632012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5064
5065 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5066
cbcbe830
DM
50672012-05-19 David S. Miller <davem@davemloft.net>
5068
5069 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5070
e0b16cc2
JM
50712012-05-19 Joseph Myers <joseph@codesourcery.com>
5072
5073 [BZ #14123]
5074 * math/s_ccosh.c: Include <float.h>
5075 (__ccosh): Avoid internal overflow calculating sinh and cosh
5076 values before multiplying by sin and cos values.
5077 * math/s_ccoshf.c: Likewise.
5078 * math/s_ccoshl.c: Likewise.
5079 * math/s_csin.c: Likewise.
5080 * math/s_csinf.c: Likewise.
5081 * math/s_csinl.c: Likewise.
5082 * math/s_csinh.c: Likewise.
5083 * math/s_csinhf.c: Likewise.
5084 * math/s_csinhl.c: Likewise.
5085 * math/libm-test.inc (ccos_test): Add more tests.
5086 (ccosh_test): Likewise.
5087 (csin_test): Likewise.
5088 (csinh_test): Likewise.
5089 * sysdeps/i386/fpu/libm-test-ulps: Update.
5090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5091
6ad13e08
L
50922012-05-19 H.J. Lu <hongjiu.lu@intel.com>
5093
f66f0ce8
L
5094 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
5095 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
5096
6ad13e08
L
5097 * sysdeps/x86_64/x32/_itoa.h: Add comment.
5098
b1d072a7
JM
50992012-05-19 Joseph Myers <joseph@codesourcery.com>
5100
5101 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
5102 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
5103 * sysdeps/powerpc/soft-fp/Versions: Likewise.
5104 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
5105 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
5106 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
5107 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
5108 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
5109 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
5110 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
5111 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
5112 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
5113 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
5114 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
5115 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
5116 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
5117 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
5118 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
5119 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
5120 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
5121 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
5122 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
5123 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
5124 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
5125 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
5126 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
5127 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
5128 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
5129 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
5130 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
5131 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
5132
9eae47cb
AJ
51332012-05-18 Andreas Jaeger <aj@suse.de>
5134
5135 * csu/.gitignore: Delete.
5136
bb07f69f
L
51372012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5138
5139 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
5140 (timex): Use __syscall_slong_t.
5141
e6bdb741
AJ
51422012-05-18 Andreas Jaeger <aj@suse.de>
5143 Carlos O'Donell <carlos_odonell@mentor.com>
5144
5145 * manual/install.texi (Configuring and compiling): Update
5146 description about files modified in the source directory.
d6c33fda 5147 * INSTALL: Regenerated.
e6bdb741 5148
1b74487e
L
51492012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5150
5151 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
5152 value. Use "or" to set return value to -1.
5153 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
5154 negate return value.
5155
a88b64b9
TMQMF
51562012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5157
5158 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
5159 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
5160 failure if the compiler has Graphite support disabled.
5161 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
5162 Likewise.
5163 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
5164 CFLAGS-memmove.c): Likewise.
5165 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
5166 Likewise.
5167
3707636e
L
51682012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5169
610b8622
L
5170 * sysdeps/x86_64/x32/_itoa.h: New file.
5171
7cd195df
L
5172 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
5173 getdents system call only if kernel and user dirents have the
5174 same d_ino and d_off.
5175
94b07d20
L
5176 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5177 LLONG_MAX != LONG_MAX.
5178 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5179 (_fitoa_word): Likewise.
5180
18298070
L
5181 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
5182 years.
5183 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
5184 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
5185 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
5186
553c7ea4
L
5187 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
5188 include <bits/wordsize.h>. Check __x86_64__ instead of
5189 __WORDSIZE.
5190 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
5191 if __x86_64__ is defined. Use anonymous union on fpstate.
5192
3707636e
L
5193 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
5194 anonymous union.
5195
b53ef01a
AS
51962012-05-18 Andreas Schwab <schwab@linux-m68k.org>
5197
37fb1dc0
AS
5198 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5199 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
5200 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
5201 Refer to _rtld_local_ro instead of _rtld_global_ro.
5202 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
5203 Likewise.
5204 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
5205 Likewise.
5206 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
5207 Likewise.
5208 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
5209 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
5210 of _rtld_global, and rtld_progname instead of _dl_argv[0].
5211
b53ef01a
AS
5212 * sysdeps/powerpc/powerpc32/dl-machine.c
5213 (__elf_machine_runtime_setup) [PROF]: Don't reference
5214 _dl_prof_resolve.
5215
7a185db2
AJ
52162012-05-18 Andreas Jaeger <aj@suse.de>
5217
5218 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
5219 function only available for GCCs before 3.4 since GCC 3.4
5220 introduced a builtin.
5221 (lrint): Likewise.
5222 (llrintf): Likewise.
5223 (llrint): Likewise.
5224 (fmaxf): Likewise.
5225 (fmax): Likewise.
5226 (fminf): Likewise.
5227 (fmin): Likewise.
5228 (rint): Likewise.
5229 (rintf): Likewise.
5230 (nearbyint): Likewise.
5231 (nearbyintf): Likewise.
5232 (ceil): Likewise.
5233 (ceilf): Likewise.
5234 (floor): Likewise.
5235 (floorf): Likewise.
5236
3e5aef87
L
52372012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5238
428bd707
L
5239 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
5240 on both fields and cast pointer to __syscall_ulong_t.
5241
3e5aef87
L
5242 * bits/types.h (__fsword_t): New type.
5243 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
5244 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
5245 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5246 (__FSWORD_T_TYPE): Likewise.
5247 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5248 (__FSWORD_T_TYPE): Likewise.
5249 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5250 (__FSWORD_T_TYPE): Likewise.
5251 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
5252 (__FSWORD_T_TYPE): Likewise.
5253 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
5254 __SWORD_TYPE with __fsword_t.
5255 (statfs64): Likewise.
5256
1ba7c3dc
DM
52572012-05-17 David S. Miller <davem@davemloft.net>
5258
5259 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
5260
59910343
AJ
52612012-05-17 Andreas Jaeger <aj@suse.de>
5262
5263 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
5264 warning.
5265
2e4c1e9e
L
52662012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5267
5268 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
5269
de7f5ce7
AJ
52702012-05-17 Andreas Jaeger <aj@suse.de>
5271
5272 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
5273 when it is used.
5274
286abc3d
CM
52752012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5276
5277 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
5278
477cc68e
L
52792012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5280
5281 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
5282 * sysdeps/x86_64/tst-mallocalign1.c: New file.
5283
1a0994f5
CD
52842012-05-17 Andreas Jaeger <aj@suse.de>
5285 Carlos O'Donell <carlos_odonell@mentor.com>
5286
5287 [BZ #14059]
5288 * sysdeps/x86_64/multiarch/init-arch.h
5289 (bit_YMM_Usable): Rename to...
5290 (bit_AVX_Usable): ... this.
5291 (bit_FMA4_Usable): New macro.
5292 (bit_XMM_state): New macro.
5293 (bit_YMM_state): New macro.
5294 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
5295 [__ASSEMBLER__] (index_AVX_Usable): ... this.
5296 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
5297 (CPUID_OSXSAVE): New macro.
5298 (CPUID_AVX): New macro.
5299 (CPUID_FMA4): New macro.
5300 (index_YMM_Usable): Rename to...
5301 (index_AVX_Usable): ... this.
5302 (HAS_AVX): Use HAS_ARCH_FEATURE.
5303 (HAS_FMA4): Likewise.
5304 (HAS_YMM_USABLE): Remove.
5305 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5306 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
5307 are present.
5308 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
5309 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
5310 * sysdeps/x86_64/multiarch/Makefile: Likewise.
5311 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
5312 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
5313
0af797de
CM
53142012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5315
5316 * math/libm-test.c: Support platforms without multiple rounding modes.
5317 * math/bug-nextafter.c: Support platforms without FP exceptions.
5318 * math/bug-nexttoward.c: Likewise.
5319 * math/test-fenv.c: Likewise.
5320 * math/test-misc.c: Likewise.
5321 * stdlib/bug-getcontext.c: Likewise.
5322
e39745ff
AJ
53232012-05-17 Andreas Jaeger <aj@suse.de>
5324
5325 * manual/examples/search.c (critter_cmp): Change signature to
5326 avoid warnings.
5327 * manual/string.texi (Collation Functions): Likewise.
5328
48970aba
L
53292012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5330
5331 * bits/types.h: Fold copyright years.
5332 * bits/typesizes.h: Likewise.
5333 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
5334 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5335 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
5336 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
5337 * time/time.h: Likewise.
5338
bedee953
PP
53392012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
5340
5341 [BZ #208]
5342 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
5343 in instead of returning them. Return void.
5344 (__libc_mallinfo): Accumulate over all arenas.
5345 (__malloc_stats): Adjust for change in int_mallinfo interface.
5346
61653dfb
RM
53472012-05-16 Roland McGrath <roland@hack.frob.com>
5348
30b99d79
RM
5349 [BZ #10375]
5350 * configure.in (NM): Add AC_CHECK_TOOL for it.
5351 (libc_extra_cflags): New substituted variable.
5352 Check for -fstack-protector being used implicitly.
5353 * configure: Regenerated.
5354 * config.make.in (config-extra-cflags): New variable,
5355 gets @libc_extra_cflags@.
5356 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
5357
61653dfb
RM
5358 [BZ #10375]
5359 * configure.in: Check for _FORTIFY_SOURCE being predefined.
5360 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
5361 * configure: Regenerated.
5362 * config.make.in (CPPUNDEFS): New substituted variable.
5363 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
5364 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
5365 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
5366
661768bb
L
53672012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5368
5369 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
5370 (mq_attr): Use __syscall_slong_t.
5371
d4261567
L
53722012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5373
5374 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
5375 Check __x86_64__ instead of __WORDSIZE.
5376 (_STAT_VER_LINUX): Likewise.
5377 (stat): Check __x86_64__ instead of __WORDSIZE. Use
5378 __syscall_ulong_t and __syscall_slong_t.
5379 (stat64): Likewise.
5380
cf3ff365
L
53812012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5382
5383 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
5384
76cf3e4d
L
53852012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5386
5387 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
5388
a637753a
L
53892012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5390
5391 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
5392 __syscall_ulong_t.
5393
d5e05119
L
5394 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
5395 include <bits/wordsize.h>. Check __x86_64__ instead of
5396 __WORDSIZE.
5397 (greg_t): Use "__extension__ long long int" if __x86_64__ is
5398 defined.
5399 (mcontext_t): Replace "unsigned long" with "unsigned long long".
5400
f62ee380
L
5401 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
5402 include <bits/wordsize.h>. Check __x86_64__ instead of
5403 __WORDSIZE.
5404 (user_regs_struct): Use "__extension__ unsigned long long"
5405 instead of "unsigned long" if __x86_64__ is defined.
5406 (user): Likewise. Pad after pointer field if __ILP32__ is
5407 defined.
5408
4e124ced
JM
54092012-05-16 Joseph Myers <joseph@codesourcery.com>
5410
6a3951a0
JM
5411 * configure.in (makeinfo): Require version 4.5 or later. Allow
5412 versions 5 to 9.
5413 * configure: Regenerated.
5414 * manual/install.texi (texinfo): Increase version requirement to
5415 4.5 or later.
5416 * INSTALL: Regenerated.
5417
4e124ced
JM
5418 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
5419
953ca31a
L
54202012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5421
5422 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
5423
617aca05
L
5424 * sysdeps/x86_64/x32/ffs.c: New file.
5425
5762f7ae
L
5426 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
5427 __syscall_ulong_t.
5428 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
5429 defined. Use __syscall_ulong_t.
5430 (shminfo): Use __syscall_ulong_t.
5431 (shm_info): Likewise.
5432
a26b6856
L
5433 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
5434 __syscall_ulong_t.
5435
cb2b9ef7
L
5436 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
5437 <bits/wordsize.h>.
5438 (msgqnum_t): Use __syscall_ulong_t.
5439 (msglen_t): Likewise.
5440 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
5441 __syscall_ulong_t.
5442
34683bb0
L
5443 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
5444 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5445
84a68786
L
5446 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
5447
48baa5f1
L
5448 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
5449 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
5450
180be88b
L
5451 * sysvipc/sys/msg.h (msgbuf): Replace long int with
5452 __syscall_slong_t.
5453
5e90c8ad
L
5454 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
5455 include <bits/wordsize.h>. Check __x86_64__ instead of
5456 __WORDSIZE.
5457
23dfb58b
L
5458 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
5459 "unsigned long long int" if __x86_64__ is defined.
5460 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
5461
ce5d54b0
L
5462 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
5463 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5464 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
5465
13dc9eac
L
5466 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
5467 <stdint.h>.
5468 (GET_PC): Cast to uintptr_t first.
5469 (GET_FRAME): Likewise.
5470 (GET_STACK): Likewise.
5471
a7895d15
L
5472 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
5473 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
5474 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
5475 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
5476 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
5477 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
5478 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
5479 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
5480 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
5481 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
5482 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
5483 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
5484 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5485 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
5486 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
5487 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
5488 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
5489 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
5490 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
5491 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
5492 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
5493 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
5494 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
5495 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
5496 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
5497 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
5498 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
5499 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
5500 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
5501
656416c9
AS
55022012-05-16 Andreas Schwab <schwab@linux-m68k.org>
5503
5bd66283
AS
5504 * Makerules (+depfiles): Also collect depfiles from .oS in
5505 $(extra-objs).
5506 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
5507 .oS, $(libnldbl-routines)).
5508
656416c9
AS
5509 * Makerules (native-compile-mkdep-flags): Define.
5510 * sunrpc/Makefile (extra-objs): Add $(addprefix
5511 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
5512 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
5513 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
5514 calling $(make-target-directory).
5515
a46f2169
L
55162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5517
5518 * bits/types.h (__snseconds_t): Removed.
5519 * time/time.h (struct timespec): Replace __snseconds_t with
5520 __syscall_slong_t.
5521 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
5522 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
5523 Likewise.
5524 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5525 (__SNSECONDS_T_TYPE): Likewise.
5526 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5527 (__SNSECONDS_T_TYPE): Likewise.
5528 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5529 (__SNSECONDS_T_TYPE): Likewise.
5530
6af6528b
L
55312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5532
5533 * sysdeps/mach/hurd/bits/typesizes.h
5534 (__SYSCALL_SLONG_TYPE): New macro.
5535 (__SYSCALL_ULONG_TYPE): Likewise.
5536
de986b56
L
55372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5538
5539 * bits/types.h (__syscall_slong_t): New type.
5540 (__syscall_ulong_t): Likewise.
5541
5542 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
5543 (__SYSCALL_ULONG_TYPE): Likewise.
5544 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5545 (__SYSCALL_SLONG_TYPE): Likewise.
5546 (__SYSCALL_ULONG_TYPE): Likewise.
5547 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5548 (__SYSCALL_SLONG_TYPE): Likewise.
5549 (__SYSCALL_ULONG_TYPE): Likewise.
5550 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5551 (__SYSCALL_SLONG_TYPE): Likewise.
5552 (__SYSCALL_ULONG_TYPE): Likewise.
5553
85736dc7
L
55542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5555
5556 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
5557 Add sigaltstack-offsets.sym.
5558 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
5559 <sigaltstack-offsets.h>.
5560 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
5561 longjmp_msg pointer.
5562 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
5563 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
5564 signal stack.
5565 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
5566
cc03b296
JM
55672012-05-15 Joseph Myers <joseph@codesourcery.com>
5568
a9538892
JM
5569 * elf/stackguard-macros.h: Remove file.
5570 * sysdeps/generic/stackguard-macros.h: New file.
5571 * sysdeps/i386/stackguard-macros.h: Likewise.
5572 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5573 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5574 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5575 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5576 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5577 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5578 * sysdeps/x86_64/stackguard-macros.h: Likewise.
5579 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
5580 <elf/stackguard-macros.h>.
5581
cc03b296
JM
5582 [BZ #14109]
5583 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
5584 __aligned__ in attribute.
5585 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
5586 (gregset_t): Likewise.
5587
93171016
L
55882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5589
5590 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
5591 * sysdeps/x86_64/64/Implies-after: Here. New file.
5592 * sysdeps/x86_64/x32/Implies-after: New file.
5593
d86813a0
L
55942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5595
5596 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
5597 and access return value for _dl_profile_fixup. Use R10_LP to
5598 load frame size.
5599
2953ec75
L
56002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5601
5602 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
5603
3b550e9e
L
56042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5605
5606 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
5607 * sysdeps/x86_64/x32/sysdep.h: New file.
5608
eda41706
L
56092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5610
5611 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
5612 * sysdeps/x86_64/setjmp.S: Likewise.
5613
9ea01d93
AZ
56142012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5615
5616 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
5617 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
5618 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
5619 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
5620 remove unused global constant.
5621
02a91938
CM
56222012-05-15 Chris Metcalf <cmetcalf@tilera.com>
5623
5624 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
5625 include of <not-cancel.h>.
5626
6540185f
RM
56272012-05-15 Roland McGrath <roland@hack.frob.com>
5628
5629 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
5630
509072a0
AJ
56312012-05-15 Jeff Law <law@redhat.com>
5632 Andreas Jaeger <aj@suse.de>
5633
5634 [BZ #13594]
5635 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
5636 out from...
5637 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
5638 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
5639 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
5640 code changing __hst_map_handle.map.
5641
ba75122d
RM
56422012-05-15 Roland McGrath <roland@hack.frob.com>
5643
5644 * configure.in (sysnames): Look for Implies-before and Implies-after
5645 files.
5646 * configure: Regenerated.
5647
890d8bd8
L
56482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5649
5650 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
5651 8-byte data alignment with LP_SIZE alignment.
5652
f6ee6623
L
56532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5654
5655 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
5656 into R10_LP.
5657
ea2626f6
L
56582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5659
5660 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
5661
085f715e
L
56622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5663
5664 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
5665 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
5666 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
5667 Likewise.
5668 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5669
be8498fc
L
56702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5671
5672 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
5673 (stackinfo_sub_sp): Likewise.
5674
70bc83b9
L
56752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5676
5677 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
5678 RAX_LP.
5679
9bc0b730
L
56802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5681
5682 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
5683 into R*_LP.
5684
6d2850e7
L
56852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5686
5687 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
5688 sizes into R*_LP.
5689
3cb84561
L
56902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5691
5692 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
5693
54e2ed81
L
56942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5695
5696 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
5697 into R11_LP and load __x86_64_shared_cache_size_half into
5698 R8_LP.
5699
8a17f349
L
57002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5701
5702 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
5703 R8_LP.
5704
777b1eea
AZ
57052012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5706
5707 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
5708 logb for POWER7.
5709 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
5710 logbf for POWER7.
5711 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
5712 logbl for POWER7.
5713 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
5714 powerpc32/power7/fpu/s_logb.c via #include.
5715 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
5716 powerpc32/power7/fpu/s_logbf.c via #include.
5717 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
5718 powerpc32/power7/fpu/s_logbl.c via #include.
5719
d20d4ac2
JM
57202012-05-15 Joseph Myers <joseph@codesourcery.com>
5721
5722 * README.libm: Remove file.
5723
6cdef1ab
L
57242012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5725
5726 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
5727 count for x32. Use R*_LP and omit operand-size suffix.
5728
0b254d8f
L
57292012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5730
5731 * shlib-versions: Move x86_64-.*-linux.* entries to ...
5732 * sysdeps/x86_64/64/shlib-versions: Here. New file.
5733 * sysdeps/x86_64/x32/shlib-versions: New file.
5734
ceb809dc
RM
57352012-05-14 Roland McGrath <roland@hack.frob.com>
5736
5737 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
5738 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
5739 Use _dl_fatal_printf instead.
5740
37f1abd4
JM
57412012-05-14 Joseph Myers <joseph@codesourcery.com>
5742
5743 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
5744 set if not set by the user. Do not allow for being unset.
5745 * sysdeps/unix/sysv/linux/configure: Regenerated.
5746
11de3a33
L
57472012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5748
5749 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
5750 the `q' suffix from lea and replace .quad with ASM_ADDR.
5751
e02f153a
L
57522012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5753
5754 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
5755 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
5756 instead of $17.
5757 (PTR_DEMANGLE): Likewise.
5758
520ae0fd
L
57592012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5760
5761 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
5762 (LP_OP): Likewise.
5763 (ASM_ADDR): Likewise.
5764 (RAX_LP): Likewise.
5765 (RBP_LP): Likewise.
5766 (RBX_LP): Likewise.
5767 (RCX_LP): Likewise.
5768 (RDI_LP): Likewise.
5769 (RSI_LP): Likewise.
5770 (RSP_LP): Likewise.
5771 (R8_LP): Likewise.
5772 (R9_LP): Likewise.
5773 (R10_LP): Likewise.
5774 (R10_LP): Likewise.
5775 (R11_LP): Likewise.
5776 (R12_LP): Likewise.
5777 (R13_LP): Likewise.
5778 (R14_LP): Likewise.
5779 (R15_LP): Likewise.
5780
b985be81
L
57812012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5782
5783 * sysdeps/x86_64/x32/dl-machine.h: New file.
5784
6a4888ff
AJ
57852012-05-14 Andreas Jaeger <aj@suse.de>
5786
5787 * manual/Makefile (subdir): Remove export of subdir.
5788 (all): Remove target.
5789 (.PHONY): Remove all from list.
5790 (mkinstalldirs): Remove.
5791 (.PHONY): Remove installdirs from list.
5792 ($(inst_infodir)/libc.info): Use make-target-directory.
5793 (installdirs): Remove.
5794 (subdir_%): Remove.
5795 (glibc-targets): Remove.
5796 (lib): Remove.
5797 (stubs): Remove.
5798 ($(objpfx)stubs ../po/manual.pot): Remove.
5799 ($(objpfx)stamp%): Remove.
5800 (make-target-directory): Remove.
5801 (subdir_install): Remove.
5802 (routines): Remove.
5803 (aux): Remove.
5804 (sources): Remove.
5805 (objects): Remove.
5806 (headers): Remove.
5807
5808 [BZ #13750]
5809 * manual/.gitignore: Remove, it's not needed anymore.
5810 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
5811 all files in it.
5812 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
5813 directory.
5814 (texis): Renamed to $(objpfx)texis.
5815 (texis-path): New, contains path to generated files.
5816 (chapters.%): Use texis-path for complete path, add extra argument
5817 libc-texinfo.sh.
5818 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
5819 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
5820 (summary,texi, stamp-summary): Use complete path of
5821 files. Generate files in build dir.
5822 (dir-add.texi): Build in build dir.
5823 (libm-err.texi,stamp-libm-err): Likewise.
5824 (version.texi, stamp-version): Likewise.
5825 (.%c.texi): Likewise.
5826 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
5827 (mostlyclean): Remove target.
5828 (realclean): Remove target.
5829 (generated): Add new variable with contents from mostlyclean and
5830 realclean, remove entries duplicated in common-mostlyclean, add
5831 stamp-libm-err and stamp-version.
5832 (generated-dirs): Add libc directory.
5833 ($(inst_infodir)/libc.info): Install files from build dir.
5834
5835 * manual/install.texi (Configuring and compiling): Adjust since
5836 the info files are not part of the tar ball anymore.
5837
7ac77294
AJ
58382012-05-14 Andreas Jaeger <aj@suse.de>
5839
5840 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
5841 variable.
5842
ffb7875d
JM
58432012-05-14 Joseph Myers <joseph@codesourcery.com>
5844
5845 [BZ #13717]
5846 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5847 to 2.2.0 where earlier.
5848 * sysdeps/unix/sysv/linux/configure: Regenerated.
5849 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
5850 Remove conditional code.
5851 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
5852 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
5853 Remove conditional code.
5854 [!__NR_lchown]: Likewise.
5855 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5856 [__NR_lchown]: Likewise.
5857 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
5858 comment referencing __ASSUME_LCHOWN_SYSCALL.
5859 * sysdeps/unix/sysv/linux/i386/sigaction.c
5860 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5861 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5862 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
5863 Remove conditional code.
5864 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
5865 (__protocol_available): Remove #if 0 code.
5866 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
5867 conditional code.
5868 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
5869 * sysdeps/unix/sysv/linux/kernel-features.h
5870 (__ASSUME_GETCWD_SYSCALL): Don't define.
5871 (__ASSUME_REALTIME_SIGNALS): Likewise.
5872 (__ASSUME_PREAD_SYSCALL): Likewise.
5873 (__ASSUME_PWRITE_SYSCALL): Likewise.
5874 (__ASSUME_POLL_SYSCALL): Likewise.
5875 (__ASSUME_LCHOWN_SYSCALL): Likewise.
5876 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
5877 non-SPARC.
5878 (__ASSUME_SIOCGIFNAME): Don't define.
5879 (__ASSUME_MSG_NOSIGNAL): Likewise.
5880 (__ASSUME_SENDFILE): Define unconditionally.
5881 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
5882 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
5883 conditional code.
5884 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
5885 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
5886 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5887 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5888 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
5889 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5890 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
5892 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5893 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5895 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5896 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
5898 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5899 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5901 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5902 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
5904 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5905 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5907 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5908 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
5910 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5911 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5913 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5914 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5915 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
5916 Remove conditional code.
5917 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5918 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5919 Remove conditional code.
5920 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5921 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
5922 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
5923 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5924 Remove conditional code.
5925 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5926 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
5927 Remove conditional code.
5928 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5929 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
5930 Remove conditional code.
5931 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5932 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5933 Remove conditional code.
5934 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5935 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5936 Remove conditional code.
5937 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5938 * sysdeps/unix/sysv/linux/sh/pwrite64.c
5939 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5940 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5941 * sysdeps/unix/sysv/linux/sigaction.c
5942 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5943 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5944 * sysdeps/unix/sysv/linux/sigpending.c
5945 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5946 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5947 * sysdeps/unix/sysv/linux/sigprocmask.c
5948 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5949 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5950 * sysdeps/unix/sysv/linux/sigsuspend.c
5951 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5952 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5953 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5954 (__libc_missing_rt_sigs): Remove.
5955 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
5956 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
5957 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
5958 Remove conditional code.
5959 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
5960 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
5961 return 1.
5962 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
5963 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
5964 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
5965 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
5966
1bfb7291
AJ
59672012-05-14 Andreas Jaeger <aj@suse.de>
5968
caae5a81
AJ
5969 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
5970 it's not used in glibc.
5971 (__coshm1): Likewise.
5972 (__acosh1p): Likewise.
5973 (__sgn): Likewise.
5974
1bfb7291
AJ
5975 * manual/string.texi (Copying and Concatenation): Add missing
5976 variable in concat example.
5977 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5978
c044d724
L
59792012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5980
144c5467 5981 [BZ #14103]
c044d724
L
5982 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
5983 __builtin_clzl with __builtin_clzll.
5984
2523c62b
L
59852012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5986
5987 [BZ #14104]
5988 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
5989 libc_freeres_ptr.
5990
d7bb4c42
LD
59912012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5992
5993 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
5994 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
5995 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
5996 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
5997
9dc4e1fb
MF
59982012-05-14 Mike Frysinger <vapier@gentoo.org>
5999
6000 * NEWS: Update ia64 info.
6001
c7df0112
AS
60022012-05-12 Andreas Schwab <schwab@linux-m68k.org>
6003
6004 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
6005 used as bcopy.
6006
dc70356c
TS
60072012-05-12 Thomas Schwinge <thomas@codesourcery.com>
6008
6009 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
6010 * sysdeps/unix/syscalls.list (dup3): Likewise.
6011 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
6012 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
6013
9fb1a21f
L
60142012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6015
6016 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
6017 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
6018
4822a2a5
L
60192012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6020
6021 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
6022 thread pointer.
6023 (TLS_IE): Use mov/add instead of movq/addq to load thread
6024 pointer.
6025 (TLS_GD_PREFIX): New.
6026 (TLS_GD): Use it.
6027
842b81d6
DM
60282012-05-11 David S. Miller <davem@davemloft.net>
6029
6030 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
6031 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
6032 (_FPU_SETCW): Likewise.
6033
1cf463cd
L
60342012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6035
6036 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
6037 is 32-byte aligned.
6038
60cc4a18
AS
60392012-05-11 Andreas Schwab <schwab@linux-m68k.org>
6040
6041 [BZ #11837]
6042 * iconvdata/gb18030.c: Update tables.
6043 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
6044 characters specially.
6045 (BODY for TO_LOOP): Add encoding of missing ranges.
6046
febb44a4
TS
60472012-05-11 Thomas Schwinge <thomas@codesourcery.com>
6048
6049 [BZ #13673]
6050 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
6051 * sysdeps/mach/hurd/dup3.c: Likewise.
6052 * sysdeps/mach/hurd/readlinkat.c: Likewise.
6053 * sysdeps/powerpc/memmove.c:: Likewise.
6054
0a10fb9e
L
60552012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6056
6057 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
6058 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
6059
df8a552f
L
60602012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6061
6062 * elf/elf.h (R_X86_64_RELATIVE64): New.
6063 (R_X86_64_NUM): Updated.
6064 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6065 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
6066 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
6067 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
6068 tst-quad1pie tst-quad2pie
6069 (modules-names): Add tst-quadmod1 tst-quadmod2.
6070 ($(objpfx)tst-quad1): New dependency.
6071 ($(objpfx)tst-quad2): Likewise.
6072 ($(objpfx)tst-quad1pie): Likewise.
6073 ($(objpfx)tst-quad2pie): Likewise.
6074 * sysdeps/x86_64/tst-quad1.c: New file.
6075 * sysdeps/x86_64/tst-quad1pie.c: New file.
6076 * sysdeps/x86_64/tst-quad2.c: Likewise.
6077 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
6078 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
6079 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
6080 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
6081 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
6082
f34d6f84
ST
60832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6084
f42d41d1
ST
6085 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
6086 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
6087 * streams/stropts.h (t_scalar_t): Define type.
6088
3c3571fc
ST
6089 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
6090 (_PATH_PRESERVE): Set to "/var/lib".
6091 (_PATH_RWHODIR): Set to "/var/spool/rwho".
6092
61f06bd3
ST
6093 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
6094 instead of int.
6095
918d4d71
ST
6096 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
6097 if __dir_mkfile succeeded.
6098
f34d6f84
ST
6099 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
6100 checking for _hurd_dtablesize. Unlock it right after having
6101 finished _hurd_dtable allocation.
6102
10589b4a
TS
61032012-05-10 Thomas Schwinge <thomas@schwinge.name>
6104
674cdbc7
TS
6105 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
6106 * sysdeps/mach/hurd/configure: Regenerated.
6107 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
6108 special-casing to...
6109 * sysdeps/gnu/configure.in: ... this new file.
6110 * sysdeps/unix/sysv/linux/configure: Regenerated.
6111 * sysdeps/gnu/configure: New generated file.
6112
8e41b99f
TS
6113 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
6114 for Linux: use nsec instead of usec, as well as:
6115 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
6116 members of type struct timespec.
6117 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
6118 New macros.
6119 (struct stat64): Likewise.
6120 (_STATBUF_ST_NSEC): New macro.
6121 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
6122
10589b4a
TS
6123 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
6124 __strtoul_internal rather than strtoul.
6125
63643c85
PT
61262012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6127
6128 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
6129 and reject them.
6130
3faebe6a
ST
61312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6132
6133 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
6134 which preserves existing values.
6135 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
6136
c6474b07
PT
61372012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6138
6139 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
6140 TIMEOUT values. Return EINVAL for NFDS values either negative or
6141 greater than FD_SETSIZE.
6142
1043890b
ST
61432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6144
6145 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
6146 allocated, call __vm_protect to finish enabling the existing space, and
6147 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
6148 allocate the remainder.
6149
37ed8b9b
PT
61502012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6151
6152 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
6153 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
6154
db653660
ST
61552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6156
37ed8b9b
PT
6157 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
6158 sysdeps/mach/hurd/readlink.c.
b29d4053 6159
db653660
ST
6160 * posix/tst-sysconf.c (posix_options): Only use
6161 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
6162 _POSIX_SYNCHRONIZED_IO when they are defined
6163 * sysdeps/mach/hurd/bits/posix_opt.h:
6164 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
6165 (_XOPEN_REALTIME): Undefine macro.
6166 (_XOPEN_REALTIME_THREADS): Undefine macro.
6167 (_XOPEN_SHM): Undefine macro.
6168 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
6169 macro to -1.
6170 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
6171 macro to -1.
6172 (_POSIX_ASYNC_IO): Undefine macro.
6173 (_POSIX_PRIORITIZED_IO): Undefine macro.
6174 (_POSIX_SPIN_LOCKS): Define macro to -1.
6175
ee16e894
ST
6176 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
6177 SA_NODEFER, SA_RESETHAND.
6178 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
6179 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
6180 F_DUPFD_CLOEXEC.
6181
6103ae3b
TS
61822012-05-10 Thomas Schwinge <thomas@schwinge.name>
6183
6184 * elf/Makefile (pldd-modules): Define unconditionally.
6185
80b4e5f3
TS
61862012-05-10 Thomas Schwinge <thomas@schwinge.name>
6187
6188 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
6189
edadcbd6
ST
61902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6191
6192 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
6193 Return ENOENT when name is empty.
6194 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
6195
80694780
TS
61962012-05-10 Thomas Schwinge <thomas@schwinge.name>
6197
1792c087
TS
6198 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
6199
80694780
TS
6200 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
6201
6b645f0d
ST
62022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6203
80694780
TS
6204 Fix mlock in all cases except non-readable pages.
6205 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
6206 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 6207
6b645f0d
ST
6208 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
6209 (__mkdir): When path is `/', just fail with EEXIST.
6210 * sysdeps/mach/hurd/mkdirat.c: Likewise.
6211
e468f8a3
TS
62122012-05-10 Thomas Schwinge <thomas@schwinge.name>
6213
6214 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
6215 <sys/uio.h> (for writev).
6216 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
6217 and <sys/param.h> (for MIN).
6218
a4186cff
PT
62192012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6220
6221 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
6222 REQUESTED_TIME. Properly set the remaining time and return EINTR
6223 if interrupted.
6224
510bbf14
TS
62252012-05-10 Thomas Schwinge <thomas@schwinge.name>
6226
6227 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
6228 Depend on against $(link-rpcuserlibs).
6229
5d5722e8
ST
62302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6231
a4186cff
PT
6232 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
6233 (__libc_stack_end): Do not use attribute_relro.
6234 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
6235 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 6236 to libthread-provided value.
a4186cff
PT
6237 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
6238 attribute_relro.
5d5722e8 6239
37233df9
TS
62402012-05-10 Thomas Schwinge <thomas@schwinge.name>
6241
be971a2b
TS
6242 [BZ #3748]
6243 * bits/libc-lock.h (__libc_once_get): New macro.
6244 * sysdeps/mach/bits/libc-lock.h: Likewise.
6245 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
6246 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
6247 instead of using implementation details.
6248
37233df9
TS
6249 * libio/fileops.c: Unconditionally include <kernel-features.h>.
6250 * libio/freopen.c: Likewise.
6251 * libio/freopen64.c: Likewise.
6252 * misc/syslog.c: Likewise.
6253 * nscd/connections.c: Likewise.
6254 * nscd/netgroupcache.c: Likewise.
6255 * sysdeps/posix/getcwd.c: Likewise.
6256
38de94a5
RM
62572012-05-10 Roland McGrath <roland@hack.frob.com>
6258
6259 * math/w_ilogbf.c: Add #include <limits.h>.
6260
67530489
ST
62612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6262
a4186cff 6263 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
6264 path instead of returning without unlocking.
6265
67530489
ST
6266 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
6267 immediate-write ioctls.
6268 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
6269
5aa3a74a
TS
62702012-05-10 Thomas Schwinge <thomas@schwinge.name>
6271
18bad2ae
TS
6272 * sysdeps/mach/hurd/i386/init-first.c (init): Use
6273 __builtin_frame_address instead of making assumptions about the
6274 location of the return address relative to DATA. Force early load of
6275 the return address.
6276 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
6277 __builtin_frame_address.
6278
5aa3a74a
TS
6279 dup3 for GNU Hurd.
6280 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
6281 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
6282 implement dup3 and do some further code clean-ups.
6283 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
6284 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
6285
ecd0de9a
ST
62862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6287
cd9fa985
ST
6288 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
6289
a4186cff
PT
6290 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
6291 HURD_CRITICAL_END around holding _hurd_dtable_lock.
6292 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
6293 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
6294 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
6295 d->port.lock.
802ca5a5 6296
a4186cff
PT
6297 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
6298 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
6299 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 6300
bcf55240
TS
63012012-05-10 Thomas Schwinge <thomas@schwinge.name>
6302
6960eb42
TS
6303 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
6304 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
6305 definitions.
6306
eb43375f
TS
6307 accept4 for GNU Hurd.
6308 * include/sys/socket.h (__libc_accept4): New prototype.
6309 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
6310 to implement __libc_accept4.
6311 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
6312 __libc_accept4.
6313 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
6314
bcf55240
TS
6315 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
6316 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
6317 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
6318 signal-defines.sym.
6319
6178c55b
ST
63202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6321
a4186cff 6322 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 6323
6f080c2f
TS
63242012-05-10 Thomas Schwinge <thomas@schwinge.name>
6325
6326 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
6327 assertion on O_CLOEXEC flag.
6328 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
6329 * hurd/intern-fd.c: Likewise.
6330 * hurd/port2fd.c: Likewise.
6331
bcfe3a54
ST
63322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6333
6334 [BZ #3906]
6335 * bits/in.h (IPV6_PKTINFO): Define new macro.
6336 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
6337
89c9aa49
AZ
63382012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6339
6340 [BZ #13954]
6341 [BZ #13955]
6342 [BZ #13956]
6343 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
6344 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6345 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
6346 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6347 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6348 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6349 * math/libm-test.inc (logb_test) : Additional logb tests.
6350
021db4be
AJ
63512012-05-09 Andreas Schwab <schwab@linux-m68k.org>
6352 Andreas Jaeger <aj@suse.de>
6353
6354 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
6355 * configure: Regenerated.
6356 * config.h.in (LINK_OBSOLETE_RPC): New macro.
6357 * config.make.in (link-obsolete-rpc): New substituted variable.
6358 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
6359 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
6360 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6361 (shared-only-routines): Don't set it under [link-obsolete-rpc],
6362 so that libc.a contains the symbols.
6363 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6364 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
6365 * sunrpc/auth_none.c: Likewise.
6366 * sunrpc/auth_unix.c: Likewise.
6367 * sunrpc/authdes_prot.c: Likewise.
6368 * sunrpc/authuxprot.c: Likewise.
6369 * sunrpc/clnt_gen.c: Likewise.
6370 * sunrpc/clnt_perr.c: Likewise.
6371 * sunrpc/clnt_raw.c: Likewise.
6372 * sunrpc/clnt_simp.c: Likewise.
6373 * sunrpc/clnt_tcp.c: Likewise.
6374 * sunrpc/clnt_udp.c: Likewise.
6375 * sunrpc/clnt_unix.c: Likewise.
6376 * sunrpc/des_crypt.c: Likewise.
6377 * sunrpc/des_soft.c: Likewise.
6378 * sunrpc/get_myaddr.c: Likewise.
6379 * sunrpc/key_call.c: Likewise.
6380 * sunrpc/key_prot.c: Likewise.
6381 * sunrpc/netname.c: Likewise.
6382 * sunrpc/pm_getmaps.c: Likewise.
6383 * sunrpc/pm_getport.c: Likewise.
6384 * sunrpc/pmap_clnt.c: Likewise.
6385 * sunrpc/pmap_prot.c: Likewise.
6386 * sunrpc/pmap_prot2.c: Likewise.
6387 * sunrpc/pmap_rmt.c: Likewise.
6388 * sunrpc/publickey.c: Likewise.
6389 * sunrpc/rpc_cmsg.c: Likewise.
6390 * sunrpc/rpc_common.c: Likewise.
6391 * sunrpc/rpc_dtable.c: Likewise.
6392 * sunrpc/rpc_prot.c: Likewise.
6393 * sunrpc/rpc_thread.c: Likewise.
6394 * sunrpc/rtime.c: Likewise.
6395 * sunrpc/svc.c: Likewise.
6396 * sunrpc/svc_auth.c: Likewise.
6397 * sunrpc/svc_raw.c: Likewise.
6398 * sunrpc/svc_run.c: Likewise.
6399 * sunrpc/svc_tcp.c: Likewise.
6400 * sunrpc/svc_udp.c: Likewise.
6401 * sunrpc/svc_unix.c: Likewise.
6402 * sunrpc/svcauth_des.c: Likewise.
6403 * sunrpc/xcrypt.c: Likewise.
6404 * sunrpc/xdr.c: Likewise.
6405 * sunrpc/xdr_array.c: Likewise.
6406 * sunrpc/xdr_float.c: Likewise.
6407 * sunrpc/xdr_intXX_t.c: Likewise.
6408 * sunrpc/xdr_mem.c: Likewise.
6409 * sunrpc/xdr_rec.c: Likewise.
6410 * sunrpc/xdr_ref.c: Likewise.
6411 * sunrpc/xdr_sizeof.c: Likewise.
6412 * sunrpc/xdr_stdio.c: Likewise.
6413
b5c086a2
RM
64142012-05-10 Roland McGrath <roland@hack.frob.com>
6415
6416 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
6417 change. Update copyright years.
6418
6d74dd09
JM
64192012-05-10 Joseph Myers <joseph@codesourcery.com>
6420
6421 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
6422
28e72501
MK
64232012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
6424 Joseph Myers <joseph@codesourcery.com>
6425 Paul Pluzhnikov <ppluzhnikov@google.com>
6426
6427 [BZ #14012]
6428 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
6429 requiring rpcgen.
6430 [cross-compiling] (extra-libs): Likewise.
6431 [cross-compiling] (extra-libs-others): Likewise.
6432 [cross-compiling] (librpcsvc-routines): Likewise.
6433 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
6434 [cross-compiling] (omit-deps): Likewise.
6435 (sunrpc-CPPFLAGS): New variable.
6436 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
6437 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
6438 (cross-rpcgen-objs): New variable.
6439 (extra-objs): Append $(cross-rpcgen-objs).
6440 ($(cross-rpcgen-objs)): New rule.
6441 ($(objpfx)cross-rpcgen): Likewise.
6442 (rpcgen-cmd): Define to use $(built-program-file). Expand
6443 comment.
6444 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
6445 ($(objpfx)x%.stmp): Likewise.
6446 * sunrpc/proto.h [IS_IN_build] (_): Define.
6447 [IS_IN_build] (_libc_intl_domainname): Likewise.
6448
c8c59454
L
64492012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6450
6451 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
6452 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
6453 and R_X86_64_TPOFF64.
6454
6f27cd16
JM
64552012-05-10 Joseph Myers <joseph@codesourcery.com>
6456
6457 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
6458 sysdeps/unix/sysv/syscalls.list.
6459 (stime): Likewise.
6460 (utime): Likewise.
6461 * sysdeps/unix/sysv/syscalls.list: Remove file.
6462
02467e1c
PE
64632012-05-10 Paul Eggert <eggert@cs.ucla.edu>
6464
6465 [BZ #3440]
6466 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
6467 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
6468 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
6469 (__LC_IDENTIFICATION): Make these macros useful in #if
6470 expressions, as required by C99.
6471
da392631
AS
64722012-05-10 Andreas Schwab <schwab@linux-m68k.org>
6473
6474 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
6475 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
6476 after this.
6477
8115f29b
L
64782012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6479
6480 * stdlib/longlong.h: Updated from GCC.
6481
bdd74070
AJ
64822012-05-09 Andreas Jaeger <aj@suse.de>
6483
edfe0dbe
AJ
6484 * nscd/nscd.c (run_modes): Make named enum, reorder so that
6485 default is first entry.
6486 (run_mode): Set type.
6487 (main): Remove informal message about syslog.
6488 (options): Fix typo.
6489
bcfe3a54
ST
6490 [BZ #14053]
6491 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 6492 to asm.
bcfe3a54
ST
6493 (lrint): Likewise.
6494 (llrintf): Likewise.
6495 (llrint): Likewise.
6496 (rint): Likewise.
6497 (rintf): Likewise.
6498 (nearbyint): Likewise.
6499 (nearbyintf): Likewise.
bdd74070 6500
91d8d69e
AJ
65012012-05-09 Andreas Jaeger <aj@suse.de>
6502 Pedro Alves <palves@redhat.com>
6503
6504 * nscd/nscd.c (run_mode): Use enum.
6505 (main): Cleanup coding style issue.
6506
bb90b80b
AJ
65072012-05-09 Alexandre Oliva <aoliva@redhat.com>
6508 Andreas Jaeger <aj@suse.de>
6509
bcfe3a54
ST
6510 * nscd/nscd.c (go_background): Replaced with...
6511 (run_mode): ... this.
bb90b80b 6512 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
6513 (options): Add -F --foreground.
6514 (main): Implement it.
6515 (parse_opt): Parse it.
bb90b80b 6516
1a4b75a1
AJ
65172012-05-09 Andreas Jaeger <aj@suse.de>
6518
6519 [BZ #14083]
6520 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
6521 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
6522 -Wconversion warning.
6523 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
6524 Likewise.
6525
b1cc2472
JM
65262012-05-09 Joseph Myers <joseph@codesourcery.com>
6527
6528 * conform/data/locale.h-data (NULL): Use macro-constant. Require
6529 == 0.
6530 (LC_ALL): Use macro-int-constant.
6531 (LC_COLLATE): Likewise.
6532 (LC_CTYPE): Likewise.
6533 (LC_MESSAGES): Likewise.
6534 (LC_MONETARY): Likewise.
6535 (LC_NUMERIC): Likewise.
6536 (LC_TIME): Likewise.
6537 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
6538 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6539 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6540 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
6541 Specify type.
6542 [C99-based standards] (float_t): Expect type.
6543 [C99-based standards] (double_t): Expect type.
6544 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
6545 type.
6546 [C99-based standards] (HUGE_VALL): Likewise.
6547 [C99-based standards] (INFINITY): Likewise.
6548 [C99-based standards] (NAN): Likewise.
6549 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
6550 [C99-based standards] (FP_NAN): Likewise.
6551 [C99-based standards] (FP_NORMAL): Likewise.
6552 [C99-based standards] (FP_SUBNORMAL): Likewise.
6553 [C99-based standards] (FP_ZERO): Likewise.
6554 [C99-based standards] (FP_FAST_FMA): Use
6555 optional-macro-int-constant. Specify type. Require == 1.
6556 [C99-based standards] (FP_FAST_FMAF): Likewise.
6557 [C99-based standards] (FP_FAST_FMAL): Likewise.
6558 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
6559 [C99-based standards] (FP_ILOGBNAN): Likewise.
6560 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
6561 Specify type.
6562 [C99-based standards] (MATH_ERREXCEPT): Likewise.
6563 [C99-based standards] (math_errhandling): Specify type.
6564 [ISO99 || ISO11] (signgam): Do not allow.
6565 [non-C99-based standards] (copysignf): Do not allow.
6566 [non-C99-based standards] (exp2f): Likewise.
6567 [non-C99-based standards] (log2f): Likewise.
6568 [non-C99-based standards] (modff): Allow.
6569 [non-C99-based standards] (erff): Do not allow.
6570 [non-C99-based standards] (erfcf): Likewise.
6571 [non-C99-based standards] (gammaf): Likewise.
6572 [non-C99-based standards] (hypotf): Likewise.
6573 [non-C99-based standards] (j0f): Likewise.
6574 [non-C99-based standards] (j1f): Likewise.
6575 [non-C99-based standards] (jnf): Likewise.
6576 [non-C99-based standards] (lgammaf): Likewise.
6577 [non-C99-based standards] (tgammaf): Likewise.
6578 [non-C99-based standards] (y0f): Likewise.
6579 [non-C99-based standards] (y1f): Likewise.
6580 [non-C99-based standards] (ynf): Likewise.
6581 [non-C99-based standards] (isnanf): Likewise.
6582 [non-C99-based standards] (acoshf): Likewise.
6583 [non-C99-based standards] (asinhf): Likewise.
6584 [non-C99-based standards] (atanhf): Likewise.
6585 [non-C99-based standards] (cbrtf): Likewise.
6586 [non-C99-based standards] (expm1f): Likewise.
6587 [non-C99-based standards] (ilogbf): Likewise.
6588 [non-C99-based standards] (log1pf): Likewise.
6589 [non-C99-based standards] (logbf): Likewise.
6590 [non-C99-based standards] (nextafterf): Likewise.
6591 [non-C99-based standards] (remainderf): Likewise.
6592 [non-C99-based standards] (rintf): Likewise.
6593 [non-C99-based standards] (scalbf): Likewise.
6594 [non-C99-based standards] (copysignl): Likewise.
6595 [non-C99-based standards] (exp2l): Likewise.
6596 [non-C99-based standards] (log2l): Likewise.
6597 [non-C99-based standards] (modfl): Allow.
6598 [non-C99-based standards] (erfl): Do not allow.
6599 [non-C99-based standards] (erfcl): Likewise.
6600 [non-C99-based standards] (gammal): Likewise.
6601 [non-C99-based standards] (hypotl): Likewise.
6602 [non-C99-based standards] (j0l): Likewise.
6603 [non-C99-based standards] (j1l): Likewise.
6604 [non-C99-based standards] (jnl): Likewise.
6605 [non-C99-based standards] (lgammal): Likewise.
6606 [non-C99-based standards] (tgammal): Likewise.
6607 [non-C99-based standards] (y0l): Likewise.
6608 [non-C99-based standards] (y1l): Likewise.
6609 [non-C99-based standards] (ynl): Likewise.
6610 [non-C99-based standards] (isnanl): Likewise.
6611 [non-C99-based standards] (acoshl): Likewise.
6612 [non-C99-based standards] (asinhl): Likewise.
6613 [non-C99-based standards] (atanhl): Likewise.
6614 [non-C99-based standards] (cbrtl): Likewise.
6615 [non-C99-based standards] (expm1l): Likewise.
6616 [non-C99-based standards] (ilogbl): Likewise.
6617 [non-C99-based standards] (log1pl): Likewise.
6618 [non-C99-based standards] (logbl): Likewise.
6619 [non-C99-based standards] (nextafterl): Likewise.
6620 [non-C99-based standards] (remainderl): Likewise.
6621 [non-C99-based standards] (rintl): Likewise.
6622 [non-C99-based standards] (scalbl): Likewise.
6623 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6624 [non-C99-based standards] (FP_*): Do not allow.
6625 [C99-based standards] (FP_*): Change to
6626 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6627 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6628 allow.
6629 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
6630 (SIG_ERR): Likewise.
6631 [X/Open-based standards] (SIG_HOLD): Likewise.
6632 (SIG_IGN): Likewise.
6633 (SIGABRT): Use macro-int-constant. Specify type. Require
6634 positive value.
6635 (SIGFPE): Likewise.
6636 (SIGILL): Likewise.
6637 (SIGINT): Likewise.
6638 (SIGSEGV): Likewise.
6639 (SIGTER): Likewise.
6640 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
6641 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
6642 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
6643 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
6644 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
6645 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
6646 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
6647 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
6648 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
6649 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
6650 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
6651 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
6652 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
6653 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
6654 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
6655 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
6656 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
6657 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
6658 [X/Open-based standards] (SIGTRAP): Likewise.
6659 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
6660 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
6661 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
6662 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
6663 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6664 allow.
6665
b9f1922d
IW
66662012-05-08 Ian Wienand <ianw@vmware.com>
6667
6668 [BZ #14080]
6669 * time/tzset.c (__tzset_parse_tz): Update default rules for
6670 daylight time changes in the Energy Policy Act of 2005.
6671
1db86e88
AJ
66722012-05-09 Andreas Jaeger <aj@suse.de>
6673
6674 [BZ #13983]
6675 * elf/ldconfig.c (parse_conf): Change string to make clear that
6676 ldconfig only issued a warning if ld.so.conf does not exist.
6677
dee4a4e3
DM
66782012-05-08 David S. Miller <davem@davemloft.net>
6679
ee0db190
DM
6680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
6681 movxtod instead of popping the value on the stack.
6682
dee4a4e3
DM
6683 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6684
6a43ec98
CD
66852012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
6686
6687 * config.h.in: Add HAVE_ARM_PCS_VFP.
6688
05c2c961
RMG
66892012-05-08 Roland Mc Grath <roland@hack.frob.com>
6690
bcfe3a54
ST
6691 [BZ #13979]
6692 * include/features.h: Warn if user requests __FORTIFY_SOURCE
6693 checking but the checks are disabled for any reason.
05c2c961 6694
4b30f61a
L
66952012-05-08 H.J. Lu <hongjiu.lu@intel.com>
6696
6697 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
6698 and ELF64_R_TYPE with ELFW(R_TYPE).
6699
eee2bc67
JM
67002012-05-08 Joseph Myers <joseph@codesourcery.com>
6701
7ea5391a
JM
6702 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
6703 (ulimit): Likewise.
6704
eee2bc67
JM
6705 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
6706 (settimeofday): Likewise.
6707
abb66a67
MF
67082012-05-08 Mike Frysinger <vapier@gentoo.org>
6709
6710 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
6711 a struct th_u2 inside the union, and move tu_block/tu_code into
6712 a new th_u3 union of tu_block/tu_code inside of that. Move
6713 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
6714 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
6715 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
6716 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
6717 (th_stuff): Change to th_u1.tu_stuff.
6718 (th_data): Define.
6719 (th_msg): Change to th_u1.th_u2.tu_data.
6720
7f18b530
DM
67212012-05-07 David S. Miller <davem@davemloft.net>
6722
05760585
DM
6723 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6724
7f18b530
DM
6725 [BZ #14074]
6726 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
6727 (SETUP_PIC_REG): Use it.
6728 (SETUP_PIC_REG_LEAF): Use it.
6729
495fd99f
JM
67302012-05-07 Joseph Myers <joseph@codesourcery.com>
6731
6732 [BZ #13885]
6733 [BZ #13923]
6734 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6735 USE_AS_EXPM1L.
6736 (EXPL_FINITE): Likewise.
6737 (FLDLOG): Likewise.
6738 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6739 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6740 e_expl.S.
6741 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6742 USE_AS_EXPM1L.
6743 (EXPL_FINITE): Likewise.
6744 (FLDLOG): Likewise.
6745 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6746 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6747 e_expl.S.
6748 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
6749 test of -max_value argument for long double.
6750 * sysdeps/i386/fpu/libm-test-ulps: Update.
6751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6752
6693d694
DM
67532012-05-06 David S. Miller <davem@davemloft.net>
6754
6755 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
6756 quad soft-float symbols whose references which are compiler
6757 generated.
6758 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6759
6c23e11c
JM
67602012-05-06 Joseph Myers <joseph@codesourcery.com>
6761
d8b82cad
JM
6762 [BZ #13884]
6763 [BZ #13914]
6764 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6765 USE_AS_EXP10L.
6766 (EXPL_FINITE): Likewise.
6767 (FLDLOG): Likewise.
6768 (c0): Likewise.
6769 (c1): Likewise.
6770 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6771 Adjust comments for base varying.
6772 (__expl_finite): Change alias to EXPL_FINITE.
6773 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
6774 e_expl.S.
6775 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
6776 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6777 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6778 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
6779 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6780 USE_AS_EXP10L.
6781 (EXPL_FINITE): Likewise.
6782 (FLDLOG): Likewise.
6783 (c0): Likewise.
6784 (c1): Likewise.
6785 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6786 Adjust comments for base varying.
6787 (__expl_finite): Change alias to EXPL_FINITE.
6788 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
6789 tests for bugs.
6790 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6791
6c23e11c
JM
6792 [BZ #14064]
6793 * math/libm-test.inc (check_float_internal): Correct ulp
6794 calculation for subnormal expected results.
6795
29ba805c
AJ
67962012-05-06 Andreas Jaeger <aj@suse.de>
6797
6798 * Makeconfig (+math-flags): New, set to -frounding-math.
6799 (+cflags): Add +math-flags so that all of glibc gets compiled with
6800 it.
6801
6802 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
6803
7b17aeda
JM
68042012-05-05 Joseph Myers <joseph@codesourcery.com>
6805
5779f134
JM
6806 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
6807 Disable one test.
6808
41498f4d
JM
6809 [BZ #13787]
6810 [BZ #13922]
6811 [BZ #14036]
6812 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
6813 (__ieee754_expl): Allow for and saturate large arguments.
6814 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
6815 (u_threshold): Likewise.
6816 (__exp): Call __ieee754_exp before checking for overflow and
6817 underflow.
6818 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
6819 (u_threshold): Likewise.
6820 (__expf): Call __ieee754_expf before checking for overflow and
6821 underflow.
6822 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
6823 (u_threshold): Likewise.
6824 (__expl): Call __ieee754_expl before checking for overflow and
6825 underflow.
6826 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
6827 (__ieee754_expl): Allow for and saturate large arguments.
6828 * math/libm-test.inc (exp_test): Add another test. Do not allow
6829 missing overflow exception on overflow.
6830 (expm1_test): Do not allow missing overflow exception on overflow.
6831
6698b8bf
JM
6832 * sysdeps/i386/fpu/e_expl.c: Move to ...
6833 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
6834 rather than using inline asm.
6835 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
6836 * sysdeps/x86_64/fpu/e_expl.S: Copy from
6837 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
6838
7b17aeda
JM
6839 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
6840 (nice): Likewise.
6841 (poll): Likewise.
6842 (signal): Likewise.
6843 (time): Likewise.
6844 (times): Likewise.
6845
f7c85819
JM
68462012-05-04 Joseph Myers <joseph@codesourcery.com>
6847
6848 * sysdeps/unix/syscalls.list (adjtime): Add entry from
6849 sysdeps/unix/common/syscalls.list.
6850 (fchmod): Likewise.
6851 (fchown): Likewise.
6852 (ftruncate): Likewise.
6853 (getrusage): Likewise.
6854 (gettimeofday): Likewise.
6855 (setpgid): Likewise.
6856 (setregid): Likewise.
6857 (setreuid): Likewise.
6858 (sigaction): Likewise.
6859 (truncate): Likewise.
6860 (vhangup): Likewise.
6861 * sysdeps/unix/common/syscalls.list: Remove file.
6862 * sysdeps/unix/bsd/Implies: Don't include unix/common.
6863 * sysdeps/unix/sysv/linux/Implies: Likewise.
6864
336270d0
L
68652012-05-04 H.J. Lu <hongjiu.lu@intel.com>
6866
6867 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
6868 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
6869 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
6870 Moved to ...
6871 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6872 Here.
6873 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
6874 to ...
6875 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
6876 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
6877 to ...
6878 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
6879 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
6880 to ...
6881 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
6882 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
6883 to ...
6884 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
6885 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
6886 to ...
6887 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
6888 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
6889 to ...
6890 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
6891 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
6892 to ...
6893 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6894 Here.
6895 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
6896 to ...
6897 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
6898 Here.
6899 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
6900 to ...
6901 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
6902 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
6903 Moved to ...
6904 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
6905 Here.
6906 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
6907 to ...
6908 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
6909
d128e450
JM
69102012-05-04 Joseph Myers <joseph@codesourcery.com>
6911
fa8ee516
JM
6912 * sysdeps/unix/common/bits/dirent.h: Remove file.
6913 * sysdeps/unix/common/bits/fcntl.h: Likewise.
6914
d128e450
JM
6915 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
6916 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
6917 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
6918 * sysdeps/unix/bsd/isatty.c: Likewise.
6919 * sysdeps/unix/bsd/tcdrain.c: Likewise.
6920 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
6921 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
6922
ff8faaf0 69232012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 6924
62881be4 6925 [BZ #13563]
31dc8730
AZ
6926 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
6927 long double comparison inaccuracies.
6928 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6929 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6930
6fef930c
AS
69312012-05-04 Andreas Schwab <schwab@linux-m68k.org>
6932
6933 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
6934 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
6935
8f203e6c
JM
69362012-05-04 Joseph Myers <joseph@codesourcery.com>
6937
6938 [BZ #14049]
6939 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
6940 nonzero digits before rounding a hex value.
6941 * stdlib/tst-strtod.c (tests): Add another test.
6942
5197d9c2
AK
69432012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6944
6945 * sysdeps/s390/fpu/libm-test-ulps: Update.
6946
f0c1dedf
AJ
69472012-05-03 Andreas Jaeger <aj@suse.de>
6948
6949 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
6950 does not get optimized out.
6951 (malloc_opt_barrier): New.
6952
a65ef2ae 69532012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 6954 Roland McGrath <roland@hack.frob.com>
a65ef2ae 6955
2b942cb7 6956 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 6957 intermediate file deletion.
2b942cb7 6958 (generated): Add .symlist files.
a65ef2ae 6959
54b71e02
JM
69602012-05-03 Joseph Myers <joseph@codesourcery.com>
6961
6962 [BZ #13775]
6963 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
6964 Redirect under this condition.
6965 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6966 [__USE_GNU] (__dprintf_chk): Not under this condition.
6967 [__USE_GNU] (__vdprintf_chk): Likewise.
6968 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
6969 under this condition.
6970 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6971 [__USE_XOPEN2K8] (dprintf): Define under this condition.
6972 [__USE_XOPEN2K8] (vdprintf): Likewise.
6973 [__USE_GNU] (__dprintf_chk): Not under this condition.
6974 [__USE_GNU] (__vdprintf_chk): Likewise.
6975 [__USE_GNU] (dprintf): Likewise.
6976 [__USE_GNU] (vdprintf): Likewise.
6977
d3dfcc41
RM
69782012-05-03 Roland McGrath <roland@hack.frob.com>
6979
6980 * elf/Makefile (common-generated): Set this instead of generated for
6981 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
6982 $(all-built-dso)-derived lists.
6983
7ac30cc5
AJ
69842012-05-03 Andreas Jaeger <aj@suse.de>
6985
0c51e550
AJ
6986 * sysdeps/i386/fpu/libm-test-ulps: Update.
6987
7ac30cc5
AJ
6988 * FAQ: Removed.
6989 * FAQ.in: Likewise.
6990 * scripts/gen-FAQ.pl: Likewise.
6991 * manual/install.texi (Installation): Point to online location of
6992 FAQ.
6993 * Makefile (files-for-dist): Remove FAQ.
6994 (FAQ): Remove.
6995
d4c2917f
AM
69962012-05-02 Allan McRae <allan@archlinux.org>
6997
6998 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
6999 (LDFLAGS-reldepmod5.so): Likewise.
7000 (LDFLAGS-reldep6mod1.so): Likewise.
7001 (LDFLAGS-reldep6mod4.so): Likewise.
7002 (LDFLAGS-reldep8mod3.so): Likewise.
7003 (LDFLAGS-unload4mod1.so): Likewise.
7004 (LDFLAGS-unload4mod2.so): Likewise.
7005 (LDFLAGS-tst-initorder): Likewise.
7006 (LDFLAGS-tst-initordera2.so): Likewise.
7007 (LDFLAGS-tst-initordera3.so): Likewise.
7008 (LDFLAGS-tst-initordera4.so): Likewise.
7009 (LDFLAGS-tst-initorderb2.so): Likewise.
7010 (LDFLAGS-noload): Likewise.
7011 (LDFLAGS-next): Likewise.
7012 (LDFLAGS-order2mod1.so): Likewise.
7013 (LDFLAGS-order2mod2.so): Likewise.
7014 (LDFLAGS-tst-initorder2): Likewise.
7015 (LDFLAGS-tst-initorder2a.so): Likewise.
7016 (LDFLAGS-tst-initorder2b.so): Likewise.
7017 (LDFLAGS-tst-initorder2c.so): Likewise.
7018 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
7019
d77f993f
DM
70202012-05-02 David S. Miller <davem@davemloft.net>
7021
7022 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7023
171a70b4
PP
70242012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
7025
7026 [BZ #14055]
7027 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
7028
0be196ad
AJ
70292012-05-02 Andreas Jaeger <aj@suse.de>
7030
7031 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
7032 since we manipulate rounding mode.
7033 (CPPFLAGS-test-idouble.c): Likewise.
7034 (CPPFLAGS-test-ifloat.c): Likewise.
7035 (CFLAGS-test-ldouble.c): Likewise.
7036 (CFLAGS-test-double.c): Likewise.
7037 (CFLAGS-test-float.c): Likewise.
7038 (CFLAGS-test-misc.c): Likewise.
7039 (CFLAGS-test-test-fenv.c): Likewise.
7040
4f9d04aa
AZ
70412012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7042
2b942cb7
RM
7043 [BZ #2550]
7044 [BZ #2570]
7045 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
7046 comparisons to determine direction to adjust input.
4f9d04aa 7047
82a79e7d
RM
70482012-05-01 Roland McGrath <roland@hack.frob.com>
7049
f5a01ca9
RM
7050 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
7051 output to the target.
7052
90fe4186
RM
7053 * scripts/localplt.awk: New file.
7054 * elf/Makefile ($(objpfx)check-localplt): Target removed.
7055 (check-localplt-CFLAGS): Variable removed.
7056 ($(all-built-dso:=.jmprel)): New static pattern rule.
7057 (generated): Add those targets.
7058 (localplt-built-dso): New variable.
7059 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
7060
7061 * elf/check-localplt.c: File removed.
7062
82397ed6
RM
7063 * scripts/check-execstack.awk: New file.
7064 * elf/Makefile ($(objpfx)check-execstack): Target removed.
7065 (check-execstack-CFLAGS): Variable removed.
7066 ($(objpfx)check-execstack.h): Target removed.
7067 ($(objpfx)execstack-default): New target.
7068 (generated): Add that instead of check-execstack.h.
7069 ($(all-built-dso:=.phdr)): New static pattern rule.
7070 (generated): Add those targets.
7071 * elf/check-execstack.c: File removed.
7072
82a79e7d
RM
7073 * scripts/check-textrel.awk: New file.
7074 * elf/Makefile ($(objpfx)check-textrel): Target removed.
7075 (check-textrel-CFLAGS): Variable removed.
7076 (all-built-dso): Use := to define.o
7077 ($(all-built-dso:=.dyn)): New static pattern rule.
7078 (generated): Add those targets.
7079 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
7080 * config.make.in (READELF): New substituted variable.
7081 * elf/check-textrel.c: File removed.
7082
62fde54f 70832012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 7084
615605c9
JM
7085 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7086 allow.
7087 * conform/data/ctype.h-data [C99-based standards] (isblank):
7088 Expect function.
7089 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
7090 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
7091 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7092 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
7093 Specify type. Require positive value.
7094 (EILSEQ): Likewise.
7095 (ERANGE): Likewise.
7096 [ISO || POSIX] (EILSEQ): Do not expect.
7097 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
7098 Specify type. Require positive value.
7099 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
7100 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
7101 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
7102 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
7103 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
7104 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
7105 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
7106 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
7107 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
7108 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
7109 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
7110 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
7111 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
7112 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
7113 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
7114 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
7115 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
7116 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
7117 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
7118 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
7119 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
7120 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
7121 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
7122 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
7123 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
7124 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
7125 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
7126 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
7127 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
7128 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
7129 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
7130 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
7131 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
7132 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
7133 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
7134 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
7135 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
7136 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
7137 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
7138 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
7139 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
7140 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
7141 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
7142 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
7143 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
7144 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
7145 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
7146 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
7147 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
7148 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
7149 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
7150 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
7151 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
7152 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
7153 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
7154 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
7155 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
7156 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
7157 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
7158 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
7159 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
7160 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
7161 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
7162 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
7163 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
7164 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
7165 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
7166 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
7167 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
7168 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
7169 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
7170 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
7171 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
7172 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
7173 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
7174 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
7175 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
7176 Require >= 2.
7177 (FLT_ROUNDS): Expect as macro, not constant.
7178 (FLT_MANT_DIG): Use macro-int-constant.
7179 (DBL_MANT_DIG): Likewise.
7180 (LDBL_MANT_DIG): Likewise.
7181 (FLT_DIG): Likewise.
7182 (DBL_DIG): Likewise.
7183 (LDBL_DIG): Likewise.
7184 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
7185 (DBL_MIN_EXP): Likewise.
7186 (LDBL_MIN_EXP): Likewise.
7187 (FLT_MAX_EXP): Use macro-int-constant.
7188 (DBL_MAX_EXP): Likewise.
7189 (LDBL_MAX_EXP): Likewise.
7190 (FLT_MAX_10_EXP): Likewise.
7191 (DBL_MAX_10_EXP): Likewise.
7192 (LDBL_MAX_10_EXP): Likewise.
7193 (FLT_MAX): Use macro-constant.
7194 (DBL_MAX): Likewise.
7195 (LDBL_MAX): Likewise.
7196 (FLT_EPSILON): Use macro-constant. Give upper bound.
7197 (DBL_EPSILON): Likewise.
7198 (LDBL_EPSILON): Likewise.
7199 (FLT_MIN): Likewise.
7200 (DBL_MIN): Likewise.
7201 (LDBL_MIN): Likewise.
7202 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
7203 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
7204 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
7205 [ISO11] (FLT_HAS_SUBNORM): Likewise.
7206 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
7207 [ISO11] (DBL_DECIMAL_DIG): Likewise.
7208 [ISO11] (FLT_DECIMAL_DIG): Likewise.
7209 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
7210 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
7211 [ISO11] (FLT_TRUE_MIN): Likewise.
7212 [ISO11] (LDBL_TRUE_MIN): Likewise.
7213 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7214 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
7215 (SCHAR_MIN): Use macro-int-constant. Specify type.
7216 (SCHAR_MAX): Likewise.
7217 (UCHAR_MAX): Likewise.
7218 (CHAR_MIN): Likewise.
7219 (CHAR_MAX): Likewise.
7220 (MB_LEN_MAX): Use macro-int-constant.
7221 (SHRT_MIN): Use macro-int-constant. Specify type.
7222 (SHRT_MAX): Likewise.
7223 (USHRT_MAX): Likewise.
7224 (INT_MAX): Likewise.
7225 (INT_MIN): Use macro-int-constant. Specify type. Make upper
7226 bound negative.
7227 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
7228 bound with "U".
7229 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7230 bound with "L".
7231 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
7232 bound negative. Suffix upper bound with "L".
7233 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7234 bound with "UL".
7235 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
7236 Specify type.
7237 [C99-based standards] (LLONG_MAX): Likewise.
7238 [C99-based standards] (ULLONG_MAX): Likewise.
7239 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
7240 == 0.
7241 [ISO11] (max_align_t): Require type.
7242 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7243
c9140a62
JM
7244 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
7245 from $CFLAGS, without defining away __attribute__ calls.
7246 (checknamespace): Use $CFLAGS_namespace.
7247
9af0bf29
JM
7248 * conform/conformtest.pl (@keywords): Only include C99 keywords
7249 for standards based on C99 or C11.
7250
343222a2
JM
7251 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
7252 Disable tests.
7253 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
7254 UNIX98]: Likewise.
7255
661f8cf0
JM
7256 * conform/conformtest.pl: Handle "macro-int-constant" and test for
7257 usability of symbols in #if.
7258
ee74b9cb
JM
7259 * conform/conformtest.pl: If macro or constant types start
7260 "promoted:", expect the symbol to be of the following type
7261 promoted by the integer promotions.
62fde54f 7262
aafc49b3
JM
7263 * conform/conformtest.pl: Parse all "constant" and "macro" lines
7264 in one place. Also handle "macro-constant".
7265
fefdf574
JM
7266 * conform/conformtest.pl: Only accept expected macro values with
7267 "==". Parse all "macro" lines in one place.
7268 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
7269
f2d922fe
JM
7270 * conform/conformtest.pl: Handle braced types on "constant" lines
7271 instead of handling "typed-constant".
7272 * conform/data/signal.h-data: Use "constant" instead of
7273 "typed-constant".
7274
d22956c9
JM
7275 * conform/conformtest.pl: Handle "optional-" at start of lines in
7276 one place rather than duplicating several cases. Handle each
7277 format of "macro" line with initial "optional-".
7278
028e2e38
JM
7279 * conform/conformtest.pl: Only accept expected constant or
7280 optional-constant values with "==". Parse all "constant" lines in
7281 one place. Parse all "optional-constant" lines in one place.
7282 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
7283 * conform/data/fmtmsg.h-data: Likewise.
7284 * conform/data/netinet/in.h-data: Likewise.
7285 * conform/data/tar.h-data: Likewise.
7286 * conform/data/limits.h-data: Use "==" form on "constant" and
7287 "optional-constant" lines.
7288
1b8f2850
JM
7289 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
7290 Use -std=c99 for XOPEN2K.
7291 (@knownproblems): Remove.
7292 (newtoken): Don't check %isknown.
7293
a05a144b
JM
7294 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
7295 Do not expect macro.
7296 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
7297 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
7298 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
7299 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
7300 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
7301 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
7302 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
7303 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
7304 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
7305 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
7306 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
7307 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
7308 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
7309 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
7310 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
7311 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
7312 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
7313 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
7314 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
7315 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
7316 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
7317 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
7318 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
7319 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
7320 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
7321 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
7322 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
7323 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
7324 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
7325 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
7326 [XPG3] (acosh): Likewise.
7327 [XPG3] (asinh): Likewise.
7328 [XPG3] (atanh): Likewise.
7329 [XPG3] (cbrt): Likewise.
7330 [XPG3] (expm1): Likewise.
7331 [XPG3] (ilogb): Likewise.
7332 [XPG3] (log1p): Likewise.
7333 [XPG3] (logb): Likewise.
7334 [XPG3] (nextafter): Likewise.
7335 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
7336 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
7337 [XPG3] (remainder): Likewise.
7338 [XPG3] (rint): Likewise.
7339 [XPG3 || XPG4 || UNIX98] (round): Likewise.
7340 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
7341 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
7342 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
7343 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
7344 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
7345 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
7346 [UNIX98 || XOPEN2K] (scalb): Expect.
7347 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
7348 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
7349 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
7350 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
7351 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
7352 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
7353 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
7354 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
7355 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
7356 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
7357 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
7358 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
7359 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
7360 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
7361 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
7362 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
7363 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
7364 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
7365 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
7366 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
7367 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
7368 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
7369 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
7370 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
7371 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
7372 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
7373 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
7374 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
7375 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
7376 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
7377 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
7378 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
7379 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
7380 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
7381 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
7382 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
7383 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
7384 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
7385 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
7386 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
7387 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
7388 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
7389 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
7390 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
7391 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
7392 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
7393 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
7394 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
7395 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
7396 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
7397 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
7398 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
7399 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
7400 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
7401 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
7402 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
7403 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
7404 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
7405 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
7406 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
7407 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
7408 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
7409 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
7410 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
7411 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
7412 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
7413 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
7414 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
7415 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
7416 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
7417 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
7418 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
7419 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
7420 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
7421 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
7422 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
7423 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
7424 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
7425 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
7426 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
7427 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
7428 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
7429 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
7430 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
7431 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
7432 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
7433 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
7434 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
7435 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
7436 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
7437 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
7438 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
7439 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
7440 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
7441 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
7442 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
7443 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
7444 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
7445 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
7446 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
7447 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
7448 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
7449 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
7450 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
7451 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
7452 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
7453 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
7454 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
7455 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
7456 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
7457 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
7458 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
7459 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
7460 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
7461 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
7462 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
7463 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
7464 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
7465 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
7466 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
7467 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
7468 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
7469 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
7470 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
7471 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
7472 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
7473 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
7474 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
7475 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
7476 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
7477 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
7478 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
7479 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
7480 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
7481 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
7482 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
7483 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
7484
73c5ebe3
JM
7485 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
7486 _XOPEN_SOURCE_EXTENDED for XPG4.
7487
39c33b6c
JM
7488 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
7489
62fde54f
JM
7490 * Makeconfig (localtime): Remove variable.
7491 (inst_localtime-file): Likewise.
7492
0741d64c
AS
74932012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7494
7495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7496 Update.
7497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7498 Update.
7499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7500 Update.
7501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7502 Update.
7503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7504 Update.
7505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
7506 Update.
7507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7508 Update.
7509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
7510 Update.
7511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7512 Update.
7513
7cb029ee
JM
75142012-05-01 Joseph Myers <joseph@codesourcery.com>
7515
7516 [BZ #2550]
7517 [BZ #2570]
7518 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
7519 comparisons to determine direction to adjust input.
7520 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7521 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
7522 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
7523 Likewise.
7524 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
7525 Likewise.
7526 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7527 Likewise.
7528 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
7529 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7530 Likewise.
7531 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7532 Likewise.
7533 * math/libm-test.inc (nexttoward_test): Add more tests.
7534
412bd966
AS
75352012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7536
7537 [BZ #14040]
7538 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
7539 in version GLIBC_2.1, not GLIBC_2.0.
7540 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
7541 Likewise.
7542
9568c0c2
JM
75432012-04-30 Joseph Myers <joseph@codesourcery.com>
7544
adfbc8ac
JM
7545 [BZ #13942]
7546 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
7547 (1 - x) * (1 + x).
7548 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7549 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
7550 * math/libm-test.inc (acos_test): Add more tests.
7551 (asin_test): Likewise.
7552 * sysdeps/i386/fpu/libm-test-ulps: Update.
7553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7554
5ba3cc69
JM
7555 [BZ #14034]
7556 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
7557 of square root.
7558 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
7559 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7560 * math/libm-test.inc (acos_test_tonearest): New function.
7561 (acos_test_towardzero): Likewise.
7562 (acos_test_downward): Likewise.
7563 (acos_test_upward): Likewise.
7564 (asin_test_tonearest): Likewise.
7565 (asin_test_towardzero): Likewise.
7566 (asin_test_downward): Likewise.
7567 (asin_test_upward): Likewise.
7568 (main): Call the new functions.
7569 * sysdeps/i386/fpu/libm-test-ulps: Update.
7570 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7571
9568c0c2
JM
7572 [BZ #13884]
7573 [BZ #13924]
7574 * math/e_exp10.c: Include <float.h>.
7575 (__ieee754_exp10): Handle underflow here rather than multiplying
7576 large negative argument by M_LN10.
7577 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
7578 of __ieee754_expf.
7579 * math/e_exp10l.c: Include <float.h>.
7580 (__ieee754_exp10l): Handle underflow here rather than multiplying
7581 large negative argument by M_LN10l.
7582 * math/libm-test.inc (exp10_test): Add another test. Do not allow
7583 spurious overflow exception on underflow.
7584
5ac3ea17
MP
75852012-04-29 Marek Polacek <polacek@redhat.com>
7586
7587 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
7588 (__fortify_function): New macro.
7589 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
7590 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
7591 __extern_always_inline.
7592 * libio/bits/stdio2.h: Likewise.
7593 * libio/bits/stdio.h: Likewise.
7594 * string/string.h: Likewise.
7595 * string/bits/string3.h: Likewise.
7596 * include/stdio.h: Likewise.
7597 * stdlib/bits/stdlib.h: Likewise.
7598 * stdlib/stdlib.h: Likewise.
7599 * rt/bits/mqueue2.h: Likewise.
7600 * rt/mqueue.h: Likewise.
7601 * posix/bits/unistd.h: Likewise.
7602 * posix/unistd.h: Likewise.
7603 * io/bits/poll2.h: Likewise.
7604 * io/bits/fcntl2.h: Likewise.
7605 * io/fcntl.h: Likewise.
7606 * io/sys/poll.h: Likewise.
7607 * misc/bits/syslog.h: Likewise.
7608 * misc/bits/syslog-ldbl.h: Likewise.
7609 * misc/sys/syslog.h: Likewise.
7610 * socket/bits/socket2.h: Likewise.
7611 * socket/sys/socket.h: Likewise.
7612 * debug/tst-chk1.c: Likewise.
7613 * wcsmbs/bits/wchar2.h: Likewise.
7614 * wcsmbs/bits/wchar-ldbl.h: Likewise.
7615 * wcsmbs/wchar.h: Likewise.
7616
ecf0ebfb
AJ
76172012-04-29 Andreas Jaeger <aj@suse.de>
7618
7619 * Makerules (tests): Remove enable-check-abi protection.
7620 (check-abi-warn): Remove.
7621 (check-abi-%): Remove check-abi-warn usage.
7622
7623 * configure.in: Remove check-abi configure option.
7624 * configure: Regenerated.
7625 * config.make.in (enable-check-abi): Remove.
7626
6d5c57fa
AS
76272012-04-28 Andreas Schwab <schwab@linux-m68k.org>
7628
24c5d07e 7629 [BZ #14033]
ded5180a
AS
7630 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
7631 double functions to double *_finite functions.
7632
7e0d315d
AS
7633 [BZ #13941]
7634 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
7635 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
7636 LDBL_MIN_EXP.
7637 * stdio-common/Makefile (tests): Add tst-sprintf3.
7638 * stdio-common/tst-sprintf3.c: New file.
7639
6d5c57fa
AS
7640 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
7641 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
7642
0749ff8b
JM
76432012-04-28 Joseph Myers <joseph@codesourcery.com>
7644
7645 * conform/conformtest.pl: Remove duplicate typed-constant
7646 handling.
7647
8dbd5d7b
DM
76482012-04-28 David S. Miller <davem@davemloft.net>
7649
7650 * Makerules (%.abilist): Add vpath on sysdep_dirs.
7651 (check-abi-%): Remove AWK script prerequisite and explicit
7652 abilist directory.
7653 (check-abi): Rewrite to just diff the symlist with the abilist.
7654 (config-tls, config-abi-config): Delete, no longer used.
7655 (update-abi-%): Remove AWK script and explicit abilist directory.
7656 (update-abi): Rewrite to simply compare and conditionally copy the
7657 symlist and the sysdep abilist file. Remove update-abi-config
7658 checks.
7659 * abilist/ld.abilist: Remove.
7660 * abilist/libBrokenLocale.abilist: Remove.
7661 * abilist/libanl.abilist: Remove.
7662 * abilist/libcrypt.abilist: Remove.
7663 * abilist/libdl.abilist: Remove.
7664 * abilist/librt.abilist: Remove.
7665 * abilist/libthread_db.abilist: Remove.
7666 * abilist/libutil.abilist: Remove.
7667 * scripts/extract-abilist.awk: Remove.
7668 * scripts/merge-abilist.awk: Remove.
7669 * sysdeps/generic/libcidn.abilist: New file.
7670 * sysdeps/generic/libnss_compat.abilist: New file.
7671 * sysdeps/generic/libnss_db.abilist: New file.
7672 * sysdeps/generic/libnss_dns.abilist: New file.
7673 * sysdeps/generic/libnss_files.abilist: New file.
7674 * sysdeps/generic/libnss_hesiod.abilist: New file.
7675 * sysdeps/generic/libnss_nis.abilist: New file.
7676 * sysdeps/generic/libnss_nisplus.abilist: New file.
7677 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
7678 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
7679 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
7680 file.
7681 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
7682 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
7683 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
7684 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
7685 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
7686 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
7687 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
7688 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
7689 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
7690 file.
7691 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
7692 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
7693 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
7694 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
7695 file.
7696 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
7697 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
7698 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
7699 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
7700 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
7701 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
7702 file.
7703 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
7704 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
7705 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
7706 file.
7707 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
7708 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
7709 New file.
7710 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
7711 New file.
7712 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
7713 New file.
7714 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
7715 New file.
7716 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
7717 New file.
7718 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
7719 New file.
7720 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
7721 New file.
7722 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
7723 New file.
7724 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
7725 New file.
7726 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
7727 New file.
7728 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
7729 New file.
7730 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
7731 New file.
7732 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
7733 New file.
7734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
7735 file.
7736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7737 New file.
7738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7739 New file.
7740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
7741 file.
7742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7743 New file.
7744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7745 New file.
7746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
7747 file.
7748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7749 New file.
7750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7751 New file.
7752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7753 New file.
7754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7755 New file.
7756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7757 New file.
7758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7759 New file.
7760 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
7761 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
7762 file.
7763 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7764 New file.
7765 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
7766 file.
7767 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
7768 file.
7769 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
7770 file.
7771 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
7772 file.
7773 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
7774 file.
7775 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7776 New file.
7777 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
7778 file.
7779 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
7780 file.
7781 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7782 New file.
7783 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
7784 file.
7785 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
7786 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
7787 file.
7788 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7789 New file.
7790 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
7791 file.
7792 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
7793 file.
7794 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
7795 file.
7796 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
7797 file.
7798 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
7799 file.
7800 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7801 New file.
7802 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
7803 file.
7804 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
7805 file.
7806 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7807 New file.
7808 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
7809 file.
7810 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7811 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
7812 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
7813 file.
7814 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
7815 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
7816 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
7817 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
7818 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
7819 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
7820 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
7821 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
7822 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
7823 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
7824 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
7825 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
7826 file.
7827 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7828 New file.
7829 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
7830 file.
7831 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
7832 file.
7833 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
7834 file.
7835 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
7836 file.
7837 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
7838 file.
7839 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7840 New file.
7841 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7842 New file.
7843 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
7844 file.
7845 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7846 New file.
7847 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
7848 file.
7849 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
7850 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
7851 file.
7852 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7853 New file.
7854 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
7855 file.
7856 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
7857 file.
7858 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
7859 file.
7860 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
7861 file.
7862 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
7863 file.
7864 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7865 New file.
7866 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7867 New file.
7868 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
7869 file.
7870 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7871 New file.
7872 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
7873 file.
7874
41d73a1b
JM
78752012-04-28 Joseph Myers <joseph@codesourcery.com>
7876
7877 * conform/conformtest.pl: Fix typo in handling typed-constant from
7878 allow-header.
7879
28aeeda4
JM
78802012-04-27 Joseph Myers <joseph@codesourcery.com>
7881
adae8f5e
JM
7882 * README: Cut down references to pre-2.6 Linux kernels and
7883 Linuxthreads. Update lists of configurations in libc and ports
7884 and sort alphabetically. Say "or newer" with Linux kernel version
7885 requirements.
7886
28aeeda4
JM
7887 * config.h.in [IS_IN_build]: Allow compiling without optimization.
7888
a462cb63
RA
78892012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7890
7891 [BZ #887]
7892 * math/libm-test.inc (logb_test_downward): New test to expose
7893 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
7894 rounding mode.
7895
6ad3493e
JM
78962012-04-27 Joseph Myers <joseph@codesourcery.com>
7897
7898 [BZ #14027]
7899 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
7900 to be done.
7901 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
7902 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
7903
2ce4f015
JM
79042012-04-26 Joseph Myers <joseph@codesourcery.com>
7905
5aeb141a
JM
7906 * sysdeps/unix/i386/brk.S: Remove file.
7907 * sysdeps/unix/i386/dl-brk.S: Likewise.
7908 * sysdeps/unix/i386/pipe.S: Likewise.
7909 * sysdeps/unix/i386/sigreturn.S: Likewise.
7910 * sysdeps/unix/i386/syscall.S: Likewise.
7911 * sysdeps/unix/i386/vfork.S: Likewise.
7912 * sysdeps/unix/i386/wait.S: Likewise.
7913
7143acae
JM
7914 * sysdeps/unix/common/tcsendbrk.c: Move to ...
7915 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
7916
2ce4f015
JM
7917 * configure.in (arm*-none*): Do not allow without
7918 --enable-hacker-mode.
7919 (netbsd*): Remove case setting base_os.
7920 (386bsd*): Likewise.
7921 (freebsd*): Likewise.
7922 (bsdi*): Likewise.
7923 (osf*): Likewise.
7924 (sunos*): Likewise.
7925 (ultrix*): Likewise.
7926 (newsos*): Likewise.
7927 (dynix*): Likewise.
7928 (*bsd*): Likewise.
7929 (sysv*): Likewise.
7930 (isc*): Likewise.
7931 (esix*): Likewise.
7932 (sco*): Likewise.
7933 (minix*): Likewise.
7934 (irix4*): Likewise.
7935 (irix6*): Likewise.
7936 (solaris[2-9]*): Likewise.
7937 (none): Likewise.
7938 * configure: Regenerated.
7939
0ac229c8
AZ
79402012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7941
7942 [BZ #11521]
7943 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
7944 overflow or cancellation in calculating denominator.
7945 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
7946 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
7947 down expression to avoid unexpected rounding in newer GCCs.
7948 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
7949
33f244f4
DM
79502012-04-26 David S. Miller <davem@davemloft.net>
7951
7952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
7953 long-double compat symbols.
7954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
7958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
7960 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
7962 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
7963 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7964 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
7965 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
7966 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7967
cfa1f3e8
DM
79682012-04-25 David S. Miller <davem@davemloft.net>
7969
7970 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
7971 HWCAP_* values only after the memory barriers have been defined.
7972 (atomic_full_barrier): Define.
7973 (atomic_read_barrier): Define.
7974 (atomic_write_barrier): Define.
7975
6e236b92
SP
79762012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7977
7978 * shlib-versions: Add libgcc_s version information.
7979 * sysdeps/generic/libgcc_s.h: Remove.
7980 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
7981 libgcc_s.h.
7982 * sysdeps/gnu/unwind-resume.c: Likewise.
7983 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
7984
aab39a09
DM
79852012-04-25 David S. Miller <davem@davemloft.net>
7986
7987 * sysdeps/unix/sparc/brk.S: Delete.
7988 * sysdeps/unix/sparc/dl-brk.S: Delete.
7989 * sysdeps/unix/sparc/pipe.S: Delete.
7990 * sysdeps/unix/sparc/sysdep.S: Delete.
7991 * sysdeps/unix/sparc/sysdep.h: Delete.
7992 * sysdeps/unix/sparc/vfork.S: Delete.
7993 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
7994 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
7995 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
7996 ret_ERRVAL, r0, r1, MOVE): Define.
7997 (JUMPTARGET): Remove.
7998 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
7999 sysdeps/unix/sparc/sysdep.h
8000 (ENTRY, END): Remove.
8001 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8002
a3cc4f48
JM
80032012-04-25 Joseph Myers <joseph@codesourcery.com>
8004
2ed8cda2
JM
8005 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
8006 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
8007 -DIS_IN_build.
8008
35d76d59
JM
8009 * timezone/README: Update upstream location and email address for
8010 tzcode and tzdata.
8011 * timezone/zdump.c: Update from tzcode 2012b.
8012 * timezone/zic.c: Likewise.
8013
a3cc4f48
JM
8014 * configure.in (libc_cv_as_needed): Remove test.
8015 * configure: Regenerated.
8016 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
8017 conditional definition.
8018 [$(have-as-needed) != yes] (no-as-needed): Likewise.
8019 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
8020 * config.make.in (have-as-needed): Remove variable.
8021
ceab42c3
SP
80222012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8023 Paul Pluzhnikov <ppluzhnikov@google.com>
8024
8025 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
8026 strings correctly.
8027
3ce2865f
CLT
80282012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
8029
8030 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
8031 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
8032 * sysdeps/sh/strlen.S: Likewise.
8033
f37e0d68
JM
80342012-04-24 Joseph Myers <joseph@codesourcery.com>
8035
ae186e9a
JM
8036 * sysdeps/unix/fork.S: Remove file.
8037 * sysdeps/unix/i386/fork.S: Likewise.
8038 * sysdeps/unix/sparc/fork.S: Likewise.
8039
b96914af
JM
8040 * sysdeps/unix/system.c: Remove file.
8041 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
8042
f37e0d68
JM
8043 * sysdeps/unix/getegid.S: Remove file.
8044 * sysdeps/unix/geteuid.S: Likewise.
8045
87ef29ca
RM
80462012-04-24 Roland McGrath <roland@hack.frob.com>
8047
83bcd236
RM
8048 * scripts/check-localplt.awk: New file.
8049 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
8050 of diff.
8051 * scripts/data/localplt-generic.data: Add a comment.
8052
87ef29ca
RM
8053 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
8054 NODE when __dir_mkfile failed.
8055 * sysdeps/mach/hurd/symlinkat.c: Likewise.
8056 Reported by Ludovic Courtès <ludo@gnu.org>.
8057
e5a6e567
AJ
80582012-04-24 Andreas Jaeger <aj@suse.de>
8059
8060 * Makerules (common-clean): Also remove gen-as-const-headers
8061 files.
8062
c1820385
JM
80632012-04-24 Joseph Myers <joseph@codesourcery.com>
8064
8065 * Makerules (native-compile): Do not change working directory for
8066 build. Use $(OUTPUT_OPTION) in command.
8067 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
8068
94e02fc4
AZ
80692012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8070
8071 [BZ #13886]
8072 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
8073 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
8074 * math/libm-test.inc (floor_test): Add more tests.
8075 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
8076
3a533ca3
JM
80772012-04-24 Joseph Myers <joseph@codesourcery.com>
8078
940ab4b3
JM
8079 * sysdeps/unix/getdents.c: Remove file.
8080 * sysdeps/unix/sysv/getdents.c: Likewise.
8081 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
8082
90e037bd
JM
8083 * sysdeps/unix/syscalls.list (madvise): Add syscall from
8084 sysdeps/unix/mman/syscalls.list.
8085 (mmap): Likewise.
8086 (mprotect): Likewise.
8087 (msync): Likewise.
8088 (munmap): Likewise.
8089 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
8090 * sysdeps/unix/mman/syscalls.list: Remove.
8091 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
8092
3a533ca3
JM
8093 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
8094 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
8095 * configure: Regenerated.
8096 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
8097 $(libgcc_s_suffix).
8098 * config.make.in (libgcc_s_suffix): Remove variable.
8099
1ad743de
JM
81002012-04-23 Joseph Myers <joseph@codesourcery.com>
8101
4ad451e2
JM
8102 * sysdeps/unix/sysv/gethostname.c: Move to ...
8103 * sysdeps/posix/gethostname.c: ... here.
8104
5e37ce39
JM
8105 * sysdeps/unix/execve.S: Remove file.
8106
1ad743de
JM
8107 * sysdeps/unix/_exit.S: Remove file.
8108
4e681b5b
AJ
81092012-04-23 Andreas Jaeger <aj@suse.de>
8110
8111 [BZ #13739]
8112 * manual/Makefile: Remove make dist support, there's no
8113 need for a stand-alone documentation tar ball.
8114 (TEXI2DVI): Define always, it's not in Makeconfig.
8115 (dist): Removed.
8116 (tar-it): Removed.
8117 (edition): Removed.
8118 (glibc-doc-$(edition).tar): Removed
8119 (%.Z): Removed.
8120 (%.gz): Removed.
8121 (%.uu): Removed.
8122 (ETAGS): Remove, it's in Makeconfig.
8123 (move-if-change): Remove, it's in Makeconfig.
8124
c0baea34
PE
81252013-04-23 Paul Eggert <eggert@cs.ucla.edu>
8126
8127 [BZ #13970]
8128 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
8129 (strtod, strtof, strtold, strtol, strtoul, strtoq)
8130 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
8131 (strtod_l, strtof_l, strtold_l): Remove __wur.
8132 It is not necessarily an error to ignore strtol's return value.
8133 One can reliably look at the stored endptr to decide whether
8134 the number had valid syntax.
8135
7c0616fa
AJ
81362012-04-21 Andreas Jaeger <aj@suse.de>
8137
803cb6b7 8138 [BZ #13739]
7c0616fa
AJ
8139 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
8140
b0fe253f
JM
81412012-04-21 Joseph Myers <joseph@codesourcery.com>
8142
8143 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
8144 * sysdeps/unix/sysv/Versions: Remove file.
8145
8280f22d
MT
81462012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
8147
8148 [BZ #13927]
8149 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8150
75ce411f 81512012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
8152
8153 [BZ #7064]
8154 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
8155 version from __vm86.
8156
097d59fa
JM
81572012-04-20 Joseph Myers <joseph@codesourcery.com>
8158
a90f3bcb
JM
8159 * sysdeps/unix/common/lxstat.c: Remove file.
8160 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
8161
edc7ea78
JM
8162 * sysdeps/unix/sysv/Makefile: Remove file.
8163
cb78c221
JM
8164 * sysdeps/unix/sysv/direct.h: Remove file.
8165
efa6a45f
JM
8166 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
8167 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
8168 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
8169 * sysdeps/unix/sysv/bits/signum.h: Likewise.
8170 * sysdeps/unix/sysv/bits/stat.h: Likewise.
8171 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
8172 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
8173
9c9f2d0c
JM
8174 * sysdeps/unix/sysv/setrlimit.c: Remove file.
8175
4541c83b
JM
8176 * sysdeps/unix/xmknod.c: Remove file.
8177 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
8178
f5d153a0
JM
8179 * sysdeps/unix/sysv/settimeofday.c: Remove file.
8180
aa746595
JM
8181 * sysdeps/unix/sysv/i386/time.S: Remove file.
8182
cce5905e
JM
8183 * sysdeps/unix/fxstat.c: Remove file.
8184 * sysdeps/unix/xstat.c: Likewise.
8185 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
8186
37fa3841
JM
8187 * sysdeps/unix/sysv/sigaction.c: Remove file.
8188
ff1962a3
JM
8189 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
8190 (sysdep_headers): Remove variable.
8191 [termio.h not in sysdep_headers] (generated): Likewise.
8192 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
8193 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
8194 * sysdeps/unix/sysv/tcdrain.c: Likewise.
8195 * sysdeps/unix/sysv/tcflow.c: Likewise.
8196 * sysdeps/unix/sysv/tcflush.c: Likewise.
8197 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
8198 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
8199 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
8200 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
8201 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
8202
e7740d31
JM
8203 * sysdeps/unix/siglist.c: Remove file.
8204
ee06f18b
JM
8205 * sysdeps/unix/getppid.S: Remove file.
8206
097d59fa
JM
8207 * sysdeps/unix/mkdir.c: Remove file.
8208 * sysdeps/unix/rmdir.c: Likewise.
8209
ff3d51ec
AS
82102012-04-19 Andreas Schwab <schwab@linux-m68k.org>
8211
8212 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
8213 ERR_MAX value.
8214 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
8215 errlist-compat value.
8216
50f81fd7
DM
82172012-04-18 David S. Miller <davem@davemloft.net>
8218
8219 * sysdeps/generic/memcopy.h (reg_char): Delete.
8220 * debug/strcat_chk.c: Use char, not reg_char.
8221 * debug/strcpy_chk.c: Likewise.
8222 * debug/strncat_chk.c: Likewise.
8223 * debug/strncpy_chk.c: Likewise.
8224 * string/memchr.c: Likewise.
8225 * string/memrchr.c: Likewise.
8226 * string/rawmemchr.c: Likewise.
8227 * string/strcat.c: Likewise.
8228 * string/strchr.c: Likewise.
8229 * string/strchrnul.c: Likewise.
8230 * string/strcmp.c: Likewise.
8231 * string/strcpy.c: Likewise.
8232 * string/strncat.c: Likewise.
8233 * string/strncmp.c: Likewise.
8234 * string/strncpy.c: Likewise.
8235
8ff41c46
WS
82362012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8237
8238 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
8239 __builtin_memcopy is called when src and dest ranges are known to not
8240 overlap.
8241
6b652f46
WS
82422012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8243
8244 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
8245 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
8246 fwd_align_merge macro call.
8247 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
8248 bwd_align_merge macro call.
8249 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8250
b282631e
WS
82512012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8252
8253 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
8254 bwd_align_merge macros.
8255 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
8256 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
8257 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8258
95aa737c
DM
82592012-04-18 David S. Miller <davem@davemloft.net>
8260
8261 * sysdeps/sparc/sparc64/memcopy.h: Delete.
8262
7a99a614
AJ
82632012-04-18 Andreas Jaeger <aj@suse.de>
8264
8265 [BZ# 6794]
8266 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
8267 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
8268 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8269
8270 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
8271 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
8272 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8273
8274 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
8275 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
8276 Adjust for changed ldbl-128 files.
8277
8278 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
8279 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
8280 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8281
e5270c23
DM
82822012-04-17 David S. Miller <davem@davemloft.net>
8283
8284 * sysdeps/sparc/sparc32/memcopy.h: Delete.
8285
fb5e92c9
AS
82862012-04-17 Andreas Schwab <schwab@linux-m68k.org>
8287
8288 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
8289 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
8290 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
8291 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
8292 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8293 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
8294
76da7265
AZ
82952012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8296
8297 [BZ #6794]
8298 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
8299 * math/libm-test.inc: Add ilogb errno and exception tests.
8300 * math/w_ilogb.c: New file: ilogb wrapper.
8301 * math/w_ilogbf.c: New file: ilogbf wrapper.
8302 * math/w_ilogbl.c: New file: ilogbl wrapper.
8303 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
8304 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
8305 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
8306 exception being thrown with 0.0 as argument.
8307 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
8308 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
8309 exception being thrown with 0.0 as argument.
8310 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
8311 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8312 exception being thrown with 0.0 as argument.
8313 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
8314 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8315 exception being thrown with 0.0 as argument.
8316 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
8317 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 8318 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
8319 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
8320 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
8321 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
8322 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
8323 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
8324 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
8325
0396e69d
PB
83262012-04-17 Petr Baudis <pasky@ucw.cz>
8327
8328 * include/sys/uio.h: Change __vector to __iovec to avoid clash
8329 with altivec.
8330
750b5926
MP
83312012-04-16 Marek Polacek <polacek@redhat.com>
8332
8333 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
8334
751728a1
MP
83352012-04-16 Marek Polacek <polacek@redhat.com>
8336
8337 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
8338 operands of fdivp instruction.
8339
34a27407
L
83402012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8341
8342 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
8343 * elf/tst-auditmod3b.c: Likewise.
8344 * elf/tst-auditmod4b.c: Likewise.
8345 * elf/tst-auditmod5b.c: Likewise.
8346 * elf/tst-auditmod6b.c: Likewise.
8347 * elf/tst-auditmod6c.c: Likewise.
8348 * elf/tst-auditmod7b.c: Likewise.
8349 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
8350 * sysdeps/x86_64/preconfigure.in: Likewise.
8351 * sysdeps/x86_64/preconfigure: Regenerated.
8352
7e73e17d
L
83532012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8354
8355 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
8356 __ILP32__.
8357
c7a6ab72
AB
83582012-04-13 Antoine Balestrat <merkil33@gmail.com>
8359
8360 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8361 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
8362
a9e8e0e0
CL
83632012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
8364
8365 [BZ #13973]
8366 * locale/iso-639.def: Fix gl language name. Spotted by
8367 Yaron Shahrabani.
8368
ec98af7d
RM
83692012-04-12 Roland McGrath <roland@hack.frob.com>
8370
8371 [BZ #2074]
8372 * libio/libio.h (__io_write_fn): Update comment.
8373
247c3ede
PB
83742012-04-12 Petr Baudis <pasky@ucw.cz>
8375
8376 [BZ #2074]
8377 * stdio.texi (Hook Functions): The user provided writer function
8378 is not allowed to return -1.
8379
55939d6d
DM
83802012-04-11 David S. Miller <davem@davemloft.net>
8381
8382 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8383
90020f5a
MF
83842012-04-11 Mike Frysinger <vapier@gentoo.org>
8385
8386 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
8387 Add a leading slash to rtkaio.
8388
288f9098
JM
83892012-04-11 Jim Meyering <meyering@redhat.com>
8390
90020f5a
MF
8391 [BZ #11959]
8392 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
8393 It is not necessarily an error to ignore fwrite's return
8394 value. One can reliably use ferror to test for errors after
8395 the fact.
288f9098 8396
4be2b570
L
83972012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8398
8399 * bits/types.h (__snseconds_t): New type.
8400 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
8401
8402 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
8403 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8404 (__SNSECONDS_T_TYPE): Likewise.
8405 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8406 (__SNSECONDS_T_TYPE): Likewise.
8407 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8408 (__SNSECONDS_T_TYPE): Likewise.
8409
288f9098 84102012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
8411
8412 [BZ #2636]
8413 * manual/time.texi (Processor Time): Return type of times is
8414 elapsed real time since an arbitrary point in the past.
8415 (CPU Time): Move CLK_TCK from here...
8416 (Processor Time): ...to here. Correct description.
8417 * manual/conf.texi (Constants for Sysconf): Correct description of
8418 _SC_CLK_TCK.
8419
d7dd4413
DM
84202012-04-10 David S. Miller <davem@davemloft.net>
8421
8422 [BZ #13967]
8423 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
8424 where the is a gap between DT_REL(A) and DT_JMPREL.
8425
b46068fc
L
84262012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8427
8428 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
8429 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8430 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8431
73d65cc3
SP
84322012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8433
8434 * elf/dl-support.c (_dl_inhibit_cache): New variable.
8435 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
8436 (dl_main): Handle --inhibit-cache.
8437 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
8438 _dl_inhibit_cache.
8439 * elf/dl-load.c (_dl_map_object): Use it.
8440 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
8441
bcc8d661
JM
84422012-04-09 Joseph Myers <joseph@codesourcery.com>
8443
8f9a2fae
JM
8444 [BZ #13872]
8445 * sysdeps/i386/fpu/e_powl.S (p78): New object.
8446 (__ieee754_powl): Saturate large exponents rather than testing for
8447 overflow of y*log2(x).
8448 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8449 * math/libm-test.inc (pow_test): Do not permit spurious overflow
8450 exceptions.
8451
bcc8d661
JM
8452 [BZ #11521]
8453 * math/s_ctan.c: Include <float.h>.
8454 (__ctan): Avoid internal overflow or cancellation in calculating
8455 denominator.
8456 * math/s_ctanf.c: Likewise.
8457 * math/s_ctanl.c: Likewise.
8458 * math/s_ctanh.c: Likewise.
8459 * math/s_ctanhf.c: Likewise.
8460 * math/s_ctanhl.c: Likewise.
8461 * math/libm-test.inc (ctan_test): Add more tests.
8462 (ctanh_test): Likewise.
8463 * sysdeps/i386/fpu/libm-test-ulps: Update.
8464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8465
823fbbb4
AJ
84662012-04-09 Andreas Jaeger <aj@suse.de>
8467
03879793
AJ
8468 [BZ #6894]
8469 * manual/filesys.texi (Directory Entries): Mention that d_namlen
8470 is an optional BSD extension.
8471
823fbbb4
AJ
8472 [BZ #10254]
8473 * manual/stdio.texi (Opening Streams): Document additional fopen
8474 parameters.
8475
8de131cb
RM
84762012-04-09 Roland McGrath <roland@hack.frob.com>
8477
8478 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
8479 %eax without telling the compiler.
8480
c0ed9d7d
CD
84812012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
8482
8483 [BZ # 13963]
8484 * manual/install.texi: Use sourceware.org.
8485
c483f6b4
JM
84862012-04-09 Joseph Myers <joseph@codesourcery.com>
8487
d7dd9453
JM
8488 [BZ #13873]
8489 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
8490 (__ieee754_pow): Generate overflow and underflow using huge*huge
8491 and tiny*tiny rather than just returning constant infinity or zero
8492 for large exponents.
8493 * math/libm-test.inc (pow_test): Require overflow exceptions for
8494 applicable cases of large exponents.
8495
c483f6b4
JM
8496 [BZ #706]
8497 * sysdeps/i386/fpu/e_pow.S (p10): New object.
8498 (__ieee754_pow): Use iterative multiplication algorithm only for
8499 integer exponents with absolute value below 1024. Check for odd
8500 integer exponents when using algorithm for real exponents.
8501 * math/libm-test.inc (pow_test): Add more tests.
8502 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8503
d2de7579
JM
85042012-04-08 Joseph Myers <joseph@codesourcery.com>
8505
8506 [BZ #13705]
8507 * math/libm-test.inc (exp_test): Do not allow overflow exception
8508 on underflow test.
8509
f77f1232
AJ
85102012-04-08 Aurelien Jarno <aurelien@aurel32.net>
8511
8512 [BZ #13705]
8513 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
8514 instead of __kernel_standard_f.
8515
3884932b
MF
85162012-04-08 Mike Frysinger <vapier@gentoo.org>
8517
8518 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
8519 * sysdeps/x86_64/memset_chk.S: Likewise.
8520
54472e9c
AJ
85212012-04-08 Andreas Jaeger <aj@suse.de>
8522
6ab0fbfc
AJ
8523 [BZ #10153]
8524 * manual/startup.texi (Environment Access): Describe return value
8525 for putenv and setenv.
8526
61efba8c
AJ
8527 [BZ #6895]
8528 * manual/filesys.texi (Directory Entries): Add description for
8529 DT_LNK.
8530
95c3f29a
AJ
8531 [BZ #6890]
8532 * manual/filesys.texi (Directory Entries): Clarify that it's file
8533 system not operating system in the description of DT_UNKNOWN.
8534
54472e9c
AJ
8535 [BZ #6578]
8536 * manual/syslog.texi (closelog): Fix reference, it's openlog.
8537
624254b1
SC
85382012-04-08 Stephen Compall <s11@member.fsf.org>
8539
8540 [BZ #6649]
8541 * manual/llio.texi (Opening and Closing Files): Add cross
8542 reference to explain mode argument.
8543
1e4920e0
MF
85442012-04-07 Mike Frysinger <vapier@gentoo.org>
8545
8546 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
8547 * sysdeps/x86_64/memset_chk.S: Likewise.
8548
5ed848f3
DM
85492012-04-07 David S. Miller <davem@davemloft.net>
8550
8551 * elf/elf.h (R_SPARC_WDISP10): Define.
8552 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
8553 R_SPARC_SIZE32.
8554 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
8555 R_SPARC_SIZE64 and R_SPARC_H34.
8556
96154cd8
CD
85572012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
8558
8559 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
8560 conditions and remove no longer applicable assertion.
8561
9904dc47
L
85622012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8563
8564 * bits/byteswap.h: Include <features.h>.
8565 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8566 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8567
f8887d0a
L
85682012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8569
8570 * bits/byteswap.h (__bswap_16): Removed.
8571 Include <bits/byteswap-16.h> to get __bswap_16.
8572 * sysdeps/i386/bits/byteswap.h: Likewise.
8573 * sysdeps/s390/bits/byteswap.h: Likewise.
8574 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8575 * bits/byteswap-16.h: New file.
8576 * sysdeps/i386/bits/byteswap-16.h: Likewise.
8577 * sysdeps/s390/bits/byteswap-16.h: Likewise.
8578 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
8579 * string/Makefile (headers): Add bits/byteswap-16.h.
8580
62470f60
PP
85812012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8582
8583 [BZ #13895]
8584 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
8585 extra indirection.
8586 * nss/Makefile (tests-static, tests): Add tst-nss-static.
8587 * nss/tst-nss-static.c: New.
8588
4dad7bab
RM
85892012-04-06 Robert Millan <rmh@gnu.org>
8590
8591 [BZ #6486]
8592 * manual/llio.texi (File Position Primitive): lseek
8593 refers to WHENCE when it really means OFFSET.
8594
e9142a17
AJ
85952012-04-06 Andreas Jaeger <aj@suse.de>
8596
2c040eff
AJ
8597 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
8598 strncmp declarations.
8599
e9142a17
AJ
8600 * abilist/libc.abilist: Add __poll and __ppoll.
8601
ff9f1c5f
DM
86022012-04-05 David S. Miller <davem@davemloft.net>
8603
dcd2ae90
DM
8604 * scripts/check-local-headers.sh: Accept a host triplet in the
8605 path matched by the exclude regexp.
8606
993eb054
DM
8607 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
8608 definition.
8609 * sysdeps/powerpc/powerpc32/dl-machine.h
8610 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
8611 * sysdeps/s390/s390-32/dl-machine.h
8612 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8613 * sysdeps/sparc/sparc32/dl-machine.h
8614 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8615 * sysdeps/sparc/sparc64/dl-machine.h
8616 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8617
ff9f1c5f
DM
8618 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
8619 lazy binding.
48e2e132 8620 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
8621 undefined symbol errors.
8622
48e2e132 8623 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
8624 DT_NEEDED entries.
8625
e80d6f94
MM
86262012-04-05 Michael Matz <matz@suse.de>
8627
8628 [BZ #13592]
8629 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
8630
349fa79f
AJ
86312012-04-05 Andreas Jaeger <aj@suse.de>
8632
8633 [BZ #13908]
8634 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
8635 comment.
8636
f402708f
KK
86372012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8638
8639 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
8640 which ROUND is no valid rounding mode.
8641
2ecccfc9
KK
86422012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8643
8644 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
8645 read again.
8646 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
8647
8a53f50f
KK
86482012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8649
8650 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
8651 an exception using FPU order intentionally.
8652
86532012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8654
8655 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
8656 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
8657 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
8658 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
8659
d653abb7
SJ
86602012-04-05 Simon Josefsson <simon@josefsson.org>
8661
8662 [BZ #12340]
8663 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
8664 EINVAL when BUFLEN is too smal.
8665
c3b1bf7d
TS
86662012-04-05 Thomas Schwinge <thomas@codesourcery.com>
8667
8668 [BZ #13553]
8669 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
8670 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
8671
b1aa60f3
AJ
86722012-04-03 Andreas Jaeger <aj@suse.de>
8673
c3b1bf7d 8674 [BZ #13938]
67f60a26
AJ
8675 * manual/setjmp.texi (System V contexts): Fix sentence.
8676
b1aa60f3
AJ
8677 [BZ #13926]
8678 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
8679 New macro for this case.
8680 [!__GNUC__] (__bswap_64): New inline function for this case.
8681 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8682 * bits/byteswap.h: Likewise.
8683 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
8684 ull, guard with __GLIBC_HAVE_LONG_LONG.
8685
8686 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
8687 __GLIBC_HAVE_LONG_LONG.
8688
8689 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
8690 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
8691
39c59c35
TMQMF
86922012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8693
8694 [BZ #13691]
8695 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
8696 inptr and inend, rather than using last_ch.
8697
135ffda8
DM
86982012-04-02 David S. Miller <davem@davemloft.net>
8699
8700 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
8701 * stdio-common/printf-parse.h (read_int): Change return type to
8702 'int', return -1 on INT_MAX overflow.
8703 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
8704 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
8705 overflows INT_MAX. Check for overflow of in-format-string precision
8706 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
8707 SIZE_MAX not INT_MAX for integer overflow test.
8708 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
8709 skip the construct in the format string but do not record anything.
8710 * stdio-common/bug22.c: Adjust to test both width/prevision
8711 INT_MAX overflow as well as total length INT_MAX overflow. Check
8712 explicitly for proper errno values.
8713
228c019e
TS
87142012-04-02 Thomas Schwinge <thomas@codesourcery.com>
8715
302cadd3
TS
8716 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
8717 CHAR_MAX.
8718 * string/test-strcmp.c [! WIDE]: Likewise.
8719 * time/tst-mktime2.c: Likewise for INT_MAX.
8720 * string/test-string.h: #include <sys/param.h> for MIN.
8721
228c019e
TS
8722 * csu/init-first.c (__libc_init_first): Call __ctype_init.
8723 * sysdeps/i386/init-first.c (init): Likewise.
8724 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
8725 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
8726 * sysdeps/sh/init-first.c (init): Likewise.
8727
cfa633f5
UD
87282012-04-01 Ulrich Drepper <drepper@gmail.com>
8729
8730 * po/ru.po: Update from translation team.
d1635ef8 8731 * po/vi.po: Likewise.
cfa633f5 8732
6cd0a5ea
SP
87332012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8734
8735 * resolv/nss_dns/dns-host.c: Merge copyright years.
8736
4b43400f
LD
87372012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8738
8739 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8740 Optimize memcpy with prefetch if
8741 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
8742 src, dst pointers have unequal 16 byte alignments.
8743
48c41d04
SP
87442012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8745
8746 [BZ #13928]
8747 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
8748 from a CNAME entry and return the minimum ttl for the query.
8749 (gaih_getanswer_slice): Likewise.
8750
b8dc394d
JL
87512012-03-30 Jeff Law <law@redhat.com>
8752
8753 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
8754 due to long keys.
8755 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8756 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8757
2f5a5ed0
JL
8758 * resolv/nss_dns/dns-host.c: Update copyright year.
8759
1d39e359
UD
87602012-03-30 Ulrich Drepper <drepper@gmail.com>
8761
c030f70c 8762 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 8763 requests to save a system call. Fix check that all bytes are sent.
c030f70c 8764
1d39e359
UD
8765 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
8766 comments for sendmmsg.
8767
87682012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
8769
8770 [BZ #13691]
8771 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
8772 with only 1 character between 0x0041 and 0x01b0.
8773 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
8774 * wcsmbs/tst-mbsnrtowcs.c: New file.
8775
20fde227
DM
87762012-03-29 David S. Miller <davem@davemloft.net>
8777
8778 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
8779 small copies by hand.
8780
984a4237
JL
87812012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8782
8783 [BZ #13761]
8784 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
8785 _nss_compat_initgroups_dyn): Fall back to malloc/free
8786 for large group memberships.
8787
18c9d62b
DM
87882012-03-28 David S. Miller <davem@davemloft.net>
8789
88d85d4f
DM
8790 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
8791 that branches into memcpy.
8792 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8793 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8794 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8795 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8796 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
8797 bits.
8798 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
8799 implementation too.
8800 * sysdeps/sparc/mempcpy.S: New file.
8801
e5aa83e1
DM
8802 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
8803 the IFUNC routine in the libc case.
8804 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8805
88570753
DM
8806 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
8807 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
8808 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
8809 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
8810 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
8811 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
8812 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
8813 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
8814
249d7567
DM
8815 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
8816 loop to 256 bytes instead of 64 bytes and fix test signedness.
8817
18c9d62b
DM
8818 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
8819 * sysdeps/sparc/sparc32/Makefile: rather than here...
8820 * sysdeps/sparc/sparc64/Makefile: and here.
8821
05f3d1f6
UD
88222012-03-28 Ulrich Drepper <drepper@gmail.com>
8823
8824 * malloc/mallocbug.c: Avoid warnings about unused variables.
8825
86ae07a8
JL
88262012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8827
8828 [BZ #13760]
8829 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
8830 in the right place. Discard and retry query if response is
8831 larger than input buffer size.
8832
41bf21a1
JM
88332012-03-28 Joseph Myers <joseph@codesourcery.com>
8834
d6270972
JM
8835 [BZ #369]
8836 [BZ #2678]
8837 [BZ #3866]
8838 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
8839 x for large integer exponent.
8840 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8841 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
8842 sign of result as needed afterwards.
8843 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8844 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
8845 result for underflowing pow the same as for overflow.
8846 (__kernel_standard_l): Handle powl overflow and underflow here
8847 rather than calling __kernel_standard.
8848 * math/libm-test.inc (pow_test): Add more tests.
8849
414fca03 8850 [BZ #3868]
41bf21a1
JM
8851 [BZ #13879]
8852 [BZ #13910]
8853 [BZ #13911]
8854 [BZ #13912]
8855 [BZ #13913]
8856 [BZ #13915]
8857 [BZ #13916]
8858 [BZ #13917]
8859 [BZ #13918]
8860 [BZ #13919]
8861 [BZ #13920]
8862 [BZ #13921]
8863 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
8864 * sysdeps/ieee754/k_standard.c: Include <float.h>.
8865 (__kernel_standard_l): New function.
8866 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
8867 __kernel_standard.
8868 * math/w_acosl.c (__acosl): Likewise.
8869 * math/w_asinl.c (__asinl): Likewise.
8870 * math/w_atan2l.c (__atan2l): Likewise.
8871 * math/w_atanhl.c (__atanhl): Likewise.
8872 * math/w_coshl.c (__coshl): Likewise.
8873 * math/w_exp10l.c (__exp10l): Likewise.
8874 * math/w_exp2l.c (__exp2l): Likewise.
8875 * math/w_fmodl.c (__fmodl): Likewise.
8876 * math/w_hypotl.c (__hypotl): Likewise.
8877 * math/w_j0l.c (__j0l, __y0l): Likewise.
8878 * math/w_j1l.c (__j1l, __y1l): Likewise.
8879 * math/w_jnl.c (__jnl, __ynl): Likewise.
8880 * math/w_lgammal.c (__lgammal): Likewise.
8881 * math/w_log10l.c (__log10l): Likewise.
8882 * math/w_log2l.c (__log2l): Likewise.
8883 * math/w_logl.c (__logl): Likewise.
8884 * math/w_powl.c (__powl): Likewise.
8885 * math/w_remainderl.c (__remainderl): Likewise.
8886 * math/w_scalbl.c (sysv_scalbl): Likewise.
8887 * math/w_sinhl.c (__sinhl): Likewise.
8888 * math/w_sqrtl.c (__sqrtl): Likewise.
8889 * math/w_tgammal.c (__tgammal): Likewise.
8890 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
8891 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
8892 * math/libm-test.inc (acos_test): Add more tests.
8893 (acosh_test): Likewise.
8894 (asin_test): Likewise.
8895 (atanh_test): Likewise.
8896 (exp_test): Likewise.
8897 (exp10_test): Likewise.
8898 (exp2_test): Likewise.
8899 (expm1_test): Likewise.
8900 (lgamma_test): Likewise.
8901 (log_test): Likewise.
8902 (log10_test): Likewise.
8903 (log1p_test): Likewise.
8904 (log2_test): Likewise.
8905 (pow_test): Do not allow some spurious overflow exceptions.
8906 (sqrt_test): Add more tests.
8907 (tgamma_test): Likewise.
8908 (y0_test): Likewise.
8909 (y1_test): Likewise.
8910 (yn_test): Likewise.
8911
dd62fda6
AB
89122012-03-27 Anton Blanchard <anton@samba.org>
8913
8914 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
8915 MAP_HUGETLB.
8916 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8917 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8918 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8919
1e3cdfda
AJ
89202012-03-27 David S. Miller <davem@davemloft.net>
8921
b855ab85
DM
8922 * conform/Makefile: Run run-conformtest.sh using $(BASH).
8923
1e3cdfda
AJ
8924 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
8925 have-as-vis3 check.
8926
89272012-03-27 Andreas Jaeger <aj@suse.de>
8928
8929 * sysdeps/x86_64/elf/configure.in: Moved to ...
8930 * sysdeps/x86_64/configure.in: ... here.
8931 * sysdeps/x86_64/elf/start.S: Moved to ...
8932 * sysdeps/x86_64/start.S: ... here.
8933 * sysdeps/x86_64/elf/configure: Delete.
8934
8935 * sysdeps/x86_64/configure.in: Merge contents from
8936 sysdeps/i386/configure.in (without i686 check).
8937
8938 * sysdeps/i386/elf/Versions: Merge into ...
8939 * sysdeps/i386/Versions: ... this.
8940 * sysdeps/i386/elf/Versions: Delete file.
8941 * sysdeps/i386/elf/start.S: Moved to ...
8942 * sysdeps/i386/start.S: ...here.
8943 * sysdeps/i386/elf/configure.in: Merge into...
8944 * sysdeps/i386/configure.in: ...here.
8945 * sysdeps/i386/elf/configure.in: Delete file.
8946 * sysdeps/i386/elf/configure: Delete file.
8947
8948 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
8949 * debug/backtracesyms.c: ... here.
8950 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
8951 * debug/backtracesymsfd.c: ... here.
8952 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
8953 * sysdeps/generic/ifunc-sel.h: ... here.
8954
8955 * sysdeps/unix/i386/start.c: Delete file.
8956 * sysdeps/unix/sparc/start.c: Delete file.
8957 * sysdeps/unix/start.c: Delete file.
8958
8959 * sysdeps/sh/elf/configure.in: Moved to ...
8960 * sysdeps/sh/configure.in: ... here.
8961 * sysdeps/sh/elf/start.S: Moved to ...
8962 * sysdeps/sh/start.S: ... here.
8963 * sysdeps/sh/elf/configure: Delete file.
8964
8965 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
8966 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
8967 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
8968 * sysdeps/powerpc/powerpc64/entry.h: ... here.
8969 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
8970 * sysdeps/powerpc/powerpc64/start.S: here.
8971 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
8972 * sysdeps/powerpc/powerpc64/Makefile: ... this.
8973 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
8974 * sysdeps/powerpc/powerpc64/configure.in: ... this.
8975 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
8976
8977 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
8978 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
8979 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
8980 * sysdeps/powerpc/powerpc32/start.S: ... here.
8981 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
8982 * sysdeps/powerpc/powerpc32/configure.in: ... this.
8983 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
8984
8985 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
8986 * sysdeps/powerpc/ifunc-sel.h: ... here.
8987 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
8988 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
8989
8990 * sysdeps/sparc/elf/configure.in: Moved to ...
8991 * sysdeps/sparc/configure.in: ... here.
8992 * sysdeps/sparc/elf/configure: Delete file.
8993 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
8994 * sysdeps/sparc/sparc32/start.S: ... here.
8995 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
8996 * sysdeps/sparc/sparc64/start.S: ... here.
8997 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
8998 * sysdeps/sparc/sparc32/Makefile: ... this.
8999 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
9000 * sysdeps/sparc/sparc64/Makefile: ... this.
9001
9002 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
9003 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
9004 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
9005 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
9006 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
9007 * sysdeps/s390/s390-32/setjmp.S: ... here.
9008 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
9009 * sysdeps/s390/s390-32/configure.in: ... here.
9010 * sysdeps/s390/s390-32/elf/configure: Delete file.
9011 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
9012 * sysdeps/s390/s390-32/start.S: ... here.
9013
9014 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
9015 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
9016 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
9017 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
9018 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
9019 * sysdeps/s390/s390-64/setjmp.S: ... here.
9020 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
9021 * sysdeps/s390/s390-64/configure.in: ... here
9022 * sysdeps/s390/s390-64/elf/configure: Delete file.
9023 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
9024 * sysdeps/s390/s390-64/start.S: ... here.
9025 * sysdeps/s390/s390-64/elf/configure: Delete.
9026
9027 * configure.in: Remove support for elf directories in sysdeps.
9028
9029 * configure: Regenerated.
9030 * sysdeps/i386/configure: Regenerated.
9031 * sysdeps/powerpc/powerpc32/configure: Regenerated.
9032 * sysdeps/powerpc/powerpc64/configure: Regenerated.
9033 * sysdeps/s390/s390-32/configure: Regenerated.
9034 * sysdeps/s390/s390-64/configure: Regenerated.
9035 * sysdeps/sh/configure: Regenerated.
9036 * sysdeps/sparc/configure: Regenerated.
9037 * sysdeps/x86_64/configure: Regenerated.
9038
a3f61311
AS
90392012-03-26 Andreas Schwab <schwab@linux-m68k.org>
9040
c876e002
AS
9041 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9042
a3f61311
AS
9043 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
9044 denormal result into account.
9045
ac4c54f0
RM
90462012-03-25 Roland McGrath <roland@hack.frob.com>
9047
9048 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
9049 Reported by Allan McRae <allan@archlinux.org>.
9050
6a9b9c02
JL
90512012-03-23 Jeff Law <law@redhat.com>
9052
9053 * nss/getnssent.c (__nss_getent): Fix typo.
9054
4c42a0c1
DM
90552012-03-23 David S. Miller <davem@davemloft.net>
9056
9057 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9058
1532c7ac
L
90592012-03-23 H.J. Lu <hongjiu.lu@intel.com>
9060
9061 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
9062 to pad to uint64_t for each field.
9063 (dl_tls_index): Replace unsigned long with uint64_t.
9064
3ff42526
PP
90652012-03-23 Daniel Jacobowitz <dmj@google.com>
9066 Paul Pluzhnikov <ppluzhnikov@google.com>
9067
9068 [BZ #6528]
9069 * grp/Makefile (otherlibs): Don't set it.
9070 * inet/Makefile (otherlibs): Likewise.
9071 * login/Makefile (otherlibs): Likewise.
9072 * nscd/Makefile (otherlibs): Likewise.
9073 * posix/Makefile (otherlibs): Likewise.
9074 * pwd/Makefile (otherlibs): Likewise.
9075 * rt/Makefile (otherlibs): Likewise.
9076 * sunrpc/Makefile (otherlibs): Likewise.
9077 * nss/Makefile (otherlibs): Likewise.
9078 Add libnss_files to routines and static-only-routines.
9079 ($(objpfx)getent): Remove rule.
9080 * resolv/Makefile: Add libnss_dns and libresolv to routines and
9081 static-only-routines.
9082
7c69cd14
JM
90832012-03-22 Joseph Myers <joseph@codesourcery.com>
9084
9085 [BZ #13892]
9086 * math/s_cexp.c: Include <float.h>.
9087 (__cexp): Handle exp result overflowing not necessarily
9088 overflowing both real and imaginary parts of result.
9089 * math/s_cexpf.c: Likewise.
9090 * math/s_cexpl.c: Likewise.
9091 * math/libm-test.inc (cexp_test): Add more tests.
9092 * sysdeps/i386/fpu/libm-test-ulps: Update.
9093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9094
81b035fe
L
90952012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9096
9097 * include/link.h (ELFW): New macro.
9098 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
9099 Replace ELF64_R_TYPE with ELFW(R_TYPE).
9100
1da7940c
L
91012012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9102
9103 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
9104 with uint64_t.
9105
b749dbb9
L
91062012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9107
9108 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
9109 declaration.
9110 (struct La_x32_retval): Likewise.
9111
2ff87f3f
L
91122012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9113
9114 * sysdeps/x86_64/preconfigure.in: New file.
9115 * sysdeps/x86_64/preconfigure: New generated file.
9116
c0df8e69
JM
91172012-03-22 Joseph Myers <joseph@codesourcery.com>
9118
48e44791
JM
9119 [BZ #13824]
9120 * math/e_exp2l.c: Include <float.h>.
9121 (__ieee754_exp2l): Handle overflow and underflow cases
9122 separately. Only pass fractional part of argument to
9123 __ieee754_expl.
9124 * math/libm-test.inc (exp2_test): Add more tests.
9125
c0df8e69
JM
9126 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
9127 negating x to take absolute value.
9128 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
9129 Likewise.
9130 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9131 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
9132 Likewise.
9133 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
9134 computing low part if x was negated.
9135 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9136
c8e43ba7
L
91372012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9138
9139 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
9140 la_x32_gnu_pltexit.
9141 (pltexit): Cast int_retval to ptrdiff_t.
9142 * elf/tst-auditmod3b.c: Likewise.
9143 * elf/tst-auditmod4b.c: Likewise.
9144 * elf/tst-auditmod5b.c: Likewise.
9145 * elf/tst-auditmod6b.c: Likewise.
9146 * elf/tst-auditmod6c.c: Likewise.
9147 * elf/tst-auditmod7b.c: Likewise.
9148
9149 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
9150 and x32_gnu_pltexit.
9151
9152 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
9153 __ELF_NATIVE_CLASS.
9154 (La_x32_regs): New macro.
9155 (La_x32_retval): Likewise.
9156 (la_x32_gnu_pltenter): New function prototype.
9157 (la_x32_gnu_pltexit): Likewise.
9158
7998fa78
AS
91592012-03-21 Andreas Schwab <schwab@linux-m68k.org>
9160
dcb33988
AS
9161 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
9162 exponent.
9163
233fc563
AS
9164 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9165
7998fa78
AS
9166 * configure.in (libc_cv_cc_nofma): Check for option to disable
9167 generation of FMA instructions.
9168 * configure: Regenerate.
9169 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
9170 * sysdeps/ieee754/dbl-64/Makefile: New file.
9171 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
9172 Remove brandred-fma4.
9173 (CFLAGS-brandred-fma4.c): Remove.
9174 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
9175 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
9176 define.
9177 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
9178 define.
9179
8e95c99a
L
91802012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9181
9182 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9183 LLONG_MAX != LONG_MAX.
9184 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9185 (_fitoa_word): Likewise.
9186 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
9187 LLONG_MAX != LONG_MAX.
9188 * stdio-common/_itowa.h: Include <_itoa.h>.
9189 (_itowa_word): Use _ITOA_WORD_TYPE on value.
9190 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
9191 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
9192 only if not defined.
9193 (_ITOA_WORD_TYPE): Likewise.
9194 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9195 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
9196
6f4db457
DM
91972012-03-21 David S. Miller <davem@davemloft.net>
9198
9199 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9200
7785fe5a
L
92012012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9202
9203 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
9204 of x86_64 when setting libc_cv_slibdir, libdir and
9205 libc_cv_localedir.
9206 * sysdeps/unix/sysv/linux/configure: Regenerated.
9207
4535cd55
JM
92082012-03-21 Joseph Myers <joseph@codesourcery.com>
9209
9210 * manual/lang.texi (Old Varargs): Remove section.
9211 (How Variadic): Update menu.
9212 (va_start): Do not mention varargs.h.
9213
17228132
TS
92142012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9215 Joseph Myers <joseph@codesourcery.com>
9216
9217 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
9218 link test.
9219 * configure: Regenerated.
9220
8149f976
TS
92212012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9222
05f3d1f6
UD
9223 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
9224 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
9225 conformtest.pl
8149f976 9226
1a4ac776
JM
92272012-03-21 Joseph Myers <joseph@codesourcery.com>
9228
be22ce65
JM
9229 * NOTES: Remove.
9230 * Makefile (files-for-dist): Remove NOTES.
9231 (NOTES): Remove rule.
9232 * README: Don't refer to NOTES.
9233 * manual/creature.texi: Don't include macros.texi.
9234 * manual/intro.texi (creature.texi): Remove comment referring to
9235 NOTES.
9236
40b601fb
JM
9237 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
9238 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
9239 * configure: Regenerated.
9240 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
9241 LIBC_TRY_CC_OPTION.
9242 (libc_cv_as_i686): Likewise.
9243 (libc_cv_cc_avx): Likewise.
9244 (libc_cv_cc_sse2avx): Likewise.
9245 (libc_cv_cc_fma4): Likewise.
9246 (libc_cv_cc_novzeroupper): Likewise.
9247 * sysdeps/i386/configure: Regenerated.
9248
1a4ac776
JM
9249 [BZ #13883]
9250 * sysdeps/i386/fpu/s_cexp.S: Remove.
9251 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9252 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9253 * math/libm-test.inc (cexp_test): Add more tests.
9254 * sysdeps/i386/fpu/libm-test-ulps: Update.
9255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9256
a458e7fe
AM
92572012-03-21 Allan McRae <allan@archlinux.org>
9258
9259 * timezone/Makefile: Do not install iso3166.tab and zone.tab
9260
0cb7efc5
JM
92612012-03-21 Joseph Myers <joseph@codesourcery.com>
9262
9263 [BZ #13871]
9264 * math/w_exp2.c: Do not include <float.h>.
9265 (o_threshold, u_threshold): Remove.
9266 (__exp2): Calculate result before checking finiteness and calling
9267 __kernel_standard.
9268 * math/w_exp2f.c: Likewise.
9269 * math/w_exp2l.c: Likewise.
9270 * math/libm-test.inc (exp2_test): Require overflow exception for
9271 1e6 input.
2460d3aa
JM
9272
9273 [BZ #3866]
9274 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
9275 range of signed 64-bit integers before using fistpll. Remove
9276 checks for whether integers fit in mantissa bits.
9277 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
9278 the range of signed 32-bit integers before using fistpl. Remove
9279 checks for whether integers fit in mantissa bits.
9280 * sysdeps/i386/fpu/e_powl.S (p64): New object.
9281 (__ieee754_powl): Test for y outside the range of signed 64-bit
9282 integers before using fistpll. Reduce 64-bit values to 63-bit
9283 ones as needed.
9284 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
9285 divide-by-zero is raised for zero to large negative powers.
9286 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
9287 (__ieee754_powl): Test for y outside the range of signed 64-bit
9288 integers before using fistpll. Reduce 64-bit values to 63-bit
9289 ones as needed.
9290 * math/libm-test.inc (pow_test): Add more tests.
9291
eb96ffb0
L
92922012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9293
9294 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
9295 <stdio-common/_itoa.h>.
9296 * debug/segfault.c: Likewise.
9297 * elf/dl-cache.c: Likewise.
9298 * elf/dl-minimal.c: Likewise.
9299 * elf/dl-misc.c: Likewise.
9300 * elf/dl-sysdep.c: Likewise.
9301 * elf/dl-version.c: Likewise.
9302 * elf/rtld.c: Likewise.
9303 * hurd/hurdsock.c: Likewise.
9304 * hurd/lookup-retry.c: Likewise.
9305 * malloc/malloc.c: Likewise.
9306 * malloc/mtrace.c: Likewise.
9307 * nscd/nscd_getgr_r.c: Likewise.
9308 * nscd/nscd_getpw_r.c: Likewise.
9309 * nscd/nscd_getserv_r.c: Likewise.
9310 * posix/getopt_init.c: Likewise.
9311 * posix/wordexp.c: Likewise.
9312 * stdio-common/_itoa.c: Likewise.
9313 * stdio-common/printf_fphex.c: Likewise.
9314 * stdio-common/vfprintf.c: Likewise.
9315 * string/_strerror.c: Likewise.
9316 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
9317 * sysdeps/i386/i686/hp-timing.h: Likewise.
9318 * sysdeps/mach/_strerror.c: Likewise.
9319 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
9320 * sysdeps/mach/hurd/sethostid.c: Likewise.
9321 * sysdeps/mach/hurd/xmknodat.c: Likewise.
9322 * sysdeps/mach/xpg-strerror.c: Likewise.
9323 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9324 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9325 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
9326 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
9327 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9328 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
9329 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9330 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9331 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
9332 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
9333 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
9334 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
9335 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
9336 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9337 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9338 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
9339 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
9340 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
9341 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9342 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9343 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
9344
9345 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
9346
9347 * stdio-common/_itoa.h: Moved to ...
9348 * sysdeps/generic/_itoa.h: Here.
9349
9350 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
9351
9352 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
9353 instead of "_itoa.h" and "_itowa.h".
9354 * stdio-common/vfprintf.: Likewise.
9355
d1af992d
L
93562012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9357
9358 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
9359 <bits/wordsize.h>.
9360 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
9361 (__signbit): Likwise.
9362 (llrintf): Likwise.
9363 (llrint): Likwise.
9364
114883e0
L
93652012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9366
9367 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
9368 __WORDSIZE != 64.
9369
c135cc1b
JM
93702012-03-20 Joseph Myers <joseph@codesourcery.com>
9371
9372 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
9373 OVERFLOW_EXCEPTION_OK.
9374 * math/libm-test.inc ("Philosophy"): Update comment about
9375 exception testing.
9376 (OVERFLOW_EXCEPTION): Define.
9377 (OVERFLOW_EXCEPTION_OK): Likewise.
9378 (INVALID_EXCEPTION_OK): Renumber.
9379 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9380 (IGNORE_ZERO_INF_SIGN): Likewise.
9381 (test_exceptions): Handle FE_OVERFLOW.
9382 (exp10_test): Expect overflow exceptions.
9383 (exp2_test): Likewise.
9384 (expm1_test): Likewise.
9385 (nextafter_test): Likewise.
9386 (pow_test): Likewise.
9387 (scalbn_test): Likewise.
9388 (scalbln_test): Likewise.
9389
95443d88
L
93902012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9391
9392 * sysdeps/x86_64/bits/atomic.h
9393 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
9394 64bit integer.
9395 (atomic_exchange_acq): Likewise.
9396 (__arch_exchange_and_add_body): Likewise.
9397 (__arch_add_body): Likewise.
9398 (atomic_add_negative): Likewise.
9399 (atomic_add_zero): Likewise.
9400
490df6c4
L
94012012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9402
c2722551 9403 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
9404 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
9405
5e52b189
L
94062012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9407
9408 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
9409 Check __x86_64__ instead of __WORDSIZE.
9410
a9879d4c
L
94112012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9412
9413 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
9414
5df98260
DM
94152012-03-19 David S. Miller <davem@davemloft.net>
9416
e1497744
DM
9417 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9418
5df98260
DM
9419 * sysdeps/sparc/fpu/fenv_private.h: New file.
9420 * sysdeps/sparc/fpu/math_private.h: Use it.
9421 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
9422 Remove.
9423 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
9424 (libc_feholdexcept_setroundl): Remove.
9425 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
9426 Remove.
9427 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
9428 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
9429
b4c35121
L
94302012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9431
9432 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
9433 int64_t instead of long int.
9434 (INSERT_WORDS64): Likwise.
9435
56965fd7
L
94362012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9437
9438 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
9439 _Unwind_GetCFA return to _Unwind_Ptr first.
9440
83d1aec8
JM
94412012-03-19 Joseph Myers <joseph@codesourcery.com>
9442
1897ad44
JM
9443 [BZ #13629]
9444 * math/s_clog.c: Include <float.h>.
9445 (__clog): Scale large or subnormal inputs.
9446 * math/s_clogf.c: Likewise.
9447 * math/s_clogl.c: Likewise.
9448 * math/s_clog10.c: Include <float.h>.
9449 (M_LOG10_2): Define.
9450 (__clog10): Scale large or subnormal inputs.
9451 * math/s_clog10f.c: Likewise.
9452 * math/s_clog10l.c: Likewise.
9453 * math/libm-test.inc (clog_test): Add more tests.
9454 (clog10_test): Likewise.
9455 * sysdeps/i386/fpu/libm-test-ulps: Update.
9456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9457
7726d6a9
JM
9458 [BZ #11451]
9459 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
9460 x and y.
9461 * math/libm-test.inc (atan2_test): Add another test.
9462
83d1aec8
JM
9463 * Makerules (common-objdir-compile): Remove.
9464 * sysdeps/unix/Makefile (config-generated): Do not add
9465 $(unix-generated) to variable.
9466 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
9467 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
9468 Remove rule.
9469 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
9470 Likewise.
9471 [generic bits/local_lim.h] (before-compile): Do not append to
9472 variable.
9473 [generic bits/local_lim.h] (common-generated): Likewise.
9474 [generic sys/param.h] (before-compile): Do not append to variable.
9475 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
9476 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
9477 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
9478 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
9479 include.
9480 [generic sys/param.h] (sys/param.h-includes): Remove variable.
9481 [generic sys/param.h] (sys/param.h-includes): Remove rule.
9482 [generic sys/param.h] ($(addprefix
9483 $(common-objpfx),$(sys/param.h-includes))): Likewise.
9484 [generic sys/param.h] (common-generated): Do not append to
9485 variable.
9486 [generic sys/param.h] (sysdep_headers): Likewise.
9487 [generic bits/errno.h] (before-compile): Do not append to
9488 variable.
9489 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
9490 rule.
9491 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
9492 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
9493 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
9494 [generic bits/errno.h] (common-generated): Do not append to
9495 variable.
9496 [generic bits/ioctls.h] (before-compile): Do not append to
9497 variable.
9498 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
9499 rule.
9500 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
9501 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
9502 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
9503 rule.
9504 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
9505 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
9506 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
9507 [generic bits/ioctls.h] (common-generated): Do not append to
9508 variable.
9509 [generic sys/syscall.h] (syscall.h): Remove variable.
9510 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
9511 rule.
9512 [generic sys/syscall.h] (before-compile): Do not append to
9513 variable.
9514 [generic sys/syscall.h] (common-generated): Likewise.
9515 * sysdeps/unix/errnos-tmpl.c: Remove file.
9516 * sysdeps/unix/errnos.awk: Likewise.
9517 * sysdeps/unix/ioctls-tmpl.c: Likewise.
9518 * sysdeps/unix/ioctls.awk: Likewise.
9519 * sysdeps/unix/mk-local_lim.c: Likewise.
9520 * sysdeps/unix/snarf-ioctls: Likewise.
9521
4851a949
RH
95222012-03-19 Richard Henderson <rth@twiddle.net>
9523
bd37f2ee
RH
9524 * sysdeps/i386/fpu/fenv_private.h: New file.
9525 * sysdeps/i386/fpu/math_private.h: Use it.
9526 (math_opt_barrier, math_force_eval): Remove.
9527 (libc_feholdexcept_setround_53bit): Remove.
9528 (libc_feupdateenv_53bit): Remove.
9529 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9530 (math_opt_barrier, math_force_eval): Remove.
9531 (libc_feholdexcept): Remove.
9532 (libc_feholdexcept_setround): Remove.
9533 (libc_fetestexcept, libc_fesetenv): Remove.
9534 (libc_feupdateenv_test): Remove.
9535 (libc_feupdateenv, libc_feholdsetround): Remove.
9536 (libc_feresetround): Remove.
9537
d0adc922
RH
9538 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
9539 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9540
0fe0f1f8
RH
9541 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
9542 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
9543 (libc_feupdateenv_testl): New.
9544 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
9545 (libc_feupdateenv_testf): New.
9546 (libc_feupdateenv): Use libc_feupdateenv_test.
9547 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
9548 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
9549
eb92c487
RH
9550 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
9551 (libc_feholdsetroundf, libc_feholdsetroundl): New.
9552 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
9553 (libc_feresetround_noex): New.
9554 (libc_feresetround_noexf): New.
9555 (libc_feresetround_noexl): New.
9556 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
9557 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
9558 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
9559 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
9560 SET_RESTORE_ROUND.
9561 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9562 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
9563 (__cos): Likewise.
9564 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
9565 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
9566 SET_RESTORE_ROUND_NOEX.
9567 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
9568 SET_RESTORE_ROUND_NOEXF.
9569 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
9570 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
9571 (libc_feholdsetroundf): New.
9572 (libc_feresetround, libc_feresetroundf): New.
9573
7d2e8012
RH
9574 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
9575 (libc_feholdexcept_setround_53bit): Convert from macro to function.
9576 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
9577
b4dabbb4
RH
9578 * sysdeps/generic/math_private.h: Include <fenv.h>.
9579 (default_libc_feholdexcept): New.
9580 (default_libc_feholdexcept_setround): New.
9581 (default_libc_fesetenv, default_libc_feupdateenv): New.
9582 (libc_feholdexcept): Only define if undefined.
9583 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
9584 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
9585 (libc_feholdexcept_setroundl): Likewise.
9586 (libc_feholdexcept_setround_53bit): Likewise.
9587 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
9588 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
9589 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
9590 (libc_feupdateenv_53bit): Likewise.
9591 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
9592 (libc_feholdexcept): Convert from macro to inline function.
9593 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
9594 (libc_fesetenv, libc_feupdateenv): Likewise.
9595
4851a949
RH
9596 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
9597 not previously defined.
9598 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
9599 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
9600 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
9601 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
9602 * sysdeps/ieee754/flt-32/math_private.h: New file.
9603 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
9604 math_private.h below SET_FLOAT_WORD.
9605 (__isnan, __isinf_ns, __finite): Remove.
9606 (__isnanf, __isinf_nsf, __finitef): Remove.
9607
e79d442e
AS
96082012-03-18 Andreas Schwab <schwab@linux-m68k.org>
9609
9610 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9611
90b80344
DM
96122012-03-17 David S. Miller <davem@davemloft.net>
9613
9614 [BZ #6471]
9615 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
9616 for 2.16.
9617
edc21804
DM
96182012-03-16 David S. Miller <davem@davemloft.net>
9619
77e927af
DM
9620 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
9621 warnings.
9622
374976dd
DM
9623 [BZ #6471]
9624 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
9625 properly.
9626 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
9627 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
9628 sysdep_routines when subdir is sysvipc.
9629 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
9630 __getshmlba helper.
9631
edc21804
DM
9632 * sysdeps/sparc/fpu/libm-test/ulps: Update.
9633
473c3ef3
L
96342012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9635
9636 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
9637 [__LP64__].
9638
eb0f39b6
L
96392012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9640
9641 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
9642 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
9643 (__lround): Renamed to ...
9644 (__llround): This. Replace long int with long long int.
9645 Define lround functions as aliases of llround functions.
9646 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
9647
6b6cd74b
L
96482012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9649
9650 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
9651 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
9652 adresses to uintptr_t. Replace "long int" and "unsigned long
9653 int" with "greg_t" on va_arg.
9654
f1a77b01
L
96552012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9656
9657 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
9658 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
9659
9660 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
9661 Move e_machine check before EI_CLASS check. Handle x32
9662 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
9663 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
9664 SKIP_EM_IA_64 and include
9665 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
9666
9667 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
9668 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
9669 (add_system_dir): New macro.
9670
9671 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
9672 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
9673
11b90b9f
JM
96742012-03-16 Joseph Myers <joseph@codesourcery.com>
9675
c36e1d23
JM
9676 [BZ #2551]
9677 [BZ #2552]
9678 [BZ #2553]
9679 [BZ #2554]
9680 [BZ #2562]
9681 [BZ #2563]
9682 [BZ #2565]
9683 [BZ #2566]
9684 [BZ #2576]
9685 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
9686 (y0): Likewise.
9687 * math/w_j0f.c (j0f): Likewise.
9688 (y0f): Likewise.
9689 * math/w_j0l.c (__j0l): Likewise.
9690 (__y0l): Likewise.
9691 * math/w_j1.c (j1): Likewise.
9692 (y1): Likewise.
9693 * math/w_j1f.c (j1f): Likewise.
9694 (y1f): Likewise.
9695 * math/w_j1l.c (__j1l): Likewise.
9696 (__y1l): Likewise.
9697 * math/w_jn.c (jn): Likewise.
9698 (yn): Likewise.
9699 * math/w_jnf.c (jnf): Likewise.
9700 (ynf): Likewise.
9701 * math/w_jnl.c (__jnl): Likewise.
9702 (__ynl): Likewise.
9703 * math/libm-test.inc (j0_test): Add more tests.
9704 (j1_test): Likewise.
9705 (jn_test): Likewise. Add trailing semicolon to existing test.
9706 (y0_test): Likewise.
9707 (y1_test): Likewise.
9708 * sysdeps/i386/fpu/libm-test-ulps: Update.
9709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9710
11b90b9f
JM
9711 [BZ #13851]
9712 [BZ #13854]
9713 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
9714 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
9715 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
9716 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
9717 (__tanl): Set errno for infinite argument.
9718 * sysdeps/i386/fpu/mptan.c: Remove.
9719 * sysdeps/i386/fpu/s_tan.S: Likewise.
9720 * sysdeps/i386/fpu/s_tanl.S: Likewise.
9721 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
9722 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
9723 * math/libm-test.inc (tan_test): Add more tests and enable more
9724 tests for double and long double.
9725 * sysdeps/i386/fpu/libm-test-ulps: Update.
9726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9727
6a1bd2a1
JK
97282012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9729
9730 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
9731 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
9732
10a803e0
RM
97332012-03-16 Roland McGrath <roland@hack.frob.com>
9734
9735 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
9736 * configure.in: Use it for both main tree and add-ons.
9737 * configure: Regenerated.
9738
f196c7f7
L
97392012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9740
9741 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
9742
8848d99d
JM
97432012-03-16 Joseph Myers <joseph@codesourcery.com>
9744
96cbe7f4
JM
9745 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
9746 in comment.
9747
8848d99d
JM
9748 [BZ #13851]
9749 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
9750 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
9751 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
9752 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
9753 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
9754 infinite argument.
9755 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
9756 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
9757 != 0 for prec == 2.
9758 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
9759 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
9760 * sysdeps/i386/fpu/s_cosl.S: Likewise.
9761 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
9762 * sysdeps/i386/fpu/s_sinl.S: Likewise.
9763 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
9764 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
9765 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
9766 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
9767 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
9768 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
9769 * math/libm-test.inc (cos_test): Add more tests and enable more
9770 tests for long double.
9771 (sin_test): Likewise.
9772 (sincos_test): Likewise.
9773 * sysdeps/i386/fpu/libm-test-ulps: Update.
9774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9775
dd7f4703
DM
97762012-03-16 David S. Miller <davem@davemloft.net>
9777
9778 * sysdeps/sparc/fpu/math_private.h: New file.
9779
006f1daa
DM
97802012-03-15 David S. Miller <davem@davemloft.net>
9781
c0c83bc8
DM
9782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
9783 file.
e6a62e18 9784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
9785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
9786 file.
e6a62e18
DM
9787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
9788 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
9789 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
9790 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
9791 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
9792 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
9793 sysdep routines.
9794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9795
88cb87d9
DM
9796 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
9797 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
9798
006f1daa 9799 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
9800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
9801 sparc-ifunc.h
006f1daa 9802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
9803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
9804 Likewise.
9805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
9806 Likewise.
006f1daa
DM
9807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
9808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
9809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
9810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9811 Likewise.
006f1daa
DM
9812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
9814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
9816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
9817 Likewise.
9818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
9819 Likewise.
006f1daa
DM
9820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
9822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
9823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
9824 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9825 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9826 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
9827 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
9828 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9829 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9830 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
9831 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
9832 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
9833 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
9834 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
9835 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
9836 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
9837 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
9838 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
9839 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
9840 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
9841 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
9842 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
9843 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
9844
11e0098e
AS
98452012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9846
9847 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
9848 scaling.
9849 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9850
e85b09d0
AJ
98512012-03-15 Andreas Jaeger <aj@suse.de>
9852
9853 [BZ #13852]
9854 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
9855 ieee754/flt-32 implementation for sin, cos and sincos.
9856 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
9857 * sysdeps/i386/fpu/s_cosf.S: Likewise.
9858 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
9859 * sysdeps/i386/fpu/s_sinf.S: Likewise.
9860 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
9861 ieee754/flt-32 implementation for tan.
9862
9863 * math/libm-test.inc (cos_test): Enable some large input tests for
9864 float as well
9865 (sin_test): Likewise.
9866 (sincos_test): Likewise.
9867 (tan_test): Add tests for large input.
9868
9869 * sysdeps/i386/fpu/libm-test-ulps: Update.
9870
81c64153
AJ
98712012-03-15 Andreas Jaeger <aj@suse.de>
9872
9873 [BZ #13658]
9874 * math/libm-test.inc (cos_test): Add more test cases.
9875 (sin_test): Likewise.
9876 (sincos_test): Likewise.
9877
7bbfa5c6
AJ
98782012-03-15 Andreas Jaeger <aj@suse.de>
9879
9880 [BZ #13837]
9881 * math/libm-test.inc (cos_test): Add a test case for large input
9882 value.
9883 (sin_test): Likewise.
9884 (sincos_test): Likewise.
9885
98862012-03-15 Andreas Jaeger <aj@suse.de>,
9887 Joseph Myers <joseph@codesourcery.com>
9888
9889 [BZ #13658]
0671f479 9890 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
9891 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
9892 * sysdeps/i386/fpu/branred.c: Likewise.
9893 * sysdeps/i386/fpu/dosincos.c: Likewise.
9894 * sysdeps/i386/fpu/mpa.c: Likewise.
9895 * sysdeps/i386/fpu/s_cos.S: Likewise.
9896 * sysdeps/i386/fpu/s_sin.S: Likewise.
9897 * sysdeps/i386/fpu/s_sincos.S: Likewise.
9898 * sysdeps/i386/fpu/sincos32.c: Likewise.
9899
9900 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
9901 Define.
9902 (libc_feupdateenv_53bit): Define.
9903 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
9904 Define.
9905 (libc_feupdateenv_53bit): Define.
9906
9907 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
9908 53 bit (without extend i386 double precision).
9909
9910 * math/libm-test.inc (sincos_test): Add tests for large input.
9911 (sin): Likewise.
9912 (cos): Likewise.
9913
9914 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9915
9cad04ea
AS
99162012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9917
9918 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9919
f7062b9a
DM
99202012-03-15 David S. Miller <davem@davemloft.net>
9921
9922 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
9923 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
9924 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
9925 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
9926 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
9927 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
9928 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
9929 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
9930 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
9931 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
9932 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
9933 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
9934 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
9935 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
9936 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
9937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
9938 file.
f7062b9a 9939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
9940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
9941 file.
f7062b9a 9942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
9943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
9944 file.
f7062b9a 9945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
9946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
9947 file.
f7062b9a
DM
9948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
9949 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
9950 fmin/fmax sysdep routines.
9951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9952
7bd951ff
DM
99532012-03-14 David S. Miller <davem@davemloft.net>
9954
559398ab
DM
9955 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
9956 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
9957 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
9958 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
9959 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
9960 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
9961 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
9962 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
9963 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
9964 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
9965 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
9966 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
9967 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
9968 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
9969 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
9970 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
9971 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
9972 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
9973 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
9974 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
9975 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
9976 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
9977 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
9978 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
9979 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
9980 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
9981 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
9982 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
9983 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
9984 routines.
9985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
9986 file.
559398ab 9987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
9988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
9989 file.
559398ab 9990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
9991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
9992 file.
559398ab 9993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
9994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
9995 file.
559398ab 9996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
9997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
9998 file.
559398ab 9999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
10000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
10001 file.
10002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
10003 file.
10004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
10005 file.
10006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
10007 file.
10008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
10009 New file.
10010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
10011 file.
10012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
10013 file.
559398ab 10014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
10015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
10016 file.
559398ab 10017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
10018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
10019 file.
559398ab 10020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
10021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
10022 file.
559398ab 10023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
10024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
10025 VIS3 routines.
559398ab
DM
10026
10027 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10028 New file.
10029
5a1c1e32
DM
10030 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10031
eae47a36
DM
10032 * sysdeps/sparc/configure.in: New file.
10033 * sysdeps/sparc/configure: Generate.
10034 * configure.in (libc_cv_sparc_as_vis3): Substitute.
10035 * configure: Regenerate.
10036 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
10037 * config.make.in (have-as-vis3): New.
10038 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
10039 available use -Av9d instead of -Av9a.
10040 * sysdeps/sparc/sparc64/Makefile: Likewise.
10041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
10042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
10043 New file.
10044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
10045 file.
10046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
10047 New file.
10048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
10049 file.
eae47a36
DM
10050 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
10051 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
10052 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
10053 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
10054 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
10055
c0c83bc8
DM
10056 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
10057 fzeros/fnegs to load 0x80000000 into a float register instead of
10058 using the stack.
7bd951ff
DM
10059 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
10060
bd951ccb
JM
100612012-03-14 Joseph Myers <joseph@codesourcery.com>
10062
10063 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10064 bits/syscall.h.
10065 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
10066 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
10067 ($(inst_includedir)/bits/syscall.h): Remove rule.
10068 ($(objpfx)bits/syscall.d): Include instead of
10069 $(objpfx)syscall-list.d.
10070 (generated): Change syscall-list.h and syscall-list.d to
10071 bits/syscall.h and bits/syscall.d.
10072
bb4e6db2
RM
100732012-03-14 Roland McGrath <roland@hack.frob.com>
10074
10075 [BZ #13846]
10076 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
10077
aa4a2ae1
JM
100782012-03-14 Joseph Myers <joseph@codesourcery.com>
10079
e456826d
JM
10080 [BZ #13841]
10081 * math/s_csqrt.c: Include <float.h>.
10082 (__csqrt): Scale large or subnormal inputs.
10083 * math/s_csqrtf.c: Likewise.
10084 * math/s_csqrtl.c: Likewise.
10085 * math/libm-test.inc (csqrt_test): Add more tests.
10086 * sysdeps/i386/fpu/libm-test-ulps: Update.
10087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10088
aa4a2ae1
JM
10089 [BZ #13840]
10090 * math/libm-test.inc (hypot_test): Add more tests.
10091
7c10fd35
DM
100922012-03-13 David S. Miller <davem@davemloft.net>
10093
10094 [BZ #13840]
10095 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
10096 double-precision for the calculation instead of scaling.
10097
f453b98b
JM
100982012-03-13 Joseph Myers <joseph@codesourcery.com>
10099
10100 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
10101 manipulate bits before adding and subtracting TWO52[sx].
10102 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
10103 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
10104 Likewise.
10105 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
10106
09a3453f
DM
101072012-03-13 David S. Miller <davem@davemloft.net>
10108
8e59da90
DM
10109 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
10110 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
10111 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
10112 rtld-global-offsets.h
10113 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10114
2a8ab7f2
DM
10115 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
10116 large parameters.
10117
10f62770
DM
10118 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
10119
5f0bdb18
DM
10120 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
10121 'err' in the ifdef scope in which it is actually used.
10122
09a3453f
DM
10123 * nss/nss_db/db-init.c: Include string.h
10124
b4b2eb5e
DM
101252012-03-12 David S. Miller <davem@davemloft.net>
10126
98bb2f1c
DM
10127 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10128 masking out of the most significant byte of random value used.
10129 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10130 Fix coding style in previous change.
10131
b4b2eb5e
DM
10132 * sysdeps/unix/sysv/linux/kernel-features.h
10133 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
10134 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
10135 expression.
10136 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
10137 later.
10138
6e226b09
DM
101392012-03-11 David S. Miller <davem@davemloft.net>
10140
a1bcbd40
DM
10141 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10142 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
10143 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
10144 for 'resultvar' otherwise things get truncated on 64-bit.
10145
cb9d6174
DM
10146 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10147 Fix masking out of the most significant byte of random value used.
10148
6e226b09
DM
10149 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10150
058c132d
AS
101512012-03-10 Andreas Schwab <schwab@linux-m68k.org>
10152
10153 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10154
2d2cd515
DM
101552012-03-09 David S. Miller <davem@davemloft.net>
10156
10157 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
10158 variables with appropriate CPP guards.
10159 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
10160 frame pointer, not the stack pointer. Correct layout comments. Fix test
10161 on resulting framesize and the management of the outregs buffer for pltexit.
10162 Preserve floating point return values across _dl_call_pltexit call.
10163 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
10164 framesize and the management of the outregs buffer for pltexit.
10165 Preserve floating point return values across _dl_call_pltexit
10166 call.
10167 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
10168 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
10169 (print_exit): Fix format string for return register value.
10170
9a07f9d0
JM
101712012-03-10 Joseph Myers <joseph@codesourcery.com>
10172
10173 * sunrpc/Makefile (others): Add rpcgen.
10174 ($(objpfx)rpcgen): Remove special build rule and dependency on
10175 libc.
10176 * sunrpc/rpcgen.c: New file.
10177
547b5e30
PE
101782012-03-09 Paul Eggert <eggert@cs.ucla.edu>
10179
c524201a
PE
10180 [BZ #13673]
10181 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
10182 * stdio-common/bug-vfprintf-nargs.c: Likewise.
10183 * sysdeps/i386/crti.S: Likewise.
10184 * sysdeps/i386/crtn.S: Likewise.
10185 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
10186 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
10187 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
10188 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
10189 * sysdeps/sh/crti.S: Likewise.
10190 * sysdeps/sh/crtn.S: Likewise.
10191 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10192
7b6235f2
PE
10193 [BZ #13673]
10194 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
10195 with URL.
10196 * locale/programs/locfile-kw.gperf: Likewise.
10197 * locale/programs/charmap-kw.h: Regenerated.
10198 * locale/programs/locfile-kw.h: Likewise.
10199
547b5e30
PE
10200 [BZ #13673]
10201 * intl/plural.y: Replace FSF snail mail address with URL.
10202 * intl/plural.c: Regenerated.
10203
5f0a5dae
RH
102042012-03-09 Richard Henderson <rth@twiddle.net>
10205
10206 * include/math_private.h: Remove file.
10207 * math/math_private.h: Move file ...
10208 * sysdeps/generic/math_private.h: ... here.
10209
b8c03620
RH
10210 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
10211 * sysdeps/powerpc/fpu/math_private.h: Likewise.
10212 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10213
4e234f5d 10214 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
10215 and <math_private.h>.
10216 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10217 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10218 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10219 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10220 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10221 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
10222 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10223 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10224 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10225 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10226 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10227 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10228 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10229 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10230 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10231 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10232 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10233 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10234 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10235 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10236 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10237 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10238 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10239 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10240 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10241 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10242 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10243 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10244 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10245 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10246 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10247 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10248 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10249 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10250 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10251 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10252 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10253 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10254 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10255 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10256 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
10257 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10258 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10259 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10260 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10261 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10262 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10263 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10264 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10265 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10266 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10267 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10268 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10269 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10270 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10271 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10272 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10273 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10274 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10275 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
10276 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10277 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10278 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10279 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10280 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
10281 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10282 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10283 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10284 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
10285 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
10286 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10287 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10288 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10289 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10290 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
10291 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
10292 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
10293 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10294 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
10295 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10296 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10297 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10298 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10299 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10300 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10301 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10302 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
10303 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10304 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10305 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10306 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10307 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10308 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10309 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10310 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10311 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10312 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10313 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10314 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10315 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10316 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10317 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10318 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10319 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10320 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10321 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10322 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10323 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10324 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10325 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10326 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10327 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10328 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10329 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10330 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
10331 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10332 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10333 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10334 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10335 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10336 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10337 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10338 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10339 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
10340 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10341 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10342 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10343 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
10344 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10345 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10346 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10347 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10348 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10349 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10350 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10351 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10352 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10353 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10354 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
10355 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10356 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10357 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10358 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10359 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
10360 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
10361 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10362 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10363 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10364 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
10365 * sysdeps/ieee754/k_standard.c: Likewise.
10366 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10367 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10368 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10369 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10370 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10371 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10372 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10373 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10374 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10375 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10376 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10377 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10378 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10379 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10380 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10381 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10382 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10383 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10384 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10385 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
10386 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10387 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10388 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10389 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10390 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10391 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10392 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10393 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10394 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10395 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10396 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10397 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10398 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10399 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10400 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
10401 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10402 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10403 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
10404 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
10405 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10406 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10407 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10408 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10409 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10410 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10411 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10412 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10413 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10414 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10415 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10416 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10417 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
10418 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10419 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
10420 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10421 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10422 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
10423 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
10424 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10425 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10426 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10427 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10428 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10429 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
10430 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10431 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10432 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10433 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10434 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10435 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10436 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10437 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10438 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
10439 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
10440 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
10441 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10442 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
10443 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
10444 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10445 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
10446 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
10447 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
10448 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10449 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10450 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
10451 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10452 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10453 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
10454 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10455 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10456 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
10457 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10458 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
10459 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
10460 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10461 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10462 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
10463 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
10464 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
10465 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
10466 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10467 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10468 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10469 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10470 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
10471 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10472 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10473 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
10474 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
10475 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10476 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10477 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10478 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10479 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10480 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10481 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10482 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10483 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10484 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10485 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10486 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10487 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10488 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10489 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10490 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10491 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
10492 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10493 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10494 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10495 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10496 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10497 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10498 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10499 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10500 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10501 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10502 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
10503 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10504 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10505 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10506 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10507 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10508 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10509 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10510 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10511 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10512 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10513 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10514 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10515 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
10516 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10517 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10518 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10519 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10520 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
10521 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
10522 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10523 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10524 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10525 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10526 * sysdeps/ieee754/s_lib_version.c: Likewise.
10527 * sysdeps/ieee754/s_matherr.c: Likewise.
10528 * sysdeps/ieee754/s_signgam.c: Likewise.
10529 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10530 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10531 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
10532 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
10533 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
10534 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10535 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
10536 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
10537 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
10538 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
10539 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
10540 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
10541 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10542 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10543 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
10544 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10545 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10546 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10547 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10548 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10549 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 10550
1991fa03
JM
105512012-03-09 Joseph Myers <joseph@codesourcery.com>
10552
10553 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
10554 * sunrpc/rpc_main.c: Likewise.
10555 * sunrpc/rpc_svcout.c: Likewise.
10556
60d6f5a6
DM
105572012-03-09 David S. Miller <davem@davemloft.net>
10558
10559 * include/math_private.h: New file.
10560
4962050e
JM
105612012-03-09 Joseph Myers <joseph@codesourcery.com>
10562
02a6f887
JM
10563 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
10564 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
10565 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
10566 from <bits/socket_type.h>.
10567 (enum __socket_type): Don't define here.
10568 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
10569 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10570 bits/socket_type.h.
10571
c6e013c1
JM
10572 [BZ #13566]
10573 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
10574 checking __USE_GNU.
10575
4962050e
JM
10576 * Makerules ($(inst_includedir)/%.h): New rule.
10577 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
10578 (install-others): Remove variable setting.
10579 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
10580
38842f45
RH
105812012-03-08 Richard Henderson <rth@twiddle.net>
10582
67bb6da6
RH
10583 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
10584 from macro to inline function; merge with the
10585 !__LIBC_INTERNAL_MATH_INLINES version.
10586 (__ieee754_sqrtf): Likewise.
10587
15194b4b
RH
10588 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
10589 to inline function.
10590 (__rintf, __floor, __floorf): Likewise.
10591
64e21ede
RH
10592 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
10593 macro to inline function.
10594 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
10595
38842f45
RH
10596 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
10597 not <math/math_private.h>.
10598
c64bf5fe
DM
105992012-03-08 David S. Miller <davem@davemloft.net>
10600
10601 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
10602 copyright year.
10603 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
10604
82d86f28
TS
106052012-03-08 Thomas Schwinge <thomas@codesourcery.com>
10606
10607 * resolv/gai_misc.c (handle_requests): Fix struct timespec
10608 normalization.
10609 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
10610 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10611
aea5d727
UD
106122012-03-08 Ulrich Drepper <drepper@gmail.com>
10613
10614 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
10615 be defined individually, they must be defined as a block. Define
10616 S for printing a string instead of hidint the different by using a
10617 macro for adding the 'l'.
10618 * stdio-common/tst-fphex-wide.c: Adjust.
10619
70bca0a3
MP
106202012-03-07 Marek Polacek <polacek@redhat.com>
10621
10622 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
10623
65b81130
MP
106242012-03-08 Marek Polacek <polacek@redhat.com>
10625
10626 [BZ #13806]
10627 * stdio-common/Makefile (tests): Add tst-fphex-wide.
10628 * stdio-common/tst-fphex.c: Define a few macros to make the
10629 test reusable. Use them.
10630 * stdio-common/tst-fphex-wide.c: New file.
10631
07037eeb
JM
106322012-03-08 Joseph Myers <joseph@codesourcery.com>
10633
a7a93d50
JM
10634 [BZ #6911]
10635 * manual/macros.texi (gnusystems): New macro.
10636 (nongnusystems): Likewise.
10637 (gnulinuxhurdsystems): Likewise.
10638 (gnuhurdsystems): Likewise..
10639 (gnulinuxsystems): Likewise.
10640 * manual/charset.texi: Use new macros or @theglibc{} to refer to
10641 variants of the GNU system, not "GNU system".
10642 * manual/conf.texi: Likewise.
10643 * manual/errno.texi: Likewise. Update example of errno macro
10644 expansion.
10645 * manual/filesys.texi: Likewise.
10646 (getumask): Document as specific to GNU/Hurd.
10647 * manual/install.texi: Likewise. Reword some references to
10648 GNU/Linux.
10649 * manual/intro.texi: Likewise.
10650 * manual/io.texi: Likewise.
10651 (File Name Portability): Detail which constraints are inapplicable
10652 to all GNU systems and which are only inapplicable to GNU/Hurd.
10653 * manual/job.texi: Likewise.
10654 * manual/llio.texi: Likewise.
10655 (O_NOCTTY): Document as present on GNU/Linux.
10656 * manual/maint.texi: Likewise.
10657 * manual/memory.texi: Likewise.
10658 * manual/pattern.texi: Likewise.
10659 * manual/pipe.texi: Likewise.
10660 * manual/process.texi: Likewise.
10661 * manual/resource.texi: Likewise.
10662 (RUSAGE_CHILDREN): Remove statement about specifying a particular
10663 child on GNU/Hurd.
10664 * manual/setjmp.texi: Likewise.
10665 * manual/signal.texi: Likewise.
10666 * manual/startup.texi: Likewise.
10667 * manual/stdio.texi: Likewise.
10668 * manual/terminal.texi: Likewise.
10669 (ONLCR): Document as POSIX.
10670 (OXTABS): Document availability on GNU/Linux as XTABS.
10671 (ONOEOT): Document availability separately from other bits.
10672 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
10673 * manual/time.texi: Likewise.
10674 * manual/users.texi: Likewise.
10675 * INSTALL: Regenerated.
10676 * sysdeps/gnu/errlist.c: Regenerated.
10677
07037eeb
JM
10678 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
10679 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
10680 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
10681 puts.
10682 * configure: Regenerated.
10683
d1d3431a
JM
106842012-03-07 Joseph Myers <joseph@codesourcery.com>
10685
af6a1e37
JM
10686 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
10687 default includes instead of AC_HEADER_CHECK.
10688 * sysdeps/i386/configure: Regenerated.
10689
d1d3431a
JM
10690 [BZ #10716]
10691 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
10692 * math/s_cacoshf.c (__cacoshf): Likewise.
10693 * math/s_cacoshl.c (__cacoshl): Likewise.
10694 * math/s_casinh.c (__casinh): Set signs of result from argument.
10695 * math/s_casinhf.c (__casinhf): Likewise.
10696 * math/s_casinhl.c (__casinhl): Likewise.
10697 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
10698 (casinh_test): Add more tests.
10699 * sysdeps/i386/fpu/libm-test-ulps: Update.
10700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10701
482ff4da
UD
107022012-03-07 Ulrich Drepper <drepper@gmail.com>
10703
872fda05
UD
10704 * po/zh_TW.po: Update from translation team.
10705
a4300c7a
UD
10706 * login/Makefile (distribute): Remove variable.
10707 * catgets/Makefile: Likewise.
10708 * mach/Makefile: Likewise.
10709 * malloc/Makefile: Likewise.
10710 * misc/Makefile: Likewise.
10711 * iconv/Makefile: Likewise.
10712 * nscd/Makefile: Likewise.
10713 * hurd/Makefile: Likewise.
10714 * manual/Makefile: Likewise.
10715 * locale/Makefile: Likewise.
10716 * intl/Makefile: Likewise.
10717 * conform/Makefile: Likewise.
10718 * nss/Makefile: Likewise.
10719 * time/Makefile: Likewise.
10720 * soft-fp/Makefile: Likewise.
10721 * dirent/Makefile: Likewise.
10722 * gmon/Makefile: Likewise.
10723 * po/Makefile: Likewise.
10724 * rt/Makefile: Likewise.
10725 * socket/Makefile: Likewise.
10726 * math/Makefile: Likewise.
10727 * signal/Makefile: Likewise.
10728 * debug/Makefile: Likewise.
10729 * elf/Makefile: Likewise.
10730 * timezone/Makefile: Likewise.
10731 * stdlib/Makefile: Likewise.
10732 * iconvdata/Makefile: Likewise.
10733 * sunrpc/Makefile: Likewise.
10734 * io/Makefile: Likewise.
10735 * argp/Makefile: Likewise.
10736 * inet/Makefile: Likewise.
10737 * hesiod/Makefile: Likewise.
10738 * grp/Makefile: Likewise.
10739 * csu/Makefile: Likewise.
10740 * wctype/Makefile: Likewise.
10741 * crypt/Makefile: Likewise.
10742 * libio/Makefile: Likewise.
10743 * string/Makefile: Likewise.
10744 * nis/Makefile: Likewise.
10745 * resolv/Makefile: Likewise.
10746 * stdio-common/Makefile: Likewise.
10747 * wcsmbs/Makefile: Likewise.
10748 * dlfcn/Makefile: Likewise.
10749 * posix/Makefile: Likewise.
10750
3b7c4e74 10751 [BZ #6959]
482ff4da
UD
10752 * timezone/Makefile: Don't install timezone files, just the programs
10753 and scripts.
10754
f72ed77d
UD
107552012-03-06 Ulrich Drepper <drepper@gmail.com>
10756
a000466f
UD
10757 * nss/databases.def: Add missing gshadow entry.
10758
f72ed77d
UD
10759 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
10760
a53b7a4e
MP
107612012-03-06 Marek Polacek <polacek@redhat.com>
10762
10763 [BZ #13726]
10764 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
10765 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10766 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
10767 * stdio-common/tst-long-dbl-fphex.c: New file.
10768
e9258400
DM
107692012-03-06 David S. Miller <davem@davemloft.net>
10770
10771 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10772 (set_obp_int): New function.
10773 (get_obp_int): New function.
10774 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
10775 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
10776 Avoid unused variable warnings on 'val' and use builtin_expect.
10777 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
10778 __builtin_expect.
e9258400
DM
10779 (INLINE_CLONE_SYSCALL): Likewise.
10780
3bd2c723
DM
107812012-03-05 David S. Miller <davem@davemloft.net>
10782
10783 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10784
bbb78d03
AS
107852012-03-05 Andreas Schwab <schwab@linux-m68k.org>
10786
884c5db4
AS
10787 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10788
bbb78d03
AS
10789 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
10790 only for |x| >= 40.
10791 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10792
1c9f702a 107932012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
10794
10795 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
10796 Replace gettimeofday with __vdso_gettimeofday.
10797
7be16f82
RM
10798 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10799 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
10800 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
10801
10802 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
10803 time with __vdso_time.
10804
ed58a00f
JM
108052012-03-05 Joseph Myers <joseph@codesourcery.com>
10806
10807 * manual/lang.texi (size_t): Note types to which size_t may be
10808 equivalent with the GNU C Library, but do not describe when
10809 differences between them are significant.
10810
30ee4ced
AJ
108112012-03-05 Andreas Jaeger <aj@suse.de>
10812
10813 * sysdeps/i386/fpu/libm-test-ulps: Update.
10814
b7cd39e8
JM
108152012-03-05 Joseph Myers <joseph@codesourcery.com>
10816
10817 [BZ #3976]
10818 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
10819 (__ieee754_pow): Save and restore rounding mode and use
10820 round-to-nearest for main computations.
10821 * math/libm-test.inc (pow_test_tonearest): New function.
10822 (pow_test_towardzero): Likewise.
10823 (pow_test_downward): Likewise.
10824 (pow_test_upward): Likewise.
10825 (main): Call the new functions.
10826 * sysdeps/i386/fpu/libm-test-ulps: Update.
10827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
10828
10829 [BZ #3976]
10830 * math/libm-test.inc (cosh_test_tonearest): New function.
10831 (cosh_test_towardzero): Likewise.
10832 (cosh_test_downward): Likewise.
10833 (cosh_test_upward): Likewise.
10834 (sinh_test_tonearest): Likewise.
10835 (sinh_test_towardzero): Likewise.
10836 (sinh_test_downward): Likewise.
10837 (sinh_test_upward): Likewise.
10838 (main): Call the new functions.
10839 * sysdeps/i386/fpu/libm-test-ulps: Update.
10840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10841
6c6a98c9
TV
108422012-03-05 Tom de Vries <tom@codesourcery.com>
10843
10844 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
10845 default stack guard is set in last bytes.
10846 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
10847
21bb2d2e 108482012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 10849
21bb2d2e 10850 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 10851
21bb2d2e
AJ
10852 [BZ #13656]
10853 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
10854 possibly allocate from heap instead of stack.
10855 * stdio-common/bug-vfprintf-nargs.c: New file.
10856 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 10857
c6922934
AS
108582012-03-03 Andreas Schwab <schwab@linux-m68k.org>
10859
10860 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10861
bc957d53
MP
108622012-03-03 Marek Polacek <polacek@redhat.com>
10863
10864 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
10865 * math/math_private.h: Likewise.
10866 * stdlib/tst-strtod.c: Likewise.
10867 * sysdeps/i386/i486/bits/atomic.h: Likewise.
10868 * sysdeps/x86_64/bits/atomic.h: Likewise.
10869
6358490d
DM
108702012-03-02 David S. Miller <davem@davemloft.net>
10871
10872 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
10873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
10874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
10875 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
10876 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
10877 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
10878 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
10879 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
10880
01ae168d
RM
108812012-03-02 Roland McGrath <roland@hack.frob.com>
10882
d9a17c07
RM
10883 [BZ #13792]
10884 * manual/examples/README: New file, says the example source files
10885 can be used under GPL>=2.
10886 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
10887 line containing just "*/".
10888 * manual/examples/add.c: Add copyright header (GPL>=2).
10889 * manual/examples/argp-ex1.c: Likewise.
10890 * manual/examples/argp-ex2.c: Likewise.
10891 * manual/examples/argp-ex3.c: Likewise.
10892 * manual/examples/argp-ex4.c: Likewise.
10893 * manual/examples/atexit.c: Likewise.
10894 * manual/examples/db.c: Likewise.
10895 * manual/examples/dir.c: Likewise.
10896 * manual/examples/dir2.c: Likewise.
10897 * manual/examples/execinfo.c: Likewise.
10898 * manual/examples/filecli.c: Likewise.
10899 * manual/examples/filesrv.c: Likewise.
10900 * manual/examples/fmtmsgexpl.c: Likewise.
10901 * manual/examples/genpass.c: Likewise.
10902 * manual/examples/inetcli.c: Likewise.
10903 * manual/examples/inetsrv.c: Likewise.
10904 * manual/examples/isockad.c: Likewise.
10905 * manual/examples/longopt.c: Likewise.
10906 * manual/examples/memopen.c: Likewise.
10907 * manual/examples/memstrm.c: Likewise.
10908 * manual/examples/mkfsock.c: Likewise.
10909 * manual/examples/mkisock.c: Likewise.
10910 * manual/examples/mygetpass.c: Likewise.
10911 * manual/examples/pipe.c: Likewise.
10912 * manual/examples/popen.c: Likewise.
10913 * manual/examples/rprintf.c: Likewise.
10914 * manual/examples/search.c: Likewise.
10915 * manual/examples/select.c: Likewise.
10916 * manual/examples/setjmp.c: Likewise.
10917 * manual/examples/sigh1.c: Likewise.
10918 * manual/examples/sigusr.c: Likewise.
10919 * manual/examples/stpcpy.c: Likewise.
10920 * manual/examples/strdupa.c: Likewise.
10921 * manual/examples/strftim.c: Likewise.
10922 * manual/examples/strncat.c: Likewise.
10923 * manual/examples/subopt.c: Likewise.
10924 * manual/examples/swapcontext.c: Likewise.
10925 * manual/examples/termios.c: Likewise.
10926 * manual/examples/testopt.c: Likewise.
10927 * manual/examples/testpass.c: Likewise.
10928 * manual/examples/timeval_subtract.c: Likewise.
10929
01ae168d
RM
10930 [BZ #13792]
10931 * manual/time.texi (Elapsed Time): Move timeval_subtract example
10932 function to ...
10933 * manual/timeval_subtract.c.texi: ... here, new file.
10934
49efa33d
DM
109352012-03-02 David S. Miller <davem@davemloft.net>
10936
10937 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
10938
28afd92d
JM
109392012-03-02 Joseph Myers <joseph@codesourcery.com>
10940
804360ed
JM
10941 [BZ #3976]
10942 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
10943 (__sin): Save and restore rounding mode and use round-to-nearest
10944 for all computations.
10945 (__cos): Save and restore rounding mode and use round-to-nearest
10946 for all computations.
10947 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
10948 <fenv.h>.
10949 (tan): Save and restore rounding mode and use round-to-nearest for
10950 all computations.
10951 * math/libm-test.inc (cos_test_tonearest): New function.
10952 (cos_test_towardzero): Likewise.
10953 (cos_test_downward): Likewise.
10954 (cos_test_upward): Likewise.
10955 (sin_test_tonearest): Likewise.
10956 (sin_test_towardzero): Likewise.
10957 (sin_test_downward): Likewise.
10958 (sin_test_upward): Likewise.
10959 (tan_test_tonearest): Likewise.
10960 (tan_test_towardzero): Likewise.
10961 (tan_test_downward): Likewise.
10962 (tan_test_upward): Likewise.
10963 (main): Call the new functions.
10964 * sysdeps/i386/fpu/libm-test-ulps: Update.
10965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10966
a6d06d7b
JM
10967 [BZ #10135]
10968 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
10969 small n, then large n, before computing and testing k+n.
10970 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10971 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10972 Likewise.
10973 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10974 Likewise.
10975 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
10976 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10977 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10978 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10979 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10980 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10981 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10982 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
10983 * math/libm-test.inc (scalbn_test): Add more tests.
10984 (scalbln_test): Likewise.
10985
07e12bb3
JM
10986 * manual/filesys.texi (mode_t): Describe constraints on size and
10987 signedness, not exact equivalence to a particular type.
10988 (ino_t): Likewise.
10989 (ino64_t): Likewise.
10990 (dev_t): Likewise.
10991 (nlink_t): Likewise.
10992 (blkcnt_t): Likewise.
10993 (blkcnt64_t): Likewise.
10994 * manual/llio.texi (off_t): Likewise.
10995
28afd92d
JM
10996 [BZ #3976]
10997 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
10998 (__ieee754_exp): Save and restore rounding mode and use
10999 round-to-nearest for all computations.
11000 * math/libm-test.inc (exp_test_tonearest): New function.
11001 (exp_test_towardzero): Likewise.
11002 (exp_test_downward): Likewise.
11003 (exp_test_upward): Likewise.
11004 (main): Call the new functions.
11005 * sysdeps/i386/fpu/libm-test-ulps: Update.
11006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11007
b1eeb65d
CD
110082012-03-01 Chris Demetriou <cgd@google.com>
11009
11010 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
11011 have predictable order.
11012
53362a4b
DM
110132012-03-01 David S. Miller <davem@davemloft.net>
11014
3c969083
DM
11015 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
11016
759707de
DM
11017 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
11018 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
11019 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
11020 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
11021
dfdb8ff2
DM
11022 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
11023 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
11024 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
11025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
11026 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
11027 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
11028 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
11029 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
11030 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
11031
ead89f96
DM
11032 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11033
7f66bd07
DM
11034 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
11035 * sysdeps/sparc/fpu/libm-test-ulps: to here.
11036 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
11037
53362a4b
DM
11038 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
11039 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11040 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11041 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
11042 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
11043 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
11044 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
11045 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11046 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11047 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
11048 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
11049 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11050 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11051 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11052 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11053 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11054 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
11055 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
11056 * sysdeps/sparc/elf/configure: Regenerated.
11057
7b1902cb
JM
110582012-03-01 Joseph Myers <joseph@codesourcery.com>
11059
bec039bc
JM
11060 * configure.in (AS, LD): Require binutils 2.20 or later.
11061 * configure: Regenerated.
11062 * manual/install.texi (Tools for Compilation): Give binutils 2.20
11063 as required minimum version.
11064 * INSTALL: Regenerated.
11065
7b1902cb
JM
11066 [BZ #2541]
11067 [BZ #4108]
11068 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
11069 before squaring exponent.
11070 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
11071 bottom long double and 27 bits of top long double before squaring
11072 exponent.
11073 * math/libm-test.inc (erfc_test): Add more tests.
11074 * sysdeps/i386/fpu/libm-test-ulps: Update.
11075 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11077
f775c276
KT
110782012-03-01 Kai Tietz <ktietz@redhat.com>
11079
11080 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
11081 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
11082 containing bit-fields.
11083 * soft-fp/extended.h (_FP_UNION_E): Likewise.
11084 * soft-fp/single.h (_FP_UNION_S): Likewise.
11085 * soft-fp/double.h (_FP_UNION_D): Likewise.
11086
5b8a4d4a
JM
110872012-02-29 Joseph Myers <joseph@codesourcery.com>
11088
0bab47b6
JM
11089 [BZ #13786]
11090 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
11091 not include ../strcmp.S.
11092 [USE_AS_STRNCASECMP_L]: Likewise.
11093 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
11094 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
11095 * sysdeps/i386/i686/multiarch/strncase_l-c.c
11096 (__strncasecmp_l_ia32): Define as alias to
11097 __strncasecmp_l_nonascii.
11098
0fcad3e2
JM
11099 [BZ #5794]
11100 * math/libm-test.inc (expm1_test): Add test for bug 5794.
11101 * sysdeps/i386/fpu/libm-test-ulps: Update.
11102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11103
5b8a4d4a
JM
11104 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
11105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11106
8fdceb2e
JL
111072012-02-29 Jeff Law <law@redhat.com>
11108
11109 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
11110 out of bounds read.
11111
1f393a11
MP
111122012-02-29 Marek Polacek <polacek@redhat.com>
11113
11114 [BZ #13706]
11115 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
11116 * elf/Makefile: Add rules to run tst-unused-dep.out.
11117
8847f037
DM
111182012-02-28 David S. Miller <davem@davemloft.net>
11119
11120 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
11121 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
11122 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
11123 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
11124 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
11125 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
11126
169d7f11
JM
111272012-02-29 Joseph Myers <joseph@codesourcery.com>
11128
11129 * math/libm-test.inc (llround_test): Move one test from
11130 lround_test. Use TEST_f_L in moved test.
11131 (lround_test): Move misplaced test to llround_test. Add testcase
11132 from bug 2561.
11133
39adf059
UD
111342012-02-28 Ulrich Drepper <drepper@gmail.com>
11135
11136 * sysdeps/x86_64/fpu/e_expf.S: New file.
11137 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
11138
71b5d1c5
SB
111392012-02-28 Stanislav Brabec <sbrabec@suse.cz>
11140
11141 [BZ #13637]
11142 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
11143 of remain_len that may cause incomplete multi-byte character and
11144 false match.
11145 * posix/bug-regex33.c: New file.
11146 * posix/Makefile (tests): Add bug-regex33.
11147
1f77f049
JM
111482012-02-28 Joseph Myers <joseph@codesourcery.com>
11149
11150 * manual/macros.texi: New file.
11151 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
11152 * manual/libc.texinfo: Include macros.texi.
11153 * manual/creatute.texi: Likewise.
11154 * manual/install.texi: Likewise.
11155 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
11156 @glibcadj{} in references to the GNU C Library.
11157 * manual/charset.texi: Likewise.
11158 * manual/conf.texi: Likewise.
11159 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
11160 when not using those macros.
11161 * manual/creature.texi: Likewise.
11162 * manual/crypt.texi: Likewise.
11163 * manual/errno.texi: Likewise.
11164 * manual/filesys.texi: Likewise.
11165 * manual/header.texi: Likewise.
11166 * manual/install.texi: Likewise.
11167 * manual/intro.texi: Likewise.
11168 * manual/io.texi: Likewise.
11169 * manual/job.texi: Likewise.
11170 * manual/lang.texi: Likewise.
11171 * manual/libc.texiinfo: Likewise.
11172 * manual/llio.texi: Likewise.
11173 * manual/locale.texi: Likewise.
11174 * manual/maint.texi: Likewise.
11175 * manual/math.texi: Likewise.
11176 * manual/memory.texi: Likewise.
11177 * manual/message.texi: Likewise.
11178 * manual/nss.texi: Likewise.
11179 * manual/pattern.texi: Likewise.
11180 * manual/process.texi: Likewise.
11181 * manual/resource.texi: Likewise.
11182 * manual/search.texi: Likewise.
11183 * manual/setjmp.texi: Likewise.
11184 * manual/signal.texi: Likewise.
11185 * manual/socket.texi: Likewise.
11186 * manual/startup.texi: Likewise.
11187 * manual/stdio.texi: Likewise.
11188 * manual/string.texi: Likewise.
11189 * manual/sysinfo.texi: Likewise.
11190 * manual/syslog.texi: Likewise.
11191 * manual/terminal.texi: Likewise.
11192 * manual/time.texi: Likewise.
11193 * manual/users.texi: Likewise.
11194 * INSTALL: Regenerated.
11195 * NOTES: Regenerated.
d40c5d54 11196 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 11197
450bf206
AS
111982012-02-28 Andreas Schwab <schwab@linux-m68k.org>
11199
11200 * include/dirent.h: Include <dirstream.h> before
11201 <dirent/dirent.h>.
11202
741a235b
DM
112032012-02-28 David S. Miller <davem@davemloft.net>
11204
11205 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
11206 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
11207 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
11208 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
11209
d6b5aa58
DM
112102012-02-27 David S. Miller <davem@davemloft.net>
11211
1aff59a3
DM
11212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
11213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
11214 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
11215 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
11216
d6b5aa58
DM
11217 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
11218 frame pointer instead of stack pointer relative arg slot.
11219 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11220 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11221 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11222
433f48bf
CD
112232012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
11224
11225 [BZ #3992]
11226 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
11227
d674b76d
DM
112282012-02-27 David S. Miller <davem@davemloft.net>
11229
11230 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
11231 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11232 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
11234 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11235 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11236 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
11237 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
11238
0e7727f7
JM
112392012-02-27 Joseph Myers <joseph@codesourcery.com>
11240
11241 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
11242 later. Allow versions 5-9.
43be4ca2 11243 * configure: Regenerated.
0e7727f7
JM
11244 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
11245 required minimum version and 4.6 as recommended version. Do not
11246 mention bugs in GCC 2.7 and 2.8.
43be4ca2 11247 * INSTALL: Regenerated.
0e7727f7 11248
a78bc654
DM
112492012-02-27 David S. Miller <davem@davemloft.net>
11250
428d5830
DM
11251 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
11252 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
11253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
11254 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
11255 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
11256 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
11257 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
11258 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
11259
a78bc654
DM
11260 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
11261 manipulate bits before adding and subtracting TWO112[sx].
11262 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11263
4579f81c
RM
112642012-02-27 Roland McGrath <roland@hack.frob.com>
11265
36c8acb4
RM
11266 [BZ #13775]
11267 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
11268 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
11269 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
11270 being in POSIX, because they are in 1003.1-2008.
11271
84ad622b
RM
11272 * rt/tst-aio.c: Include <fcntl.h>.
11273 * rt/tst-aio7.c: Likewise.
11274 * rt/tst-aio64.c: Likewise.
11275
4579f81c
RM
11276 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
11277
abd923db
JM
112782012-02-27 Joseph Myers <joseph@codesourcery.com>
11279
11280 * manual/install.texi (--with-headers): Describe headers as
11281 interface headers, not private headers.
11282 (Specific advice for GNU/Linux systems): Describe use of headers
11283 from "make headers_install", not private headers from older
11284 kernels.
43be4ca2 11285 * INSTALL: Regenerated.
abd923db
JM
11286 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
11287 Change to 2.6.19.
11288 * sysdeps/unix/sysv/linux/configure: Regenerated.
11289
6664049b
JM
11290 * manual/llio.texi (fclean): Remove documentation.
11291
bb8b6697
JM
11292 * manual/Makefile (libc-texi-generated): New variable. Include
11293 version.texi.
11294 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
11295 $(libc-texi-generated), not duplicated list of files.
11296 (version.texi, stamp-version): New rules.
11297 (realclean): Remove $(libc-texi-generated), not individual files
11298 from that list. Do not remove dir-add.texinfo.
11299 * manual/libc.texinfo: Comment out uses of edition numbers and
11300 references to printed manual. Remove last-updated dates.
11301 (EDITION): Comment out.
11302 (ISBN): Likewise.
11303 (VERSION, UPDATED): Remove.
11304 (version.texi): Include.
11305
12e5c3b9
AS
113062012-02-27 Andreas Schwab <schwab@linux-m68k.org>
11307
11308 * sysdeps/posix/spawni.c: Include <signal.h>.
11309 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
11310 * sysdeps/pthread/aio_fsync.c: Likewise.
11311
4efeffc1 113122012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 11313
ba63ba08
UD
11314 * conform/Makefile (tests): Run only when not cross-compiling and
11315 when fast-check is not defined.
11316
d94a4670
UD
11317 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
11318 * conform/data/limits.h-data: Fixes for POSIX2008.
11319 * conform/run-conformtest.sh: Run all tests.
11320 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
11321 headers.
11322 * include/bits/dlfcn.h: Likewise.
11323 * include/langinfo.h: Likewise.
11324 * include/monetary.h: Likewise.
11325 * include/sys/poll.h: Likewise.
11326
11327 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
11328 for __USE_GNU.
11329 * posix/spawn.h: Define __need_sigset_t.
11330 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
11331 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
11332 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
11333 to get sigevent_t only.
11334 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
11335 only for __USE_GNU.
11336 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11337 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11338 process_vm_writev only for __USE_GNU.
11339 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
11340
11341 * conform/Makefile: For now ignore errors from run-conformtest.
11342 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
11343 POSIX to avoid namespace pollution. Don't prepend headers.
11344 * conform/data/aio.h-data: Fixes for POSIX testing.
11345 * conform/data/fcntl.h-data: Likewise.
11346 * conform/data/glob.h-data: Likewise.
11347 * conform/data/grp.h-data: Likewise.
11348 * conform/data/pthread.h-data: Likewise.
11349 * conform/data/pwd.h-data: Likewise.
11350 * conform/data/signal.h-data: Likewise.
11351 * conform/data/spawn.h-data: Likewise.
11352 * conform/data/stdio.h-data: Likewise.
11353 * conform/data/stdlib.h-data: Likewise.
11354 * conform/data/stropts.h-data: Likewise.
11355 * conform/data/sys/mman.h-data: Likewise.
11356 * conform/data/sys/stat.h-data: Likewise.
11357 * conform/data/sys/types.h-data: Likewise.
11358 * conform/data/sys/wait.h-data: Likewise.
11359 * conform/data/time.h-data: Likewise.
11360 * conform/data/unistd.h-data: Likewise.
11361 * conform/data/utime.h-data: Likewise.
11362
11363 * io/sys/stat.h: fchmod was always in POSIX.
11364 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
11365 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
11366 * rt/aio.h: Define __need_timespec before including <time.h>.
11367 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
11368 struct. Add forward declaration of pthread_attr_t and use it in
11369 sigevent.
11370 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11371 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11372 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
11373 always remove CLK_TCK definition.
11374
c20105c3
AS
113752012-02-26 Andreas Schwab <schwab@linux-m68k.org>
11376
11377 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
11378
7a270350
UD
113792012-02-25 Ulrich Drepper <drepper@gmail.com>
11380
31341567
UD
11381 * conform/run-conformtest.sh: New file.
11382 * conform/Makefile: Run run-conformtest for tests.
11383 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
11384 support.
11385
11386 * conform/data/uchar.h-data: New file.
11387 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
11388 * conform/data/arpa/inet.h-data: Likewise.
11389 * conform/data/assert.h-data: Likewise.
11390 * conform/data/complex.h-data: Likewise.
11391 * conform/data/cpio.h-data: Likewise.
11392 * conform/data/ctype.h-data: Likewise.
11393 * conform/data/dirent.h-data: Likewise.
11394 * conform/data/dlfcn.h-data: Likewise.
11395 * conform/data/errno.h-data: Likewise.
11396 * conform/data/fcntl.h-data: Likewise.
11397 * conform/data/float.h-data: Likewise.
11398 * conform/data/fmtmsg.h-data: Likewise.
11399 * conform/data/fnmatch.h-data: Likewise.
11400 * conform/data/ftw.h-data: Likewise.
11401 * conform/data/glob.h-data: Likewise.
11402 * conform/data/grp.h-data: Likewise.
11403 * conform/data/iconv.h-data: Likewise.
11404 * conform/data/inttypes.h-data: Likewise.
11405 * conform/data/langinfo.h-data: Likewise.
11406 * conform/data/libgen.h-data: Likewise.
11407 * conform/data/limits.h-data: Likewise.
11408 * conform/data/locale.h-data: Likewise.
11409 * conform/data/math.h-data: Likewise.
11410 * conform/data/monetary.h-data: Likewise.
11411 * conform/data/mqueue.h-data: Likewise.
11412 * conform/data/ndbm.h-data: Likewise.
11413 * conform/data/net/if.h-data: Likewise.
11414 * conform/data/netdb.h-data: Likewise.
11415 * conform/data/netinet/in.h-data: Likewise.
11416 * conform/data/nl_types.h-data: Likewise.
11417 * conform/data/poll.h-data: Likewise.
11418 * conform/data/pthread.h-data: Likewise.
11419 * conform/data/pwd.h-data: Likewise.
11420 * conform/data/regex.h-data: Likewise.
11421 * conform/data/sched.h-data: Likewise.
11422 * conform/data/search.h-data: Likewise.
11423 * conform/data/semaphore.h-data: Likewise.
11424 * conform/data/setjmp.h-data: Likewise.
11425 * conform/data/signal.h-data: Likewise.
11426 * conform/data/spawn.h-data: Likewise.
11427 * conform/data/stdarg.h-data: Likewise.
11428 * conform/data/stdio.h-data: Likewise.
11429 * conform/data/stdlib.h-data: Likewise.
11430 * conform/data/string.h-data: Likewise.
11431 * conform/data/strings.h-data: Likewise.
11432 * conform/data/stropts.h-data: Likewise.
11433 * conform/data/sys/ipc.h-data: Likewise.
11434 * conform/data/sys/mman.h-data: Likewise.
11435 * conform/data/sys/msg.h-data: Likewise.
11436 * conform/data/sys/resource.h-data: Likewise.
11437 * conform/data/sys/select.h-data: Likewise.
11438 * conform/data/sys/sem.h-data: Likewise.
11439 * conform/data/sys/shm.h-data: Likewise.
11440 * conform/data/sys/socket.h-data: Likewise.
11441 * conform/data/sys/stat.h-data: Likewise.
11442 * conform/data/sys/statvfs.h-data: Likewise.
11443 * conform/data/sys/time.h-data: Likewise.
11444 * conform/data/sys/timeb.h-data: Likewise.
11445 * conform/data/sys/times.h-data: Likewise.
11446 * conform/data/sys/types.h-data: Likewise.
11447 * conform/data/sys/uio.h-data: Likewise.
11448 * conform/data/sys/un.h-data: Likewise.
11449 * conform/data/sys/utsname.h-data: Likewise.
11450 * conform/data/sys/wait.h-data: Likewise.
11451 * conform/data/syslog.h-data: Likewise.
11452 * conform/data/tar.h-data: Likewise.
11453 * conform/data/termios.h-data: Likewise.
11454 * conform/data/utime.h-data: Likewise.
11455 * conform/data/utmpx.h-data: Likewise.
11456 * conform/data/varargs.h-data: Likewise.
11457 * conform/data/wchar.h-data: Likewise.
11458 * conform/data/wctype.h-data: Likewise.
11459 * conform/data/wordexp.h-data: Likewise.
11460
11461 * include/stropts.h: New file.
11462 * include/uchar.h: New file.
11463 * include/aio.h: Changes to allow conformtest.pl to use the headers.
11464 * include/assert.h: Likewise.
11465 * include/ctype.h: Likewise.
11466 * include/dirent.h: Likewise.
11467 * include/dlfcn.h: Likewise.
11468 * include/fcntl.h: Likewise.
11469 * include/fnmatch.h: Likewise.
11470 * include/glob.h: Likewise.
11471 * include/grp.h: Likewise.
11472 * include/libio.h: Likewise.
11473 * include/locale.h: Likewise.
11474 * include/math.h: Likewise.
11475 * include/net/if.h: Likewise.
11476 * include/netdb.h: Likewise.
11477 * include/netinet/in.h: Likewise.
11478 * include/pthread.h: Likewise.
11479 * include/pwd.h: Likewise.
11480 * include/regex.h: Likewise.
11481 * include/sched.h: Likewise.
11482 * include/search.h: Likewise.
11483 * include/setjmp.h: Likewise.
11484 * include/signal.h: Likewise.
11485 * include/stdio.h: Likewise.
11486 * include/stdlib.h: Likewise.
11487 * include/string.h: Likewise.
11488 * include/sys/cdefs.h: Likewise.
11489 * include/sys/mman.h: Likewise.
11490 * include/sys/msg.h: Likewise.
11491 * include/sys/resource.h: Likewise.
11492 * include/sys/select.h: Likewise.
11493 * include/sys/socket.h: Likewise.
11494 * include/sys/stat.h: Likewise.
11495 * include/sys/statvfs.h: Likewise.
11496 * include/sys/time.h: Likewise.
11497 * include/sys/times.h: Likewise.
11498 * include/sys/uio.h: Likewise.
11499 * include/sys/utsname.h: Likewise.
11500 * include/sys/wait.h: Likewise.
11501 * include/termios.h: Likewise.
11502 * include/time.h: Likewise.
11503 * include/ulimit.h: Likewise.
11504 * include/unistd.h: Likewise.
11505 * include/utime.h: Likewise.
11506 * include/wchar.h: Likewise.
11507 * include/wctype.h: Likewise.
11508 * include/wordexp.h: Likewise.
11509
11510 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
11511
7a270350
UD
11512 * time/time.h: TIME_UTC must be a macro.
11513 Make timespec_get available for ISO C11 only as well.
11514
7724defc
UD
115152012-02-24 Ulrich Drepper <drepper@gmail.com>
11516
11517 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
11518 Reported by Peng Haitao <penght@cn.fujitsu.com>.
11519
6b1d1d46
JM
115202012-02-24 Joseph Myers <joseph@codesourcery.com>
11521
11522 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 11523
0f8bbd69
JM
115242012-02-24 Joseph Myers <joseph@codesourcery.com>
11525
11526 * manual/texinfo.tex: Update to version 2012-01-19.16.
11527
66ab80bc
JM
115282012-02-24 Joseph Myers <joseph@codesourcery.com>
11529
11530 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
11531
74981cc5
RM
115322012-02-24 Roland McGrath <roland@hack.frob.com>
11533
ee968201
RM
11534 [BZ #13738]
11535 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
11536 * manual/fdl-1.3.texi: New file.
11537 * manual/fdl-1.1.texi: File removed.
11538
74981cc5
RM
11539 [BZ #13738]
11540 * manual/libc.texinfo (FDL_VERSION): New @set.
11541 Use it for mention of FDL in cover text.
11542 (Documentation License): Use it in @include file name.
11543
7bb764bc
JM
115442012-02-22 Joseph Myers <joseph@codesourcery.com>
11545 Roland McGrath <roland@hack.frob.com>
11546
11547 [BZ #5461]
11548 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
11549 not LONG_LONG_MAX and LONG_LONG_MIN.
11550 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
11551 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
11552 name.
11553 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
11554
6cbeae47
JM
115552012-02-22 Joseph Myers <joseph@codesourcery.com>
11556
11557 [BZ #2547]
11558 [BZ #11365]
11559 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
11560 manipulate bits before adding and subtracting TWO23[sx].
11561 * math/libm-test.inc (nearbyint_test): Add more tests.
11562
fe45ce09
JM
115632012-02-22 Joseph Myers <joseph@codesourcery.com>
11564
11565 [BZ #2548]
11566 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
11567 bits before adding and subtracting TWO23[sx].
11568 * math/libm-test.inc (rint_test): Add more tests.
11569 (rint_test_tonearest): Likewise.
11570 (rint_test_towardzero): Likewise.
11571 (rint_test_downward): Likewise.
11572 (rint_test_upward: Likewise.
11573
ff3b3d82
JM
115742012-02-22 Joseph Myers <joseph@codesourcery.com>
11575
11576 [BZ #10110]
11577 * include/stdc-predef.h: New file. Extracted from features.h.
11578 * include/features.h: Include stdc-predef.h.
11579 * Makefile (headers): Add stdc-predef.h.
11580 * CONFORMANCE (Compiler limitations): Update.
11581
ef0aab35
JM
115822012-02-22 Joseph Myers <joseph@codesourcery.com>
11583
11584 * manual/libc.texinfo (VERSION, UPDATED): Revert.
11585
58639409
DM
115862012-02-21 David S. Miller <davem@davemloft.net>
11587
11588 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
11589 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11590
c0e70b25
DM
115912012-02-20 David S. Miller <davem@davemloft.net>
11592
11593 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
11594 using a normal save/restore sequence, rather than allocating a
11595 dummy stack frame just to store a frame pointer and restore.
11596 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11597
fb06851d
JM
115982012-02-21 Joseph Myers <joseph@codesourcery.com>
11599
11600 * manual/install.texi: Fix stray word in line-wrapped comment.
11601
7a8b71c3
DM
116022012-02-20 David S. Miller <davem@davemloft.net>
11603
d510c123
DM
11604 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
11605 both binutils and gcc support GOTDATA.
11606
0722d7c2
DM
11607 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
11608 "rd %pc" in the PIC register setup sequences.
11609
3d2b3019
DM
11610 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
11611 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11612 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11613 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11614 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11615 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11616 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11617 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11618 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
11619 (SYSCALL_ERROR_HANDLER): Likewise.
11620 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11621 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11622 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
11623 (SYSCALL_ERROR_HANDLER): Likewise.
11624
c80098a9
DM
11625 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
11626 (HAVE_GCC_GOTDATA): New.
11627 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
11628 relocation support in both binutils and gcc.
11629 * sysdeps/sparc/elf/configure: Regenerate.
11630
3a2545a0
DM
11631 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
11632 * sysdeps/sparc/sparc32/elf/configure: Delete.
11633 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
11634 * sysdeps/sparc/sparc64/elf/configure: Delete.
11635 * sysdeps/sparc/elf/configure.in: New file.
11636 * sysdeps/sparc/elf/configure: Generate.
11637
7a8b71c3
DM
11638 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
11639 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
11640 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11641 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
11642 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
11643
f1e86fca
JM
116442012-02-21 Joseph Myers <joseph@codesourcery.com>
11645
11646 * manual/install.texi: Do not mention specific glibc version
11647 numbers.
11648 * manual/libc.texinfo (VERSION, UPDATED): Update.
11649 (@copying): Use @copyright{} and range of years.
11650
0e7dfaef
JM
116512012-02-21 Joseph Myers <joseph@codesourcery.com>
11652
11653 [BZ #13695]
11654 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
11655 [crti.S not in sysdirs] (generated): Do not append.
11656 [crti.S not in sysdirs] (omit-deps): Likewise.
11657 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
11658 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
11659 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
11660 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
11661 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
11662 Likewise.
11663 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
11664 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
11665 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
11666 * csu/defs.awk: Remove file.
11667 * sysdeps/generic/initfini.c: Likewise.
11668 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
11669 variable.
11670 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
11671 Likewise.
11672
599af3ca
JM
116732012-02-20 Joseph Myers <joseph@codesourcery.com>
11674
11675 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
11676 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
11677 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
11678 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
11679 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11680 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
11681 <bits/epoll.h>.
11682 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
11683 (__EPOLL_PACKED): Define to empty if not defined by
11684 <bits/epoll.h>.
11685 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
11686 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11687 bits/epoll.h.
11688
0e499750
JM
116892012-02-20 Joseph Myers <joseph@codesourcery.com>
11690
11691 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
11692 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
11693 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
11694 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
11695 <bits/timerfd.h>.
11696 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
11697 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11698 bits/timerfd.h.
11699
5ad91f6e
JM
117002012-02-20 Joseph Myers <joseph@codesourcery.com>
11701
11702 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
11703 in C locale.
11704 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11705 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
11706 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
11707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11708
06b99b02
AJ
117092012-02-20 Aurelien Jarno <aurelien@aurel32.net>
11710
11711 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11712 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11713
7638c0fd
AS
117142012-02-19 Andreas Schwab <schwab@linux-m68k.org>
11715
11716 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
11717 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
11718 defined.
11719 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
11720 Likewise.
11721 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
11722 entry for 2.16.
11723
92221550
AJ
117242012-02-19 Aurelien Jarno <aurelien@aurel32.net>
11725
11726 * math/w_acos.c: Use non-signaling floating-point comparisons.
11727 * math/w_acosf.c: Likewise.
11728 * math/w_acosh.c: Likewise.
11729 * math/w_acoshf.c: Likewise.
11730 * math/w_acoshl.c: Likewise.
11731 * math/w_acosl.c: Likewise.
11732 * math/w_asin.c: Likewise.
11733 * math/w_asinf.c: Likewise.
11734 * math/w_asinl.c: Likewise.
11735 * math/w_atanh.c: Likewise.
11736 * math/w_atanhf.c: Likewise.
11737 * math/w_atanhl.c: Likewise.
11738 * math/w_exp2.c: Likewise.
11739 * math/w_exp2f.c: Likewise.
11740 * math/w_exp2l.c: Likewise.
11741 * math/w_j0.c: Likewise.
11742 * math/w_j0f.c: Likewise.
11743 * math/w_j0l.c: Likewise.
11744 * math/w_j1.c: Likewise.
11745 * math/w_j1f.c: Likewise.
11746 * math/w_j1l.c: Likewise.
11747 * math/w_jn.c: Likewise.
11748 * math/w_jnf.c: Likewise.
11749 * math/w_log.c: Likewise.
11750 * math/w_log10.c: Likewise.
11751 * math/w_log10f.c: Likewise.
11752 * math/w_log10l.c: Likewise.
11753 * math/w_log2.c: Likewise.
11754 * math/w_log2f.c: Likewise.
11755 * math/w_log2l.c: Likewise.
11756 * math/w_logf.c: Likewise.
11757 * math/w_logl.c: Likewise.
11758 * math/w_sqrt.c: Likewise.
11759 * math/w_sqrtf.c: Likewise.
11760 * math/w_sqrtl.c: Likewise.
11761 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11762 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
11763 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11764 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11765 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11766
ebaf36eb
JM
117672012-02-19 Joseph Myers <joseph@codesourcery.com>
11768
11769 [BZ #9739]
11770 * manual/string.texi (strnlen): Use correct parameter name in
11771 equivalent expression.
11772
71c254a6
JM
117732012-02-19 Joseph Myers <joseph@codesourcery.com>
11774
11775 [BZ #11174]
11776 * manual/users.texi (seteuid): Consistently use neweuid for
11777 argument name.
11778
16d2c631
JM
117792012-02-19 Joseph Myers <joseph@codesourcery.com>
11780
11781 [BZ #13704]
11782 * manual/nss.texi (Services in the NSS configuration): Correct
11783 list of services in example configuration file.
11784
cd837b09
NB
117852012-02-19 Nick Bowler <nbowler@draconx.ca>
11786
11787 [BZ #11322]
11788 * manual/arith.texi: Remove statements about negative zero
11789 behaving identically to zero.
11790
02c4bbad
JM
117912012-02-18 Joseph Myers <joseph@codesourcery.com>
11792
11793 [BZ #5993]
11794 * manual/install.texi: Do not document upgrading from libc5.
11795
366842e7
JM
117962012-02-18 Joseph Myers <joseph@codesourcery.com>
11797
11798 [BZ #4596]
11799 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
11800
dd54084d
DM
118012012-02-18 David S. Miller <davem@davemloft.net>
11802
11803 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
11804 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
11805 %o7 across the call.
11806 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
11807 instead.
11808 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
11809 SETUP_PIC_REG_LEAF.
11810 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11811 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
11812 * sysdeps/sparc/crtn.S: Likewise.
11813
2bcc53a3
UD
118142012-02-17 Ulrich Drepper <drepper@gmail.com>
11815
11816 * aout/Makefile: Remove.
11817
09c093b5
RK
118182012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
11819
11820 [BZ #13058]
11821 * manual/examples/argp-ex1.c (main): Format definition in GNU
11822 style.
11823 * manual/examples/argp-ex2.c (main): Likewise.
11824 * manual/examples/argp-ex3.c (main): Likewise.
11825 * manual/examples/argp-ex4.c (main): Likewise.
11826 * manual/examples/longopt.c (main): Use new-style prototype
11827 definition.
11828 * manual/examples/strncat.c (main): Specify return type and use
11829 (void) for arguments.
11830 * manual/examples/subopt.c (main): Use char **argv argument.
11831
2ee633a2
JM
118322012-02-17 Joseph Myers <joseph@codesourcery.com>
11833
11834 [BZ #5077]
11835 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
11836 rounding modes.
11837
0520adde
FB
118382012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
11839
11840 [BZ #6907]
11841 * manual/string.texi (strchr): Change when strchrnul is
11842 recommended.
11843
3f4081cd
DGM
118442012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
11845
11846 [BZ #174]
11847 * manual/locale.texi (setlocale): Document LOCPATH.
11848
d1b10e78
JM
118492012-02-17 Joseph Myers <joseph@codesourcery.com>
11850
11851 [BZ #10210]
11852 * manual/process.texi (execle): Move @dots{} before last argument.
11853
79c6869c
PB
118542012-02-17 Paul Bolle <pebolle@tiscali.nl>
11855
11856 [BZ #12047]
11857 * manual/charset.texi (Generic Charset Conversion): Fix typo
11858 (LC_TYPE -> LC_CTYPE).
11859
cc6e48bc
NB
118602012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
11861
11862 [BZ #5805]
11863 * manual/arith.texi (scalbn): Use @var{} on parameter names.
11864 (scalbnf): Likewise.
11865 (scalbnl): Likewise.
11866 (scalbln): Likewise.
11867 (scalblnf): Likewise.
11868 (scalblnl): Likewise.
11869 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
11870 (vwarnx): Likewise.
11871 (verr): Likewise.
11872 (verrx): Likewise.
11873 * manual/filesys.texi (telldir): Use braces around return type.
11874 * manual/llio.texi (mmap): Add space after comma.
11875 (mmap64): Likewise.
11876 * manual/math.texi (jn): Use @var{} on parameter names.
11877 (jnf): Likewise.
11878 (jnl): Likewise.
11879 (yn): Likewise.
11880 (ynf): Likewise.
11881 (ynl): Likewise.
11882 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
11883 line.
11884 * manual/resource.texi (ulimit): Use @dots{} instead of literal
11885 "...".
11886 (sched_get_priority_min): Remove semicolon on @deftypefun line.
11887 (sched_get_priority_max): Likewise.
11888 * manual/signal.texi (sigvec): Add space after comma.
11889 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
11890 names.
11891 (if_indextoname): Likewise.
11892 (if_freenameindex): Likewise.
11893 (sendto): Use ',' instead of '.' in prototype.
11894 * manual/startup.texi (syscall): Use @dots{} instead of literal
11895 "...".
11896 * manual/stdio.texi (__fpending): Separate initial words of
11897 paragraph from @deftypefun line.
11898 * manual/syslog.texi (syslog): Use @dots{} instead of literal
11899 "...".
11900 (vsyslog): Use @var{} on parameter names.
11901 * manual/terminal.texi (stty): Use @var{} on parameter names.
11902 * manual/users.texi (getutmp): Use @var{} on parameter names.
11903 (getutmpx): Likewise.
11904
5b23062f
JM
119052012-02-17 Joseph Myers <joseph@codesourcery.com>
11906
11907 [BZ #6884]
11908 * manual/stdio.texi (fopen): Fix typos in description of
11909 ",ccs=STRING".
11910
8dee4833
AJ
119112012-02-17 Aurelien Jarno <aurelien@aurel32.net>
11912
11913 [BZ #4026]
11914 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
11915 get clock_id definition.
11916
9078ce93
TS
119172012-02-17 Thomas Schwinge <thomas@schwinge.name>
11918
11919 [BZ #4822]
11920 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
11921 (madvise): Cast every argument to void on its own.
11922
3835c55f
JM
119232012-02-17 Joseph Myers <joseph@codesourcery.com>
11924
11925 [BZ #9902]
11926 * manual/startup.texi (Exit Status): Fix typo.
11927
35c47e37
JM
119282012-02-17 Joseph Myers <joseph@codesourcery.com>
11929
11930 [BZ #10140]
11931 * manual/examples/argp-ex1.c: Include <stdlib.h>.
11932 * manual/examples/argp-ex2.c: Likewise.
11933 * manual/examples/argp-ex3.c: Likewise.
11934
e3b69ca7
RH
119352012-02-16 Richard Henderson <rth@redhat.com>
11936
11937 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
11938 * sysdeps/s390/s390-32/initfini.c: Remove.
11939 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
11940 * sysdeps/s390/s390-64/initfini.c: Remove.
11941
df83af67
KK
119422012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11943
11944 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
11945 compiler output for sysdeps/generic/initfini.c.
11946 * sysdeps/sh/elf/initfini.c: Remove file.
11947
f63f3380
DM
119482012-02-16 David S. Miller <davem@davemloft.net>
11949
fb59b3a4
DM
11950 [BZ #11494]
11951 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
11952
f63f3380
DM
11953 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
11954 * sysdeps/sparc/crti.S: New file.
11955 * sysdeps/sparc/crtn.S: New file.
11956 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
11957 * sysdeps/sparc/sparc64/Makefile: Likewise.
11958
df6a4a4a
MF
119592012-02-15 Mike Frysinger <vapier@gentoo.org>
11960
6dd8f3dc 11961 [BZ #3335]
df6a4a4a
MF
11962 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
11963
1cac7236
RM
119642012-02-15 Roland McGrath <roland@hack.frob.com>
11965
d2c736f8
RM
11966 [BZ #4822]
11967 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
11968
1cac7236
RM
11969 * mach/devstream.c (cookie_io_functions_t): Macro removed.
11970 (write, read, close): Likewise.
11971 Patch by Aurelien Jarno <aurelien@aurel32.net>.
11972
8e475601
JM
119732012-02-15 Joseph Myers <joseph@codesourcery.com>
11974
11975 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
11976 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
11977 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
11978 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
11979 <bits/signalfd.h>.
11980 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
11981 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11982 bits/signalfd.h.
11983
ed656b40
MP
119842012-02-14 Marek Polacek <polacek@redhat.com>
11985
11986 * sysdeps/x86_64/crti.S: New file.
11987 * sysdeps/x86_64/crtn.S: New file.
11988 * sysdeps/x86_64/elf/initfini.c: Remove file.
11989
2a979d3a
JM
119902012-02-13 Joseph Myers <joseph@codesourcery.com>
11991
11992 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
11993 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
11994 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
11995 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
11996 <bits/inotify.h>.
11997 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
11998 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11999 bits/inotify.h.
12000
2a418ac3
JM
120012012-02-13 Joseph Myers <joseph@codesourcery.com>
12002
12003 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
12004 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
12005 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
12006 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
12007 <bits/eventfd.h>.
12008 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
12009 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12010 bits/eventfd.h.
12011
fb779be7
TS
120122012-02-10 Thomas Schwinge <thomas@codesourcery.com>
12013
e19e83c5
RM
12014 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
12015 __feraiseexcept instead of feraiseexcept.
7c35ffed 12016
fb779be7
TS
12017 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
12018 nanosleep invocations.
12019 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
12020 strings, and add error checking for a nanosleep invocations.
12021
59ba27a6
PE
120222012-02-09 Paul Eggert <eggert@cs.ucla.edu>
12023
12024 Replace FSF snail mail address with URLs, as per GNU coding standards.
12025 Most of the snail mail addresses were wrong anyway, and omitting
12026 them makes the source code easier to maintain. Almost all of the
12027 changes are to license notices and to locale LC_IDENTIFICATION
12028 addresses, except for this one:
12029 * manual/libc.texinfo: In "Published by", give the FSF's URL,
12030 not its snail mail address.
12031
57b957eb
RH
120322012-02-09 Richard Henderson <rth@twiddle.net>
12033
af850b1c
RH
12034 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
12035 of kernel-features.h.
12036
57b957eb
RH
12037 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
12038
6b73181a
MP
120392012-02-08 Marek Polacek <polacek@redhat.com>
12040
12041 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
12042 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
12043 * sysdeps/gnu/_G_config.h: Likewise.
12044 * sysdeps/generic/_G_config.h: Likewise.
12045
26ecc33a
AS
120462012-02-08 Andreas Schwab <schwab@linux-m68k.org>
12047
6c6dbc63
AS
12048 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
12049 tests.
12050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12051
e216c012
AS
12052 * sysdeps/powerpc/powerpc32/crti.S: New file.
12053 * sysdeps/powerpc/powerpc32/crtn.S: New file.
12054 * sysdeps/powerpc/powerpc64/crti.S: New file.
12055 * sysdeps/powerpc/powerpc64/crtn.S: New file.
12056
26ecc33a
AS
12057 * Makeconfig (have-initfini): Don't set.
12058 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
12059 * configure.in (nopic_initfini): Don't substitute.
12060 * config.h.in (HAVE_INITFINI): Don't #undef.
12061 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
12062 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
12063
3add8e13
JM
120642012-02-08 Joseph Myers <joseph@codesourcery.com>
12065
12066 Support crti.S and crtn.S provided directly by architectures.
12067 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
12068 [crti.S in sysdirs] (omit-deps): Likewise.
12069 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
12070 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
12071 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
12072 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
12073 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
12074 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
12075 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
12076 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
12077 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
12078 compiler output for sysdeps/generic/initfini.c.
12079 * sysdeps/i386/elf/Makefile: Remove file.
12080 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
12081
a22f12b4
MP
120822012-02-07 Marek Polacek <polacek@redhat.com>
12083
12084 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
12085 * sysdeps/gnu/_G_config.h: Likewise.
12086 * sysdeps/mach/hurd/_G_config.h: Likewise.
12087
148cf100
MP
120882012-02-07 Marek Polacek <polacek@redhat.com>
12089
12090 * math/Makefile (tests): Add tst-CMPLX2.
12091 * math/tst-CMPLX2.c: New file.
12092
cfdc0dd7
AS
120932012-02-07 Andreas Schwab <schwab@linux-m68k.org>
12094
84ba42c4
AS
12095 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12096
cfdc0dd7
AS
12097 * math/libm-test.inc (jn_test): Add missing L suffix.
12098
622c86f4
MP
120992012-02-06 Marek Polacek <polacek@redhat.com>
12100
12101 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
12102 * sysdeps/i386/fpu/e_powf.S: Likewise.
12103 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12104 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12105 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12106 * sysdeps/i386/fpu/e_pow.S: Likewise.
12107 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
12108 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12109 * sysdeps/i386/fpu/s_expm1.S: Likewise.
12110 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
12111 * sysdeps/i386/fpu/e_log2.S: Likewise.
12112 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12113 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12114 * sysdeps/i386/fpu/e_powl.S: Likewise.
12115 * sysdeps/i386/fpu/s_log1p.S: Likewise.
12116 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12117 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
12118 * sysdeps/i386/fpu/e_logl.S: Likewise.
12119 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
12120 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
12121 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
12122 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
12123 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12124 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12125 * sysdeps/i386/fpu/e_log.S: Likewise.
12126 * sysdeps/i386/fpu/s_cexp.S: Likewise.
12127 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12128 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
12129 * sysdeps/i386/fpu/e_logf.S: Likewise.
12130 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12131 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12132 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
12133 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
12134 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12135 * sysdeps/i386/fpu/e_log10.S: Likewise.
12136 * sysdeps/i386/fpu/s_frexp.S: Likewise.
12137 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12138 * sysdeps/i386/fpu/s_asinh.S: Likewise.
12139 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
12140 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12141 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
12142 * sysdeps/i386/asm-syntax.h: Likewise.
12143 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12144 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12145 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12146 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
12147 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
12148 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12149 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
12150 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
12151 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12152 * sysdeps/powerpc/sysdep.h: Likewise.
12153 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
12154 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12155
d4a54ac6
JM
121562012-02-06 Joseph Myers <joseph@codesourcery.com>
12157
12158 [BZ #411]
12159 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
12160
314054ea
JM
121612012-02-06 Joseph Myers <joseph@codesourcery.com>
12162
12163 * sysdeps/i386/sysdep.h: Include <features.h>.
12164 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
12165 version.
12166
d8e0ca50
JM
121672012-02-05 Joseph Myers <joseph@codesourcery.com>
12168
12169 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
12170 Define.
12171 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
12172 LOAD_PIC_REG_STR.
12173
b1da7dd9
JM
121742012-02-03 Joseph Myers <joseph@codesourcery.com>
12175
12176 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
12177 (SETUP_PIC_REG): Use GET_PC_THUNK.
12178 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
12179 macro.
12180
9a1d9254
JM
121812012-02-03 Joseph Myers <joseph@codesourcery.com>
12182
12183 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
12184 for non-PIC compilation.
12185 (SETUP_PIC_REG): Add .p2align directive.
12186 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
12187 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
12188 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12189 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12190 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12191 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12192 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
12193 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12194 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12195 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12196 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12197 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12198 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12199 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12200 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12201 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12202 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12203 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12204 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12205 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12206 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12207 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12208 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12209 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12210 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12211 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12212 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12213 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12214 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12215 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12216 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12217 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12218 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12219 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12220 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12221 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12222 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12223 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12224 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12225 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12226 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12227
65dc3b75
JM
122282012-02-03 Joseph Myers <joseph@codesourcery.com>
12229
12230 * math/tst-CMPLX.c: Include <stdio.h>.
12231
d55bf177
JM
122322012-01-31 Joseph Myers <joseph@codesourcery.com>
12233
12234 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
12235 float.
12236 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12237 * sysdeps/sparc/bits/mathdef.h: Likewise.
12238
69db4f8f
MP
122392012-01-31 Marek Polacek <polacek@redhat.com>
12240
12241 * libio/libio.h: Don't define _PARAMS.
12242 * locale/programs/config.h: Don't define PARAMS.
12243 * stdlib/strtol_l.c: Likewise.
12244 (__strtol_l): Remove PARAMS from the prototype.
12245
41b81892
UD
122462012-01-31 Ulrich Drepper <drepper@gmail.com>
12247
3b49edc0
UD
12248 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
12249 names. Just use the correct names. Remove unnecessary wrapper
12250 functions.
12251 * malloc/arena.c: Likewise.
12252 * malloc/hooks.c: Likewise.
12253
41b81892
UD
12254 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
12255 ARENA_TEST says not to. Simplify test for creation of a new arena.
12256 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
12257
27a25b6e
UD
122582012-01-30 Ulrich Drepper <drepper@gmail.com>
12259
12260 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
12261 into tail calls.
12262 (update_get_addr): New function.
12263 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
12264 GET_ADDR_MODULE parameter.
12265
c8a89e7d
JM
122662012-01-30 Joseph Myers <joseph@codesourcery.com>
12267
12268 * crypt/cert.c: Remove __STDC__ conditionals.
12269 * crypt/crypt-entry.c: Likewise.
12270 * crypt/crypt_util.c: Likewise.
12271 * libio/filedoalloc.c: Likewise.
12272 * libio/fileops.c: Likewise.
12273 * libio/genops.c: Likewise.
12274 * libio/iofclose.c: Likewise.
12275 * libio/iofdopen.c: Likewise.
12276 * libio/iofopen.c: Likewise.
12277 * libio/iofopen64.c: Likewise.
12278 * libio/iogetdelim.c: Likewise.
12279 * libio/iopopen.c: Likewise.
12280 * libio/obprintf.c: Likewise.
12281 * libio/oldfileops.c: Likewise.
12282 * libio/oldiofclose.c: Likewise.
12283 * libio/oldiofdopen.c: Likewise.
12284 * libio/oldiofopen.c: Likewise.
12285 * libio/oldiopopen.c: Likewise.
12286 * libio/wfiledoalloc.c: Likewise.
12287 * libio/wgenops.c: Likewise.
12288 * locale/programs/xmalloc.c: Likewise.
12289 * misc/syslog.c: Likewise.
12290 * stdio-common/xbug.c: Likewise.
12291 * string/memchr.c: Likewise.
12292 * string/memcmp.c: Likewise.
12293 * string/memrchr.c: Likewise.
12294 * string/rawmemchr.c: Likewise.
12295 * sysdeps/posix/getcwd.c: Likewise.
12296 * time/strftime_l.c: Likewise.
12297
3b100462
JM
122982012-01-30 Joseph Myers <joseph@codesourcery.com>
12299
12300 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
12301 * config.make.in (config-cflags-sse2avx): Define.
12302 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
12303 Fix typo.
12304
607998af
CM
123052012-01-29 Chris Metcalf <cmetcalf@tilera.com>
12306
12307 * scripts/config.guess: Update from upstream config git repository.
12308 * scripts/config.sub: Likewise.
12309
3601428f
CM
123102012-01-28 Chris Metcalf <cmetcalf@tilera.com>
12311
3ac8b282
CM
12312 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
12313 (EM_NUM): Update.
12314 (R_TILEPRO_*, R_TILEGX_*): New macros.
12315
e034841e
CM
12316 * scripts/firstversions.awk: Fix bug in version range handling.
12317
540d7568
CM
12318 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
12319
3601428f
CM
12320 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
12321
463de862
CM
12322 * include/sys/epoll.h: New file.
12323 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
12324 libc_hidden_def.
12325
73139a76
UD
123262012-01-28 Ulrich Drepper <drepper@gmail.com>
12327
96bc5b45
UD
12328 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
12329 Avoid unnecessary __WORDSIZE == 64 test.
12330 (fmaxf): Use VEX format if possible.
12331 (fmax): Likewise.
12332 (fminf): Likewise.
12333 (fmin): Likewise.
12334
56f6f6a2
UD
12335 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
12336 * math/math_private.h: Remove libc_fegetround* and
12337 libc_fesetround*.
12338 * sysdeps/i386/configure.in: Check for -msse2avx.
12339 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
12340 also if SSE2AVX is defined.
12341 Remove libc_fegetround* and libc_fesetround*.
12342 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
12343 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
12344 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
12345 of HAS_YMM_USABLE.
12346 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12347 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12348 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12349 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12350 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12351
73139a76
UD
12352 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
12353
d73f93a4
AZ
123542012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12355
12356 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
12357 size is not set.
12358 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12359
6ee65ed6
UD
123602012-01-27 Ulrich Drepper <drepper@gmail.com>
12361
12362 [BZ #13618]
12363 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
12364 relocation.
12365 * Makeconfig (libm): Define.
12366 * elf/Makefile: Add rules to build and run tst-relsort1.
12367 * elf/tst-relsort1.c: New file.
12368 * elf/tst-relsort1mod1.c: New file.
12369 * elf/tst-relsort1mod2.c: New file.
12370
8db21882
JM
123712012-01-27 Joseph Myers <joseph@codesourcery.com>
12372
12373 * math/s_ldexp.c: Remove __STDC__ conditionals.
12374 * math/s_ldexpf.c: Likewise.
12375 * math/s_ldexpl.c: Likewise.
12376 * math/s_nextafter.c: Likewise.
12377 * math/s_nexttowardf.c: Likewise.
12378 * math/s_significand.c: Likewise.
12379 * math/s_significandf.c: Likewise.
12380 * math/s_significandl.c: Likewise.
12381 * math/w_jnl.c: Likewise.
12382 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
12383 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
12384 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12385 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12386 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12387 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12388 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
12389 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12390 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12391 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12392 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12393 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12394 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12395 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
12396 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12397 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12398 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12399 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12400 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12401 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12402 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12403 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12404 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12405 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12406 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12407 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12408 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12409 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12410 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12411 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12412 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12413 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12414 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12415 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12416 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12417 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12418 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12419 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12420 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12421 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12422 * sysdeps/ieee754/k_standard.c: Likewise.
12423 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12424 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12425 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12426 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12427 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12428 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12429 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12430 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12431 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12432 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12433 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12434 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
12435 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12436 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12437 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12438 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12439 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12440 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12441 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12442 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12443 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12444 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12445 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12446 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12447 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12448 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12449 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12450 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12451 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12452 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12453 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12454 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
12455 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12456 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
12457 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12458 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
12459 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
12460 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12461 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
12462 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
12463 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
12464 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
12465 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12466 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
12467 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12468 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12469 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12470 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12471 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12472 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12473 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
12474 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12475 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12476 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
12477 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12478 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
12479 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
12480 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12481 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12482 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12483 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12484 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12485 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
12486 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12487 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12488 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12489 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12490 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
12491 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
12492 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12493 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12494 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12495 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12496 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12497 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12498 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12499 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
12500 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12501 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
12502 * sysdeps/ieee754/s_matherr.c: Likewise.
12503 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
12504 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12505 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12506 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12507
965a54a4
JM
125082012-01-26 Joseph Myers <joseph@codesourcery.com>
12509
12510 * crypt/md5.h: Remove __STDC__ conditionals.
12511 * libio/libioP.h: Likewise.
12512 * locale/programs/config.h: Likewise.
12513 * sysdeps/generic/sysdep.h: Likewise.
12514 * sysdeps/i386/asm-syntax.h: Likewise.
12515 * sysdeps/s390/asm-syntax.h: Likewise.
12516 * sysdeps/unix/sysdep.h: Likewise.
12517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12519
7071ad79
JM
125202012-01-26 Joseph Myers <joseph@codesourcery.com>
12521
12522 * libio/libio.h: Remove __STDC__ conditionals.
12523 * malloc/obstack.h: Likewise.
12524 * math/complex.h: Likewise.
12525 * math/math.h: Likewise.
12526 * sysdeps/generic/_G_config.h: Likewise.
12527 * sysdeps/gnu/_G_config.h: Likewise.
12528 * sysdeps/mach/hurd/_G_config.h: Likewise.
12529 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12530 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12531 * sysdeps/sparc/bits/mathdef.h: Likewise.
12532
afc5ed09
UD
125332012-01-26 Ulrich Drepper <drepper@gmail.com>
12534
12535 [BZ #13583]
12536 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 12537 Clean up HAS_* macros.
afc5ed09 12538 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
12539 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
12540 possible.
12541 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
12542 HAS_AVX.
12543 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12544 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12545 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12546 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12547 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 12548
bdb6de1d
JM
125492012-01-25 Joseph Myers <joseph@codesourcery.com>
12550
12551 * elf/tst-unique3.cc (gets): Remove declaration.
12552 * elf/tst-unique3lib.cc (gets): Likewise.
12553 * elf/tst-unique3lib2.cc (gets): Likewise.
12554 * elf/tst-unique4.cc (gets): Likewise.
12555
b15549e6
UD
125562012-01-24 Ulrich Drepper <drepper@gmail.com>
12557
12558 * include/stdio.h: Add C++ protection. Add gets declarations and
12559 definitions.
12560 * debug/tst-chk1.c: Don't declare gets here.
12561 * stdio-common/tst-gets.c: Likewise.
12562
a037381f
JM
125632012-01-24 Joseph Myers <joseph@codesourcery.com>
12564
12565 * posix/glob: Remove directory.
12566
f1d4aa75
JM
125672012-01-24 Joseph Myers <joseph@codesourcery.com>
12568
12569 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
12570
81c0c964
PT
125712012-01-22 Pino Toscano <toscano.pino@tiscali.it>
12572
12573 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
12574 of the non-standard EPFNOSUPPORT.
12575
0ea698ae
ST
125762011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
12577
12578 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
12579 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
12580 ANYWHERE set to 1 only on KERN_NO_SPACE error.
12581
d220b117
UD
125822012-01-21 Ulrich Drepper <drepper@gmail.com>
12583
12584 * wcsmbs/uchar.h: Test __STDC_VERSION__.
12585
3e1aa84e
UD
125862012-01-20 Ulrich Drepper <drepper@gmail.com>
12587
12588 * nscd/aicache.c (addhstaiX): Do not cache negative results of
12589 transient errors.
12590 * nscd/grpcache.c (cache_addgr): Likewise.
12591 * nscd/hstcache.c (cache_addhst): Likewise.
12592 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12593 * nscd/pwdcache.c (cache_addpw): Likewise.
12594 * nscd/servicescache.c (cache_addserv): Likewise.
12595
400aa020
UD
125962012-01-16 Ulrich Drepper <drepper@gmail.com>
12597
d77e7869
UD
12598 * malloc/malloc.c: Various cleanups.
12599 * malloc/hooks.c: Likewise.
12600
400aa020
UD
12601 * stdlib/Makefile (tests): Add bug-fmtmsg1.
12602 * stdlib/bug-fmtmsg1.c: New file.
12603
12604 * stdlib/fmtmsg.c (init): Add missing unlock.
12605 Patch by Peng Haitao <penght@cn.fujitsu.com>.
12606
e0a309cf
MP
126072012-01-12 Marek Polacek <polacek@redhat.com>
12608
12609 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
12610 and _GNU_SOURCE.
12611
929d11c7
WS
126122012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12613
12614 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
12615 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
12616 macro to ensure uniqueness of label name.
12617 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12618 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12619
41d0e869
UD
126202012-01-11 Ulrich Drepper <drepper@gmail.com>
12621
0cc5ed3b
UD
12622 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
12623
41d0e869
UD
12624 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
12625 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12626 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12627 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
12628
a47a831a
UD
126292012-01-10 Ulrich Drepper <drepper@gmail.com>
12630
daa891c0
UD
12631 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
12632
12633 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
12634 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12635 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
12636
e58ef0f2
UD
12637 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
12638
a47a831a 12639 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
12640 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12641 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 12642 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
12643
12644 * math/bits/math-finite.h: Add ldexp support.
12645
a0bfc9c7
MP
126462012-01-10 Marek Polacek <polacek@redhat.com>
12647
12648 * locale/programs/localedef.h (show_archive_content): Add noreturn
12649 attribute.
12650
d6e97a1d
UD
126512012-01-09 Ulrich Drepper <drepper@gmail.com>
12652
12653 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
12654
d5835c26
UD
126552012-01-08 Ulrich Drepper <drepper@gmail.com>
12656
e5f484c6
UD
12657 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
12658
d5835c26
UD
12659 * io/Makefile (headers): Add bits/poll2.h.
12660
d1f741e9
WS
126612011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
12662
12663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
12664 typo #include statement.
12665
ec09c1c4
UD
126662012-01-08 Ulrich Drepper <drepper@gmail.com>
12667
12668 * include/sys/cdefs.h: Define __attribute_alloc_size.
12669 * catgets/gencat.c: Add alloc_size attribute and apply consistently
12670 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
12671 * elf/pldd.c: Likewise.
12672 * iconv/iconv_charmap.c: Likewise.
12673 * iconv/iconvconfig.c: Likewise.
12674 * iconv/strtab.c: Likewise.
12675 * locale/programs/locale.c: Likewise.
12676 * locale/programs/localedef.h: Likewise.
12677 * locale/programs/simple-hash.c: Likewise.
12678 * nscd/nscd.h: Likewise.
12679 * nss/makedb.c: Likewise.
12680 * sysdeps/generic/ldconfig.h: Likewise.
12681 * locale/programs/localedef.c: Remove xmalloc prototype.
12682 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
12683
20b38e03
PP
126842012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12685
12686 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
12687 appropriate.
12688
a0da5fe1
UD
126892012-01-08 Ulrich Drepper <drepper@gmail.com>
12690
1d5a644a 12691 * math/Makefile (tests): Add tst-CMPLX.
669704fd 12692 * math/tst-CMPLX.c: New file.
1d5a644a 12693
8784a6db
UD
12694 * math/complex.h (CMPLXL): Fix typo.
12695
d9a216c0
UD
12696 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
12697 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
12698 GLIBC_2.16.
12699 * debug/tst-chk1.c: Add poll and ppoll tests.
12700 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
12701 * include/sys/poll.h: Add hidden proto for ppoll.
12702 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
12703 * sysdeps/mach/hurd/ppoll.c: Likewise.
12704 * io/ppoll.c: Likewise.
12705 * debug/poll_chk.c: New file.
12706 * debug/ppoll_chk.c: New file.
12707 * include/bits/poll2.h: New file.
12708 * io/bits/poll2.h: New file.
12709
ac097f5c
UD
12710 [BZ #1350]
12711 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
12712
2119dcfa
UD
12713 * configure.in: static is always set to yes. Remove.
12714 * config.make.in: Don't set build-static.
12715 * Makeconfig: Remove use of build-static.
12716 * dlfcn/Makefile: Likewise.
12717 * elf/Makefile: Likewise.
12718 * math/Makefile: Likewise.
12719 * misc/Makefile: Likewise.
12720 * nptl/Makefile: Likewise.
12721 * sysdeps/mach/hurd/Makefile: Likewise.
12722
121766a9
UD
12723 * configure.in: PWD_P is not used anymore.
12724 * config.make.in: Remove PWD_P entry.
12725
51a1d39c 12726 * configure.in: Remove last remnants of RANLIB.
8720d066 12727 No need to check for signed size_t anymore.
215f4bdc
UD
12728 Don't set libc_commonpagesize and libc_relro_required here for Alpha
12729 and IA-64.
3857022a 12730 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
12731 * aclocal.m4: Likewise.
12732
d3ed7225
UD
12733 * wcsmbs/mbrtoc16.c: Implement using towc function.
12734 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
12735 * wcsmbs/wcsmbsload.c: Likewise.
12736 * iconv/gconv_simple.c: Likewise.
12737 * iconv/gconv_int.h: Likewise.
12738 * iconv/gconv_builtin.h: Likewise.
12739 * iconv/iconv_prog.c: Remove CHAR16 handling.
12740
12741 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
12742
12743 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
12744
a0da5fe1
UD
12745 * configure.in: Remove --with-elf and --enable-bounded options.
12746 Dont set base_machine for ia64. More non-ELF conditions removed.
12747 Remove testing and setting of leading underscore information.
12748 * config.make.in (build-bounded): Set to no.
12749 * config.h.in: Remove NO_UNDERSCORES entry.
12750 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
12751 them.
12752 * csu/start.c: Remove !NO_UNDERSCORE code.
12753 * locale/localeinfo.h: Likewise.
12754 * sysdeps/generic/machine-gmon.h: Likewise.
12755 * sysdeps/generic/sysdep.h: Likewise.
12756 * sysdeps/i386/sysdep.h: Likewise.
12757 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12758 * sysdeps/mach/sysdep.h: Likewise.
12759 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12760 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12761 * sysdeps/sh/sysdep.h: Likewise.
12762 * sysdeps/sparc/sparc32/alloca.S: Likewise.
12763 * sysdeps/unix/i386/sysdep.S: Likewise.
12764 * sysdeps/unix/sparc/start.c: Likewise.
12765 * sysdeps/unix/sparc/sysdep.S: Likewise.
12766 * sysdeps/unix/sparc/sysdep.h: Likewise.
12767 * sysdeps/unix/start.c: Likewise.
12768 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12769 * sysdeps/x86_64/sysdep.h: Likewise.
12770
df78418a
UD
127712012-01-07 Ulrich Drepper <drepper@gmail.com>
12772
a784e502
UD
12773 [BZ #13553]
12774 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
12775 for non-gcc.
12776 * argp/argp-fmtstream.h: Use const instead __const.
12777 * argp/argp.h: Likewise.
12778 * assert/assert.h: Likewise.
12779 * bits/fenv.h: Likewise.
12780 * bits/sched.h: Likewise.
12781 * bits/sigset.h: Likewise.
12782 * bits/sigthread.h: Likewise.
12783 * catgets/nl_types.h: Likewise.
12784 * conform/data/pthread.h-data: Likewise.
12785 * crypt/crypt-private.h: Likewise.
12786 * crypt/crypt.h: Likewise.
12787 * crypt/crypt_util.c: Likewise.
12788 * ctype/ctype.h: Likewise.
12789 * debug/execinfo.h: Likewise.
12790 * debug/mbsnrtowcs_chk.c: Likewise.
12791 * debug/mbsrtowcs_chk.c: Likewise.
12792 * debug/wcsnrtombs_chk.c: Likewise.
12793 * debug/wcsrtombs_chk.c: Likewise.
12794 * debug/wcstombs_chk.c: Likewise.
12795 * dirent/dirent.h: Likewise.
12796 * dlfcn/dlfcn.h: Likewise.
12797 * elf/neededtest4.c: Likewise.
12798 * grp/grp.h: Likewise.
12799 * gshadow/gshadow.h: Likewise.
12800 * iconv/gconv.h: Likewise.
12801 * iconv/gconv_int.h: Likewise.
12802 * iconv/gconv_simple.c: Likewise.
12803 * iconv/iconv.h: Likewise.
12804 * iconv/loop.c: Likewise.
12805 * iconv/skeleton.c: Likewise.
12806 * include/aio.h: Likewise.
12807 * include/aliases.h: Likewise.
12808 * include/argz.h: Likewise.
12809 * include/arpa/inet.h: Likewise.
12810 * include/assert.h: Likewise.
12811 * include/dirent.h: Likewise.
12812 * include/dlfcn.h: Likewise.
12813 * include/execinfo.h: Likewise.
12814 * include/fcntl.h: Likewise.
12815 * include/fenv.h: Likewise.
12816 * include/glob.h: Likewise.
12817 * include/grp.h: Likewise.
12818 * include/libintl.h: Likewise.
12819 * include/mntent.h: Likewise.
12820 * include/netdb.h: Likewise.
12821 * include/pwd.h: Likewise.
12822 * include/rpc/netdb.h: Likewise.
12823 * include/sched.h: Likewise.
12824 * include/search.h: Likewise.
12825 * include/shadow.h: Likewise.
12826 * include/signal.h: Likewise.
12827 * include/stdio.h: Likewise.
12828 * include/stdlib.h: Likewise.
12829 * include/string.h: Likewise.
12830 * include/sys/socket.h: Likewise.
12831 * include/sys/stat.h: Likewise.
12832 * include/sys/statfs.h: Likewise.
12833 * include/sys/statvfs.h: Likewise.
12834 * include/sys/syslog.h: Likewise.
12835 * include/sys/time.h: Likewise.
12836 * include/sys/uio.h: Likewise.
12837 * include/time.h: Likewise.
12838 * include/unistd.h: Likewise.
12839 * include/utmp.h: Likewise.
12840 * include/wchar.h: Likewise.
12841 * include/wctype.h: Likewise.
12842 * inet/aliases.h: Likewise.
12843 * inet/arpa/inet.h: Likewise.
12844 * inet/netinet/ether.h: Likewise.
12845 * inet/netinet/in.h: Likewise.
12846 * intl/libintl.h: Likewise.
12847 * io/bits/fcntl2.h: Likewise.
12848 * io/fcntl.h: Likewise.
12849 * io/ftw.h: Likewise.
12850 * io/sys/poll.h: Likewise.
12851 * io/sys/stat.h: Likewise.
12852 * io/sys/statfs.h: Likewise.
12853 * io/sys/statvfs.h: Likewise.
12854 * io/utime.h: Likewise.
12855 * libio/bits/stdio.h: Likewise.
12856 * libio/bits/stdio2.h: Likewise.
12857 * libio/libio.h: Likewise.
12858 * libio/libioP.h: Likewise.
12859 * libio/stdio.h: Likewise.
12860 * locale/lc-ctype.c: Likewise.
12861 * locale/locale.h: Likewise.
12862 * login/utmp.h: Likewise.
12863 * malloc/arena.c: Likewise.
12864 * malloc/malloc.c: Likewise.
12865 * malloc/malloc.h: Likewise.
12866 * malloc/mcheck.c: Likewise.
12867 * malloc/mtrace.c: Likewise.
12868 * math/bits/mathcalls.h: Likewise.
12869 * math/fenv.h: Likewise.
12870 * math/math_private.h: Likewise.
12871 * misc/bits/error.h: Likewise.
12872 * misc/bits/syslog.h: Likewise.
12873 * misc/err.h: Likewise.
12874 * misc/error.h: Likewise.
12875 * misc/fstab.h: Likewise.
12876 * misc/mntent.h: Likewise.
12877 * misc/regexp.h: Likewise.
12878 * misc/search.h: Likewise.
12879 * misc/sgtty.h: Likewise.
12880 * misc/sys/mman.h: Likewise.
12881 * misc/sys/syslog.h: Likewise.
12882 * misc/sys/uio.h: Likewise.
12883 * misc/sys/xattr.h: Likewise.
12884 * misc/ttyent.h: Likewise.
12885 * nis/rpcsvc/ypclnt.h: Likewise.
12886 * nss/nss.h: Likewise.
12887 * posix/bits/unistd.h: Likewise.
12888 * posix/fnmatch.h: Likewise.
12889 * posix/glob.h: Likewise.
12890 * posix/sched.h: Likewise.
12891 * posix/spawn.h: Likewise.
12892 * posix/sys/wait.h: Likewise.
12893 * posix/unistd.h: Likewise.
12894 * posix/wordexp.h: Likewise.
12895 * pwd/pwd.h: Likewise.
12896 * resolv/netdb.h: Likewise.
12897 * resource/sys/resource.h: Likewise.
12898 * rt/aio.h: Likewise.
12899 * rt/bits/mqueue2.h: Likewise.
12900 * rt/mqueue.h: Likewise.
12901 * shadow/shadow.h: Likewise.
12902 * signal/signal.h: Likewise.
12903 * socket/send.c: Likewise.
12904 * socket/sendto.c: Likewise.
12905 * socket/sys/socket.h: Likewise.
12906 * stdio-common/printf.h: Likewise.
12907 * stdlib/bits/stdlib.h: Likewise.
12908 * stdlib/fmtmsg.h: Likewise.
12909 * stdlib/monetary.h: Likewise.
12910 * stdlib/stdlib.h: Likewise.
12911 * stdlib/ucontext.h: Likewise.
12912 * streams/stropts.h: Likewise.
12913 * string/argz.h: Likewise.
12914 * string/bits/string2.h: Likewise.
12915 * string/string.h: Likewise.
12916 * string/strings.h: Likewise.
12917 * sunrpc/rpc/auth.h: Likewise.
12918 * sunrpc/rpc/auth_des.h: Likewise.
12919 * sunrpc/rpc/clnt.h: Likewise.
12920 * sunrpc/rpc/netdb.h: Likewise.
12921 * sunrpc/rpc/pmap_clnt.h: Likewise.
12922 * sunrpc/rpc/xdr.h: Likewise.
12923 * sysdeps/generic/inttypes.h: Likewise.
12924 * sysdeps/generic/net/if.h: Likewise.
12925 * sysdeps/generic/sys/swap.h: Likewise.
12926 * sysdeps/gnu/net/if.h: Likewise.
12927 * sysdeps/gnu/utmpx.h: Likewise.
12928 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
12929 * sysdeps/i386/i486/bits/string.h: Likewise.
12930 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
12931 * sysdeps/s390/bits/string.h: Likewise.
12932 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
12933 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
12934 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
12935 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
12936 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12937 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
12938 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
12939 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
12940 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
12941 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
12942 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
12943 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12944 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
12945 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12946 * sysdeps/unix/sysv/linux/readv.c: Likewise.
12947 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
12948 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12949 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12950 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12951 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12952 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12953 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
12954 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
12955 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
12956 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
12957 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
12958 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
12959 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12960 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
12961 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
12962 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
12963 * sysvipc/sys/ipc.h: Likewise.
12964 * sysvipc/sys/msg.h: Likewise.
12965 * sysvipc/sys/sem.h: Likewise.
12966 * sysvipc/sys/shm.h: Likewise.
12967 * termios/termios.h: Likewise.
12968 * time/sys/time.h: Likewise.
12969 * time/time.h: Likewise.
12970 * wcsmbs/bits/wchar2.h: Likewise.
12971 * wcsmbs/uchar.h: Likewise.
12972 * wcsmbs/wchar.h: Likewise.
12973 * wctype/wctype.h: Likewise.
12974
0269750c
UD
12975 [BZ #13551]
12976 * Makeconfig: Remove all but ELF support including AIX support.
12977 * Makerules: Likewise.
12978 * config.h.in: Likewise.
12979 * config.make.in: Likewise.
12980 * configure: Likewise.
12981 * configure.in: Likewise.
12982 * csu/Makefile: Likewise.
12983 * csu/version.c: Likewise.
12984 * debug/Makefile: Likewise.
12985 * dlfcn/Makefile: Likewise.
12986 * elf/Makefile: Likewise.
12987 * extra-lib.mk: Likewise.
12988 * iconv/Makefile: Likewise.
12989 * include/libc-symbols.h: Likewise.
12990 * include/shlib-compat.h: Likewise.
12991 * resolv/Makefile: Likewise.
12992 * resolv/res_libc.c: Likewise.
12993 * rt/Makefile: Likewise.
12994 * sysdeps/i386/asm-syntax.h: Likewise.
12995 * sysdeps/i386/sysdep.h: Likewise.
12996 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12997 * sysdeps/mach/sysdep.h: Likewise.
12998 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
12999 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
13000 * sysdeps/s390/asm-syntax.h: Likewise.
13001 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13002 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13003 * sysdeps/sh/sysdep.h: Likewise.
13004 * sysdeps/unix/sparc/sysdep.h: Likewise.
13005 * sysdeps/wordsize-32/divdi3.c: Likewise.
13006 * sysdeps/x86_64/sysdep.h: Likewise.
13007
00bbd29b
UD
13008 * argp/Versions: Remove _argp_unlock_xxx.
13009
13010 [BZ #13559]
13011 * abilist/ld.abilist: Update. Adjust for removal of tls option.
13012 * abilist/libBrokenLocale.abilist: Likewise.
13013 * abilist/libanl.abilist: Likewise.
13014 * abilist/libc.abilist: Likewise.
13015 * abilist/libcrypt.abilist: Likewise.
13016 * abilist/libdl.abilist: Likewise.
13017 * abilist/libm.abilist: Likewise.
13018 * abilist/libnsl.abilist: Likewise.
13019 * abilist/libpthread.abilist: Likewise.
13020 * abilist/libresolv.abilist: Likewise.
13021 * abilist/librt.abilist: Likewise.
13022 * abilist/libthread_db.abilist: Likewise.
13023 * abilist/libutil.abilist: Likewise.
13024 * abilist/libnss_db.abilist: New file.
13025
13026 * scripts/abilist.awk: Add support for indirect functions.
13027
a2693a0e
UD
13028 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
13029
3f05895f
UD
13030 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
13031
ecb6fb48
UD
13032 * shlib-versions: Remove entries for ports architectures.
13033
664f8cb9
UD
13034 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
13035 files in ports.
13036 * elf/stackguard-macros.h: Remove support for IA-64.
13037 * elf/tst-auditmod1.c: Likewise.
13038 * sysdeps/generic/ldsodefs.h: Likewise.
13039
7ae81d88
UD
13040 * sysdeps/unix/sysv/linux/configure.in: Ports should define
13041 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
13042 configure files.
13043
bdeba135
UD
13044 [BZ #13552]
13045 * configure.in: Remove --enable-omitfp support.
13046 * FAQ.in: Adjust.
13047 * config.make.in: Likewise.
13048 * Makeconfig: Likewise.
13049 * manual/install.texi: Likewise.
13050
d75a0a62
UD
13051 In case anyone cares, the IA-64 architecture could move to ports.
13052 * sysdeps/ia64/*: Removed.
13053 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 13054 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 13055
dcc9756b
UD
13056 [BZ #13555]
13057 * configure.in: Remove entries for unsupported architectures.
13058
d3761ebc 13059 [BZ #13533]
9954432e
UD
13060 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
13061 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
13062 routines.
13063 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
13064 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
13065 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
13066 fall back to using wcrtomb.
13067 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
13068 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
13069 renaming.
13070 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
13071 * wcsmbs/tst-c16c32-1.c: New file.
13072
13073 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
13074 local variable.
13075
c3a87236
UD
13076 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
13077
28926a1b
UD
13078 * elf/tst-unique3.cc: Add explicit declaration of gets.
13079 * elf/tst-unique3lib.cc: Likewise.
13080 * elf/tst-unique3lib2.cc: Likewise.
13081 * elf/tst-unique4.cc: Likewise.
13082
df78418a
UD
13083 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
13084
8ecd6b2a
JM
130852012-01-06 Joseph Myers <joseph@codesourcery.com>
13086
13087 [BZ #13566]
13088 * assert/assert.h (static_assert): Don't define for C++.
13089 * libio/stdio.h (gets): Do declare for C++ <= C++11.
13090 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
13091
9f115170
UD
130922012-01-03 Ulrich Drepper <drepper@gmail.com>
13093
5e0d0300
UD
13094 * iconv/loop.c (single loop): Fix assertion in storing of
13095 remaining bytes.
13096
9f115170
UD
13097 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
13098
81fb02b0
UD
130992012-01-01 Ulrich Drepper <drepper@gmail.com>
13100
13101 * posix/getconf.c: Update copyright year.
13102 * nss/getent.c: Likewise.
a316c1f6 13103 * nss/makedb.c: Likewise.
81fb02b0
UD
13104 * iconv/iconvconfig.c: Likewise.
13105 * iconv/iconv_prog.c: Likewise.
13106 * elf/ldconfig.c: Likewise.
a316c1f6
UD
13107 * elf/pldd.c: Likewise.
13108 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
13109 * catgets/gencat.c: Likewise.
13110 * csu/version.c: Likewise.
13111 * elf/ldd.bash.in: Likewise.
13112 * elf/sprof.c (print_version): Likewise.
13113 * locale/programs/locale.c: Likewise.
13114 * locale/programs/localedef.c: Likewise.
a316c1f6 13115 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
13116 * nscd/nscd.c (print_version): Likewise.
13117 * debug/xtrace.sh: Likewise.
13118 * malloc/memusage.sh: Likewise.
13119 * malloc/mtrace.pl: Likewise.
13120 * debug/catchsegv.sh: Likewise.
13121
2ba92745
JJ
131222011-12-30 Jakub Jelinek <jakub@redhat.com>
13123
13124 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
13125 pure attribute.
13126
dadebdae
UD
131272011-12-24 Ulrich Drepper <drepper@gmail.com>
13128
d3761ebc 13129 [BZ #13533]
db6af3eb
UD
13130 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
13131 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
13132 transformations.
13133 * iconv/gconv_int.h: Likewise.
13134 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
13135 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
13136 from libc for GLIBC_2.16.
13137 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
13138 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
13139 * wcsmbs/uchar.h: Really define mbstate_t.
13140 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
13141 * wcsmbs/c16rtomb.c: New file.
13142 * wcsmbs/mbrtoc16.c: New file.
13143 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
13144 for C/POSIX locale.
13145 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
13146 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
13147
dadebdae
UD
13148 * wcsmbs/wchar.h: Add missing __restrict.
13149
67371b56
UD
131502011-12-23 Ulrich Drepper <drepper@gmail.com>
13151
74033a25
UD
13152 [BZ #13532]
13153 * time/Makefile (routines): Add timespec_get.
13154 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
13155 * time/time.h: Define TIME_UTC and declare timespec_get. Define
13156 timespec for ISO C11.
13157 * time/timespec_get.c: New file.
13158 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
13159 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
13160
380d7e87
UD
13161 [BZ #13531]
13162 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
13163 * stdlib/stdlib.h: Declare aligned_alloc.
13164 * Versions.def: Add GLIBC_2.16 for libc.
13165 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
13166
4e9e7a35
UD
13167 [BZ 13527]
13168 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
13169 ISO C11.
13170
380d7e87 13171 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
13172 code.
13173
03a71829
UD
13174 [BZ #13528]
13175 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
13176
839e283e
UD
13177 [BZ #13529]
13178 * assert/assert.h (static_assert): Define.
13179
ce5294e2 13180 * version.h: Update for 2.16 development version.
90fa7312 13181
8d44e150 13182 [BZ #13526]
d7809905
UD
13183 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
13184 _ISOC11_SOURCE.
13185
c0da14cd
UD
13186 * version.h (RELEASE): Bump for 2.15 release.
13187 * include/features.h (__GLIBC_MINOR__): Bump to 15.
13188
530a3249
MP
13189 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
13190 Patch by Marek Polacek <mpolacek@redhat.com>.
13191
67371b56
UD
13192 * bits/byteswap.h: Protect long long constants with __extension__.
13193 * sysdeps/i386/bits/byteswap.h: Likewise.
13194 * sysdeps/ia64/bits/byteswap.h: Likewise.
13195 * sysdeps/s390/bits/byteswap.h: Likewise.
13196 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13197
15db4de1
LD
131982011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13199
13200 [BZ #13540]
bbe315ea
LD
13201 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
13202 destination buffer.
15db4de1
LD
13203 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
13204
2b2596b1
MP
132052011-12-23 Marek Polacek <polacek@redhat.com>
13206
13207 * elf/dl-addr.c (determine_info): Add inline keyword.
13208 * elf/tst-auditmod4b.c (check_avx): Likewise.
13209 * elf/tst-auditmod6b.c (check_avx): Likewise.
13210 * elf/tst-auditmod6c.c (check_avx): Likewise.
13211 * elf/tst-auditmod7b.c (check_avx): Likewise.
13212
70c6c246
UD
132132011-12-23 Ulrich Drepper <drepper@gmail.com>
13214
13215 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
13216 !__SSE_MATH__.
13217
c044cf14
LD
132182011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13219
15db4de1 13220 [BZ #13540]
c044cf14
LD
13221 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
13222 processing for last bytes.
13223
6b13d9d9
BH
132242011-08-06 Bruno Haible <bruno@clisp.org>
13225
d455f537
BH
13226 [BZ #13061]
13227 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
13228 U+0385, not to U+1FEE.
13229
6b13d9d9
BH
13230 [BZ #13062]
13231 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
13232 entry for U+00A5 U+0301.
13233
db910efd
UD
132342011-12-22 Ulrich Drepper <drepper@gmail.com>
13235
27deeafc
UD
13236 [BZ #13166]
13237 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
13238 buffer for the output is too small.
13239
aed9d171
UD
13240 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
13241 optimization.
13242
db910efd
UD
13243 [BZ #13185]
13244 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
13245 SSE flags if possible.
13246
2bd779ae
LD
132472011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13248
e7f9dac3 13249 [BZ #13540]
2bd779ae
LD
13250 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
13251 processing for last bytes.
13252
154bfc16
JM
132532011-12-22 Joseph Myers <joseph@codesourcery.com>
13254
13255 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
13256 (syscall-list-default-options, syscall-list-default-condition)
13257 (syscall-list-includes): Define.
13258 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
13259 list of ABIs and options and #if conditions for each ABI. Do not
13260 handle common syscalls between ABIs specially.
13261 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
13262 Remove.
13263 (syscall-list-variants, syscall-list-32bit-options)
13264 (syscall-list-32bit-condition, syscall-list-64bit-options)
13265 (syscall-list-64bit-condition): Define.
13266 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
13267 (syscall-list-variants, syscall-list-32bit-options)
13268 (syscall-list-32bit-condition, syscall-list-64bit-options)
13269 (syscall-list-64bit-condition): Define.
13270 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
13271 Remove.
13272 (syscall-list-variants, syscall-list-32bit-options)
13273 (syscall-list-32bit-condition, syscall-list-64bit-options)
13274 (syscall-list-64bit-condition): Define.
13275 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
13276 Remove.
13277 (syscall-list-variants, syscall-list-32bit-options)
13278 (syscall-list-32bit-condition, syscall-list-64bit-options)
13279 (syscall-list-64bit-condition): Define.
13280
21eaf3a5
UD
132812011-12-22 Ulrich Drepper <drepper@gmail.com>
13282
16c6f992
UD
13283 * locale/iso-639.def: Add brx entry.
13284
41043168
UD
13285 [BZ #13328]
13286 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
13287 Proposed by Mariusz_Cukr <marcukr@op.pl>.
13288
21eaf3a5
UD
13289 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
13290 __feraiseexcept_renamed.
13291
e3a851a2
UD
132922011-12-21 Ulrich Drepper <drepper@gmail.com>
13293
4920765e
UD
13294 [BZ #13538]
13295 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
13296 EPOLLET with unsigned values.
13297 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13298 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13299
e3a851a2
UD
13300 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
13301 to large cancellation.
13302 * math/s_cacoshf.c: Likewise.
13303 * math/s_cacoshl.c: Likewise.
13304
b27e24b8
RK
133052011-11-18 Richard B. Kreckel <kreckel@ginac.de>
13306
13307 [BZ #13305]
aebefeee 13308 [BZ #12786]
b27e24b8
RK
13309 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
13310 * math/s_cacoshf.c: Likewise.
13311 * math/s_cacoshl.c: Likewise.
13312
ee190f67
UD
133132011-12-21 Ulrich Drepper <drepper@gmail.com>
13314
13315 [BZ #13439]
13316 * iconv/gconv.h: Define __GCONV_SWAP.
13317 * iconvdata/unicode.c: The swap bit must be stored in __flags.
13318 * iconvdata/utf-16.c: Likewise.
13319 * iconvdata/utf-32.c: Likewise.
13320
707f25df
AS
133212011-12-21 Andreas Schwab <schwab@linux-m68k.org>
13322
13323 [BZ #13524]
13324 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
13325 numerator after shifting it by one limb.
13326
d2daaa1e
RÁE
133272011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
13328
13329 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
13330 under [__USE_EXTERN_INLINES].
13331
a4647e72
UD
133322011-12-17 Ulrich Drepper <drepper@gmail.com>
13333
13334 [BZ #13446]
13335 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
13336
f0b264f1
AZ
133372011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13338
13339 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
13340 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
13341 optimized code.
13342 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
13343 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
13344 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
13345 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
13346 for strncasecmp/strncasecmp_l compilation.
13347 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
13348 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
13349
8ef4f244
MP
133502011-12-08 Marek Polacek <mpolacek@redhat.com>
13351
13352 [BZ #13484]
13353 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
13354 of __asm__.
13355
97ac2654
UD
133562011-12-17 Ulrich Drepper <drepper@gmail.com>
13357
13358 [BZ #13506]
13359 * time/tzfile.c (__tzfile_read): Check values from file header.
13360
91d2a845
WS
133612011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13362
13363 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
13364 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
13365 * powerpc/powerpc32/dl-start.S: Likewise.
13366 * powerpc/powerpc32/elf/start.S: Likewise.
13367 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13368 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
13369 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
13370 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
13371 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13372 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
13373 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
13374 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
13375 * powerpc/powerpc32/fpu/s_round.S: Likewise.
13376 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13377 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13378 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13379 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
13380 * powerpc/powerpc32/memset.S: Likewise.
13381 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13382 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13383 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13384 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13385 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13386 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13387 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13388 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13389 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
13390 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
13391 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
13392 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13393 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13394
a1267ba1
AZ
133952011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13396
13397 * math/libm-test.inc: Added more nearbyint tests.
13398 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
13399 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
13400 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
13401 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
13402
ad8ac1bd
RL
134032011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
13404
13405 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
13406 FD_CLOEXEC.
13407
1d3e4b61
UD
134082011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13409
13410 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
13411 Add wcscpy-ssse3 wcscpy-c.
13412 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
13413 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
13414 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
13415 * sysdeps/x86_64/wcschr.S: New file.
13416 * sysdeps/x86_64/wcsrchr.S: New file.
13417 * string/test-strcmp.c: Remove checking of wcscmp function for
13418 wrong alignments.
13419 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
13420 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
13421 wcsrchr-sse2 wcsrchr-c.
13422 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
13423 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
13424 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
13425 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
13426 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
13427 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
13428 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
13429 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
13430 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
13431 * wcsmbc/wcschr.c (WCSCHR): New macro.
13432
5b330a2d
UD
134332011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13434
13435 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
13436 * wcsmbs/test-wcsrchr.c: New file.
13437 * string/test-strrchr.c: Add wcsrchr support.
13438 (WIDE): New macro.
13439 * wcsmbs/test-wcscpy.c: New file.
13440 * string/test-strcpy.c: Add wcscpy support.
13441 (WIDE): New macro.
26428b7c 13442
f039c043
UD
134432011-12-10 Ulrich Drepper <drepper@gmail.com>
13444
13445 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
13446 the inner loop.
13447
850fb039
AS
134482011-12-06 Andreas Schwab <schwab@linux-m68k.org>
13449
13450 [BZ #13472]
13451 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
13452
4efbd5cb
UD
134532011-12-04 Ulrich Drepper <drepper@gmail.com>
13454
52ff5dd0 13455 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 13456 Minor optimizations.
52ff5dd0 13457
4efbd5cb
UD
13458 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
13459 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
13460 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
13461
8a426e12
UD
134622011-12-03 Ulrich Drepper <drepper@gmail.com>
13463
aff2453d
UD
13464 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
13465 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
13466 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
13467 for gcc to avoid warnings.
13468 * inet/Makefile (tests): Add tst-checks.
13469 * inet/tst-checks.c: New file.
13470
13471 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
13472 warning.
13473
13474 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
13475 __wmemcmp_sse2.
13476
13477 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
13478 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
13479
8a426e12
UD
13480 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
13481
9bea3473
UD
134822011-12-02 Ulrich Drepper <drepper@gmail.com>
13483
3a965496
UD
13484 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
13485 problem.
13486
9bea3473
UD
13487 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
13488
f101631b
UD
134892011-11-29 Joseph Myers <joseph@codesourcery.com>
13490
13491 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
13492 conditional on GCC version.
13493 (__arch_compare_and_exchange_val_8_acq)
13494 (__arch_compare_and_exchange_val_16_acq)
13495 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
13496 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
13497 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
13498
a98275aa
UD
134992011-12-02 Joseph Myers <joseph@codesourcery.com>
13500
13501 * sysdeps/sh/backtrace.c: New file.
13502
d4cc29a2
AS
135032011-12-02 Andreas Schwab <schwab@redhat.com>
13504
13505 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
13506 parenthesis.
13507
6257af2d
AS
135082011-12-01 Andreas Schwab <schwab@redhat.com>
13509
13510 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
13511 falling back to utime.
13512
b5f44c1a
AS
135132011-11-30 Andreas Schwab <schwab@redhat.com>
13514
13515 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
13516 expectations for float.
13517
f3a6cc0a
AS
135182011-11-29 Andreas Schwab <schwab@redhat.com>
13519
13520 * locale/weight.h (findidx): Add parameter len.
13521 * locale/weightwc.h (findidx): Likewise.
13522 * posix/fnmatch_loop.c (FCT): Adjust caller.
13523 * posix/regcomp.c (build_equiv_class): Likewise.
13524 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
13525 * posix/regexec.c (check_node_accept_bytes): Likewise.
13526 * string/strcoll_l.c (STRCOLL): Likewise.
13527 * string/strxfrm_l.c (STRXFRM): Likewise.
13528
9d65ea3a
UD
135292011-11-17 Ulrich Drepper <drepper@gmail.com>
13530
13531 * Makefile.in: Remove CVSOPT handling.
13532 * configure.in: Remove use of AC_REVISION.
13533 * iconvdata/Makefile (distribute): No need to filter out CVS.
13534 * scripts/list-sources.sh: Remove CVS, subversion and monotone
13535 handling.
13536
5583a086
AS
135372011-11-16 Andreas Schwab <schwab@redhat.com>
13538
13539 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
13540 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
13541 [USE_AS_STRNCASECMP_L]: Likewise.
13542 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
13543 NO_TLS_DIRECT_SEG_REFS.
13544 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
13545 Fix argument offsets for non-PIC.
13546 [USE_AS_STRNCASECMP_L]: Likewise.
13547 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
13548 NO_TLS_DIRECT_SEG_REFS.
13549
d62a8200
UD
135502011-11-15 Ulrich Drepper <drepper@gmail.com>
13551
9d65ea3a 13552 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
13553 O_CLOEXEC.
13554 * locale/loadlocale.c (_nl_load_locale): Likewise.
13555
09f93bd3
AS
135562011-11-15 Andreas Schwab <schwab@redhat.com>
13557
446514f9
AS
13558 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
13559 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
13560 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
13561 (SYSCALL_GETTIME): Set errno on error.
13562
09f93bd3
AS
13563 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
13564 count references to noai6ai_cached.
13565
312be3f9
UD
135662011-11-15 Ulrich Drepper <drepper@gmail.com>
13567
13568 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
13569
13570 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
13571 FD_CLOEXEC for /proc/self/maps.
13572
13573 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
13574 FD_CLOEXEC for /proc/meminfo.
13575
13576 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
13577 gai.conf.
13578
13579 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
13580 FD_CLOEXEC for given file.
13581
13582 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
13583
13584 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
13585 FD_CLOEXEC for /etc/hosts.
13586 (_gethtent): Likewise.
13587
13588 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
13589
13590 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
13591 cancellation and set FD_CLOEXEC for /etc/netgroup.
13592
13593 * nss/nss_files/files-key.c (search): Don't allow cancellation when
13594 reading /etc/publickey.
13595
13596 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
13597 allow cancellation when reading /etc/group.
13598
13599 * nss/nss_files/files-alias.c (internal_setent): Don't allow
13600 cancellation.
13601 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
13602
13603 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
13604 when using data file.
13605
13606 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
13607
13608 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
13609 (write_nis_obj): Use "c" and "e" in fopen.
13610
13611 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
13612
13613 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
13614
13615 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
13616
13617 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
13618
13619 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
13620 locale.alias.
13621
13622 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
13623
13624 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
13625
13626 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
13627
13628 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
13629 file parsing and set FD_CLOEXEC.
13630
82af0fa8
UD
136312011-11-14 Ulrich Drepper <drepper@gmail.com>
13632
13633 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
13634
a5fb313c
AS
136352011-11-14 Andreas Schwab <schwab@redhat.com>
13636
13637 * malloc/arena.c (arena_get2): Don't call reused_arena when
13638 _int_new_arena failed.
13639
6abf3465
UD
136402011-11-14 Ulrich Drepper <drepper@gmail.com>
13641
13642 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
13643 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
13644 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
13645 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13646 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13647 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
13648 to compile strcasecmp and strncasecmp.
13649 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
13650 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
13651
13652 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
13653
76e3966e
UD
136542011-11-13 Ulrich Drepper <drepper@gmail.com>
13655
13656 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
13657 locale-defines.sym to gen-as-const-headers.
13658 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
13659 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
13660 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
13661 to compile strcasecmp and strncasecmp.
13662 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
13663 strcasecmp_l and strncasecmp_l.
13664 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
13665 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
13666 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
13667 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
13668 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
13669 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
13670 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
13671 * sysdeps/i386/i686/multiarch/strncase.S: New file.
13672 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
13673 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
13674 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
13675
ab26144e
UD
136762011-11-12 Ulrich Drepper <drepper@gmail.com>
13677
7edb22ef
UD
13678 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
13679 result of SYSDEP_GETTIME_CPU to retval.
13680 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
13681 parameter list to macro. Remove trailing semicolon. Adjust users.
13682
9694fc44
UD
13683 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
13684 variable.
13685
8ad89ef8
UD
13686 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
13687 mantissa words.
13688 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13689
0c822ef9
UD
13690 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
13691 from unused variable.
13692
874e0564
UD
13693 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
13694 DWARF definitions.
13695 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
13696 for assembling.
13697
3a2edc79
UD
13698 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
13699 over namespaces.
13700
f3c2577f
UD
13701 * sunrpc/rpc_prot.c (rejected): Fix case value.
13702
294ce126
UD
13703 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
13704 unsigned long long int to avoid warnings in shift.
13705
5e2b63c6
UD
13706 * posix/regex_internal.c (re_string_reconstruct): Actually use result
13707 of use of trans.
13708 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
13709 variable tmp.
13710
e7f4b08e
UD
13711 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
13712 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
13713 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
13714
ab26144e
UD
13715 * nis/nis_table.c (nis_list): Use variable of correct type for
13716 result of __follow_path call.
13717
8a6d5255
AZ
137182011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13719
13720 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
13721 of math functions ceil, trunc, floor, round, and sqrt, when
13722 avaliable on the platform.
13723 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
13724 name clash.
13725 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13726 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13727 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13728
aaddc98c
MP
137292011-10-30 Marek Polacek <mpolacek@redhat.com>
13730
13731 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
13732 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13733
95b7042b
RM
137342011-11-11 Roland McGrath <roland@hack.frob.com>
13735
13736 * include/unistd.h: Fix __readlink return type.
13737 Reported by Chris Metcalf <cmetcalf@tilera.com>.
13738
57769839
UD
137392011-11-11 Ulrich Drepper <drepper@gmail.com>
13740
13741 * stdlib/ucontext.h: Undo last change for makecontext.
13742
edc5984d
AS
137432011-11-11 Andreas Schwab <schwab@redhat.com>
13744
98591e58
AS
13745 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
13746
edc5984d
AS
13747 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
13748 * setjmp/setjmp.h: Mark functions as non-leaf.
13749 * setjmp/bits/setjmp2.h: Likewise.
13750 * stdlib/ucontext.h: Likewise.
13751
77cdc054
AS
137522011-11-10 Andreas Schwab <schwab@redhat.com>
13753
13754 * malloc/arena.c (_int_new_arena): Don't increment narenas.
13755 (reused_arena): Don't check arena limit.
13756 (arena_get2): Atomically check arena limit.
13757
fe72eebd
UD
137582011-11-08 Ulrich Drepper <drepper@gmail.com>
13759
5f078c32
UD
13760 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
13761 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
13762
fe72eebd
UD
13763 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
13764 instructions.
13765
ae1bc2fa
AS
137662011-11-07 Andreas Schwab <schwab@redhat.com>
13767
7583a88d
AS
13768 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
13769 handler when locking.
13770
ae1bc2fa
AS
13771 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13772 Fix size of allocated buffer.
13773
10fb0bfa
AS
137742011-11-04 Andreas Schwab <schwab@redhat.com>
13775
998832a4
AS
13776 [BZ #10103]
13777 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
13778 declarations for long double functions.
13779 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
13780
10fb0bfa
AS
13781 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
13782
3d7ba52b
AS
137832011-11-03 Andreas Schwab <schwab@redhat.com>
13784
a9ae54a1
AS
13785 * nscd/nscd.c (main): Don't start AVC thread until credentials are
13786 installed.
13787
3d7ba52b
AS
13788 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
13789 is disabled.
13790
bc8db248
ST
137912011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13792
13793 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
13794
45b96dd6
AS
137952011-11-01 Andreas Schwab <schwab@linux-m68k.org>
13796
647776f6
AS
13797 * include/alloca.h (stackinfo_alloca_round): Define.
13798 (extend_alloca): Use it.
13799 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
13800 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
13801 here.
13802
d91a8b93
AS
13803 * scripts/check-local-headers.sh: Ignore libaudit.h.
13804
45b96dd6
AS
13805 * nscd/Makefile (extra-objs): Make recursively expanded.
13806
432d41ce
UD
138072011-11-01 Ulrich Drepper <drepper@gmail.com>
13808
34372fc6
UD
13809 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
13810 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13811
fadb59f8
UD
13812 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
13813 * posix/tst-rfc3484-2.c: Likewise.
13814 * posix/tst-rfc3484-3.c: Likewise.
13815
78239589
UD
13816 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13817 process_vm_writev.
13818 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
13819 process_vm_writev.
13820 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
13821 process_vm_writev from libc using GLIBC_2.15 version.
13822
432d41ce
UD
13823 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
13824
02f9c6cf
PP
138252011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
13826
13827 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
13828 stack usage.
13829
3a2c0242
UD
138302011-10-31 Ulrich Drepper <drepper@gmail.com>
13831
f4ec4833
UD
13832 [BZ #13367]
13833 * nss/getent.c (initgroups_keys): Show error message in case no group
13834 names are given.
13835
3a2c0242
UD
13836 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
13837 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
13838 __bump_nl_timestamp.
13839 * nscd/connections (nscd_init): When host database is served open
13840 netlink socket and request notification about configuration changes.
13841 (main_loop_poll): Track netlink file descriptor and bump timestamp
13842 in case data becomes available.
13843 (main_loop_epoll): Likewise.
13844 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
13845 (database_pers_head): Add extra_data fileds.
13846 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
13847 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
13848 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
13849 Adjust caller.
13850 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
13851 in6ai data, call __free_in6ai.
13852 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
13853 Add -DHAVE_NETLINK.
13854 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
13855 interface information. Reuse previous data if netlink timestamp
13856 is not changed.
13857 (__bump_nl_timestamp): New function.
13858 (__free_in6ai): New function.
13859
636064eb
UD
138602011-10-30 Ulrich Drepper <drepper@gmail.com>
13861
13862 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
13863 close_not_cancel_no_status here.
13864 (__check_pf): Reorganize code a bit to not call close twice if OOM.
13865
9beb2334
UD
138662011-10-29 Ulrich Drepper <drepper@gmail.com>
13867
6ef76f3b
UD
13868 [BZ #13276]
13869 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
13870 return value.
13871
0ffc4f3e 13872 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
13873 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
13874 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
13875
cb95113e
UD
138762011-07-03 Andreas Jaeger <aj@suse.de>
13877
13878 [BZ #10709]
13879 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
13880 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
13881 * math/libm-test.inc (sin_test): Add test case.
13882
a1b560ff
UD
138832011-10-29 Ulrich Drepper <drepper@gmail.com>
13884
c9aaface
UD
13885 [BZ #13337]
13886 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
13887 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13888
d272e7f1
UD
13889 * elf/chroot_canon.c (chroot_canon): Cleanups.
13890
1bc33071
UD
13891 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
13892
1760874d
TJ
13893 [BZ #13335]
13894 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
13895 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13896
51d91b18
UD
13897 * string/test-strchr.c: Make usable for strchrnul testing.
13898 * string/test-strchrnul.c: New file.
13899 * string/Makefile (strop-tests): Add strchrnul.
13900
a1b560ff 13901 * po/it.po: Update from translation team.
b611fb81 13902 * po/es.po: Likewise.
a1b560ff 13903
a5b81e1f
UD
139042011-10-28 Ulrich Drepper <drepper@gmail.com>
13905
fd52bc6d
UD
13906 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
13907 the three constants needed as parameters. Drop the others.
13908 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
13909 __m128i_strloadu_tolower.
52e4b9eb
UD
13910 Create and initialize variable zero and use it in all the places
13911 where _mm_setzero_si128 was used.
fd52bc6d 13912
a5b81e1f
UD
13913 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
13914 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
13915 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
13916 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
13917 anymore.
13918 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
13919 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
13920 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
13921 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
13922 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
13923 __mpranred, __mptan.
13924 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
13925 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
13926 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
13927 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
13928 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
13929 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
13930 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
13931 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
13932 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
13933
b4343346
AS
139342011-10-28 Andreas Schwab <schwab@redhat.com>
13935
0c92d8a8
AS
13936 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
13937 redefine if SHARED.
13938 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
13939
b4343346
AS
13940 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
13941 wide char related routines to wcsmbs subdir.
13942
3871f58f
AS
139432011-10-27 Andreas Schwab <schwab@redhat.com>
13944
13945 [BZ #13344]
13946 * misc/sys/cdefs.h (__THROWNL): Define.
13947 * posix/unistd.h: Use __THREADNL instead of __THREAD
13948 for memory synchronization functions.
13949
94d44d9f
RM
139502011-10-26 Roland McGrath <roland@hack.frob.com>
13951
21b64b15 13952 [BZ #13349]
94d44d9f
RM
13953 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
13954 doesn't exist.
13955 * manual/stdio.texi (Obstack Streams): Node removed.
13956
f6ce9294
AS
139572011-10-26 Andreas Schwab <schwab@redhat.com>
13958
80479147
AS
13959 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
13960 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13961 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13962
f6ce9294
AS
13963 * math/math_private.h (math_force_eval): Allow non-addressable
13964 arguments.
13965 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
13966
618280a1
UD
139672011-10-25 Ulrich Drepper <drepper@gmail.com>
13968
e0016b11
UD
13969 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
13970 file is not needed.
13971
13972 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
13973 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13974 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13975 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13976 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13977 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13978 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13979 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
13980 Add AVX variants.
13981 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
13982 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
13983 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
13984 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
13985 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
13986 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
13987 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
13988 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
13989 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
13990 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
13991 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
13992 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
13993 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
13994 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
13995 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
13996 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
13997 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
13998 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
13999 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
14000
14001 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
14002 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
14003
618280a1
UD
14004 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
14005 place. Use VEX encoding when compiling for AVX.
14006
37822576
AS
140072011-10-25 Andreas Schwab <schwab@redhat.com>
14008
1f1e1947
AS
14009 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
14010 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14011
37822576
AS
14012 * string/test-strchr.c (do_test): Don't generate NUL bytes.
14013
31ea014d
UD
140142011-10-25 Ulrich Drepper <drepper@gmail.com>
14015
d7826aa1 14016 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 14017 useless if() expression.
d7826aa1
UD
14018 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14019 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14020 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14021 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14022 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14023 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14024 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14025 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14026 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14027 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14028 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14029 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14030 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14031 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14032 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14033 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14034 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14035 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14036 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14037
31ea014d
UD
14038 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
14039
16437fec
AS
140402011-10-25 Andreas Schwab <schwab@redhat.com>
14041
14042 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
14043 condition.
14044 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14045
31d3cc00
UD
140462011-10-25 Ulrich Drepper <drepper@gmail.com>
14047
14048 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
14049 .text section. Avoid duplicate constants.
14050 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14051 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14052 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14053 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14054 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14055 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14056 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14057 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14058 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14059 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
14060 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14061 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14062 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14063 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14064 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14065 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14066 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14067 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14068 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14069 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14070 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14071 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14072 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14073 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
14074 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
14075 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
14076 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
14077 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
14078 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
14079 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
14080 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
14081 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
14082 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14083 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
14084 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
14085 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
14086 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
14087 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
14088 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
14089 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
14090 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
14091 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
14092 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
14093 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
14094 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
14095
58985aa9
UD
140962011-10-24 Ulrich Drepper <drepper@gmail.com>
14097
202c9deb
UD
14098 * sysdeps/x86_64/dla.h: Move to ...
14099 * sysdeps/x86_64/fpu/dla.h: ...here.
14100 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
14101 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 14102
af968f62
UD
14103 * config.make.in: Add have-mfma4 entry.
14104 * configure.in: Substitute libc_cv_cc_fma4.
14105 * math/Makefile (dbl-only-routines): Add sincostab.
14106 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
14107 Use __sincostab not sincos.
14108 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
14109 name is a macro.
14110 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14111 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14112 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14113 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
14114 using __copysign.
14115 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
14116 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
14117 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
14118 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
14119 and __inv.
14120 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
14121 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
14122 __copysign.
14123 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
14124 define aliases when function name is a macro.
14125 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
14126 sysdeps/ieee754/dbl-64/sincos.tbl.
14127 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
14128 fma4-enabled routines.
14129 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
14130 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
14131 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
14132 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
14133 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
14134 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
14135 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
14136 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
14137 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
14138 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
14139 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
14140 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
14141 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
14142 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
14143 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
14144 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
14145 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
14146 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
14147 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
14148 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
14149 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
14150 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
14151 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
14152 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
14153 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
14154 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
14155 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
14156 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
14157 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
14158 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
14159
58985aa9
UD
14160 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
14161 rename.
14162 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14163 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14164 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14165 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14166 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14167 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14168 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14169 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14170
a201fbcf
AS
141712011-10-24 Andreas Schwab <schwab@redhat.com>
14172
14173 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
14174
fc2ee42a
LD
141752011-10-23 Ulrich Drepper <drepper@gmail.com>
14176
bb3129bd
UD
14177 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
14178
0275fff8
UD
14179 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
14180 prediction.
14181 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
14182
2fa2ae85
UD
14183 * string/strnlen.c: Don't define STRNLEN, reverse logic.
14184 Remove unused variable magic_bits.
14185 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
14186
fc2ee42a
LD
14187 * string/strnlen.c: Define and use STRNLEN macro.
14188 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
14189 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
14190 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
14191 * wcsmbs/wcslen.c: Define and use WCSLEN.
14192 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
14193 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
14194 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
14195 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
14196 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
14197 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
14198 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14199
ce7dd29f
LD
142002011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14201
14202 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14203 strnlen-sse2-no-bsf.
14204 Rename strlen-no-bsf to strlen-sse2-no-bsf.
14205 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
14206 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
14207 Add strnlen support.
14208 (USE_AS_STRNLEN): New macro.
14209 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
14210 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
14211 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
14212 * sysdeps/x86_64/wcslen.S: New file.
14213
979c70a3
MZ
142142011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
14215
14216 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
14217 XMM-moves are used for copying on small sizes.
14218
2d09f82f
LD
142192011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14220
14221 * wcsmbs/Makefile (strop-tests): Add wcschr.
14222 * wcsmbs/test-wcschr.c: New file.
14223 * string/test-strchr.c: Update.
14224 Add wcschr support.
14225 (WIDE): New macro.
14226
619fccca
LD
142272011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14228
2d09f82f 14229 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
14230 * wcsmbs/test-wcslen.c: New file.
14231 * string/test-strlen.c: Update.
14232 Add wcslen support.
14233 (WIDE): New macro.
14234
09f699ea
UD
142352011-10-23 Ulrich Drepper <drepper@gmail.com>
14236
14237 * po/it.po: Update from translation team.
14238
95584d3b
LD
142392011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14240
14241 * sysdeps/x86_64/wcscmp.S: Update.
14242 Fix wrong comparison semantics.
14243 wcscmp shall use signed comparison not unsigned.
14244 Don't use substraction to avoid overflow bug.
14245 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
14246 * wcsmbc/wcscmp.c: Likewise.
14247 * string/test-strcmp.c: Likewise.
14248 Add new tests to check cases with negative values.
14249
c8b3296b
UD
142502011-10-23 Ulrich Drepper <drepper@gmail.com>
14251
14252 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
14253 * sysdeps/x86_64/dla.h: ...here. New file.
14254 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
14255 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14256 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14257 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14258 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14259 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14260 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14261 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14262 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14263
246ad57a
AS
142642011-10-23 Andreas Schwab <schwab@linux-m68k.org>
14265
14266 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
14267 __ynl_finite aliases.
14268
a1a87169
UD
142692011-10-22 Ulrich Drepper <drepper@gmail.com>
14270
0d355eb7
UD
14271 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14272
a1a87169
UD
14273 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
14274 define DLA_FMA.
14275 [DLA_FMA] (EMULV): Use DLA_FMA.
14276 [DLA_FMA] (MUL12): Use EMULV.
14277 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
14278 that are not needed.
14279 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14280 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14281 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14282 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14283 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14284 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14285 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14286
ee2aafe0
AS
142872011-10-22 Andreas Schwab <schwab@linux-m68k.org>
14288
14289 * math/s_nan.c: Undef __nan.
14290 * math/s_nanf.c: Undef __nanf.
14291 * math/s_nanl.c: Undef __nanl.
14292 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
14293 "math_private.h".
14294
bc62c2fb
UD
142952011-10-22 Ulrich Drepper <drepper@gmail.com>
14296
77425c63
UD
14297 * math/s_catan.c: Add branch predictions.
14298 * math/s_catanf.c: Likewise.
14299 * math/s_catanh.c: Likewise.
14300 * math/s_catanhf.c: Likewise.
14301 * math/s_catanhl.c: Likewise.
14302 * math/s_catanl.c: Likewise.
14303 * math/s_cexp.c: Likewise.
14304 * math/s_cexpf.c: Likewise.
14305 * math/s_cexpl.c: Likewise.
14306 * math/s_clog.c: Likewise.
14307 * math/s_clog10.c: Likewise.
14308 * math/s_clog10f.c: Likewise.
14309 * math/s_clog10l.c: Likewise.
14310 * math/s_clogf.c: Likewise.
14311 * math/s_clogl.c: Likewise.
14312 * math/s_csqrt.c: Likewise.
14313 * math/s_csqrtf.c: Likewise.
14314 * math/s_csqrtl.c: Likewise.
14315 * math/s_ctanf.c: Likewise.
14316 * math/s_ctanh.c: Likewise.
14317 * math/s_ctanhf.c: Likewise.
14318 * math/s_ctanhl.c: Likewise.
14319 * math/s_ctanl.c: Likewise.
14320
bc62c2fb
UD
14321 * math/math_private.h: Define __nan, __nanf, __nanl.
14322 * math/s_cacosh.c: Include <math_private.h>.
14323 * math/s_cacoshl.c: Likewise.
14324 * math/s_casinh.c: Likewise.
14325 * math/s_casinhf.c: Likewise.
14326 * math/s_casinhl.c: Likewise.
14327 * math/s_ccos.c: Rely entire on ccosh.
14328 * math/s_ccosf.c: Rely entire on ccoshf.
14329 * math/s_ccosl.c: Rely entirely on ccoshl.
14330 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
14331 Remove tests for FE_INVALID.
14332 * math/s_ccoshf.c: Likewise.
14333 * math/s_ccoshl.c: Likewise.
14334 * math/s_csin.c: Likewise.
14335 * math/s_csinf.c: Likewise.
14336 * math/s_csinh.c Likewise.
14337 * math/s_csinhf.c: Likewise.
14338 * math/s_csinhl.c: Likewise.
14339 * math/s_csinl.c: Likewise.
14340 * math/s_ctan.c: Likewise.
14341 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
14342 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
14343 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
14344
8ec250a4
UD
143452011-10-21 Ulrich Drepper <drepper@gmail.com>
14346
c196fed8
UD
14347 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
14348 compilation problems.
14349
8ec250a4
UD
14350 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
14351 __builtin_expect.
14352
8d4f46c6
UD
143532011-10-20 Ulrich Drepper <drepper@gmail.com>
14354
ed72b654
UD
14355 * sysdeps/i386/configure.in: Test for -mfma4 option.
14356 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
14357 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
14358 COMMON_CPUID_INDEX_80000001.
14359 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
14360 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
14361 use it if FMA3 is not supported.
14362 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
14363
8d4f46c6
UD
14364 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
14365 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14366
d45c60c2
AS
143672011-10-20 Andreas Schwab <schwab@redhat.com>
14368
14369 [BZ #12892]
14370 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
14371 it would create a cycle with a link time dependency.
14372
d9a4d2ab
UD
143732011-10-19 Ulrich Drepper <drepper@gmail.com>
14374
855d1560
UD
14375 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
14376 instruction.
14377 * string/Makefile (strop-tests): Add rawmemchr.
14378 * string/test-rawmemchr.c: New file.
14379
d9a4d2ab
UD
14380 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
14381 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
14382 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
14383 when compiling str{,n}casecmp and when AVX is available. Hook up
14384 new optimized code in initializers.
14385
8f3b1ffe
AS
143862011-10-19 Andreas Schwab <schwab@redhat.com>
14387
14388 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
14389 __feraiseexcept instead of feraiseexcept.
14390
d38f1dba
UD
143912011-10-18 Ulrich Drepper <drepper@gmail.com>
14392
d9a8d0ab
UD
14393 * math/math_private.h: Define defaults for libc_fetestexcept and
14394 libc_feupdateenv.
14395 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
14396 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
14397 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14398 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14399 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14400 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14401 libc_fetestexcept and libc_feupdateenv.
14402
4855e3dd
UD
14403 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
14404 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
14405 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
14406 * sysdeps/x86_64/fpu/math_private.h: Define special version of
14407 libc_feholdexcept_setround.
14408
581d30e3
UD
14409 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
14410 Add s_nearbyint-c and s_nearbyintf-c.
14411 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
14412 nearbyintf inlines.
14413 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
14414 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
14415 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
14416 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
14417
d38f1dba
UD
14418 * math/math_private.h: Define defaults for libc_fegetround,
14419 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
14420 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
14421 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
14422 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
14423 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
14424 standard functions.
14425 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14426 Remove comments and hacks for old compiler versions.
14427 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14428 libc_fegetround, libc_fesetround, libc_feholdexcept, and
14429 libc_feholdexceptl.
14430
caa6c9d8
AS
144312011-10-18 Andreas Schwab <schwab@redhat.com>
14432
14433 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
14434 (__feraiseexcept_renamed): Add __NTH.
14435 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
14436 namespace violations.
14437
97c066e6
UD
144382011-10-17 Ulrich Drepper <drepper@gmail.com>
14439
99ce7b04
UD
14440 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
14441
1004d182
UD
14442 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
14443
228a984d
UD
14444 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
14445 recently added interfaces.
14446 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
14447
c8553a6a
UD
14448 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
14449 about macro parameter expansion.
14450
ed22dcf6
UD
14451 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
14452 __NO_MATH_INLINES is defined. Cleanups.
14453
14454 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
14455 and __floorf is target has SSE4.1.
14456 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
14457 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
14458 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
14459 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
14460
b171c137
UD
14461 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
14462 name.
14463 (floorf): Likewise.
14464
97c066e6
UD
14465 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
14466
629f62ef
AS
144672011-10-17 Andreas Schwab <schwab@redhat.com>
14468
49a43d80
AS
14469 * misc/sys/cdefs.h: Fix last change.
14470
629f62ef
AS
14471 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
14472 database lookup.
14473
e453f6cd
UD
144742011-10-16 Ulrich Drepper <drepper@gmail.com>
14475
aa78043a
UD
14476 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
14477
ad0f5cad
UD
14478 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
14479 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14480 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14481 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14482 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14483 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14484 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14485 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14486 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14487 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
14488 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
14489 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
14490 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
14491 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
14492 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
14493 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
14494 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
14495 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
14496 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
14497 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
14498 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
14499 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
14500
14501 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
14502 ceil, ceilf, floor, floorf.
14503
14504 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
14505 Perform IRELATIVE relocations last.
14506
e453f6cd
UD
14507 * elf/do-rel.h: Add another parameter nrelative, replacing the
14508 local variable with the same name. Change name of the function
14509 to end in Rel or Rela (uppercase).
14510 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
14511 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
14512 elf_dynamic_do_##reloc function.
14513
fd5bdc09
UD
145142011-10-15 Ulrich Drepper <drepper@gmail.com>
14515
79b195b5
UD
14516 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
14517 is sufficient, at least on modern CPUs.
14518
d4a28569
UD
14519 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
14520
b61099b5
UD
14521 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
14522 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
14523
bcf01e6d
UD
14524 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
14525 __expl_finite.
14526 * math/bits/math-finite.h: Add entries for exp.
14527 * math/e_expl.c: Add __*_finite alias.
14528 * sysdeps/i386/fpu/e_exp.S: Likewise.
14529 * sysdeps/i386/fpu/e_expf.S: Likewise.
14530 * sysdeps/i386/fpu/e_expl.c: Likewise.
14531 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14532 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14533 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14534 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14535 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
14536 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14537 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14538
ba1a0d59
UD
14539 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
14540 is sufficient, at least on modern CPUs.
14541
fd5bdc09
UD
14542 * ctype/ctype-info.c (__ctype_init): Define.
14543 * include/ctype.h (__ctype_init): Declare.
14544 (__ctype_b_loc): The variable is always initialized.
14545 (__ctype_toupper_loc): Likewise.
14546 (__ctype_tolower_loc): Likewise.
14547 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
14548 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
14549
7872cfb0
AS
145502011-10-15 Andreas Schwab <schwab@linux-m68k.org>
14551
b468825a
AS
14552 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
14553
7872cfb0
AS
14554 * configure.in: Also look in $cxxmachine/include for C++ system
14555 headers.
14556
be13f7bf
LD
145572011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14558
14559 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
14560 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
14561 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
14562 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
14563 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
14564 (USE_AS_WMEMCMP): New macro.
14565 Fixing indents.
14566 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
14567 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
14568 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
14569 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
14570 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14571 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
14572 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
14573 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
14574 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
14575 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
14576 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
14577 (USE_AS_WMEMCMP): New macro.
14578 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
14579 * sysdeps/string/test-memcmp.c: Update.
14580 Fix simple_wmemcmp.
14581 Add new tests.
14582 * wcsmbs/wmemcmp.c: Update.
14583 (WMEMCMP): New macro.
14584 Fix overflow bug.
14585
556a2007
AJ
145862011-10-12 Andreas Jaeger <aj@suse.de>
14587
14588 [BZ #13268]
14589 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
14590
538faaa7
UD
145912011-10-15 Ulrich Drepper <drepper@gmail.com>
14592
ab6737ff
UD
14593 * libio/iofwide.c (do_length): Avoid warning.
14594
538faaa7
UD
14595 * ctype/ctype.h (__isctype_f): Add missing __THROW.
14596
396a21b1
UD
145972011-10-14 Ulrich Drepper <drepper@gmail.com>
14598
cdf2901f
UD
14599 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
14600
38ad40ce
UD
14601 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
14602 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
14603 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
14604 * sysdeps/i386/i686/fpu/e_log.S: New file.
14605 * sysdeps/i386/i686/fpu/e_logf.S: New file.
14606 * sysdeps/i386/i686/fpu/e_logl.S: New file.
14607
396a21b1
UD
14608 * ctype/ctype.h: Add support for inlined isXXX functions when
14609 compiling C++ code.
14610
6b1f68c9
AS
146112011-10-14 Andreas Schwab <schwab@redhat.com>
14612
349290c0
AS
14613 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14614
6b1f68c9
AS
14615 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
14616
f2282d42
RM
146172011-10-13 Roland McGrath <roland@hack.frob.com>
14618
14619 [BZ #13291]
14620 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
14621
5298ffa8
AS
146222011-10-13 Andreas Schwab <schwab@redhat.com>
14623
714fad23
AS
14624 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
14625 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
14626 feraiseexcept.
14627
81dcc7fb
AS
14628 * sysdeps/x86_64/memrchr.S: Check for zero size.
14629
5298ffa8
AS
14630 * string/stratcliff.c: Add memrchr tests.
14631
951fbcec
LD
146322011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14633
14634 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14635 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
14636 rawmemchr-sse2 rawmemchr-sse2-bsf.
14637 * sysdeps/i386/i686/multiarch/memchr.S: New file.
14638 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
14639 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
14640 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
14641 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
14642 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
14643 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
14644 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
14645 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
14646 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
14647 * string/memrchr.c (MEMRCHR): New macro.
14648
0ac5ae23
UD
146492011-10-12 Ulrich Drepper <drepper@gmail.com>
14650
14651 Add integration with gcc's -ffinite-math-only and optimize wrapper
14652 functions in libm.
14653 * Versions.def: Define GLIBC_2.15 version for libm.
14654 * math/Makefile (headers): Add bits/math-finite.h.
14655 * math/bits/math-finite.h: New file.
14656 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
14657 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
14658 * math/e_acoshl.c: Add __*_finite alias.
14659 * math/e_acosl.c: Likewise.
14660 * math/e_asinl.c: Likewise.
14661 * math/e_atan2l.c: Likewise.
14662 * math/e_atanhl.c: Likewise.
14663 * math/e_coshl.c: Likewise.
14664 * math/e_exp10.c: Likewise.
14665 * math/e_exp10f.c: Likewise.
14666 * math/e_exp10l.c: Likewise.
14667 * math/e_exp2l.c: Likewise.
14668 * math/e_fmodl.c: Likewise.
14669 * math/e_gammal_r.c: Likewise.
14670 * math/e_hypotl.c: Likewise.
14671 * math/e_j0l.c: Likewise.
14672 * math/e_j1l.c: Likewise.
14673 * math/e_jnl.c: Likewise.
14674 * math/e_lgammal_r.c: Likewise.
14675 * math/e_log10l.c: Likewise.
14676 * math/e_log2l.c: Likewise.
14677 * math/e_logl.c: Likewise.
14678 * math/e_powl.c: Likewise.
14679 * math/e_sinhl.c: Likewise.
14680 * math/e_sqrtl.c: Likewise.
14681 * math/e_scalb.c: Completely rewritten and optimized.
14682 * math/e_scalbf.c: Likewise.
14683 * math/e_scalbl.c: Likewise.
14684 * math/w_acos.c: Likewise.
14685 * math/w_acosf.c: Likewise.
14686 * math/w_acosl.c: Likewise.
14687 * math/w_acosh.c: Likewise.
14688 * math/w_acoshf.c: Likewise.
14689 * math/w_acoshl.c: Likewise.
14690 * math/w_asin.c: Likewise.
14691 * math/w_asinf.c: Likewise.
14692 * math/w_asinl.c: Likewise.
14693 * math/w_atan2.c: Likewise.
14694 * math/w_atan2f.c: Likewise.
14695 * math/w_atan2l.c: Likewise.
14696 * math/w_atanh.c: Likewise.
14697 * math/w_atanhf.c: Likewise.
14698 * math/w_atanhl.c: Likewise.
14699 * math/w_exp10.c: Likewise.
14700 * math/w_exp10f.c: Likewise.
14701 * math/w_exp10l.c: Likewise.
14702 * math/w_fmod.c: Likewise.
14703 * math/w_fmodf.c: Likewise.
14704 * math/w_fmodl.c: Likewise.
14705 * math/w_j0.c: Likewise.
14706 * math/w_j0f.c: Likewise.
14707 * math/w_j0l.c: Likewise.
14708 * math/w_j1.c: Likewise.
14709 * math/w_j1f.c: Likewise.
14710 * math/w_j1l.c: Likewise.
14711 * math/w_jn.c: Likewise.
14712 * math/w_jnf.c: Likewise.
14713 * math/w_log.c: Likewise.
14714 * math/w_logf.c: Likewise.
14715 * math/w_logl.c: Likewise.
14716 * math/w_log10.c: Likewise.
14717 * math/w_log10f.c: Likewise.
14718 * math/w_log10l.c: Likewise.
14719 * math/w_log2.c: Likewise.
14720 * math/w_log2f.c: Likewise.
14721 * math/w_log2l.c: Likewise.
14722 * math/w_pow.c: Likewise.
14723 * math/w_powf.c: Likewise.
14724 * math/w_powl.c: Likewise.
14725 * math/w_remainder.c: Likewise.
14726 * math/w_remainderf.c: Likewise.
14727 * math/w_remainderl.c: Likewise.
14728 * math/w_scalb.c: Likewise.
14729 * math/w_scalbf.c: Likewise.
14730 * math/w_scalbl.c: Likewise.
14731 * math/w_sqrt.c: Likewise.
14732 * math/w_sqrtf.c: Likewise.
14733 * math/w_sqrtl.c: Likewise.
14734 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
14735 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
14736 used.
14737 * math/math_private.h: Declare __kernel_standard_f.
14738 * math/w_cosh.c: Remove cruft and optimize a bit.
14739 * math/w_coshf.c: Likewise.
14740 * math/w_coshl.c: Likewise.
14741 * math/w_exp2.c: Likewise.
14742 * math/w_exp2f.c: Likewise.
14743 * math/w_exp2l.c: Likewise.
14744 * math/w_hypot.c: Likewise.
14745 * math/w_hypotf.c: Likewise.
14746 * math/w_hypotl.c: Likewise.
14747 * math/w_lgamma.c: Likewise.
14748 * math/w_lgamma_r.c: Likewise.
14749 * math/w_lgammaf.c: Likewise.
14750 * math/w_lgammaf_r.c: Likewise.
14751 * math/w_lgammal.c: Likewise.
14752 * math/w_lgammal_r.c: Likewise.
14753 * math/w_sinh.c: Likewise.
14754 * math/w_sinhf.c: Likewise.
14755 * math/w_sinhl.c: Likewise.
14756 * math/w_tgamma.c: Likewise.
14757 * math/w_tgammaf.c: Likewise.
14758 * math/w_tgammal.c: Likewise.
14759 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14760 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14761 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
14762 Minor optimizations. Pretty printing. Remove cruft.
14763 * sysdeps/i386/fpu/e_acosf.S: Likewise.
14764 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14765 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14766 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14767 * sysdeps/i386/fpu/e_acosl.c: Likewise.
14768 * sysdeps/i386/fpu/e_asin.S: Likewise.
14769 * sysdeps/i386/fpu/e_asinf.S: Likewise.
14770 * sysdeps/i386/fpu/e_atan2.S: Likewise.
14771 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
14772 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
14773 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14774 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14775 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14776 * sysdeps/i386/fpu/e_exp10.S: Likewise.
14777 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
14778 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
14779 * sysdeps/i386/fpu/e_exp2.S: Likewise.
14780 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
14781 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
14782 * sysdeps/i386/fpu/e_fmod.S: Likewise.
14783 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
14784 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
14785 * sysdeps/i386/fpu/e_hypot.S: Likewise.
14786 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
14787 * sysdeps/i386/fpu/e_log.S: Likewise.
14788 * sysdeps/i386/fpu/e_log10.S: Likewise.
14789 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14790 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14791 * sysdeps/i386/fpu/e_log2.S: Likewise.
14792 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14793 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14794 * sysdeps/i386/fpu/e_logf.S: Likewise.
14795 * sysdeps/i386/fpu/e_logl.S: Likewise.
14796 * sysdeps/i386/fpu/e_pow.S: Likewise.
14797 * sysdeps/i386/fpu/e_powf.S: Likewise.
14798 * sysdeps/i386/fpu/e_powl.S: Likewise.
14799 * sysdeps/i386/fpu/e_remainder.S: Likewise.
14800 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
14801 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
14802 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14803 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14804 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14805 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
14806 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
14807 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
14808 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14809 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14810 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14811 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14812 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14813 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14814 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14815 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14816 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14817 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14818 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14819 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14820 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14821 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14822 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14823 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14824 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14825 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14826 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14827 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14828 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14829 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14830 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14831 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14832 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14833 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14834 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14835 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14836 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14837 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14838 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14839 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14840 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14841 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14842 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14843 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14844 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14845 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14846 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14847 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14848 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14849 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14850 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14851 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14852 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14853 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14854 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14855 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14856 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14857 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14858 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14859 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14860 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14861 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14862 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14863 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14864 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14865 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14866 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14867 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14868 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14869 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14870 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14871 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14872 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14873 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14874 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14875 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14876 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14877 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14878 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14879 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14880 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14881 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14882 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14883 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14884 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14885 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14886 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14887 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14888 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14889 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14890 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14891 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14892 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14893 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14894 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14895 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14896 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14897 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14898 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14899 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14900 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14901 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14902 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14903 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14904 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14905 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
14906 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
14907 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
14908 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
14909 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
14910 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
14911 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
14912 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14913 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14914 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14915 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14916 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
14917 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14918 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
14919 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
14920 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
14921 (__isnanf): Likewise.
14922 (__isinf_ns): Likewise.
14923 (__isinf_nsf): Likewise.
14924 (__finite): Likewise.
14925 (__finitef): Likewise.
14926 (__ieee754_sqrt): Define as macro.
14927 (__ieee754_sqrtf): Define as macro.
14928 (__ieee754_sqrtl): Define as macro.
14929 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
14930 inlined copy.
14931 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
14932 __FINITE_MATH_ONLY__ consistent.
14933 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
14934
12cc2fcd
AS
149352011-10-10 Andreas Schwab <schwab@linux-m68k.org>
14936
a843a204
AS
14937 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
14938 of rawmemchr.
14939
12cc2fcd
AS
14940 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
14941
c853acd5
UD
149422011-10-09 Ulrich Drepper <drepper@gmail.com>
14943
14944 * po/ja.po: Update from translation team.
14945
c658d255
RM
149462011-10-08 Roland McGrath <roland@hack.frob.com>
14947
110946e4
RM
14948 * locale/programs/locarchive.c (prepare_address_space): New function.
14949 (create_archive, enlarge_archive, open_archive): Use it.
14950
50604220
RM
14951 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
14952 inside [SHARED], where it is used.
14953
c658d255
RM
14954 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
14955
14956 * nss/getent.c (netgroup_keys): Remove unused variable.
14957 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14958
6a621eb7
UD
149592011-10-08 Ulrich Drepper <drepper@gmail.com>
14960
7edb55ce
UD
14961 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
14962 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
14963 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
14964 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
14965 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
14966 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
14967 * math/Makefile (libm-calls): Add s_isinf_ns.
14968 * math/divtc3.c: Use __isinf_nsl instead of isinf.
14969 * math/multc3.c: Likewise.
14970 * math/s_casin.c: Likewise.
14971 * math/s_casinf.c: Likewise.
14972 * math/s_casinl.c: Likewise.
14973 * math/s_ccos.c: Likewise.
14974 * math/s_ccosf.c: Likewise.
14975 * math/s_ccosl.c: Likewise.
14976 * math/s_ctan.c: Likewise.
14977 * math/s_ctanf.c: Likewise.
14978 * math/s_ctanh.c: Likewise.
14979 * math/s_ctanhf.c: Likewise.
14980 * math/s_ctanhl.c: Likewise.
14981 * math/s_ctanl.c: Likewise.
14982 * math/w_fmod.c: Likewise.
14983 * math/w_fmodf.c: Likewise.
14984 * math/w_fmodl.c: Likewise.
14985 * math/w_remainder.c: Likewise.
14986 * math/w_remainderf.c: Likewise.
14987 * math/w_remainderl.c: Likewise.
14988 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
14989 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
14990 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
14991 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
14992 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
14993 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
14994 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
14995 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
14996
187da0ae
UD
14997 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
14998 of the number.
14999 * stdio-common/printf_fphex.c: Likewise.
15000 * stdio-common/printf_size.c: Likewise.
15001
9277c064
UD
15002 * math/e_exp10.c: Include math_private.h using <...> not "...".
15003 * math/e_exp10f.c: Likewise.
15004 * math/e_exp10l.c: Likewise.
15005 * math/e_exp2l.c: Likewise.
15006 * math/e_j0l.c: Likewise.
15007 * math/e_j1l.c: Likewise.
15008 * math/e_jnl.c: Likewise.
15009 * math/e_lgammal_r.c: Likewise.
15010 * math/e_rem_pio2l.c: Likewise.
15011 * math/e_scalb.c: Likewise.
15012 * math/e_scalbf.c: Likewise.
15013 * math/e_scalbl.c: Likewise.
15014 * math/k_cosl.c: Likewise.
15015 * math/k_sinl.c: Likewise.
15016 * math/k_tanl.c: Likewise.
15017 * math/s_cacoshf.c: Likewise.
15018 * math/s_catan.c: Likewise.
15019 * math/s_catanf.c: Likewise.
15020 * math/s_catanh.c: Likewise.
15021 * math/s_catanhf.c: Likewise.
15022 * math/s_catanhl.c: Likewise.
15023 * math/s_catanl.c: Likewise.
15024 * math/s_ccosh.c: Likewise.
15025 * math/s_ccoshf.c: Likewise.
15026 * math/s_ccoshl.c: Likewise.
15027 * math/s_cexp.c: Likewise.
15028 * math/s_cexpf.c: Likewise.
15029 * math/s_cexpl.c: Likewise.
15030 * math/s_clog.c: Likewise.
15031 * math/s_clog10.c: Likewise.
15032 * math/s_clog10f.c: Likewise.
15033 * math/s_clog10l.c: Likewise.
15034 * math/s_clogf.c: Likewise.
15035 * math/s_clogl.c: Likewise.
15036 * math/s_csin.c: Likewise.
15037 * math/s_csinf.c: Likewise.
15038 * math/s_csinh.c: Likewise.
15039 * math/s_csinhf.c: Likewise.
15040 * math/s_csinhl.c: Likewise.
15041 * math/s_csinl.c: Likewise.
15042 * math/s_csqrt.c: Likewise.
15043 * math/s_csqrtf.c: Likewise.
15044 * math/s_csqrtl.c: Likewise.
15045 * math/s_ctan.c: Likewise.
15046 * math/s_ctanf.c: Likewise.
15047 * math/s_ctanh.c: Likewise.
15048 * math/s_ctanhf.c: Likewise.
15049 * math/s_ctanhl.c: Likewise.
15050 * math/s_ctanl.c: Likewise.
15051 * math/s_ldexp.c: Likewise.
15052 * math/s_ldexpf.c: Likewise.
15053 * math/s_ldexpl.c: Likewise.
15054 * math/s_significand.c: Likewise.
15055 * math/s_significandf.c: Likewise.
15056 * math/s_significandl.c: Likewise.
15057 * math/w_acos.c: Likewise.
15058 * math/w_acosf.c: Likewise.
15059 * math/w_acosh.c: Likewise.
15060 * math/w_acoshf.c: Likewise.
15061 * math/w_acoshl.c: Likewise.
15062 * math/w_acosl.c: Likewise.
15063 * math/w_asin.c: Likewise.
15064 * math/w_asinf.c: Likewise.
15065 * math/w_asinl.c: Likewise.
15066 * math/w_atan2.c: Likewise.
15067 * math/w_atan2f.c: Likewise.
15068 * math/w_atan2l.c: Likewise.
15069 * math/w_atanh.c: Likewise.
15070 * math/w_atanhf.c: Likewise.
15071 * math/w_atanhl.c: Likewise.
15072 * math/w_cosh.c: Likewise.
15073 * math/w_coshf.c: Likewise.
15074 * math/w_coshl.c: Likewise.
15075 * math/w_dremf.c: Likewise.
15076 * math/w_exp10.c: Likewise.
15077 * math/w_exp10f.c: Likewise.
15078 * math/w_exp10l.c: Likewise.
15079 * math/w_exp2.c: Likewise.
15080 * math/w_exp2f.c: Likewise.
15081 * math/w_fmod.c: Likewise.
15082 * math/w_fmodf.c: Likewise.
15083 * math/w_fmodl.c: Likewise.
15084 * math/w_hypot.c: Likewise.
15085 * math/w_hypotf.c: Likewise.
15086 * math/w_hypotl.c: Likewise.
15087 * math/w_j0.c: Likewise.
15088 * math/w_j0f.c: Likewise.
15089 * math/w_j0l.c: Likewise.
15090 * math/w_j1.c: Likewise.
15091 * math/w_j1f.c: Likewise.
15092 * math/w_j1l.c: Likewise.
15093 * math/w_jn.c: Likewise.
15094 * math/w_jnf.c: Likewise.
15095 * math/w_jnl.c: Likewise.
15096 * math/w_lgamma.c: Likewise.
15097 * math/w_lgamma_r.c: Likewise.
15098 * math/w_lgammaf.c: Likewise.
15099 * math/w_lgammaf_r.c: Likewise.
15100 * math/w_lgammal.c: Likewise.
15101 * math/w_lgammal_r.c: Likewise.
15102 * math/w_log.c: Likewise.
15103 * math/w_log10.c: Likewise.
15104 * math/w_log10f.c: Likewise.
15105 * math/w_log10l.c: Likewise.
15106 * math/w_log2.c: Likewise.
15107 * math/w_log2f.c: Likewise.
15108 * math/w_log2l.c: Likewise.
15109 * math/w_logf.c: Likewise.
15110 * math/w_logl.c: Likewise.
15111 * math/w_pow.c: Likewise.
15112 * math/w_powf.c: Likewise.
15113 * math/w_powl.c: Likewise.
15114 * math/w_remainder.c: Likewise.
15115 * math/w_remainderf.c: Likewise.
15116 * math/w_remainderl.c: Likewise.
15117 * math/w_scalb.c: Likewise.
15118 * math/w_scalbf.c: Likewise.
15119 * math/w_scalbl.c: Likewise.
15120 * math/w_sinh.c: Likewise.
15121 * math/w_sinhf.c: Likewise.
15122 * math/w_sinhl.c: Likewise.
15123 * math/w_sqrt.c: Likewise.
15124 * math/w_sqrtf.c: Likewise.
15125 * math/w_sqrtl.c: Likewise.
15126 * math/w_tgamma.c: Likewise.
15127 * math/w_tgammaf.c: Likewise.
15128 * math/w_tgammal.c: Likewise.
15129
6a621eb7
UD
15130 * po/ja.po: Update from translation team.
15131
bf582445
AJ
151322011-09-29 Andreas Jaeger <aj@suse.de>
15133
f9efbf3a
AJ
15134 [BZ #13179]
15135 * sunrpc/netname.c (netname2host): Fix logic.
15136
bf582445
AJ
15137 [BZ #6779]
15138 [BZ #6783]
15139 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
15140 correctly.
15141 * math/w_remainder.c (__remainder): Likewise.
15142 * math/w_remainderf.c (__remainderf): Likewise.
15143 * math/libm-test.inc (remainder_test): Add test cases.
15144
48693bea
AK
151452011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15146
15147 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
15148 sdiv_qrnnd.
15149
42622229
LD
151502011-10-07 Ulrich Drepper <drepper@gmail.com>
15151
15152 * string/test-memcmp.c: Avoid unncessary #defines.
15153 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
15154
093ecf92
LD
151552011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15156
15157 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
15158 Use new sse2 version for core i3 - i7 as it's faster
15159 than sse42 version.
15160 (bit_Prefer_PMINUB_for_stringop): New.
15161 * sysdeps/x86_64/rawmemchr.S: Update.
15162 Replace with faster SSE2 version.
15163 * sysdeps/x86_64/memrchr.S: New file.
15164 * sysdeps/x86_64/memchr.S: Update.
15165 Replace with faster SSE2 version.
15166
fde56e5c
MP
151672011-09-12 Marek Polacek <mpolacek@redhat.com>
15168
15169 * elf/dl-load.c (lose): Add cast to avoid warning.
15170
21fd49a9
UD
151712011-10-07 Ulrich Drepper <drepper@gmail.com>
15172
5a06e643
UD
15173 * po/ca.po: Update from translation team.
15174
684ae515
UD
15175 * inet/getnetgrent_r.c: Hook up nscd.
15176 * nscd/Makefile (routines): Add nscd_netgroup.
15177 (nscd-modules): Add netgroupcache.
15178 (CFLAGS-netgroupcache.c): Define.
15179 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
15180 (cache_search): Add const to second parameter.
15181 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
15182 INNETGR.
15183 (dbs): Add netgrdb entry.
15184 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
15185 (verify_persistent_db): Handle netgrdb.
15186 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
15187 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
15188 GETFDNETGR.
15189 (netgroup_response_header): Define.
15190 (innetgroup_response_header): Define.
15191 (datahead): Add netgroup_response_header and innetgroup_response_header
15192 elements.
15193 * nscd/nscd.conf: Add entries for netgroup cache.
15194 * nscd/nscd.h (dbtype): Add netgrdb.
15195 (_PATH_NSCD_NETGROUP_DB): Define.
15196 (netgroup_iov_disabled): Declare.
15197 (xmalloc, xcalloc, xrealloc): Move declarations here.
15198 (cache_search): Adjust prototype.
15199 Add netgroup-related prototypes.
15200 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
15201 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
15202 (__nscd_innetgr): Declare.
15203 * nscd/selinux.c (perms): Use access_vector_t as element type and
15204 add netgroup-related initializers.
15205 * nscd/netgroupcache.c: New file.
15206 * nscd/nscd_netgroup.c: New file.
15207 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
15208 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
15209 For four parameters use innetgr.
15210 * nss/nss_files/files-init.c: Add definition and callback for netgr.
15211 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
15212 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
15213 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
15214
21fd49a9
UD
15215 * nscd/connections.c (register_traced_file): Don't register file
15216 for disabled databases.
15217
054c0457
UD
152182011-10-06 Ulrich Drepper <drepper@gmail.com>
15219
32b63198
UD
15220 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
15221
054c0457
UD
15222 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
15223 from tree and freeing node.
15224
64031225
JO
152252011-09-25 Jiri Olsa <jolsa@redhat.com>
15226
15227 * nss/nsswitch.c (__nss_database_lookup): Handle
15228 nss_parse_service_list out of memory case.
15229
0490345c
JO
152302011-09-15 Jiri Olsa <jolsa@redhat.com>
15231
15232 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
15233 out of memory case.
15234
3a62d00d
AS
152352011-10-04 Andreas Schwab <schwab@redhat.com>
15236
15237 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
15238 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
15239 pass it down.
15240 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
15241 elf_machine_rela, elf_machine_lazy_rel.
15242 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
15243 (ELF_DYNAMIC_DO_REL): Likewise.
15244 (ELF_DYNAMIC_DO_RELA): Likewise.
15245 (ELF_DYNAMIC_RELOCATE): Likewise.
15246 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
15247 to ELF_DYNAMIC_DO_REL.
15248 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
15249 (dl_main): In trace mode always set __RTLD_NOIFUNC.
15250 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
15251 elf_machine_rela.
15252 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
15253 skip_ifunc, don't call ifunc function if non-zero.
15254 (elf_machine_rela): Likewise.
15255 (elf_machine_lazy_rel): Likewise.
15256 (elf_machine_lazy_rela): Likewise.
15257 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15258 (elf_machine_lazy_rel): Likewise.
15259 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15260 Likewise.
15261 (elf_machine_lazy_rel): Likewise.
15262 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15263 Likewise.
15264 (elf_machine_lazy_rel): Likewise.
15265 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
15266 (elf_machine_lazy_rel): Likewise.
15267 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
15268 (elf_machine_lazy_rel): Likewise.
15269 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15270 (elf_machine_lazy_rel): Likewise.
15271 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
15272 (elf_machine_lazy_rel): Likewise.
15273 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
15274 (elf_machine_lazy_rel): Likewise.
15275 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15276 (elf_machine_lazy_rel): Likewise.
15277
68577918
UD
152782011-09-28 Ulrich Drepper <drepper@gmail.com>
15279
15280 * nss/nss_files/files-init.c (_nss_files_init): Use static
15281 initialization for all the *_traced_file variables.
15282
68822d74
AS
152832011-09-28 Andreas Schwab <schwab@redhat.com>
15284
15285 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15286
2056100b
RM
152872011-09-27 Roland McGrath <roland@hack.frob.com>
15288
15289 [BZ #13226]
15290 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
15291
32c76b63
AS
152922011-09-27 Andreas Schwab <schwab@redhat.com>
15293
15294 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15295 Reread the line before reparsing it.
15296
bf972c9d
AS
152972011-09-26 Andreas Schwab <schwab@redhat.com>
15298
15299 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
15300
e057a1b5
JM
153012011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
15302 Maxim Kuvyrkov <maxim@codesourcery.com>
15303 Joseph Myers <joseph@codesourcery.com>
15304
15305 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
15306 if needed for __stack_chk_guard.
15307
bc7e1c36
RM
153082011-09-19 Roland McGrath <roland@hack.frob.com>
15309
ecb1482f
RM
15310 * sysdeps/posix/spawni.c (script_execute): Always define it.
15311 It will be optimized away if unused.
15312 (maybe_script_execute): New function.
15313 (__spawni): Call it.
15314
bc7e1c36
RM
15315 * Makerules: Don't include tls.make.
15316 (config-tls): Always set to thread.
15317 * tls.make.c: File removed.
15318
1c3b002b
MF
153192011-09-19 Mike Frysinger <vapier@gentoo.org>
15320
15321 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
15322 * config.make.in (CPPFLAGS-config): New substituted variable.
15323
2840865d
UD
153242011-09-15 Ulrich Drepper <drepper@gmail.com>
15325
88738eb6
UD
15326 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
15327
cbf645a6 15328 [BZ #13192]
2840865d
UD
15329 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
15330 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
15331
b402e91a
RM
153322011-09-15 Roland McGrath <roland@hack.frob.com>
15333
15334 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
15335 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
15336 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15337 (CALL_FAIL): Likewise.
15338 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
15339 (CALL_FAIL): Macro removed.
15340 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
15341
4c1a1f71
UD
153422011-09-15 Ulrich Drepper <drepper@gmail.com>
15343
15344 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
15345 for __FINITE_MATH_ONLY__ == 1.
15346
edc121be
AS
153472011-09-15 Andreas Schwab <schwab@redhat.com>
15348
15349 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
15350 __ieee754_sqrt instead of sqrt.
15351 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
15352 __ieee754_sqrtf instead of sqrtf.
15353 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
15354 __floorf instead of floorf.
15355 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
15356 __floorf, __truncf instead of floorf, truncf.
15357
cd205654
UD
153582011-09-14 Ulrich Drepper <drepper@gmail.com>
15359
ee4d0315
UD
15360 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
15361
cd205654
UD
15362 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
15363 __extern_always_inline.
15364 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
15365 32-bit.
15366
48b67d71
AS
153672011-09-14 Andreas Schwab <schwab@redhat.com>
15368
15369 * elf/rtld.c (dl_main): Also relocate in dependency order when
15370 doing symbol dependency testing.
15371
1ae12c75
AS
153722011-09-13 Andreas Schwab <schwab@linux-m68k.org>
15373
15374 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15375 Always define `refsym'.
15376
995a80df
AS
153772011-09-13 Andreas Schwab <schwab@redhat.com>
15378
e529793b
AS
15379 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
15380 (__FD_ELT): Renamed from __FDELT.
15381 * misc/bits/select2.h (__FD_ELT): Likewise.
15382 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
15383 __FD_MASK instead of __FDELT, __FDMASK.
15384 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15385 Likewise.
15386 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15387 Likewise.
15388
52d4fef8
AS
15389 * elf/Makefile (gen-ldd): Fix pattern.
15390
995a80df
AS
15391 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
15392 (init_tls): Likewise.
15393
8682f8b0
UD
153942011-09-12 Ulrich Drepper <drepper@gmail.com>
15395
15396 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
15397
de82006d
AS
153982011-09-12 Andreas Schwab <schwab@redhat.com>
15399
a7c8e6a1
AS
15400 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
15401 `struct cmsghdr *' instead of `void *'.
15402 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
15403 Likewise.
15404
0f31fe77
AS
154052011-09-11 Andreas Schwab <schwab@linux-m68k.org>
15406
15407 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
15408 if non-absolute.
15409 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
15410 ldd_rewrite_script.
0f31fe77 15411
32b4c839
UD
154122011-09-11 Ulrich Drepper <drepper@gmail.com>
15413
83cd1420
UD
15414 * configure.in: Remove --with-tls option.
15415 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
15416 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
15417 out in case it is missing.
15418 * sysdeps/ia64/elf/configure.in: Likewise.
15419 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
15420 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
15421 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
15422 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
15423 * sysdeps/sh/elf/configure.in: Likewise.
15424 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
15425 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15426 * sysdeps/x86_64/elf/configure.in: Likewise.
15427 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
15428 * sysdeps/mach/hurd/tls.h: Likewise.
15429
633f745d
UD
15430 [BZ #13067]
15431 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
15432
f318beb8
UD
15433 [BZ #13090]
15434 * configure.in: Fix use of AC_INIT.
15435
32b4c839
UD
15436 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
15437
3ce1f295
UD
154382011-09-10 Ulrich Drepper <drepper@gmail.com>
15439
bb016596
UD
15440 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
15441 __set_errno.
8e58439c
UD
15442 * malloc/hooks.c: Likewise.
15443
aebae053 15444 [BZ #11929]
02d46fc4
UD
15445 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
15446 variables statically.
15447 (narenas): Initialize.
15448 (list_lock): Initialize.
bb016596
UD
15449 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
15450 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
15451 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
15452 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
15453 Add initializers to main_arena and mp_.
15454 (malloc_state): Remove pagesize member. Change all users to use
15455 GLRO(dl_pagesize).
15456
15457 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
15458 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
15459 is always initialized.
15460
22a89187
UD
15461 * malloc/malloc.c: Removed unused configurations and dead code.
15462 * malloc/arena.c: Likewise.
15463 * malloc/hooks.c: Likewise.
02d46fc4 15464 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 15465
d063d164
UD
15466 * include/tls.h: Removed. USE___THREAD must always be defined.
15467 * bits/libc-tsd.h: Don't handle !USE___THREAD.
15468 * elf/dl-libc.c: Likewise.
15469 * elf/dl-tsd.c: Likewise.
15470 * include/errno.h: Likewise.
15471 * include/netdb.h: Likewise.
15472 * include/resolv.h: Likewise.
15473 * inet/herrno-loc.c: Likewise.
15474 * inet/herrno.c: Likewise.
15475 * malloc/arena.c: Likewise.
15476 * malloc/hooks.c: Likewise.
15477 * malloc/malloc.c: Likewise.
15478 * resolv/res-state.c: Likewise.
15479 * resolv/res_libc.c: Likewise.
15480 * sysdeps/i386/dl-machine.h: Likewise.
15481 * sysdeps/ia64/dl-machine.h: Likewise.
15482 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15483 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15484 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15485 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15486 * sysdeps/sh/dl-machine.h: Likewise.
15487 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15488 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15489 * sysdeps/unix/i386/sysdep.S: Likewise.
15490 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15491 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
15492 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
15493 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15494 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
15495 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15496 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15497 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15498 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15499 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15500 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15501 * sysdeps/x86_64/dl-machine.h: Likewise.
15502 * tls.make.c: Likewise.
15503
3ce1f295
UD
15504 * configure.in: Remove --with-__thread option. Make tests for
15505 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
15506 tls_model attribute fail if no support is available. Remove
15507 USE_IN_LIBIO.
15508 * Makeconfig: Adjust for dropped configure option. All features are
15509 now mandatory.
15510 * Makerules: Likewise.
15511 * Versions.def: Likewise.
15512 * argp/argp-fmtstream.c: Likewise.
15513 * argp/argp-fmtstream.h: Likewise.
15514 * argp/argp-help.c: Likewise.
15515 * assert/assert.c: Likewise.
15516 * config.h.in: Likewise.
15517 * config.make.in: Likewise.
15518 * configure: Likewise.
15519 * configure.in: Likewise.
15520 * csu/Versions: Likewise.
15521 * csu/init.c: Likewise.
15522 * elf/tst-audit2.c: Likewise.
15523 * elf/tst-tls10.c: Likewise.
15524 * elf/tst-tls10.h: Likewise.
15525 * elf/tst-tls11.c: Likewise.
15526 * elf/tst-tls12.c: Likewise.
15527 * elf/tst-tls14.c: Likewise.
15528 * elf/tst-tlsmod11.c: Likewise.
15529 * elf/tst-tlsmod12.c: Likewise.
15530 * elf/tst-tlsmod13.c: Likewise.
15531 * elf/tst-tlsmod13a.c: Likewise.
15532 * elf/tst-tlsmod14a.c: Likewise.
15533 * elf/tst-tlsmod15b.c: Likewise.
15534 * elf/tst-tlsmod16a.c: Likewise.
15535 * elf/tst-tlsmod16b.c: Likewise.
15536 * elf/tst-tlsmod7.c: Likewise.
15537 * elf/tst-tlsmod8.c: Likewise.
15538 * elf/tst-tlsmod9.c: Likewise.
15539 * gmon/gmon.c: Likewise.
15540 * grp/fgetgrent_r.c: Likewise.
15541 * grp/putgrent.c: Likewise.
15542 * hurd/fopenport.c: Likewise.
15543 * include/libc-symbols.h: Likewise.
15544 * include/tls.h: Likewise.
15545 * intl/gettextP.h: Likewise.
15546 * intl/loadinfo.h: Likewise.
15547 * locale/global-locale.c: Likewise.
15548 * locale/localeinfo.h: Likewise.
15549 * mach/devstream.c: Likewise.
15550 * malloc/arena.c: Likewise.
15551 * malloc/set-freeres.c: Likewise.
15552 * misc/err.c: Likewise.
15553 * misc/getttyent.c: Likewise.
15554 * misc/mntent_r.c: Likewise.
15555 * posix/getopt.c: Likewise.
15556 * posix/wordexp.c: Likewise.
15557 * pwd/fgetpwent_r.c: Likewise.
15558 * resolv/Versions: Likewise.
15559 * resolv/res_hconf.c: Likewise.
15560 * shadow/fgetspent_r.c: Likewise.
15561 * shadow/putspent.c: Likewise.
15562 * stdio-common/printf_fphex.c: Likewise.
15563 * stdio-common/tmpfile.c: Likewise.
15564 * stdlib/abort.c: Likewise.
15565 * stdlib/fmtmsg.c: Likewise.
15566 * sunrpc/auth_unix.c: Likewise.
15567 * sunrpc/clnt_perr.c: Likewise.
15568 * sunrpc/clnt_tcp.c: Likewise.
15569 * sunrpc/clnt_udp.c: Likewise.
15570 * sunrpc/clnt_unix.c: Likewise.
15571 * sunrpc/openchild.c: Likewise.
15572 * sunrpc/svc_simple.c: Likewise.
15573 * sunrpc/svc_tcp.c: Likewise.
15574 * sunrpc/svc_udp.c: Likewise.
15575 * sunrpc/svc_unix.c: Likewise.
15576 * sunrpc/xdr.c: Likewise.
15577 * sunrpc/xdr_array.c: Likewise.
15578 * sunrpc/xdr_rec.c: Likewise.
15579 * sunrpc/xdr_ref.c: Likewise.
15580 * sunrpc/xdr_stdio.c: Likewise.
15581
1248c1c4
PB
155822011-09-09 Ulrich Drepper <drepper@gmail.com>
15583
15584 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15585
155862011-07-03 Andreas Jaeger <aj@suse.de>
15587
15588 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
15589 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
15590 regenerate with gen-libm-tests.pl.
15591
155922010-05-12 Petr Baudis <pasky@suse.cz>
15593
15594 [BZ #11589]
15595 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
15596 around j0() zero points by switching to j1().
15597 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15598 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15599 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15600 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15601
f22e1074
UD
156022011-09-09 Ulrich Drepper <drepper@gmail.com>
15603
f19009c1
UD
15604 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
15605 instead of 0.
15606 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
15607 instead of 0. .
15608 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15609 Patch in part by Pavel Roskin <proski@gnu.org>.
15610
3f8cc204
UD
15611 [BZ #13138]
15612 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
15613 realloc.
15614 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
15615 Free memory block if necessary.
15616
f22e1074
UD
15617 [BZ #12847]
15618 * libio/genops.c (INTDEF): For string streams the _lock pointer can
15619 be NULL. Don't lock in this case.
15620
0a2349f9
RM
156212011-09-09 Roland McGrath <roland@hack.frob.com>
15622
15623 * elf/elf.h (ELFOSABI_GNU): New macro.
15624 (ELFOSABI_LINUX): Define to that.
15625
f3cdd467
DZ
156262011-07-29 Denis Zaitceff <zaitceff@gmail.com>
15627
15628 * string/strncat.c (strncat): Undef the symbol in case it has been
15629 defined in bits/string.h.
15630
74718d13
UD
156312011-09-09 Ulrich Drepper <drepper@gmail.com>
15632
633e9e0f
UD
15633 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
15634
0a2349f9 15635 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
15636 link map.
15637
f9924780
AJ
156382011-08-17 Andreas Jaeger <aj@suse.de>
15639
15640 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
15641
7f5517aa
PP
156422011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15643 Ian Lance Taylor <iant@google.com>
15644
15645 * math/libm-test.inc (lround_test): New testcase.
15646 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
15647
762011fe
UD
156482011-09-08 Ulrich Drepper <drepper@gmail.com>
15649
92963737
UD
15650 * Makefile: Remove support for automatic cvs check-ins.
15651 * Makerules: Likewise.
15652 * config.make.in: Likewise.
15653 * configure.in: Likewise.
15654 * intl/Makefile: Likewise.
15655 * locale/Makefile: Likewise.
15656 * po/Makefile: Likewise.
15657 * posix/Makefile: Likewise.
15658 * sysdeps/gnu/Makefile: Likewise.
15659 * sysdeps/mach/hurd/Makefile: Likewise.
15660 * sysdeps/sparc/sparc32/Makefile: Likewise.
15661
b0727fd8
JS
15662 [BZ #13118]
15663 * posix/Makefile (bug-regex32-ENV): Define.
15664 Patch by John Stanley <jpsinthemix@verizon.net>.
15665
a0f33f99
UD
15666 * misc/Makefile (headers): Add bits/select2.h.
15667 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
15668 * misc/bits/select2.h: New file.
15669 * include/bits/select2.h: New file.
15670 * debug/Makefile (routines): Add fdelt_chk.
15671 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
15672 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
15673 FD_ISSET.
15674 * debug/fdelt_chk.c: New file.
15675
762011fe
UD
15676 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
15677 * wcsmbs/test-wmemcmp.c: Likewise.
15678 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 15679 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
15680
156812011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15682
15683 * string/Makefile (strop-tests): Add memcmp.
15684 * string/test-wmemcmp.c: New file.
15685 * string/test-memcmp.c: Add wmemcmp support.
15686
7f513ec8
RM
156872011-09-08 Roland McGrath <roland@hack.frob.com>
15688
0442afb4
RM
15689 [BZ #13153]
15690 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
15691 2011-07-19 change.
15692
7f513ec8
RM
15693 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
15694 garbage value in a __mach_port_mod_refs call in the cases of the
15695 task-self and thread-self ports.
15696
a12b2239
ST
156972011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15698
15699 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
15700
610f9ab4
AS
157012011-09-08 Andreas Schwab <schwab@redhat.com>
15702
7f513ec8 15703 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 15704
48882a1a
LD
157052011-09-07 Ulrich Drepper <drepper@gmail.com>
15706
b49865be
UD
15707 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
15708
fdc86bc9
UD
15709 * elf/dl-libc.c (dlerror_run): Pass back error code from
15710 dl_catch_error.
15711
c966526a
UD
15712 [BZ #13123]
15713 * elf/dl-load.c (lose): Free l_origin if it is valid.
15714
48882a1a
LD
15715 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
15716 names.
15717 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
15718 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15719 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15720 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15721 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
15722 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
15723
77a2a8b4
AZ
157242011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15725
15726 * sysdeps/powerpc/fpu/e_hypot.c: New file.
15727 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
15728 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
15729 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
15730 * sysdeps/powerpc/fpu/k_cosf.c: New file.
15731 * sysdeps/powerpc/fpu/k_sinf.c: New file.
15732 * sysdeps/powerpc/fpu/s_cosf.c: New file.
15733 * sysdeps/powerpc/fpu/s_sinf.c: New file.
15734 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
15735 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
15736
24f579d8
AM
157372011-08-15 Alan Modra <amodra@gmail.com>
15738
15739 [BZ #13092]
15740 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
15741 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
15742 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
15743 ppc_mcount to static-only-routines.
15744 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
15745 __mcount_internal.
15746 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
15747 __mcount_internal with usual JUMPTARGET. Remove useless nop.
15748
3d4837df
UD
157492011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
15750
15751 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
15752 for finite and infinity parameters.
15753
22700377
WS
157542011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15755
15756 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
15757 and add nop instructions for throughput optimization.
15758 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15759
5025581e
WS
157602011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
15761
15762 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
15763 aligned copy for power7 with vector-scalar instructions.
15764 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15765
08a300c9
L
157662011-07-24 H.J. Lu <hongjiu.lu@intel.com>
15767
15768 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
15769 AVX check.
15770
59178ef9
AS
157712011-09-07 Andreas Schwab <schwab@redhat.com>
15772
15773 [BZ #13144]
15774 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
15775 last change.
15776
e38ba7ab
UD
157772011-09-07 Ulrich Drepper <drepper@gmail.com>
15778
15779 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15780 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
15781 syscall wrapper around clock_gettime in __vdso_clock_gettime.
15782 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
15783 clock_gettime.
15784
d53a73ac
UD
157852011-09-06 Ulrich Drepper <drepper@gmail.com>
15786
fc8bffcc
UD
15787 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
15788 Forgot to demangle the pointer.
15789
ceaa0c5d
UD
15790 * sysdeps/i386/sysdep.h: Define atom_text_section.
15791 * sysdeps/x86_64/sysdep.h: Likewise.
15792 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
15793 section with atom_text_section.
15794 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15795 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15796 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
15797 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15798 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
15799
a77d3c17
UD
15800 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
15801 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
15802 already be defined. Change to take two parameters and don't assign
15803 result to variable. Adjust all users.
15804 Define INTERNAL_GETTIME if not already defined.
15805 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
15806 call.
15807 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
15808 HAVE_CLOCK_GETTIME_VSYSCALL.
15809 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
15810
d53a73ac
UD
15811 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
15812 gettimeofday vsyscall, just use time.
15813
a8f84144
AS
158142011-09-06 Andreas Schwab <schwab@redhat.com>
15815
15816 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
15817 <errno.h>.
15818
ef606249
UD
158192011-09-06 Ulrich Drepper <drepper@gmail.com>
15820
15821 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
15822 syscall on x86-64.
15823 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
15824 syscall.
15825 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
15826 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
15827 syscall if possible.
15828
6585cb60
UD
158292011-09-05 Ulrich Drepper <drepper@gmail.com>
15830
15831 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
15832 e_ident. Don't pass to find_mapsXX.
15833 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
15834
a5f524e4
LD
158352011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15836
15837 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15838 strchr-sse2-no-bsf strrchr-sse2-no-bsf
15839 * sysdeps/x86_64/multiarch/strchr.S: Update.
15840 Check bit_slow_BSF bit.
15841 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15842 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
15843 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
15844
554881ef
UD
158452011-09-05 Ulrich Drepper <drepper@gmail.com>
15846
d96de963
UD
15847 [BZ #13134]
15848 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
15849 before glibc 2.15.
15850 (tryshell): Define.
15851 (__spawni): Change last parameter to be flag. Test
15852 SPAWN_XFLAGS_USE_PATH flag to use path or not.
15853 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
15854 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
15855 * posix/spawni.c: Likewise.
15856 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
15857 * posix/spawnp.c: Likewise. Change normal version to use
15858 SPAWN_XFLAGS_USE_PATH.
15859 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
15860 SPAWN_XFLAGS_TRY_SHELL.
15861
d48e5868
UD
15862 [BZ #13150]
15863 * posix/glob.h: Remove gcc 1.x support.
15864
554881ef
UD
15865 [BZ #13068]
15866 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
15867
693fb948
LD
158682011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15869
15870 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15871 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
15872 strrchr-sse2-bsf
15873 * sysdeps/i386/i686/multiarch/strchr.S: New file.
15874 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
15875 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
15876 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
15877 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
15878 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
15879
1b48c537
UD
158802011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15881
49d42c37
UD
15882 * sysdeps/x86_64/wcscmp.S: New file.
15883
1b48c537
UD
15884 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
15885 wcscmp-c wcscmp-sse2
15886 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
15887 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
15888 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
15889 * wcsmbs/wcscmp.c: Allow renaming.
15890
15c95c5d
DM
158912011-09-05 David S. Miller <davem@davemloft.net>
15892
15893 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
15894 stack slot, rather than the struct return pointer slot.
15895 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
15896 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
15897 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
15898 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
15899
2f0ad8f3
UD
159002011-09-05 Ulrich Drepper <drepper@gmail.com>
15901
d88ae418
UD
15902 * po/ja.po: Update from translation team.
15903
2f0ad8f3
UD
15904 [BZ #13144]
15905 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
15906 kernel in 64-bit binaries.
15907
5f4318d1
DM
159082011-09-01 David S. Miller <davem@davemloft.net>
15909
15910 * elf/elf.h (HWCAP_SPARC_*): Move to..
15911 * sysdeps/sparc/sysdep.h: this new file and add new values.
15912 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
15913 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
15914 _DL_HWCAP_COUNT to 24.
15915 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15916 entries.
15917 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
15918 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
15919 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
15920 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
15921 instead of magic constants.
15922 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15923
3ba57516
DM
159242011-08-31 David S. Miller <davem@davemloft.net>
15925
15926 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
15927 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
15928 Reimplement to do errno handling inline.
15929 (SYSCALL_ERROR_HANDLER): New macro.
15930 (__SYSCALL_STRING): Do not do errno handling in asm.
15931 (__CLONE_SYSCALL_STRING): Delete.
15932 (__INTERNAL_SYSCALL_STRING): Delete.
15933 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
15934 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
15935 (PSEUDO): Reimplement to do errno handling inline.
15936 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
15937 (SYSCALL_ERROR_HANDLER): New macro.
15938 (__SYSCALL_STRING): Do not do errno handling in asm.
15939 (__CLONE_SYSCALL_STRING): Delete.
15940 (__INTERNAL_SYSCALL_STRING): Delete.
15941 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
15942 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
15943 i386.
15944 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
15945 (inline_syscall*): Add 'err' argument.
15946 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
15947 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
15948 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
15949 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
15950
15951 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
15952 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15953
2bc17433
AS
159542011-08-30 Andreas Schwab <schwab@redhat.com>
15955
15956 * elf/rtld.c (dl_main): Relocate objects in dependency order.
15957
fbeb5f4d
JO
159582011-08-29 Jiri Olsa <jolsa@redhat.com>
15959
15960 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
15961 directive.
15962
ad69cc26
DM
159632011-08-24 David S. Miller <davem@davemloft.net>
15964
15965 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
15966
39dd69df
AS
159672011-08-24 Andreas Schwab <schwab@redhat.com>
15968
15969 * elf/Makefile: Add rules to build and run unload8 test.
15970 * elf/unload8.c: New file.
15971 * elf/unload8mod1.c: New file.
15972 * elf/unload8mod1x.c: New file.
15973 * elf/unload8mod2.c: New file.
15974 * elf/unload8mod3.c: New file.
15975
15976 * elf/dl-close.c (_dl_close_worker): Reset private search list if
15977 it wasn't used.
15978
2c0b250a
DM
159792011-08-23 David S. Miller <davem@davemloft.net>
15980
15981 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
15982 subtract stack bias.
15983 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
15984 %sp not %fp in calculations.
15985 (_JMPBUF_UNWINDS_ADJ): Likewise.
15986
22044b48
DM
15987 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
15988 (aio_suspend): Call it to force an exception region around the
15989 AIO_MISC_WAIT() invocation.
15990
2cae4995
AS
159912011-08-23 Andreas Schwab <schwab@redhat.com>
15992
15993 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
15994 backslash.
15995
873a772e
AJ
159962011-07-04 Aurelien Jarno <aurelien@aurel32.net>
15997
15998 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
15999 protection macro.
16000 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
16001 and <dl-machine.h>.
16002 (Elf64_FuncDesc): Remove.
16003
25ad0df1
DM
160042011-08-22 David S. Miller <davem@davemloft.net>
16005
16006 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
16007 sigaltstack check, add missing cfi directives.
16008 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
16009 missing cfi directives, and sigaltstack handling.
16010
e888bcbe
AS
160112011-08-16 Andreas Schwab <schwab@redhat.com>
16012
16013 [BZ #11724]
16014 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
16015 object is seen twice.
16016 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16017
16018 * elf/Makefile (distribute): Add tst-initorder2.c.
16019 (tests): Add tst-initorder2.
16020 (modules-names): Add tst-initorder2a tst-initorder2b
16021 tst-initorder2c tst-initorder2d. Add rules to build them.
16022 ($(objpfx)tst-initorder2.out): New rule.
16023 * elf/tst-initorder2.c: New file.
16024 * elf/tst-initorder2.exp: New file.
16025
87162f46
AS
160262011-08-22 Andreas Schwab <schwab@redhat.com>
16027
70538b7f
AS
16028 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
16029
f55ffe58
AS
16030 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
16031 dependencies back to end of function.
16032
87162f46
AS
16033 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16034 $(elfobjdir)/ld.so.
16035
91b392a4
UD
160362011-08-21 Ulrich Drepper <drepper@gmail.com>
16037
16038 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
16039 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
16040 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
16041 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
16042 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
16043 of __vdso_gettimeofday.
16044 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
16045 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
16046 attribute_hidden.
16047 (_libc_vdso_platform_setup): Remove initialization of
16048 __vdso_gettimeofday and __vdso_time.
16049
5c43483f
UD
160502011-08-20 Ulrich Drepper <drepper@gmail.com>
16051
775a77e7
UD
16052 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
16053 and fgetc_unlocked.
16054 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
16055 getc_unlocked.
89f447ed 16056
49c74ba9
UD
16057 * elf/dl-open.c (add_to_global): Report additions to the global scope
16058 for LD_DEBUG=scopes.
16059 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 16060 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 16061
5c43483f
UD
16062 [BZ #13114]
16063 * stdio-common/Makefile (tests): Add bug24.
16064 * stdio-common/bug24.c: New file.
16065
a101b025
AJ
160662011-08-19 Andreas Jaeger <aj@suse.de>
16067
16068 [BZ #13114]
16069 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
16070 non-existant file when using close-on-exec mode.
16071
c88f1766
UD
160722011-08-20 Ulrich Drepper <drepper@gmail.com>
16073
0276a718
UD
16074 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
16075 the very first instruction.
16076
c88f1766
UD
16077 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
16078 the CFI state in the end.
16079 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
16080 inclusion of dl-trampoline.h.
16081 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
16082
51ccffa0
AS
160832011-08-19 Andreas Schwab <schwab@redhat.com>
16084
94d7165f
AS
16085 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
16086 expectations for long double.
16087
51ccffa0
AS
16088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
16089 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
16090
fd708658 160912011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
16092
16093 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
16094 artificual limit depends upon the system page size.
16095
44f0a71e
UD
160962011-08-17 Ulrich Drepper <drepper@gmail.com>
16097
16098 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
16099 * resolv/Makefile: Define CFLAGS-libresolv.
16100
8de79a24
AS
161012011-08-17 Andreas Schwab <schwab@redhat.com>
16102
16103 * nss/makedb.c (compute_tables): Make variables used in nested
16104 function static.
16105
27724598
UD
161062011-08-17 Ulrich Drepper <drepper@gmail.com>
16107
c5305d88
UD
16108 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
16109 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
16110 if buffer was too small.
16111
27724598
UD
16112 * elf/pldd.c (main): Attach to all threads in the process.
16113 Rewrite /proc handling to use *at functions.
16114
076fe015
UD
161152011-08-16 Ulrich Drepper <drepper@gmail.com>
16116
174baab3
UD
16117 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
16118 specifies first scope to show.
16119 (dl_open_worker): Update callers. Move printing scope of new
16120 object to before the relocation.
44f0a71e 16121 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
16122 * sysdeps/generic/ldsodefs.h: Update declaration.
16123
076fe015
UD
16124 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
16125 string for the scope number.
16126
a60df2c3
UD
161272011-08-14 Ulrich Drepper <drepper@gmail.com>
16128
16129 * nscd/servicescache.c (cache_addserv): Make sure written is always
16130 initialized.
16131
5e4287d1
RM
161322011-08-14 Roland McGrath <roland@hack.frob.com>
16133
85ae0589
RM
16134 * sysdeps/i386/i486/bits/atomic.h
16135 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
16136 statement expression, so as to suppress "set but not used" warning.
16137 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
16138
69f63097
RM
16139 * string/strncat.c (STRNCAT): Use prototype definition.
16140
675456ef
RM
16141 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
16142 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
16143 -Iprograms here.
16144 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
16145 (localedef-modules): Add localedef.
16146 (locale-modules): Add locale.
16147
5e4287d1
RM
16148 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
16149 * elf/rtld.c (dl_main): Invert order of assignment in last change,
16150 to avoid a warning.
16151
9c96ff23
DM
161522011-08-14 David S. Miller <davem@davemloft.net>
16153
16154 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
16155 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
16156
f9ddf089
UD
161572011-08-13 Ulrich Drepper <drepper@gmail.com>
16158
44f0a71e 16159 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
16160 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
16161 * elf/rtld.c (dl_main): Set l_name of vDSO.
16162 Call _dl_show_scope when DL_DEBUG_SCOPES.
16163 (process_dl_debug): Recognize scopes flag and also set it for all.
16164 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
16165 Declare _dl_show_scope.
16166
1dc27704
UD
16167 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
16168 (do_dlopen): Pass caller_dlopen to dl_open.
16169 (__libc_dlopen_mode): Initialize caller_dlopen.
16170
f9ddf089
UD
16171 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
16172 of libc. Make tolower call locale-independent. Optimize a bit by
16173 using isdigit instead of isalnum.
16174 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
16175
9ac533d3
UD
161762011-08-12 Ulrich Drepper <drepper@gmail.com>
16177
16178 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
16179 was a dependency or dynamically loaded.
16180
89edf2e9
UD
161812011-08-11 Ulrich Drepper <drepper@gmail.com>
16182
8e999d29
UD
16183 * intl/l10nflist.c: Allow architecture-specific pop function.
16184 * sysdeps/x86_64/l10nflist.c: New file.
16185
89edf2e9
UD
16186 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
16187 classification.
16188
14d96785
AS
161892011-08-10 Andreas Schwab <schwab@redhat.com>
16190
16191 * include/dirent.h: Add libc_hidden_proto for scandirat and
16192 scandirat64. Don't declare __scandirat64.
16193 * dirent/scandirat.c: Add libc_hidden_def.
16194 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
16195 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
16196
6761ac04
DM
161972011-08-10 David S. Miller <davem@davemloft.net>
16198
16199 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
16200 enum.
16201 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16202 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16203 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16204
c55fbd1e
UD
162052011-08-09 Ulrich Drepper <drepper@gmail.com>
16206
16207 * Versions.def [libc]: Add GLIBC_2.15.
16208 * dirent/Makefile (routines): Add scandirat and scandirat64.
16209 * dirent/Versions [libc]: Export scandirat and scandirat64 for
16210 GLIBC_2.15.
16211 * dirent/dirent.h: Declare scandirat and scandirat64.
16212 * dirent/scandirat.c: New file.
16213 * dirent/scandirat64.c: New file.
16214 * sysdeps/wordsize-64/scandirat.c: New file.
16215 * sysdeps/wordsize-64/scandirat64.c: New file.
16216 * dirent/opendir.c: Define opendirat.
16217 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
16218 using scandirat.
16219 * dirent/scandir64.c: Adjust for scandir.c change.
16220 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
16221 __scandirat64, and __scandir_cancel_handler.
16222 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
16223 additional parameter and use openat instead of open (outside of ld.so).
16224 Add new __opendir as wrapper around __opendirat.
16225 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
16226 here without requiring old scandirat implementation.
16227
879165f2
UD
162282011-08-08 Ulrich Drepper <drepper@gmail.com>
16229
16230 * dirent/scandir.c (cancel_handler): Renamed to
16231 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
16232 defined. Adjust users.
16233 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
16234 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
16235
cb7e923b
UD
162362011-08-04 Ulrich Drepper <drepper@gmail.com>
16237
16292edd
UD
16238 * string/test-string.h (IMPL): Use __STRING to expand name and then
16239 stringify it.
16240
cb7e923b
UD
16241 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
16242 of cleanups.
16243
cff82933
LD
162442011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16245
16246 * string/Makefile: Update.
16247 (strop-tests): Append strncat.
16248 * string/test-wcscmp.c: New file.
16249 New comprehensive test for wcscmp.
16250 * string/test-strcmp.c: Update.
16251 (WIDE): New define.
16252
9be9bfcc
AS
162532011-07-22 Andreas Schwab <schwab@redhat.com>
16254
16255 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
16256 line.
16257
2e96f1c7
AS
162582011-07-26 Andreas Schwab <schwab@redhat.com>
16259
16260 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16261 encoding to ACE if AI_IDN.
16262
85188888
JJ
162632011-08-01 Jakub Jelinek <jakub@redhat.com>
16264
16265 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
16266 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
16267
5fa16e9b
LD
162682011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16269
16270 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
16271 Fix overflow bug in strncat.
16272 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
16273
16274 * string/test-strncat.c: Update.
16275 Add new tests for checking overflow bugs.
16276
162772011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16278
16279 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16280 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
16281 * sysdeps/i386/i686/multiarch/strcat.S: New file.
16282 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
16283 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
16284 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
16285 * sysdeps/i386/i686/multiarch/strncat.S: New file.
16286 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
16287 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
16288
16289 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
16290 (USE_AS_STRCAT): Define.
16291 Add strcat and strncat support.
16292 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16293
8c1a459f
AS
162942011-07-25 Andreas Schwab <schwab@redhat.com>
16295
16296 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
16297 __n bigger than INT_MAX+1.
16298 (__strncmp_g): Likewise.
16299
bba33c28
UD
163002011-07-23 Ulrich Drepper <drepper@gmail.com>
16301
798be72d
UD
16302 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
16303 * libio/stido.h: Likewise.
16304
8accd4dc
UD
16305 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
16306 (AF_NFC): Define.
16307 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
16308 (AF_NFC): Define.
16309
cbff0d96
UD
16310 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
16311 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16312 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16313 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16314 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16315
9191c04a
UD
16316 [BZ #13021]
16317 * scripts/test-installation.pl: Don't expect libnss_test1 to be
16318 installed.
16319
bba33c28
UD
16320 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
16321 typo.
16322 (_dl_x86_64_save_sse): Likewise.
16323
90f139dd
UD
163242011-07-22 Ulrich Drepper <drepper@gmail.com>
16325
1aae088a
UD
16326 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
16327 OSXSAVE.
16328 (_dl_x86_64_save_sse): Likewise.
16329
8e2045f5
UD
16330 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
16331
90f139dd
UD
16332 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
16333
1d002f25
AS
163342011-07-21 Andreas Schwab <schwab@redhat.com>
16335
16336 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
16337 change.
16338 (_dl_x86_64_save_sse): Use correct AVX check.
16339
21137f89
UD
163402011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16341
16342 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
16343 bug in strncpy/strncat.
16344 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
16345
a65c0b7a
UD
163462011-07-21 Ulrich Drepper <drepper@gmail.com>
16347
16348 * string/tester.c (test_strcat): Add tests for different alignments
16349 of source and destination.
16350 (test_strncat): Likewise.
16351
6986b98a
UD
163522011-07-20 Ulrich Drepper <drepper@gmail.com>
16353
90bb2039
UD
16354 [BZ #12852]
16355 * posix/glob.c (glob): Check passed in values before using them in
16356 expressions to avoid some overflows.
16357 (glob_in_dir): Likewise.
16358
5644ef54
UD
16359 [BZ #13007]
16360 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
16361 check for AVX enablement so that we don't crash with old kernels and
16362 new hardware.
16363 * elf/tst-audit4.c: Add same checks here.
16364 * elf/tst-audit6.c: Likewise.
16365
16366 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 16367
bfc9dc9b
AS
163682011-07-09 Andreas Schwab <schwab@linux-m68k.org>
16369
16370 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
16371
702e64bb
UD
163722011-07-20 Ulrich Drepper <drepper@gmail.com>
16373
16374 * po/cs.po: Update from translation team.
16375 * po/bg.po: Likewise.
16376
295e904f
MP
163772011-07-12 Marek Polacek <mpolacek@redhat.com>
16378
16379 * misc/sys/cdefs.h: Add support for const attribute.
16380 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
16381 to gnu_dev_{major,minor,makedev} functions.
16382
3ff94596
MP
163832011-07-20 Marek Polacek <mpolacek@redhat.com>
16384
16385 * intl/dcigettext.c (get_output_charset): Add missing bracket.
16386
28b59fca
AS
163872011-07-20 Andreas Schwab <schwab@redhat.com>
16388
16389 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
16390 strlen results.
16391
19df733e
AK
163922011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16393
16394 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
16395 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
16396 register in order to avoid conflicts with the soft frame pointer
16397 being held in r11 when necessary.
16398 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
16399 (INTERNAL_VSYSCALL_NCS): Likewise.
16400
c8835729
MP
164012011-07-14 Marek Polacek <mpolacek@redhat.com>
16402
16403 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
16404 * elf/dl-fini.c (_dl_fini): Adjust caller.
16405 * elf/dl-close.c (_dl_close_worker): Likewise.
16406 * sysdeps/generic/ldsodefs.h: Adjust declaration.
16407
b902330c
MP
164082011-07-15 Marek Polacek <mpolacek@redhat.com>
16409
8991e135
MP
16410 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
16411 "aux_cache->nlibs < 0".
16412
b902330c
MP
16413 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
16414 in the reload-count case.
16415
99710781
LD
164162011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16417
16418 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16419 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
16420 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
16421 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
16422 * sysdeps/x86_64/multiarch/strcat.S: New file.
16423 * sysdeps/x86_64/multiarch/strncat.S: New file.
16424 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
16425 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
16426 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
16427 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
16428 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
16429 (USE_AS_STRCAT): Define.
16430 Add strcat and strncat support.
16431 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16432 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16433 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
16434 * string/strncat.c: Update.
16435 (USE_AS_STRNCAT): Define.
16436 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16437 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
16438 and i7.
16439 * sysdeps/x86_64/multiarch/init-arch.h
16440 (bit_Prefer_PMINUB_for_stringop): New.
16441 (index_Prefer_PMINUB_for_stringop): Likewise.
16442 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
16443 bit_Prefer_PMINUB_for_stringop.
16444
7dc6bd90
UD
164452011-07-19 Ulrich Drepper <drepper@gmail.com>
16446
16447 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
16448 buffer64.
16449 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
16450 of casting of buffer.
16451 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
16452 buffer32 and buffer64.
16453 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
16454 writes instead of casting of buffer.
16455 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
16456 buffer32.
16457 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
16458 casting of buffer.
16459
e0e72284
AS
164602011-07-19 Andreas Schwab <schwab@redhat.com>
16461
16462 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
16463
feb1eb0b
UD
164642011-07-19 Ulrich Drepper <drepper@gmail.com>
16465
16466 * nscd/nscd.c (termination_handler): Don't do anything for a database
16467 if it has not yet been initialized.
16468
298711ff
UD
164692011-07-18 Ulrich Drepper <drepper@gmail.com>
16470
16471 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16472
164732011-07-15 Marek Polacek <mpolacek@redhat.com>
16474
16475 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16476
f9d68389
UD
164772011-07-18 Ulrich Drepper <drepper@gmail.com>
16478
16479 * po/nl.po: Update from translation team.
16480 * po/sv.po: Likewise.
16481
db290cf5
RM
164822011-07-16 Roland McGrath <roland@hack.frob.com>
16483
16484 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
16485 now disallowed by GCC.
5c550700 16486
fd5e21c7
RM
16487 * configure.in (use-default-link): Default to yes if a test -shared
16488 link meets our qualifications.
16489 * configure: Regenerated.
16490
5c550700
RM
16491 * config.make.in (output-format): New variable.
16492 * configure.in: Check for ld --print-output-format support.
16493 * configure: Regenerated.
16494 * Makerules ($(common-objpfx)format.lds)
16495 [$(output-format) != unknown]: Just use $(output-format),
16496 instead of the linker-script munging.
16497
9fa2c032
RM
164982011-07-14 Roland McGrath <roland@hack.frob.com>
16499
a6928d51
RM
16500 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
16501 of $(common-objpfx)shlib.lds.
16502 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
16503
661607b3
RM
16504 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
16505 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
16506
9fa2c032
RM
16507 * configure.in (-z relro check): Adjust test code to add a large
16508 writable data section after it.
16509 * configure: Regenerated.
16510
defe9061
RM
165112011-07-11 Roland McGrath <roland@hack.frob.com>
16512
16513 * configure.in (-z relro check): Fix test code to make the variable
16514 truly const.
16515 * configure: Regenerated.
16516
319b9ad4
UD
165172011-07-11 Ulrich Drepper <drepper@gmail.com>
16518
16519 * nscd/nscd.h (struct traced_file): Define.
16520 (struct database_dyn): Remove inotify_descr, reset_res, and filename
16521 elements. Add traced_files.
16522 (inotify_fd): Declare.
16523 (register_traced_file): Declare.
16524 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
16525 (inotify_fd): Export.
16526 (resolv_conf_descr): Remove.
16527 (nscd_init): Move inotify descriptor creation to main.
16528 Don't register files for notification here.
16529 (register_traced_file): New function.
16530 (invalidate_cache): Don't use reset_res to determine whether to call
16531 res_init, go through the list of registered files.
16532 (main_loop_poll): The inotify descriptors are now stored in the
16533 structures for the traced files.
16534 (main_loop_epoll): Likewise
16535 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
16536 to __nss_disable_nscd.
16537 * nscd/cache.c (prune_cache): There is no single inotify descriptor
16538 for a database anymore. Check the records for all the registered
16539 files instead.
16540 * nss/Makefile (libnss_files-routines): Add files-init.
16541 (libnss_db-routines): Add db-init.
16542 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
16543 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
16544 * nss/nss_db/db-init.c: New file.
16545 * nss/nss_files/files-init.c: New file.
16546 * nss/nsswitch.c (nss_load_library): New function. Broken out of
16547 __nss_lookup_function.
16548 (__nss_lookup_function): Call nss_load_library.
16549 (nss_load_all_libraries): New function.
16550 (__nss_disable_nscd): Take parameter with callback function for files
16551 to register. Set is_nscd. Load all the DSOs for the NSS modules
16552 used for the cached services.
16553 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
16554 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
16555 options for features to all the files in nscd.
16556
16557 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
16558
23bee3e8
RM
165592011-07-10 Roland McGrath <roland@hack.frob.com>
16560
16561 * csu/elf-init.c (__libc_csu_init): Comment typo.
16562
46a5b7f0
UD
165632011-07-09 Ulrich Drepper <drepper@gmail.com>
16564
16565 * po/pl.po: Update from translation team.
16566 * po/ja.po: Likewise.
16567 * po/ru.po: Likewise.
16568 * po/ko.po: Likewise.
16569 * po/fr.po: Likewise.
16570
d30cf5bb
RM
165712011-07-09 Roland McGrath <roland@hack.frob.com>
16572
113ddea4
RM
16573 * configure.in (.ctors/.dtors header and trailer check):
16574 Use an empirical test on a built program.
16575 * configure: Regenerated.
16576
574920b4
RM
16577 * configure.in (-z relro check): Use an empirical test on a built DSO.
16578 Detect, but do not require, on ia64.
16579 * configure: Regenerated.
16580
d30cf5bb
RM
16581 * configure.in (READELF): Find it with AC_CHECK_TOOL.
16582 Update tests that use readelf to use $READELF instead.
16583 * configure: Regenerated.
16584
8538fdb3
UD
165852011-07-08 Ulrich Drepper <drepper@gmail.com>
16586
16587 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
16588 if the result is not used.
16589
04d08991
AJ
165902011-07-05 Andreas Jaeger <aj@suse.de>
16591
16592 [BZ#9696]
16593 * stdlib/tst-strtod.c: Add testcase.
16594
de283087
AD
165952011-07-07 Ulrich Drepper <drepper@gmail.com>
16596
4e5f31c8 16597 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 16598 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
16599 The latter has a higher limit. Take additional parameter to pass to
16600 the new function.
16601 (__pathconf): Pass file to __statfs_link_max.
16602 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
16603 __statfs_link_max.
16604 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
16605 __statfs_link_max.
16606
de283087
AD
16607 [BZ #12868]
16608 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
16609 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16610 Handle Lustre.
16611 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
16612 (__statfs_filesize_max): Likewise.
16613 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
16614
c75fa153
AJ
166152011-07-05 Andreas Jaeger <aj@suse.de>
16616
16617 * resolv/res_comp.c (dn_skipname): Remove unused variable.
16618
1a544854
UD
166192011-07-06 Marek Polacek <mpolacek@redhat.com>
16620
16621 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
16622 `status' variable.
16623 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
16624 Likewise.
16625
6f0eec67
UD
166262011-07-04 H.J. Lu <hongjiu.lu@intel.com>
16627
16628 * Makefile (strop-tests): Add strncat.
16629 * string/test-strncat.c: New file.
16630
aae30307
UD
166312011-06-30 Marek Polacek <mpolacek@redhat.com>
16632
16633 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
16634
c0cfb5eb
UD
166352011-06-21 Andreas Jaeger <aj@suse.de>
16636
16637 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
16638 Copy rule from iconvdata/Makefile.
16639
01636b21
UD
166402011-07-06 Ulrich Drepper <drepper@gmail.com>
16641
16642 [BZ #12922]
16643 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
16644 but no long options are defined, just return 'W'.
16645
9895c8bc
UD
166462011-06-22 Marek Polacek <mpolacek@redhat.com>
16647
16648 [BZ #9696]
16649 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
16650
5d4cf042
UD
166512011-07-06 Ulrich Drepper <drepper@gmail.com>
16652
16653 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
16654 netgroups to read.
960e5535 16655 (innetgr): Likewise.
5d4cf042 16656
751eb97e
RM
166572011-07-05 Roland McGrath <roland@hack.frob.com>
16658
16659 * config.make.in (install_root): Default to $(DESTDIR).
16660
f15f1e45
UD
166612011-07-05 Ulrich Drepper <drepper@gmail.com>
16662
16663 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
16664
4e34ac6a
RM
166652011-07-02 Roland McGrath <roland@hack.frob.com>
16666
5e9b6af4
RM
16667 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
16668
84f9ea0f
RM
16669 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
16670 containing directory rather than embedding absolute directory names.
16671
ea5ee9f7
RM
16672 * scripts/check-local-headers.sh: Rewritten using awk.
16673 Match by word, not by line. Print error messages for matches.
16674 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
16675
1b74661a
RM
16676 * Makerules [shlib-lds-flags empty]:
16677 ($(common-objpfx)libc_pic.opts): New target.
16678 ($(common-objpfx)libc_pic.os.clean): New target.
16679 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
16680
16681 * config.make.in (OBJCOPY): New variable.
16682 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
16683 * configure: Regenerated.
16684
f781ef40
RM
16685 * config.make.in (use-default-link): New variable.
16686 * configure.in (use_default_link): Grok --with-default-link to set it.
16687 * configure: Regenerated.
16688 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
16689 (shlib-lds, shlib-lds-flags): Define to empty.
16690
2d4fa81e
RM
16691 * Makerules (shlib-lds): New variable.
16692 (shlib-lds-flags): New variable.
16693 (build-shlib, build-moduile, build-module-asneeded): Use it.
16694 ($(common-objpfx)libc.so): Use $(shlib-lds).
16695 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
16696 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
16697
31fffa6b
RM
16698 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
16699 DT_FLAGS/DT_FLAGS_1 with zero flags.
16700
4e34ac6a
RM
16701 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
16702 linker script munging.
16703
fcfc776b
UD
167042011-07-02 Ulrich Drepper <drepper@gmail.com>
16705
16706 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
16707 as 128-bit value.
16708 * crypt/sha512.c (sha512_process_block): Perform total addition using
16709 128-bit if possible.
16710 (__sha512_finish_ctx): Likewise.
16711 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
16712 as 64-bit value.
16713 * crypt/sha256.c (SWAP64): Define.
16714 (sha256_process_block): Perform total addition using 64-bit if
16715 possible.
16716 (__sha256_finish_ctx): Likewise.
16717
99231d9a
UD
167182011-07-01 Ulrich Drepper <drepper@gmail.com>
16719
16720 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
16721 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16722 * nscd/hstcache.c (cache_addhst): Likewise.
16723 * nscd/grpcache.c (cache_addgr): Likewise.
16724 * nscd/aicache.c (addhstaiX): Likewise
16725 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
16726
445b4a53
TK
167272011-07-01 Thorsten Kukuk <kukuk@suse.de>
16728
16729 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
16730 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16731 * nscd/hstcache.c (cache_addhst): Likewise.
16732 * nscd/grpcache.c (cache_addgr): Likewise.
16733 * nscd/aicache.c (addhstaiX): Likewise
16734
6d4d8e8e
AS
167352011-07-01 Andreas Schwab <schwab@redhat.com>
16736
16737 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
16738 domain only when needed.
16739
89f654c5
AS
167402011-06-30 Andreas Schwab <schwab@redhat.com>
16741
16742 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
16743 is always restored.
16744
cf3b23ff
UD
167452011-06-29 Ulrich Drepper <drepper@gmail.com>
16746
16747 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
16748 are re-adding the entry.
16749 * nscd/servicescache.c (cache_addserv): Likewise.
16750
751626f9
AJ
167512011-06-30 Aurelien Jarno <aurelien@aurel32.net>
16752
16753 * sysdeps/generic/dl-irel.h: fix protection against multiple
16754 inclusions.
16755 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
16756
9113ea1f
UD
167572011-06-28 Ulrich Drepper <drepper@gmail.com>
16758
5c0b8d90
UD
16759 [BZ #12935]
16760 * malloc/memusage.sh: Fix quoting in message.
16761 * debug/xtrace.sh: Likewise.
16762
9113ea1f
UD
16763 * configure.in: Remove support for --experimental-malloc option, make
16764 it the default.
16765 * config.make.in: Likewise.
16766 * malloc/Makefile: Likewise.
16767
a4172181
AS
167682011-06-27 Andreas Schwab <schwab@redhat.com>
16769
16770 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
16771 two-byte characters.
16772
78a7eee7
RM
167732011-06-27 Roland McGrath <roland@hack.frob.com>
16774
62bede13
RM
16775 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
16776 AC_CACHE_CHECK invocation.
16777 * configure: Regenerated.
16778
78a7eee7
RM
16779 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
16780
5ce33a62
UD
167812011-06-27 Ulrich Drepper <drepper@gmail.com>
16782
034807a9
UD
16783 [BZ #12350]
16784 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
16785 bit from old_res_options.
16786
4902da17
UD
16787 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
16788
5ce33a62
UD
16789 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
16790 value type for setfct.
16791
c2344f56
L
167922011-06-23 H.J. Lu <hongjiu.lu@intel.com>
16793
16794 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16795 __gettimeofday instead of gettimeofday.
16796
68468076
UD
167972011-06-26 Ulrich Drepper <drepper@gmail.com>
16798
16799 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
16800
acb0d739
L
168012011-06-24 H.J. Lu <hongjiu.lu@intel.com>
16802
16803 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
16804
16805 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
16806 info.
16807
8912479f
L
168082011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16809
16810 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16811 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16812 strcpy-sse2-unaligned strncpy-sse2-unaligned
16813 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
16814 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
16815 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
16816 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
16817 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
16818 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
16819 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
16820 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
16821 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
16822 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
16823 (STRCPY): Support SSE2 and SSSE3 versions.
16824
d5495a11
UD
168252011-06-24 Ulrich Drepper <drepper@gmail.com>
16826
16827 [BZ #12874]
16828 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
16829 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
16830 kernels which artificially limit size of requests.
16831
0b1cbaae
L
168322011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16833
16834 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16835 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16836 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
16837 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
16838 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
16839 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
16840 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
16841 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
16842 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
16843 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
16844 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
16845 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
16846 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
16847 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
16848 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
16849 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16850 Enable unaligned load optimization for Intel Core i3, i5 and i7
16851 processors.
16852 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
16853 Define.
16854 (index_Fast_Unaligned_Load): Define.
16855 (HAS_FAST_UNALIGNED_LOAD): Define.
16856
07f494a0
MP
168572011-06-23 Marek Polacek <mpolacek@redhat.com>
16858
16859 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
16860
fa3fc0fe
UD
168612011-06-22 Ulrich Drepper <drepper@gmail.com>
16862
16863 [BZ #12907]
16864 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
16865 until it is clear that the information is realy needed.
16866 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
16867
e12df166
AS
168682011-06-22 Andreas Schwab <schwab@redhat.com>
16869
16870 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
16871
852eb34d
UD
168722011-06-22 Ulrich Drepper <drepper@gmail.com>
16873
84e2a551
UD
16874 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16875 /sys/devices/system/cpu/online if it is usable.
16876
852eb34d
UD
16877 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
16878 reading the information from the /proc filesystem to once a second.
16879
6e502e19
UD
168802011-06-21 Andreas Jaeger <aj@suse.de>
16881
16882 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
16883 NULL after inclusion of kernel headers.
16884
75d39ff2
UD
168852011-06-21 Ulrich Drepper <drepper@gmail.com>
16886
51f9aa6a
UD
16887 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
16888 calls to internal_setent.
16889
c0244a9d
UD
16890 [BZ #12885]
16891 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
16892 addresses using gethostbyname4_r ignore IPv4 addresses.
16893
c5e3c2ae
UD
16894 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
16895 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
16896
75d39ff2
UD
16897 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
16898
42675c6f
DM
168992011-06-20 David S. Miller <davem@davemloft.net>
16900
16901 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
16902 inclusions.
16903 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
16904
16905 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
16906 (elf_irel): Use it.
16907 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
16908 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
16909 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
16910 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
16911 * sysdeps/x86_64/dl-irel.h: Likewise.
16912
16913 * elf/dl-runtime.c: Use elf_ifunc_invoke.
16914 * elf/dl-sym.c: Likewise.
16915
57912a71
UD
169162011-06-15 Ulrich Drepper <drepper@gmail.com>
16917
16918 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
16919 need to dereference resplen2.
16920
ee22793d
AS
169212011-06-14 Andreas Schwab <schwab@redhat.com>
16922
16923 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
16924
a9e836b0
UD
169252011-06-15 Ulrich Drepper <drepper@gmail.com>
16926
77fb9117
UD
16927 * Makeconfig: Define vardbdir and inst_vardbdir.
16928 * nss/Makefile: Add rules to install db-Makefile.
16929
40c1b22c
UD
16930 * nss/nss_db/db-XXX.c: Cleanup.
16931
9f2da732
UD
16932 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
16933 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
16934 GLIBC_PRIVATE.
16935 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
16936 * nss/makedb.c: Implement -g option to specify that value strings
16937 are generated and should not be added to table iterated over for
16938 get*ent calls.
16939 * nss/nss_db/db-initgroups.c: New file.
16940
82e9a1f7
UD
16941 * nss/getent.c: Add support for initgroups lookups through getgrouplist
16942 interface.
16943
c41af17e
UD
16944 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
16945 (internal_getgrouplist): Adjust to name change.
16946 Update use_initgroups_entry if this is not the first call.
16947 * nss/databases.def: Add initgroups entry.
16948
a9e836b0
UD
16949 * nss/makedb.c (compute_tables): Check result of multiple hash table
16950 sizes to minimize maximum chain length.
16951
2666d441
UD
169522011-06-14 Ulrich Drepper <drepper@gmail.com>
16953
16954 * Versions.def: Add entry for libnss_db.
16955 * shlib-versions: Likewise.
16956 * nss/Makefile: Add rules to build libnss_db.
16957 * nss/Versions: Add libnss_db information. Organize libnss_files
16958 entries better.
16959 * nss/db-Makefile: Add gshadow support. Change rules for the new
16960 makedb progra. Some minor improvements to generate smaller files.
16961 * nss/nss_db/nss_db.h: Move NSS database header data structures to
16962 here from...
16963 * nss/makedb.c: ...here.
16964 Improve database format to be smaller and require less memory at
16965 runtime.
16966 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
16967 db anymore.
16968 * nss/nss_db/db-netgrp.c: Likewise.
16969 * nss/nss_db/db-open.c: Likewise.
16970 * nss/nss_files/flies-XXX.x: Adjust comments.
16971 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
16972 * nss/nss_files/files-grp.c: Likewise.
16973 * nss/nss_files/files-hosts.c: Likewise.
16974 * nss/nss_files/files-network.c: Likewise.
16975 * nss/nss_files/files-proto.c: Likewise.
16976 * nss/nss_files/files-pwd.c: Likewise.
16977 * nss/nss_files/files-rpc.c: Likewise.
16978 * nss/nss_files/files-service.c: Likewise.
16979 * nss/nss_files/files-sgrp.c: Likewise.
16980 * nss/nss_files/files-spwd.c: Likewise.
16981 * nss/nss_db/db-alias.c: Removed.
16982 * nss/nss_db/dummy-db.h: Removed.
16983
9ee76b5a
UD
169842011-06-02 Ulrich Drepper <drepper@gmail.com>
16985
16986 * nss/makedb.c: Rewritten to not use database library.
16987 * nss/Makefile: Update to build new makedb program.
16988
c71ca1f8
AJ
169892011-06-14 Andreas Jaeger <aj@suse.de>
16990
16991 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
16992 memset declaration.
16993
3154bfb8
UD
169942011-06-10 Andreas Schwab <schwab@redhat.com>
16995
16996 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
16997 tmpbuf.
16998
b350afab
RM
169992011-06-10 Roland McGrath <roland@hack.frob.com>
17000
decd4e50
RM
17001 * Makerules (shlib.lds): Fail if the linker script comes out empty.
17002 * elf/Makefile ($(objpfx)ld.so): Likewise.
17003
5615eaf2
RM
17004 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
17005 Don't list ld.so twice in dependencies.
17006
17007 * posix/bug-regex31.c: Include <stdlib.h>.
17008
17009 * nscd/hstcache.c (cache_addhst): Remove unused variable.
17010
17011 * nis/nss_compat/compat-spwd.c
17012 (getspent_next_nss_netgr): Remove unused variable.
17013 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
17014
17015 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
17016 nonmembers" output to use the right array.
17017
17018 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
17019
17020 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
17021
17022 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
17023 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
17024 * catgets/gencat.c (read_input_file): Likewise.
17025 * locale/programs/locarchive.c (enlarge_archive): Likewise.
17026
17027 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
17028 variable definition inside #if's controlling its use.
17029
17030 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
17031
17032 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
17033
17034 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
17035
17036 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
17037 unreachable code.
17038
17039 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
17040
b68e08db
RM
17041 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
17042 * configure: Regenerated.
17043
b350afab
RM
17044 * Makerules: Revert last change.
17045 * elf/Makefile: Likewise.
17046
28368601
RM
170472011-06-09 Roland McGrath <roland@hack.frob.com>
17048
17049 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
17050 * elf/Makefile ($(objpfx)librtld.os): Likewise.
17051 (reloc-link): Likewise.
17052
11988f8f
UD
170532011-06-09 Ulrich Drepper <drepper@gmail.com>
17054
17055 * elf/Makefile: Add rules to build pldd.
17056 * elf/pldd.c: New file.
17057 * elf/pldd-xx.c: New file.
17058
e80fab37
UD
170592011-06-07 Ulrich Drepper <drepper@gmail.com>
17060
17061 * version.h: Update for 2.15 development version.
17062
9b849836
DM
170632011-06-07 David S. Miller <davem@davemloft.net>
17064
17065 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
17066 ifuncs.
17067 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
17068 elf_machine_lazy_rel): Likewise.
17069 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17070 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
17071 elf_machine_lazy_rel): Likewise.
17072 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
17073 dl_hwcap via passed in argument.
17074 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
17075 Likewise.
17076
5a31b283
AK
170772011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17078
17079 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
17080
069e52f8
RM
170812011-06-06 Roland McGrath <roland@hack.frob.com>
17082
17083 [BZ #12849]
17084 * manual/fdl-1.1.texi: New file, verbatim from:
17085 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
17086 * manual/lgpl-2.1.texi: New file, verbatim from:
17087 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
17088 * manual/Makefile (licenses): New variable, list those new file names.
17089 (texis): Use it.
17090 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
17091
17092 * manual/fdl.texi: File removed.
17093 * manual/lesser.texi: File removed.
17094 * manual/libc.texinfo (Copying, Documentation License):
17095 Use new @include file names, put @appendix directive before @include.
17096
f16846a5
JJ
170972011-06-04 Jakub Jelinek <jakub@redhat.com>
17098
17099 [BZ #12841]
17100 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
17101 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
17102 (mq_open): Add __NTH.
17103
3d29045b
L
171042011-06-02 H.J. Lu <hongjiu.lu@intel.com>
17105
17106 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17107 Assume Intel Core i3/i5/i7 processor if AVX is available.
17108
8c297311
UD
171092011-05-31 Ulrich Drepper <drepper@gmail.com>
17110
17111 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17112 typo.
17113
c8fc0c91
UD
171142011-05-31 Andreas Schwab <schwab@redhat.com>
17115
17116 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
17117 memory. Use alloca_account. Fix memory leak when retrying.
17118
5b27a807
UD
171192011-05-31 Ulrich Drepper <drepper@gmail.com>
17120
356f8bc6
UD
17121 * version.h (RELEASE): Bump for 2.14 release.
17122 * include/features.h (__GLIBC_MINOR__): Bump to 14.
17123
5b27a807
UD
17124 * config.make.in (RANLIB): Remove entry.
17125
01f16ab0
UD
171262011-05-30 Ulrich Drepper <drepper@gmail.com>
17127
41fce8bd
UD
17128 * po/Makefile (po-sed-cmd): Add ksh to extensions.
17129 (libc.pot): Work around missing support for .ksh extension in xgettext.
17130
4769ae77
UD
17131 [BZ #12684]
17132 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
17133 if both request failed.
17134 (send_dg): In case of server errors clear resplen or *resplen2.
17135
6b1e7d19
UD
17136 [BZ #12454]
17137 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
17138 when there are multiple maps.
17139 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
17140 (_dl_fini): Remove test here.
17141
01f16ab0
UD
17142 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
17143
b1ebd700
UD
171442011-05-29 Ulrich Drepper <drepper@gmail.com>
17145
7ae22829
UD
17146 [BZ #12350]
17147 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
17148 bit from old_res_options.
17149 (gaih_inet): Likewise.
17150
553149f6 17151 [BZ #11099]
18a84741 17152 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
17153 as signed.
17154
652ffab1
UD
17155 * resolv/res_init.c (res_setoptions): Make the code more compact.
17156
16985fd0
UD
17157 [BZ #11558]
17158 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
17159 set RES_USEVC.
17160
0464f746
UD
17161 [BZ #11634]
17162 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
17163
7d17596c
UD
17164 * malloc/malloc.h: Mark malloc hook variables as deprecated.
17165
cf6bbbd7
UD
17166 [BZ #11781]
17167 * malloc/malloc.h: Declare malloc hook variables as volatile.
17168
13f1ab36
UD
17169 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
17170 in last patch.
17171
b1ebd700
UD
17172 [BZ #11799]
17173 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 17174 raise in the comment.
80e2212d
UD
17175 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17176 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17177 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 17178
ce67228d
UD
171792011-05-28 Ulrich Drepper <drepper@gmail.com>
17180
8887a920
UD
17181 [BZ #12811]
17182 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
17183 grow the buffers more if it already has to be sufficient.
17184 (build_wcs_upper_buffer): Likewise.
17185 * posix/regexec.c (check_matching): Likewise.
17186 (clean_state_log_if_needed): Likewise.
17187 (extend_buffers): Don't enlarge buffers beyond size of the input
17188 buffer.
17189 Patches mostly by Emil Wojak <emil@wojak.eu>.
17190 * posix/bug-regex32.c: New file.
17191 * posix/Makefile (tests): Add bug-regex32.
17192
4f031072
UD
17193 * locale/findlocale.c (_nl_find_locale): Return right away if
17194 _nl_explode_name failed.
17195 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
17196
d0478f0c
UD
17197 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
17198
de81b246
UD
17199 * debug/xtrace.sh: Unify messages.
17200 * malloc/memusage.sh: Likewise.
17201
c738465a
UD
17202 [BZ #12813]
17203 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
17204 time symbol from vDSO. Substitute with vsyscall if not available.
17205 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
17206 __vdso_time.
17207
f1f929d7
UD
17208 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
17209 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
17210 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
17211 Add sendmmsg and internal_sendmmsg.
17212 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
17213 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
17214 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
17215
ce67228d
UD
17216 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
17217 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
17218 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
17219
e57420c6
UD
172202011-05-27 Ulrich Drepper <drepper@gmail.com>
17221
a8509ca5
UD
17222 [BZ #12813]
17223 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
17224 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
17225 available.
17226 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
17227 __vdso_getcpu.
17228
e57420c6
UD
17229 [BZ #12814]
17230 * iconvdata/Makefile (tests): Add bug-iconv9.
17231 * iconvdata/bug-iconv9.c: New file.
17232
4d07db15
AS
172332011-05-27 Andreas Schwab <schwab@redhat.com>
17234
17235 [BZ #12814]
17236 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
17237
ea486f69
JJ
172382011-05-25 Jakub Jelinek <jakub@redhat.com>
17239
17240 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17241 (struct user_regs_struct): Change intcs field back to cs.
17242
6f038433
UD
172432011-05-25 Ulrich Drepper <drepper@gmail.com>
17244
17245 * po/ja.po: Update from translation team.
17246
67f86a25
UD
172472011-05-23 Ulrich Drepper <drepper@gmail.com>
17248
17249 [BZ #12795]
17250 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
17251 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
17252
def7fbd6
AS
172532011-05-20 Andreas Schwab <schwab@redhat.com>
17254
17255 * stdlib/longlong.h: Update from GCC.
17256
f50ef8f1
AS
172572011-05-23 Andreas Schwab <schwab@redhat.com>
17258
17259 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
17260 parameter name.
17261 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
17262 Add parameter name.
17263 (__sysconf): Pass it down.
17264
de7ce8f1
UD
172652011-05-22 Ulrich Drepper <drepper@gmail.com>
17266
f2962a71
UD
17267 [BZ #12671]
17268 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
17269 some situations.
17270 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17271 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
17272 add in in __libc_use_alloca calls. Adjust callers.
17273 (glob): Use malloc in some situations.
17274
de7ce8f1
UD
17275 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
17276 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
17277 pltexit.
17278
aec84f53
UD
172792011-05-21 Ulrich Drepper <drepper@gmail.com>
17280
05bb4a68
UD
17281 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
17282 and CLOCK_BOOTTIME_ALARM.
17283
7ea72f99
UD
17284 [BZ #12782]
17285 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
17286 is returned.
17287
7e4afad5
UD
17288 * string/_strerror.c (__strerror_r): Print negative errors as signed
17289 numbers.
17290
8e211fec
UD
17291 [BZ #12777]
17292 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
17293 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
17294 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
17295
f7d82dc9
UD
17296 * configure.in: Fix typo in redirection and correct removal of test
17297 files in two cases.
17298
cc9e536d
UD
17299 [BZ #12788]
17300 * locale/setlocale.c (new_composite_name): Fix test to check for
17301 identical name of all categories.
17302
aec84f53
UD
17303 [BZ #12792]
17304 * libio/filedoalloc.c (local_isatty): New function.
17305 (_IO_file_doallocate): Use local_isatty.
17306 * stdio-common/perror.c (perror): In case a new stream is used
17307 forward the stream error.
17308 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
17309 error flag.
17310
78e64fdc
RT
173112011-05-20 Ulrich Drepper <drepper@gmail.com>
17312
34a9094f
UD
17313 [BZ #11869]
17314 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
17315 alloca.
17316 * include/alloca.h (extend_alloca_account): Define.
17317
78e64fdc
RT
17318 [BZ #11857]
17319 * posix/regex.h: Fix comments with documentation of user-accessible
17320 fields after compilation and describe correct free'ing of pattern
17321 after re_compile_pattern.
17322 Patch by Reuben Thomas <rrt@sc3d.org>.
17323
457bddfc
RA
173242011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
17325
17326 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
17327 and -mno-altivec to prevent the compiler from using Altivec and/or
17328 VSX instructions when the corresponding registers are not available.
17329
a4527b51
AS
173302011-05-19 Andreas Schwab <schwab@redhat.com>
17331
17332 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
17333
ed690b2f
UD
173342011-05-19 Ulrich Drepper <drepper@gmail.com>
17335
17336 * libio/freopen.c (freopen): Use __dup2, not dup2.
17337 * libio/freopen64.c (freopen64): Likewise.
17338
8db73634
L
173392011-05-17 H.J. Lu <hongjiu.lu@intel.com>
17340
17341 [BZ #12775]
17342 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
17343 * math/Makefile (tests): Add test-powl.
17344 (CFLAGS-test-powl.c): Define.
17345 * math/test-powl.c: New file.
17346
0a197a9d
L
173472011-05-16 H.J. Lu <hongjiu.lu@intel.com>
17348
17349 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
17350
ee30c380
UD
173512011-05-17 Ulrich Drepper <drepper@gmail.com>
17352
17353 [BZ #11837]
17354 * iconvdata/gb18030.c: Update to GB18020-2005.
17355
6ce75379
UD
173562011-05-16 Ulrich Drepper <drepper@gmail.com>
17357
a4b89fd8
AR
17358 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
17359 RE_SYNTAX_POSIX_AWK): Update to match recent development.
17360 Patch by Aharon Robbins <arnold@skeeve.com>.
17361
ea389b12
UD
17362 [BZ #11892]
17363 * stdlib/putenv.c (putenv): Don't always create copy of the variable
17364 on the stack.
17365
68a3f91f
UD
17366 [BZ #11895]
17367 * misc/pselect.c (__pselect): Handle timeout value errors hidden
17368 through underflows.
17369
15cc7dd1
UD
17370 [BZ #12766]
17371 * misc/error.c (error_at_line): Ensure file_name and old_file_name
17372 point to strings before performing equality test for error_one_per_line
17373 mode.
17374
f3799213
UD
17375 [BZ #11697]
17376 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
17377
d79a9c94
UD
17378 [BZ #11820]
17379 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17380 (struct user_fpregs_struct): Avoid __uint*_t types.
17381
56e5eb46
UD
17382 [BZ #6420]
17383 * malloc/mtrace.c (tr_where): Add additional parameter to point to
17384 symbol info. Use it instead of calling _dl_addr locally.
17385 (lock_and_info): New function.
17386 (tr_freehook): Call lock_and_info and pass symbol info as additional
17387 parameter to tr_where.
17388 (tr_mallochook): Likewise.
17389 (tr_reallochook): Likewise.
17390 (tr_memalignhook): Likewise.
17391
6ce75379
UD
17392 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
17393 used and couldn't be at all thread-safe.
17394
f8a3b5bf
UD
173952011-05-15 Ulrich Drepper <drepper@gmail.com>
17396
94b7cc37
UD
17397 * libio/freopen.c (freopen): Don't close old file descriptor
17398 before the new one is opened. Instead dup the new file descriptor
17399 to the old one after the new stream is created.
17400 * libio/freopen64.c (freopen64): Likewise.
17401 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
17402 * libio/fileops.c (_IO_new_file_close_it): Handle new
17403 _IO_FLAGS2_NOCLOSE flag.
17404 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
17405 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
17406 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
17407 _IO_FLAGS2_NOCLOSE flag.
17408 * include/unistd.h: Add hidden_proto for dup3.
17409 Define __have_dup3.
17410 * io/dup3.c: Define hidden symbol.
17411 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
17412
bd25564e
UD
17413 [BZ #7101]
17414 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
17415 when an incomplete long option is used.
17416 * posix/tst-getopt_long1.c: New file.
17417 * posix/Makefile (tests): Add tst-getopt_long1.
17418
c84cfef4
UD
17419 [BZ #10138]
17420 * scripts/config.guess: Update from autoconf-2.68.
17421 * scripts/config.sub: Likewise.
17422
3b85df27
UD
17423 [BZ #10157]
17424 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
17425 tests into ...
17426 (has_cpuclock): ...this. New function.
17427 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
17428 macro here based on has_cpuclock code.
17429
15a856b1
UD
17430 [BZ #10149]
17431 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17432 First byte (not low byte) is now always NUL.
17433 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
17434
05f399e6
UD
17435 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17436 Use non-cancelable interfaces.
17437
10a52685 17438 [BZ #9809]
94ecc67d
UD
17439 * locale/iso-639.def: Add entry for Sorani.
17440
f8a3b5bf
UD
17441 [BZ #11901]
17442 * include/stdlib.h: Move include protection to the right place.
17443 Define abort_msg_s. Declare __abort_msg with it.
17444 * stdlib/abort.c (__abort_msg): Adjust type.
17445 * assert/assert.c (__assert_fail_base): New function. Majority
17446 of code from __assert_fail. Allocate memory for __abort_msg with
17447 mmap.
17448 (__assert_fail): Now call __assert_fail_base.
17449 * assert/assert-perr.c: Remove bulk of implementation. Use
17450 __assert_fail_base.
17451 * include/assert.hL Declare __assert_fail_base.
17452 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
17453 mmap.
17454 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
17455
1af4e298
UD
174562011-05-14 Ulrich Drepper <drepper@gmail.com>
17457
f8a3b5bf 17458 [BZ #11952]
d26dfc60
MG
17459 [BZ #12453]
17460 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
17461 until all modules are registered in the DTV.
17462 * elf/Makefile: Add rules to build and run tst-tls19.
17463 * elf/tst-tls19.c: New file.
17464 * elf/tst-tls19mod1.c: New file.
17465 * elf/tst-tls19mod2.c: New file.
17466 * elf/tst-tls19mod3.c: New file.
17467 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
17468
2fc54d6f
UD
17469 [BZ #12083]
17470 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
17471 correctly.
17472
98d76b46
UD
17473 [BZ #12601]
17474 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
17475 two-byte sequence errors.
17476 * iconvdata/Makefile (tests): Add bug-iconv8.
17477 * iconvdata/bug-iconv8.c: New file.
17478
da3c19ef
UD
17479 [BZ #12626]
17480 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
17481 buf2 definition.
17482
ca408c15
UD
17483 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
17484
d6f67f7d
UD
17485 [BZ #12432]
17486 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
17487 (dummy_getcfa): New function.
17488 (init): Get _Unwind_GetCFA address, use dummy if not found.
17489 (backtrace_helper): In recursion check, also check whether CFA changes.
17490 (__backtrace): Completely initialize arg.
17491
1af4e298 17492 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
17493 storing incomplete byte sequence in state object. Avoid testing for
17494 guaranteed too small input if we know there is enough data available.
1af4e298 17495
da62f81b
AS
174962011-05-11 Andreas Schwab <schwab@redhat.com>
17497
17498 * Makeconfig (+link-pie): Indent.
17499 * Rules (binaries-pie): Define if $(have-fpie) and
17500 $(build-shared).
17501 (binaries-shared): Also filter out $(binaries-pie).
17502 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
17503 * nscd/Makefile (others-pie): Add nscd.
17504 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
17505 ($(objpfx)nscd): Remove command override.
17506 * login/Makefile (others-pie): Add pt_chown.
17507 ($(objpfx)pt_chown): Remove command override.
17508 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
17509 remove command overrides.
17510
fcabc0f8
UD
175112011-05-13 Ulrich Drepper <drepper@gmail.com>
17512
20030ae6
UD
17513 * libio/tst_putwc.c: Fix error messages.
17514
fcabc0f8
UD
17515 [BZ #12724]
17516 * libio/fileops.c (_IO_new_file_close_it): Always flush when
17517 currently writing and seek to current position when not.
17518 * libio/Makefile (tests): Add bug-fclose1.
17519 * libio/bug-fclose1.c: New file.
17520
320a5dc0
PB
175212011-05-12 Ulrich Drepper <drepper@gmail.com>
17522
17523 [BZ #12511]
17524 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
17525 don't set DF_1_NODELETE here.
17526 (do_lookup_x): When entering new entry test for copy relocation
17527 and if necessary set DF_1_NODELETE flag.
17528 * elf/tst-unique4.cc: New file.
17529 * elf/tst-unique4.h: New file.
17530 * elf/tst-unique4lib.cc: New file.
17531 * elf/Makefile: Add rules to build and run tst-unique4.
17532 Patch by Piotr Bury <pbury@goahead.com>.
17533
22836f52
UD
175342011-05-11 Ulrich Drepper <drepper@gmail.com>
17535
f574184a
UD
17536 [BZ #12052]
17537 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
17538
e1fb097f
UD
17539 [BZ #12625]
17540 * misc/mntent_r.c (addmntent): Flush the stream after the output
17541
22836f52
UD
17542 [BZ #12393]
17543 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
17544 (is_trusted_path_normalize): Skip initial colon. Append slash
17545 to empty buffer. Duplicate is_trusted_path code but allow
17546 constructed patch to be prefix.
17547 (is_dst): Allow $ORIGIN followed by /.
17548 (_dl_dst_substitute): Correct clearing of check_for_trusted.
17549 Correct testing of result of is_trusted_path_normalize
17550 (decompose_rpath): Fix warning.
17551
7b3b0b2a
UD
175522011-05-10 Ulrich Drepper <drepper@gmail.com>
17553
17554 [BZ #11257]
17555 * grp/initgroups.c (internal_getgrouplist): When we found the service
17556 list through the initgroups entry in nsswitch.conf do not always
17557 continue on a successful lookup. Don't always use the
eac80ce2 17558 __nss_group_database value if it is set.
7b3b0b2a
UD
17559 * nss/nsswitch.conf (initgroups): Change action for successful db
17560 lookup to continue for compatibility.
17561
2a81eaa5
UD
175622011-05-09 Ulrich Drepper <drepper@gmail.com>
17563
be97a69e
UD
17564 [BZ #11532]
17565 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
17566 and CP774 modules.
17567 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
17568 and CP774 modules.
17569 * iconvdata/tst-tables.sh: Likewise.
17570 * iconvdata/cp770.c: New file.
17571 * iconvdata/cp771.c: New file.
17572 * iconvdata/cp772.c: New file.
17573 * iconvdata/cp773.c: New file.
17574 * iconvdata/cp774.c: New file.
17575 * iconvdata/testdata/CP770: New file.
17576 * iconvdata/testdata/CP770..UTF8: New file.
17577 * iconvdata/testdata/CP771: New file.
17578 * iconvdata/testdata/CP771..UTF8: New file.
17579 * iconvdata/testdata/CP772: New file.
17580 * iconvdata/testdata/CP772..UTF8: New file.
17581 * iconvdata/testdata/CP773: New file.
17582 * iconvdata/testdata/CP773..UTF8: New file.
17583 * iconvdata/testdata/CP774: New file.
17584 * iconvdata/testdata/CP774..UTF8: New file.
17585
17586 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
17587 END CHARMAP line.
17588 * iconvdata/gen-8bit-gap.sh: Likewise.
17589 * iconvdata/gen-8bit.sh: Likewise.
17590
c1e9e399
UD
17591 * locale/iso-639.def: Add ary entry.
17592
24c55fb3 17593 [BZ #11258]
96b4b1b0
UD
17594 * locale/C-translit.h.in: Add U20A1 transliteration.
17595
bdc2f971
KB
17596 [BZ #12178]
17597 * locale/iso-639.def: Add wae entry.
17598 Patch by Kevin Bortis <bortis@translate-wae.ch>.
17599
2952b117
UD
17600 [BZ #12545]
17601 * locale/programs/localedef.c (construct_output_path): Use ssize_t
17602 for n.
17603
2a81eaa5
UD
17604 [BZ #12711]
17605 * locale/C-translit.h.in: Add entry for U20B9.
17606 Patch by pravin.d.s@gmail.com.
17607
28377d1b
UD
176082011-05-08 Ulrich Drepper <drepper@gmail.com>
17609
7fb90fb8
UD
17610 [BZ #12713]
17611 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
17612 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
17613 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
17614 in rtld. Use *stat64.
7fb90fb8 17615 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 17616 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 17617 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
17618 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
17619 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
17620 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
17621 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
17622 __fstatat64 macros.
7fb90fb8
UD
17623 * include/dirent.h: Add libc_hidden_proto for rewinddir.
17624 * dirent/rewinddir.c: Add libc_hidden_def.
17625 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 17626 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 17627
28377d1b
UD
17628 * include/dirent.h (__alloc_dir): Add flags parameter.
17629 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
17630 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
17631 __alloc_dir.
17632 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
17633 from fdopendir if O_CLOEXEC is already set.
17634
66bdbaa4
AM
176352011-03-15 Alan Modra <amodra@gmail.com>
17636
17637 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
17638 l_tls_firstbyte_offset non-zero. Save padding offset in
17639 l_tls_firstbyte_offset for later use.
17640 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
17641 freeing static tls block.
17642
95721191
JN
176432011-03-05 Jonathan Nieder <jrnieder@gmail.com>
17644
17645 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
17646 where #ifdef was intended. The intent is to prevent ARG_MAX from
17647 being defined by the kernel headers.
17648
f87dfb1f
UD
176492011-05-07 Ulrich Drepper <drepper@gmail.com>
17650
17651 [BZ #12734]
17652 * resolv/resolv.h: Define RES_NOTLDQUERY.
17653 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
17654 no-tld-query and set RES_NOTLDQUERY.
17655 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
17656 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
17657 modern BIND to search name as TLD unless forbidden.
17658
47c3cd7a
UD
176592011-05-07 Petr Baudis <pasky@suse.cz>
17660 Ulrich Drepper <drepper@gmail.com>
17661
17662 [BZ #12393]
17663 * elf/dl-load.c (fillin_rpath): Move trusted path check...
17664 (is_trusted_path): ...to here.
c1e9ea35 17665 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 17666 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 17667 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 17668
8a35c912
PP
176692011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17670
17671 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
17672 __BEGIN/__END_DECLS.
17673
acd41f47
UD
176742011-05-06 Ulrich Drepper <drepper@gmail.com>
17675
17676 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
17677 NSS_STATUS_NOTFOUND if no record was found.
17678
597df647
AS
176792011-05-05 Andreas Schwab <schwab@redhat.com>
17680
17681 * sunrpc/Makefile (headers): Add rpc/netdb.h.
17682 (headers-not-in-tirpc): Remove rpc/netdb.h
17683 * resolv/netdb.h: Revert last change.
17684
b9af1301
PP
176852011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17686
17687 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
17688 circular dependency between libgcc.a and libc.a.
17689
4e34d5f5
AS
176902011-05-05 Andreas Schwab <schwab@redhat.com>
17691
17692 * resolv/netdb.h: Don't include <rpc/netdb.h>.
17693 * nis/Makefile: Don't install rpcsvc/*.
17694 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
17695 instead of <rpc/types.h>.
17696 (MAXHOSTNAMELEN): Define.
17697
00ee369c
AS
176982011-05-03 Andreas Schwab <schwab@redhat.com>
17699
17700 * elf/ldconfig.c (add_dir): Don't crash on empty path.
17701
0b592a30
MB
177022011-04-28 Maciej Babinski <mbabinski@google.com>
17703
17704 [BZ #12714]
17705 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
17706 gethostbyname4_r when IPv6 results are possible.
17707
6e04cbbe
UD
177082011-05-02 Ulrich Drepper <drepper@gmail.com>
17709
17710 [BZ #12723]
17711 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
17712 _PC_PIPE_BUF handling.
17713
e4ecafe0
BH
177142011-04-30 Bruno Haible <bruno@clisp.org>
17715
17716 [BZ #12717]
17717 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
17718 * resolv/netdb.h (getnameinfo): Change type of flags parameter
17719 to 'int'.
17720 * inet/getnameinfo.c (getnameinfo): Likewise.
17721
125ee683
UD
177222011-04-29 Ulrich Drepper <drepper@gmail.com>
17723
17724 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
17725 to groups setting in database lookup.
17726 * nss/nsswitch.conf: Add initgroups entry.
17727
b722481a
EB
177282011-04-22 Ulrich Drepper <drepper@gmail.com>
17729
17730 [BZ #12685]
17731 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
17732 mode string.
17733 Patch by Eric Blake <eblake@redhat.com>.
17734
4df46dbd
L
177352011-04-20 H.J. Lu <hongjiu.lu@intel.com>
17736
17737 * sunrpc/Makefile (need-export-routines): Add svc_run.
17738 (routines): Remove svc_run.
17739 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
17740 * sunrpc/clnt_perr.c (clnt_perrno): Export.
17741 * sunrpc/svc_run.c (svc_run): Likewise.
17742 * sunrpc/svc_udp.c (svcudp_create): Likewise.
17743
e84142d2
UD
177442011-04-21 Ulrich Drepper <drepper@gmail.com>
17745
17746 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
17747 problem in reallocation in last patch.
17748
877175d8
UD
177492011-04-20 Ulrich Drepper <drepper@gmail.com>
17750
17751 * sunrpc/Makefile: Move inclusion of Rules.
17752
ab8eed78
UD
177532011-04-19 Ulrich Drepper <drepper@gmail.com>
17754
17755 * nss/nss_files/files-initgroups.c: New file.
17756 * nss/Makefile (libnss_files-routines): Add files-initgroups.
17757 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
17758 _nss_files_initgroups_dyn.
17759
e3d8f584
RS
177602011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
17761
17762 * elf/elf.h (R_ARM_IRELATIVE): Define.
17763
af190f45
UD
177642011-04-19 Ulrich Drepper <drepper@gmail.com>
17765
17766 * po/ru.po: Update from translation team.
17767
53cf59ef
UD
177682011-04-17 Ulrich Drepper <drepper@gmail.com>
17769
17770 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
17771 dependencies.
17772
4c559bcd
MF
177732011-02-06 Mike Frysinger <vapier@gentoo.org>
17774
17775 [BZ #12653]
17776 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
17777 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
17778 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17779 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17780 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17781
4420675c
AS
177822011-03-28 Andreas Schwab <schwab@linux-m68k.org>
17783
17784 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
17785 differing bytes.
17786 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17787 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17788 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17789
75ea32ab
UD
177902011-04-17 Ulrich Drepper <drepper@gmail.com>
17791
17792 [BZ #12420]
17793 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
17794 storing it.
17795 * stdlib/bug-getcontext.c: New file.
17796 * stdlib/Makefile: Add rules to build and run bug-getcontext.
17797
27390476
AK
177982011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17799
17800 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
17801 instructions into .machine "z9-109".
17802 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
17803 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
17804
10442705
AK
178052011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17806
17807 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
17808 between environment variables and auxiliary vector.
17809
7b57bfe5
UD
178102011-04-16 Ulrich Drepper <drepper@gmail.com>
17811
17812 * Makefile: Add rules to build linkobj/libc.so.
17813 * include/libc-symbols.h: Define libc_hidden_nolink.
17814 * include/rpc/auth.h: Mark functions which are to be hidden.
17815 * include/rpc/auth_des.h: Likewise.
17816 * include/rpc/auth_unix.h: Likewise.
17817 * include/rpc/clnt.h: Likewise.
17818 * include/rpc/des_crypt.h: Likewise.
17819 * include/rpc/key_prot.h: Likewise.
17820 * include/rpc/pmap_clnt.h: Likewise.
17821 * include/rpc/pmap_prot.h: Likewise.
17822 * include/rpc/pmap_rmt.h: Likewise.
17823 * include/rpc/rpc_msg.h: Likewise.
17824 * include/rpc/svc.h: Likewise.
17825 * include/rpc/svc_auth.h: Likewise.
17826 * include/rpc/xdr.h: Likewise.
17827 * nis/Makefile: Link all DSOs against linkobj/libc.so.
17828 * nss/Makefile: Likewise.
17829 * sunrpc/Makefile: Don't install headers. Build library with normal
17830 entry points. Don't build rpcinfo. Link RPC tests appropriately.
17831 * sunrpc/auth_des.c: Hide exported symbols by default, export some
17832 for the compat linking library. Remove use of INTDEF/INTUSE.
17833 * sunrpc/auth_none.c: Likewise.
17834 * sunrpc/auth_unix.c: Likewise.
17835 * sunrpc/authdes_prot.c: Likewise.
17836 * sunrpc/authuxprot.c: Likewise.
17837 * sunrpc/clnt_gen.c: Likewise.
17838 * sunrpc/clnt_perr.c: Likewise.
17839 * sunrpc/clnt_raw.c: Likewise.
17840 * sunrpc/clnt_simp.c: Likewise.
17841 * sunrpc/clnt_tcp.c: Likewise.
17842 * sunrpc/clnt_udp.c: Likewise.
17843 * sunrpc/clnt_unix.c: Likewise.
17844 * sunrpc/des_crypt.c: Likewise.
17845 * sunrpc/des_soft.c: Likewise.
17846 * sunrpc/get_myaddr.c: Likewise.
17847 * sunrpc/key_call.c: Likewise.
17848 * sunrpc/key_prot.c: Likewise.
17849 * sunrpc/netname.c: Likewise.
17850 * sunrpc/pm_getmaps.c: Likewise.
17851 * sunrpc/pm_getport.c: Likewise.
17852 * sunrpc/pmap_clnt.c: Likewise.
17853 * sunrpc/pmap_prot.c: Likewise.
17854 * sunrpc/pmap_prot2.c: Likewise.
17855 * sunrpc/pmap_rmt.c: Likewise.
17856 * sunrpc/publickey.c: Likewise.
17857 * sunrpc/rpc_cmsg.c: Likewise.
17858 * sunrpc/rpc_common.c: Likewise.
17859 * sunrpc/rpc_dtable.c: Likewise.
17860 * sunrpc/rpc_prot.c: Likewise.
17861 * sunrpc/rpc_thread.c: Likewise.
17862 * sunrpc/rtime.c: Likewise.
17863 * sunrpc/svc.c: Likewise.
17864 * sunrpc/svc_auth.c: Likewise.
17865 * sunrpc/svc_authux.c: Likewise.
17866 * sunrpc/svc_raw.c: Likewise.
17867 * sunrpc/svc_run.c: Likewise.
17868 * sunrpc/svc_simple.c: Likewise.
17869 * sunrpc/svc_tcp.c: Likewise.
17870 * sunrpc/svc_udp.c: Likewise.
17871 * sunrpc/svc_unix.c: Likewise.
17872 * sunrpc/svcauth_des.c: Likewise.
17873 * sunrpc/xcrypt.c: Likewise.
17874 * sunrpc/xdr.c: Likewise.
17875 * sunrpc/xdr_array.c: Likewise.
17876 * sunrpc/xdr_float.c: Likewise.
17877 * sunrpc/xdr_intXX_t.c: Likewise.
17878 * sunrpc/xdr_mem.c: Likewise.
17879 * sunrpc/xdr_rec.c: Likewise.
17880 * sunrpc/xdr_ref.c: Likewise.
17881 * sunrpc/xdr_sizeof.c: Likewise.
17882 * sunrpc/xdr_stdio.c: Likewise.
17883
e6c61494
UD
178842011-04-10 Ulrich Drepper <drepper@gmail.com>
17885
17886 [BZ #12650]
17887 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
17888 * sysdeps/ia64/dl-tls.h: Likewise.
17889 * sysdeps/powerpc/dl-tls.h: Likewise.
17890 * sysdeps/s390/dl-tls.h: Likewise.
17891 * sysdeps/sh/dl-tls.h: Likewise.
17892 * sysdeps/sparc/dl-tls.h: Likewise.
17893 * sysdeps/x86_64/dl-tls.h: Likewise.
17894 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
17895
34fe483e
AS
178962011-03-14 Andreas Schwab <schwab@redhat.com>
17897
17898 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
17899 rpath element also skip the following colon.
17900 (expand_dynamic_string_token): Add is_path parameter and pass
17901 down to DL_DST_REQUIRED and _dl_dst_substitute.
17902 (decompose_rpath): Call expand_dynamic_string_token with
17903 non-zero is_path. Ignore empty rpaths.
17904 (_dl_map_object_from_fd): Call expand_dynamic_string_token
17905 with zero is_path.
17906
f12a32e6
AS
179072011-04-08 Andreas Schwab <schwab@linux-m68k.org>
17908
17909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17910 Make cancelable.
17911
38a7d692
UD
179122011-04-09 Ulrich Drepper <drepper@gmail.com>
17913
17914 [BZ #12655]
17915 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
17916 Patch by Filipe David Manana <fdmanana@apache.org>.
17917
e451d22b
AS
179182011-04-07 Andreas Schwab <schwab@redhat.com>
17919
17920 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
17921 Maintain aligned stack.
17922 (CHECK_RSP): Remove unused macro.
17923
dedc7c7b
UD
179242011-04-03 Ulrich Drepper <drepper@gmail.com>
17925
17926 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
17927 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
17928
94521213
UD
179292011-04-02 Ulrich Drepper <drepper@gmail.com>
17930
17931 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
17932
8cb700c0 17933 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 17934
0354e355
L
179352011-03-26 H.J. Lu <hongjiu.lu@intel.com>
17936
17937 [BZ #12518]
17938 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
17939 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
17940 * sysdeps/x86_64/memmove.c: New file.
17941 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
17942 (memcpy): Renamed to ...
17943 (__new_memcpy): This.
17944 (memcpy): Provide GLIBC_2_14 memcpy.
17945 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
17946 (memcpy): Provide GLIBC_2_2_5 memcpy.
17947
8593482f
UD
179482011-04-01 Ulrich Drepper <drepper@gmail.com>
17949
17950 [BZ #12631]
17951 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
17952
81a5726b
AS
179532011-03-30 Andreas Schwab <schwab@redhat.com>
17954
17955 * misc/syncfs.c: New file.
17956 * misc/Makefile (routines): Add syncfs.
17957 * posix/unistd.h: Declare syncfs.
17958 * sysdeps/unix/syscalls.list: Add syncfs.
17959
00e5419f
AS
179602011-04-01 Andreas Schwab <schwab@redhat.com>
17961
17962 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
17963 open_by_handle_at.
17964 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17965 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17966 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17967 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17968 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17969 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
17970 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17971
748876bf
UD
179722011-04-01 Ulrich Drepper <drepper@gmail.com>
17973
658e451d
UD
17974 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
17975 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17976 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
17977 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17978 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17979 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17980 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17981
748876bf
UD
17982 * io/Makefile: Compile fallocate.c, fallocate64.c, and
17983 sync_file_range.c with -fexceptions.
17984 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
17985 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
17986 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17987 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17988 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
17989 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17990 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
17991 sync_file_range as cancellation point
17992 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
17993 now a wrapper around __call_sync_file_range with cancellation handling.
17994 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
17995 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
17996 function name to __call_sync_file_range.
17997 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
17998 Add call_sync_file_range.
748876bf 17999
6e63d5e1
AS
180002011-04-01 Andreas Schwab <schwab@redhat.com>
18001
18002 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 18003 bits/timex.h.
6e63d5e1 18004
46998f74
UD
180052011-04-01 Ulrich Drepper <drepper@gmail.com>
18006
4c1423ed
UD
18007 * iconv/iconv.h: Fix typo in comment.
18008 * io/fcntl.h: Likewise.
18009 * libio/stdio.h: Likewise.
18010 * posix/spawn.h: Likewise.
18011 * posix/unistd.h: Likewise.
18012 * stdlib/stdlib.h: Likewise.
18013 * time/time.h: Likewise.
18014 * wcsmbs/wchar.h: Likewise.
18015
158648c0
UD
18016 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
18017 open_by_handle): Add.
18018 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
18019 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
18020 Augment a few comments.
18021 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18022 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18023 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18024 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18025 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18026 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
18027 open_by_handle.
18028
46998f74
UD
18029 * io/fcntl.h (AT_EMPTY_PATH): Define.
18030
83fe108b
UD
180312011-03-30 Ulrich Drepper <drepper@gmail.com>
18032
18033 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
18034 * sysdeps/unix/sysv/linux/bits/time.h: New file.
18035 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
18036 to...
18037 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
18038 * Versions.def: Add GLIBC_2.14.
18039 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
18040 Export.
83fe108b 18041
bb242059
UD
180422011-03-22 Ulrich Drepper <drepper@gmail.com>
18043
18044 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
18045 round counter.
18046 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18047
c97a1282
L
180482011-03-20 H.J. Lu <hongjiu.lu@intel.com>
18049
18050 [BZ #12597]
18051 * string/test-strncmp.c (do_page_test): New function.
18052 (check2): Likewise.
18053 (test_main): Call check2.
18054 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
18055
2a115601
UD
180562011-03-20 Ulrich Drepper <drepper@gmail.com>
18057
18058 [BZ #12587]
18059 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
18060 Handle cache information in CPU leaf 4.
18061 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18062
8126d904
UD
180632011-03-18 Ulrich Drepper <drepper@gmail.com>
18064
042c49c6 18065 [BZ #12583]
8126d904
UD
18066 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
18067 character representation.
18068 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
18069
ccfe366e
RA
180702011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
18071
18072 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
18073 END(__isnan) to END(__isnanf) to match function entry point/label
18074 EALIGN(__isnanf,...).
18075
c6e13027
JJ
180762011-03-10 Jakub Jelinek <jakub@redhat.com>
18077
18078 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
18079
33f85a3f
UD
180802011-03-10 Ulrich Drepper <drepper@gmail.com>
18081
028478fa
UD
18082 [BZ #12510]
18083 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
18084 copy from the symbol referenced in the relocation to initialize the
18085 used variable.
18086 Patch by Piotr Bury <pbury@goahead.com>.
18087 * elf/Makefile: Add rules to build and tst-unique3.
18088 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
18089 * elf/tst-unique3.cc: New file.
18090 * elf/tst-unique3.h: New file.
18091 * elf/tst-unique3lib.cc: New file.
18092 * elf/tst-unique3lib2.cc: New file.
18093
33f85a3f
UD
18094 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
18095
03592fc7
MF
180962011-03-10 Mike Frysinger <vapier@gentoo.org>
18097
18098 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
18099 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
18100 to _start.
03592fc7 18101
6a5ee102
UD
181022011-03-06 Ulrich Drepper <drepper@gmail.com>
18103
18104 * elf/dl-load.c (_dl_map_object): If we are looking for the first
18105 to-be-loaded object along a path to loader is ld.so.
18106
7e4ba49c
HJ
181072011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18108 Ulrich Drepper <drepper@gmail.com>
18109
18110 * sysdeps/x86_64/memset.S: After aligning destination, code
18111 branches to different locations depending on the value of
18112 misalignment, when multiarch is enabled. Fix this.
18113
181142011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18115
18116 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
18117 Set _x86_64_preferred_memory_instruction for AMD processsors.
18118 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18119 Set bit_Prefer_SSE_for_memop for AMD processors.
18120
13a804de
UD
181212011-03-04 Ulrich Drepper <drepper@gmail.com>
18122
18123 * libio/fmemopen.c (fmemopen): Optimize a bit.
18124
9d25c392
AS
181252011-03-03 Andreas Schwab <schwab@redhat.com>
18126
18127 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
18128
a5543c6a
RM
181292011-03-03 Roland McGrath <roland@redhat.com>
18130
18131 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
18132
012d35f7
DM
181332011-02-28 Aurelien Jarno <aurelien@aurel32.net>
18134
7e4ba49c 18135 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
18136 __bzero_ultra1 instead of __memset_ultra1.
18137
4bff6e01
AS
181382011-02-23 Andreas Schwab <schwab@redhat.com>
18139 Ulrich Drepper <drepper@gmail.com>
18140
18141 [BZ #12509]
18142 * include/link.h (struct link_map): Add l_orig_initfini.
18143 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
18144 returning unsuccessfully.
18145 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
18146 close of a file loaded at startup, restore the original l_initfini
18147 list.
18148 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
18149 list, store the pointer.
18150 * elf/Makefile ($(objpfx)noload-mem): New rule.
18151 (noload-ENV): Define.
18152 (tests): Add $(objpfx)noload-mem.
18153 * elf/noload.c: Include <memcheck.h>.
18154 (main): Call mtrace. Close all opened handles.
18155
f2092faf
AS
181562011-02-17 Andreas Schwab <schwab@redhat.com>
18157
18158 [BZ #12454]
18159 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
18160 dependencies are missing.
18161
6c8a2e88
ST
181622011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
18163
f2092faf 18164 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
18165 Hurd needs munmap.
18166 * sysdeps/mach/hurd/ifreq.h: New file.
18167
84a42118
PB
181682011-01-27 Petr Baudis <pasky@suse.cz>
18169 Ulrich Drepper <drepper@gmail.com>
18170
071f805e 18171 [BZ 12445]#
84a42118
PB
18172 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
18173 to extend_alloca().
18174 * stdio-common/bug23.c: New file.
18175 * stdio-common/Makefile (tests): Add bug23.
18176
e23fe25b
AS
181772010-09-28 Andreas Schwab <schwab@redhat.com>
18178 Ulrich Drepper <drepper@gmail.com>
18179
18180 [BZ #12489]
18181 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
18182 before performing relro protection. At old place add assertion
18183 to make sure nothing changed.
18184
d3f02e10
NS
181852011-02-17 Nathan Sidwell <nathan@codesourcery.com>
18186 Glauber de Oliveira Costa <glommer@gmail.com>
18187
18188 * elf/elf.h: Add new ARM TLS relocs.
18189
d55fd7a5
RA
181902011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
18191
18192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18193 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
18194 cast from r3.
18195 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
18196 'tests' variable.
18197 * sysdeps/wordsize-64/tst-writev.c: New file.
18198
2206397e
RA
181992011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
18200
18201 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
18202 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
18203 insns in _dl_start to prevent a TOC reference before relocs are
18204 resolved.
18205
e9433893
UD
182062011-02-15 Ulrich Drepper <drepper@gmail.com>
18207
18208 [BZ #12469]
18209 * Makeconfig: Remove RANLIB definition.
18210 * Makerules: Don't use RANLIB.
18211 * aclocal.m4: Remove ranlib test.
18212 * configure.in: No need to check for ranlib.
18213 * elf/rtld-Rules: Don't use RANLIB.
18214
f75286c6
ST
182152011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18216
8e31c82d
ST
18217 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
18218 protection macro.
18219 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
18220 inclusion protection macro.
18221
f75286c6
ST
18222 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
18223 SIGRTMIN and SIGRTMAX and print information in that case only when
18224 SIGRTMIN is defined.
18225
c1d0e639
JJ
182262011-02-11 Jakub Jelinek <jakub@redhat.com>
18227
18228 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
18229 arginfo fn returning -1.
18230
18231 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
18232 and thousands string is zero terminated.
18233
edf9294e
AS
182342011-02-03 Andreas Schwab <schwab@redhat.com>
18235
18236 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
18237 sysdeps/unix/sysv/linux/bits/socket.h.
18238
2b7e92df
ST
182392011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
18240
edf9294e
AS
18241 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
18242 (__CPU_COUNT): Remove old macros.
18243 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
18244 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
18245 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
18246 (__sched_cpualloc, __sched_cpufree): Add declarations.
18247
a4c7ea7b
UD
182482011-02-05 Ulrich Drepper <drepper@gmail.com>
18249
18250 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
18251 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
18252 * nscd/aicache.c (addhstaiX): Return timeout of added value.
18253 (readdhstai): Return value of addhstaiX call.
18254 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
18255 (addgrbyX): Return value returned by cache_addgr.
18256 (readdgrbyname): Return value returned by addgrbyX.
18257 (readdgrbygid): Likewise.
18258 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
18259 (addpwbyX): Return value returned by cache_addpw.
18260 (readdpwbyname): Return value returned by addhstbyX.
18261 (readdpwbyuid): Likewise.
18262 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
18263 (addservbyX): Return value returned by cache_addserv.
18264 (readdservbyname): Return value returned by addservbyX:
18265 (readdservbyport): Likewise.
18266 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
18267 (addhstbyX): Return value returned by cache_addhst.
18268 (readdhstbyname): Return value returned by addhstbyX.
18269 (readdhstbyaddr): Likewise.
18270 (readdhstbynamev6): Likewise.
18271 (readdhstbyaddrv6): Likewise.
18272 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
18273 (readdinitgroups): Return value returned by addinitgroupsX.
18274 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
18275 (prune_cache): Keep track of timeout value of re-added entries.
18276 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
18277 * nscd/nscd.h: Adjust prototypes of readd* functions.
18278
a0bf67cc
RM
182792011-02-04 Roland McGrath <roland@redhat.com>
18280
18281 * nis/nis_server.c (nis_servstate): Use the right name for 0.
18282 (nis_stats): Likewise.
18283 * nis/nis_modify.c (nis_modify): Likewise.
18284 * nis/nis_remove.c (nis_remove): Likewise.
18285 * nis/nis_add.c (nis_add): Likewise.
18286
18287 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
18288
18289 * posix/fnmatch_loop.c: Add some consts.
18290
18291 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
18292
435b95eb
L
182932011-02-02 H.J. Lu <hongjiu.lu@intel.com>
18294
18295 [BZ #12460]
18296 * config.make.in (config-cflags-novzeroupper): Define.
18297 * configure.in: Substitute libc_cv_cc_novzeroupper.
18298 * elf/Makefile (AVX-CFLAGS): Define.
18299 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
18300 (CFLAGS-tst-auditmod4a.c): Likewise.
18301 (CFLAGS-tst-auditmod4b.c): Likewise.
18302 (CFLAGS-tst-auditmod6b.c): Likewise.
18303 (CFLAGS-tst-auditmod6c.c): Likewise.
18304 (CFLAGS-tst-auditmod7b.c): Likewise.
18305 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
18306
8517b15e
UD
183072011-02-02 Ulrich Drepper <drepper@gmail.com>
18308
18309 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
18310 function to the callback.
18311 Patch partly by Jiri Olsa <jolsa@redhat.com>.
18312
10a656fe
AS
183132011-02-02 Andreas Schwab <schwab@redhat.com>
18314
18315 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
18316 of errno.
18317
968dad0a
UD
183182011-01-19 Ulrich Drepper <drepper@gmail.com>
18319
9f94d2ea 18320 [BZ #11724]
968dad0a
UD
18321 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
18322 of constructors.
18323 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
18324 of destructors.
18325 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
18326
18327 [BZ #11724]
18328 * elf/Makefile: Add rules to build and run new test.
18329 * elf/tst-initorder.c: New file.
18330 * elf/tst-initorder.exp: New file.
18331 * elf/tst-initordera1.c: New file.
18332 * elf/tst-initordera2.c: New file.
18333 * elf/tst-initordera3.c: New file.
18334 * elf/tst-initordera4.c: New file.
18335 * elf/tst-initorderb1.c: New file.
18336 * elf/tst-initorderb2.c: New file.
18337 * elf/tst-order-a1.c: New file.
18338 * elf/tst-order-a2.c: New file.
18339 * elf/tst-order-a3.c: New file.
18340 * elf/tst-order-a4.c: New file.
18341 * elf/tst-order-b1.c: New file.
18342 * elf/tst-order-b2.c: New file.
18343 * elf/tst-order-main.c: New file.
18344 New test case by George Gensure <werkt0@gmail.com>.
18345
86e92359
UD
183462010-10-01 Andreas Schwab <schwab@redhat.com>
18347
18348 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18349 decoding ACE if AI_CANONIDN.
18350
5d5732b0
UD
183512011-01-18 Ulrich Drepper <drepper@gmail.com>
18352
18353 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
18354
a77e8cbc
UD
183552011-01-17 Ulrich Drepper <drepper@gmail.com>
18356
6392473f
UD
18357 * version.h (RELEASE): Bump for 2.13 release.
18358 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
18359
620a0529
UD
18360 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
18361
18ba70a5
UD
18362 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
18363 MADV_NOHUGEPAGE.
32465c3e
UD
18364 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
18365 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18366 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18367 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
18368 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18369 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18370
c0dafcf1
UD
18371 * posix/getconf.c: Update copyright year.
18372 * catgets/gencat.c: Likewise.
18373 * csu/version.c: Likewise.
18374 * debug/catchsegv.sh: Likewise.
18375 * debug/xtrace.sh: Likewise.
18376 * elf/ldconfig.c: Likewise.
18377 * elf/ldd.bash.in: Likewise.
18378 * elf/sprof.c (print_version): Likewise.
18379 * iconv/iconv_prog.c: Likewise.
18380 * iconv/iconvconfig.c: Likewise.
18381 * locale/programs/locale.c: Likewise.
18382 * locale/programs/localedef.c: Likewise.
18383 * malloc/memusage.sh: Likewise.
18384 * malloc/mtrace.pl: Likewise.
18385 * nscd/nscd.c (print_version): Likewise.
18386 * nss/getent.c: Likewise.
18387
a77e8cbc
UD
18388 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
18389 PF_CAIF, and PF_ALG.
18390 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18391
77e8bddf
AS
183922011-01-16 Andreas Schwab <schwab@linux-m68k.org>
18393
1f20b93a
AS
18394 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
18395 (modules-names): Use them.
18396 (ifunc-test-modules, ifunc-pie-tests): Define.
18397 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
18398 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
18399 (test-extras): Likewise.
18400 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
18401 $(compile-command.c).
18402 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
18403 (all-built-dso): Define.
18404 (check-textrel.out, check-execstack.out): Depend on it.
18405
77e8bddf
AS
18406 * configure.in: Don't override --enable-multi-arch.
18407
bc425b33
UD
184082011-01-15 Ulrich Drepper <drepper@gmail.com>
18409
18410 [BZ #6812]
18411 * nscd/hstcache.c (tryagain): Define.
18412 (cache_addhst): Return tryagain not notfound for temporary errors.
18413 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
18414 failed.
18415
794c3ad3
UD
184162011-01-14 Ulrich Drepper <drepper@gmail.com>
18417
70181fdd
UD
18418 [BZ #10563]
18419 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
18420 to make the syscall.
18421 * sysdeps/unix/sysv/linux/setgroups.c: New file.
18422
794c3ad3
UD
18423 [BZ #12378]
18424 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
18425 and fall back to matching as normal character if the string ends before
18426 the matching ']' is found. This is what POSIX requires.
18427 * posix/testfnm.c: Adjust test result.
18428 * posix/globtest.sh: Adjust test result. Add new test.
18429 * posix/tst-fnmatch.input: Likewise.
18430 * posix/tst-fnmatch2.c: Add new test.
18431
68dc9497
AS
184322010-12-28 Andreas Schwab <schwab@linux-m68k.org>
18433
18434 * elf/Makefile (check-execstack): Revert last change. Depend on
18435 check-execstack.h.
18436 (check-execstack.h): New target.
18437 (generated): Add check-execstack.h.
18438 * elf/check-execstack.c: Include "check-execstack.h".
18439 (main): Revert last change.
18440 (handle_file): Return zero if GNU_STACK is absent and
18441 DEFAULT_STACK_PERMS doesn't include PF_X.
18442
451f001b
UD
184432011-01-13 Ulrich Drepper <drepper@gmail.com>
18444
cfa28e56
UD
18445 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
18446 in child fails because the descriptor is already closed.
8cf8ce17
UD
18447 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
18448 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
18449 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 18450
1086d70d
UD
18451 [BZ #12397]
18452 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
18453 syscall.
18454
451f001b
UD
18455 [BZ #10484]
18456 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
18457 temporary buffer used to handle multi lookups locally.
a85b5cb4 18458 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 18459
08769175
UD
184602011-01-12 Ulrich Drepper <drepper@gmail.com>
18461
18462 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
18463 loader is ld.so.
18464
5e49c52e
UD
184652011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
18466
18467 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
18468 alignment for SSE2.
18469
60522a5f
UD
184702011-01-12 Ulrich Drepper <drepper@gmail.com>
18471
18472 [BZ #12394]
18473 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
18474 characters. When rounding increased number of integer digits recompute
18475 number of groups.
18476 * stdio-common/tst-grouping.c: New file.
18477 * stdio-common/Makefile: Add rules to build and run tst-grouping.
18478
f257bbd7
UD
184792011-01-09 Ulrich Drepper <drepper@gmail.com>
18480
18481 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
18482 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
18483
18484 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
18485 void.
18486 * bits/select.h: Likewise.
18487
fa9c15cb
UD
184882011-01-08 Ulrich Drepper <drepper@gmail.com>
18489
18490 * po/ja.po: Update from translation team.
18491
16c2895f
DM
184922011-01-04 David S. Miller <davem@sunset.davemloft.net>
18493
18494 [BZ #11155]
18495 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
18496 implementation just like for lxstat, fxstatat, et al.
18497
2543fef2
JM
184982010-12-27 Jim Meyering <meyering@redhat.com>
18499
18500 [BZ #12348]
18501 * posix/regexec.c (build_trtable): Return failure indication upon
18502 calloc failure. Otherwise, re_search_internal could infloop on OOM.
18503
98727dbe
UD
185042010-12-25 Ulrich Drepper <drepper@gmail.com>
18505
5bd6dc5c
UD
18506 [BZ #12201]
18507 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
18508 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
18509 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
18510 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
18511
97983464
UD
18512 [BZ #12207]
18513 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
18514
98727dbe
UD
18515 [BZ #12204]
18516 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
18517 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
18518
4a531bb0
L
185192010-12-15 H.J. Lu <hongjiu.lu@intel.com>
18520
18521 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
18522 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
18523 script has SORT_BY_INIT_PRIORITY.
18524 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
18525 NO_CTORS_DTORS_SECTIONS is defined.
18526 * elf/soinit.c: Likewise.
18527 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
18528 NO_CTORS_DTORS_SECTIONS is defined.
18529 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
18530 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
18531 * sysdeps/sh/init-first.c: Likewise.
18532 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
18533
07eb4b71
UD
185342010-12-24 Ulrich Drepper <drepper@gmail.com>
18535
18536 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
18537 always use the slow path.
18538
30950a5f
RA
185392010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
18540
18541 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
18542 similar rule which adds the sysdep directories to the header search in
18543 order to pick up the correct platform stackinfo.h.
18544 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
18545 perform test if it is, otherwise return successfully without testing.
18546 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
18547 DEFAULT_STACK_PERMS define in stackinfo.h.
18548 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
18549 defined in stackinfo.h.
18550 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
18551 DEFAULT_STACK_PERMS defined in stackinfo.h.
18552 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
18553 * sysdeps/ia64/stackinfo.h: Likewise.
18554 * sysdeps/s390/stackinfo.h: Likewise.
18555 * sysdeps/sh/stackinfo.h: Likewise.
18556 * sysdeps/sparc/stackinfo.h: Likewise.
18557 * sysdeps/x86_64/stackinfo.h: Likewise.
18558 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
18559 PF_X for powerpc64. Retain PF_X for powerpc32.
18560
db753e2c
UD
185612010-12-19 Ulrich Drepper <drepper@gmail.com>
18562
14b697f7
UD
18563 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
18564 accurately.
db753e2c
UD
18565 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
18566 GETDENTS_64BIT_ALIGNED.
18567
28300719
UD
185682010-12-14 Ulrich Drepper <dreper@gmail.com>
18569
14b697f7 18570 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 18571
4f197237
AS
185722010-12-10 Andreas Schwab <schwab@redhat.com>
18573
dbb0472f
AS
18574 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
18575 _GNU_SOURCE.
18576
4f197237
AS
18577 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
18578 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
18579 Remove __restrict.
18580 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
18581 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
18582
fb88ac72
UD
185832010-12-09 Ulrich Drepper <drepper@gmail.com>
18584
18585 [BZ #11655]
18586 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
18587 are initialized.
18588
42acbb92
JJ
185892010-12-09 Jakub Jelinek <jakub@redhat.com>
18590
18591 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
18592
c038d98d
UD
185932010-12-03 Ulrich Drepper <drepper@gmail.com>
18594
18595 * po/it.po: Update from translation team.
18596
3a4a2499
L
185972010-12-01 H.J. Lu <hongjiu.lu@intel.com>
18598
18599 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
18600 unused codes.
18601
1e24cf6e
UD
186022010-11-30 Ulrich Drepper <drepper@gmail.com>
18603
18604 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
18605
a7690819
AS
186062010-11-24 Andreas Schwab <schwab@redhat.com>
18607
18608 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
18609 specially.
18610 (gaih_getanswer_slice): Likewise.
18611
3bf8d1b1
JJ
186122010-10-20 Jakub Jelinek <jakub@redhat.com>
18613
18614 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
18615
6db52fbb
PB
186162010-05-31 Petr Baudis <pasky@suse.cz>
18617
18618 [BZ #11149]
18619 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
18620 silently even in the chroot mode.
18621
eaca7569
UD
186222010-11-22 Ulrich Drepper <drepper@gmail.com>
18623
18624 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
18625 last patch a bit. Pretty printing
18626
3056dcdb
UD
186272010-05-31 Petr Baudis <pasky@suse.cz>
18628
18629 [BZ #10085]
18630 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
18631 initialization of skip_initgroups_dyn.
18632
cf7c9078
UD
186332010-11-19 Ulrich Drepper <drepper@gmail.com>
18634
18635 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
18636 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18637
a1fb5e3e
UD
186382010-11-16 Ulrich Drepper <drepper@gmail.com>
18639
18640 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
18641
3540d66b
AS
186422010-11-11 Andreas Schwab <schwab@redhat.com>
18643
18644 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
18645 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
18646 (tst-fnmatch-ENV): Set MALLOC_TRACE.
18647 ($(objpfx)tst-fnmatch-mem): New rule.
18648 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
18649 * posix/tst-fnmatch.c (main): Call mtrace.
18650
13b69574
L
186512010-11-11 H.J. Lu <hongjiu.lu@intel.com>
18652
18653 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18654 Support Intel processor model 6 and model 0x2c.
18655
da93d214
LM
186562010-11-10 Luis Machado <luisgpm@br.ibm.com>
18657
18658 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
18659 signed comparison.
18660
8ca52c6e
L
186612010-11-09 H.J. Lu <hongjiu.lu@intel.com>
18662
18663 [BZ #12205]
18664 * string/test-strncasecmp.c (check_result): New function.
18665 (do_one_test): Use it.
18666 (check1): New function.
18667 (test_main): Use it.
18668 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
18669 Support strcasecmp and strncasecmp.
18670
69da074d
UD
186712010-11-08 Ulrich Drepper <drepper@gmail.com>
18672
18673 [BZ #12194]
18674 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
18675 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18676
ff02d528
L
186772010-11-07 H.J. Lu <hongjiu.lu@intel.com>
18678
18679 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
18680 IFUNC support.
18681 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18682 memset-x86-64.
18683 * sysdeps/x86_64/multiarch/bzero.S: New file.
18684 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
18685 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
18686 * sysdeps/x86_64/multiarch/memset.S: New file.
18687 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
18688 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18689 Set bit_Prefer_SSE_for_memop for Intel processors.
18690 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
18691 Define.
18692 (index_Prefer_SSE_for_memop): Define.
18693 (HAS_PREFER_SSE_FOR_MEMOP): Define.
18694
344d0b54
LM
186952010-11-04 Luis Machado <luisgpm@br.ibm.com>
18696
18697 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
18698 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
18699
c0dde15b
UD
187002010-11-03 H.J. Lu <hongjiu.lu@intel.com>
18701
18702 [BZ #12191]
18703 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18704 (__x86_64_raw_data_cache_size_half): Likewise.
18705 (__x86_64_raw_shared_cache_size): Likewise.
18706 (__x86_64_raw_shared_cache_size_half): Likewise.
18707
18708 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18709 (__x86_64_raw_data_cache_size_half): Likewise.
18710 (__x86_64_raw_shared_cache_size): Likewise.
18711 (__x86_64_raw_shared_cache_size_half): Likewise.
18712 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
18713 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
18714 and __x86_64_raw_shared_cache_size_half. Round
18715 __x86_64_data_cache_size_half, __x86_64_data_cache_size
18716 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
18717 to multiple of 256 bytes.
18718
0e516e0e
MS
187192010-11-03 Ulrich Drepper <drepper@gmail.com>
18720
18721 [BZ #12167]
18722 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
18723 of inacessible symlinks. Verify result of symlink before returning it.
18724 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18725 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
18726
0e012e87
ER
187272010-10-28 Erich Ritz <erichritz@gmail.com>
18728
18729 * math/math.h (isinf): Fix typo in comment.
18730
de0ff7bc
UD
187312010-11-01 Ulrich Drepper <drepper@gmail.com>
18732
18733 * po/da.po: Update from translation team.
18734
fa41c84d
UD
187352010-10-26 Ulrich Drepper <drepper@gmail.com>
18736
18737 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
18738 is added to the list.
18739
f0967738
AK
187402010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18741 Ulrich Drepper <drepper@gmail.com>
18742
18743 * elf/dl-object.c (_dl_new_object): Don't append the new object to
18744 the global list here. Move code to...
18745 (_dl_add_to_namespace_list): ...here. New function.
18746 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
18747 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
18748 * elf/dl-load.c (lose): Don't remove the element from the list.
18749 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
18750 (_dl_map_object): Likewise.
18751
187522010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
18753
18754 [BZ #12159]
18755 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
18756 into all bytes of SSE register.
18757 Patch by Richard Li <richardpku@gmail.com>.
18758
f0967738 187592010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
18760
18761 [BZ #12140]
18762 * malloc/malloc.c (_int_free): Fill correct number of bytes when
18763 perturbing.
18764
d0b9e94f
MB
187652010-10-20 Michael B. Brutman <brutman@us.ibm.com>
18766
18767 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
18768 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
18769 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
18770 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
18772 submachine.
18773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18774
8e9f92e9
AS
187752010-10-22 Andreas Schwab <schwab@redhat.com>
18776
18777 * include/dlfcn.h (__RTLD_SECURE): Define.
18778 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
18779 mode & __RTLD_SECURE instead.
18780 (open_path): Rename preloaded parameter to secure.
18781 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
18782 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
18783 * elf/dl-deps.c (openaux): Likewise.
18784 * elf/rtld.c (struct map_args): Remove is_preloaded.
18785 (map_doit): Don't use it.
18786 (dl_main): Likewise.
18787 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
18788 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
18789
bc96fbda
AS
187902010-09-09 Andreas Schwab <schwab@redhat.com>
18791
18792 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
18793 (sysd-rules-targets): Remove duplicates.
18794 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
18795 rtld-%.$o dependency.
18796
22cd1c9b
AS
187972010-10-18 Andreas Schwab <schwab@redhat.com>
18798
18799 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
18800 _dl_map_object do it.
18801
18edac48
UD
188022010-10-19 Ulrich Drepper <drepper@gmail.com>
18803
18804 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
18805 fast fma builtins, define the macros in the C99 standard.
18806 (FP_FAST_FMAF): Likewise.
18807 (FP_FAST_FMAL): Likewise.
18808 * sysdeps/x86_64/bits/mathdef.h: Likewise.
18809
18810 * bits/mathdef.h: Update copyright year.
18811 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18812
d2050124
MM
188132010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
18814
18815 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
18816 builtins, define the macros in the C99 standard.
18817 (FP_FAST_FMAF): Likewise.
18818 (FP_FAST_FMAL): Likewise.
18819 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
18820 multiply/add.
18821 (FP_FAST_FMAF): Likewise.
18822
475facd1
JJ
188232010-10-15 Jakub Jelinek <jakub@redhat.com>
18824
18825 [BZ #3268]
18826 * math/libm-test.inc (fma_test): Some new testcases.
18827 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
18828 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
18829 y and infinite z. Do multiplication by C already in long double.
18830 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
18831 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
18832 y and infinite z. Do bitwise or of inexact bit into u.d.
18833 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
18834 * sysdeps/i386/fpu/s_fmaf.S: Removed.
18835 * sysdeps/i386/fpu/s_fma.S: Removed.
18836 * sysdeps/i386/fpu/s_fmal.S: Removed.
18837
7c08a05c
JJ
188382010-10-16 Jakub Jelinek <jakub@redhat.com>
18839
18840 [BZ #3268]
18841 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
18842 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
18843 computation is not scheduled after fetestexcept. Fix value
18844 of minimum denormal long double.
18845
f3f7372d
JJ
188462010-10-14 Jakub Jelinek <jakub@redhat.com>
18847
18848 [BZ #3268]
18849 * math/libm-test.inc (fma_test): Add some more tests.
18850 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
18851 correctly.
18852
14d43591
AS
188532010-10-15 Andreas Schwab <schwab@redhat.com>
18854
18855 * scripts/data/localplt-s390-linux-gnu.data: New file.
18856 * scripts/data/localplt-s390x-linux-gnu.data: New file.
18857
5e908464
JJ
188582010-10-13 Jakub Jelinek <jakub@redhat.com>
18859
18860 [BZ #3268]
18861 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
18862 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
18863 instead of dbl-64.
18864 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
18865 inlines.
18866 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
18867 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
18868 if one of x and y is very large and the other is subnormal.
18869 * sysdeps/s390/fpu/s_fmaf.c: New file.
18870 * sysdeps/s390/fpu/s_fma.c: New file.
18871 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
18872 * sysdeps/powerpc/fpu/s_fma.S: New file.
18873 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
18874 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
18875 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
18876
188772010-10-12 Jakub Jelinek <jakub@redhat.com>
18878
18879 [BZ #3268]
18880 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
18881 fma tests.
18882 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
18883 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
18884 * sysdeps/i386/i686/multiarch/s_fma.c: Include
18885 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
18886 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
18887 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
18888 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
18889
b833d51f
UD
188902010-10-12 Ulrich Drepper <drepper@redhat.com>
18891
18892 [BZ #12078]
18893 * posix/regcomp.c (parse_branch): One more memory leak plugged.
18894 * posix/bug-regex31.input: Add test case.
18895
1751705d
UD
188962010-10-11 Ulrich Drepper <drepper@gmail.com>
18897
e9b9cbf5
UD
18898 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
18899 * posix/bug-regex31.input: New file.
18900
18901 [BZ #12078]
18902 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
18903 (parse_sub_exp): Fix last change, use postorder.
18904
ef06edbe
UD
18905 * posix/bug-regex31.c: New file.
18906 * posix/Makefile: Add rules to build and run bug-regex31.
18907
a129c80d
UD
18908 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
18909
18910 [BZ #12078]
18911 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
18912
b76b818e
UD
18913 [BZ #12108]
18914 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
18915 to have entries in sys_siglist.
18916
1751705d
UD
18917 [BZ #12093]
18918 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
18919 be NULL.
18920
9ff8d36f
JJ
189212010-10-07 Jakub Jelinek <jakub@redhat.com>
18922
18923 [BZ #3268]
18924 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
18925 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
18926 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
18927 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
18928 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18929 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
18930 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
18931 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
18932 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
18933 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
18934 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
18935 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
18936 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18937 * math/ftestexcept.c (fetestexcept): Likewise.
18938 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
18939 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
18940 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
18941 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
18942 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
18943 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
18944 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18945
af325969
UD
189462010-10-11 Ulrich Drepper <drepper@gmail.com>
18947
c579b202 18948 [BZ #12107]
af325969
UD
18949 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
18950 newline.
18951
67a67b95
UD
189522010-10-06 Ulrich Drepper <drepper@gmail.com>
18953
18954 * string/bug-strstr1.c: New file.
18955 * string/Makefile: Add rules to build and run bug-strstr1.
18956
5fb308bc
EB
189572010-10-05 Eric Blake <eblake@redhat.com>
18958
18959 [BZ #12092]
18960 * string/str-two-way.h (two_way_long_needle): Always clear memory
18961 when skipping input due to the shift table.
18962
45db99c7
UD
189632010-10-03 Ulrich Drepper <drepper@gmail.com>
18964
3b111893
UD
18965 [BZ #12005]
18966 * malloc/mcheck.c: Handle large requests.
18967
45db99c7
UD
18968 [BZ #12077]
18969 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
18970 for strncmp and strncasecmp.
18971 * string/stratcliff.c: Add tests for strcmp and strncmp.
18972 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
18973
cf7a1eb8
NI
189742010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18975
18976 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
18977 __set_fpscr.
18978
6484ba5e
AJ
189792010-09-30 Andreas Jaeger <aj@suse.de>
18980
18981 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
18982 (CGROUP_SUPER_MAGIC): Define.
18983 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18984 Handle btrfs and cgroup file systems.
18985 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18986 Likewise.
18987
91c42559
LM
189882010-09-27 Luis Machado <luisgpm@br.ibm.com>
18989
18990 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
18991 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
18992
87a97932
AK
189932010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18994
18995 [BZ #12067]
18996 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
18997 trying to locate the ELF header.
18998
c21cc9bc
AS
189992010-09-27 Andreas Schwab <schwab@redhat.com>
19000
19001 [BZ #11611]
19002 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
19003 Mask out sign-bit copies when constructing f_fsid.
19004
315970f6
PB
190052010-09-24 Petr Baudis <pasky@suse.cz>
19006
19007 * debug/stack_chk_fail_local.c: Add missing licence exception.
19008 * debug/warning-nop.c: Likewise.
19009
1ac7a2c7
JM
190102010-09-15 Joseph Myers <joseph@codesourcery.com>
19011
19012 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
19013 implementing getdents64 using getdents syscall, set d_type if
19014 __ASSUME_GETDENTS32_D_TYPE.
19015
56801c50
AS
190162010-09-16 Andreas Schwab <schwab@redhat.com>
19017
19018 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
19019 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
19020
dda51327
UD
190212010-09-21 Ulrich Drepper <drepper@redhat.com>
19022
19023 [BZ #12037]
19024 * posix/unistd.h: Undo change of feature selection for ftruncate from
19025 2010-01-11.
19026
8ffcee4a
UD
190272010-09-20 Ulrich Drepper <drepper@redhat.com>
19028
a545ecd9 19029 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
19030 detection.
19031
e24f0a8b
AS
190322010-09-20 Andreas Schwab <schwab@redhat.com>
19033
19034 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
19035 fanotify_mark.
19036 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19037
7291c56f
AS
190382010-09-14 Andreas Schwab <schwab@redhat.com>
19039
19040 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
19041 variables after CHECK_SP call.
19042 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
19043
bc5fb037
AS
190442010-09-13 Andreas Schwab <schwab@redhat.com>
19045 Ulrich Drepper <drepper@redhat.com>
19046
19047 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
19048 re-relocationg ld.so.
19049 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
19050 _dl_init_paths call.
19051 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
19052 here anymore.
19053
e66e7419
UD
190542010-09-14 Ulrich Drepper <drepper@redhat.com>
19055
19056 * resolv/res_init.c (__res_vinit): Count the default server we added.
19057
c044aa75
CLT
190582010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
19059 Ulrich Drepper <drepper@redhat.com>
19060
19061 [BZ #11968]
19062 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19063 (____longjmp_chk): Use %ebx for saving value across system call.
19064 Add unwind info.
19065
32cf4069
AS
190662010-09-06 Andreas Schwab <schwab@redhat.com>
19067
19068 * manual/Makefile: Don't mix pattern rules with normal rules.
19069
817328ee
AS
190702010-09-05 Andreas Schwab <schwab@linux-m68k.org>
19071
19072 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
19073 operation.
19074 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
19075 * libio/iofopncook.c (_IO_cookie_init): Likewise.
19076 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
19077 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
19078 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19079 Likewise.
19080
29fddf61
UD
190812010-09-04 Ulrich Drepper <drepper@redhat.com>
19082
19083 [BZ #11979]
19084 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
19085 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
19086
0959ffc9
UD
190872010-09-02 Ulrich Drepper <drepper@redhat.com>
19088
19089 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
19090 * sysdeps/x86_64/addmul_1.S: Likewise.
19091 * sysdeps/x86_64/lshift.S: Likewise.
19092 * sysdeps/x86_64/mul_1.S: Likewise.
19093 * sysdeps/x86_64/rshift.S: Likewise.
19094 * sysdeps/x86_64/sub_n.S: Likewise.
19095 * sysdeps/x86_64/submul_1.S: Likewise.
19096
ece29840
ST
190972010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
19098
0959ffc9
UD
19099 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
19100 Define __sched_param instead of SCHED_* and sched_param when
ece29840 19101 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 19102 * bits/sched.h [__need_schedparam]
ece29840 19103 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
19104 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
19105 (__defined_schedparam): Define to 1.
ece29840
ST
19106 (__sched_param): New structure, identical to sched_param.
19107 (__need_schedparam): Undefine.
19108
e53a31fe
MF
191092010-08-31 Mike Frysinger <vapier@gentoo.org>
19110
fdc0c10d
MF
19111 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
19112 (epoll_create1): Declare.
19113
e53a31fe
MF
19114 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
19115
a726d796
AS
191162010-08-31 Andreas Schwab <schwab@redhat.com>
19117
19118 [BZ #7066]
19119 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
19120 shifting retval into place.
19121
2f3e3dc7
UD
191222010-09-01 Ulrich Drepper <drepper@redhat.com>
19123
f2933da9
UD
19124 * nis/rpcsvc/nis.h: Update copyright notice.
19125 * nis/rpcsvc/nis.x: Likewise.
19126 * nis/rpcsvc/nis_callback.h: Likewise.
19127 * nis/rpcsvc/nis_callback.x: Likewise.
19128 * nis/rpcsvc/nis_object.x: Likewise.
19129 * nis/rpcsvc/nis_tags.h: Likewise.
19130 * nis/rpcsvc/yp.h: Likewise.
19131 * nis/rpcsvc/yp.x: Likewise.
19132 * nis/rpcsvc/ypupd.h: Likewise.
19133 * nis/yp_xdr.c: Likewise.
19134 * nis/ypupdate_xdr.c: Likewise.
19135
2f3e3dc7
UD
19136 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
19137 mainly the body of pmap_getport. Add parameters to specify timeouts.
19138 (pmap_getport): Use __libc_rpc_getport.
19139 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
19140 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
19141 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
19142
f3dcc2f9
AS
191432010-08-31 Andreas Schwab <schwab@linux-m68k.org>
19144
19145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
19146 fanotify_mark.
19147
6d34eb5b
RM
191482010-08-27 Roland McGrath <roland@redhat.com>
19149
19150 * sysdeps/i386/i686/multiarch/Makefile
19151 (CFLAGS-varshift.c): New variable.
19152
9ea3de11
UD
191532010-08-27 Ulrich Drepper <drepper@redhat.com>
19154
c96d23fc
UD
19155 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
19156 * sysdeps/i386/i686/multiarch/varshift.c: New file.
19157
9ea3de11
UD
19158 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
19159
19160 * sysdeps/x86_64/strlen.S: Minimal code improvement.
19161
623aac7f
L
191622010-08-26 H.J. Lu <hongjiu.lu@intel.com>
19163
19164 * sysdeps/x86_64/strlen.S: Unroll the loop.
19165 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19166 strlen-sse2 strlen-sse2-bsf.
19167 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
19168 __strlen_no_bsf if bit_Slow_BSF is set.
19169 (__strlen_sse42): Removed.
19170 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
19171 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
19172
8b2b7715
RM
191732010-08-25 Roland McGrath <roland@redhat.com>
19174
19175 * sysdeps/x86_64/multiarch/varshift.S: File removed.
19176 * sysdeps/x86_64/multiarch/varshift.c: New file.
19177 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
19178 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
19179 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
19180 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19181
e73015f2
L
191822010-08-25 H.J. Lu <hongjiu.lu@intel.com>
19183
19184 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19185 strlen-sse2 strlen-sse2-bsf.
19186 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
19187 __strlen_sse2_bsf if bit_Slow_BSF is unset.
19188 (__strlen_sse2): Removed.
19189 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
19190 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
19191 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19192 bit_Slow_BSF for Atom.
19193 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
19194 (index_Slow_BSF): Define.
19195 (HAS_SLOW_BSF): Define.
19196
df24a73e
UD
191972010-08-25 Ulrich Drepper <drepper@redhat.com>
19198
19199 [BZ #10851]
19200 * resolv/res_init.c (__res_vinit): When no server address at all
19201 is given default to loopback.
19202
f2ac4868
RM
192032010-08-24 Roland McGrath <roland@redhat.com>
19204
09055553
RM
19205 * configure.in: Remove config-name.h generation.
19206 * configure: Regenerated.
19207 * config-name.in: File removed.
19208 * scripts/config-uname.sh: New file.
19209 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
19210 ($(objdir)config-name.h): New target.
19211
f2ac4868
RM
19212 * sunrpc/rpc_parse.h: Avoid nested comment.
19213
73f27d5e
RH
192142010-08-24 Richard Henderson <rth@redhat.com>
19215 Ulrich Drepper <drepper@redhat.com>
19216 H.J. Lu <hongjiu.lu@intel.com>
19217
19218 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
19219 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
19220 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
19221 Replace _mm_srli_si128 with __m128i_shift_right. Replace
19222 _mm_alignr_epi8 with _mm_loadu_si128.
19223 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
19224 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
19225 (__m128i_shift_right): Removed.
19226 * sysdeps/i386/i686/multiarch/varshift.h: New file.
19227 * sysdeps/i386/i686/multiarch/varshift.S: New file.
19228 * sysdeps/x86_64/multiarch/varshift.h: New file.
19229 * sysdeps/x86_64/multiarch/varshift.S: New file.
19230
84b9230c
MF
192312010-08-21 Mike Frysinger <vapier@gentoo.org>
19232
19233 * configure.in: Move assembler checks to before sysdep dir checking.
19234
9bbd0ddc
PB
192352010-08-20 Petr Baudis <pasky@suse.cz>
19236
19237 * LICENSES: Sync the sunrpc license.
19238
9da4bb31
UD
192392010-08-19 Ulrich Drepper <drepper@redhat.com>
19240
a7ab6ec8
UD
19241 * sunrpc/auth_des.c: Update copyright notice once again.
19242 * sunrpc/auth_none.c: Likewise.
19243 * sunrpc/auth_unix.c: Likewise.
19244 * sunrpc/authdes_prot.c: Likewise.
19245 * sunrpc/authuxprot.c: Likewise.
19246 * sunrpc/bindrsvprt.c: Likewise.
19247 * sunrpc/clnt_gen.c: Likewise.
19248 * sunrpc/clnt_perr.c: Likewise.
19249 * sunrpc/clnt_raw.c: Likewise.
19250 * sunrpc/clnt_simp.c: Likewise.
19251 * sunrpc/clnt_tcp.c: Likewise.
19252 * sunrpc/clnt_udp.c: Likewise.
19253 * sunrpc/clnt_unix.c: Likewise.
19254 * sunrpc/des_crypt.c: Likewise.
19255 * sunrpc/des_soft.c: Likewise.
19256 * sunrpc/get_myaddr.c: Likewise.
19257 * sunrpc/getrpcport.c: Likewise.
19258 * sunrpc/key_call.c: Likewise.
19259 * sunrpc/key_prot.c: Likewise.
19260 * sunrpc/openchild.c: Likewise.
19261 * sunrpc/pm_getmaps.c: Likewise.
19262 * sunrpc/pm_getport.c: Likewise.
19263 * sunrpc/pmap_clnt.c: Likewise.
19264 * sunrpc/pmap_prot.c: Likewise.
19265 * sunrpc/pmap_prot2.c: Likewise.
19266 * sunrpc/pmap_rmt.c: Likewise.
19267 * sunrpc/rpc/auth.h: Likewise.
19268 * sunrpc/rpc/auth_unix.h: Likewise.
19269 * sunrpc/rpc/clnt.h: Likewise.
19270 * sunrpc/rpc/des_crypt.h: Likewise.
19271 * sunrpc/rpc/key_prot.h: Likewise.
19272 * sunrpc/rpc/netdb.h: Likewise.
19273 * sunrpc/rpc/pmap_clnt.h: Likewise.
19274 * sunrpc/rpc/pmap_prot.h: Likewise.
19275 * sunrpc/rpc/pmap_rmt.h: Likewise.
19276 * sunrpc/rpc/rpc.h: Likewise.
19277 * sunrpc/rpc/rpc_des.h: Likewise.
19278 * sunrpc/rpc/rpc_msg.h: Likewise.
19279 * sunrpc/rpc/svc.h: Likewise.
19280 * sunrpc/rpc/svc_auth.h: Likewise.
19281 * sunrpc/rpc/types.h: Likewise.
19282 * sunrpc/rpc/xdr.h: Likewise.
19283 * sunrpc/rpc_clntout.c: Likewise.
19284 * sunrpc/rpc_cmsg.c: Likewise.
19285 * sunrpc/rpc_common.c: Likewise.
19286 * sunrpc/rpc_cout.c: Likewise.
19287 * sunrpc/rpc_dtable.c: Likewise.
19288 * sunrpc/rpc_hout.c: Likewise.
19289 * sunrpc/rpc_main.c: Likewise.
19290 * sunrpc/rpc_parse.c: Likewise.
19291 * sunrpc/rpc_parse.h: Likewise.
19292 * sunrpc/rpc_prot.c: Likewise.
19293 * sunrpc/rpc_sample.c: Likewise.
19294 * sunrpc/rpc_scan.c: Likewise.
19295 * sunrpc/rpc_scan.h: Likewise.
19296 * sunrpc/rpc_svcout.c: Likewise.
19297 * sunrpc/rpc_tblout.c: Likewise.
19298 * sunrpc/rpc_util.c: Likewise.
19299 * sunrpc/rpc_util.h: Likewise.
19300 * sunrpc/rpcinfo.c: Likewise.
19301 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
19302 * sunrpc/rpcsvc/key_prot.x: Likewise.
19303 * sunrpc/rpcsvc/klm_prot.x: Likewise.
19304 * sunrpc/rpcsvc/mount.x: Likewise.
19305 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
19306 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
19307 * sunrpc/rpcsvc/rex.x: Likewise.
19308 * sunrpc/rpcsvc/rstat.x: Likewise.
19309 * sunrpc/rpcsvc/rusers.x: Likewise.
19310 * sunrpc/rpcsvc/sm_inter.x: Likewise.
19311 * sunrpc/rpcsvc/spray.x: Likewise.
19312 * sunrpc/rpcsvc/yppasswd.x: Likewise.
19313 * sunrpc/rtime.c: Likewise.
19314 * sunrpc/svc.c: Likewise.
19315 * sunrpc/svc_auth.c: Likewise.
19316 * sunrpc/svc_authux.c: Likewise.
19317 * sunrpc/svc_raw.c: Likewise.
19318 * sunrpc/svc_run.c: Likewise.
19319 * sunrpc/svc_simple.c: Likewise.
19320 * sunrpc/svc_tcp.c: Likewise.
19321 * sunrpc/svc_udp.c: Likewise.
19322 * sunrpc/svc_unix.c: Likewise.
19323 * sunrpc/svcauth_des.c: Likewise.
19324 * sunrpc/xcrypt.c: Likewise.
19325 * sunrpc/xdr.c: Likewise.
19326 * sunrpc/xdr_array.c: Likewise.
19327 * sunrpc/xdr_float.c: Likewise.
19328 * sunrpc/xdr_mem.c: Likewise.
19329 * sunrpc/xdr_rec.c: Likewise.
19330 * sunrpc/xdr_ref.c: Likewise.
19331 * sunrpc/xdr_sizeof.c: Likewise.
19332 * sunrpc/xdr_stdio.c: Likewise.
19333
9da4bb31
UD
19334 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
19335 handling.
19336
bdaa77bc
AS
193372010-08-19 Andreas Schwab <schwab@redhat.com>
19338
19339 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
19340
fe2f79db
LM
193412010-08-19 Luis Machado <luisgpm@br.ibm.com>
19342
19343 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
19344 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
19345 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
19346 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
19347 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
19348 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
19349 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
19350 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
19351 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
19352 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
19353 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
19354 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
19355 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
19356 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
19357
b9b42ee0
AB
193582010-07-26 Anton Blanchard <anton@samba.org>
19359
19360 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
19361 * malloc/arena.c (heap_trim): Likewise.
19362
1c06ba31
UD
193632010-08-16 Ulrich Drepper <drepper@redhat.com>
19364
19365 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
19366 here. Not...
19367 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
19368 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
19369
f8392f40
L
193702010-08-12 H.J. Lu <hongjiu.lu@intel.com>
19371
19372 * sysdeps/i386/elf/Makefile: New file.
19373
3162f12e
AS
193742010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19375
19376 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
19377 from fanotify_init.
19378 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
19379 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19380
28c90b2c
UD
193812010-08-15 Ulrich Drepper <drepper@redhat.com>
19382
19383 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
19384 of strncasecmp_l.
1feccb6c 19385 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 19386
ca6bb004
UD
193872010-08-14 Ulrich Drepper <drepper@redhat.com>
19388
e9f82e0d
UD
19389 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19390 strncase_l-nonascii.
19391 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19392 Add strncase_l-ssse3.
19393 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
19394 * sysdeps/x86_64/strcmp.S: Likewise.
19395 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
19396 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
19397 * sysdeps/x86_64/strncase.S: New file.
19398 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
19399 * sysdeps/x86_64/strncase_l.S: New file.
19400 * string/Makefile (strop-tests): Add strncasecmp.
19401 * string/test-strncasecmp.c: New file.
19402
19403 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
19404 warning.
19405
ca6bb004
UD
19406 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
19407 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
19408
052fa7b3
AS
194092010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19410
19411 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
19412
962dba78
UD
194132010-08-12 Ulrich Drepper <drepper@redhat.com>
19414
19415 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
19416 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
19417 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
19418
bebff237
AM
194192010-05-01 Alan Modra <amodra@gmail.com>
19420
19421 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
19422 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
19423 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
19424 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
19425 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
19426 tidying. Don't tail-call __sigjmp_save for static lib.
19427 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
19428 save location.
19429 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
19430 (CALL_MCOUNT): Add eh info, and nop after bl.
19431 (TAIL_CALL_SYSCALL_ERROR): New macro.
19432 (PSEUDO_RET): Use it.
19433 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19434 Correct save location of integer regs and cr.
19435 (_dl_profile_resolve): Correct cr save location. Delete nops
19436 after bl when SHARED. Reduce cfi size a little by better
19437 placement of cfi directives.
19438 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
19439 make a stack frame. Instead use parm save area as a temp.
19440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
19441 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
19442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19443 Don't make a stack frame for parent, use parm save area.
19444 Increase child stack frame to 112 bytes. Don't save unused reg,
19445 and adjust reg usage. Set up cfi on error recovery and
19446 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
19447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19448 (__makecontext): Add dummy nop after jump to exit.
19449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
19450 Use correct parm save area and cr save, reduce stack frame.
19451 Correct cfi for possible PSEUDO_RET frame setup.
19452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
19453 Branch to local label emitted by PSEUDO_RET rather than
19454 __syscall_error.
19455
02637374
AS
194562010-08-12 Andreas Schwab <schwab@redhat.com>
19457
19458 [BZ #11904]
19459 * locale/programs/locale.c (print_assignment): New function.
19460 (show_locale_vars): Use it.
19461
c3e2f19b
UD
194622010-08-11 Ulrich Drepper <drepper@redhat.com>
19463
3cdaa6ad
UD
19464 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
19465 field.
19466 (struct statfs64): Likewise.
19467 (_STATFS_F_FLAGS): Define.
19468 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
19469 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19470 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
19471 (ST_VALID): Define locally.
19472 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
19473 __statvfs_getflags, use the provided value.
19474 * sysdeps/unix/sysv/linux/kernel-features.h: Define
19475 __ASSUME_STATFS_F_FLAGS.
19476
754f7da3
UD
19477 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
19478
10b3bedc
UD
19479 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
19480 Add sys/fanotify.h.
19481 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
19482 fanotify_mask for GLIBC_2.13.
19483 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
19484 fanotify_init and fanotify_mark.
19485 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19486 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
19487
c08fb0d7
UD
19488 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
19489 Add prlimit.
19490 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
19491 prlimit64 for GLIBC_2.13.
19492 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
19493 prlimit64.
19494 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
19495 syscall.
19496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
19497 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19498 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
19499 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
19500 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
19501 add prlimit alias.
19502 * sysdeps/unix/sysv/linux/prlimit.c: New file.
19503
15bac72b
UD
19504 [BZ #11903]
19505 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
19506 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
19507
c3e2f19b
UD
19508 * nss/Makefile: Add rules to build and run tst-nss-test1.
19509 * shlib-versions: Add entry for libnss_test1.
19510 * nss/nss_test1.c: New file.
19511 * nss/tst-nss-test1.c: New file.
19512
19513 * nss/nsswitch.c (__nss_database_custom): Define new variable.
19514 (__nss_configure_lookup): Set appropriate entry in
19515 __nss_configure_lookup to true.
19516 * nss/nsswitch.h: Define enum with indeces of databases in
19517 databases and __nss_database_custom arrays. Declare
19518 __nss_database_custom.
19519 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
19520 to avoid using nscd when custom rules are installed.
19521 * nss/getXXbyYY_r.c: Likewise.
19522 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19523
19524 * nss/nss_files/files-parse.c: Whitespace fixes.
19525
f15ce4d8
UD
195262010-08-09 Ulrich Drepper <drepper@redhat.com>
19527
19528 [BZ #11883]
19529 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
19530 * posix/fnmatch_loop.c: Likewise.
19531
d22e4cc9
AK
195322010-07-17 Andi Kleen <ak@linux.intel.com>
19533
19534 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
19535 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
19536 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
19537 * Versions.def [GLIBC_2.13]: Add.
19538
805bc17d
UD
195392010-08-06 Ulrich Drepper <drepper@redhat.com>
19540
19541 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19542 Also fail if tpwd after pwuid call is NULL.
19543
5a42321d
ST
195442010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
19545
19546 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
19547 when converting to ms.
19548
fd3ebeda
ST
195492010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19550
19551 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
19552 EOPNOTSUPP errors with ENOTTY.
19553 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
19554 EOPNOTSUPP errors with ENOTTY.
19555
73507d3a
UD
195562010-07-31 Ulrich Drepper <drepper@redhat.com>
19557
19558 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19559 Add strcasecmp_l-ssse3.
19560 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
19561 strcasecmp.
19562 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
19563 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
19564 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
19565
fe36dd02
UD
195662010-07-30 Ulrich Drepper <drepper@redhat.com>
19567
66f6765a
UD
19568 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
19569
42e08a54
UD
19570 * string/Makefile (strop-tests): Add strcasecmp.
19571 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19572 strcasecmp_l-nonascii.
19573 (gen-as-const-headers): Add locale-defines.sym.
19574 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
19575 * sysdeps/x86_64/strcasecmp.S: New file.
19576 * sysdeps/x86_64/strcasecmp_l.S: New file.
19577 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
19578 * sysdeps/x86_64/locale-defines.sym: New file.
19579 * string/test-strcasecmp.c: New file.
19580
fe36dd02
UD
19581 * string/test-strcasestr.c: Test both ends of the range of characters.
19582 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
19583
48cbc0d6
RM
195842010-07-29 Roland McGrath <roland@redhat.com>
19585
76e6d6bc 19586 [BZ #11856]
48cbc0d6
RM
19587 * manual/locale.texi (Yes-or-No Questions): Fix example code.
19588
880113d9
UD
195892010-07-27 Ulrich Drepper <drepper@redhat.com>
19590
19591 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
19592 for ld.so.
19593
deb9cabb
AS
195942010-07-27 Andreas Schwab <schwab@redhat.com>
19595
19596 * manual/memory.texi (Malloc Tunable Parameters): Document
19597 M_PERTURB.
19598
1c7570ff
RM
195992010-07-26 Roland McGrath <roland@redhat.com>
19600
19601 [BZ #11840]
19602 * configure.in (-fgnu89-inline check): Set and substitute
19603 gnu89_inline, not libc_cv_gnu89_inline.
19604 * configure: Regenerated.
19605 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
19606
24fb0f88
UD
196072010-07-26 Ulrich Drepper <drepper@redhat.com>
19608
19609 * string/test-strnlen.c: New file.
19610 * string/Makefile (strop-tests): Add strnlen.
19611 * string/tester.c (test_strnlen): Add a few more test cases.
19612 * string/tst-strlen.c: Better error reporting.
19613
19614 * sysdeps/x86_64/strnlen.S: New file.
19615
8e96b93a
UD
196162010-07-24 Ulrich Drepper <drepper@redhat.com>
19617
19618 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
19619 lower-latency instructions.
19620
dbc676d4
UD
196212010-07-23 Ulrich Drepper <drepper@redhat.com>
19622
19623 * string/test-strcasestr.c: New file.
19624 * string/test-strstr.c: New file.
19625 * string/Makefile (strop-tests): Add strstr and strcasestr.
19626 * string/str-two-way.h: Don't undefine MAX.
19627 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
19628
f6a31e0e
AS
196292010-07-21 Andreas Schwab <schwab@redhat.com>
19630
19631 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19632 strcasestr-nonascii.
19633 (CFLAGS-strcasestr-nonascii.c): Define.
19634 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
19635 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
19636 Remove unused attribute.
19637
5dbc3b6c
RM
196382010-07-20 Roland McGrath <roland@redhat.com>
19639
19640 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
19641 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
19642 ld.so.cache was broken. With it, there is no way to disable dsocaps
19643 like LD_HWCAP_MASK can disable hwcaps.
19644
23d101d8
EPM
196452010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19646
19647 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
19648
cc9f2e47
UD
196492010-07-16 Ulrich Drepper <drepper@redhat.com>
19650
19651 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
19652 call in strcasestr.
19653 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
19654 __strcasestr_sse42_nonascii.
19655 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
19656 strcasestr-nonascii.c.
19657 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
19658
77c1b069
LM
196592010-06-15 Luis Machado <luisgpm@br.ibm.com>
19660
19661 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
19662 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
19663 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
19664 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
19665
440566c3
UD
196662010-07-09 Ulrich Drepper <drepper@redhat.com>
19667
19668 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
19669 fcntl.
19670
5be9d05d
AS
196712010-07-06 Andreas Schwab <schwab@redhat.com>
19672
c30b7ee2 19673 [BZ #11577]
5be9d05d
AS
19674 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
19675 dl_signal_cerror.
19676
8a492a67
UD
196772010-07-06 Ulrich Drepper <drepper@redhat.com>
19678
19679 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
19680 _PC_PIPE_BUF using F_GETPIPE_SZ.
19681
713df3d5
RM
196822010-07-05 Roland McGrath <roland@redhat.com>
19683
19684 * manual/arith.texi (Rounding Functions): Fix rint description
19685 implicit in round description.
19686
702e8f14
UD
196872010-07-02 Ulrich Drepper <drepper@redhat.com>
19688
19689 * elf/Makefile: Fix linking for a few tests to make recent linker
19690 happy.
19691
52ed8be9
AS
196922010-06-30 Andreas Schwab <schwab@redhat.com>
19693
19694 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19695 $(common-objpfx)libc_nonshared.a.
19696
f47c9a11
LM
196972010-06-21 Luis Machado <luisgpm@br.ibm.com>
19698
19699 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
19700 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
19701 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19702 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19703 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
19704 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
19705 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19706 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
19708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
19709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
19710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
19712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
19714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
19715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
19716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
19717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
19719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
19721 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
19722 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
19723 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
19724 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
19725 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
19726 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
19727 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
19728 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
19729 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
19730 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
19731 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
19732 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
19733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
19734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
19735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
19736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
19737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
19738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
19739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
19740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
19741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
19742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
19743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
19744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
19745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
19746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
19747
6fb8cbcb
L
197482010-06-25 H.J. Lu <hongjiu.lu@intel.com>
19749
19750 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
19751 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
19752 * string/memmove.c (memmove): Renamed to ...
19753 (MEMMOVE): ...this. Default to memmove.
19754 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
19755 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
19756 (END_CHK): Define.
19757 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19758 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
19759 mempcpy-ssse3-back memmove-ssse3-back.
19760 * sysdeps/x86_64/multiarch/bcopy.S: New file .
19761 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
19762 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
19763 * sysdeps/x86_64/multiarch/memcpy.S: New file.
19764 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
19765 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
19766 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
19767 * sysdeps/x86_64/multiarch/memmove.c: New file.
19768 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
19769 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
19770 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
19771 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
19772 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
19773 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
19774 Define.
19775 (index_Fast_Copy_Backward): Define.
19776 (HAS_ARCH_FEATURE): Define.
19777 (HAS_FAST_REP_STRING): Define.
19778 (HAS_FAST_COPY_BACKWARD): Define.
19779
4e733bac 197802010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
19781
19782 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19783 Restore proper fallback handling.
19784
63c4ed22
UD
197852010-06-19 Ulrich Drepper <drepper@redhat.com>
19786
ac2b484c
UD
19787 [BZ #11701]
19788 * posix/group_member.c (__group_member): Correct checking loop.
19789
63c4ed22
UD
19790 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
19791 OOM in getpwuid_r correctly. Return error number when the caller
19792 should return, otherwise -1.
19793 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
19794 call returning > 0 value.
19795 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
19796
765ade4b
AS
197972010-06-07 Andreas Schwab <schwab@redhat.com>
19798
19799 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
19800 libc_nonshared.a from targets in modules-names.
19801
80da2e09
KS
198022010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
19803
19804 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
19805 requires it.
19806
158db122
LM
198072010-06-10 Luis Machado <luisgpm@br.ibm.com>
19808
19809 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
19810 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
19811 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
19812 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
19813
caa78cf8
AS
198142010-06-02 Andreas Schwab <schwab@redhat.com>
19815
19816 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
19817
b2ef2c01
UD
198182010-06-14 Ulrich Drepper <drepper@redhat.com>
19819
19820 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
19821 and F_GETPIPE_SZ.
19822 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19823 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19824 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19825 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19826 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19827 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
19828
fbd643b6
RM
198292010-06-14 Roland McGrath <roland@redhat.com>
19830
19831 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
19832
f32f2869
JJ
198332010-06-07 Jakub Jelinek <jakub@redhat.com>
19834
19835 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
19836 __REDIRECT followed by __THROW.
19837 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
19838 * posix/getopt.h (getopt): Likewise.
19839
2a50c078
EPM
198402010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19841
19842 * hurd/lookup-at.c (__file_name_lookup_at): Accept
19843 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
19844 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
19845 in AT_FLAGS.
19846 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
19847 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
19848
eb5ad2eb
LM
198492010-05-28 Luis Machado <luisgpm@br.ibm.com>
19850
19851 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
19852
3c88fe1e
L
198532010-05-26 H.J. Lu <hongjiu.lu@intel.com>
19854
19855 [BZ #11640]
19856 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19857 Properly check family and model.
19858
d2f73151
TY
198592010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
19860
19861 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
19862
ebd2e13d
LM
198632010-05-24 Luis Machado <luisgpm@br.ibm.com>
19864
19865 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
19866
b32b8b45
UD
198672010-05-21 Ulrich Drepper <drepper@redhat.com>
19868
19869 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
19870 symbol reference.
19871
9acbe24d
AS
198722010-05-19 Andreas Schwab <schwab@redhat.com>
19873
19874 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
19875 symbol reference.
19876
f0ccf6ea
AS
198772010-05-21 Andreas Schwab <schwab@redhat.com>
19878
3d04ff3a
AS
19879 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
19880 and internal_recvmmsg.
19881 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
19882 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
19883 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
19884 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
19885
f0ccf6ea
AS
19886 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
19887 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
19888 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
19889
5b08ac57
AS
198902010-05-20 Andreas Schwab <schwab@redhat.com>
19891
19892 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
19893
4828935d
LM
198942010-05-17 Luis Machado <luisgpm@br.ibm.com>
19895
19896 POWER7 optimizations.
19897 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
19898 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
19899
373d545e
UD
199002010-05-19 Ulrich Drepper <drepper@redhat.com>
19901
19902 * version.h: Update for 2.13 development version.
19903
21a2b1ae
AS
199042010-05-12 Andrew Stubbs <ams@codesourcery.com>
19905
19906 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
19907 exceptions. Return 0.
19908
3f7dcb2b
RM
199092010-05-07 Roland McGrath <roland@redhat.com>
19910
19911 * elf/ldconfig.c (main): Add a const.
19912
5f24d53a 199132010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 19914
a160f8d8
UD
19915 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
19916 (args_options): Add no-idn option.
19917 (ahosts_keys_int): Add idn_flags to ai_flags.
19918 (parse_option): Handle 'i' option to clear idn_flags.
19919
5f24d53a
UD
19920 * malloc/malloc.c (_int_free): Possible race in the most recently
19921 added check. Only act on the data if no current modification
19922 happened.
265bb1ce
UD
19923
19924See ChangeLog.17 for earlier changes.
This page took 2.628788 seconds and 5 git commands to generate.