]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Remove sysdeps/unix/bsd/confstr.h file.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
010188c6
RM
12012-10-03 Roland McGrath <roland@hack.frob.com>
2
3 * sysdeps/unix/bsd/confstr.h: File removed.
4
b6c5ec07
AO
52012-10-02 Alexandre Oliva <aoliva@redhat.com>
6
7 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
8 sys/sdt-config.h.
9
408223d4
RM
102012-10-02 Roland McGrath <roland@hack.frob.com>
11
12 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
13 Make 'mapoff' field ElfW(Off) rather than off_t.
14
bb9510dc
DL
152012-10-02 Dmitry V. Levin <ldv@altlinux.org>
16
fc997c6e
DL
17 * nscd/Makefile: Remove nscd-cflags and all its users.
18 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
19 (CFLAGS-nonlib): Add compiler flags for nscd modules.
20
bb9510dc
DL
21 [BZ #10631]
22 * malloc.c (malloc_printerr): Clarify error message.
23
05699367
L
242012-10-02 H.J. Lu <hongjiu.lu@intel.com>
25
26 [BZ #14648]
27 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28 Set bit_FMA_Usable if FMA is supported.
29 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
30 macro.
31 (bit_FMA4_Usable): Updated.
32 (index_FMA_Usable): New macro.
33 (CPUID_FMA): Likewise
34 (HAS_FMA): Defined with bit_FMA_Usable.
35
51367701
RM
362012-10-01 Roland McGrath <roland@hack.frob.com>
37
38 * bits/types.h (__swblk_t): Type removed.
39 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
40 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
41 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42 (__SWBLK_T_TYPE): Likewise.
43 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44 (__SWBLK_T_TYPE): Likewise.
45 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46 (__SWBLK_T_TYPE): Likewise.
47 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48 (__SWBLK_T_TYPE): Likewise.
49
4d57bf63
JL
502012-10-01 Patsy Franklin <pfrankli@redhat.com>
51 Honza Horak <hhorak@redhat.com>
52
53 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
54 (xdr_mapname): Use YPMAXMAP as maxsize.
55 (xdr_peername): Use YPMAXPEER as maxsize.
56 (xdr_keydat): Use YPAXRECORD as maxsize.
57 (xdr_valdat): Use YPMAXRECORD as maxsize.
58
93c65d43
RM
592012-10-01 Roland McGrath <roland@hack.frob.com>
60
497a03d6
RM
61 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
62
93c65d43
RM
63 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
64 * csu/init-first.c: ... here.
65 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
66 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
67 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
68 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
69 * sysdeps/i386/init-first.c: File removed.
70 * sysdeps/sh/init-first.c: File removed.
71
bec749fd
JM
722012-10-01 Joseph Myers <joseph@codesourcery.com>
73
74 [BZ #14645]
75 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
76 if x * y might underflow to zero and z is zero.
77 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
78 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
79 * math/libm-test.inc (min_subnorm_value): New variable.
80 (fma_test): Add more tests.
81 (fma_test_towardzero): Likewise.
82 (fma_test_downward): Likewise
83 (fma_test_upward): Likewise.
84 (initialize): Set min_subnorm_value.
85
8ec5b013
JM
862012-09-29 Joseph Myers <joseph@codesourcery.com>
87
88 [BZ #14638]
89 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
90 0 + 0.
91 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
92 mode for addition resulting in exact zero.
93 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
94 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
95 exact 0 + 0.
96 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
97 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
98 * math/libm-test.inc (fma_test): Add more tests.
99 (fma_test_towardzero): New function.
100 (fma_test_downward): Likewise.
101 (fma_test_upward): Likewise.
102 (main): Call the new functions.
103
b1fa802e
DM
1042012-09-28 David S. Miller <davem@davemloft.net>
105
106 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
107
d3b9fd9e
RM
1082012-09-28 Roland McGrath <roland@hack.frob.com>
109
ea4d37b3
RM
110 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
111 instead of SIGALRM.
112
ac51c949
RM
113 * sysdeps/gnu/_G_config.h: Moved to ...
114 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
115 * sysdeps/mach/hurd/_G_config.h: Moved to ...
116 * sysdeps/generic/_G_config.h: ... here.
117
28c195f7
RM
118 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
119
848917f9
RM
120 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
121
6bacf05b
RM
122 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
123 Conditionalize target on [libnss_test1.so-version].
124
91363dbb
RM
125 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
126
cc87f7d8
RM
127 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
128 (elfobjdir): Move out of conditionals.
129
b1c608fe
RM
130 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
131 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
132 (__nss_lookup_function): Conditionalize label remove_from_tree on
133 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 134
1d9a6d96
DM
1352012-09-28 David S. Miller <davem@davemloft.net>
136
137 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
138 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
139 file.
140 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
141 sysdep_routines.
142 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
143 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
144 when HWCAP_SPARC_CRYPTO is present.
145
72581615
PT
1462012-09-28 Pino Toscano <toscano.pino@tiscali.it>
147
148 * io/tst-mknodat.c: Create a FIFO instead of a socket.
149
715a900c
JL
1502012-09-28 Andreas Schwab <schwab@linux-m68k.org>
151
152 [BZ #6530]
153 * stdio-common/vfprintf.c (process_string_arg): Revert
154 2000-07-22 change.
155
1562011-09-28 Jonathan Nieder <jrnieder@gmail.com>
157
158 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
159 for testcase.
160 * stdio-common/tst-sprintf.c: Include <locale.h>
161 (main): Test sprintf's handling of incomplete multibyte
162 characters.
163
9bac1d86
L
1642012-09-28 H.J. Lu <hongjiu.lu@intel.com>
165
166 * elf/dl-runtime.c (VERSYMIDX): Removed.
167 * elf/dl-version.c (VERSYMIDX): Likewise.
168 * elf/do-rel.h (VERSYMIDX): Likewise.
169 (VALIDX): Likewise.
170 * elf/dynamic-link.h (VERSYMIDX): Likewise.
171 * elf/rtld.c (VALIDX): Likewise.
172 (ADDRIDX): Likewise.
9bac1d86
L
173 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
174 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
175 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
176 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
177 (VALIDX): Likewise.
178 (ADDRIDX): Likewise.
9bac1d86 179
b31606c0
PT
1802012-09-28 Pino Toscano <toscano.pino@tiscali.it>
181
182 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
183
11541177
JL
1842012-09-28 Dmitry V. Levin <ldv@altlinux.org>
185
186 [BZ #11438]
187 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
188 to global scope.
189 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
190 addresses are in the same scope as 192.0.2/24.
191 * posix/gai.conf: Document new scope table defaults.
192
adb26fae
SP
1932012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
194
195 [BZ #5298]
196 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
197 for ftell. Compute offsets from write pointers instead.
198 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
199
4573c6b0
SP
2002012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
201
202 [BZ #14543]
203 * libio/Makefile (tests): New test case tst-fseek.
204 * libio/tst-fseek.c: New test case to verify that fseek/ftell
205 combination works in wide mode.
206 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
207 state when the external buffer state changes.
208
aa9bbfe6
DM
2092012-09-27 David S. Miller <davem@davemloft.net>
210
211 [BZ #14376]
212 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
213 pass reloc->r_addend in as the 'high' argument to
214 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
215
784421e7
DM
216 * sysdeps/sparc/fpu/libm-test-ulps: Update.
217
c39bc8b8
PT
2182012-09-28 Pino Toscano <toscano.pino@tiscali.it>
219
220 * rt/tst-aio2.c: Include <pthread.h>.
221 * rt/tst-aio3.c: Likewise.
222
1ccc2399
SE
2232012-09-27 Steve Ellcey <sellcey@mips.com>
224
225 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
226
31ed4153
L
2272012-09-27 H.J. Lu <hongjiu.lu@intel.com>
228
25f5f885
L
229 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
230 contents on [SHARED].
31ed4153 231
b7bfe116
MP
2322012-09-26 Marek Polacek <polacek@redhat.com>
233
234 [BZ #14530]
235 [BZ #13741]
236 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
237 for C++ and GCC <4.3 as well as for non GCC compilers.
238
43c4edba
MT
2392012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
240
241 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
242
6a1bf82f
RM
2432012-09-25 Roland McGrath <roland@hack.frob.com>
244
245 * Makefile.in (all, install): Declare with .PHONY.
246 Reported by Michael Hope <michael.hope@linaro.org>.
247
8ad11b9a
TMQMF
2482012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
249
250 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
251 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
252 system header.
253 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
254 Likewise.
255 (sydep_routines): Add the new and the internal functions.
256 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
257 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
259 (GLIBC_2.17): Add the new function.
260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
261 (GLIBC_2.17): Likewise.
262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
263 (GLIBC_2.17): Likewise.
264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
265 (GLIBC_2.17): Likewise.
266 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
267
7e2fca8d
AM
2682012-09-25 Alan Modra <amodra@gmail.com>
269
270 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
271 Add release barrier before setting once_control to say
272 initialisation is done. Add hints on lwarx. Use macro in
273 place of isync.
274 (clear_once_control): Add release barrier.
275
b87c4b24
JM
2762012-09-25 Joseph Myers <joseph@codesourcery.com>
277
d032e0d2
JM
278 [BZ #13629]
279 * math/s_clog.c (__clog): Handle more values close to |z| = 1
280 specially.
281 * math/s_clog10.c (__clog10): Likewise.
282 * math/s_clog10f.c (__clog10f): Likewise.
283 * math/s_clog10l.c (__clog10l): Likewise.
284 * math/s_clogf.c (__clogf): Likewise.
285 * math/s_clogl.c (__clogl): Likewise.
286 * math/Makefile (libm-calls): Add x2y2m1.
287 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
288 (__x2y2m1): Likewise.
289 (__x2y2m1l): Likewise.
290 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
291 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
292 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
293 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
294 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
295 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
296 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
297 * sysdeps/i386/fpu/libm-test-ulps: Update.
298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
299
b87c4b24
JM
300 [BZ #14621]
301 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
302 int as type of variable DEPTH.
303 (glob): Use size_t instead of int as type of variables NEWCOUNT
304 and OLD_PATHC.
305
6d3bf199
LD
3062012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
307
22bf5c17
LD
308 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
309 Add s_sincosf-sse2.
310 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
311 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
312 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
313 macros for using routine as __sincosf_ia32.
314 Use macro for function declaration and weak_alias.
315 * sysdeps/i386/fpu/libm-test-ulps: Update.
316
317 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
318 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
319
320 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
321 subnormal argument.
322 * math/s_cexpf.c (__cexpf): Likewise.
323 * math/s_csinf.c (__csinf): Likewise.
324 * math/s_csinhf.c (__csinhf): Likewise.
325 * math/s_ctanf.c (__ctanf): Likewise.
326 * math/s_ctanhf.c (__ctanhf): Likewise.
327 * math/s_ccosh.c (__ccoshf): Likewise.
328 * math/s_cexp.c (__cexpl): Likewise.
329 * math/s_csin.c (__csin): Likewise.
330 * math/s_csinh.c (__csinh): Likewise.
331 * math/s_ctan.c (__ctan): Likewise.
332 * math/s_ctanh.c (ctanh): Likewise.
333 * math/s_ccoshl.c (__ccoshl): Likewise.
334 * math/s_cexpl.c (__cexpl): Likewise.
335 * math/s_csinl.c (__csinl): Likewise.
336 * math/s_csinhl.c (__csinhl): Likewise.
337 * math/s_ctanl.c (__ctanl): Likewise.
338 * math/s_ctanhl.c (__ctanhl): Likewise.
339
203e5603
JM
3402012-09-25 Joseph Myers <joseph@codesourcery.com>
341
342 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
343 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
344 (_IO_off_t): Define to __off_t, not _G_off_t.
345 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
346 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
347 (_IO_wint_t): Define to wint_t, not _G_wint_t.
348 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
349 type of __dummy and __dummy2 fields.
350 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
351 (_G_ssize_t): Likewise.
352 (_G_off_t): Likewise.
353 (_G_pid_t): Likewise.
354 (_G_uid_t): Likewise.
355 (_G_wchar_t): Likewise.
356 (_G_wint_t): Likewise.
357 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
358 (_G_ssize_t): Likewise.
359 (_G_off_t): Likewise.
360 (_G_pid_t): Likewise.
361 (_G_uid_t): Likewise.
362 (_G_wchar_t): Likewise.
363 (_G_wint_t): Likewise.
364 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
365 (_G_ssize_t): Likewise.
366 (_G_off_t): Likewise.
367 (_G_pid_t): Likewise.
368 (_G_uid_t): Likewise.
369 (_G_wchar_t): Likewise.
370 (_G_wint_t): Likewise.
371
9fab36eb
SP
3722012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
373
374 * malloc/arena.c: Include malloc-sysdep.h.
375 (shrink_heap): Use check_may_shrink_heap to decide if madvise
376 is sufficient to shrink the heap or an unmap is needed.
377 * sysdeps/generic/malloc-sysdep.h: New file. Define
378 new function check_may_shrink_heap.
379 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
380 new function check_may_shrink_heap.
381
2b4f00d1
SP
3822012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
383
384 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
385 comments.
386
9a9028b1
DL
3872012-09-24 Dmitry V. Levin <ldv@altlinux.org>
388
57c69bef
DL
389 * catgets/test-gencat.sh: Add "set -e".
390 * elf/tst-pathopt.sh: Likewise.
391 * grp/tst_fgetgrent.sh: Likewise.
392 * iconvdata/run-iconv-test.sh: Likewise.
393 * intl/tst-gettext.sh: Likewise.
394 * intl/tst-gettext2.sh: Likewise.
395 * intl/tst-gettext4.sh: Likewise.
396 * intl/tst-gettext6.sh: Likewise.
397 * intl/tst-translit.sh: Likewise.
398 * io/ftwtest-sh: Likewise.
399 * libio/test-freopen.sh: Likewise.
400 * malloc/tst-mtrace.sh: Likewise.
401 * posix/globtest.sh: Likewise.
402 * posix/tst-getconf.sh: Likewise.
403 * posix/wordexp-tst.sh: Likewise.
404 * stdio-common/tst-printf.sh: Likewise.
405 * stdio-common/tst-unbputc.sh: Likewise.
406 * stdlib/tst-fmtmsg.sh: Likewise.
407 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
408 * catgets/Makefile: Do not specify -e option when running
409 testsuite shell scripts.
410 * elf/Makefile: Likewise.
411 * grp/Makefile: Likewise.
412 * iconvdata/Makefile: Likewise.
413 * intl/Makefile: Likewise.
414 * io/Makefile: Likewise.
415 * libio/Makefile: Likewise.
416 * malloc/Makefile: Likewise.
417 * posix/Makefile: Likewise.
418 * stdio-common/Makefile: Likewise.
419 * stdlib/Makefile: Likewise.
420 * sysdeps/x86_64/Makefile: Likewise.
421
9a9028b1
DL
422 * io/ftwtest-sh: Add copyright header.
423 * posix/globtest.sh: Likewise.
424 * posix/tst-getconf.sh: Likewise.
425 * posix/wordexp-tst.sh: Likewise.
426 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
427
ced6f16e
L
4282012-09-24 H.J. Lu <hongjiu.lu@intel.com>
429
94b32c39
L
430 [BZ #13679]
431 * Makeconfig (+link): Defined as $(+link-static) if
432 $(build-shared) isn't yes.
433 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
434 isn't yes.
435 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
436
189e935b
L
437 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
438
ced6f16e
L
439 [BZ #14562]
440 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
441 new chunk size with MALLOC_ALIGN_MASK.
442
a9f8e53a
JM
4432012-09-24 Joseph Myers <joseph@codesourcery.com>
444
445 [BZ #5044]
446 * stdio-common/printf_fphex.c: Include <stdbool.h> and
447 <rounding-mode.h>.
448 (__printf_fphex): Determine rounding using get_rounding_mode and
449 round_away.
450 * stdio-common/tst-printf-round.c (struct hex_test): New
451 structure.
452 (hex_tests): New variable.
453 (test_hex_in_one_mode): New function.
454 (do_test): Also run tests for hex float output.
455
43153109
JM
4562012-09-21 Joseph Myers <joseph@codesourcery.com>
457
458 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
459 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
460 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
461 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
462 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
463 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
464 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
465 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
466
8a26625d
JM
4672012-09-20 Joseph Myers <joseph@codesourcery.com>
468
469 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
470 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
471 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
472 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
473
f3fd569c
DL
4742012-09-19 Dmitry V. Levin <ldv@altlinux.org>
475
476 [BZ #14579]
477 * elf/rtld.c (dl_main): Limit the check for self loading to normal
478 mode only.
479 * elf/tst-rtld-load-self.sh: New test.
480 * elf/Makefile: Run it.
481
63bbedd4
JM
4822012-09-18 Joseph Myers <joseph@codesourcery.com>
483
484 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
485 (tst-writev-ENV): Remove.
486 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
487
626f8b6a
CM
4882012-09-17 Chris Metcalf <cmetcalf@tilera.com>
489
490 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
491
b7aaa4d6
JM
4922012-09-17 Joseph Myers <joseph@codesourcery.com>
493
494 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
495 unconditional.
496 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
497 Likewise.
498 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
499 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
500 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
501 Likewise.
502
65513990
L
5032012-09-14 H.J. Lu <hongjiu.lu@intel.com>
504
505 [BZ #14587]
506 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
507 * config.make.in (have-cpp-asm-debuginfo): Removed.
508 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
509 * configure: Regenerated.
510
784761be
JM
5112012-09-14 Joseph Myers <joseph@codesourcery.com>
512
513 [BZ #5044]
514 * stdio-common/printf_fp.c: Include <stdbool.h> and
515 <rounding-mode.h>.
516 (___printf_fp): Determine rounding using get_rounding_mode and
517 round_away.
518 * stdio-common/tst-printf-round.c: New file.
519 * stdio-common/Makefile (tests): Add tst-printf-round.
520 (link-libm): New variable.
521 ($(objpfx)tst-printf-round): Depend in $(link-libm).
522
9503345f
L
5232012-09-13 H.J. Lu <hongjiu.lu@intel.com>
524
525 [BZ #14576]
526 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
527 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
528 Likewise.
529 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
530 Likewise.
531
ad35fc00
JM
5322012-09-13 Joseph Myers <joseph@codesourcery.com>
533
534 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
535 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
536 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
537 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
538
6c9b0f68
JM
5392012-09-12 Joseph Myers <joseph@codesourcery.com>
540
541 [BZ #14518]
542 * include/rounding-mode.h: New file.
543 * sysdeps/generic/get-rounding-mode.h: Likewise.
544 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
545 * stdlib/strtod_l.c: Include <rounding-mode.h>.
546 (MAX_VALUE): New macro.
547 (MIN_VALUE): Likewise.
548 (overflow_value): New function.
549 (underflow_value): Likewise.
550 (round_and_return): Use overflow_value and underflow_value to
551 determine return values in overflow and underflow cases. Use
552 round_away to determine rounding depending on rounding mode.
553 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
554 determine return values in overflow and underflow cases.
555 * stdlib/tst-strtod-round.c: Include <fenv.h>.
556 (struct test_results): New structure.
557 (struct test): Use struct test_results to store expected results
558 for all rounding modes.
559 (TEST): Include expected results for all rounding modes.
560 (test_in_one_mode): New function.
561 (do_test): Use test_in_one_mode to compute and check results.
562 Check results for all rounding modes.
563 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
564 $(link-libm).
565
19fcedd5
AM
5662012-12-09 Allan McRae <allan@archlinux.org>
567
568 * sysdeps/i386/fpu/libm-test-ulps: Update
569
8bbfd2f1
JM
5702012-09-11 Joseph Myers <joseph@codesourcery.com>
571
572 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
573 (_G_int32_t): Likewise.
574 (_G_uint16_t): Likewise.
575 (_G_uint32_t): Likewise.
576 (_G_HAVE_BOOL): Likewise.
577 (_G_HAVE_ATEXIT): Likewise.
578 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
579 (_G_HAVE_IO_FILE_OPEN): Likewise.
580 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
581 (_G_int32_t): Likewise.
582 (_G_uint16_t): Likewise.
583 (_G_uint32_t): Likewise.
584 (_G_HAVE_BOOL): Likewise.
585 (_G_HAVE_ATEXIT): Likewise.
586 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
587 (_G_HAVE_IO_FILE_OPEN): Likewise.
588 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
589 (_G_int32_t): Likewise.
590 (_G_uint16_t): Likewise.
591 (_G_uint32_t): Likewise.
592 (_G_HAVE_BOOL): Likewise.
593 (_G_HAVE_ATEXIT): Likewise.
594 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
595 (_G_HAVE_IO_FILE_OPEN): Likewise.
596
b1dc5912
L
5972012-09-11 H.J. Lu <hongjiu.lu@intel.com>
598
599 * csu/libc-tls.c: Update copyright years.
600
0e886ef9
JM
6012012-09-10 Joseph Myers <joseph@codesourcery.com>
602
28361c5e
JM
603 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
604 [!_G_USING_THUNKS]: Remove conditional code.
605 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
606 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
607
0e886ef9
JM
608 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
609 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
610 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
611 (_G_VTABLE_LABEL_PREFIX): Likewise.
612 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
613 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
614 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
615 (_G_VTABLE_LABEL_PREFIX): Likewise.
616 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
617 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
618 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
619 (_G_VTABLE_LABEL_PREFIX): Likewise.
620 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
621
bcba7aa2
L
6222012-09-10 H.J. Lu <hongjiu.lu@intel.com>
623
624 * libio/Makefile: Include ../Makeconfig before tests.
625 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
626 only if $(build-shared) is yes.
627
06585ee8
L
628 * iconv/gconv_db.c: Update copyright years.
629
80ccd52c
LD
6302012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
631
632 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
633 unwind info if defined PIC. Fix special cases description.
634 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
635
636 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
637 DP_HI_MASK entry.
638 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
639
691bc9c1
L
6402012-09-07 H.J. Lu <hongjiu.lu@intel.com>
641
3d9b46b3
L
642 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
643
de2139a9
L
644 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
645 is NULL.
646
5ca78dd0
L
647 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
648 (LDLIBS-tst-chk4): This.
649 (LDFLAGS-tst-chk5): Renamed to ...
650 (LDLIBS-tst-chk5): This.
651 (LDFLAGS-tst-chk6): Renamed to ...
652 (LDLIBS-tst-chk6): This.
653 (LDFLAGS-tst-lfschk4): Renamed to ...
654 (LDLIBS-tst-lfschk4): This.
655 (LDFLAGS-tst-lfschk5): Renamed to ...
656 (LDLIBS-tst-lfschk5): This.
657 (LDFLAGS-tst-lfschk6): Renamed to ...
658 (LDLIBS-tst-lfschk6): This.
659
691bc9c1
L
660 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
661 on $(common-objpfx)soversions.mk.
662
65cafb1c
JM
6632012-09-07 Joseph Myers <joseph@codesourcery.com>
664
665 [BZ #10014]
666 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
667 example host name.
668
c78ab094
SP
6692012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
670
671 * malloc/arena.c (arena_get_retry): New function that gets
672 another arena for the caller to try its request on.
673 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
674 current arena cannot fulfill the request.
675 (__libc_memalign): Likewise.
676 (__libc_memalign): Likewise.
677 (__libc_pvalloc): Likewise.
678 (__libc_calloc): Likewise.
679
01f49f59
JT
6802012-09-05 John Tobey <john.tobey@gmail.com>
681
682 [BZ #13542]
683 * manual/arith.texi (Operations on Complex): Fix description
684 of carg branch cut.
685
4c23fed5
JM
6862012-09-06 Joseph Myers <joseph@codesourcery.com>
687
1d3c8572
JM
688 [BZ #10014]
689 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
690 host name.
691
4c23fed5
JM
692 [BZ #10038]
693 * manual/memory.texi (Memory): Make order of menu items match
694 order of sections.
695
04570aaa
L
6962012-09-06 H.J. Lu <hongjiu.lu@intel.com>
697
698 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
699 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
700 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
701
b80af2f4
L
7022012-09-06 H.J. Lu <hongjiu.lu@intel.com>
703
704 * csu/libc-tls.c (static_dtv): Renamed to ...
705 (_dl_static_dtv): This. Make it global.
706 (_dl_initial_dtv): Removed.
707 (__libc_setup_tls): Updated.
708 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
709 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
710 DL_INITIAL_DTV.
711
2abe9f15
PM
7122012-09-06 Petr Machata <pmachata@redhat.com>
713
714 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
715 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
716 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
717 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
718
0948c3af
L
7192012-09-06 H.J. Lu <hongjiu.lu@intel.com>
720
721 [BZ #14545]
722 * csu/libc-tls.c (_dl_initial_dtv): New variable.
723 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
724 freeing dtv[-1].
725
a5055ad1
L
7262012-09-06 H.J. Lu <hongjiu.lu@intel.com>
727
728 [BZ #14544]
729 * Makeconfig (link-static-before-libc): Replace $(+prector)
730 with $(+prectorT).
731 (link-static-after-libc): Replace $(+postctor) with
732 $(+postctorT).
733 (link-bounded): Replace $(+prector)/$(+postctor) with
734 $(+prectorT)/$(+postctorT).
735 (+prectorT): New macro.
736 (+postctorT): Likewise.
737
ed8c2ecd
JM
7382012-09-06 Joseph Myers <joseph@codesourcery.com>
739
740 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
741 (round_str): Handle values above the maximum for IBM long double
742 as inexact.
743 * stdlib/tst-strtod-round.c (tests): Regenerated.
744
14c996c8
AK
7452012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
746
747 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
748 assembler flag.
749 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
750 zarch_nohighgprs around the zarch optimized routines.
751 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
752 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
753 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
754 for zarch.
755
430d6ce6
DM
7562012-09-05 David S. Miller <davem@davemloft.net>
757
758 * sysdeps/sparc/fpu/libm-test-ulps: Update.
759
ff04dda4
DM
760 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
761 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
762 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
763 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
764 entries.
765
24d4e01b
AO
7662012-09-05 Alexandre Oliva <aoliva@redhat.com>
767
768 * malloc/arena.c: Fold copyright years.
769 * malloc/mcheck.c, malloc/memusage.c: Likewise.
770
61d58174
AO
7712012-09-05 Alexandre Oliva <aoliva@redhat.com>
772
773 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
774
20196a5e
AO
7752012-09-05 Alexandre Oliva <aoliva@redhat.com>
776
777 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
778
5c447383
AO
7792012-09-05 Alexandre Oliva <aoliva@redhat.com>
780
781 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
782 change internal state upon failure.
783
fad64255
AO
7842012-09-05 Alexandre Oliva <aoliva@redhat.com>
785
786 * malloc/mcheck.c (mcheck_check_all): Fix typo.
787 * malloc/memusage.c (mmap): Likewise.
788 (mmap64, mremap): Likewise. Adjust name in comment.
789
1ffb8c90
SP
7902012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
791
792 * libio/fileops.c: Fix typos in comments.
793 * libio/oldfileops.c: Likewise.
794 * libio/wfileops.c: Likewise.
795
6ef9cc37
SP
7962012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
797
798 [BZ #1349]
799 * malloc/Makefile (tests): Add tst-malloc-usable test case.
800 (tst-malloc-usable-ENV): Set environment for test case.
801 * malloc/hooks.c (malloc_check_get_size): New function to get
802 requested size.
803 * malloc/malloc.c (musable): Use malloc_check_get_size.
804 * malloc/tst-malloc-usable.c: New test case.
805
4d038ae3
AS
8062012-09-05 Andreas Schwab <schwab@linux-m68k.org>
807
808 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
809
c4e85184
AM
8102012-09-05 Allan McRae <allan@archlinux.org>
811
b9dafc56 812 [BZ #13966]
c4e85184
AM
813 * configure.in (CXX_SYSINCLUDES): Use compiler output to
814 determine header location.
815 * configure: Regenerated.
816
e1343020
AS
8172012-09-05 Andreas Schwab <schwab@linux-m68k.org>
818
819 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
820 float format.
821 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
822 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
823 format.
e1343020
AS
824 (test): Regenerate.
825
0a9f1987
DM
8262012-09-04 David S. Miller <davem@davemloft.net>
827
828 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
829 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
830 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
831
29237804
FW
8322012-09-04 Florian Weimer <fweimer@redhat.com>
833
834 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
835 failures.
836
edb3cb88
FW
837 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
838
60160d83
JM
8392012-09-04 Joseph Myers <joseph@codesourcery.com>
840
841 [BZ #9914]
842 * libio/iogetdelim.c: Include <limits.h>.
843 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
844 + len + 1 would overflow.
845
bcd6c8dc
AJ
8462012-09-03 Andreas Jaeger <aj@suse.de>
847
848 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
849 * sysdeps/i386/fpu/libm-test-ulps: Update.
850
4ffffbd2
LD
8512012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
852
853 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
854 Add s_sinf-sse2, s_conf-sse2.
855
856 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
857 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
858 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
859 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
860
861 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
862 for using routine as __sinf_ia32.
863 Use macro for function declaration and weak_alias.
864 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
865 for using routine as __cosf_ia32.
866 Use macro for function declaration and weak_alias.
867
868 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
869 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
870
871 * sysdeps/x86_64/fpu/s_sinf.S: New file.
872 * sysdeps/x86_64/fpu/s_cosf.S: New file.
873 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
874
875 * math/libm-test.inc (cos_test): Add more test cases.
876 (sin_test): Likewise.
877 (sincos_test): Likewise.
878
511fa286
AK
8792012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
880
881 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
882 (IFUNC_RESOLVE): Make pointers to the specialized implementations
883 hidden.
884 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
885
5f30cfec
L
8862012-09-02 H.J. Lu <hongjiu.lu@intel.com>
887
888 [BZ #14538]
889 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
890 first element of the GOT.
891 (elf_machine_load_address): Return the difference between
892 the runtime address of _DYNAMIC and elf_machine_dynamic ().
893
0786794f
AM
8942012-09-01 Allan McRae <allan@archlinux.org>
895
5f30cfec
L
896 [BZ #13412]
897 * configure.in (AWK): Require gawk version 3.0 or later.
898 * configure: Regenerated.
0786794f 899
26889eac
JM
9002012-09-01 Joseph Myers <joseph@codesourcery.com>
901
902 * sysdeps/unix/sysv/linux/kernel-features.h
903 (__ASSUME_POSIX_CPU_TIMERS): Remove.
904 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
905 [__NR_clock_getres]: Make code unconditional.
906 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
907 (clock_getcpuclockid): Remove code left unreachable by removal of
908 conditionals.
909 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
910 code unconditional.
911 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
912 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
913 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
914 Make code unconditional.
915 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
916 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
917 * sysdeps/unix/sysv/linux/clock_settime.c
918 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
919 conditional code.
920 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
921 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
922
d22e28b0
L
9232012-08-29 H.J. Lu <hongjiu.lu@intel.com>
924
925 [BZ #14476]
926 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
927 scripts/test-installation.pl.
928
929 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
930 and $ld_so_version if it is set.
931
050af9c4
SP
9322012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
933
934 [BZ #14516]
935 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
936 failure if reading from procfs failed.
937 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
938
ad845c0b
JM
9392012-08-27 Joseph Myers <joseph@codesourcery.com>
940
941 * sysdeps/unix/sysv/linux/kernel-features.h
942 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
943 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
944 Remove conditional code.
945 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
946 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
947 Remove conditional code.
948 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
949 * sysdeps/unix/sysv/linux/i386/fxstat.c
950 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
951 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
952 * sysdeps/unix/sysv/linux/i386/fxstatat.c
953 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
954 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
955 * sysdeps/unix/sysv/linux/i386/lxstat.c
956 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
957 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
958 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
959 Remove conditional code.
960 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
961 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
962 Remove conditional code.
963 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
964 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
965 <kernel-features.h>.
966 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
967 Remove.
968 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
969 Remove conditional code.
970 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
971 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
972 Remove conditional.
973
5dbf56af
MF
9742012-08-27 Mike Frysinger <vapier@gentoo.org>
975
976 [BZ #5400]
977 * NEWS: Add fixed bug number.
978
d6e70f43
JM
9792012-08-27 Joseph Myers <joseph@codesourcery.com>
980
7efb4737
JM
981 [BZ #14519]
982 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
983 underflowing exponent in case of negative sign.
984 * stdlib/tst-strtod-round-data: Add more tests.
985 * stdlib/tst-strtod-round.c (tests): Regenerated.
986
af92131a
JM
987 [BZ #3479]
988 * stdlib/strtod_l.c (NDIG): Remove.
989 (HEXNDIG): Likewise.
990 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
991 smallest representable value.
992 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
993 lie within an exact representation of 1/2 ulp of the result.
994 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
995 unconditionally.
996 (TENS_P9_IDX): Define unconditionally.
997 (TENS_P9_SIZE): Likewise.
998 (TENS_P10_IDX): Likewise.
999 (TENS_P10_SIZE): Likewise.
1000 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
1001 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
1002 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
1003 entries for 10^2^13 and 10^2^14.
1004 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
1005 (TENS_P13_IDX): Define.
1006 (TENS_P13_SIZE): Likewise.
1007 (TENS_P14_IDX): Likewise.
1008 (TENS_P14_SIZE): Likewise.
1009 (_fpioconst_pow10): Change array size to
1010 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
1011 unconditional.
1012 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
1013 1024]: Add entries for 10^2^13 and 10^2^14.
1014 [LAST_POW10 > _LAST_POW10]: Remove #error.
1015 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
1016 (_fpioconst_pow10): Change array size to
1017 FPIOCONST_POW10_ARRAY_SIZE.
1018 * stdlib/gen-fpioconst.c: New file.
1019 * stdlib/gen-tst-strtod-round.c: Likewise.
1020 * stdlib/tst-strtod-round-data: Likewise.
1021 * stdlib/tst-strtod-round.c: Likewise.
1022 * stdlib/Makefile (tests): Add tst-strtod-round.
1023
d6e70f43
JM
1024 [BZ #14459]
1025 * stdlib/strtod_l.c: Include <stdint.h>.
1026 (NDEBUG): Do not define.
1027 (round_and_return): Change EXPONENT parameter to type intmax_t.
1028 Rearrange calculations to avoid internal overflow possibilities.
1029 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
1030 Rearrange calculations to avoid internal overflow possibilities.
1031 Assert that number fits inside MPNSIZE limbs.
1032 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
1033 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
1034 calculations and add assertions to avoid internal overflow
1035 possibilities. Add casts to avoid signed/unsigned operations.
1036 * stdlib/tst-strtod-overflow.c: New file.
1037 * stdlib/Makefile (tests): Add tst-strtod-overflow.
1038
1f529f7d
MP
10392012-08-25 Marek Polacek <polacek@redhat.com>
1040
1041 * time/time.h: Fix some typos in comments.
1042
59a629f1
RM
10432012-08-23 Roland McGrath <roland@hack.frob.com>
1044
1045 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
1046 * posix/tst-rfc3484-2.c: Likewise.
1047 * posix/tst-rfc3484-3.c: Likewise.
1048
d3bafbc9
SM
10492012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
1050
1051 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
1052 (EF_ARM_ABI_FLOAT_HARD): Likewise.
1053
4efcc022
JM
10542012-08-23 Joseph Myers <joseph@codesourcery.com>
1055
1056 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
1057 #include of fxstatat64.c.
1058
3cc3ef96
RM
10592012-08-22 Roland McGrath <roland@hack.frob.com>
1060
f04e2132
RM
1061 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
1062 * shadow/getspent_r.c: Likewise.
1063 * shadow/getspnam.c: Likewise.
1064 * shadow/getspnam_r.c: Likewise.
1065 * gshadow/getsgent.c: Likewise.
1066 * gshadow/getsgent_r.c: Likewise.
1067 * gshadow/getsgnam.c: Likewise.
1068 * gshadow/getsgnam_r.c: Likewise.
1069 * inet/getnetbyad.c: Likewise.
1070 * inet/getnetbyad_r.c: Likewise.
1071 * inet/getnetbynm.c: Likewise.
1072 * inet/getnetbynm_r.c: Likewise.
1073 * inet/getnetent.c: Likewise.
1074 * inet/getnetent_r.c: Likewise.
1075 * inet/getproto.c: Likewise.
1076 * inet/getproto_r.c: Likewise.
1077 * inet/getprtent.c: Likewise.
1078 * inet/getprtent_r.c: Likewise.
1079 * inet/getprtname.c: Likewise.
1080 * inet/getprtname_r.c: Likewise.
1081 * inet/getrpcbyname.c: Likewise.
1082 * inet/getrpcbyname_r.c: Likewise.
1083 * inet/getrpcbynumber.c: Likewise.
1084 * inet/getrpcbynumber_r.c: Likewise.
1085 * inet/getrpcent.c: Likewise.
1086 * inet/getrpcent_r.c: Likewise.
1087 * inet/getaliasent.c: Likewise.
1088 * inet/getaliasent_r.c: Likewise.
1089 * inet/getaliasname.c: Likewise.
1090 * inet/getaliasname_r.c: Likewise.
1091 * nscd/getgrgid_r.c: Likewise.
1092 * nscd/getgrnam_r.c: Likewise.
1093 * nscd/gethstbyad_r.c: Likewise.
1094 * nscd/gethstbynm3_r.c: Likewise.
1095 * nscd/getpwnam_r.c: Likewise.
1096 * nscd/getpwuid_r.c: Likewise.
1097 * nscd/getsrvbynm_r.c: Likewise.
1098 * nscd/getsrvbypt_r.c: Likewise.
1099 * nscd/gai.c: Likewise.
1100
c53d909c
RM
1101 * configure.in (build_nscd): New substituted variable, set
1102 by --disable-build-nscd and defaults to $use_nscd.
1103 * configure: Regenerated.
1104 * config.make.in (build-nscd): New substituted variable.
1105 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
1106 Change conditional to require [$(build-nscd) = yes] as well.
1107 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
1108
3cc3ef96
RM
1109 [BZ# 13696]
1110 * configure.in (use_nscd): New substituted variable, set by
1111 --disable-nscd. If enabled, define USE_NSCD.
1112 * configure: Regenerated.
1113 * config.h.in: Add USE_NSCD.
1114 * config.make.in (use-nscd): New substituted variable.
1115 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
1116 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
1117 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
1118 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
1119 (CFLAGS-getgrnam_r.c): Likewise.
1120 (CFLAGS-initgroups.c): Likewise.
1121 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
1122 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
1123 Variables removed.
1124 * inet/getnetgrent_r.c
1125 (nscd_setnetgrent): New function, broken out of ...
1126 (setnetgrent): ... here. Call it.
1127 (innetgr): Conditionalize nscd bits on [USE_NSCD].
1128 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
1129 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
1130 * nscd/Makefile (routines, aux): Move definitions after include of
1131 Makeconfig. Conditionalize on [$(use-nscd) != no].
1132 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
1133 Conditionalize on [USE_NSCD].
1134 (is_nscd, nscd_init_cb): Likewise.
1135 (nss_load_library): Conditionalize init callback on [USE_NSCD].
1136 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
1137 * nss/nss_db/db-init.c: Likewise.
1138 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
1139 [USE_NSCD].
1140 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
1141 (make_request): Use it.
1142 (cache_valid_p): New function.
1143 (__check_pf): Use it.
1144 * NEWS: Add item for --disable-nscd.
1145
07e51550
DL
11462012-08-22 Dmitry V. Levin <ldv@altlinux.org>
1147
1148 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
1149 to support sed >= 4.2.1-20-ga9bf076.
1150 * configure: Regenerated.
1151
35a5b08b
RM
11522012-08-22 Roland McGrath <roland@hack.frob.com>
1153
1154 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
1155 Conditionalize whole body on [IREL].
1156
8479f23a
JL
11572012-08-22 Jeff Law <law@redhat.com>
1158
1159 [BZ #14505]
1160 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
1161 if the family is PF_UNSPEC.
1162
48da0b21
MF
11632012-08-22 Mike Frysinger <vapier@gentoo.org>
1164
1165 * Makerules (lib-version): Rename from V.
1166 (install-lib-nosubdir): Change V to lib-version.
1167
15d0da8c
WS
11682012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
1169
1170 [BZ #14252]
1171 * powerpc32/power6/wcschr.c: New file.
1172 * powerpc32/power6/wcscpy.c: New file.
1173 * powerpc32/power6/wcsrchr.c: New file.
1174 * powerpc64/power6/wcschr.c: New file.
1175 * powerpc64/power6/wcscpy.c: New file.
1176 * powerpc64/power6/wcsrchr.c: New file.
1177
bcca0895
MK
11782012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1179
1180 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
1181 (two_way_short_needle): Use it.
5a4aaa33
RM
1182 * string/strstr.c (AVAILABLE1_USES_J): Define.
1183 * string/strcasestr.c: Likewise.
99677e57
MK
1184
1185 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
1186 array references.
1187 * string/strcasestr.c (TOLOWER): Make side-effect safe.
1188
400726de
MK
1189 [BZ #11607]
1190 * NEWS: Add an entry.
1191 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
1192 define their defaults.
1193 (two_way_short_needle): Detect end-of-string on-the-fly.
1194 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
1195 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
1196 * string/bug-strcasestr1.c: New test.
1197 * string/Makefile: Run it.
1198
20a71f2c
MK
11992012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1200
1201 [BZ #11607]
1202 * string/str-two-way.h (two_way_short_needle): Optimize matching of
1203 the first character.
1204
21ad0558
RM
12052012-08-21 Roland McGrath <roland@hack.frob.com>
1206
1207 * csu/elf-init.c (__libc_csu_irel): Function removed.
1208 * csu/libc-start.c (apply_irel): New function.
1209 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
1210
0e1d9911
JM
12112012-08-21 Joseph Myers <joseph@codesourcery.com>
1212
1213 * sysdeps/unix/sysv/linux/kernel-features.h
1214 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
1215 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1216 <kernel-features.h>.
1217 [__NR_fadvise64_64]: Make code unconditional.
1218 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
1219 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1220 !__NR_fadvise64_64)]: Likewise.
1221 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1222 !__NR_fadvise64_64))]: Likewise.
1223 [__NR_fadvise64]: Make code unconditional.
1224 [!__NR_fadvise64]: Remove conditional code.
1225 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
1226 <kernel-features.h>.
1227 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1228 unconditional.
1229 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1230 conditional code.
1231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
1232 not include <kernel-features.h>.
1233 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1234 unconditional.
1235 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1236 conditional code.
1237 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
1238 include <kernel-features.h>.
1239 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1240 unconditional.
1241 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1242 conditional code.
1243
14a50c9d
WS
12442012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
1245
1246 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
1247 slight instruction rearrangements per scrollpipe analysis.
1248 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1249
c0f4faf0
RM
12502012-08-20 Roland McGrath <roland@hack.frob.com>
1251
696da859
RM
1252 * manual/syslog.texi (syslog; vsyslog, closelog):
1253 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
1254 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
1255
c0f4faf0
RM
1256 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
1257 DSOCAPS to match condition on defining it.
1258
348363b2
JM
12592012-08-20 Joseph Myers <joseph@codesourcery.com>
1260
a35cbf28
JM
1261 * sysdeps/unix/sysv/linux/kernel-features.h
1262 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
1263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
1264 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1265 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
1267 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1268 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
1270 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1271 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1272
445f7ecd
JM
1273 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
1274 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
1275
348363b2
JM
1276 * sysdeps/unix/sysv/linux/kernel-features.h
1277 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
1278 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
1279 unconditional.
1280 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1281 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
1282 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1283 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1284 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
1285 Make code unconditional.
1286 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1287 (__mmap64) [!__NR_mmap2]: Likewise.
1288 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
1289 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1290 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1291 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
1292 [__NR_mmap2]: Make code unconditional.
1293 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1294 (__mmap64) [!__NR_mmap2]: Likewise.
1295
bc5bc0e5
AK
12962012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1297
1298 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
1299
88d506de
AJ
13002012-08-18 Andreas Jaeger <aj@suse.de>
1301
1302 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
1303
493387d2
MF
13042012-08-18 Mike Frysinger <vapier@gentoo.org>
1305
1306 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
1307 * include/unistd.h (__have_sock_cloexec): Likewise.
1308 (__have_pipe2): Likewise.
1309 (__have_dup3): Likewise.
1310
a277af22
MF
13112012-08-18 Mike Frysinger <vapier@gentoo.org>
1312
1313 [BZ #9685]
1314 * include/unistd.h (__have_pipe2): Change define into an extern int.
1315 (__have_dup3): Likewise.
1316 * socket/have_sock_cloexec.c: Include fcntl.h.
1317 (__have_pipe2): New variable.
1318 (__have_dup3): Likewise.
1319
fdab8fd3
MF
13202012-08-17 Mike Frysinger <vapier@gentoo.org>
1321
1322 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
1323
31035e80
MP
13242012-08-17 Marek Polacek <polacek@redhat.com>
1325
1326 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
1327 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
1328
3bd9e993
RM
13292012-08-17 Roland McGrath <roland@hack.frob.com>
1330
c91c505f
RM
1331 * configure.in: Add AC_SUBST for sysheaders.
1332 * configure: Regenerated.
1333 * config.make.in (sysheaders): New substituted variable.
1334
7c6f9d53
RM
1335 * sysdeps/unix/mkfifo.c: Moved ...
1336 * sysdeps/posix/mkfifo.c: ... here.
1337 * sysdeps/unix/mkfifoat.c: Moved ...
1338 * sysdeps/posix/mkfifoat.c: ... here.
1339
1340 * sysdeps/unix/utime.c: Moved ...
1341 * sysdeps/posix/utime.c: ... here.
1342
1343 * sysdeps/unix/time.c: Moved ...
1344 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
1345 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
1346 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
1347
1348 * sysdeps/unix/nice.c: Moved ...
1349 * sysdeps/posix/nice.c: ... here.
1350
1351 * sysdeps/unix/alarm.c: Moved ...
1352 * sysdeps/posix/alarm.c: ... here.
1353
3bd9e993
RM
1354 * intl/Makefile ($(codeset_mo)): Depend on the input file.
1355
d1f09384
JL
13562012-08-17 Jeff Law <law@redhat.com>
1357
1358 * intl/Makefile (codeset_mo): New variable.
1359 ($(codeset_mo)): New target.
1360 (tst-codeset.out): Depend on that. Remove explicit rule.
1361 (tst-gettext3.out, tst-gettext5.out): Likewise.
1362 (LOCPATH-ENV, tst-codeset-ENV): New variables.
1363 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
1364 * intl/tst-codeset.sh: Remove.
1365 * intl/tst-gettext3.sh: Likewise.
1366 * intl/tst-gettext5.sh: Likewise.
1367
2ae1ae5c
RM
13682012-08-17 Roland McGrath <roland@hack.frob.com>
1369
c31fdb83
RM
1370 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
1371 * sysdeps/unix/syscalls.list: ... here.
1372
a0844057
RM
1373 * sysdeps/posix/getaddrinfo.c
1374 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
1375 (gaiconf_init, gaiconf_reload): Use them.
1376 [!_STATBUF_ST_NSEC]
1377 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
1378 Define using time_t rather than struct timespec.
1379
750c1f2a
RM
1380 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
1381 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
1382 Macros removed.
1383 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
1384 [!NO_THREADS].
1385 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
1386 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
1387 Likewise.
1388
2ae1ae5c
RM
1389 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
1390 __libc_cleanup_push argument.
1391
e66a42f5
RM
1392 * bits/param.h: New file.
1393 * misc/sys/param.h: New file.
1394 * include/sys/param.h: New file.
1395 * misc/Makefile (headers): Add bits/param.h.
1396 * sysdeps/generic/sys/param.h: File removed.
1397 * sysdeps/unix/sysv/linux/bits/param.h: New file.
1398 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
1399 * sysdeps/mach/hurd/bits/param.h: New file.
1400 * sysdeps/mach/hurd/sys/param.h: New file.
1401
b7c08a66
RM
1402 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
1403 last change.
1404
b2e1c562
RM
1405 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
1406 [_IO_MTSAFE_IO].
1407 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
1408 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
1409 New macros.
1410
c75ccd4c
RM
1411 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
1412 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
1413 rather than -D_IO_MTSAFE_IO conditionally.
1414 * stdio-common/Makefile (CPPFLAGS): Likewise.
1415 * wcsmbs/Makefile (CPPFLAGS): Likewise.
1416 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
1417 Use $(libio-mtsafe).
1418 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
1419 of -D_IO_MTSAFE_IO.
1420 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
1421 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
1422 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
1423 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
1424 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
1425 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
1426 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
1427 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
1428 (CFLAGS-fread_u_chk.c): Likewise.
1429 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
1430 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
1431 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
1432 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
1433 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
1434 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
1435 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
1436 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
1437 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
1438
1439 * libio/Makefile: Test [$(libc-reentrant) = yes]
1440 instead of [$(filter %REENTRANT, $(defines)) nonempty].
1441
1442 * Makeconfig
1443 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
1444 * sysdeps/pthread/configure: File removed.
1445 * sysdeps/pthread/Makeconfig: New file.
1446 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
1447 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
1448
d9195db8
GB
14492012-08-16 Gary Benson <gbenson@redhat.com>
1450
1451 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
1452 unmapping the first object in a namespace.
1453
86466cd9
RM
14542012-08-16 Roland McGrath <roland@hack.frob.com>
1455
1456 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
1457 (__internal_setnetgrent): ... this. Add internal_function to
1458 definition. Add libc_hidden_def.
1459 (setnetgrent): Update caller.
1460 (internal_endnetgrent): Renamed to ...
1461 (__internal_endnetgrent): ... this. Add internal_function to
1462 definition. Add libc_hidden_def.
1463 (endnetgrent): Update caller.
1464 (internal_getnetgrent_r): Renamed to ...
1465 (__internal_getnetgrent_r): ... this. Add internal_function to
1466 definition. Add libc_hidden_def.
1467 (__getnetgrent_r): Update caller.
1468 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
1469
c3c8283c
JM
14702012-08-16 Joseph Myers <joseph@codesourcery.com>
1471
1472 * stdlib/longlong.h: Update from GCC.
1473
db1ee0a8
RM
14742012-08-16 Roland McGrath <roland@hack.frob.com>
1475
1476 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
1477 on _QL, which is set by umul_ppmm but never used.
1478 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
1479 variables, which are set by GMP macros but never used.
1480 * stdio-common/_itowa.c (_itowa): Likewise.
1481 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
1482 * stdlib/mod_1.c (mpn_mod_1): Likewise.
1483
30f69637
CD
14842012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
1485
1486 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
1487 struct La_sh_regs is not constant.
1488 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
1489 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
1490 and struct La_sparc64_regs are not constant.
1491
93a78ac4
JM
14922012-08-16 Joseph Myers <joseph@codesourcery.com>
1493
1494 * sysdeps/unix/sysv/linux/kernel-features.h
1495 (__ASSUME_POSIX_TIMERS): Remove.
1496 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1497 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1498 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
1499 Make code unconditional.
1500 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1501 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
1502 Make code unconditional.
1503 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1504 * sysdeps/unix/sysv/linux/clock_nanosleep.c
1505 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
1506 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1507 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
1508 Make code unconditional.
1509 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1510 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
1511 (__libc_missing_posix_timers): Remove.
1512
dd924cd7
RM
15132012-08-15 Roland McGrath <roland@hack.frob.com>
1514
4b4f2771
RM
1515 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
1516 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
1517
601c888b
RM
1518 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
1519
176790a7
RM
1520 * elf/dl-sym.c: Include <stdlib.h>.
1521
329bc018
RM
1522 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
1523 constants, which avoids warnings in 32-bit builds.
1524
e04e272d
RM
1525 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
1526 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
1527
952bf94a
RM
1528 * misc/lseek.c: File moved to ...
1529 * io/lseek.c: ... here.
1530
7c99b50a
RM
1531 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
1532
dd924cd7
RM
1533 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
1534 shifting LEN more than 31 bits at once.
1535
b3f479a8
LD
15362012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1537
1538 [BZ #14195]
8c4ae0d4
RM
1539 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
1540 segmentation fault for a case of two empty input strings.
b3f479a8
LD
1541 * string/test-strncasecmp.c (check1): Renamed to...
1542 (bz12205): ...this.
1543 (bz14195): Add new testcase for two empty input strings and N > 0.
1544 (test_main): Call new testcase, adapt for renamed function.
1545
9c55864e
AJ
15462012-08-15 Andreas Jaeger <aj@suse.de>
1547
1548 [BZ #14090]
1549 * crypt/md5test2.c: New test, based on test supplied by Serge
1550 Belyshev <belyshev@depni.sinp.msu.ru>.
1551 * crypt/Makefile (xtests): Add md5test-giant..
1552 * crypt/Makefile ($(objpfx)md5test-giant): Add.
1553
02dcb6c5
PE
15542012-08-15 Paul Eggert <eggert@cs.ucla.edu>
1555
1556 [BZ #14090]
1557 * crypt/md5.c (md5_process_block): Don't assume the buffer
1558 length is less than 2**32.
1559 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
1560 length is less than 2**64.
1561
a3f95dcc
RM
15622012-08-15 Roland McGrath <roland@hack.frob.com>
1563
be75d758
RM
1564 * string/str-two-way.h: Include <sys/param.h>.
1565 (MAX): Macro removed.
1566
7312ca90
RM
1567 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
1568 Move #define and #undef of memmove to just before and after
1569 including <string.h>.
1570
9a0a5486
RM
1571 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
1572 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
1573 and after including <string.h>. Move declarations of
1574 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
1575 to before #include "string/memmove.c".
1576
67cc348d
RM
1577 * include/dirent.h: Declare __getdirentries.
1578
a3f95dcc
RM
1579 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
1580 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
1581
ca98e171
MF
15822012-08-14 Mike Frysinger <vapier@gentoo.org>
1583
1584 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
1585 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
1586 * sysdeps/i386/configure: Regenerated.
1587 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
1588 STABS_CURRENT_FILE, and STABS_FUN.
1589 (END): Remove call to STABS_FUN_END.
1590 (STABS_CURRENT_FILE1): Delete.
1591 (STABS_CURRENT_FILE): Likewise.
1592 (STABS_FUN): Likewise.
1593 (STABS_FUN_END): Likewise.
1594 (STABS_FUN2): Likewise.
1595 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
1596 * sysdeps/x86_64/configure: Regenerated.
1597
5908bf46
RM
15982012-08-14 Roland McGrath <roland@hack.frob.com>
1599
1600 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 1601 * elf/dl-lookup.c: Likewise.
5908bf46 1602
f2c05b9e
JM
16032012-08-14 Joseph Myers <joseph@codesourcery.com>
1604
1605 * sysdeps/unix/sysv/linux/kernel-features.h
1606 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
1607 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
1608 unconditionally.
1609 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
1610 unconditionally.
1611 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
1612 condition on __ASSUME_CLONE_THREAD_FLAGS.
1613
e11f5155
AJ
16142012-08-14 Andreas Jaeger <aj@suse.de>
1615
1616 * sysdeps/i386/fpu/libm-test-ulps: Update.
1617
51a9ba86
MK
16182012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
1619
2fdd4f78
AJ
1620 * include/atomic.h (atomic_exchange_and_add): Split into ...
1621 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
1622 New atomic macros.
51a9ba86 1623
ba6cba9e
MT
16242012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
1625
1626 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1627
42443a47
JL
16282012-08-13 Jeff Law <law@redhat.com>
1629
1630 * manual/stdio.texi (snprintf): Clarify handling of the trailing
1631 null byte in the output string.
1632
121dce05
JM
16332012-08-10 Joseph Myers <joseph@codesourcery.com>
1634
1635 * sysdeps/unix/sysv/linux/kernel-features.h
1636 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
1637 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
1638 (__ASSUME_ARG_MAX_STACK_BASED): Define.
1639 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1640 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
1641 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
1642 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
1643
bf51f568
JL
16442012-08-09 Jeff Law <law@redhat.com>
1645
1646 [BZ #13939]
1647 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
1648 When avoid_arena is set, don't retry in the that arena. Pick the
1649 next one, whatever it might be.
1650 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
1651 (arena_lock): Pass in new parameter to arena_get2.
1652 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
1653 arena_get2.
1654 (__libc_malloc): Unify retrying after main arena failure with
1655 __libc_memalign version.
1656 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
1657
f85fa270
L
16582012-08-09 H.J. Lu <hongjiu.lu@intel.com>
1659
1660 [BZ #14166]
1661 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
1662 to __redirect_strstr.
1663 (__strstr_sse42): Use typeof __redirect_strstr.
1664 (__strstr_ia32): Likewise.
1665 (__libc_strstr): New prototype.
1666 (strstr): Renamed to ...
1667 (__libc_strstr): This.
1668 (strstr): New strong alias of __libc_strstr.
1669 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
1670 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
1671 __redirect_time.
1672 Include <time.h>.
1673 (__libc_time): New prototype.
1674 (time_ifunc): Replace time with __libc_time.
1675 (time): New strong alias and hidden definition of __libc_time.
1676 (__GI_time): Remove strong alias.
1677 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
1678 Include <stddef.h>.
1679 (memmove): Redefined to __redirect_memmove.
1680 (__memmove_sse2): Use typeof __redirect_memmove.
1681 (__memmove_ssse3): Likewise.
1682 (__memmove_ssse3_back): Likewise.
1683 (__libc_memmove): New prototype.
1684 (memmove): Renamed to ...
1685 (__libc_memmove): This.
1686 (memmove): New strong alias of __libc_memmove.
1687
33b4a91e
MS
16882012-08-08 Mark Salter <msalter@redhat.com>
1689
1690 * elf/elf.h
1691 (R_MN10300_TLS_GD): Define.
1692 (R_MN10300_TLS_LD): Likewise.
1693 (R_MN10300_TLS_LDO): Likewise.
1694 (R_MN10300_TLS_GOTIE): Likewise.
1695 (R_MN10300_TLS_IE): Likewise.
1696 (R_MN10300_TLS_LE): Likewise.
1697 (R_MN10300_TLS_DTPMOD): Likewise.
1698 (R_MN10300_TLS_DTPOFF): Likewise.
1699 (R_MN10300_TLS_TPOFF): Likewise.
1700 (R_MN10300_SYM_DIFF): Likewise.
1701 (R_MN10300_ALIGN): Likewise.
1702 (R_MN10300_NUM): Update.
1703
b36137f1
JM
17042012-08-08 Joseph Myers <joseph@codesourcery.com>
1705
1706 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
1707 Remove.
1708
cdd915fd
RM
17092012-08-08 Roland McGrath <roland@hack.frob.com>
1710
a2433aac
RM
1711 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
1712
cdd915fd
RM
1713 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
1714 sysdeps/unix -> sysdeps/posix move.
1715 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1716
bf9b740a
AM
17172012-08-07 Allan McRae <allan@archlinux.org>
1718
1719 [BZ #14303]
1720 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
1721 (SUNOS_CPP): Likewise.
1722 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
1723 not found.
1724 (open_input): Call CPP using execvp.
1725
93df14ee
JM
17262012-08-07 Joseph Myers <joseph@codesourcery.com>
1727
1728 * sysdeps/unix/sysv/linux/kernel-features.h
1729 (__ASSUME_PROT_GROWSUPDOWN): Remove.
1730 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1731 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1732 (__ASSUME_WAITID_SYSCALL): Likewise.
1733 * sysdeps/unix/sysv/linux/dl-execstack.c
1734 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
1735 code unconditional.
1736 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
1737 conditional code.
1738 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
1739 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
1740 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
1741 code.
1742 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
1743 unconditional.
1744 [__ASSUME_WAITID_SYSCALL]: Likewise.
1745 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
1746
d34689de
RM
17472012-08-07 Roland McGrath <roland@hack.frob.com>
1748
a281decc
RM
1749 * sysdeps/unix/closedir.c: Renamed to ...
1750 * sysdeps/posix/closedir.c: ... here.
1751 * sysdeps/unix/dirfd.c: Renamed to ...
1752 * sysdeps/posix/dirfd.c: ... here.
1753 * sysdeps/unix/dirstream.h: Renamed to ...
1754 * sysdeps/posix/dirstream.h: ... here.
1755 * sysdeps/unix/fdopendir.c: Renamed to ...
1756 * sysdeps/posix/fdopendir.c: ... here.
1757 * sysdeps/unix/opendir.c: Renamed to ...
1758 * sysdeps/posix/opendir.c: ... here.
1759 * sysdeps/unix/readdir.c: Renamed to ...
1760 * sysdeps/posix/readdir.c: ... here.
1761 * sysdeps/unix/readdir_r.c: Renamed to ...
1762 * sysdeps/posix/readdir_r.c: ... here.
1763 * sysdeps/unix/rewinddir.c: Renamed to ...
1764 * sysdeps/posix/rewinddir.c: ... here.
1765 * sysdeps/unix/seekdir.c: Renamed to ...
1766 * sysdeps/posix/seekdir.c: ... here.
1767 * sysdeps/unix/telldir.c: Renamed to ...
1768 * sysdeps/posix/telldir.c: ... here.
1769 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
1770 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
1771 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
1772 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
1773
22895b47
RM
1774 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
1775 * bits/fcntl.h: ... here.
1776
707a53b6
RM
1777 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
1778 not 0.
1779 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
1780 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
1781 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
1782 (struct flock): Move l_start, l_len to the beginning.
1783 Use __pid_t for l_pid.
1784 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
1785 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
1786 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
1787 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
1788 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
1789 [__USE_LARGEFILE64] (struct flock64): New type.
1790 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
1791
f0bd3e25
RM
1792 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
1793 * bits/dirent.h: ... here.
1794
d34689de
RM
1795 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
1796 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
1797
6dad2c06
JM
17982012-08-07 Joseph Myers <joseph@codesourcery.com>
1799
1800 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1801 Change from 2.6.0 to 2.6.16.
1802 * sysdeps/unix/sysv/linux/configure: Regenerated.
1803 * sysdeps/unix/sysv/linux/kernel-features.h
1804 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
1805 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
1806 version.
1807 (__ASSUME_UTIMES): Likewise.
1808 (__ASSUME_CLONE_STOPPED): Remove.
1809 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
1810 architectures, not kernel version.
1811 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
1812 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1813 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1814 (__ASSUME_WAITID_SYSCALL): Likewise.
1815 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
1816 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
1817 * README: State 2.6.16 as minimum Linux kernel version. Do not
1818 refer to older versions.
1819
03af9520
RM
18202012-08-06 Roland McGrath <roland@hack.frob.com>
1821
8e49df1d
RM
1822 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
1823 Define alphasort64 as an alias.
1824 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
1825 Define versionsort64 as an alias.
1826 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
1827 Define scandir64 as an alias.
1828 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
1829 Define scandirat64 as an alias.
1830 * dirent/alphasort64.c (alphasort64):
1831 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
1832 * dirent/versionsort64.c: Likewise.
1833 * dirent/scandir64.c: Likewise.
1834 * dirent/scandirat64.c: Likewise.
1835 * sysdeps/wordsize-64/alphasort.c: File removed.
1836 * sysdeps/wordsize-64/alphasort64.c: File removed.
1837 * sysdeps/wordsize-64/scandir.c: File removed.
1838 * sysdeps/wordsize-64/scandir64.c: File removed.
1839 * sysdeps/wordsize-64/scandirat.c: File removed.
1840 * sysdeps/wordsize-64/scandirat64.c: File removed.
1841 * sysdeps/wordsize-64/versionsort.c: File removed.
1842 * sysdeps/wordsize-64/versionsort64.c: File removed.
1843 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
1844 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
1845 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
1846 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
1847 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
1848 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
1849 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
1850 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
1851
1852 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
1853 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1854 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
1855 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1856 [defined __arch64__ || defined __sparcv9]
1857 (__INO_T_MATCHES_INO64_T): New macro.
1858 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1859 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
1860 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
1861 * sysdeps/unix/sysv/linux/bits/dirent.h
1862 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
1863 (_DIRENT_MATCHES_DIRENT64): New macro.
1864
03af9520
RM
1865 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
1866 Define lockf64 as an alias.
1867 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
1868 Define fseeko64 as an alias.
1869 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
1870 Define ftello64 as an alias.
1871 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
1872 Define _IO_fgetpos64 and fgetpos64 as aliases.
1873 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
1874 Define _IO_fsetpos64 and fsetpos64 as aliases.
1875 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
1876 Conditionalize body on this.
1877 * libio/fseeko64.c: Likewise.
1878 * libio/ftello64.c: Likewise.
1879 * libio/iofgetpos64.c: Likewise.
1880 * libio/iofsetpos64.c: Likewise.
1881 * sysdeps/wordsize-64/lockf.c: File removed.
1882 * sysdeps/wordsize-64/lockf64.c: File removed.
1883 * sysdeps/wordsize-64/fseeko.c: File removed.
1884 * sysdeps/wordsize-64/fseeko64.c: File removed.
1885 * sysdeps/wordsize-64/ftello.c: File removed.
1886 * sysdeps/wordsize-64/ftello64.c: File removed.
1887 * sysdeps/wordsize-64/iofgetpos.c: File removed.
1888 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
1889 * sysdeps/wordsize-64/iofsetpos.c: File removed.
1890 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
1891 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
1892 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
1893 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
1894 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
1895 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
1896 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
1897 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
1898 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
1899 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
1900 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
1901
1902 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1903 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1904 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
1905 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1906 [defined __arch64__ || defined __sparcv9]
1907 (__OFF_T_MATCHES_OFF64_T): New macro.
1908 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1909 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1910 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1911 (__OFF_T_MATCHES_OFF64_T): New macro.
1912
c5757acd
L
19132012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1914
1915 * stdlib/secure-getenv.c (__secure_getenv): Replace
1916 GLIBC_2_16 with GLIBC_2_17.
1917
3a31811e
L
19182012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1919
1920 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
1921 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1922
faa2bccb
DM
19232012-08-03 David S. Miller <davem@davemloft.net>
1924
1925 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1926
85fe1997
JM
19272012-08-03 Joseph Myers <joseph@codesourcery.com>
1928
1929 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
1930 Remove.
1931 (__ASSUME_CORRECT_SI_PID): Likewise.
1932 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
1933 (__ASSUME_TMPFS_NAME): Likewise.
1934 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
1935 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
1936 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
1937 (HAVE_AUX_SECURE): Make definition unconditional.
1938 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
1939 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
1940
4f75b7a0
RM
19412012-08-03 Roland McGrath <roland@hack.frob.com>
1942
1943 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
1944 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
1945 * sysdeps/mach/hurd/eloop-threshold.h: New file.
1946 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1947 __eloop_threshold instead of SYMLOOP_MAX.
1948
1949 * sysdeps/generic/eloop-threshold.h: New file.
1950 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
1951 of MAXSYMLINKS.
1952 * elf/chroot_canon.c (chroot_canon): Likewise.
1953
7aab07e4
JM
19542012-08-03 Joseph Myers <joseph@codesourcery.com>
1955
1956 [BZ #13717]
1957 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1958 Change to 2.6.0 everywhere.
1959 * sysdeps/unix/sysv/linux/configure: Regenerated.
1960 * sysdeps/unix/sysv/linux/kernel-features.h
1961 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
1962 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
1963 kernel versions.
1964 (__ASSUME_POSIX_TIMERS): Define unconditionally.
1965 (__ASSUME_FUTEX_REQUEUE): Remove.
1966 (__ASSUME_STATFS64): Define unconditionally.
1967 (__ASSUME_AT_SECURE): Likewise.
1968 (__ASSUME_CORRECT_SI_PID): Likewise.
1969 (__ASSUME_TGKILL): Define without depending on kernel version for
1970 i386.
1971 (__ASSUME_UTIMES): Likewise.
1972 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
1973 kernel version.
1974 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
1975 (__ASSUME_TMPFS_NAME): Likewise.
1976 * README: Update reference to Linux kernel versions.
1977
b67e9372
MP
19782012-08-02 Marek Polacek <polacek@redhat.com>
1979
1f529f7d 1980 [BZ# 14150]
b67e9372
MP
1981 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
1982 libc_cv_asm_type_prefix with %.
1983 * configure: Regenerated.
d2441631
RM
1984 * include/libc-symbols.h: Remove comment about
1985 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
1986 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
1987 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
1988 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
1989 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
1990 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1991 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
1992 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
1993 * elf/tst-unique2mod1.c: Likewise.
1994 * elf/tst-unique1mod2.c: Likewise.
1995 * elf/tst-unique1mod1.c: Likewise.
1996 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
1997 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
1998 Replace ASM_TYPE_DIRECTIVE with .type.
1999 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2000 * sysdeps/i386/sysdep.h: Likewise.
2001 * sysdeps/x86_64/sysdep.h: Likewise.
2002 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
2003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
2004 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 2005 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
2006 * sysdeps/powerpc/powerpc32/sysdep.h:
2007 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
2008 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2009 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2010 * sysdeps/i386/fpu/e_powf.S: Likewise.
2011 * sysdeps/i386/fpu/e_expl.S: Likewise.
2012 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2013 * sysdeps/i386/fpu/e_acosh.S: Likewise.
2014 * sysdeps/i386/fpu/e_pow.S: Likewise.
2015 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
2016 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2017 * sysdeps/i386/fpu/s_expm1.S: Likewise.
2018 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2019 * sysdeps/i386/fpu/e_log2.S: Likewise.
2020 * sysdeps/i386/fpu/e_log2l.S: Likewise.
2021 * sysdeps/i386/fpu/e_scalb.S: Likewise.
2022 * sysdeps/i386/fpu/e_powl.S: Likewise.
2023 * sysdeps/i386/fpu/e_log10f.S: Likewise.
2024 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
2025 * sysdeps/i386/fpu/e_logl.S: Likewise.
2026 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
2027 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2028 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
2029 * sysdeps/i386/fpu/e_log2f.S: Likewise.
2030 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2031 * sysdeps/i386/fpu/e_log.S: Likewise.
2032 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2033 * sysdeps/i386/fpu/e_logf.S: Likewise.
2034 * sysdeps/i386/fpu/e_log10l.S: Likewise.
2035 * sysdeps/i386/fpu/e_atanh.S: Likewise.
2036 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
2037 * sysdeps/i386/fpu/e_log10.S: Likewise.
2038 * sysdeps/i386/fpu/s_frexp.S: Likewise.
2039 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2040 * sysdeps/i386/fpu/s_asinh.S: Likewise.
2041 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
2042 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2043 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
2044 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
2045 * sysdeps/i386/i686/strtok.S: Likewise.
2046 * sysdeps/i386/i386-mcount.S: Likewise.
2047 * sysdeps/i386/strtok.S: Likewise.
2048 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
2049 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
2050 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2051 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
2052 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2053 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
2054 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
2055 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
2056 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
2057 * sysdeps/x86_64/_mcount.S: Likewise.
2058 * sysdeps/x86_64/strtok.S: Likewise.
2059 * sysdeps/sh/_mcount.S: Likewise.
2060
2747bf9a
RM
20612012-08-01 Roland McGrath <roland@hack.frob.com>
2062
2063 * libio/iofopen.c: Include <fcntl.h>.
2064 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
2065 (_IO_fopen64, fopen64): Define as aliases.
2066 * libio/iofopen64.c: Include <fcntl.h>.
2067 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
2068 Conditionalize body on this.
2069 * sysdeps/wordsize-64/iofopen.c: File removed.
2070 * sysdeps/wordsize-64/iofopen64.c: File removed.
2071
3fb791b8
MP
20722012-08-01 Marek Polacek <polacek@redhat.com>
2073
2074 * libc/Makeconfig: Use elf in place of binfmt-subdir.
2075 Use dlfcn directly instead of a variable.
2076 (binfmt-subdir): Do not define.
2077 (dlfcn): Likewise.
2078
a9f1039f
JM
20792012-08-01 Joseph Myers <joseph@codesourcery.com>
2080
23bddc06
JM
2081 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2082 Remove all definitions.
2083 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
2084 <kernel-features.h>.
2085 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2086 (miss_F_GETOWN_EX): Remove all definitions.
2087 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
2088 macro definition.
2089 [!__ASSUME_FCNTL64]: Remove conditional code.
2090 [__ASSUME_FCNTL64]: Make code unconditional.
2091 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
2092 <kernel-features.h>.
2093 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2094 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
2095 (lockf64) [__NR_fcntl64]: Make code unconditional.
2096 (lockf64) [__ASSUME_FCNTL64]: Likewise.
2097
a9f1039f
JM
2098 * sysdeps/unix/sysv/linux/kernel-features.h
2099 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
2100 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
2101 Make code unconditional.
2102 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2103 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
2105 [__NR_vfork]: Make code unconditional.
2106 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2107 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
2109 [__NR_vfork]: Make code unconditional.
2110 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2111 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2112
09c0ee5f
RM
21132012-08-01 Roland McGrath <roland@hack.frob.com>
2114
48aec5b9
RM
2115 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
2116 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
2117
cd97c966
RM
2118 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2119 Define mkstemp64 as an alias.
3f55550c
RM
2120 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2121 Define mkstemps64 as an alias.
cd97c966
RM
2122 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2123 Define mkostemp64 as an alias.
b8625cfc
RM
2124 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2125 Define mkostemps64 as an alias.
cd97c966
RM
2126 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
2127 Conditionalize body on this.
2128 * misc/mkostemp64.c: Likewise.
b8625cfc 2129 * misc/mkostemps64.c: Likewise.
3f55550c 2130 * misc/mkstemps64.c: Likewise.
cd97c966
RM
2131 * sysdeps/wordsize-64/mkstemp64.c: File removed.
2132 * sysdeps/wordsize-64/mkostemp64.c: File removed.
2133 * sysdeps/wordsize-64/mkostemp.c: File removed.
2134 * sysdeps/wordsize-64/mkstemp.c: File removed.
2135 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
2136 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
2137 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
2138 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
2139
09c0ee5f
RM
2140 [BZ #14138]
2141 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
2142 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
2143 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
2144 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
2145
2146 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
2147 compat_symbol macros from <shlib-compat.h> rather than the underlying
2148 default_symbol_version and symbol_version macros, so that DEFAULT
2149 lines in shlib-versions are respected.
2150 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
2151
7e66ee51
FW
21522012-08-01 Florian Weimer <fweimer@redhat.com>
2153
2154 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
2155 Declare with warn_unused_result.
2156 (setgid, setregid, setegid, setresgid): Likewise.
2157 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
2158 Likewise.
2159 * WUR-REPORT: Remove set*id functions.
2160
d2a54255
PT
21612012-07-31 Pino Toscano <toscano.pino@tiscali.it>
2162
2163 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
2164
7ecdb005
RM
21652012-07-31 Roland McGrath <roland@hack.frob.com>
2166
789bd351
RM
2167 * include/sys/socket.h (__libc_accept, __libc_accept4):
2168 Add attribute_hidden.
2169 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
2170
40ce302d
RM
2171 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
2172 use of PTR_MANGLE.
2173 * inet/getnetgrent_r.c (setup): Likewise.
2174
7ecdb005
RM
2175 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
2176
e2eabb2c
DM
21772012-07-31 David S. Miller <davem@davemloft.net>
2178
2179 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2180
d0419dbf
JM
21812012-07-31 Joseph Myers <joseph@codesourcery.com>
2182
2183 [BZ #13629]
2184 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
2185 value between 1.0 and 2.0 and smaller part has absolute value less
2186 than 1.0.
2187 * math/s_clog10.c (__clog10): Likewise.
2188 * math/s_clog10f.c (__clog10f): Likewise.
2189 * math/s_clog10l.c (__clog10l): Likewise.
2190 * math/s_clogf.c (__clogf): Likewise.
2191 * math/s_clogl.c (__clogl): Likewise.
2192 * math/libm-test.inc (clog_test): Add more tests.
2193 (clog10_test): Likewise.
2194 * sysdeps/i386/fpu/libm-test-ulps: Update.
2195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2196
2bc13872
FW
21972012-07-31 Florian Weimer <fweimer@redhat.com>
2198
2199 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
2200 Exit with zero in case no suitable GID is found, and write a
2201 message to standard error.
2202
bea9b193
RM
22032012-07-30 Roland McGrath <roland@hack.frob.com>
2204
2205 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
2206 rather than to 1.
2207 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
2208 (MAXPATHLEN): Removed.
2209 (NOGROUP, NODEV): New macros.
2210 (setbit, clrbit, isset, isclr): New macros.
2211 (howmany, roundup, powerof2): New macros.
2212 (DEV_BSIZE): New macro.
2213
2214 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
2215 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
2216
2217 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
2218 definition on [!__NO_LONG_DOUBLE_MATH].
2219
2220 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
2221 PTR_MANGLE and PTR_DEMANGLE.
2222
2223 * socket/accept4.c (accept4): Rename to __libc_accept4.
2224 Define accept4 as a weak alias.
2225
2226 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
2227 on [_DIRENT_HAVE_D_TYPE].
2228 * io/ftw.c (ftw_dir): Likewise.
2229
2230 * io/xmknod.c (__xmknod): Don't check PATH for being null.
2231
2232 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
2233
2234 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
2235 Use the BSD numbers rather than the arbitrary ones we had.
2236 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
2237 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
2238 (SIGXCPU, SIGXFSZ): New macros.
2239 (_NSIG): Now 32.
2240
2241 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
2242 initializer on [_LIBC_REENTRANT].
2243
2244 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
2245 definitions inside [_POSIX_MAPPED_FILES].
2246
2247 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
2248
2249 * dirent/opendir.c: Include <fcntl.h>.
2250
2251 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
2252 (__libc_getspecific): Likewise.
2253 (__libc_key_create): Likewise.
2254
2255 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
2256 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
2257 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
2258 (tmpfile64): Define as alias.
2259 * sysdeps/wordsize-64/tmpfile.c: File removed.
2260 * sysdeps/wordsize-64/tmpfile64.c: File removed.
2261 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
2262 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
2263
2264 * stdio-common/vfscanf.c: Include <stdbool.h>.
2265 * nss/makedb.c: Likewise.
2266 * stdio-common/_i18n_number.h: Likewise.
2267 * argp/argp-help.c: Likewise.
2268 * posix/wordexp.c: Likewise.
2269 * sysdeps/posix/spawni.c: Likewise.
2270 * nss/nss_files/files-initgroups.c: Likewise.
2271 * stdio-common/reg-modifier.c: Include <stdlib.h>.
2272 * nss/nss_files/files-initgroups.c: Likewise.
2273 * nss/nss_db/db-netgrp.c: Likewise.
2274 * nss/nss_db/db-initgroups.c: Likewise.
2275 * io/fchmodat.c: Include <sys/stat.h>.
2276
2277 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
2278 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
2279
2280 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
2281 [HAVE_MMAP].
2282
2283 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
2284 Add multiple inclusion protection.
2285
e5abc686
DM
22862012-07-27 David S. Miller <davem@davemloft.net>
2287
2288 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2289
815e6fa3
GB
22902012-07-27 Gary Benson <gbenson@redhat.com>
2291
2292 [BZ #14298]
2293 * elf/rtld.c: Include <stap-probe.h>.
2294 (dl_main): Added static probes "init_start" and "init_complete".
2295 * elf/dl-load.c: Include <stap-probe.h>.
2296 (lose): Take new parameter "nsid".
2297 Added static probe "map_failed".
2298 (_dl_map_object_from_fd): Pass namespace id to lose.
2299 Added static probe "map_start".
2300 (open_verify): Pass namespace id to lose.
2301 * elf/dl-open.c: Include <stap-probe.h>.
2302 (dl_open_worker) Added static probes "map_complete", "reloc_start"
2303 and "reloc_complete".
2304 * elf/dl-close.c: Include <stap-probe.h>.
2305 (_dl_close_worker): Added static probes "unmap_start" and
2306 "unmap_complete".
2307 * elf/rtld-debugger-interface.txt: New file documenting the above.
2308
9f98c16c
RM
23092012-07-26 Roland McGrath <roland@hack.frob.com>
2310
2311 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
2312 rather than a string variable.
2313 * sunrpc/rpc_main.c (h_output): Likewise.
2314 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
2315
f3c22df3
PT
23162012-07-26 Pino Toscano <toscano.pino@tiscali.it>
2317
2318 * inet/check_native.c: New file.
2319
3129cfc6
JM
23202012-07-26 Joseph Myers <joseph@codesourcery.com>
2321
da865e95
JM
2322 [BZ #13629]
2323 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
2324 if larger part has absolute value 1.0.
2325 * math/s_clog10.c (__clog10): Likewise.
2326 * math/s_clog10f.c (__clog10f): Likewise.
2327 * math/s_clog10l.c (__clog10l): Likewise.
2328 * math/s_clogf.c (__clogf): Likewise.
2329 * math/s_clogl.c (__clogl): Likewise.
2330 * math/libm-test.inc (clog_test): Add more tests.
2331 (clog10_test): Likewise.
2332 * sysdeps/i386/fpu/libm-test-ulps: Update.
2333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2334
3129cfc6
JM
2335 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
2336 (pltexit): Likewise.
2337 (La_regs): Likewise.
2338 (La_retval): Likewise.
2339 (int_retval): Likewise.
2340 Update #error for removed macros to refer only to definitions in
2341 tst-audit.h.
2342 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
2343 macro.
2344 (pltexit): Likewise.
2345 (La_regs): Likewise.
2346 (La_retval): Likewise.
2347 (int_retval): Likewise.
2348 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
2349 macro.
2350 (pltexit): Likewise.
2351 (La_regs): Likewise.
2352 (La_retval): Likewise.
2353 (int_retval): Likewise.
2354 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
2355 macro.
2356 (pltexit): Likewise.
2357 (La_regs): Likewise.
2358 (La_retval): Likewise.
2359 (int_retval): Likewise.
2360 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
2361 macro.
2362 (pltexit): Likewise.
2363 (La_regs): Likewise.
2364 (La_retval): Likewise.
2365 (int_retval): Likewise.
2366 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
2367 macro.
2368 (pltexit): Likewise.
2369 (La_regs): Likewise.
2370 (La_retval): Likewise.
2371 (int_retval): Likewise.
2372 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
2373 macro.
2374 (pltexit): Likewise.
2375 (La_regs): Likewise.
2376 (La_retval): Likewise.
2377 (int_retval): Likewise.
2378 * sysdeps/generic/tst-audit.h: Update comment to refer only to
2379 macro definitions in tst-audit.h.
2380 * sysdeps/i386/tst-audit.h: New file.
2381 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
2382 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
2383 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
2384 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
2385 * sysdeps/sh/tst-audit.h: Likewise.
2386 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
2387 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
2388 * sysdeps/x86_64/tst-audit.h: Likewise.
2389
bfc07087
AJ
23902012-07-26 Andreas Jaeger <aj@suse.de>
2391
b1b2aaf8
AJ
2392 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
2393 ptrace.
2394
2395 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
2396 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
2397 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
2398 PTRACE_O_MASK.
2399 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
2400 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
2401 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
2402
bfc07087
AJ
2403 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
2404 value.
2405
2406 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
2407 _sigsys.
2408 (si_call_addr, si_syscall, si_arch): Define new macro.
2409 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
2410 _sigsys.
2411 (si_call_addr, si_syscall, si_arch): Define new marcro.
2412 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
2413 _sigsys.
2414 (si_call_addr, si_syscall, si_arch): Define new macro.
2415 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
2416 _sigsys.
2417 (si_call_addr, si_syscall, si_arch): Define new macro.
2418
89b4b02f
JM
24192012-07-25 Joseph Myers <joseph@codesourcery.com>
2420
2421 [BZ #13717]
2422 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2423 Change to 2.4.21 where previously 2.4.1.
2424 * sysdeps/unix/sysv/linux/configure: Regenerated.
2425 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
2426 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
2427 Linux kernel version.
2428 (__ASSUME_STD_AUXV): Remove.
2429 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
2430 kernel version.
2431 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
2432 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
2433 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
2434 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
2435 (__ASSUME_NETLINK_SUPPORT): Likewise.
2436 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
2437 (__no_netlink_support): Remove conditional definition.
2438 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
2439 Remove.
2440 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2441 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
2442 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
2443 (if_nameindex_ioctl): Remove.
2444 (if_nameindex_netlink): Do not handle __no_netlink_support.
2445 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2446 code.
2447 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
2448 Remove conditional code.
2449 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2450 code.
2451 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
2452 unconditional.
2453 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2454 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
2455 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
2456 Remove.
2457 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
2458 [!__ASSUME_STD_AUXV]: Remove conditional code.
2459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
2460 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
2461 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
2462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
2463 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
2464 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2465 code.
2466 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2468 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
2469 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2470 conditional code.
2471 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2473 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2474 code.
2475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2476 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2477 conditional code.
2478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
2479 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2480 code unconditional.
2481 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2482 conditional code.
2483 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2484 unconditional.
2485 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2486 conditional code.
2487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2488 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2489 unconditional.
2490 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2491 conditional code.
2492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2493 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2494 code unconditional.
2495 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2496 conditional code.
2497 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2498 unconditional.
2499 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2500 conditional code.
2501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2502 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2503 code unconditional.
2504 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2505 conditional code.
2506 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2507 unconditional.
2508 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2509 conditional code.
2510
842a39cd
AS
25112012-07-25 Andreas Schwab <schwab@linux-m68k.org>
2512
2513 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
2514 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
2515 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2516 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
2517 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
2518 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2519 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2520 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
2521 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
2522 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2523 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
2524 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
2525 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
2526 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2527 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
2528 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
2529 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
2530 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
2531 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
2532 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
2533 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
2534 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
2535 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2536
84b3fd84
FW
25372012-07-25 Florian Weimer <fweimer@redhat.com>
2538
2539 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
2540 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
2541 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
2542 Introduce __libc_secure_getenv.
0c7936d5
FW
2543 * stdlib/Versions (2.17): Add secure_getenv
2544 (GLIBC_PRIVATE): Add __libc_secure_getenv.
2545 * stdlib/secure-getenv.c: Rename __secure_getenv to
2546 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
2547 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
2548 * stdlib/tst-secure-getenv.c: New.
2549 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
2550 * manual/startup.texi (Environment Access): Document
2551 secure_getenv.
84b3fd84
FW
2552 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
2553 __libc_secure_getenv.
2554 * inet/ruserpass.c (ruserpass): Likewise.
2555 * malloc/mtrace.c (mtrace): Likewise.
2556 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 2557 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
2558 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
2559 * sysdeps/posix/tempname.c: Likewise. Evaluate
2560 HAVE_SECURE_GETENV.
2561 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 2562 __secure_getenv to __libc_secure_getenv.
84b3fd84 2563 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
2564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2565 Likewise.
2566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2567 Likewise.
2568 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2569 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2570 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2571 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2572 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2573 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2574 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 2575
56e49b71
JM
25762012-07-25 Joseph Myers <joseph@codesourcery.com>
2577
2578 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
2579 (struct La_i86_retval): Likewise.
2580 (struct La_x86_64_regs): Likewise.
2581 (struct La_x86_64_retval): Likewise.
2582 (struct La_x32_regs): Likewise.
2583 (struct La_x32_retval): Likewise.
2584 (struct La_ppc32_regs): Likewise.
2585 (struct La_ppc32_retval): Likewise.
2586 (struct La_ppc64_regs): Likewise.
2587 (struct La_ppc64_retval): Likewise.
2588 (struct La_sh_regs): Likewise.
2589 (struct La_sh_retval): Likewise.
2590 (struct La_s390_32_regs): Likewise.
2591 (struct La_s390_32_retval): Likewise.
2592 (struct La_s390_64_regs): Likewise.
2593 (struct La_s390_64_retval): Likewise.
2594 (struct La_sparc32_regs): Likewise.
2595 (struct La_sparc32_retval): Likewise.
2596 (struct La_sparc64_regs): Likewise.
2597 (struct La_sparc64_retval): Likewise.
2598 (struct audit_ifaces): Remove architecture-specific pltenter and
2599 pltexit members.
2600 * sysdeps/i386/ldsodefs.h: New file.
2601 * sysdeps/powerpc/ldsodefs.h: Likewise.
2602 * sysdeps/s390/ldsodefs.h: Likewise.
2603 * sysdeps/sh/ldsodefs.h: Likewise.
2604 * sysdeps/sparc/ldsodefs.h: Likewise.
2605 * sysdeps/x86_64/ldsodefs.h: Likewise.
2606
354691b7
MP
26072012-07-25 Marek Polacek <polacek@redhat.com>
2608
2609 [BZ #6808]
2610 * math/libm-test.inc (yn_test): Add another test.
2611 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
2612 to ERANGE when the result is +-Inf.
2613 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2614 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
2615 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
2616 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
2617
bf9e2071
JM
26182012-07-24 Joseph Myers <joseph@codesourcery.com>
2619
2620 * conform/data/time.h-data (NULL): Use macro-constant. Require
2621 equal to 0.
2622 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
2623 clock_t.
2624 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
2625
57633811
TS
26262012-07-23 Thomas Schwinge <thomas@codesourcery.com>
2627
2628 * configure.in <sysdeps resolving>: Correct printing
2629 Implies_before.
2630 * configure: Regenerate.
2631
c23c33b0
TS
26322012-07-22 Thomas Schwinge <thomas@codesourcery.com>
2633
2634 * math/w_ilogb.c: Include <limits.h>.
2635 * math/w_ilogbl.c: Likewise.
2636
b5982523
JM
26372012-07-20 Joseph Myers <joseph@codesourcery.com>
2638
2639 * manual/lang.texi (__va_copy): Document primarily as ISO C99
2640 va_copy. Document allowing for unavailable va_copy only as
2641 pre-C99 compatibility.
2642 * manual/string.texi (Copying and Concatenation): Use va_copy
2643 instead of __va_copy in concat example.
2644
ac4ea442
PT
26452012-07-20 Pino Toscano <toscano.pino@tiscali.it>
2646
2647 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
2648 (__sendto): Use create_address_port. Initialize APORT and deallocate
2649 it if not null.
2650
f98eafbd
PT
2651 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
2652 with O_NOLINK passed to __file_name_lookup.
2653
898c7aab
PT
2654 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
2655 with O_NOLINK passed to __file_name_lookup.
2656
0ced335a
PT
2657 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
2658 negative N or less than NGIDS.
2659
b3404dbd
PT
2660 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
2661 type to string_t. Set ERANGE as errno and return it if NAME is not big
2662 enough. Use memcpy instead of strncpy.
2663
0f48659e
JM
26642012-07-20 Joseph Myers <joseph@codesourcery.com>
2665
2666 * elf/Makefile (check-data): Remove.
2667 (localplt.data): New vpath directive.
2668 ($(objpfx)check-localplt.out): Use localplt.data from vpath
2669 instead of $(check-data).
2670 * scripts/data/localplt-generic.data: Move to ...
2671 * sysdeps/generic/localplt.data: ... here.
2672 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
2673 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
2674 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
2675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2676 ... here.
2677 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
2678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2679 ... here.
2680 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
2681 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
2682 ... here.
2683 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
2684 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2685 ... here.
2686 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
2687 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
2688 ... here.
2689 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
2690 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
2691 ... here.
2692
d37cbdaa
AZ
26932012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2694
2695 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
2696 PPC32 and PPC64 files.
2697 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
2698 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
2699
46f85fc2
AK
27002012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2701
2702 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
2703 __makecontext_ret to ...
2704 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2705 ... here and call exit if uc_link is NULL. New file.
2706 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
2707 __makecontext_ret.S.
2708 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
2709 __makecontext_ret to ...
2710 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2711 ... here and call exit if uc_link is NULL. New file.
2712 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
2713 __makecontext_ret.S.
2714
08f43f9b
AK
27152012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2716
2717 * elf/elf.h (R_390_IRELATIVE): New definition.
2718 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
2719 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
2720 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
2721 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2722 (elf_machine_lazy_rel): Likewise.
2723 * sysdeps/s390/dl-irel.h: New file.
2724 * sysdeps/s390/s390-64/memcpy.S: New asm code.
2725 * sysdeps/s390/s390-64/memset.S: New asm code.
2726 * sysdeps/s390/s390-64/memcmp.S: New asm code.
2727 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
2728 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
2729 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
2730 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
2731 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
2732 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
2733 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
2734 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
2735 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
2736 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
2737 * sysdeps/s390/s390-32/memcpy.S: New asm code.
2738 * sysdeps/s390/s390-32/memset.S: New asm code.
2739 * sysdeps/s390/s390-32/memcmp.S: New asm code.
2740
3b05db33
MP
27412012-07-17 Marek Polacek <polacek@redhat.com>
2742
2743 [BZ #14349]
2744 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
2745 * sysdeps/s390/s390-64/configure.in: Likewise.
2746 * sysdeps/sparc/configure.in: Likewise.
2747 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
2748 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
2749 * sysdeps/i386/configure.in: Likewise.
2750 * sysdeps/x86_64/configure.in: Likewise.
2751 * sysdeps/sh/configure.in: Likewise.
2752 * sysdeps/s390/s390-32/configure: Regenerated.
2753 * sysdeps/s390/s390-64/configure: Likewise.
2754 * sysdeps/x86_64/configure: Likewise.
2755 * sysdeps/sh/configure: Likewise.
2756 * sysdeps/powerpc/powerpc64/configure: Likewise.
2757 * sysdeps/powerpc/powerpc32/configure: Likewise.
2758 * sysdeps/sparc/configure: Likwise.
2759 * sysdeps/i386/configure: Likewise.
2760
a66877c6
MP
2761 * elf/dl-open.c: Comment fixes.
2762
cfc82fd8
JM
27632012-07-17 Joseph Myers <joseph@codesourcery.com>
2764
bd29910a
JM
2765 * Makefile [CXX] (check-data): Remove.
2766 [CXX] (c++-types.data): New vpath directive.
2767 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
2768 vpath. Do not allow for C++ type data being missing.
2769 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
2770 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
2771 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
2772 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
2773 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
2774 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
2775 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
2776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2777 ... here.
2778 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
2779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2780 ... here.
2781 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
2782 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
2783 ... here.
2784 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
2785 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
2786 ... here.
2787 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
2788 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
2789 ... here.
2790 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
2791 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
2792 ... here.
2793 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
2794 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
2795 ... here.
2796 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
2797 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
2798
cfc82fd8
JM
2799 * elf/tls-macros.h (TLS_LE): Move architecture-specific
2800 definitions to architecture-specific files.
2801 (TLS_IE): Likewise.
2802 (TLS_LD): Likewise.
2803 (TLS_GD): Likewise.
2804 * sysdeps/i386/tls-macros.h: New file.
2805 * sysdeps/powerpc/tls-macros.h: Likewise.
2806 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2807 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2808 * sysdeps/sh/tls-macros.h: Likewise.
2809 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
2810 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
2811 * sysdeps/x86_64/tls-macros.h: Likewise.
2812
f7db3170
TS
28132012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2814
07cbfc23
TS
2815 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
2816 zero value for regular exit case.
2817
f7db3170
TS
2818 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2819 (__start_context): Preserve zero value for regular exit case.
2820
dc97c227
TS
28212012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2822 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2823
2824 * manual/setjmp.texi (setcontext): Clarify normal process
2825 termination when uc_link is the null pointer.
2826 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
2827 exit call.
2828
d0cd7d02
AS
28292012-07-16 Andreas Schwab <schwab@linux-m68k.org>
2830
2831 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
2832 preprocessor. Test for each exception mask separately.
2833
dd318934
AJ
28342012-07-16 Andreas Jaeger <aj@suse.de>
2835
2836 * po/ru.po: Update from translation team.
2837
8048311a
JM
28382012-07-15 Joseph Myers <joseph@codesourcery.com>
2839
2840 * conform/data/string.h-data (NULL): Use macro-constant. Require
2841 equal to 0.
2842 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2843 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2844 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
2845 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
2846 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2847
b637d46e
AJ
28482012-07-13 Andreas Jaeger <aj@suse.de>
2849
2850 * po/fr.po: Update from translation team.
2851
541428fe
MP
28522012-07-12 Marek Polacek <polacek@redhat.com>
2853
2854 [BZ #14173]
2855 * math/libm-test.inc (yn_test): Add test for BZ #14173.
2856 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
2857 loop condition.
2858
ec332e94
JM
28592012-07-12 Joseph Myers <joseph@codesourcery.com>
2860
2861 [BZ #13717]
2862 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2863 Change to 2.4.1 where previously 2.4.0.
2864 * sysdeps/unix/sysv/linux/configure: Regenerated.
2865 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
2866 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
2867 version.
2868 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
2869 (__ASSUME_AT_CLKTCK): Remove.
2870 (__ASSUME_AT_PAGESIZE): Likewise.
2871 (__ASSUME_AT_XID): Likewise.
2872 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
2873 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
2874 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
2875 unconditionally.
2876 (HAVE_AUX_PAGESIZE): Likewise.
2877 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
2878 [__ASSUME_AT_CLKTCK]: Make code unconditional.
2879 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
2880
7b6e99be
JB
28812012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
2882
2883 [BZ #14307]
2884 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
2885 the temporary buffer used to invoke __gethostbyname2_r,
2886 __gethostbyaddr_r and gethostbyname4_r to make room for struct
2887 host_data / struct gaih_addrtuple.
2888 * resolv/nss_dns/dns-host.c (global scope): Move definition of
2889 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
2890 header file nss/nsswitch.h.
2891 * nss/nsswitch.h (global scope): Add definition of implementation
2892 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
2893 resolv/nss_dns/dns-host.c).
2894
608404eb
AJ
28952012-07-11 Andreas Jaeger <aj@suse.de>
2896
2897 * po/fr.po: Update from translation team.
2898
71220aca
AJ
2899 * po/sv.po: Update from translation team
2900 * po/fr.po: Another update from translation team.
2901
28cfe843
AZ
29022012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2903
2904 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
2905 for subnormals or multiply small sinh result by itself.
2906 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2907 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2908
6b90f981
DM
29092012-07-11 David S. Miller <davem@davemloft.net>
2910
2911 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2912
c6825772
AS
29132012-07-10 Andreas Schwab <schwab@linux-m68k.org>
2914
2915 [BZ #14347]
2916 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
2917 (INTERNAL_MARK): Shift it here.
2918
7b8e0d49
MP
29192012-07-10 Marek Polacek <polacek@redhat.com>
2920
2921 [BZ #14151]
2922 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
2923 libc_cv_asm_global_directive with .globl.
2924 * configure: Regenerated.
2925 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
2926 with .globl.
2927 * sysdeps/i386/configure: Regenerated.
2928 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
2929 with .globl.
2930 * sysdeps/x86_64/configure: Regenerated.
2931 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
2932 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
2933 * elf/tst-unique2mod2.c: Likewise.
2934 * elf/tst-unique2mod1.c: Likewise.
2935 * elf/tst-unique1mod2.c: Likewise.
2936 * elf/tst-unique1mod1.c: Likewise.
2937 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2938 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2939 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2940 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2941 * sysdeps/mach/sysdep.h: Likewise.
2942 * sysdeps/i386/sysdep.h: Likewise.
2943 * sysdeps/i386/i386-mcount.S: Likewise.
2944 * sysdeps/x86_64/_mcount.S: Likewise.
2945 * sysdeps/x86_64/sysdep.h: Likewise.
2946 * sysdeps/sh/_mcount.S: Likewise.
2947 * sysdeps/sh/sysdep.h: Likewise.
2948 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
2949 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
2950 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
2951 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2952 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
2953 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
2954 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
2955 * locale/localeinfo.h: Likewise.
2956 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
2957 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
2958
6c55cda3
RM
29592012-07-09 Roland McGrath <roland@hack.frob.com>
2960
2961 [BZ #14336]
2962 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
2963 system".
2964 * manual/message.texi (The Uniforum approach): Likewise.
2965 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
2966 (glibc iconv Implementation): Likewise.
2967
638a572e
JM
29682012-07-09 Joseph Myers <joseph@codesourcery.com>
2969
2970 [BZ #14337]
2971 * math/s_clog.c (__clog): Avoid scaling a value down where that
2972 could result in underflow.
2973 * math/s_clog10.c (__clog10): Likewise.
2974 * math/s_clog10f.c (__clog10f): Likewise.
2975 * math/s_clog10l.c (__clog10l): Likewise.
2976 * math/s_clogf.c (__clogf): Likewise.
2977 * math/s_clogl.c (__clogl): Likewise.
2978 * math/libm-test.inc (clog_test): Add more tests.
2979 (clog10_test): Likewise.
2980 * sysdeps/i386/fpu/libm-test-ulps: Update.
2981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2982
261f4859
AS
29832012-07-06 Andreas Schwab <schwab@linux-m68k.org>
2984
0abaf3e4
AS
2985 [BZ #14283]
2986 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
2987 by 7 not 8 to examine high bit of fractional part.
2988
261f4859
AS
2989 [BZ #14042]
2990 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
2991 for call to __mcount_internal.
2992 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
2993 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
2994 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
2995
f17ac40d
JM
29962012-07-06 Joseph Myers <joseph@codesourcery.com>
2997
9ad63c23
JM
2998 [BZ #14154]
2999 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
3000 approximation for values within 0x1p-13f of an odd multiple of
3001 pi/4.
3002 * math/libm-test.inc (tan_test): Do not allow spurious underflow
3003 exception. Add more tests.
3004 * sysdeps/i386/fpu/libm-test-ulps: Update.
3005
f17ac40d
JM
3006 [BZ #6778]
3007 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
3008 inputs and return -1 for them. Do not check for +Inf in case not
3009 reachable for +Inf.
3010 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
3011 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
3012 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3013 and return -1 for them. Do not check for +Inf in case not
3014 reachable for +Inf.
3015 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
3016 define.
3017 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3018 and return -1 for them. Do not check for +Inf in case not
3019 reachable for +Inf.
3020 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
3021 spurious underflow.
3022 * sysdeps/i386/fpu/libm-test-ulps: Update.
3023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3024
fb21f89b
MF
30252012-07-06 Mike Frysinger <vapier@gentoo.org>
3026
3027 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
3028
cdfe2c5e
JM
30292012-07-05 Joseph Myers <joseph@codesourcery.com>
3030
3031 [BZ #14157]
3032 [BZ #14331]
3033 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
3034 could result in spurious underflow. Scale down values above
3035 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
3036 * math/s_csqrtf.c (__csqrtf): Likewise.
3037 * math/s_csqrtl.c (__csqrtl): Likewise.
3038 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
3039 spurious underflow.
3040 * sysdeps/i386/fpu/libm-test-ulps: Update.
3041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3042
70d35b67
AS
30432012-07-04 Andreas Schwab <schwab@linux-m68k.org>
3044
704bc459
AS
3045 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
3046 xopen-msg.sed.
3047 * catgets/xopen-msg.awk: New file.
3048 * catgets/xopen-msg.sed: Removed.
3049
70d35b67
AS
3050 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
3051 po2text.sed.
3052 * intl/po2test.awk: New file.
3053 * intl/po2test.sed: Removed.
3054
ca61cf32
JM
30552012-07-04 Joseph Myers <joseph@codesourcery.com>
3056
3057 [BZ #14328]
3058 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
3059 or multiply small sinh result by itself.
3060 * math/s_ctanf.c (__ctanf): Likewise.
3061 * math/s_ctanh.c (__ctanh): Likewise.
3062 * math/s_ctanhf.c (__ctanhf): Likewise.
3063 * math/s_ctanhl.c (__ctanhl): Likewise.
3064 * math/s_ctanl.c (__ctanl): Likewise.
3065 * math/libm-test.inc (ctan_test_tonearest): New function.
3066 (ctan_test_towardzero): Likewise.
3067 (ctan_test_downward): Likewise.
3068 (ctan_test_upward): Likewise.
3069 (ctanh_test_tonearest): Likewise.
3070 (ctanh_test_towardzero): Likewise.
3071 (ctanh_test_downward): Likewise.
3072 (ctanh_test_upward): Likewise.
3073 (main): Call these new functions.
3074 * sysdeps/i386/fpu/libm-test-ulps: Update.
3075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3076
ca48a46a
MF
30772012-07-03 Mike Frysinger <vapier@gentoo.org>
3078
3079 * .gitignore: Delete /ports entry.
3080
9d63d37d
AJ
30812012-07-03 Andreas Jaeger <aj@suse.de>
3082
3083 * po/bg.po: Update from translation team.
3084 * po/cs.po: Likewise.
3085 * po/de.po: Likewise.
3086 * po/hr.po: Likewise.
3087 * po/nl.pl: Likewise.
3088 * po/pl.po: Likewise.
3089 * po/vi.po: Likewise.
3090
370ca3d2
JM
30912012-07-03 Joseph Myers <joseph@codesourcery.com>
3092
95f5a9a8
JM
3093 * Makeconfig [!+link] (+link-before-libc): New variable.
3094 [!+link] (+link-after-libc): Likewise.
3095 [!+link] (+link-tests): Likewise.
3096 [!+link] (+link): Define in terms of $(+link-before-libc) and
3097 $(+link-after-libc).
3098 [!+link-static] (+link-static-before-libc): New variable.
3099 [!+link-static] (+link-static-after-libc): Likewise.
3100 [!+link-static] (+link-static-tests): Likewise.
3101 [!+link-static] (+link-static): Define in terms of
3102 $(+link-static-before-libc) and $(+link-static-after-libc).
3103 [build-shared] (link-libc-before-gnulib): New variable.
3104 [build-shared] (link-libc-tests): Likewise.
3105 [build-shared] (link-libc): Define in terms of
3106 $(link-libc-before-gnulib).
3107 [!build-shared] (link-libc-tests): New variable.
3108 (link-libc-static-tests): New variable.
3109 [!gnulib] (gnulib-arch): New variable.
3110 [!gnulib] (gnulib-tests): Likewise.
3111 [!gnulib] (static-gnulib-arch): Likewise.
3112 [!gnulib] (static-gnulib-tests): Likewise.
3113 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
3114 Define with "=" instead of ":=".
3115 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
3116 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
3117 * Rules (binaries-all-notests): New variable.
3118 (binaries-all-tests): Likewise.
3119 (binaries-static-notests): Likewise.
3120 (binaries-static-tests): Likewise.
3121 (binaries-all): Define using $(binaries-all-notests) and
3122 $(binaries-all-tests).
3123 (binaries-static): Define using $(binaries-static-notests) and
3124 $(binaries-static-tests).
3125 (binaries-shared-tests): New variable.
3126 (binaries-shared-notests): Likewise.
3127 (binaries-shared): Remove variable.
3128 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
3129 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
3130 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
3131 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
3132 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
3133 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
3134 * elf/Makefile (sln-modules): New variable.
3135 (extra-objs): Add $(sln-modules:=.o).
3136 (ldconfig-modules): Add static-stubs.
3137 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
3138 * elf/static-stubs.c: New file.
3139
7a845b2c
JM
3140 [BZ #14283]
3141 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
3142 by 7 not 8 to examine high bit of fractional part. Use volatile
3143 variables when splitting into final array of floats if
3144 __FLT_EVAL_METHOD__ != 0.
3145 * math/libm-test.inc (cos_test): Add another test.
3146 (sin_test): Likewise.
3147 * sysdeps/i386/fpu/libm-test-ulps: Update.
3148
e2283f38
JM
3149 [BZ #14273]
3150 * math/libm-test.inc (cosh_test): Add more tests.
3151
370ca3d2
JM
3152 * version.h (RELEASE): Set to "development".
3153 (VERSION): Set to "2.16.90".
3154
ee9247c3
CD
31552012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
3156
3157 * NEWS: Update copyright. Remove last-updated date.
3158 Mention math library bug fixes and timezone data changes.
3159 * README: Mention GNU/Hurd, x32, and HPPA support status.
3160
4648c381
TS
31612012-06-28 Thomas Schwinge <thomas@codesourcery.com>
3162
3163 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
3164
aac78a43
AJ
31652012-06-27 Andreas Jaeger <aj@suse.de>
3166
3167 * manual/contrib.texi (Contributors): Add Samuel Thibault.
3168
ed3dbfad
AJ
31692012-06-25 Andreas Jaeger <aj@suse.de>
3170
3171 * sysdeps/s390/fpu/libm-test-ulps: Update.
3172
4d0ee855
AS
31732012-06-23 Andreas Schwab <schwab@linux-m68k.org>
3174 Thomas Schwinge <thomas@codesourcery.com>
3175
3176 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
3177 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
3178 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
3179 fanotify_mark.
3180
af1bce34
TS
31812012-06-23 Thomas Schwinge <thomas@codesourcery.com>
3182
a9fa33ba
TS
3183 * sysdeps/mach/start.c: Remove file.
3184 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
3185 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
3186 * sysdeps/sh/init-first.c: Likewise.
3187
58f902b8
TS
3188 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
3189 registers for frame unwinding purposes, add CFI directives.
3190 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3191 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
3192 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
3193 Likewise.
3194
1518f58b
TS
3195 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
3196 __fortify_fail returning.
3197 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3198
db9b5059
TS
3199 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
3200 sysdeps/sh/____longjmp_chk.S.
3201 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
3202 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
3203 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
3204 (gen-as-const-headers): Append sigaltstack-offsets.sym.
3205
967705fe
TS
3206 * sysdeps/sh/abort-instr.h: New file.
3207 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
3208 process in case exit returns.
3209
a9def8c4
TS
3210 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
3211 initialize the GOT register before use.
3212
2a649725
TS
3213 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
3214 calculation of ARGC > 4.
3215
af1bce34
TS
3216 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
3217 meaningful names to some local labels.
3218
d230f50a
KK
32192012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3220 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3221
3222 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
3223 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
3224 (__arch_compare_and_exchange_val_16_acq): Likewise.
3225 (__arch_compare_and_exchange_val_32_acq): Likewise.
3226 (atomic_exchange_and_add): Fix gUSA sequence.
3227 (atomic_add): Likewise.
3228 (atomic_add_negative): Likewise.
3229 (atomic_add_zero): Likewise.
3230 (atomic_bit_test_set): Likewise.
3231
0479b305
AS
32322012-06-22 Andreas Schwab <schwab@redhat.com>
3233
3234 [BZ #13579]
3235 * include/link.h (struct link_map): Add l_free_initfini.
3236 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
3237 l_initfini.
3238 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
3239 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
3240 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
3241 set.
3242
0e3933b9
CD
32432012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
3244
3245 * configure.in: Use AC_LANG_SOURCE.
3246 * configure: Regenerate.
3247
4248b1b1
RM
32482012-06-22 Roland McGrath <roland@hack.frob.com>
3249
3250 * configure.in (libc_cv_localstatedir): New substituted variable.
3251 * configure: Regenerated.
3252 * config.make.in (localstatedir): New variable, substituted from
3253 libc_cv_localstatedir.
3254 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
3255 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
3256 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
3257 * sysdeps/gnu/configure: Regenerated.
3258
006dd861
JL
32592012-06-21 Jeff Law <law@redhat.com>
3260
3261 [BZ #14277]
3262 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
3263 free. Simplify list management for _LIBC case.
3264
79662d42
JM
32652012-06-21 Joseph Myers <joseph@codesourcery.com>
3266
b7abb4bf
JM
3267 [BZ #14273]
3268 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
3269 Clear sign bit of 64-bit integer value before comparing against
3270 overflow value.
3271
79662d42
JM
3272 * sysdeps/mach/configure: Regenerated.
3273
1f150908
L
32742012-06-21 H.J. Lu <hongjiu.lu@intel.com>
3275
3276 [BZ #14278]
3277 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
3278
28363bbf
JL
32792012-06-21 Jeff Law <law@redhat.com>
3280
3281 [BZ #13882]
3282 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
3283 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 3284 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
3285 * elf/dl-open.c (dl_open_worker): Likewise.
3286
09615db4
CD
32872012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
3288
3289 * scripts/list-sources.sh: Scan PORTS for translations.
3290 * po/libc.pot: Regenerated.
3291
2174c6dd
AJ
32922012-06-21 Andreas Jaeger <aj@suse.de>
3293
3294 [BZ #12194]
3295 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
3296 warning.
3297 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
3298 * bits/byteswap-16.h (__bswap_16): Likewise.
3299 * bits/byteswap.h (__bswap_constant_16): Likewise.
3300
3ee947b1
L
33012012-06-18 H.J. Lu <hongjiu.lu@intel.com>
3302
3303 [BZ #14117]
a2f34833
L
3304 * sysdeps/i386/fpu_control.h: Removed.
3305 * sysdeps/x86_64/fpu_control.h: Moved to ...
3306 * sysdeps/x86/fpu_control.h: Here.
3307
3ee947b1
L
3308 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
3309 (_FPU_SETCW): Likewise.
3310
ed1825f8
L
33112012-06-15 H.J. Lu <hongjiu.lu@intel.com>
3312
25f1282a
L
3313 [BZ #14117]
3314 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
3315 * sysdeps/x86/fpu/bits/mathinline.h: This.
3316 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
3317
ed1825f8
L
3318 [BZ #14050]
3319 [BZ #14117]
3320 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
3321 functions if __x86_64__ is defined.
3322
36d54b74
CLT
33232012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
3324
3325 * string/endian.h: Add !__ASSEMBLER__ condition for including
3326 conversion interfaces.
3327
10285c21
JM
33282012-06-15 Joseph Myers <joseph@codesourcery.com>
3329
3330 [BZ #14241]
3331 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
3332 of ABS(x) in calculating zero to negative powers other than odd
3333 integers.
3334 * math/libm-test.inc (pow_test): Add more tests.
3335
06c5abbd
AJ
33362012-06-15 Andreas Jaeger <aj@suse.de>
3337
3338 * manual/contrib.texi (Contributors): Update entry of Liubov
3339 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
3340 Machado Filho.
3341
a3aeac40
CH
33422012-06-15 Cyril Hrubis <metan@ucw.cz>
3343
3344 * string/string.h: Add __wur to GNU version of strerror_r.
3345
49bdf4c1
L
33462012-06-14 H.J. Lu <hongjiu.lu@intel.com>
3347
3348 [BZ #14229]
3349 * string/Makefile (tests): Add tst-strtok_r.
3350 * string/tst-strtok_r.c: New file.
3351 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
3352 RAX_LP/RDX_LP on SAVE_PTR.
3353
834f9b8d
RM
33542012-06-14 Roland McGrath <roland@hack.frob.com>
3355
3356 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
3357
75fa1921
JM
33582012-06-14 Joseph Myers <joseph@codesourcery.com>
3359
3360 * libm_test.inc (csqrt_test): Allow more spurious underflow
3361 exceptions.
3362 (j0_test): Likewise.
3363 (j1_test): Likewise.
3364 (y0_test): Likewise.
3365 (y1_test): Likewise.
3366
771766df
CD
33672012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
3368
3369 * po/Makefile (libc.pot): Use UTF-8 charset.
3370
ceb9e56b
PP
33712012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
3372
3373 [BZ #14210]
3374 Suppress sign-conversion warning from FD_SET.
3375 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
3376 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
3377 not unsigned long int.
3378 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
3379
ddb28975
L
33802012-06-12 H.J. Lu <hongjiu.lu@intel.com>
3381
3382 [BZ #14050]
3383 [BZ #14117]
3384 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
3385 __extern_always_inline instead of __extern_inline.
3386 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
3387 (__signbit): Likewise.
3388 (__signbitl): Support C++ namespace.
3389 (lrintf): New inline function.
3390 (lrint): Likewise.
3391 (llrintf): Likewise.
3392 (llrint): Likewise.
3393 (fmaxf): Likewise.
3394 (fmax): Likewise.
3395 (fminf): Likewise.
3396 (fmin): Likewise.
3397 (rint): Likewise.
3398 (rintf): Likewise.
3399 (ceil): Likewise.
3400 (ceilf): Likewise.
3401 (floor): Likewise.
3402 (floorf): Likewise.
3403 (nearbyint): Likewise.
3404 (nearbyintf): Likewise.
3405
d7b4fb26
TS
34062012-06-12 Thomas Schwinge <thomas@codesourcery.com>
3407
3408 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
3409 non-default versions.
3410
eb55f5c2
RM
34112012-06-11 Roland McGrath <roland@hack.frob.com>
3412
3413 [BZ #14218]
3414 * manual/argp.texi (Argp): Reword argp_parse description slightly.
3415
366af02c
TS
34162012-06-09 Thomas Schwinge <thomas@codesourcery.com>
3417
99ff6e5c
TS
3418 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
3419 (FE_UPWARD, FE_DOWNWARD): Don't define.
3420 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
3421 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3422
366af02c
TS
3423 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
3424 reading it.
3425 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3426 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3427
793ea851
KK
34282012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3429
3430 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3431 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
3432 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
3433 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
3434
a728a38f
L
34352012-06-06 H.J. Lu <hongjiu.lu@intel.com>
3436
3437 [BZ #14117]
c08010c7
L
3438 * sysdeps/i386/fpu/bits/fenv.h: Removed.
3439 * sysdeps/i386/fpu/Implies: New file.
3440 * sysdeps/x86_64/fpu/Implies: Likewise.
3441 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
3442 * sysdeps/x86/fpu/bits/fenv.h: This.
3443
a728a38f
L
3444 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
3445 __SSE_MATH__.
3446
6e230d11
SP
34472012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3448
3449 [BZ #14134]
3450 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
3451 character 0xffff that matches the last element of the
3452 conversion table.
3453
1b671feb
AZ
34542012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3455
3456 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
3457 fmodl commit.
3458
6043738b
AZ
34592012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3460
3461 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
3462 values higher than 25.6283.
3463
34ae0b32
AZ
34642012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3465
3466 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
3467 subnormal exponent extraction and add some __builtin_expect.
3468 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
3469 Fix for subnormal mantissa calculation.
3470
1214ec8f
MF
34712012-06-04 Mike Frysinger <vapier@gentoo.org>
3472
3473 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
3474 cpu2 is -1 and errno is not ENOSYS.
3475
f3d1f93c
L
34762012-06-04 H.J. Lu <hongjiu.lu@intel.com>
3477
3478 [BZ #14117]
0e4a3cd7
L
3479 * sysdeps/i386/i486/bits/string.h: Renamed to ...
3480 * sysdeps/x86/bits/string.h: This.
3481 * sysdeps/x86_64/bits/string.h: Removed.
3482
6704c645
L
3483 * sysdeps/i386/i486/bits/string.h: Define inline functions only
3484 if not compiling for x86-64, but compiling for >= i486.
3485
48495318
L
3486 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
3487 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
3488
14adcbfc
L
3489 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
3490 New macro from Linux kernel 3.4.0.
3491 (FP_XSTATE_MAGIC2): Likewise.
3492 (FP_XSTATE_MAGIC2_SIZE): Likewise.
3493 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
3494 (struct _fpx_sw_bytes): New struct.
3495 (struct _xsave_hdr): Likewise.
3496 (struct _ymmh_state): Likewise.
3497 (struct _xstate): Likewise.
3498
68e408ab
L
3499 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
3500 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
3501 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
3502 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
3503 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
3504 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
3505
f3d1f93c
L
3506 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
3507 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
3508 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
3509 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
3510 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
3511 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
3512
d9dc34cd
TMQMF
35132012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3514
3515 [BZ #13743]
3516 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
3517 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
3518 (sysdep_headers): Include sys/platform/ppc.h.
3519 * sysdeps/powerpc/test-gettimebase.c: Test for
3520 __ppc_get_timebase() to catch future ISA opcode/insn changes.
3521 * manual/Makefile (appendices): Include platform.texi.
3522 * manual/contrib.texi (Contributors): Update @node pointers.
3523 * manual/maint.texi (Maintenance): Likewise.
3524 (Platform): New node.
3525 * manual/platform.texi: New file. Document the new features.
3526
4af3879c
SP
35272012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3528 Jakub Jelinek <jakub@redhat.com>
3529
3530 [BZ #14188]
3531 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
3532 where __builtin_expect is unavailable.
3533
2fd6ff13
DM
35342012-06-03 David S. Miller <davem@davemloft.net>
3535
3536 * stdlib/longlong.h: Updated from GCC.
3537
173f7220
AS
35382012-06-02 Andreas Schwab <schwab@linux-m68k.org>
3539
3540 [BZ #14042]
3541 * sysdeps/powerpc/powerpc32/mcount.c: New file.
3542 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
3543 __mcount_internal.
3544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3545 (GLIBC_2.16): Likewise.
3546
f34a1c6f
L
35472012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3548
3549 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
3550
88a4576f
JM
35512012-06-01 Joseph Myers <joseph@codesourcery.com>
3552
ea32bcdd
JM
3553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3554 (default-abi): New variable.
3555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
3556 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
3557 variable.
3558 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
3559 Likewise.
3560 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
3561 Likewise.
3562 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
3563 Likewise.
3564
88a4576f
JM
3565 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
3566 definition. Document in comment.
3567
402fe938
DM
35682012-06-01 David S. Miller <davem@davemloft.net>
3569
3570 * stdlib/longlong.h: Updated from GCC.
3571
3553723f
L
35722012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3573
3574 [BZ #14117]
3bd872c4
L
3575 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
3576 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
3577 sys/debugreg.h sys/io.h here.
3578 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
3579 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
3580 sys/io.h.
3581 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
3582 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
3583 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
3584 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
3585 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
3586 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
3587
3553723f
L
3588 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
3589 Define only if __x86_64__ is defined.
3590
4842e4fe
JM
35912012-06-01 Joseph Myers <joseph@codesourcery.com>
3592
c5bfe3d5
JM
3593 [BZ #14048]
3594 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
3595 Use int64_t for variable i.
3596 * math/libm-test.inc (fmod_test): Add more tests.
3597
4842e4fe
JM
3598 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
3599 z computation is not scheduled after fetestexcept.
3600 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
3601 Use math_force_eval instead of asm to ensure calculation scheduled
3602 before exception test.
3603 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
3604 Ensure a1 + u.d computation is not scheduled after fetestexcept.
3605
efb73488
AJ
36062012-06-01 Aurelien Jarno <aurelien@aurel32.net>
3607
3608 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
3609 computation is not scheduled after fetestexcept.
3610
29bcce7c
L
36112012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3612
3613 [BZ #14117]
3614 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
3615 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
3616
73a68f94
AZ
36172012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3618
3619 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
3620 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3621
67b6df78
L
36222012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3623
edf2933a 3624 [BZ #14117]
ebc64a18
L
3625 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
3626 <bits/wordsize.h>.
3627 (__WCHAR_MIN): Support __WORDSIZE == 64.
3628 (__WCHAR_MAX): Likewise.
3629
edf2933a
L
3630 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
3631 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
3632
57c6cf40
L
3633 [BZ #14183]
3634 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
3635 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
3636
67b6df78 3637 [BZ #14117]
8eb6281e
L
3638 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
3639 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
3640
aac639f4
L
3641 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
3642 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
3643
67b6df78
L
3644 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
3645 Defined to 1 if __x86_64__ isn't defined.
3646 (_STAT_VER_LINUX_OLD): New.
3647 (st_atime): Remove duplicate.
3648 (st_mtime): Likewise.
3649 (st_ctime): Likewise.
3650
1c2cfe81
DM
36512012-05-31 David S. Miller <davem@davemloft.net>
3652
3653 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
3654 entries.
3655
5be8418c
AS
36562012-06-01 Andreas Schwab <schwab@linux-m68k.org>
3657
e7725326
AS
3658 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
3659 gen-libm-test.pl.
3660
5be8418c
AS
3661 [BZ #14132]
3662 * elf/dl-reloc.c: Include <_itoa.h>.
3663 (_dl_reloc_bad_type): Remove use of INTUSE.
3664 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
3665 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
3666 * stdio-common/psiginfo.c (psiginfo): Likewise.
3667 * stdio-common/psignal.c (psignal): Likewise.
3668 * string/strsignal.c (strsignal): Likewise.
3669 * include/signal.h (_sys_siglist): Declare hidden proto.
3670 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
3671 INTVARDEF with libc_hidden_data_def.
3672 * stdio-common/itoa-udigits.c: Likewise.
3673 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
3674 (_itoa_lower_digits_internal): Remove declaration.
3675 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
3676 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
3677 (_sys_sigabbrev_internal): Remove aliases.
3678 (_sys_siglist): Define hidden alias.
3679
507352f1
MT
36802012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
3681
3682 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3683 bits/sysctl.h.
3684
42bbb1c3
L
36852012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3686
3687 [BZ #14117]
6bd784b6
L
3688 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
3689 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
3690
8bca20f0
L
3691 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
3692 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
3693 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
3694 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
3695 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
3696 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
3697
f9e890a9
L
3698 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
3699 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
3700 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
3701
471101a1
L
3702 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
3703 with __addr.
3704 (insw): Likewise.
3705 (insl): Likewise.
3706 (outsb): Likewise.
3707 (outsw): Likewise.
3708 (outsl): Likewise.
3709
6451c862
L
3710 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
3711 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
3712 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
3713
a254b8c9
L
3714 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
3715 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
3716 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
3717 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
3718 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
3719 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
3720
b8dfdd92
L
3721 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
3722 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
3723
578cd270
L
3724 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
3725 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
3726
de662f5f
L
3727 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
3728 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
3729 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
3730
25653439
L
3731 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
3732 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
3733 to ...
3734 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
3735
6bad24a0
L
3736 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
3737 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
3738 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
3739
42bbb1c3
L
3740 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
3741 for x86-64.
3742 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
3743
2d10d547
JM
37442012-05-31 Joseph Myers <joseph@codesourcery.com>
3745
3746 * math/math.h (M_El): Use two more decimal places.
3747 (M_LOG2El): Likewise.
3748 (M_LOG10El): Likewise.
3749 (M_LN2l): Likewise.
3750 (M_LN10l): Likewise.
3751 (M_PIl): Likewise.
3752 (M_PI_2l): Likewise.
3753 (M_PI_4l): Likewise.
3754 (M_1_PIl): Likewise.
3755 (M_2_PIl): Likewise.
3756 (M_2_SQRTPIl): Likewise.
3757 (M_SQRT2l): Likewise.
3758 (M_SQRT1_2l): Likewise.
3759
f230c29b
DM
37602012-05-31 David S. Miller <davem@davemloft.net>
3761
3762 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
3763 values between float registers.
3764 * sysdeps/sparc/sparc64/memset.S: Likewise.
3765 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3766
fed806c3
MF
37672012-05-31 Mike Frysinger <vapier@gentoo.org>
3768
3769 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
3770 -D_FORTIFY_SOURCE=1.
3771 (CPPFLAGS-tst-longjmp_chk.c): Define.
3772 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
3773 (CPPFLAGS-tst-longjmp_chk2.c): Define.
3774 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
3775 CFLAGS-tst-wchar-h.c.
3776
30917259
MP
37772012-05-31 Marek Polacek <polacek@redhat.com>
3778
3779 [BZ #14132]
3780 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
3781 __endmntent_internal): Remove declaration.
3782 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
3783 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
3784 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
3785
1c58d5dc
DM
37862012-05-30 David S. Miller <davem@davemloft.net>
3787
3788 * sysdeps/sparc/sparc32/soft-fp/q_util.c
3789 (___Q_simulate_exceptions): Use real FP ops rather than writing
3790 into the %fsr.
3791 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
3792 Likewise.
3793
7dc00e0d
L
37942012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3795
3796 [BZ #14117]
0bd53985
L
3797 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
3798 * sysdeps/x86/bits/xtitypes.h: This.
3799
3a257e66
L
3800 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
3801 * sysdeps/x86/bits/wordsize.h: This.
3802
62f62904
L
3803 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
3804 * sysdeps/x86/bits/huge_vall.h: This.
3805
404fe9d9
L
3806 * sysdeps/i386/bits/select.h: Removed.
3807 * sysdeps/x86_64/bits/select.h: Renamed to ...
3808 * sysdeps/x86/bits/select.h: This.
3809
d48d0446
L
3810 * sysdeps/i386/bits/setjmp.h: Removed.
3811 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
3812 * sysdeps/x86/bits/setjmp.h: This.
3813
7dc00e0d
L
3814 * sysdeps/i386/bits/mathdef.h: Removed.
3815 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
3816 * sysdeps/x86/bits/mathdef.h: This.
3817
03277f8f
AS
38182012-05-30 Andreas Schwab <schwab@linux-m68k.org>
3819
3820 [BZ #14132]
3821 * include/sys/socket.h (__connect_internal)
3822 (__libc_sa_len_internal): Remove declaration.
3823 (__connect, __libc_sa_len): Declare hidden_proto.
3824 (SA_LEN): Remove use of INTUSE.
3825 * socket/connect.c: Add libc_hidden_def.
3826 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
3827 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
3828 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
3829 alias.
3830 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3831 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3832 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
3833 of adding _internal alias.
3834
13764867
L
38352012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3836
3837 [BZ #14117]
6bd97696
L
3838 * sysdeps/i386/bits/link.h: Removed.
3839 * sysdeps/i386/bits/linkmap.h: Likewise.
3840 * sysdeps/x86_64/bits/link.h: Renamed to ...
3841 * sysdeps/x86/bits/link.h: This.
3842 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
3843 * sysdeps/x86/bits/linkmap.h: This.
3844
f726f0bb
L
3845 * sysdeps/i386/bits/endian.h: Removed.
3846 * sysdeps/x86_64/bits/endian.h: Renamed to ...
3847 * sysdeps/x86/bits/endian.h: This.
3848
13764867
L
3849 * sysdeps/i386/bits/byteswap.h: Removed.
3850 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3851 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
3852 * sysdeps/x86/bits/byteswap.h: This.
3853 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
3854 * sysdeps/x86/bits/byteswap-16.h: This.
3855 * sysdeps/i386/Implies: Add x86.
3856 * sysdeps/x86_64/Implies: Likewise.
3857
ae251b0b
DM
38582012-05-30 David S. Miller <davem@davemloft.net>
3859
3860 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
3861 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
3862 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3863 (FP_TRAPPING_EXCEPTIONS): Define.
3864 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3865 (FP_TRAPPING_EXCEPTIONS): Define.
3866 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
3867 subnormals only when inexact has been signalled or underflow
3868 exceptions are enabled.
3869 (_FP_PACK_CANONICAL): Likewise.
3870
d5c90867
L
38712012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3872
3873 [BZ #14183]
3874 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
3875 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
3876
63f1549e
RH
38772012-05-30 Richard Henderson <rth@twiddle.net>
3878
8d8f2279
RH
3879 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
3880 with #ifndef NOT_IN_libc.
3881
63f1549e
RH
3882 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
3883 marked to avoid plt entry.
3884
0ab0291b
L
38852012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3886
3887 [BZ #14112]
3888 * Makeconfig (default-abi): New macro.
3889 (abi-includes): Likewise.
3890 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
3891 $(abi-$(default-abi)-lib-soname) for soname if defined.
3892 ($(common-objpfx)gnu/lib-names.stmp): Generate from
3893 abi-variants.
3894 * Makefile (installed-stubs): Likewise.
3895 * include/stubs-biarch.h: Removed.
3896 * scripts/lib-names.awk: Only handle one library at a time.
3897 * scripts/soversions.awk: Remove WORDSIZE support.
3898 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
3899 entries.
3900 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
3901 Removed.
3902 (syscall-list-default-condition): Likewise.
3903 (syscall-list-default-condition): Likewise.
3904 (syscall-list-includes): Likewise.
3905 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
3906 syscall-list-* with abi-*. Handle undefined abi-variants.
3907 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
3908 * sysdeps/unix/sysv/linux/i386/Implies: New file.
3909 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
3910 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
3911 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
3912 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
3913 Removed.
3914 (syscall-list-32-options): Likewise.
3915 (syscall-list-32-condition): Likewise.
3916 (syscall-list-64-options): Likewise.
3917 (syscall-list-64-condition): Likewise.
3918 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
3919 macro.
3920 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
3921 Renamed to ...
3922 (abi-*): This.
3923 (abi-64-ld-soname): New macro.
3924 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
3925 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
3926 Renamed to ...
3927 (abi-*): This.
3928 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
3929 * sysdeps/x86_64/x32/shlib-versions: Likewise.
3930
4da0431d
JM
39312012-05-30 Joseph Myers <joseph@codesourcery.com>
3932
3a85279c
JM
3933 * sysdeps/unix/sysv/linux/kernel-features.h
3934 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
3935 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
3936 include <kernel-features.h>.
3937 [!__NR_ftruncate64]: Remove conditional code.
3938 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3939 [__NR_ftruncate64]: Make code unconditional.
3940 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3941 * sysdeps/unix/sysv/linux/truncate64.c: Do not
3942 include <kernel-features.h>.
3943 [!__NR_ftruncate64]: Remove conditional code.
3944 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3945 [__NR_ftruncate64]: Make code unconditional.
3946 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
3948 include <kernel-features.h>.
3949 [!__NR_ftruncate64]: Remove conditional code.
3950 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3951 [__NR_ftruncate64]: Make code unconditional.
3952 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3954 include <kernel-features.h>.
3955 [!__NR_ftruncate64]: Remove conditional code.
3956 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3957 [__NR_ftruncate64]: Make code unconditional.
3958 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3959
4da0431d
JM
3960 * configure.in (libc_cv_fpie): Weaken to a compile test using
3961 LIBC_TRY_CC_OPTION.
3962 * configure: Regenerated.
3963
11ef492c
AK
39642012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3965
3966 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
3967 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
3968 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
3969 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3970 Refreshed.
3971 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
3972 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
3973 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
3974 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
3975 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
3976 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3977 Refreshed.
3978
d66ef399
DM
39792012-05-27 David S. Miller <davem@davemloft.net>
3980
3981 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
3982 (___Q_zero): New.
3983 (__Q_simulate_exceptions): Return void. Change to simulate
3984 exceptions by writing into the %fsr.
3985 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
3986 (__Qp_handle_exceptions): Likewise.
3987 (numbers): Delete.
3988 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
3989 __Qp_handle_exceptions.
3990 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
3991 __Qp_handle_exceptions.
3992 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3993 as unused and give dummy FP_RND_NEAREST initializer.
3994 (FP_INHIBIT_RESULTS): Define.
3995 (___Q_simulate_exceptions): Update declaration.
3996 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
3997 formatting.
3998 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3999 as unused and give dummy FP_RND_NEAREST initializer.
4000 (__Qp_handle_exceptions): Update declaration.
4001 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
4002 formatting.
4003
04fb54b5
TS
40042012-05-27 Thomas Schwinge <thomas@codesourcery.com>
4005
4006 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
4007 the temporary FPU control word.
4008 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4009 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
4010 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
4011 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4012 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4013 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
4014 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
4015 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4016 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4017 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
4018 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4019
3f99608f
KK
40202012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4021
4022 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
4023 fields.
4024
65a4de4e
CLT
40252012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
4026
4027 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
4028 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
4029 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
4030 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
4031 Likewise.
4032 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
4033 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
4034 Likewise.
4035
15749d40
UD
40362012-05-27 Ulrich Drepper <drepper@gmail.com>
4037
4038 * po/h.po: Update from translation team.
4039
25dbcb27
AS
40402012-05-26 Andreas Schwab <schwab@linux-m68k.org>
4041
3d3f8e55
AS
4042 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
4043
25dbcb27
AS
4044 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
4045 handling of denormals.
4046 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4047 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4048 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4049 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4050 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4051 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
4052 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
4053 Likewise.
4054
7ad47a80 40552012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
4056
4057 [BZ #14152]
4058 * math/libm-test.inc (fma_test): Don't always expect underflow
4059 exception.
4060
9c6ea9fa
SP
40612012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4062
4063 [BZ #12416]
4064 * elf/tst-execstack.c: Include stackinfo.h.
4065 (do_test): Adjust test case to ensure that pthread_getattr_np
4066 behaviour remains the same after marking stack executable.
4067
a8239222
JM
40682012-05-25 Joseph Myers <joseph@codesourcery.com>
4069
4070 * sysdeps/unix/sysv/linux/kernel-features.h
4071 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
4072 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
4073 kernel-features.h.
4074 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4075 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4076 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
4077 kernel-features.h.
4078 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4079 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4080
918b5606
L
40812012-05-25 H.J. Lu <hongjiu.lu@intel.com>
4082
4083 * configure.in: Define the default includes to being none.
4084 * configure: Regenerated.
4085
3a097cc7
RM
40862012-05-25 Roland McGrath <roland@hack.frob.com>
4087
8422c9a5
RM
4088 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
4089 * sysdeps/x86_64/setjmp.S: Likewise.
4090 * sysdeps/i386/bsd-setjmp.S: Likewise.
4091 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4092 * sysdeps/i386/setjmp.S: Likewise.
4093 * sysdeps/i386/__longjmp.S: Likewise.
4094 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4095 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
4096
3a097cc7
RM
4097 * include/stap-probe.h: New file.
4098 * configure.in: Handle --enable-systemtap.
4099 * configure: Regenerated.
4100 * config.h.in (USE_STAP_PROBE): New #undef.
4101 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
4102 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
4103 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4104
21708942
JM
41052012-05-25 Joseph Myers <joseph@codesourcery.com>
4106
4107 [BZ #13717]
4108 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4109 to 2.4.0 where earlier.
4110 * sysdeps/unix/sysv/linux/configure: Regenerated.
4111 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
4112 <kernel-features.h>.
4113 [__ASSUME_32BITUIDS]: Make code unconditional.
4114 [!__ASSUME_32BITUIDS]: Remove conditional code.
4115 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
4116 <kernel-features.h>.
4117 [__ASSUME_32BITUIDS]: Make code unconditional.
4118 [!__ASSUME_32BITUIDS]: Remove conditional code.
4119 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
4120 [__ASSUME_32BITUIDS]: Make code unconditional.
4121 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
4122 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
4123 <kernel-features.h>.
4124 [__ASSUME_32BITUIDS]: Make code unconditional.
4125 [!__ASSUME_32BITUIDS]: Remove conditional code.
4126 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
4127 <kernel-features.h>.
4128 [__ASSUME_32BITUIDS]: Make code unconditional.
4129 [!__ASSUME_32BITUIDS]: Remove conditional code.
4130 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
4131 <kernel-features.h>.
4132 [__ASSUME_32BITUIDS]: Make code unconditional.
4133 [!__ASSUME_32BITUIDS]: Remove conditional code.
4134 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
4135 <kernel-features.h>.
4136 [__ASSUME_32BITUIDS]: Make code unconditional.
4137 [!__ASSUME_32BITUIDS]: Remove conditional code.
4138 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
4139 <kernel-features.h>.
4140 [__ASSUME_32BITUIDS]: Make code unconditional.
4141 [!__ASSUME_32BITUIDS]: Remove conditional code.
4142 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
4143 <kernel-features.h>.
4144 [__ASSUME_32BITUIDS]: Make code unconditional.
4145 [!__ASSUME_32BITUIDS]: Remove conditional code.
4146 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
4147 <kernel-features.h>.
4148 [__ASSUME_32BITUIDS]: Make code unconditional.
4149 [!__ASSUME_32BITUIDS]: Remove conditional code.
4150 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
4151 <kernel-features.h>.
4152 [__ASSUME_32BITUIDS]: Make code unconditional.
4153 [!__ASSUME_32BITUIDS]: Remove conditional code.
4154 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
4155 <kernel-features.h>.
4156 [__ASSUME_32BITUIDS]: Make code unconditional.
4157 [!__ASSUME_32BITUIDS]: Remove conditional code.
4158 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
4159 <kernel-features.h>.
4160 [__ASSUME_32BITUIDS]: Make code unconditional.
4161 [!__ASSUME_32BITUIDS]: Remove conditional code.
4162 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
4163 <kernel-features.h>.
4164 [__NR_setresgid] (__setresgid): Do not declare.
4165 [__ASSUME_32BITUIDS]: Make code unconditional.
4166 [!__ASSUME_32BITUIDS]: Remove conditional code.
4167 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
4168 <kernel-features.h>.
4169 [__NR_setresuid] (__setresuid): Do not declare.
4170 [__ASSUME_32BITUIDS]: Make code unconditional.
4171 [!__ASSUME_32BITUIDS]: Remove conditional code.
4172 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
4173 <kernel-features.h>.
4174 [__ASSUME_32BITUIDS]: Make code unconditional.
4175 [!__ASSUME_32BITUIDS]: Remove conditional code.
4176 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
4177 <kernel-features.h>.
4178 [__ASSUME_32BITUIDS]: Make code unconditional.
4179 [!__ASSUME_32BITUIDS]: Remove conditional code.
4180 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
4181 <kernel-features.h>.
4182 [__ASSUME_32BITUIDS]: Make code unconditional.
4183 [!__ASSUME_32BITUIDS]: Remove conditional code.
4184 * sysdeps/unix/sysv/linux/i386/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
4213 (__ASSUME_SETRESUID_SYSCALL): Remove.
4214 (__ASSUME_SETRESGID_SYSCALL): Likewise.
4215 (__ASSUME_32BITUIDS): Likewise.
4216 (__ASSUME_LDT_WORKS): Likewise.
4217 (__ASSUME_O_DIRECTORY): Likewise.
4218 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
4219 architecture but not kernel version.
4220 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4221 (__ASSUME_MMAP2_SYSCALL): Likewise.
4222 (__ASSUME_STAT64_SYSCALL): Likewise.
4223 (__ASSUME_IPC64): Likewise.
4224 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
4225 <kernel-features.h>.
4226 [__ASSUME_32BITUIDS]: Make code unconditional.
4227 [!__ASSUME_32BITUIDS]: Remove conditional code.
4228 * sysdeps/unix/sysv/linux/opendir.c: Do not include
4229 <kernel-features.h>.
4230 [__ASSUME_O_DIRECTORY]: Make code unconditional.
4231 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
4232 132096]: Remove conditional code.
4233 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
4234 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
4243 <kernel-features.h>.
4244 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
4245 unconditional.
4246 (__setresgid): Do not declare.
4247 [__ASSUME_32BITUIDS]: Make code unconditional.
4248 [!__ASSUME_32BITUIDS]: Remove conditional code.
4249 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
4250 <kernel-features.h>.
4251 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
4252 unconditional.
4253 (__setresuid): Do not declare.
4254 [__ASSUME_32BITUIDS]: Make code unconditional.
4255 [!__ASSUME_32BITUIDS]: Remove conditional code.
4256 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
4257 <kernel-features.h>.
4258 [__ASSUME_32BITUIDS]: Make code unconditional.
4259 [!__ASSUME_32BITUIDS]: Remove conditional code.
4260 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
4261 <kernel-features.h>.
4262 [__ASSUME_32BITUIDS]: Make code unconditional.
4263 [!__ASSUME_32BITUIDS]: Remove conditional code.
4264
a386f1cc
RH
42652012-05-25 Richard Henderson <rth@twiddle.net>
4266
4267 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
4268 dl_hwcap to ifunc resolver.
4269 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
4270 elf_ifunc_invoke.
4271 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
4272 dl_hwcap to ifunc resolver.
4273 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
4274
b6550497
JM
42752012-05-24 Joseph Myers <joseph@codesourcery.com>
4276
4277 [BZ #14153]
4278 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
4279 for |x| <= 2**-26, not 2**-57.
4280 * math/libm-test.inc (acos_test): Do not allow spurious underflow
4281 exception.
4282
b0bc23a1
JL
42832012-05-24 Jeff Law <law@redhat.com>
4284
4285 * stdio-common/Makefile (tests): Add bug25.
4286 * stdio-common/bug25.c: New test.
4287
347c92e9
L
42882012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4289
4290 [BZ #13576]
4291 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
4292 multiple of MALLOC_ALIGNMENT in size.
4293 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
4294
6bcc8b3f
JM
42952012-05-24 Joseph Myers <joseph@codesourcery.com>
4296
4297 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
4298 Require >= 256.
4299 (FILENAME_MAX): Use macro-int-constant.
4300 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
4301 (_IOFBF): Use macro-int-constant.
4302 (_IOLBF): Likewise.
4303 (_IONBF): Likewise.
4304 (SEEK_CUR): Likewise.
4305 (SEEK_END): Likewise.
4306 (SEEK_SET): Likewise.
4307 (TMP_MAX): Likewise.
4308 (EOF): Use macro-int-constant. Require < 0.
4309 (NULL): Use macro-constant. Require == 0.
4310 (stdin): Require type to be FILE *.
4311 (stdout): Likewise.
4312 (stderr): Likewise.
4313 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
4314 macro-int-constant.
4315 (EXIT_SUCCESS): Likewise.
4316 (NULL): Use macro-constant. Require == 0.
4317 (RAND_MAX): Use macro-int-constant.
4318 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
4319 [C99-based standards] (strtof): Require function.
4320 [C99-based standards] (strtold): Likewise.
4321 [C99-based standards] (strtoll): Likewise.
4322 [C99-based standards] (strtoull): Likewise.
4323 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
4324 [ISO || ISO99 || ISO11] (limits.h): Likewise.
4325 [ISO || ISO99 || ISO11] (math.h): Likewise.
4326 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
4327 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
4328 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4329
d18ea0c5
AS
43302012-05-24 Andreas Schwab <schwab@linux-m68k.org>
4331
4332 [BZ #14132]
56d25bb8
AS
4333 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
4334 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
4335 * intl/dgettext.c (DCGETTEXT): Likewise.
4336 * intl/gettext.c (DCGETTEXT): Likewise.
4337 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
4338 * posix/regex_internal.h (gettext): Likewise.
4339 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
4340 Remove declaration.
4341 * include/argz.h (__argz_count_internal)
4342 (__argz_stringify_internal): Remove declaration.
4343 (__argz_count, __argz_stringify): Declare hidden proto.
4344 * intl/dcgettext.c: Remove use of INTDEF.
4345 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
4346 * string/argz-stringify.c: Likewise.
4347 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4348 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4349 Declare hidden proto.
d18ea0c5
AS
4350 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4351 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4352 Declare hidden proto.
4353 * include/stdio.h (__asprintf_internal): Don't declare.
4354 (__asprintf): Don't define as macro. Declare hidden proto.
4355 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
4356 (__fsetlocking): Declare hidden proto.
4357 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
4358 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
4359 hidden proto.
4360 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
4361 (_IO_setlinebuf): Remove use of INTUSE.
4362 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
4363 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
4364 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
4365 Remove declaration.
4366 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
4367 (_IO_do_flush): Remove use of INTUSE.
4368 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
4369 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
4370 (_IO_adjust_column, _IO_least_wmarker)
4371 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
4372 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
4373 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
4374 (_IO_default_doallocate, _IO_wdefault_doallocate)
4375 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
4376 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
4377 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
4378 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
4379 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
4380 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
4381 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
4382 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
4383 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
4384 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
4385 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
4386 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
4387 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
4388 proto.
4389 (_IO_flush_all_internal, _IO_adjust_column_internal)
4390 (_IO_default_uflow_internal, _IO_default_finish_internal)
4391 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
4392 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
4393 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
4394 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
4395 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
4396 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
4397 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
4398 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
4399 (_IO_file_close_internal, _IO_file_close_it_internal)
4400 (_IO_file_underflow_internal, _IO_file_overflow_internal)
4401 (_IO_file_init_internal, _IO_file_attach_internal)
4402 (_IO_file_fopen_internal, _IO_file_read_internal)
4403 (_IO_file_sync_internal, _IO_file_seek_internal)
4404 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
4405 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
4406 (_IO_str_underflow_internal, _IO_str_overflow_internal)
4407 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
4408 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
4409 (_IO_list_all_internal, _IO_link_in_internal)
4410 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
4411 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
4412 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
4413 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
4414 (_IO_do_write_internal, _IO_padn_internal)
4415 (_IO_getline_info_internal, _IO_getline_internal)
4416 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
4417 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
4418 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
4419 (_IO_vfscanf_internal, _IO_vfprintf_internal)
4420 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
4421 (_IO_init_internal, _IO_un_link_internal): Don't declare.
4422 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
4423 with libc_hidden_ver, remove use of INTUSE.
4424 * libio/genops.c: Likewise.
4425 * libio/freopen.c: Likewise.
4426 * libio/freopen64.c: Likewise.
4427 * libio/iofclose.c: Likewise.
4428 * libio/iofdopen.c: Likewise.
4429 * libio/iofflush.c: Likewise.
4430 * libio/iofflush_u.c: Likewise.
4431 * libio/iofgets.c: Likewise.
4432 * libio/iofgets_u.c: Likewise.
4433 * libio/iofopen.c: Likewise.
4434 * libio/iofopncook.c: Likewise.
4435 * libio/iofread.c: Likewise.
4436 * libio/iofread_u.c: Likewise.
4437 * libio/ioftell.c: Likewise.
4438 * libio/iofwrite.c: Likewise.
4439 * libio/iogetline.c: Likewise.
4440 * libio/iogets.c: Likewise.
4441 * libio/iogetwline.c: Likewise.
4442 * libio/iopadn.c: Likewise.
4443 * libio/iopopen.c: Likewise.
4444 * libio/ioseekoff.c: Likewise.
4445 * libio/ioseekpos.c: Likewise.
4446 * libio/iosetbuffer.c: Likewise.
4447 * libio/iosetvbuf.c: Likewise.
4448 * libio/ioungetc.c: Likewise.
4449 * libio/ioungetwc.c: Likewise.
4450 * libio/iovdprintf.c: Likewise.
4451 * libio/iovsprintf.c: Likewise.
4452 * libio/iovsscanf.c: Likewise.
4453 * libio/memstream.c: Likewise.
4454 * libio/obprintf.c: Likewise.
4455 * libio/oldfileops.c: Likewise.
4456 * libio/oldiofclose.c: Likewise.
4457 * libio/oldiofdopen.c: Likewise.
4458 * libio/oldiofopen.c: Likewise.
4459 * libio/oldiopopen.c: Likewise.
4460 * libio/oldstdfiles.c: Likewise.
4461 * libio/putc.c: Likewise.
4462 * libio/setbuf.c: Likewise.
4463 * libio/setlinebuf.c: Likewise.
4464 * libio/stdfiles.c: Likewise.
4465 * libio/strops.c: Likewise.
4466 * libio/vasprintf.c: Likewise.
4467 * libio/vscanf.c: Likewise.
4468 * libio/vsnprintf.c: Likewise.
4469 * libio/vswprintf.c: Likewise.
4470 * libio/wfiledoalloc.c: Likewise.
4471 * libio/wfileops.c: Likewise.
4472 * libio/wgenops.c: Likewise.
4473 * libio/wmemstream.c: Likewise.
4474 * libio/wstrops.c: Likewise.
4475 * libio/__fpurge.c: Likewise.
4476 * libio/__fsetlocking.c: Likewise.
4477 * assert/assert.c: Likewise.
4478 * debug/fgets_chk.c: Likewise.
4479 * debug/fgets_u_chk.c: Likewise.
4480 * debug/fread_chk.c: Likewise.
4481 * debug/fread_u_chk.c: Likewise.
4482 * debug/gets_chk.c: Likewise.
4483 * debug/obprintf_chk.c: Likewise.
4484 * debug/vasprintf_chk.c: Likewise.
4485 * debug/vdprintf_chk.c: Likewise.
4486 * debug/vsnprintf_chk.c: Likewise.
4487 * debug/vsprintf_chk.c: Likewise.
4488 * malloc/mtrace.c: Likewise.
4489 * misc/error.c: Likewise.
4490 * misc/syslog.c: Likewise.
4491 * stdio-common/asprintf.c: Likewise.
4492 * stdio-common/fxprintf.c: Likewise.
4493 * stdio-common/getw.c: Likewise.
4494 * stdio-common/isoc99_fscanf.c: Likewise.
4495 * stdio-common/isoc99_scanf.c: Likewise.
4496 * stdio-common/isoc99_vfscanf.c: Likewise.
4497 * stdio-common/isoc99_vscanf.c: Likewise.
4498 * stdio-common/isoc99_vsscanf.c: Likewise.
4499 * stdio-common/printf-prs.c: Likewise.
4500 * stdio-common/printf_fp.c: Likewise.
4501 * stdio-common/printf_fphex.c: Likewise.
4502 * stdio-common/printf_size.c: Likewise.
4503 * stdio-common/putw.c: Likewise.
4504 * stdio-common/scanf.c: Likewise.
4505 * stdio-common/sprintf.c: Likewise.
4506 * stdio-common/tmpfile.c: Likewise.
4507 * stdio-common/vfprintf.c: Likewise.
4508 * stdio-common/vfscanf.c: Likewise.
4509 * stdlib/strfmon_l.c: Likewise.
4510 * sunrpc/openchild.c: Likewise.
4511 * sunrpc/xdr_stdio.c: Likewise.
4512 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
4513 * sysdeps/mach/hurd/tmpfile.c: Likewise.
4514
d6c33fda
RM
45152012-05-24 Roland McGrath <roland@hack.frob.com>
4516
c1487492
RM
4517 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4518
4519 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
4520 in the third column, to generate for the shared library an IFUNC
4521 that uses _dl_vdso_vsym.
4522 * Makerules (COMPILE.c, compile-stdin.c): New variables.
4523 * Makeconfig (object-suffixes-noshared): New variable.
4524
4525 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
4526 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
4527 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
4528 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
4529
d6c33fda
RM
4530 [BZ #14132]
4531 * include/sys/time.h (__gettimeofday): Remove macro.
4532 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
4533 * time/gettimeofday.c (__gettimeofday): Remove #undef.
4534 Remove INTDEF.
4535 (__gettimeofday): Add libc_hidden_def.
4536 (gettimeofday): Add libc_hidden_weak.
4537 * sysdeps/mach/gettimeofday.c: Likewise.
4538 * sysdeps/posix/gettimeofday.c: Likewise.
4539 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4540 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4541 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
4542 (__gettimeofday_internal): Remove strong_alias.
4543 (__gettimeofday): Add libc_hidden_def.
4544 (gettimeofday): Add libc_hidden_weak.
4545 * sysdeps/unix/syscalls.list (gettimeofday):
4546 Remove __gettimeofday_internal alias.
4547
b5a2bbe6
L
45482012-05-24 Daniel Jacobowitz <drow@false.org>
4549 H.J. Lu <hongjiu.lu@intel.com>
4550
4551 [BZ #12495]
4552 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
4553 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
4554 (largebin_index_32_big): New.
4555 (largebin_index): Use it for 16-byte alignment.
4556 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
4557 correction with front_misalign.
4558
cfba4fda
L
45592012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4560
7f907421
L
4561 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
4562 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4563 Likewise.
4564 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
4565 Likewise.
4566 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
4567 Likewise.
4568 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
4569 Likewise.
4570 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
4571 Likewise.
4572 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
4573 Likewise.
4574 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
4575 Likewise.
4576 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4577 Likewise.
4578 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
4579 Likewise.
4580 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
4581 Likewise.
4582 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4583 Likewise.
4584 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
4585 Likewise.
4586
cfba4fda
L
4587 * scripts/data/c++-types-x32-linux-gnu.data: New file.
4588 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
4589
80bad0cc
JM
45902012-05-24 Joseph Myers <joseph@codesourcery.com>
4591
7a25eb06
JM
4592 [BZ #10846]
4593 [BZ #14036]
4594 * math/libm-test.inc (exp_test): Add test from bug 14036.
4595 (pow_test): Add test from bug 10846.
4596
795405f9
JM
4597 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
4598 and other flags.
4599 (special_function): Do not include flags in test name.
4600 (parse_args): Likewise.
4601 * sysdeps/i386/fpu/libm-test-ulps: Update.
4602 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4603 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4604 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4606
80bad0cc
JM
4607 * math/gen-libm-test.pl (%beautify): Add entries for underflow
4608 exceptions.
4609 * math/libm-test.inc ("Philosophy"): Update comment about
4610 exception testing.
4611 (UNDERFLOW_EXCEPTION): New macro.
4612 (UNDERFLOW_EXCEPTION_OK): Likewise.
4613 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4614 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4615 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4616 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4617 (INVALID_EXCEPTION_OK): Update value.
4618 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4619 (OVERFLOW_EXCEPTION_OK): Likewise.
4620 (IGNORE_ZERO_INF_SIGN): Likewise.
4621 (test_exceptions): Handle underflow exceptions.
4622 (acos_test): Update for underflow exception expectations.
4623 (cexp_test): Likewise.
4624 (clog_test): Likewise.
4625 (clog10_test): Likewise.
4626 (csqrt_test): Likewise.
4627 (ctan_test): Likewise.
4628 (ctanh_test): Likewise.
4629 (exp_test): Likewise.
4630 (exp10_test): Likewise.
4631 (exp2_test): Likewise.
4632 (expm1_test): Likewise.
4633 (fma_test): Likewise.
4634 (j0_test): Likewise.
4635 (jn_test): Likewise.
4636 (nexttoward_test): Likewise.
4637 (pow_test): Likewise.
4638 (scalbn_test): Likewise.
4639 (scalbln_test): Likewise.
4640 (tan_test): Likewise.
4641 (y1_test): Likewise.
4642 * sysdeps/i386/fpu/libm-test-ulps: Update.
4643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4644
9e0e3d0b
DM
46452012-05-23 David S. Miller <davem@davemloft.net>
4646
4647 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4648 (__libc_sigaction): Remove unused local variables.
4649
ccd0a08f
L
46502012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4651
4652 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
4653
62bdf9a6
PE
46542012-05-23 Paul Eggert <eggert@cs.ucla.edu>
4655
f8591f80
PE
4656 mktime: avoid signed integer overflow
4657 * time/mktime.c (__mktime_internal): Do not mishandle the case
4658 where diff == INT_MIN.
4659
94c7d826
PE
4660 mktime: simplify computation of average
4661 * time/mktime.c (ranged_convert): Use new time_t_avg function
4662 instead of rolling our own (probably-slower) code.
4663
ce73d683
PE
4664 mktime: do not assume signed right shift propagates sign bit
4665 * time/mktime.c (isdst_differ): New static function.
4666 (__mktime_internal): No need to normalize tm_isdst now.
4667 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
4668 tm_isdst values.
4669
72a22e59
PE
4670 mktime: merge another wrapv change from gnulib
4671 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
4672 from some compilers.
4673
68605433
PE
4674 mktime: remove incorrect attempt at unusual arithmetics
4675 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
4676 The code didn't really work on such machines anyway.
4677 (TYPE_MINIMUM): Assume two's complement.
4678 (twos_complement_arithmetic): Verify that long_int and time_t
4679 are two's complement (or unsigned, in the latter case).
4680
03cf7fe3
PE
4681 mktime: check signed shifts on long_int and time_t, too
4682 * time/mktime.c (SHR): Check that shifts work as desired
4683 on the types long_int and time_t too, as SHR is used on
4684 such types.
4685
f04dfbc2
PE
4686 mktime: do not assume 'long' is wide enough
4687 * time/mktime.c (verify): Move decl up.
4688 (long_int): New type.
4689 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
4690 to remove assumption in the code that 'long' is wide enough to
4691 store year values. This assumption is not true on x32 and on
4692 some non-glibc platforms.
4693
62bdf9a6
PE
4694 mktime: merge wrapv change from gnulib
4695 * time/mktime.c (WRAPV): New macro.
4696 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
4697 (guess_time_tm, __mktime_internal): Do not assume that signed
4698 integer overflow wraps around; modern compilers generate code
4699 where this assumption is no longer valid.
4700
5e292e4f
L
47012012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4702
4703 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4704 Replace "jmp L(pseudo_end)" with "ret".
4705 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
4706 Likewise.
4707
8caf8c87
AJ
47082012-05-23 Andreas Jaeger <aj@suse.de>
4709
4710 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
4711 * sysdeps/unix/sysv/linux/poll.c: Remove file.
4712
1a09dc56
AJ
47132012-05-23 Andreas Jaeger <aj@suse.de>
4714 Maximilian Attems <max@stro.at>
4715
4716 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
4717 New macros.
4718
1c87aba0
L
47192012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4720
4721 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
4722 code so that pseudo_end is just ret and the stack pointer is
4723 correct also for static library in error case.
4724
40e45bd5
JM
47252012-05-23 Joseph Myers <joseph@codesourcery.com>
4726
c2670533
JM
4727 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
4728 move to syscalls.list.
4729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4733
40e45bd5
JM
4734 * manual/install.texi (Running make install): Do not mention Linux
4735 kernel version for which pt_chown is not needed.
4736 (Linux): Do not mention problems with nscd with 2.0 kernels.
4737 * INSTALL: Regenerated.
4738
be08eda5
AJ
47392012-05-23 Andreas Jaeger <aj@suse.de>
4740
4741 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
4742 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
4743 macro.
4744 * sysdeps/unix/sysv/linux/s390/bits/mman.h
4745 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4746 * sysdeps/unix/sysv/linux/sh/bits/mman.h
4747 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4748 * sysdeps/unix/sysv/linux/i386/bits/mman.h
4749 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4750 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
4751 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4752 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
4753 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4754 * sysdeps/unix/sysv/linux/bits/in.h
4755 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
4756
a6a056bb
RM
47572012-05-22 Roland McGrath <roland@hack.frob.com>
4758
4759 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
4760 (PREPARE_VERSION): Just use assert instead, it will be elided
4761 under [NDEBUG] anyway.
4762
c9009328
L
47632012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4764
4765 * sysdeps/unix/sysv/linux/Makefile: Include
4766 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 4767 (sysdep_routines): Remove sysctl.
c9009328
L
4768 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
4769 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
4770 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
4771 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
4772 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
4773
73338355
AJ
47742012-05-22 Andreas Jaeger <aj@suse.de>
4775
4776 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
4777 that pseudo_end is just ret and the stack pointer is correct also
4778 for static library in error case.
4779
d44638b0
PP
47802012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4781
4782 [BZ #14122]
4783 * nss/nsswitch.c (defconfig_entries): New variable.
4784 (__nss_database_lookup): Don't leak defconfig entries.
4785 (nss_parse_service_list): Don't leak on error paths.
4786 (free_database_entries): New function.
4787 (free_defconfig): New function.
4788 (free_mem): Move common code to free_database_entries.
4789
31a39bd8
L
47902012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4791
da0331a8
L
4792 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
4793 Add arch_prctl.
4794 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
4795
31a39bd8
L
4796 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4797 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
4798 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
4799 New macro.
4800 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
4801 (INTERNAL_SYSCALL_TYPES): Likewise.
4802 (LOAD_ARGS_TYPES_[1-6]): Likewise.
4803 (LOAD_REGS_TYPES_[1-6]): Likewise.
4804 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
4805 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
4806
45470df3
AZ
48072012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4808
4809 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
4810 copysignl for GLIBC_2_0.
4811 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
4812 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
4813 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
4814 logbl for GLIBC_2_0.
4815 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4816 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4817
98a61bcb
L
48182012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4819
a4f6e481
L
4820 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
4821 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4822
f63d5db6
L
4823 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4824 Use "neg %eax".
4825
98a61bcb
L
4826 * time/mktime.c: Update copyright years.
4827
95770f14
PE
48282012-05-22 Paul Eggert <eggert@cs.ucla.edu>
4829
6226efbd
PE
4830 mktime: merge comment-quoting-style change from gnulib
4831 * time/mktime.c: Quote 'like this' in comments.
4832 The GNU coding standards suggest that we no longer quote `like this',
4833 as "`" and "'" are typically rendered asymmetrically nowadays.
4834 The typical gnulib style is to quote 'like this' when quoting
4835 code, and "like this" when quoting English.
4836
b99e4f78
PE
4837 * time/mktime.c (compile-command): Add "-I.".
4838
643e01e6
PE
4839 mktime: merge mktime-internal.h change from gnulib
4840 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
4841
2554247d
PE
4842 mktime: merge time_r change from gnulib
4843 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
4844
826dd0ab
PE
4845 mktime: merge DEBUG change from gnulib
4846 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
4847 case system <time.h> has a #define.
4848
bd83aabe
PE
4849 mktime: merge <sys/types.h> change from gnulib
4850 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
4851 since <time.t> is now guaranteed to define time_t.
4852
95770f14
PE
4853 mktime: merge HAVE_CONFIG_H change from gnulib
4854 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
4855
5e1a27a9
L
48562012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4857
0e44a77e
L
4858 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4859 Use "neg %eax".
4860
5e1a27a9
L
4861 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
4862 __rlim_t cast.
4863 (struct rusage): Use anonymous union to pad each field to
4864 __syscall_slong_t.
4865
46259bec
DM
48662012-05-21 David S. Miller <davem@davemloft.net>
4867
4868 * Makefules (o-iterator): Remove .s cases.
4869 (compile-command.s): Delete.
4870 (COMPILE.s): Delete.
4871 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
4872
59f0c22e
JM
48732012-05-21 Joseph Myers <joseph@codesourcery.com>
4874
4875 * configure.in (libc_cv_predef_stack_protector): Only consider
4876 "foobar" and "__stack_chk_fail" lines in libc_undefs.
4877 * configure: Regenerated.
4878
20c07380
L
48792012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4880
bbb3154b
L
4881 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4882 New macro. Use R*LP on int and pointer.
4883 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
4884 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
4885 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
4886 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
4887
20c07380
L
4888 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
4889 [__WORDSIZE_TIME64_COMPAT32] instead of
4890 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
4891 (struct utmp): Likewise.
4892 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
4893 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
4894 Renamed to ...
4895 (__WORDSIZE_TIME64_COMPAT32): This.
4896 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4897 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4898 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4899 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4900 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
4901 (__WORDSIZE_TIME64_COMPAT32): New macro.
4902
d8d1017e
AJ
49032012-05-21 Andreas Jaeger <aj@suse.de>
4904
4905 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
4906 only if [SHARED]. Add prototype for __wcschr_ia32.
4907
6c7fb145
RM
49082012-05-21 Roland McGrath <roland@hack.frob.com>
4909
4910 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
4911 of %rbp unmolested in the jmp_buf while mangling the low bits.
4912 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
4913 unmolested high bits of %rbp while demangling the low bits.
4914 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4915
66274218
AJ
49162012-05-21 Andreas Jaeger <aj@suse.de>
4917
07c58f8f
AJ
4918 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
4919 * sunrpc/svc_simple.c: Use it for registerrpc.
4920 * sunrpc/xcrypt.c: Use it for passwd2des.
4921
66274218
AJ
4922 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
4923
61f65140
L
49242012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4925
4926 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
4927 Don't define if [__SYSCALL_WORDSIZE != 32].
4928 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
4929 New macro.
4930
5fefb436
AJ
49312012-05-21 Bruno Haible <bruno@clisp.org>
4932 Andreas Jaeger <aj@suse.de>
4933
4934 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
4935 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
4936 inptr and inend for must_buffer_ch.
4937 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
4938 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
4939 * stdio-common/Makefile (tests): Remove bug15.
4940 (bug15-ENV): Remove macro.
4941 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
4942 anymore.
4943
d8e272ab
AJ
49442012-05-19 Andreas Jaeger <aj@suse.de>
4945 Roland McGrath <roland@hack.frob.com>
4946
4947 * manual/contrib.texi: Completely rewritten. It contains now an
4948 alphabetical list of contributors and their contributions.
4949
4a56a162
RH
49502012-05-21 Richard Henderson <rth@twiddle.net>
4951
4952 * misc/getauxval.c (__getauxval): Use unsigned long int.
4953 * misc/sys/auxv.h: Include <sys/cdefs.h>.
4954 (getauxval): Use unsigned long int.
4955
d024d23c
L
49562012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4957
4958 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4959
cbc00a03
RM
49602012-05-21 Roland McGrath <roland@hack.frob.com>
4961
4962 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
4963 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
4964 __alignof__ (long double).
4965
478143fa
AZ
49662012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4967
4968 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4969
c7683a6d
RH
49702012-05-20 Richard Henderson <rth@twiddle.net>
4971
4972 * misc/getauxval.c: New file.
4973 * misc/sys/auxv.h: New file.
4974 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
4975 (routines): Add getauxval.
4976 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
4977 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
4978 * elf/dl-sysdep.c (_dl_auxv): Remove.
4979 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
4980 * elf/dl-support.c (_dl_auxv): New variable.
4981 (_dl_aux_init): Initialize it.
4982 * manual/startup.texi (Auxiliary Vector): New node.
4983 * sysdeps/generic/bits/hwcap.h: New file.
4984 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
4985 * sysdeps/powerpc/sysdep.h: ... here. Include it.
4986 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
4987 * sysdeps/sparc/sysdep.h: ... here. Include it.
4988 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
4989 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
4990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4991 Update.
c7683a6d
RH
4992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
4993 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
4994 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
4995 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
4996 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4997 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4998 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
4999 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
5000
a6f1845d
AZ
50012012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5002
5003 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5004
cbcbe830
DM
50052012-05-19 David S. Miller <davem@davemloft.net>
5006
5007 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5008
e0b16cc2
JM
50092012-05-19 Joseph Myers <joseph@codesourcery.com>
5010
5011 [BZ #14123]
5012 * math/s_ccosh.c: Include <float.h>
5013 (__ccosh): Avoid internal overflow calculating sinh and cosh
5014 values before multiplying by sin and cos values.
5015 * math/s_ccoshf.c: Likewise.
5016 * math/s_ccoshl.c: Likewise.
5017 * math/s_csin.c: Likewise.
5018 * math/s_csinf.c: Likewise.
5019 * math/s_csinl.c: Likewise.
5020 * math/s_csinh.c: Likewise.
5021 * math/s_csinhf.c: Likewise.
5022 * math/s_csinhl.c: Likewise.
5023 * math/libm-test.inc (ccos_test): Add more tests.
5024 (ccosh_test): Likewise.
5025 (csin_test): Likewise.
5026 (csinh_test): Likewise.
5027 * sysdeps/i386/fpu/libm-test-ulps: Update.
5028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5029
6ad13e08
L
50302012-05-19 H.J. Lu <hongjiu.lu@intel.com>
5031
f66f0ce8
L
5032 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
5033 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
5034
6ad13e08
L
5035 * sysdeps/x86_64/x32/_itoa.h: Add comment.
5036
b1d072a7
JM
50372012-05-19 Joseph Myers <joseph@codesourcery.com>
5038
5039 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
5040 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
5041 * sysdeps/powerpc/soft-fp/Versions: Likewise.
5042 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
5043 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
5044 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
5045 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
5046 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
5047 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
5048 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
5049 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
5050 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
5051 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
5052 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
5053 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
5054 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
5055 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
5056 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
5057 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
5058 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
5059 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
5060 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
5061 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
5062 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
5063 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
5064 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
5065 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
5066 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
5067 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
5068 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
5069 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
5070
9eae47cb
AJ
50712012-05-18 Andreas Jaeger <aj@suse.de>
5072
5073 * csu/.gitignore: Delete.
5074
bb07f69f
L
50752012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5076
5077 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
5078 (timex): Use __syscall_slong_t.
5079
e6bdb741
AJ
50802012-05-18 Andreas Jaeger <aj@suse.de>
5081 Carlos O'Donell <carlos_odonell@mentor.com>
5082
5083 * manual/install.texi (Configuring and compiling): Update
5084 description about files modified in the source directory.
d6c33fda 5085 * INSTALL: Regenerated.
e6bdb741 5086
1b74487e
L
50872012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5088
5089 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
5090 value. Use "or" to set return value to -1.
5091 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
5092 negate return value.
5093
a88b64b9
TMQMF
50942012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5095
5096 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
5097 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
5098 failure if the compiler has Graphite support disabled.
5099 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
5100 Likewise.
5101 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
5102 CFLAGS-memmove.c): Likewise.
5103 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
5104 Likewise.
5105
3707636e
L
51062012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5107
610b8622
L
5108 * sysdeps/x86_64/x32/_itoa.h: New file.
5109
7cd195df
L
5110 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
5111 getdents system call only if kernel and user dirents have the
5112 same d_ino and d_off.
5113
94b07d20
L
5114 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5115 LLONG_MAX != LONG_MAX.
5116 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5117 (_fitoa_word): Likewise.
5118
18298070
L
5119 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
5120 years.
5121 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
5122 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
5123 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
5124
553c7ea4
L
5125 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
5126 include <bits/wordsize.h>. Check __x86_64__ instead of
5127 __WORDSIZE.
5128 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
5129 if __x86_64__ is defined. Use anonymous union on fpstate.
5130
3707636e
L
5131 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
5132 anonymous union.
5133
b53ef01a
AS
51342012-05-18 Andreas Schwab <schwab@linux-m68k.org>
5135
37fb1dc0
AS
5136 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5137 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
5138 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
5139 Refer to _rtld_local_ro instead of _rtld_global_ro.
5140 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
5141 Likewise.
5142 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
5143 Likewise.
5144 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
5145 Likewise.
5146 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
5147 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
5148 of _rtld_global, and rtld_progname instead of _dl_argv[0].
5149
b53ef01a
AS
5150 * sysdeps/powerpc/powerpc32/dl-machine.c
5151 (__elf_machine_runtime_setup) [PROF]: Don't reference
5152 _dl_prof_resolve.
5153
7a185db2
AJ
51542012-05-18 Andreas Jaeger <aj@suse.de>
5155
5156 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
5157 function only available for GCCs before 3.4 since GCC 3.4
5158 introduced a builtin.
5159 (lrint): Likewise.
5160 (llrintf): Likewise.
5161 (llrint): Likewise.
5162 (fmaxf): Likewise.
5163 (fmax): Likewise.
5164 (fminf): Likewise.
5165 (fmin): Likewise.
5166 (rint): Likewise.
5167 (rintf): Likewise.
5168 (nearbyint): Likewise.
5169 (nearbyintf): Likewise.
5170 (ceil): Likewise.
5171 (ceilf): Likewise.
5172 (floor): Likewise.
5173 (floorf): Likewise.
5174
3e5aef87
L
51752012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5176
428bd707
L
5177 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
5178 on both fields and cast pointer to __syscall_ulong_t.
5179
3e5aef87
L
5180 * bits/types.h (__fsword_t): New type.
5181 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
5182 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
5183 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5184 (__FSWORD_T_TYPE): Likewise.
5185 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5186 (__FSWORD_T_TYPE): Likewise.
5187 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5188 (__FSWORD_T_TYPE): Likewise.
5189 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
5190 (__FSWORD_T_TYPE): Likewise.
5191 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
5192 __SWORD_TYPE with __fsword_t.
5193 (statfs64): Likewise.
5194
1ba7c3dc
DM
51952012-05-17 David S. Miller <davem@davemloft.net>
5196
5197 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
5198
59910343
AJ
51992012-05-17 Andreas Jaeger <aj@suse.de>
5200
5201 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
5202 warning.
5203
2e4c1e9e
L
52042012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5205
5206 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
5207
de7f5ce7
AJ
52082012-05-17 Andreas Jaeger <aj@suse.de>
5209
5210 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
5211 when it is used.
5212
286abc3d
CM
52132012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5214
5215 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
5216
477cc68e
L
52172012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5218
5219 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
5220 * sysdeps/x86_64/tst-mallocalign1.c: New file.
5221
1a0994f5
CD
52222012-05-17 Andreas Jaeger <aj@suse.de>
5223 Carlos O'Donell <carlos_odonell@mentor.com>
5224
5225 [BZ #14059]
5226 * sysdeps/x86_64/multiarch/init-arch.h
5227 (bit_YMM_Usable): Rename to...
5228 (bit_AVX_Usable): ... this.
5229 (bit_FMA4_Usable): New macro.
5230 (bit_XMM_state): New macro.
5231 (bit_YMM_state): New macro.
5232 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
5233 [__ASSEMBLER__] (index_AVX_Usable): ... this.
5234 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
5235 (CPUID_OSXSAVE): New macro.
5236 (CPUID_AVX): New macro.
5237 (CPUID_FMA4): New macro.
5238 (index_YMM_Usable): Rename to...
5239 (index_AVX_Usable): ... this.
5240 (HAS_AVX): Use HAS_ARCH_FEATURE.
5241 (HAS_FMA4): Likewise.
5242 (HAS_YMM_USABLE): Remove.
5243 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5244 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
5245 are present.
5246 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
5247 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
5248 * sysdeps/x86_64/multiarch/Makefile: Likewise.
5249 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
5250 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
5251
0af797de
CM
52522012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5253
5254 * math/libm-test.c: Support platforms without multiple rounding modes.
5255 * math/bug-nextafter.c: Support platforms without FP exceptions.
5256 * math/bug-nexttoward.c: Likewise.
5257 * math/test-fenv.c: Likewise.
5258 * math/test-misc.c: Likewise.
5259 * stdlib/bug-getcontext.c: Likewise.
5260
e39745ff
AJ
52612012-05-17 Andreas Jaeger <aj@suse.de>
5262
5263 * manual/examples/search.c (critter_cmp): Change signature to
5264 avoid warnings.
5265 * manual/string.texi (Collation Functions): Likewise.
5266
48970aba
L
52672012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5268
5269 * bits/types.h: Fold copyright years.
5270 * bits/typesizes.h: Likewise.
5271 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
5272 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5273 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
5274 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
5275 * time/time.h: Likewise.
5276
bedee953
PP
52772012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
5278
5279 [BZ #208]
5280 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
5281 in instead of returning them. Return void.
5282 (__libc_mallinfo): Accumulate over all arenas.
5283 (__malloc_stats): Adjust for change in int_mallinfo interface.
5284
61653dfb
RM
52852012-05-16 Roland McGrath <roland@hack.frob.com>
5286
30b99d79
RM
5287 [BZ #10375]
5288 * configure.in (NM): Add AC_CHECK_TOOL for it.
5289 (libc_extra_cflags): New substituted variable.
5290 Check for -fstack-protector being used implicitly.
5291 * configure: Regenerated.
5292 * config.make.in (config-extra-cflags): New variable,
5293 gets @libc_extra_cflags@.
5294 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
5295
61653dfb
RM
5296 [BZ #10375]
5297 * configure.in: Check for _FORTIFY_SOURCE being predefined.
5298 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
5299 * configure: Regenerated.
5300 * config.make.in (CPPUNDEFS): New substituted variable.
5301 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
5302 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
5303 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
5304
661768bb
L
53052012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5306
5307 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
5308 (mq_attr): Use __syscall_slong_t.
5309
d4261567
L
53102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5311
5312 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
5313 Check __x86_64__ instead of __WORDSIZE.
5314 (_STAT_VER_LINUX): Likewise.
5315 (stat): Check __x86_64__ instead of __WORDSIZE. Use
5316 __syscall_ulong_t and __syscall_slong_t.
5317 (stat64): Likewise.
5318
cf3ff365
L
53192012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5320
5321 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
5322
76cf3e4d
L
53232012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5324
5325 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
5326
a637753a
L
53272012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5328
5329 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
5330 __syscall_ulong_t.
5331
d5e05119
L
5332 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
5333 include <bits/wordsize.h>. Check __x86_64__ instead of
5334 __WORDSIZE.
5335 (greg_t): Use "__extension__ long long int" if __x86_64__ is
5336 defined.
5337 (mcontext_t): Replace "unsigned long" with "unsigned long long".
5338
f62ee380
L
5339 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
5340 include <bits/wordsize.h>. Check __x86_64__ instead of
5341 __WORDSIZE.
5342 (user_regs_struct): Use "__extension__ unsigned long long"
5343 instead of "unsigned long" if __x86_64__ is defined.
5344 (user): Likewise. Pad after pointer field if __ILP32__ is
5345 defined.
5346
4e124ced
JM
53472012-05-16 Joseph Myers <joseph@codesourcery.com>
5348
6a3951a0
JM
5349 * configure.in (makeinfo): Require version 4.5 or later. Allow
5350 versions 5 to 9.
5351 * configure: Regenerated.
5352 * manual/install.texi (texinfo): Increase version requirement to
5353 4.5 or later.
5354 * INSTALL: Regenerated.
5355
4e124ced
JM
5356 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
5357
953ca31a
L
53582012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5359
5360 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
5361
617aca05
L
5362 * sysdeps/x86_64/x32/ffs.c: New file.
5363
5762f7ae
L
5364 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
5365 __syscall_ulong_t.
5366 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
5367 defined. Use __syscall_ulong_t.
5368 (shminfo): Use __syscall_ulong_t.
5369 (shm_info): Likewise.
5370
a26b6856
L
5371 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
5372 __syscall_ulong_t.
5373
cb2b9ef7
L
5374 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
5375 <bits/wordsize.h>.
5376 (msgqnum_t): Use __syscall_ulong_t.
5377 (msglen_t): Likewise.
5378 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
5379 __syscall_ulong_t.
5380
34683bb0
L
5381 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
5382 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5383
84a68786
L
5384 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
5385
48baa5f1
L
5386 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
5387 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
5388
180be88b
L
5389 * sysvipc/sys/msg.h (msgbuf): Replace long int with
5390 __syscall_slong_t.
5391
5e90c8ad
L
5392 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
5393 include <bits/wordsize.h>. Check __x86_64__ instead of
5394 __WORDSIZE.
5395
23dfb58b
L
5396 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
5397 "unsigned long long int" if __x86_64__ is defined.
5398 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
5399
ce5d54b0
L
5400 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
5401 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5402 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
5403
13dc9eac
L
5404 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
5405 <stdint.h>.
5406 (GET_PC): Cast to uintptr_t first.
5407 (GET_FRAME): Likewise.
5408 (GET_STACK): Likewise.
5409
a7895d15
L
5410 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
5411 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
5412 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
5413 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
5414 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
5415 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
5416 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
5417 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
5418 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
5419 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
5420 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
5421 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
5422 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5423 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
5424 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
5425 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
5426 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
5427 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
5428 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
5429 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
5430 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
5431 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
5432 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
5433 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
5434 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
5435 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
5436 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
5437 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
5438 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
5439
656416c9
AS
54402012-05-16 Andreas Schwab <schwab@linux-m68k.org>
5441
5bd66283
AS
5442 * Makerules (+depfiles): Also collect depfiles from .oS in
5443 $(extra-objs).
5444 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
5445 .oS, $(libnldbl-routines)).
5446
656416c9
AS
5447 * Makerules (native-compile-mkdep-flags): Define.
5448 * sunrpc/Makefile (extra-objs): Add $(addprefix
5449 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
5450 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
5451 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
5452 calling $(make-target-directory).
5453
a46f2169
L
54542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5455
5456 * bits/types.h (__snseconds_t): Removed.
5457 * time/time.h (struct timespec): Replace __snseconds_t with
5458 __syscall_slong_t.
5459 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
5460 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
5461 Likewise.
5462 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5463 (__SNSECONDS_T_TYPE): Likewise.
5464 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5465 (__SNSECONDS_T_TYPE): Likewise.
5466 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5467 (__SNSECONDS_T_TYPE): Likewise.
5468
6af6528b
L
54692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5470
5471 * sysdeps/mach/hurd/bits/typesizes.h
5472 (__SYSCALL_SLONG_TYPE): New macro.
5473 (__SYSCALL_ULONG_TYPE): Likewise.
5474
de986b56
L
54752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5476
5477 * bits/types.h (__syscall_slong_t): New type.
5478 (__syscall_ulong_t): Likewise.
5479
5480 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
5481 (__SYSCALL_ULONG_TYPE): Likewise.
5482 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5483 (__SYSCALL_SLONG_TYPE): Likewise.
5484 (__SYSCALL_ULONG_TYPE): Likewise.
5485 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5486 (__SYSCALL_SLONG_TYPE): Likewise.
5487 (__SYSCALL_ULONG_TYPE): Likewise.
5488 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5489 (__SYSCALL_SLONG_TYPE): Likewise.
5490 (__SYSCALL_ULONG_TYPE): Likewise.
5491
85736dc7
L
54922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5493
5494 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
5495 Add sigaltstack-offsets.sym.
5496 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
5497 <sigaltstack-offsets.h>.
5498 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
5499 longjmp_msg pointer.
5500 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
5501 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
5502 signal stack.
5503 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
5504
cc03b296
JM
55052012-05-15 Joseph Myers <joseph@codesourcery.com>
5506
a9538892
JM
5507 * elf/stackguard-macros.h: Remove file.
5508 * sysdeps/generic/stackguard-macros.h: New file.
5509 * sysdeps/i386/stackguard-macros.h: Likewise.
5510 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5511 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5512 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5513 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5514 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5515 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5516 * sysdeps/x86_64/stackguard-macros.h: Likewise.
5517 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
5518 <elf/stackguard-macros.h>.
5519
cc03b296
JM
5520 [BZ #14109]
5521 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
5522 __aligned__ in attribute.
5523 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
5524 (gregset_t): Likewise.
5525
93171016
L
55262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5527
5528 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
5529 * sysdeps/x86_64/64/Implies-after: Here. New file.
5530 * sysdeps/x86_64/x32/Implies-after: New file.
5531
d86813a0
L
55322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5533
5534 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
5535 and access return value for _dl_profile_fixup. Use R10_LP to
5536 load frame size.
5537
2953ec75
L
55382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5539
5540 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
5541
3b550e9e
L
55422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5543
5544 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
5545 * sysdeps/x86_64/x32/sysdep.h: New file.
5546
eda41706
L
55472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5548
5549 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
5550 * sysdeps/x86_64/setjmp.S: Likewise.
5551
9ea01d93
AZ
55522012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5553
5554 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
5555 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
5556 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
5557 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
5558 remove unused global constant.
5559
02a91938
CM
55602012-05-15 Chris Metcalf <cmetcalf@tilera.com>
5561
5562 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
5563 include of <not-cancel.h>.
5564
6540185f
RM
55652012-05-15 Roland McGrath <roland@hack.frob.com>
5566
5567 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
5568
509072a0
AJ
55692012-05-15 Jeff Law <law@redhat.com>
5570 Andreas Jaeger <aj@suse.de>
5571
5572 [BZ #13594]
5573 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
5574 out from...
5575 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
5576 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
5577 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
5578 code changing __hst_map_handle.map.
5579
ba75122d
RM
55802012-05-15 Roland McGrath <roland@hack.frob.com>
5581
5582 * configure.in (sysnames): Look for Implies-before and Implies-after
5583 files.
5584 * configure: Regenerated.
5585
890d8bd8
L
55862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5587
5588 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
5589 8-byte data alignment with LP_SIZE alignment.
5590
f6ee6623
L
55912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5592
5593 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
5594 into R10_LP.
5595
ea2626f6
L
55962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5597
5598 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
5599
085f715e
L
56002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5601
5602 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
5603 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
5604 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
5605 Likewise.
5606 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5607
be8498fc
L
56082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5609
5610 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
5611 (stackinfo_sub_sp): Likewise.
5612
70bc83b9
L
56132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5614
5615 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
5616 RAX_LP.
5617
9bc0b730
L
56182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5619
5620 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
5621 into R*_LP.
5622
6d2850e7
L
56232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5624
5625 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
5626 sizes into R*_LP.
5627
3cb84561
L
56282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5629
5630 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
5631
54e2ed81
L
56322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5633
5634 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
5635 into R11_LP and load __x86_64_shared_cache_size_half into
5636 R8_LP.
5637
8a17f349
L
56382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5639
5640 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
5641 R8_LP.
5642
777b1eea
AZ
56432012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5644
5645 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
5646 logb for POWER7.
5647 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
5648 logbf for POWER7.
5649 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
5650 logbl for POWER7.
5651 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
5652 powerpc32/power7/fpu/s_logb.c via #include.
5653 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
5654 powerpc32/power7/fpu/s_logbf.c via #include.
5655 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
5656 powerpc32/power7/fpu/s_logbl.c via #include.
5657
d20d4ac2
JM
56582012-05-15 Joseph Myers <joseph@codesourcery.com>
5659
5660 * README.libm: Remove file.
5661
6cdef1ab
L
56622012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5663
5664 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
5665 count for x32. Use R*_LP and omit operand-size suffix.
5666
0b254d8f
L
56672012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5668
5669 * shlib-versions: Move x86_64-.*-linux.* entries to ...
5670 * sysdeps/x86_64/64/shlib-versions: Here. New file.
5671 * sysdeps/x86_64/x32/shlib-versions: New file.
5672
ceb809dc
RM
56732012-05-14 Roland McGrath <roland@hack.frob.com>
5674
5675 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
5676 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
5677 Use _dl_fatal_printf instead.
5678
37f1abd4
JM
56792012-05-14 Joseph Myers <joseph@codesourcery.com>
5680
5681 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
5682 set if not set by the user. Do not allow for being unset.
5683 * sysdeps/unix/sysv/linux/configure: Regenerated.
5684
11de3a33
L
56852012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5686
5687 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
5688 the `q' suffix from lea and replace .quad with ASM_ADDR.
5689
e02f153a
L
56902012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5691
5692 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
5693 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
5694 instead of $17.
5695 (PTR_DEMANGLE): Likewise.
5696
520ae0fd
L
56972012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5698
5699 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
5700 (LP_OP): Likewise.
5701 (ASM_ADDR): Likewise.
5702 (RAX_LP): Likewise.
5703 (RBP_LP): Likewise.
5704 (RBX_LP): Likewise.
5705 (RCX_LP): Likewise.
5706 (RDI_LP): Likewise.
5707 (RSI_LP): Likewise.
5708 (RSP_LP): Likewise.
5709 (R8_LP): Likewise.
5710 (R9_LP): Likewise.
5711 (R10_LP): Likewise.
5712 (R10_LP): Likewise.
5713 (R11_LP): Likewise.
5714 (R12_LP): Likewise.
5715 (R13_LP): Likewise.
5716 (R14_LP): Likewise.
5717 (R15_LP): Likewise.
5718
b985be81
L
57192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5720
5721 * sysdeps/x86_64/x32/dl-machine.h: New file.
5722
6a4888ff
AJ
57232012-05-14 Andreas Jaeger <aj@suse.de>
5724
5725 * manual/Makefile (subdir): Remove export of subdir.
5726 (all): Remove target.
5727 (.PHONY): Remove all from list.
5728 (mkinstalldirs): Remove.
5729 (.PHONY): Remove installdirs from list.
5730 ($(inst_infodir)/libc.info): Use make-target-directory.
5731 (installdirs): Remove.
5732 (subdir_%): Remove.
5733 (glibc-targets): Remove.
5734 (lib): Remove.
5735 (stubs): Remove.
5736 ($(objpfx)stubs ../po/manual.pot): Remove.
5737 ($(objpfx)stamp%): Remove.
5738 (make-target-directory): Remove.
5739 (subdir_install): Remove.
5740 (routines): Remove.
5741 (aux): Remove.
5742 (sources): Remove.
5743 (objects): Remove.
5744 (headers): Remove.
5745
5746 [BZ #13750]
5747 * manual/.gitignore: Remove, it's not needed anymore.
5748 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
5749 all files in it.
5750 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
5751 directory.
5752 (texis): Renamed to $(objpfx)texis.
5753 (texis-path): New, contains path to generated files.
5754 (chapters.%): Use texis-path for complete path, add extra argument
5755 libc-texinfo.sh.
5756 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
5757 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
5758 (summary,texi, stamp-summary): Use complete path of
5759 files. Generate files in build dir.
5760 (dir-add.texi): Build in build dir.
5761 (libm-err.texi,stamp-libm-err): Likewise.
5762 (version.texi, stamp-version): Likewise.
5763 (.%c.texi): Likewise.
5764 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
5765 (mostlyclean): Remove target.
5766 (realclean): Remove target.
5767 (generated): Add new variable with contents from mostlyclean and
5768 realclean, remove entries duplicated in common-mostlyclean, add
5769 stamp-libm-err and stamp-version.
5770 (generated-dirs): Add libc directory.
5771 ($(inst_infodir)/libc.info): Install files from build dir.
5772
5773 * manual/install.texi (Configuring and compiling): Adjust since
5774 the info files are not part of the tar ball anymore.
5775
7ac77294
AJ
57762012-05-14 Andreas Jaeger <aj@suse.de>
5777
5778 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
5779 variable.
5780
ffb7875d
JM
57812012-05-14 Joseph Myers <joseph@codesourcery.com>
5782
5783 [BZ #13717]
5784 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5785 to 2.2.0 where earlier.
5786 * sysdeps/unix/sysv/linux/configure: Regenerated.
5787 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
5788 Remove conditional code.
5789 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
5790 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
5791 Remove conditional code.
5792 [!__NR_lchown]: Likewise.
5793 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5794 [__NR_lchown]: Likewise.
5795 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
5796 comment referencing __ASSUME_LCHOWN_SYSCALL.
5797 * sysdeps/unix/sysv/linux/i386/sigaction.c
5798 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5799 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5800 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
5801 Remove conditional code.
5802 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
5803 (__protocol_available): Remove #if 0 code.
5804 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
5805 conditional code.
5806 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
5807 * sysdeps/unix/sysv/linux/kernel-features.h
5808 (__ASSUME_GETCWD_SYSCALL): Don't define.
5809 (__ASSUME_REALTIME_SIGNALS): Likewise.
5810 (__ASSUME_PREAD_SYSCALL): Likewise.
5811 (__ASSUME_PWRITE_SYSCALL): Likewise.
5812 (__ASSUME_POLL_SYSCALL): Likewise.
5813 (__ASSUME_LCHOWN_SYSCALL): Likewise.
5814 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
5815 non-SPARC.
5816 (__ASSUME_SIOCGIFNAME): Don't define.
5817 (__ASSUME_MSG_NOSIGNAL): Likewise.
5818 (__ASSUME_SENDFILE): Define unconditionally.
5819 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
5820 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
5821 conditional code.
5822 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
5823 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
5824 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5825 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5826 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
5827 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5828 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
5830 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5831 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5833 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5834 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
5836 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5837 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5839 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5840 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
5842 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5843 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5845 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5846 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
5848 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5849 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5851 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5852 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5853 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
5854 Remove conditional code.
5855 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5856 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5857 Remove conditional code.
5858 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5859 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
5860 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
5861 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5862 Remove conditional code.
5863 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5864 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
5865 Remove conditional code.
5866 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5867 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
5868 Remove conditional code.
5869 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5870 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5871 Remove conditional code.
5872 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5873 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5874 Remove conditional code.
5875 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5876 * sysdeps/unix/sysv/linux/sh/pwrite64.c
5877 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5878 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5879 * sysdeps/unix/sysv/linux/sigaction.c
5880 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5881 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5882 * sysdeps/unix/sysv/linux/sigpending.c
5883 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5884 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5885 * sysdeps/unix/sysv/linux/sigprocmask.c
5886 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5887 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5888 * sysdeps/unix/sysv/linux/sigsuspend.c
5889 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5890 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5891 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5892 (__libc_missing_rt_sigs): Remove.
5893 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
5894 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
5895 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
5896 Remove conditional code.
5897 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
5898 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
5899 return 1.
5900 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
5901 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
5902 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
5903 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
5904
1bfb7291
AJ
59052012-05-14 Andreas Jaeger <aj@suse.de>
5906
caae5a81
AJ
5907 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
5908 it's not used in glibc.
5909 (__coshm1): Likewise.
5910 (__acosh1p): Likewise.
5911 (__sgn): Likewise.
5912
1bfb7291
AJ
5913 * manual/string.texi (Copying and Concatenation): Add missing
5914 variable in concat example.
5915 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5916
c044d724
L
59172012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5918
144c5467 5919 [BZ #14103]
c044d724
L
5920 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
5921 __builtin_clzl with __builtin_clzll.
5922
2523c62b
L
59232012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5924
5925 [BZ #14104]
5926 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
5927 libc_freeres_ptr.
5928
d7bb4c42
LD
59292012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5930
5931 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
5932 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
5933 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
5934 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
5935
9dc4e1fb
MF
59362012-05-14 Mike Frysinger <vapier@gentoo.org>
5937
5938 * NEWS: Update ia64 info.
5939
c7df0112
AS
59402012-05-12 Andreas Schwab <schwab@linux-m68k.org>
5941
5942 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
5943 used as bcopy.
5944
dc70356c
TS
59452012-05-12 Thomas Schwinge <thomas@codesourcery.com>
5946
5947 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
5948 * sysdeps/unix/syscalls.list (dup3): Likewise.
5949 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
5950 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
5951
9fb1a21f
L
59522012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5953
5954 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
5955 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
5956
4822a2a5
L
59572012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5958
5959 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
5960 thread pointer.
5961 (TLS_IE): Use mov/add instead of movq/addq to load thread
5962 pointer.
5963 (TLS_GD_PREFIX): New.
5964 (TLS_GD): Use it.
5965
842b81d6
DM
59662012-05-11 David S. Miller <davem@davemloft.net>
5967
5968 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
5969 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
5970 (_FPU_SETCW): Likewise.
5971
1cf463cd
L
59722012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5973
5974 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
5975 is 32-byte aligned.
5976
60cc4a18
AS
59772012-05-11 Andreas Schwab <schwab@linux-m68k.org>
5978
5979 [BZ #11837]
5980 * iconvdata/gb18030.c: Update tables.
5981 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
5982 characters specially.
5983 (BODY for TO_LOOP): Add encoding of missing ranges.
5984
febb44a4
TS
59852012-05-11 Thomas Schwinge <thomas@codesourcery.com>
5986
5987 [BZ #13673]
5988 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
5989 * sysdeps/mach/hurd/dup3.c: Likewise.
5990 * sysdeps/mach/hurd/readlinkat.c: Likewise.
5991 * sysdeps/powerpc/memmove.c:: Likewise.
5992
0a10fb9e
L
59932012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5994
5995 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
5996 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
5997
df8a552f
L
59982012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5999
6000 * elf/elf.h (R_X86_64_RELATIVE64): New.
6001 (R_X86_64_NUM): Updated.
6002 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6003 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
6004 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
6005 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
6006 tst-quad1pie tst-quad2pie
6007 (modules-names): Add tst-quadmod1 tst-quadmod2.
6008 ($(objpfx)tst-quad1): New dependency.
6009 ($(objpfx)tst-quad2): Likewise.
6010 ($(objpfx)tst-quad1pie): Likewise.
6011 ($(objpfx)tst-quad2pie): Likewise.
6012 * sysdeps/x86_64/tst-quad1.c: New file.
6013 * sysdeps/x86_64/tst-quad1pie.c: New file.
6014 * sysdeps/x86_64/tst-quad2.c: Likewise.
6015 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
6016 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
6017 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
6018 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
6019 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
6020
f34d6f84
ST
60212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6022
f42d41d1
ST
6023 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
6024 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
6025 * streams/stropts.h (t_scalar_t): Define type.
6026
3c3571fc
ST
6027 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
6028 (_PATH_PRESERVE): Set to "/var/lib".
6029 (_PATH_RWHODIR): Set to "/var/spool/rwho".
6030
61f06bd3
ST
6031 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
6032 instead of int.
6033
918d4d71
ST
6034 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
6035 if __dir_mkfile succeeded.
6036
f34d6f84
ST
6037 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
6038 checking for _hurd_dtablesize. Unlock it right after having
6039 finished _hurd_dtable allocation.
6040
10589b4a
TS
60412012-05-10 Thomas Schwinge <thomas@schwinge.name>
6042
674cdbc7
TS
6043 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
6044 * sysdeps/mach/hurd/configure: Regenerated.
6045 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
6046 special-casing to...
6047 * sysdeps/gnu/configure.in: ... this new file.
6048 * sysdeps/unix/sysv/linux/configure: Regenerated.
6049 * sysdeps/gnu/configure: New generated file.
6050
8e41b99f
TS
6051 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
6052 for Linux: use nsec instead of usec, as well as:
6053 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
6054 members of type struct timespec.
6055 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
6056 New macros.
6057 (struct stat64): Likewise.
6058 (_STATBUF_ST_NSEC): New macro.
6059 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
6060
10589b4a
TS
6061 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
6062 __strtoul_internal rather than strtoul.
6063
63643c85
PT
60642012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6065
6066 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
6067 and reject them.
6068
3faebe6a
ST
60692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6070
6071 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
6072 which preserves existing values.
6073 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
6074
c6474b07
PT
60752012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6076
6077 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
6078 TIMEOUT values. Return EINVAL for NFDS values either negative or
6079 greater than FD_SETSIZE.
6080
1043890b
ST
60812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6082
6083 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
6084 allocated, call __vm_protect to finish enabling the existing space, and
6085 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
6086 allocate the remainder.
6087
37ed8b9b
PT
60882012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6089
6090 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
6091 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
6092
db653660
ST
60932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6094
37ed8b9b
PT
6095 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
6096 sysdeps/mach/hurd/readlink.c.
b29d4053 6097
db653660
ST
6098 * posix/tst-sysconf.c (posix_options): Only use
6099 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
6100 _POSIX_SYNCHRONIZED_IO when they are defined
6101 * sysdeps/mach/hurd/bits/posix_opt.h:
6102 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
6103 (_XOPEN_REALTIME): Undefine macro.
6104 (_XOPEN_REALTIME_THREADS): Undefine macro.
6105 (_XOPEN_SHM): Undefine macro.
6106 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
6107 macro to -1.
6108 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
6109 macro to -1.
6110 (_POSIX_ASYNC_IO): Undefine macro.
6111 (_POSIX_PRIORITIZED_IO): Undefine macro.
6112 (_POSIX_SPIN_LOCKS): Define macro to -1.
6113
ee16e894
ST
6114 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
6115 SA_NODEFER, SA_RESETHAND.
6116 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
6117 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
6118 F_DUPFD_CLOEXEC.
6119
6103ae3b
TS
61202012-05-10 Thomas Schwinge <thomas@schwinge.name>
6121
6122 * elf/Makefile (pldd-modules): Define unconditionally.
6123
80b4e5f3
TS
61242012-05-10 Thomas Schwinge <thomas@schwinge.name>
6125
6126 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
6127
edadcbd6
ST
61282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6129
6130 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
6131 Return ENOENT when name is empty.
6132 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
6133
80694780
TS
61342012-05-10 Thomas Schwinge <thomas@schwinge.name>
6135
1792c087
TS
6136 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
6137
80694780
TS
6138 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
6139
6b645f0d
ST
61402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6141
80694780
TS
6142 Fix mlock in all cases except non-readable pages.
6143 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
6144 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 6145
6b645f0d
ST
6146 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
6147 (__mkdir): When path is `/', just fail with EEXIST.
6148 * sysdeps/mach/hurd/mkdirat.c: Likewise.
6149
e468f8a3
TS
61502012-05-10 Thomas Schwinge <thomas@schwinge.name>
6151
6152 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
6153 <sys/uio.h> (for writev).
6154 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
6155 and <sys/param.h> (for MIN).
6156
a4186cff
PT
61572012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6158
6159 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
6160 REQUESTED_TIME. Properly set the remaining time and return EINTR
6161 if interrupted.
6162
510bbf14
TS
61632012-05-10 Thomas Schwinge <thomas@schwinge.name>
6164
6165 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
6166 Depend on against $(link-rpcuserlibs).
6167
5d5722e8
ST
61682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6169
a4186cff
PT
6170 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
6171 (__libc_stack_end): Do not use attribute_relro.
6172 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
6173 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 6174 to libthread-provided value.
a4186cff
PT
6175 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
6176 attribute_relro.
5d5722e8 6177
37233df9
TS
61782012-05-10 Thomas Schwinge <thomas@schwinge.name>
6179
be971a2b
TS
6180 [BZ #3748]
6181 * bits/libc-lock.h (__libc_once_get): New macro.
6182 * sysdeps/mach/bits/libc-lock.h: Likewise.
6183 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
6184 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
6185 instead of using implementation details.
6186
37233df9
TS
6187 * libio/fileops.c: Unconditionally include <kernel-features.h>.
6188 * libio/freopen.c: Likewise.
6189 * libio/freopen64.c: Likewise.
6190 * misc/syslog.c: Likewise.
6191 * nscd/connections.c: Likewise.
6192 * nscd/netgroupcache.c: Likewise.
6193 * sysdeps/posix/getcwd.c: Likewise.
6194
38de94a5
RM
61952012-05-10 Roland McGrath <roland@hack.frob.com>
6196
6197 * math/w_ilogbf.c: Add #include <limits.h>.
6198
67530489
ST
61992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6200
a4186cff 6201 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
6202 path instead of returning without unlocking.
6203
67530489
ST
6204 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
6205 immediate-write ioctls.
6206 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
6207
5aa3a74a
TS
62082012-05-10 Thomas Schwinge <thomas@schwinge.name>
6209
18bad2ae
TS
6210 * sysdeps/mach/hurd/i386/init-first.c (init): Use
6211 __builtin_frame_address instead of making assumptions about the
6212 location of the return address relative to DATA. Force early load of
6213 the return address.
6214 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
6215 __builtin_frame_address.
6216
5aa3a74a
TS
6217 dup3 for GNU Hurd.
6218 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
6219 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
6220 implement dup3 and do some further code clean-ups.
6221 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
6222 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
6223
ecd0de9a
ST
62242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6225
cd9fa985
ST
6226 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
6227
a4186cff
PT
6228 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
6229 HURD_CRITICAL_END around holding _hurd_dtable_lock.
6230 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
6231 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
6232 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
6233 d->port.lock.
802ca5a5 6234
a4186cff
PT
6235 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
6236 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
6237 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 6238
bcf55240
TS
62392012-05-10 Thomas Schwinge <thomas@schwinge.name>
6240
6960eb42
TS
6241 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
6242 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
6243 definitions.
6244
eb43375f
TS
6245 accept4 for GNU Hurd.
6246 * include/sys/socket.h (__libc_accept4): New prototype.
6247 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
6248 to implement __libc_accept4.
6249 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
6250 __libc_accept4.
6251 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
6252
bcf55240
TS
6253 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
6254 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
6255 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
6256 signal-defines.sym.
6257
6178c55b
ST
62582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6259
a4186cff 6260 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 6261
6f080c2f
TS
62622012-05-10 Thomas Schwinge <thomas@schwinge.name>
6263
6264 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
6265 assertion on O_CLOEXEC flag.
6266 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
6267 * hurd/intern-fd.c: Likewise.
6268 * hurd/port2fd.c: Likewise.
6269
bcfe3a54
ST
62702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6271
6272 [BZ #3906]
6273 * bits/in.h (IPV6_PKTINFO): Define new macro.
6274 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
6275
89c9aa49
AZ
62762012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6277
6278 [BZ #13954]
6279 [BZ #13955]
6280 [BZ #13956]
6281 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
6282 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6283 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
6284 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6285 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6286 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6287 * math/libm-test.inc (logb_test) : Additional logb tests.
6288
021db4be
AJ
62892012-05-09 Andreas Schwab <schwab@linux-m68k.org>
6290 Andreas Jaeger <aj@suse.de>
6291
6292 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
6293 * configure: Regenerated.
6294 * config.h.in (LINK_OBSOLETE_RPC): New macro.
6295 * config.make.in (link-obsolete-rpc): New substituted variable.
6296 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
6297 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
6298 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6299 (shared-only-routines): Don't set it under [link-obsolete-rpc],
6300 so that libc.a contains the symbols.
6301 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6302 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
6303 * sunrpc/auth_none.c: Likewise.
6304 * sunrpc/auth_unix.c: Likewise.
6305 * sunrpc/authdes_prot.c: Likewise.
6306 * sunrpc/authuxprot.c: Likewise.
6307 * sunrpc/clnt_gen.c: Likewise.
6308 * sunrpc/clnt_perr.c: Likewise.
6309 * sunrpc/clnt_raw.c: Likewise.
6310 * sunrpc/clnt_simp.c: Likewise.
6311 * sunrpc/clnt_tcp.c: Likewise.
6312 * sunrpc/clnt_udp.c: Likewise.
6313 * sunrpc/clnt_unix.c: Likewise.
6314 * sunrpc/des_crypt.c: Likewise.
6315 * sunrpc/des_soft.c: Likewise.
6316 * sunrpc/get_myaddr.c: Likewise.
6317 * sunrpc/key_call.c: Likewise.
6318 * sunrpc/key_prot.c: Likewise.
6319 * sunrpc/netname.c: Likewise.
6320 * sunrpc/pm_getmaps.c: Likewise.
6321 * sunrpc/pm_getport.c: Likewise.
6322 * sunrpc/pmap_clnt.c: Likewise.
6323 * sunrpc/pmap_prot.c: Likewise.
6324 * sunrpc/pmap_prot2.c: Likewise.
6325 * sunrpc/pmap_rmt.c: Likewise.
6326 * sunrpc/publickey.c: Likewise.
6327 * sunrpc/rpc_cmsg.c: Likewise.
6328 * sunrpc/rpc_common.c: Likewise.
6329 * sunrpc/rpc_dtable.c: Likewise.
6330 * sunrpc/rpc_prot.c: Likewise.
6331 * sunrpc/rpc_thread.c: Likewise.
6332 * sunrpc/rtime.c: Likewise.
6333 * sunrpc/svc.c: Likewise.
6334 * sunrpc/svc_auth.c: Likewise.
6335 * sunrpc/svc_raw.c: Likewise.
6336 * sunrpc/svc_run.c: Likewise.
6337 * sunrpc/svc_tcp.c: Likewise.
6338 * sunrpc/svc_udp.c: Likewise.
6339 * sunrpc/svc_unix.c: Likewise.
6340 * sunrpc/svcauth_des.c: Likewise.
6341 * sunrpc/xcrypt.c: Likewise.
6342 * sunrpc/xdr.c: Likewise.
6343 * sunrpc/xdr_array.c: Likewise.
6344 * sunrpc/xdr_float.c: Likewise.
6345 * sunrpc/xdr_intXX_t.c: Likewise.
6346 * sunrpc/xdr_mem.c: Likewise.
6347 * sunrpc/xdr_rec.c: Likewise.
6348 * sunrpc/xdr_ref.c: Likewise.
6349 * sunrpc/xdr_sizeof.c: Likewise.
6350 * sunrpc/xdr_stdio.c: Likewise.
6351
b5c086a2
RM
63522012-05-10 Roland McGrath <roland@hack.frob.com>
6353
6354 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
6355 change. Update copyright years.
6356
6d74dd09
JM
63572012-05-10 Joseph Myers <joseph@codesourcery.com>
6358
6359 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
6360
28e72501
MK
63612012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
6362 Joseph Myers <joseph@codesourcery.com>
6363 Paul Pluzhnikov <ppluzhnikov@google.com>
6364
6365 [BZ #14012]
6366 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
6367 requiring rpcgen.
6368 [cross-compiling] (extra-libs): Likewise.
6369 [cross-compiling] (extra-libs-others): Likewise.
6370 [cross-compiling] (librpcsvc-routines): Likewise.
6371 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
6372 [cross-compiling] (omit-deps): Likewise.
6373 (sunrpc-CPPFLAGS): New variable.
6374 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
6375 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
6376 (cross-rpcgen-objs): New variable.
6377 (extra-objs): Append $(cross-rpcgen-objs).
6378 ($(cross-rpcgen-objs)): New rule.
6379 ($(objpfx)cross-rpcgen): Likewise.
6380 (rpcgen-cmd): Define to use $(built-program-file). Expand
6381 comment.
6382 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
6383 ($(objpfx)x%.stmp): Likewise.
6384 * sunrpc/proto.h [IS_IN_build] (_): Define.
6385 [IS_IN_build] (_libc_intl_domainname): Likewise.
6386
c8c59454
L
63872012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6388
6389 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
6390 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
6391 and R_X86_64_TPOFF64.
6392
6f27cd16
JM
63932012-05-10 Joseph Myers <joseph@codesourcery.com>
6394
6395 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
6396 sysdeps/unix/sysv/syscalls.list.
6397 (stime): Likewise.
6398 (utime): Likewise.
6399 * sysdeps/unix/sysv/syscalls.list: Remove file.
6400
02467e1c
PE
64012012-05-10 Paul Eggert <eggert@cs.ucla.edu>
6402
6403 [BZ #3440]
6404 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
6405 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
6406 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
6407 (__LC_IDENTIFICATION): Make these macros useful in #if
6408 expressions, as required by C99.
6409
da392631
AS
64102012-05-10 Andreas Schwab <schwab@linux-m68k.org>
6411
6412 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
6413 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
6414 after this.
6415
8115f29b
L
64162012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6417
6418 * stdlib/longlong.h: Updated from GCC.
6419
bdd74070
AJ
64202012-05-09 Andreas Jaeger <aj@suse.de>
6421
edfe0dbe
AJ
6422 * nscd/nscd.c (run_modes): Make named enum, reorder so that
6423 default is first entry.
6424 (run_mode): Set type.
6425 (main): Remove informal message about syslog.
6426 (options): Fix typo.
6427
bcfe3a54
ST
6428 [BZ #14053]
6429 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 6430 to asm.
bcfe3a54
ST
6431 (lrint): Likewise.
6432 (llrintf): Likewise.
6433 (llrint): Likewise.
6434 (rint): Likewise.
6435 (rintf): Likewise.
6436 (nearbyint): Likewise.
6437 (nearbyintf): Likewise.
bdd74070 6438
91d8d69e
AJ
64392012-05-09 Andreas Jaeger <aj@suse.de>
6440 Pedro Alves <palves@redhat.com>
6441
6442 * nscd/nscd.c (run_mode): Use enum.
6443 (main): Cleanup coding style issue.
6444
bb90b80b
AJ
64452012-05-09 Alexandre Oliva <aoliva@redhat.com>
6446 Andreas Jaeger <aj@suse.de>
6447
bcfe3a54
ST
6448 * nscd/nscd.c (go_background): Replaced with...
6449 (run_mode): ... this.
bb90b80b 6450 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
6451 (options): Add -F --foreground.
6452 (main): Implement it.
6453 (parse_opt): Parse it.
bb90b80b 6454
1a4b75a1
AJ
64552012-05-09 Andreas Jaeger <aj@suse.de>
6456
6457 [BZ #14083]
6458 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
6459 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
6460 -Wconversion warning.
6461 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
6462 Likewise.
6463
b1cc2472
JM
64642012-05-09 Joseph Myers <joseph@codesourcery.com>
6465
6466 * conform/data/locale.h-data (NULL): Use macro-constant. Require
6467 == 0.
6468 (LC_ALL): Use macro-int-constant.
6469 (LC_COLLATE): Likewise.
6470 (LC_CTYPE): Likewise.
6471 (LC_MESSAGES): Likewise.
6472 (LC_MONETARY): Likewise.
6473 (LC_NUMERIC): Likewise.
6474 (LC_TIME): Likewise.
6475 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
6476 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6477 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6478 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
6479 Specify type.
6480 [C99-based standards] (float_t): Expect type.
6481 [C99-based standards] (double_t): Expect type.
6482 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
6483 type.
6484 [C99-based standards] (HUGE_VALL): Likewise.
6485 [C99-based standards] (INFINITY): Likewise.
6486 [C99-based standards] (NAN): Likewise.
6487 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
6488 [C99-based standards] (FP_NAN): Likewise.
6489 [C99-based standards] (FP_NORMAL): Likewise.
6490 [C99-based standards] (FP_SUBNORMAL): Likewise.
6491 [C99-based standards] (FP_ZERO): Likewise.
6492 [C99-based standards] (FP_FAST_FMA): Use
6493 optional-macro-int-constant. Specify type. Require == 1.
6494 [C99-based standards] (FP_FAST_FMAF): Likewise.
6495 [C99-based standards] (FP_FAST_FMAL): Likewise.
6496 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
6497 [C99-based standards] (FP_ILOGBNAN): Likewise.
6498 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
6499 Specify type.
6500 [C99-based standards] (MATH_ERREXCEPT): Likewise.
6501 [C99-based standards] (math_errhandling): Specify type.
6502 [ISO99 || ISO11] (signgam): Do not allow.
6503 [non-C99-based standards] (copysignf): Do not allow.
6504 [non-C99-based standards] (exp2f): Likewise.
6505 [non-C99-based standards] (log2f): Likewise.
6506 [non-C99-based standards] (modff): Allow.
6507 [non-C99-based standards] (erff): Do not allow.
6508 [non-C99-based standards] (erfcf): Likewise.
6509 [non-C99-based standards] (gammaf): Likewise.
6510 [non-C99-based standards] (hypotf): Likewise.
6511 [non-C99-based standards] (j0f): Likewise.
6512 [non-C99-based standards] (j1f): Likewise.
6513 [non-C99-based standards] (jnf): Likewise.
6514 [non-C99-based standards] (lgammaf): Likewise.
6515 [non-C99-based standards] (tgammaf): Likewise.
6516 [non-C99-based standards] (y0f): Likewise.
6517 [non-C99-based standards] (y1f): Likewise.
6518 [non-C99-based standards] (ynf): Likewise.
6519 [non-C99-based standards] (isnanf): Likewise.
6520 [non-C99-based standards] (acoshf): Likewise.
6521 [non-C99-based standards] (asinhf): Likewise.
6522 [non-C99-based standards] (atanhf): Likewise.
6523 [non-C99-based standards] (cbrtf): Likewise.
6524 [non-C99-based standards] (expm1f): Likewise.
6525 [non-C99-based standards] (ilogbf): Likewise.
6526 [non-C99-based standards] (log1pf): Likewise.
6527 [non-C99-based standards] (logbf): Likewise.
6528 [non-C99-based standards] (nextafterf): Likewise.
6529 [non-C99-based standards] (remainderf): Likewise.
6530 [non-C99-based standards] (rintf): Likewise.
6531 [non-C99-based standards] (scalbf): Likewise.
6532 [non-C99-based standards] (copysignl): Likewise.
6533 [non-C99-based standards] (exp2l): Likewise.
6534 [non-C99-based standards] (log2l): Likewise.
6535 [non-C99-based standards] (modfl): Allow.
6536 [non-C99-based standards] (erfl): Do not allow.
6537 [non-C99-based standards] (erfcl): Likewise.
6538 [non-C99-based standards] (gammal): Likewise.
6539 [non-C99-based standards] (hypotl): Likewise.
6540 [non-C99-based standards] (j0l): Likewise.
6541 [non-C99-based standards] (j1l): Likewise.
6542 [non-C99-based standards] (jnl): Likewise.
6543 [non-C99-based standards] (lgammal): Likewise.
6544 [non-C99-based standards] (tgammal): Likewise.
6545 [non-C99-based standards] (y0l): Likewise.
6546 [non-C99-based standards] (y1l): Likewise.
6547 [non-C99-based standards] (ynl): Likewise.
6548 [non-C99-based standards] (isnanl): Likewise.
6549 [non-C99-based standards] (acoshl): Likewise.
6550 [non-C99-based standards] (asinhl): Likewise.
6551 [non-C99-based standards] (atanhl): Likewise.
6552 [non-C99-based standards] (cbrtl): Likewise.
6553 [non-C99-based standards] (expm1l): Likewise.
6554 [non-C99-based standards] (ilogbl): Likewise.
6555 [non-C99-based standards] (log1pl): Likewise.
6556 [non-C99-based standards] (logbl): Likewise.
6557 [non-C99-based standards] (nextafterl): Likewise.
6558 [non-C99-based standards] (remainderl): Likewise.
6559 [non-C99-based standards] (rintl): Likewise.
6560 [non-C99-based standards] (scalbl): Likewise.
6561 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6562 [non-C99-based standards] (FP_*): Do not allow.
6563 [C99-based standards] (FP_*): Change to
6564 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6565 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6566 allow.
6567 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
6568 (SIG_ERR): Likewise.
6569 [X/Open-based standards] (SIG_HOLD): Likewise.
6570 (SIG_IGN): Likewise.
6571 (SIGABRT): Use macro-int-constant. Specify type. Require
6572 positive value.
6573 (SIGFPE): Likewise.
6574 (SIGILL): Likewise.
6575 (SIGINT): Likewise.
6576 (SIGSEGV): Likewise.
6577 (SIGTER): Likewise.
6578 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
6579 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
6580 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
6581 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
6582 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
6583 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
6584 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
6585 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
6586 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
6587 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
6588 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
6589 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
6590 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
6591 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
6592 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
6593 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
6594 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
6595 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
6596 [X/Open-based standards] (SIGTRAP): Likewise.
6597 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
6598 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
6599 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
6600 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
6601 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6602 allow.
6603
b9f1922d
IW
66042012-05-08 Ian Wienand <ianw@vmware.com>
6605
6606 [BZ #14080]
6607 * time/tzset.c (__tzset_parse_tz): Update default rules for
6608 daylight time changes in the Energy Policy Act of 2005.
6609
1db86e88
AJ
66102012-05-09 Andreas Jaeger <aj@suse.de>
6611
6612 [BZ #13983]
6613 * elf/ldconfig.c (parse_conf): Change string to make clear that
6614 ldconfig only issued a warning if ld.so.conf does not exist.
6615
dee4a4e3
DM
66162012-05-08 David S. Miller <davem@davemloft.net>
6617
ee0db190
DM
6618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
6619 movxtod instead of popping the value on the stack.
6620
dee4a4e3
DM
6621 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6622
6a43ec98
CD
66232012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
6624
6625 * config.h.in: Add HAVE_ARM_PCS_VFP.
6626
05c2c961
RMG
66272012-05-08 Roland Mc Grath <roland@hack.frob.com>
6628
bcfe3a54
ST
6629 [BZ #13979]
6630 * include/features.h: Warn if user requests __FORTIFY_SOURCE
6631 checking but the checks are disabled for any reason.
05c2c961 6632
4b30f61a
L
66332012-05-08 H.J. Lu <hongjiu.lu@intel.com>
6634
6635 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
6636 and ELF64_R_TYPE with ELFW(R_TYPE).
6637
eee2bc67
JM
66382012-05-08 Joseph Myers <joseph@codesourcery.com>
6639
7ea5391a
JM
6640 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
6641 (ulimit): Likewise.
6642
eee2bc67
JM
6643 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
6644 (settimeofday): Likewise.
6645
abb66a67
MF
66462012-05-08 Mike Frysinger <vapier@gentoo.org>
6647
6648 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
6649 a struct th_u2 inside the union, and move tu_block/tu_code into
6650 a new th_u3 union of tu_block/tu_code inside of that. Move
6651 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
6652 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
6653 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
6654 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
6655 (th_stuff): Change to th_u1.tu_stuff.
6656 (th_data): Define.
6657 (th_msg): Change to th_u1.th_u2.tu_data.
6658
7f18b530
DM
66592012-05-07 David S. Miller <davem@davemloft.net>
6660
05760585
DM
6661 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6662
7f18b530
DM
6663 [BZ #14074]
6664 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
6665 (SETUP_PIC_REG): Use it.
6666 (SETUP_PIC_REG_LEAF): Use it.
6667
495fd99f
JM
66682012-05-07 Joseph Myers <joseph@codesourcery.com>
6669
6670 [BZ #13885]
6671 [BZ #13923]
6672 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6673 USE_AS_EXPM1L.
6674 (EXPL_FINITE): Likewise.
6675 (FLDLOG): Likewise.
6676 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6677 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6678 e_expl.S.
6679 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6680 USE_AS_EXPM1L.
6681 (EXPL_FINITE): Likewise.
6682 (FLDLOG): Likewise.
6683 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6684 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6685 e_expl.S.
6686 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
6687 test of -max_value argument for long double.
6688 * sysdeps/i386/fpu/libm-test-ulps: Update.
6689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6690
6693d694
DM
66912012-05-06 David S. Miller <davem@davemloft.net>
6692
6693 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
6694 quad soft-float symbols whose references which are compiler
6695 generated.
6696 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6697
6c23e11c
JM
66982012-05-06 Joseph Myers <joseph@codesourcery.com>
6699
d8b82cad
JM
6700 [BZ #13884]
6701 [BZ #13914]
6702 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6703 USE_AS_EXP10L.
6704 (EXPL_FINITE): Likewise.
6705 (FLDLOG): Likewise.
6706 (c0): Likewise.
6707 (c1): Likewise.
6708 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6709 Adjust comments for base varying.
6710 (__expl_finite): Change alias to EXPL_FINITE.
6711 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
6712 e_expl.S.
6713 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
6714 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6715 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6716 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
6717 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6718 USE_AS_EXP10L.
6719 (EXPL_FINITE): Likewise.
6720 (FLDLOG): Likewise.
6721 (c0): Likewise.
6722 (c1): Likewise.
6723 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6724 Adjust comments for base varying.
6725 (__expl_finite): Change alias to EXPL_FINITE.
6726 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
6727 tests for bugs.
6728 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6729
6c23e11c
JM
6730 [BZ #14064]
6731 * math/libm-test.inc (check_float_internal): Correct ulp
6732 calculation for subnormal expected results.
6733
29ba805c
AJ
67342012-05-06 Andreas Jaeger <aj@suse.de>
6735
6736 * Makeconfig (+math-flags): New, set to -frounding-math.
6737 (+cflags): Add +math-flags so that all of glibc gets compiled with
6738 it.
6739
6740 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
6741
7b17aeda
JM
67422012-05-05 Joseph Myers <joseph@codesourcery.com>
6743
5779f134
JM
6744 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
6745 Disable one test.
6746
41498f4d
JM
6747 [BZ #13787]
6748 [BZ #13922]
6749 [BZ #14036]
6750 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
6751 (__ieee754_expl): Allow for and saturate large arguments.
6752 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
6753 (u_threshold): Likewise.
6754 (__exp): Call __ieee754_exp before checking for overflow and
6755 underflow.
6756 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
6757 (u_threshold): Likewise.
6758 (__expf): Call __ieee754_expf before checking for overflow and
6759 underflow.
6760 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
6761 (u_threshold): Likewise.
6762 (__expl): Call __ieee754_expl before checking for overflow and
6763 underflow.
6764 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
6765 (__ieee754_expl): Allow for and saturate large arguments.
6766 * math/libm-test.inc (exp_test): Add another test. Do not allow
6767 missing overflow exception on overflow.
6768 (expm1_test): Do not allow missing overflow exception on overflow.
6769
6698b8bf
JM
6770 * sysdeps/i386/fpu/e_expl.c: Move to ...
6771 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
6772 rather than using inline asm.
6773 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
6774 * sysdeps/x86_64/fpu/e_expl.S: Copy from
6775 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
6776
7b17aeda
JM
6777 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
6778 (nice): Likewise.
6779 (poll): Likewise.
6780 (signal): Likewise.
6781 (time): Likewise.
6782 (times): Likewise.
6783
f7c85819
JM
67842012-05-04 Joseph Myers <joseph@codesourcery.com>
6785
6786 * sysdeps/unix/syscalls.list (adjtime): Add entry from
6787 sysdeps/unix/common/syscalls.list.
6788 (fchmod): Likewise.
6789 (fchown): Likewise.
6790 (ftruncate): Likewise.
6791 (getrusage): Likewise.
6792 (gettimeofday): Likewise.
6793 (setpgid): Likewise.
6794 (setregid): Likewise.
6795 (setreuid): Likewise.
6796 (sigaction): Likewise.
6797 (truncate): Likewise.
6798 (vhangup): Likewise.
6799 * sysdeps/unix/common/syscalls.list: Remove file.
6800 * sysdeps/unix/bsd/Implies: Don't include unix/common.
6801 * sysdeps/unix/sysv/linux/Implies: Likewise.
6802
336270d0
L
68032012-05-04 H.J. Lu <hongjiu.lu@intel.com>
6804
6805 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
6806 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
6807 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
6808 Moved to ...
6809 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6810 Here.
6811 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
6812 to ...
6813 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
6814 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
6815 to ...
6816 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
6817 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
6818 to ...
6819 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
6820 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
6821 to ...
6822 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
6823 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
6824 to ...
6825 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
6826 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
6827 to ...
6828 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
6829 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
6830 to ...
6831 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6832 Here.
6833 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
6834 to ...
6835 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
6836 Here.
6837 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
6838 to ...
6839 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
6840 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
6841 Moved to ...
6842 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
6843 Here.
6844 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
6845 to ...
6846 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
6847
d128e450
JM
68482012-05-04 Joseph Myers <joseph@codesourcery.com>
6849
fa8ee516
JM
6850 * sysdeps/unix/common/bits/dirent.h: Remove file.
6851 * sysdeps/unix/common/bits/fcntl.h: Likewise.
6852
d128e450
JM
6853 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
6854 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
6855 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
6856 * sysdeps/unix/bsd/isatty.c: Likewise.
6857 * sysdeps/unix/bsd/tcdrain.c: Likewise.
6858 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
6859 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
6860
ff8faaf0 68612012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 6862
62881be4 6863 [BZ #13563]
31dc8730
AZ
6864 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
6865 long double comparison inaccuracies.
6866 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6867 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6868
6fef930c
AS
68692012-05-04 Andreas Schwab <schwab@linux-m68k.org>
6870
6871 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
6872 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
6873
8f203e6c
JM
68742012-05-04 Joseph Myers <joseph@codesourcery.com>
6875
6876 [BZ #14049]
6877 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
6878 nonzero digits before rounding a hex value.
6879 * stdlib/tst-strtod.c (tests): Add another test.
6880
5197d9c2
AK
68812012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6882
6883 * sysdeps/s390/fpu/libm-test-ulps: Update.
6884
f0c1dedf
AJ
68852012-05-03 Andreas Jaeger <aj@suse.de>
6886
6887 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
6888 does not get optimized out.
6889 (malloc_opt_barrier): New.
6890
a65ef2ae 68912012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 6892 Roland McGrath <roland@hack.frob.com>
a65ef2ae 6893
2b942cb7 6894 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 6895 intermediate file deletion.
2b942cb7 6896 (generated): Add .symlist files.
a65ef2ae 6897
54b71e02
JM
68982012-05-03 Joseph Myers <joseph@codesourcery.com>
6899
6900 [BZ #13775]
6901 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
6902 Redirect under this condition.
6903 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6904 [__USE_GNU] (__dprintf_chk): Not under this condition.
6905 [__USE_GNU] (__vdprintf_chk): Likewise.
6906 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
6907 under this condition.
6908 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6909 [__USE_XOPEN2K8] (dprintf): Define under this condition.
6910 [__USE_XOPEN2K8] (vdprintf): Likewise.
6911 [__USE_GNU] (__dprintf_chk): Not under this condition.
6912 [__USE_GNU] (__vdprintf_chk): Likewise.
6913 [__USE_GNU] (dprintf): Likewise.
6914 [__USE_GNU] (vdprintf): Likewise.
6915
d3dfcc41
RM
69162012-05-03 Roland McGrath <roland@hack.frob.com>
6917
6918 * elf/Makefile (common-generated): Set this instead of generated for
6919 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
6920 $(all-built-dso)-derived lists.
6921
7ac30cc5
AJ
69222012-05-03 Andreas Jaeger <aj@suse.de>
6923
0c51e550
AJ
6924 * sysdeps/i386/fpu/libm-test-ulps: Update.
6925
7ac30cc5
AJ
6926 * FAQ: Removed.
6927 * FAQ.in: Likewise.
6928 * scripts/gen-FAQ.pl: Likewise.
6929 * manual/install.texi (Installation): Point to online location of
6930 FAQ.
6931 * Makefile (files-for-dist): Remove FAQ.
6932 (FAQ): Remove.
6933
d4c2917f
AM
69342012-05-02 Allan McRae <allan@archlinux.org>
6935
6936 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
6937 (LDFLAGS-reldepmod5.so): Likewise.
6938 (LDFLAGS-reldep6mod1.so): Likewise.
6939 (LDFLAGS-reldep6mod4.so): Likewise.
6940 (LDFLAGS-reldep8mod3.so): Likewise.
6941 (LDFLAGS-unload4mod1.so): Likewise.
6942 (LDFLAGS-unload4mod2.so): Likewise.
6943 (LDFLAGS-tst-initorder): Likewise.
6944 (LDFLAGS-tst-initordera2.so): Likewise.
6945 (LDFLAGS-tst-initordera3.so): Likewise.
6946 (LDFLAGS-tst-initordera4.so): Likewise.
6947 (LDFLAGS-tst-initorderb2.so): Likewise.
6948 (LDFLAGS-noload): Likewise.
6949 (LDFLAGS-next): Likewise.
6950 (LDFLAGS-order2mod1.so): Likewise.
6951 (LDFLAGS-order2mod2.so): Likewise.
6952 (LDFLAGS-tst-initorder2): Likewise.
6953 (LDFLAGS-tst-initorder2a.so): Likewise.
6954 (LDFLAGS-tst-initorder2b.so): Likewise.
6955 (LDFLAGS-tst-initorder2c.so): Likewise.
6956 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
6957
d77f993f
DM
69582012-05-02 David S. Miller <davem@davemloft.net>
6959
6960 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6961
171a70b4
PP
69622012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
6963
6964 [BZ #14055]
6965 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
6966
0be196ad
AJ
69672012-05-02 Andreas Jaeger <aj@suse.de>
6968
6969 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
6970 since we manipulate rounding mode.
6971 (CPPFLAGS-test-idouble.c): Likewise.
6972 (CPPFLAGS-test-ifloat.c): Likewise.
6973 (CFLAGS-test-ldouble.c): Likewise.
6974 (CFLAGS-test-double.c): Likewise.
6975 (CFLAGS-test-float.c): Likewise.
6976 (CFLAGS-test-misc.c): Likewise.
6977 (CFLAGS-test-test-fenv.c): Likewise.
6978
4f9d04aa
AZ
69792012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6980
2b942cb7
RM
6981 [BZ #2550]
6982 [BZ #2570]
6983 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
6984 comparisons to determine direction to adjust input.
4f9d04aa 6985
82a79e7d
RM
69862012-05-01 Roland McGrath <roland@hack.frob.com>
6987
f5a01ca9
RM
6988 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
6989 output to the target.
6990
90fe4186
RM
6991 * scripts/localplt.awk: New file.
6992 * elf/Makefile ($(objpfx)check-localplt): Target removed.
6993 (check-localplt-CFLAGS): Variable removed.
6994 ($(all-built-dso:=.jmprel)): New static pattern rule.
6995 (generated): Add those targets.
6996 (localplt-built-dso): New variable.
6997 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
6998
6999 * elf/check-localplt.c: File removed.
7000
82397ed6
RM
7001 * scripts/check-execstack.awk: New file.
7002 * elf/Makefile ($(objpfx)check-execstack): Target removed.
7003 (check-execstack-CFLAGS): Variable removed.
7004 ($(objpfx)check-execstack.h): Target removed.
7005 ($(objpfx)execstack-default): New target.
7006 (generated): Add that instead of check-execstack.h.
7007 ($(all-built-dso:=.phdr)): New static pattern rule.
7008 (generated): Add those targets.
7009 * elf/check-execstack.c: File removed.
7010
82a79e7d
RM
7011 * scripts/check-textrel.awk: New file.
7012 * elf/Makefile ($(objpfx)check-textrel): Target removed.
7013 (check-textrel-CFLAGS): Variable removed.
7014 (all-built-dso): Use := to define.o
7015 ($(all-built-dso:=.dyn)): New static pattern rule.
7016 (generated): Add those targets.
7017 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
7018 * config.make.in (READELF): New substituted variable.
7019 * elf/check-textrel.c: File removed.
7020
62fde54f 70212012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 7022
615605c9
JM
7023 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7024 allow.
7025 * conform/data/ctype.h-data [C99-based standards] (isblank):
7026 Expect function.
7027 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
7028 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
7029 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7030 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
7031 Specify type. Require positive value.
7032 (EILSEQ): Likewise.
7033 (ERANGE): Likewise.
7034 [ISO || POSIX] (EILSEQ): Do not expect.
7035 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
7036 Specify type. Require positive value.
7037 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
7038 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
7039 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
7040 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
7041 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
7042 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
7043 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
7044 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
7045 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
7046 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
7047 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
7048 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
7049 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
7050 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
7051 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
7052 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
7053 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
7054 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
7055 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
7056 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
7057 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
7058 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
7059 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
7060 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
7061 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
7062 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
7063 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
7064 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
7065 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
7066 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
7067 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
7068 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
7069 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
7070 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
7071 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
7072 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
7073 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
7074 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
7075 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
7076 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
7077 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
7078 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
7079 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
7080 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
7081 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
7082 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
7083 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
7084 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
7085 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
7086 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
7087 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
7088 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
7089 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
7090 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
7091 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
7092 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
7093 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
7094 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
7095 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
7096 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
7097 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
7098 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
7099 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
7100 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
7101 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
7102 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
7103 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
7104 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
7105 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
7106 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
7107 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
7108 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
7109 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
7110 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
7111 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
7112 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
7113 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
7114 Require >= 2.
7115 (FLT_ROUNDS): Expect as macro, not constant.
7116 (FLT_MANT_DIG): Use macro-int-constant.
7117 (DBL_MANT_DIG): Likewise.
7118 (LDBL_MANT_DIG): Likewise.
7119 (FLT_DIG): Likewise.
7120 (DBL_DIG): Likewise.
7121 (LDBL_DIG): Likewise.
7122 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
7123 (DBL_MIN_EXP): Likewise.
7124 (LDBL_MIN_EXP): Likewise.
7125 (FLT_MAX_EXP): Use macro-int-constant.
7126 (DBL_MAX_EXP): Likewise.
7127 (LDBL_MAX_EXP): Likewise.
7128 (FLT_MAX_10_EXP): Likewise.
7129 (DBL_MAX_10_EXP): Likewise.
7130 (LDBL_MAX_10_EXP): Likewise.
7131 (FLT_MAX): Use macro-constant.
7132 (DBL_MAX): Likewise.
7133 (LDBL_MAX): Likewise.
7134 (FLT_EPSILON): Use macro-constant. Give upper bound.
7135 (DBL_EPSILON): Likewise.
7136 (LDBL_EPSILON): Likewise.
7137 (FLT_MIN): Likewise.
7138 (DBL_MIN): Likewise.
7139 (LDBL_MIN): Likewise.
7140 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
7141 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
7142 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
7143 [ISO11] (FLT_HAS_SUBNORM): Likewise.
7144 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
7145 [ISO11] (DBL_DECIMAL_DIG): Likewise.
7146 [ISO11] (FLT_DECIMAL_DIG): Likewise.
7147 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
7148 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
7149 [ISO11] (FLT_TRUE_MIN): Likewise.
7150 [ISO11] (LDBL_TRUE_MIN): Likewise.
7151 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7152 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
7153 (SCHAR_MIN): Use macro-int-constant. Specify type.
7154 (SCHAR_MAX): Likewise.
7155 (UCHAR_MAX): Likewise.
7156 (CHAR_MIN): Likewise.
7157 (CHAR_MAX): Likewise.
7158 (MB_LEN_MAX): Use macro-int-constant.
7159 (SHRT_MIN): Use macro-int-constant. Specify type.
7160 (SHRT_MAX): Likewise.
7161 (USHRT_MAX): Likewise.
7162 (INT_MAX): Likewise.
7163 (INT_MIN): Use macro-int-constant. Specify type. Make upper
7164 bound negative.
7165 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
7166 bound with "U".
7167 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7168 bound with "L".
7169 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
7170 bound negative. Suffix upper bound with "L".
7171 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7172 bound with "UL".
7173 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
7174 Specify type.
7175 [C99-based standards] (LLONG_MAX): Likewise.
7176 [C99-based standards] (ULLONG_MAX): Likewise.
7177 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
7178 == 0.
7179 [ISO11] (max_align_t): Require type.
7180 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7181
c9140a62
JM
7182 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
7183 from $CFLAGS, without defining away __attribute__ calls.
7184 (checknamespace): Use $CFLAGS_namespace.
7185
9af0bf29
JM
7186 * conform/conformtest.pl (@keywords): Only include C99 keywords
7187 for standards based on C99 or C11.
7188
343222a2
JM
7189 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
7190 Disable tests.
7191 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
7192 UNIX98]: Likewise.
7193
661f8cf0
JM
7194 * conform/conformtest.pl: Handle "macro-int-constant" and test for
7195 usability of symbols in #if.
7196
ee74b9cb
JM
7197 * conform/conformtest.pl: If macro or constant types start
7198 "promoted:", expect the symbol to be of the following type
7199 promoted by the integer promotions.
62fde54f 7200
aafc49b3
JM
7201 * conform/conformtest.pl: Parse all "constant" and "macro" lines
7202 in one place. Also handle "macro-constant".
7203
fefdf574
JM
7204 * conform/conformtest.pl: Only accept expected macro values with
7205 "==". Parse all "macro" lines in one place.
7206 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
7207
f2d922fe
JM
7208 * conform/conformtest.pl: Handle braced types on "constant" lines
7209 instead of handling "typed-constant".
7210 * conform/data/signal.h-data: Use "constant" instead of
7211 "typed-constant".
7212
d22956c9
JM
7213 * conform/conformtest.pl: Handle "optional-" at start of lines in
7214 one place rather than duplicating several cases. Handle each
7215 format of "macro" line with initial "optional-".
7216
028e2e38
JM
7217 * conform/conformtest.pl: Only accept expected constant or
7218 optional-constant values with "==". Parse all "constant" lines in
7219 one place. Parse all "optional-constant" lines in one place.
7220 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
7221 * conform/data/fmtmsg.h-data: Likewise.
7222 * conform/data/netinet/in.h-data: Likewise.
7223 * conform/data/tar.h-data: Likewise.
7224 * conform/data/limits.h-data: Use "==" form on "constant" and
7225 "optional-constant" lines.
7226
1b8f2850
JM
7227 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
7228 Use -std=c99 for XOPEN2K.
7229 (@knownproblems): Remove.
7230 (newtoken): Don't check %isknown.
7231
a05a144b
JM
7232 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
7233 Do not expect macro.
7234 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
7235 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
7236 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
7237 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
7238 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
7239 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
7240 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
7241 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
7242 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
7243 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
7244 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
7245 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
7246 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
7247 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
7248 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
7249 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
7250 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
7251 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
7252 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
7253 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
7254 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
7255 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
7256 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
7257 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
7258 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
7259 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
7260 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
7261 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
7262 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
7263 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
7264 [XPG3] (acosh): Likewise.
7265 [XPG3] (asinh): Likewise.
7266 [XPG3] (atanh): Likewise.
7267 [XPG3] (cbrt): Likewise.
7268 [XPG3] (expm1): Likewise.
7269 [XPG3] (ilogb): Likewise.
7270 [XPG3] (log1p): Likewise.
7271 [XPG3] (logb): Likewise.
7272 [XPG3] (nextafter): Likewise.
7273 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
7274 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
7275 [XPG3] (remainder): Likewise.
7276 [XPG3] (rint): Likewise.
7277 [XPG3 || XPG4 || UNIX98] (round): Likewise.
7278 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
7279 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
7280 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
7281 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
7282 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
7283 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
7284 [UNIX98 || XOPEN2K] (scalb): Expect.
7285 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
7286 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
7287 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
7288 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
7289 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
7290 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
7291 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
7292 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
7293 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
7294 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
7295 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
7296 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
7297 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
7298 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
7299 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
7300 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
7301 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
7302 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
7303 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
7304 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
7305 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
7306 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
7307 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
7308 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
7309 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
7310 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
7311 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
7312 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
7313 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
7314 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
7315 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
7316 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
7317 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
7318 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
7319 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
7320 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
7321 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
7322 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
7323 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
7324 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
7325 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
7326 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
7327 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
7328 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
7329 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
7330 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
7331 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
7332 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
7333 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
7334 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
7335 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
7336 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
7337 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
7338 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
7339 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
7340 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
7341 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
7342 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
7343 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
7344 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
7345 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
7346 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
7347 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
7348 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
7349 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
7350 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
7351 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
7352 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
7353 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
7354 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
7355 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
7356 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
7357 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
7358 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
7359 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
7360 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
7361 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
7362 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
7363 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
7364 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
7365 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
7366 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
7367 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
7368 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
7369 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
7370 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
7371 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
7372 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
7373 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
7374 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
7375 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
7376 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
7377 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
7378 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
7379 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
7380 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
7381 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
7382 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
7383 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
7384 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
7385 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
7386 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
7387 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
7388 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
7389 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
7390 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
7391 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
7392 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
7393 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
7394 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
7395 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
7396 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
7397 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
7398 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
7399 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
7400 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
7401 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
7402 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
7403 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
7404 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
7405 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
7406 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
7407 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
7408 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
7409 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
7410 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
7411 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
7412 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
7413 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
7414 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
7415 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
7416 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
7417 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
7418 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
7419 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
7420 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
7421 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
7422
73c5ebe3
JM
7423 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
7424 _XOPEN_SOURCE_EXTENDED for XPG4.
7425
39c33b6c
JM
7426 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
7427
62fde54f
JM
7428 * Makeconfig (localtime): Remove variable.
7429 (inst_localtime-file): Likewise.
7430
0741d64c
AS
74312012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7432
7433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7434 Update.
7435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7436 Update.
7437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7438 Update.
7439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7440 Update.
7441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7442 Update.
7443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
7444 Update.
7445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7446 Update.
7447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
7448 Update.
7449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7450 Update.
7451
7cb029ee
JM
74522012-05-01 Joseph Myers <joseph@codesourcery.com>
7453
7454 [BZ #2550]
7455 [BZ #2570]
7456 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
7457 comparisons to determine direction to adjust input.
7458 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7459 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
7460 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
7461 Likewise.
7462 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
7463 Likewise.
7464 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7465 Likewise.
7466 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
7467 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7468 Likewise.
7469 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7470 Likewise.
7471 * math/libm-test.inc (nexttoward_test): Add more tests.
7472
412bd966
AS
74732012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7474
7475 [BZ #14040]
7476 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
7477 in version GLIBC_2.1, not GLIBC_2.0.
7478 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
7479 Likewise.
7480
9568c0c2
JM
74812012-04-30 Joseph Myers <joseph@codesourcery.com>
7482
adfbc8ac
JM
7483 [BZ #13942]
7484 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
7485 (1 - x) * (1 + x).
7486 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7487 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
7488 * math/libm-test.inc (acos_test): Add more tests.
7489 (asin_test): Likewise.
7490 * sysdeps/i386/fpu/libm-test-ulps: Update.
7491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7492
5ba3cc69
JM
7493 [BZ #14034]
7494 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
7495 of square root.
7496 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
7497 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7498 * math/libm-test.inc (acos_test_tonearest): New function.
7499 (acos_test_towardzero): Likewise.
7500 (acos_test_downward): Likewise.
7501 (acos_test_upward): Likewise.
7502 (asin_test_tonearest): Likewise.
7503 (asin_test_towardzero): Likewise.
7504 (asin_test_downward): Likewise.
7505 (asin_test_upward): Likewise.
7506 (main): Call the new functions.
7507 * sysdeps/i386/fpu/libm-test-ulps: Update.
7508 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7509
9568c0c2
JM
7510 [BZ #13884]
7511 [BZ #13924]
7512 * math/e_exp10.c: Include <float.h>.
7513 (__ieee754_exp10): Handle underflow here rather than multiplying
7514 large negative argument by M_LN10.
7515 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
7516 of __ieee754_expf.
7517 * math/e_exp10l.c: Include <float.h>.
7518 (__ieee754_exp10l): Handle underflow here rather than multiplying
7519 large negative argument by M_LN10l.
7520 * math/libm-test.inc (exp10_test): Add another test. Do not allow
7521 spurious overflow exception on underflow.
7522
5ac3ea17
MP
75232012-04-29 Marek Polacek <polacek@redhat.com>
7524
7525 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
7526 (__fortify_function): New macro.
7527 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
7528 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
7529 __extern_always_inline.
7530 * libio/bits/stdio2.h: Likewise.
7531 * libio/bits/stdio.h: Likewise.
7532 * string/string.h: Likewise.
7533 * string/bits/string3.h: Likewise.
7534 * include/stdio.h: Likewise.
7535 * stdlib/bits/stdlib.h: Likewise.
7536 * stdlib/stdlib.h: Likewise.
7537 * rt/bits/mqueue2.h: Likewise.
7538 * rt/mqueue.h: Likewise.
7539 * posix/bits/unistd.h: Likewise.
7540 * posix/unistd.h: Likewise.
7541 * io/bits/poll2.h: Likewise.
7542 * io/bits/fcntl2.h: Likewise.
7543 * io/fcntl.h: Likewise.
7544 * io/sys/poll.h: Likewise.
7545 * misc/bits/syslog.h: Likewise.
7546 * misc/bits/syslog-ldbl.h: Likewise.
7547 * misc/sys/syslog.h: Likewise.
7548 * socket/bits/socket2.h: Likewise.
7549 * socket/sys/socket.h: Likewise.
7550 * debug/tst-chk1.c: Likewise.
7551 * wcsmbs/bits/wchar2.h: Likewise.
7552 * wcsmbs/bits/wchar-ldbl.h: Likewise.
7553 * wcsmbs/wchar.h: Likewise.
7554
ecf0ebfb
AJ
75552012-04-29 Andreas Jaeger <aj@suse.de>
7556
7557 * Makerules (tests): Remove enable-check-abi protection.
7558 (check-abi-warn): Remove.
7559 (check-abi-%): Remove check-abi-warn usage.
7560
7561 * configure.in: Remove check-abi configure option.
7562 * configure: Regenerated.
7563 * config.make.in (enable-check-abi): Remove.
7564
6d5c57fa
AS
75652012-04-28 Andreas Schwab <schwab@linux-m68k.org>
7566
24c5d07e 7567 [BZ #14033]
ded5180a
AS
7568 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
7569 double functions to double *_finite functions.
7570
7e0d315d
AS
7571 [BZ #13941]
7572 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
7573 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
7574 LDBL_MIN_EXP.
7575 * stdio-common/Makefile (tests): Add tst-sprintf3.
7576 * stdio-common/tst-sprintf3.c: New file.
7577
6d5c57fa
AS
7578 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
7579 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
7580
0749ff8b
JM
75812012-04-28 Joseph Myers <joseph@codesourcery.com>
7582
7583 * conform/conformtest.pl: Remove duplicate typed-constant
7584 handling.
7585
8dbd5d7b
DM
75862012-04-28 David S. Miller <davem@davemloft.net>
7587
7588 * Makerules (%.abilist): Add vpath on sysdep_dirs.
7589 (check-abi-%): Remove AWK script prerequisite and explicit
7590 abilist directory.
7591 (check-abi): Rewrite to just diff the symlist with the abilist.
7592 (config-tls, config-abi-config): Delete, no longer used.
7593 (update-abi-%): Remove AWK script and explicit abilist directory.
7594 (update-abi): Rewrite to simply compare and conditionally copy the
7595 symlist and the sysdep abilist file. Remove update-abi-config
7596 checks.
7597 * abilist/ld.abilist: Remove.
7598 * abilist/libBrokenLocale.abilist: Remove.
7599 * abilist/libanl.abilist: Remove.
7600 * abilist/libcrypt.abilist: Remove.
7601 * abilist/libdl.abilist: Remove.
7602 * abilist/librt.abilist: Remove.
7603 * abilist/libthread_db.abilist: Remove.
7604 * abilist/libutil.abilist: Remove.
7605 * scripts/extract-abilist.awk: Remove.
7606 * scripts/merge-abilist.awk: Remove.
7607 * sysdeps/generic/libcidn.abilist: New file.
7608 * sysdeps/generic/libnss_compat.abilist: New file.
7609 * sysdeps/generic/libnss_db.abilist: New file.
7610 * sysdeps/generic/libnss_dns.abilist: New file.
7611 * sysdeps/generic/libnss_files.abilist: New file.
7612 * sysdeps/generic/libnss_hesiod.abilist: New file.
7613 * sysdeps/generic/libnss_nis.abilist: New file.
7614 * sysdeps/generic/libnss_nisplus.abilist: New file.
7615 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
7616 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
7617 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
7618 file.
7619 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
7620 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
7621 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
7622 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
7623 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
7624 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
7625 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
7626 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
7627 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
7628 file.
7629 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
7630 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
7631 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
7632 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
7633 file.
7634 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
7635 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
7636 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
7637 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
7638 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
7639 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
7640 file.
7641 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
7642 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
7643 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
7644 file.
7645 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
7646 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
7647 New file.
7648 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
7649 New file.
7650 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
7651 New file.
7652 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
7653 New file.
7654 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
7655 New file.
7656 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
7657 New file.
7658 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
7659 New file.
7660 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
7661 New file.
7662 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
7663 New file.
7664 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
7665 New file.
7666 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
7667 New file.
7668 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
7669 New file.
7670 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
7671 New file.
7672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
7673 file.
7674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7675 New file.
7676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7677 New file.
7678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
7679 file.
7680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7681 New file.
7682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7683 New file.
7684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
7685 file.
7686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7687 New file.
7688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7689 New file.
7690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7691 New file.
7692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7693 New file.
7694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7695 New file.
7696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7697 New file.
7698 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
7699 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
7700 file.
7701 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7702 New file.
7703 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
7704 file.
7705 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
7706 file.
7707 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
7708 file.
7709 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
7710 file.
7711 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
7712 file.
7713 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7714 New file.
7715 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
7716 file.
7717 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
7718 file.
7719 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7720 New file.
7721 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
7722 file.
7723 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
7724 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
7725 file.
7726 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7727 New file.
7728 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
7729 file.
7730 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
7731 file.
7732 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
7733 file.
7734 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
7735 file.
7736 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
7737 file.
7738 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7739 New file.
7740 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
7741 file.
7742 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
7743 file.
7744 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7745 New file.
7746 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
7747 file.
7748 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7749 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
7750 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
7751 file.
7752 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
7753 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
7754 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
7755 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
7756 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
7757 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
7758 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
7759 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
7760 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
7761 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
7762 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
7763 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
7764 file.
7765 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7766 New file.
7767 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
7768 file.
7769 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
7770 file.
7771 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
7772 file.
7773 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
7774 file.
7775 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
7776 file.
7777 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7778 New file.
7779 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7780 New file.
7781 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
7782 file.
7783 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7784 New file.
7785 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
7786 file.
7787 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
7788 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
7789 file.
7790 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7791 New file.
7792 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
7793 file.
7794 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
7795 file.
7796 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
7797 file.
7798 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
7799 file.
7800 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
7801 file.
7802 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7803 New file.
7804 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7805 New file.
7806 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
7807 file.
7808 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7809 New file.
7810 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
7811 file.
7812
41d73a1b
JM
78132012-04-28 Joseph Myers <joseph@codesourcery.com>
7814
7815 * conform/conformtest.pl: Fix typo in handling typed-constant from
7816 allow-header.
7817
28aeeda4
JM
78182012-04-27 Joseph Myers <joseph@codesourcery.com>
7819
adae8f5e
JM
7820 * README: Cut down references to pre-2.6 Linux kernels and
7821 Linuxthreads. Update lists of configurations in libc and ports
7822 and sort alphabetically. Say "or newer" with Linux kernel version
7823 requirements.
7824
28aeeda4
JM
7825 * config.h.in [IS_IN_build]: Allow compiling without optimization.
7826
a462cb63
RA
78272012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7828
7829 [BZ #887]
7830 * math/libm-test.inc (logb_test_downward): New test to expose
7831 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
7832 rounding mode.
7833
6ad3493e
JM
78342012-04-27 Joseph Myers <joseph@codesourcery.com>
7835
7836 [BZ #14027]
7837 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
7838 to be done.
7839 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
7840 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
7841
2ce4f015
JM
78422012-04-26 Joseph Myers <joseph@codesourcery.com>
7843
5aeb141a
JM
7844 * sysdeps/unix/i386/brk.S: Remove file.
7845 * sysdeps/unix/i386/dl-brk.S: Likewise.
7846 * sysdeps/unix/i386/pipe.S: Likewise.
7847 * sysdeps/unix/i386/sigreturn.S: Likewise.
7848 * sysdeps/unix/i386/syscall.S: Likewise.
7849 * sysdeps/unix/i386/vfork.S: Likewise.
7850 * sysdeps/unix/i386/wait.S: Likewise.
7851
7143acae
JM
7852 * sysdeps/unix/common/tcsendbrk.c: Move to ...
7853 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
7854
2ce4f015
JM
7855 * configure.in (arm*-none*): Do not allow without
7856 --enable-hacker-mode.
7857 (netbsd*): Remove case setting base_os.
7858 (386bsd*): Likewise.
7859 (freebsd*): Likewise.
7860 (bsdi*): Likewise.
7861 (osf*): Likewise.
7862 (sunos*): Likewise.
7863 (ultrix*): Likewise.
7864 (newsos*): Likewise.
7865 (dynix*): Likewise.
7866 (*bsd*): Likewise.
7867 (sysv*): Likewise.
7868 (isc*): Likewise.
7869 (esix*): Likewise.
7870 (sco*): Likewise.
7871 (minix*): Likewise.
7872 (irix4*): Likewise.
7873 (irix6*): Likewise.
7874 (solaris[2-9]*): Likewise.
7875 (none): Likewise.
7876 * configure: Regenerated.
7877
0ac229c8
AZ
78782012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7879
7880 [BZ #11521]
7881 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
7882 overflow or cancellation in calculating denominator.
7883 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
7884 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
7885 down expression to avoid unexpected rounding in newer GCCs.
7886 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
7887
33f244f4
DM
78882012-04-26 David S. Miller <davem@davemloft.net>
7889
7890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
7891 long-double compat symbols.
7892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
7896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7897 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
7898 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7899 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
7900 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
7901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
7903 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
7904 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7905
cfa1f3e8
DM
79062012-04-25 David S. Miller <davem@davemloft.net>
7907
7908 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
7909 HWCAP_* values only after the memory barriers have been defined.
7910 (atomic_full_barrier): Define.
7911 (atomic_read_barrier): Define.
7912 (atomic_write_barrier): Define.
7913
6e236b92
SP
79142012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7915
7916 * shlib-versions: Add libgcc_s version information.
7917 * sysdeps/generic/libgcc_s.h: Remove.
7918 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
7919 libgcc_s.h.
7920 * sysdeps/gnu/unwind-resume.c: Likewise.
7921 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
7922
aab39a09
DM
79232012-04-25 David S. Miller <davem@davemloft.net>
7924
7925 * sysdeps/unix/sparc/brk.S: Delete.
7926 * sysdeps/unix/sparc/dl-brk.S: Delete.
7927 * sysdeps/unix/sparc/pipe.S: Delete.
7928 * sysdeps/unix/sparc/sysdep.S: Delete.
7929 * sysdeps/unix/sparc/sysdep.h: Delete.
7930 * sysdeps/unix/sparc/vfork.S: Delete.
7931 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
7932 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
7933 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
7934 ret_ERRVAL, r0, r1, MOVE): Define.
7935 (JUMPTARGET): Remove.
7936 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
7937 sysdeps/unix/sparc/sysdep.h
7938 (ENTRY, END): Remove.
7939 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7940
a3cc4f48
JM
79412012-04-25 Joseph Myers <joseph@codesourcery.com>
7942
2ed8cda2
JM
7943 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
7944 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
7945 -DIS_IN_build.
7946
35d76d59
JM
7947 * timezone/README: Update upstream location and email address for
7948 tzcode and tzdata.
7949 * timezone/zdump.c: Update from tzcode 2012b.
7950 * timezone/zic.c: Likewise.
7951
a3cc4f48
JM
7952 * configure.in (libc_cv_as_needed): Remove test.
7953 * configure: Regenerated.
7954 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
7955 conditional definition.
7956 [$(have-as-needed) != yes] (no-as-needed): Likewise.
7957 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
7958 * config.make.in (have-as-needed): Remove variable.
7959
ceab42c3
SP
79602012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7961 Paul Pluzhnikov <ppluzhnikov@google.com>
7962
7963 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
7964 strings correctly.
7965
3ce2865f
CLT
79662012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
7967
7968 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
7969 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
7970 * sysdeps/sh/strlen.S: Likewise.
7971
f37e0d68
JM
79722012-04-24 Joseph Myers <joseph@codesourcery.com>
7973
ae186e9a
JM
7974 * sysdeps/unix/fork.S: Remove file.
7975 * sysdeps/unix/i386/fork.S: Likewise.
7976 * sysdeps/unix/sparc/fork.S: Likewise.
7977
b96914af
JM
7978 * sysdeps/unix/system.c: Remove file.
7979 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
7980
f37e0d68
JM
7981 * sysdeps/unix/getegid.S: Remove file.
7982 * sysdeps/unix/geteuid.S: Likewise.
7983
87ef29ca
RM
79842012-04-24 Roland McGrath <roland@hack.frob.com>
7985
83bcd236
RM
7986 * scripts/check-localplt.awk: New file.
7987 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
7988 of diff.
7989 * scripts/data/localplt-generic.data: Add a comment.
7990
87ef29ca
RM
7991 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
7992 NODE when __dir_mkfile failed.
7993 * sysdeps/mach/hurd/symlinkat.c: Likewise.
7994 Reported by Ludovic Courtès <ludo@gnu.org>.
7995
e5a6e567
AJ
79962012-04-24 Andreas Jaeger <aj@suse.de>
7997
7998 * Makerules (common-clean): Also remove gen-as-const-headers
7999 files.
8000
c1820385
JM
80012012-04-24 Joseph Myers <joseph@codesourcery.com>
8002
8003 * Makerules (native-compile): Do not change working directory for
8004 build. Use $(OUTPUT_OPTION) in command.
8005 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
8006
94e02fc4
AZ
80072012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8008
8009 [BZ #13886]
8010 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
8011 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
8012 * math/libm-test.inc (floor_test): Add more tests.
8013 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
8014
3a533ca3
JM
80152012-04-24 Joseph Myers <joseph@codesourcery.com>
8016
940ab4b3
JM
8017 * sysdeps/unix/getdents.c: Remove file.
8018 * sysdeps/unix/sysv/getdents.c: Likewise.
8019 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
8020
90e037bd
JM
8021 * sysdeps/unix/syscalls.list (madvise): Add syscall from
8022 sysdeps/unix/mman/syscalls.list.
8023 (mmap): Likewise.
8024 (mprotect): Likewise.
8025 (msync): Likewise.
8026 (munmap): Likewise.
8027 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
8028 * sysdeps/unix/mman/syscalls.list: Remove.
8029 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
8030
3a533ca3
JM
8031 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
8032 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
8033 * configure: Regenerated.
8034 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
8035 $(libgcc_s_suffix).
8036 * config.make.in (libgcc_s_suffix): Remove variable.
8037
1ad743de
JM
80382012-04-23 Joseph Myers <joseph@codesourcery.com>
8039
4ad451e2
JM
8040 * sysdeps/unix/sysv/gethostname.c: Move to ...
8041 * sysdeps/posix/gethostname.c: ... here.
8042
5e37ce39
JM
8043 * sysdeps/unix/execve.S: Remove file.
8044
1ad743de
JM
8045 * sysdeps/unix/_exit.S: Remove file.
8046
4e681b5b
AJ
80472012-04-23 Andreas Jaeger <aj@suse.de>
8048
8049 [BZ #13739]
8050 * manual/Makefile: Remove make dist support, there's no
8051 need for a stand-alone documentation tar ball.
8052 (TEXI2DVI): Define always, it's not in Makeconfig.
8053 (dist): Removed.
8054 (tar-it): Removed.
8055 (edition): Removed.
8056 (glibc-doc-$(edition).tar): Removed
8057 (%.Z): Removed.
8058 (%.gz): Removed.
8059 (%.uu): Removed.
8060 (ETAGS): Remove, it's in Makeconfig.
8061 (move-if-change): Remove, it's in Makeconfig.
8062
c0baea34
PE
80632013-04-23 Paul Eggert <eggert@cs.ucla.edu>
8064
8065 [BZ #13970]
8066 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
8067 (strtod, strtof, strtold, strtol, strtoul, strtoq)
8068 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
8069 (strtod_l, strtof_l, strtold_l): Remove __wur.
8070 It is not necessarily an error to ignore strtol's return value.
8071 One can reliably look at the stored endptr to decide whether
8072 the number had valid syntax.
8073
7c0616fa
AJ
80742012-04-21 Andreas Jaeger <aj@suse.de>
8075
803cb6b7 8076 [BZ #13739]
7c0616fa
AJ
8077 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
8078
b0fe253f
JM
80792012-04-21 Joseph Myers <joseph@codesourcery.com>
8080
8081 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
8082 * sysdeps/unix/sysv/Versions: Remove file.
8083
8280f22d
MT
80842012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
8085
8086 [BZ #13927]
8087 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8088
75ce411f 80892012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
8090
8091 [BZ #7064]
8092 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
8093 version from __vm86.
8094
097d59fa
JM
80952012-04-20 Joseph Myers <joseph@codesourcery.com>
8096
a90f3bcb
JM
8097 * sysdeps/unix/common/lxstat.c: Remove file.
8098 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
8099
edc7ea78
JM
8100 * sysdeps/unix/sysv/Makefile: Remove file.
8101
cb78c221
JM
8102 * sysdeps/unix/sysv/direct.h: Remove file.
8103
efa6a45f
JM
8104 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
8105 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
8106 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
8107 * sysdeps/unix/sysv/bits/signum.h: Likewise.
8108 * sysdeps/unix/sysv/bits/stat.h: Likewise.
8109 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
8110 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
8111
9c9f2d0c
JM
8112 * sysdeps/unix/sysv/setrlimit.c: Remove file.
8113
4541c83b
JM
8114 * sysdeps/unix/xmknod.c: Remove file.
8115 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
8116
f5d153a0
JM
8117 * sysdeps/unix/sysv/settimeofday.c: Remove file.
8118
aa746595
JM
8119 * sysdeps/unix/sysv/i386/time.S: Remove file.
8120
cce5905e
JM
8121 * sysdeps/unix/fxstat.c: Remove file.
8122 * sysdeps/unix/xstat.c: Likewise.
8123 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
8124
37fa3841
JM
8125 * sysdeps/unix/sysv/sigaction.c: Remove file.
8126
ff1962a3
JM
8127 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
8128 (sysdep_headers): Remove variable.
8129 [termio.h not in sysdep_headers] (generated): Likewise.
8130 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
8131 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
8132 * sysdeps/unix/sysv/tcdrain.c: Likewise.
8133 * sysdeps/unix/sysv/tcflow.c: Likewise.
8134 * sysdeps/unix/sysv/tcflush.c: Likewise.
8135 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
8136 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
8137 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
8138 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
8139 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
8140
e7740d31
JM
8141 * sysdeps/unix/siglist.c: Remove file.
8142
ee06f18b
JM
8143 * sysdeps/unix/getppid.S: Remove file.
8144
097d59fa
JM
8145 * sysdeps/unix/mkdir.c: Remove file.
8146 * sysdeps/unix/rmdir.c: Likewise.
8147
ff3d51ec
AS
81482012-04-19 Andreas Schwab <schwab@linux-m68k.org>
8149
8150 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
8151 ERR_MAX value.
8152 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
8153 errlist-compat value.
8154
50f81fd7
DM
81552012-04-18 David S. Miller <davem@davemloft.net>
8156
8157 * sysdeps/generic/memcopy.h (reg_char): Delete.
8158 * debug/strcat_chk.c: Use char, not reg_char.
8159 * debug/strcpy_chk.c: Likewise.
8160 * debug/strncat_chk.c: Likewise.
8161 * debug/strncpy_chk.c: Likewise.
8162 * string/memchr.c: Likewise.
8163 * string/memrchr.c: Likewise.
8164 * string/rawmemchr.c: Likewise.
8165 * string/strcat.c: Likewise.
8166 * string/strchr.c: Likewise.
8167 * string/strchrnul.c: Likewise.
8168 * string/strcmp.c: Likewise.
8169 * string/strcpy.c: Likewise.
8170 * string/strncat.c: Likewise.
8171 * string/strncmp.c: Likewise.
8172 * string/strncpy.c: Likewise.
8173
8ff41c46
WS
81742012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8175
8176 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
8177 __builtin_memcopy is called when src and dest ranges are known to not
8178 overlap.
8179
6b652f46
WS
81802012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8181
8182 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
8183 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
8184 fwd_align_merge macro call.
8185 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
8186 bwd_align_merge macro call.
8187 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8188
b282631e
WS
81892012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8190
8191 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
8192 bwd_align_merge macros.
8193 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
8194 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
8195 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8196
95aa737c
DM
81972012-04-18 David S. Miller <davem@davemloft.net>
8198
8199 * sysdeps/sparc/sparc64/memcopy.h: Delete.
8200
7a99a614
AJ
82012012-04-18 Andreas Jaeger <aj@suse.de>
8202
8203 [BZ# 6794]
8204 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
8205 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
8206 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8207
8208 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
8209 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
8210 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8211
8212 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
8213 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
8214 Adjust for changed ldbl-128 files.
8215
8216 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
8217 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
8218 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8219
e5270c23
DM
82202012-04-17 David S. Miller <davem@davemloft.net>
8221
8222 * sysdeps/sparc/sparc32/memcopy.h: Delete.
8223
fb5e92c9
AS
82242012-04-17 Andreas Schwab <schwab@linux-m68k.org>
8225
8226 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
8227 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
8228 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
8229 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
8230 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8231 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
8232
76da7265
AZ
82332012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8234
8235 [BZ #6794]
8236 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
8237 * math/libm-test.inc: Add ilogb errno and exception tests.
8238 * math/w_ilogb.c: New file: ilogb wrapper.
8239 * math/w_ilogbf.c: New file: ilogbf wrapper.
8240 * math/w_ilogbl.c: New file: ilogbl wrapper.
8241 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
8242 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
8243 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
8244 exception being thrown with 0.0 as argument.
8245 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
8246 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
8247 exception being thrown with 0.0 as argument.
8248 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
8249 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8250 exception being thrown with 0.0 as argument.
8251 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
8252 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8253 exception being thrown with 0.0 as argument.
8254 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
8255 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 8256 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
8257 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
8258 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
8259 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
8260 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
8261 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
8262 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
8263
0396e69d
PB
82642012-04-17 Petr Baudis <pasky@ucw.cz>
8265
8266 * include/sys/uio.h: Change __vector to __iovec to avoid clash
8267 with altivec.
8268
750b5926
MP
82692012-04-16 Marek Polacek <polacek@redhat.com>
8270
8271 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
8272
751728a1
MP
82732012-04-16 Marek Polacek <polacek@redhat.com>
8274
8275 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
8276 operands of fdivp instruction.
8277
34a27407
L
82782012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8279
8280 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
8281 * elf/tst-auditmod3b.c: Likewise.
8282 * elf/tst-auditmod4b.c: Likewise.
8283 * elf/tst-auditmod5b.c: Likewise.
8284 * elf/tst-auditmod6b.c: Likewise.
8285 * elf/tst-auditmod6c.c: Likewise.
8286 * elf/tst-auditmod7b.c: Likewise.
8287 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
8288 * sysdeps/x86_64/preconfigure.in: Likewise.
8289 * sysdeps/x86_64/preconfigure: Regenerated.
8290
7e73e17d
L
82912012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8292
8293 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
8294 __ILP32__.
8295
c7a6ab72
AB
82962012-04-13 Antoine Balestrat <merkil33@gmail.com>
8297
8298 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8299 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
8300
a9e8e0e0
CL
83012012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
8302
8303 [BZ #13973]
8304 * locale/iso-639.def: Fix gl language name. Spotted by
8305 Yaron Shahrabani.
8306
ec98af7d
RM
83072012-04-12 Roland McGrath <roland@hack.frob.com>
8308
8309 [BZ #2074]
8310 * libio/libio.h (__io_write_fn): Update comment.
8311
247c3ede
PB
83122012-04-12 Petr Baudis <pasky@ucw.cz>
8313
8314 [BZ #2074]
8315 * stdio.texi (Hook Functions): The user provided writer function
8316 is not allowed to return -1.
8317
55939d6d
DM
83182012-04-11 David S. Miller <davem@davemloft.net>
8319
8320 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8321
90020f5a
MF
83222012-04-11 Mike Frysinger <vapier@gentoo.org>
8323
8324 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
8325 Add a leading slash to rtkaio.
8326
288f9098
JM
83272012-04-11 Jim Meyering <meyering@redhat.com>
8328
90020f5a
MF
8329 [BZ #11959]
8330 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
8331 It is not necessarily an error to ignore fwrite's return
8332 value. One can reliably use ferror to test for errors after
8333 the fact.
288f9098 8334
4be2b570
L
83352012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8336
8337 * bits/types.h (__snseconds_t): New type.
8338 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
8339
8340 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
8341 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8342 (__SNSECONDS_T_TYPE): Likewise.
8343 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8344 (__SNSECONDS_T_TYPE): Likewise.
8345 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8346 (__SNSECONDS_T_TYPE): Likewise.
8347
288f9098 83482012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
8349
8350 [BZ #2636]
8351 * manual/time.texi (Processor Time): Return type of times is
8352 elapsed real time since an arbitrary point in the past.
8353 (CPU Time): Move CLK_TCK from here...
8354 (Processor Time): ...to here. Correct description.
8355 * manual/conf.texi (Constants for Sysconf): Correct description of
8356 _SC_CLK_TCK.
8357
d7dd4413
DM
83582012-04-10 David S. Miller <davem@davemloft.net>
8359
8360 [BZ #13967]
8361 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
8362 where the is a gap between DT_REL(A) and DT_JMPREL.
8363
b46068fc
L
83642012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8365
8366 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
8367 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8368 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8369
73d65cc3
SP
83702012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8371
8372 * elf/dl-support.c (_dl_inhibit_cache): New variable.
8373 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
8374 (dl_main): Handle --inhibit-cache.
8375 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
8376 _dl_inhibit_cache.
8377 * elf/dl-load.c (_dl_map_object): Use it.
8378 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
8379
bcc8d661
JM
83802012-04-09 Joseph Myers <joseph@codesourcery.com>
8381
8f9a2fae
JM
8382 [BZ #13872]
8383 * sysdeps/i386/fpu/e_powl.S (p78): New object.
8384 (__ieee754_powl): Saturate large exponents rather than testing for
8385 overflow of y*log2(x).
8386 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8387 * math/libm-test.inc (pow_test): Do not permit spurious overflow
8388 exceptions.
8389
bcc8d661
JM
8390 [BZ #11521]
8391 * math/s_ctan.c: Include <float.h>.
8392 (__ctan): Avoid internal overflow or cancellation in calculating
8393 denominator.
8394 * math/s_ctanf.c: Likewise.
8395 * math/s_ctanl.c: Likewise.
8396 * math/s_ctanh.c: Likewise.
8397 * math/s_ctanhf.c: Likewise.
8398 * math/s_ctanhl.c: Likewise.
8399 * math/libm-test.inc (ctan_test): Add more tests.
8400 (ctanh_test): Likewise.
8401 * sysdeps/i386/fpu/libm-test-ulps: Update.
8402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8403
823fbbb4
AJ
84042012-04-09 Andreas Jaeger <aj@suse.de>
8405
03879793
AJ
8406 [BZ #6894]
8407 * manual/filesys.texi (Directory Entries): Mention that d_namlen
8408 is an optional BSD extension.
8409
823fbbb4
AJ
8410 [BZ #10254]
8411 * manual/stdio.texi (Opening Streams): Document additional fopen
8412 parameters.
8413
8de131cb
RM
84142012-04-09 Roland McGrath <roland@hack.frob.com>
8415
8416 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
8417 %eax without telling the compiler.
8418
c0ed9d7d
CD
84192012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
8420
8421 [BZ # 13963]
8422 * manual/install.texi: Use sourceware.org.
8423
c483f6b4
JM
84242012-04-09 Joseph Myers <joseph@codesourcery.com>
8425
d7dd9453
JM
8426 [BZ #13873]
8427 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
8428 (__ieee754_pow): Generate overflow and underflow using huge*huge
8429 and tiny*tiny rather than just returning constant infinity or zero
8430 for large exponents.
8431 * math/libm-test.inc (pow_test): Require overflow exceptions for
8432 applicable cases of large exponents.
8433
c483f6b4
JM
8434 [BZ #706]
8435 * sysdeps/i386/fpu/e_pow.S (p10): New object.
8436 (__ieee754_pow): Use iterative multiplication algorithm only for
8437 integer exponents with absolute value below 1024. Check for odd
8438 integer exponents when using algorithm for real exponents.
8439 * math/libm-test.inc (pow_test): Add more tests.
8440 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8441
d2de7579
JM
84422012-04-08 Joseph Myers <joseph@codesourcery.com>
8443
8444 [BZ #13705]
8445 * math/libm-test.inc (exp_test): Do not allow overflow exception
8446 on underflow test.
8447
f77f1232
AJ
84482012-04-08 Aurelien Jarno <aurelien@aurel32.net>
8449
8450 [BZ #13705]
8451 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
8452 instead of __kernel_standard_f.
8453
3884932b
MF
84542012-04-08 Mike Frysinger <vapier@gentoo.org>
8455
8456 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
8457 * sysdeps/x86_64/memset_chk.S: Likewise.
8458
54472e9c
AJ
84592012-04-08 Andreas Jaeger <aj@suse.de>
8460
6ab0fbfc
AJ
8461 [BZ #10153]
8462 * manual/startup.texi (Environment Access): Describe return value
8463 for putenv and setenv.
8464
61efba8c
AJ
8465 [BZ #6895]
8466 * manual/filesys.texi (Directory Entries): Add description for
8467 DT_LNK.
8468
95c3f29a
AJ
8469 [BZ #6890]
8470 * manual/filesys.texi (Directory Entries): Clarify that it's file
8471 system not operating system in the description of DT_UNKNOWN.
8472
54472e9c
AJ
8473 [BZ #6578]
8474 * manual/syslog.texi (closelog): Fix reference, it's openlog.
8475
624254b1
SC
84762012-04-08 Stephen Compall <s11@member.fsf.org>
8477
8478 [BZ #6649]
8479 * manual/llio.texi (Opening and Closing Files): Add cross
8480 reference to explain mode argument.
8481
1e4920e0
MF
84822012-04-07 Mike Frysinger <vapier@gentoo.org>
8483
8484 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
8485 * sysdeps/x86_64/memset_chk.S: Likewise.
8486
5ed848f3
DM
84872012-04-07 David S. Miller <davem@davemloft.net>
8488
8489 * elf/elf.h (R_SPARC_WDISP10): Define.
8490 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
8491 R_SPARC_SIZE32.
8492 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
8493 R_SPARC_SIZE64 and R_SPARC_H34.
8494
96154cd8
CD
84952012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
8496
8497 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
8498 conditions and remove no longer applicable assertion.
8499
9904dc47
L
85002012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8501
8502 * bits/byteswap.h: Include <features.h>.
8503 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8504 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8505
f8887d0a
L
85062012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8507
8508 * bits/byteswap.h (__bswap_16): Removed.
8509 Include <bits/byteswap-16.h> to get __bswap_16.
8510 * sysdeps/i386/bits/byteswap.h: Likewise.
8511 * sysdeps/s390/bits/byteswap.h: Likewise.
8512 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8513 * bits/byteswap-16.h: New file.
8514 * sysdeps/i386/bits/byteswap-16.h: Likewise.
8515 * sysdeps/s390/bits/byteswap-16.h: Likewise.
8516 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
8517 * string/Makefile (headers): Add bits/byteswap-16.h.
8518
62470f60
PP
85192012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8520
8521 [BZ #13895]
8522 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
8523 extra indirection.
8524 * nss/Makefile (tests-static, tests): Add tst-nss-static.
8525 * nss/tst-nss-static.c: New.
8526
4dad7bab
RM
85272012-04-06 Robert Millan <rmh@gnu.org>
8528
8529 [BZ #6486]
8530 * manual/llio.texi (File Position Primitive): lseek
8531 refers to WHENCE when it really means OFFSET.
8532
e9142a17
AJ
85332012-04-06 Andreas Jaeger <aj@suse.de>
8534
2c040eff
AJ
8535 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
8536 strncmp declarations.
8537
e9142a17
AJ
8538 * abilist/libc.abilist: Add __poll and __ppoll.
8539
ff9f1c5f
DM
85402012-04-05 David S. Miller <davem@davemloft.net>
8541
dcd2ae90
DM
8542 * scripts/check-local-headers.sh: Accept a host triplet in the
8543 path matched by the exclude regexp.
8544
993eb054
DM
8545 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
8546 definition.
8547 * sysdeps/powerpc/powerpc32/dl-machine.h
8548 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
8549 * sysdeps/s390/s390-32/dl-machine.h
8550 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8551 * sysdeps/sparc/sparc32/dl-machine.h
8552 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8553 * sysdeps/sparc/sparc64/dl-machine.h
8554 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8555
ff9f1c5f
DM
8556 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
8557 lazy binding.
48e2e132 8558 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
8559 undefined symbol errors.
8560
48e2e132 8561 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
8562 DT_NEEDED entries.
8563
e80d6f94
MM
85642012-04-05 Michael Matz <matz@suse.de>
8565
8566 [BZ #13592]
8567 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
8568
349fa79f
AJ
85692012-04-05 Andreas Jaeger <aj@suse.de>
8570
8571 [BZ #13908]
8572 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
8573 comment.
8574
f402708f
KK
85752012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8576
8577 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
8578 which ROUND is no valid rounding mode.
8579
2ecccfc9
KK
85802012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8581
8582 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
8583 read again.
8584 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
8585
8a53f50f
KK
85862012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8587
8588 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
8589 an exception using FPU order intentionally.
8590
85912012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8592
8593 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
8594 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
8595 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
8596 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
8597
d653abb7
SJ
85982012-04-05 Simon Josefsson <simon@josefsson.org>
8599
8600 [BZ #12340]
8601 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
8602 EINVAL when BUFLEN is too smal.
8603
c3b1bf7d
TS
86042012-04-05 Thomas Schwinge <thomas@codesourcery.com>
8605
8606 [BZ #13553]
8607 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
8608 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
8609
b1aa60f3
AJ
86102012-04-03 Andreas Jaeger <aj@suse.de>
8611
c3b1bf7d 8612 [BZ #13938]
67f60a26
AJ
8613 * manual/setjmp.texi (System V contexts): Fix sentence.
8614
b1aa60f3
AJ
8615 [BZ #13926]
8616 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
8617 New macro for this case.
8618 [!__GNUC__] (__bswap_64): New inline function for this case.
8619 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8620 * bits/byteswap.h: Likewise.
8621 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
8622 ull, guard with __GLIBC_HAVE_LONG_LONG.
8623
8624 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
8625 __GLIBC_HAVE_LONG_LONG.
8626
8627 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
8628 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
8629
39c59c35
TMQMF
86302012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8631
8632 [BZ #13691]
8633 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
8634 inptr and inend, rather than using last_ch.
8635
135ffda8
DM
86362012-04-02 David S. Miller <davem@davemloft.net>
8637
8638 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
8639 * stdio-common/printf-parse.h (read_int): Change return type to
8640 'int', return -1 on INT_MAX overflow.
8641 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
8642 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
8643 overflows INT_MAX. Check for overflow of in-format-string precision
8644 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
8645 SIZE_MAX not INT_MAX for integer overflow test.
8646 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
8647 skip the construct in the format string but do not record anything.
8648 * stdio-common/bug22.c: Adjust to test both width/prevision
8649 INT_MAX overflow as well as total length INT_MAX overflow. Check
8650 explicitly for proper errno values.
8651
228c019e
TS
86522012-04-02 Thomas Schwinge <thomas@codesourcery.com>
8653
302cadd3
TS
8654 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
8655 CHAR_MAX.
8656 * string/test-strcmp.c [! WIDE]: Likewise.
8657 * time/tst-mktime2.c: Likewise for INT_MAX.
8658 * string/test-string.h: #include <sys/param.h> for MIN.
8659
228c019e
TS
8660 * csu/init-first.c (__libc_init_first): Call __ctype_init.
8661 * sysdeps/i386/init-first.c (init): Likewise.
8662 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
8663 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
8664 * sysdeps/sh/init-first.c (init): Likewise.
8665
cfa633f5
UD
86662012-04-01 Ulrich Drepper <drepper@gmail.com>
8667
8668 * po/ru.po: Update from translation team.
d1635ef8 8669 * po/vi.po: Likewise.
cfa633f5 8670
6cd0a5ea
SP
86712012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8672
8673 * resolv/nss_dns/dns-host.c: Merge copyright years.
8674
4b43400f
LD
86752012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8676
8677 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8678 Optimize memcpy with prefetch if
8679 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
8680 src, dst pointers have unequal 16 byte alignments.
8681
48c41d04
SP
86822012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8683
8684 [BZ #13928]
8685 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
8686 from a CNAME entry and return the minimum ttl for the query.
8687 (gaih_getanswer_slice): Likewise.
8688
b8dc394d
JL
86892012-03-30 Jeff Law <law@redhat.com>
8690
8691 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
8692 due to long keys.
8693 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8694 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8695
2f5a5ed0
JL
8696 * resolv/nss_dns/dns-host.c: Update copyright year.
8697
1d39e359
UD
86982012-03-30 Ulrich Drepper <drepper@gmail.com>
8699
c030f70c 8700 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 8701 requests to save a system call. Fix check that all bytes are sent.
c030f70c 8702
1d39e359
UD
8703 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
8704 comments for sendmmsg.
8705
87062012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
8707
8708 [BZ #13691]
8709 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
8710 with only 1 character between 0x0041 and 0x01b0.
8711 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
8712 * wcsmbs/tst-mbsnrtowcs.c: New file.
8713
20fde227
DM
87142012-03-29 David S. Miller <davem@davemloft.net>
8715
8716 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
8717 small copies by hand.
8718
984a4237
JL
87192012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8720
8721 [BZ #13761]
8722 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
8723 _nss_compat_initgroups_dyn): Fall back to malloc/free
8724 for large group memberships.
8725
18c9d62b
DM
87262012-03-28 David S. Miller <davem@davemloft.net>
8727
88d85d4f
DM
8728 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
8729 that branches into memcpy.
8730 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8731 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8732 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8733 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8734 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
8735 bits.
8736 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
8737 implementation too.
8738 * sysdeps/sparc/mempcpy.S: New file.
8739
e5aa83e1
DM
8740 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
8741 the IFUNC routine in the libc case.
8742 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8743
88570753
DM
8744 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
8745 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
8746 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
8747 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
8748 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
8749 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
8750 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
8751 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
8752
249d7567
DM
8753 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
8754 loop to 256 bytes instead of 64 bytes and fix test signedness.
8755
18c9d62b
DM
8756 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
8757 * sysdeps/sparc/sparc32/Makefile: rather than here...
8758 * sysdeps/sparc/sparc64/Makefile: and here.
8759
05f3d1f6
UD
87602012-03-28 Ulrich Drepper <drepper@gmail.com>
8761
8762 * malloc/mallocbug.c: Avoid warnings about unused variables.
8763
86ae07a8
JL
87642012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8765
8766 [BZ #13760]
8767 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
8768 in the right place. Discard and retry query if response is
8769 larger than input buffer size.
8770
41bf21a1
JM
87712012-03-28 Joseph Myers <joseph@codesourcery.com>
8772
d6270972
JM
8773 [BZ #369]
8774 [BZ #2678]
8775 [BZ #3866]
8776 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
8777 x for large integer exponent.
8778 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8779 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
8780 sign of result as needed afterwards.
8781 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8782 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
8783 result for underflowing pow the same as for overflow.
8784 (__kernel_standard_l): Handle powl overflow and underflow here
8785 rather than calling __kernel_standard.
8786 * math/libm-test.inc (pow_test): Add more tests.
8787
414fca03 8788 [BZ #3868]
41bf21a1
JM
8789 [BZ #13879]
8790 [BZ #13910]
8791 [BZ #13911]
8792 [BZ #13912]
8793 [BZ #13913]
8794 [BZ #13915]
8795 [BZ #13916]
8796 [BZ #13917]
8797 [BZ #13918]
8798 [BZ #13919]
8799 [BZ #13920]
8800 [BZ #13921]
8801 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
8802 * sysdeps/ieee754/k_standard.c: Include <float.h>.
8803 (__kernel_standard_l): New function.
8804 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
8805 __kernel_standard.
8806 * math/w_acosl.c (__acosl): Likewise.
8807 * math/w_asinl.c (__asinl): Likewise.
8808 * math/w_atan2l.c (__atan2l): Likewise.
8809 * math/w_atanhl.c (__atanhl): Likewise.
8810 * math/w_coshl.c (__coshl): Likewise.
8811 * math/w_exp10l.c (__exp10l): Likewise.
8812 * math/w_exp2l.c (__exp2l): Likewise.
8813 * math/w_fmodl.c (__fmodl): Likewise.
8814 * math/w_hypotl.c (__hypotl): Likewise.
8815 * math/w_j0l.c (__j0l, __y0l): Likewise.
8816 * math/w_j1l.c (__j1l, __y1l): Likewise.
8817 * math/w_jnl.c (__jnl, __ynl): Likewise.
8818 * math/w_lgammal.c (__lgammal): Likewise.
8819 * math/w_log10l.c (__log10l): Likewise.
8820 * math/w_log2l.c (__log2l): Likewise.
8821 * math/w_logl.c (__logl): Likewise.
8822 * math/w_powl.c (__powl): Likewise.
8823 * math/w_remainderl.c (__remainderl): Likewise.
8824 * math/w_scalbl.c (sysv_scalbl): Likewise.
8825 * math/w_sinhl.c (__sinhl): Likewise.
8826 * math/w_sqrtl.c (__sqrtl): Likewise.
8827 * math/w_tgammal.c (__tgammal): Likewise.
8828 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
8829 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
8830 * math/libm-test.inc (acos_test): Add more tests.
8831 (acosh_test): Likewise.
8832 (asin_test): Likewise.
8833 (atanh_test): Likewise.
8834 (exp_test): Likewise.
8835 (exp10_test): Likewise.
8836 (exp2_test): Likewise.
8837 (expm1_test): Likewise.
8838 (lgamma_test): Likewise.
8839 (log_test): Likewise.
8840 (log10_test): Likewise.
8841 (log1p_test): Likewise.
8842 (log2_test): Likewise.
8843 (pow_test): Do not allow some spurious overflow exceptions.
8844 (sqrt_test): Add more tests.
8845 (tgamma_test): Likewise.
8846 (y0_test): Likewise.
8847 (y1_test): Likewise.
8848 (yn_test): Likewise.
8849
dd62fda6
AB
88502012-03-27 Anton Blanchard <anton@samba.org>
8851
8852 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
8853 MAP_HUGETLB.
8854 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8855 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8856 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8857
1e3cdfda
AJ
88582012-03-27 David S. Miller <davem@davemloft.net>
8859
b855ab85
DM
8860 * conform/Makefile: Run run-conformtest.sh using $(BASH).
8861
1e3cdfda
AJ
8862 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
8863 have-as-vis3 check.
8864
88652012-03-27 Andreas Jaeger <aj@suse.de>
8866
8867 * sysdeps/x86_64/elf/configure.in: Moved to ...
8868 * sysdeps/x86_64/configure.in: ... here.
8869 * sysdeps/x86_64/elf/start.S: Moved to ...
8870 * sysdeps/x86_64/start.S: ... here.
8871 * sysdeps/x86_64/elf/configure: Delete.
8872
8873 * sysdeps/x86_64/configure.in: Merge contents from
8874 sysdeps/i386/configure.in (without i686 check).
8875
8876 * sysdeps/i386/elf/Versions: Merge into ...
8877 * sysdeps/i386/Versions: ... this.
8878 * sysdeps/i386/elf/Versions: Delete file.
8879 * sysdeps/i386/elf/start.S: Moved to ...
8880 * sysdeps/i386/start.S: ...here.
8881 * sysdeps/i386/elf/configure.in: Merge into...
8882 * sysdeps/i386/configure.in: ...here.
8883 * sysdeps/i386/elf/configure.in: Delete file.
8884 * sysdeps/i386/elf/configure: Delete file.
8885
8886 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
8887 * debug/backtracesyms.c: ... here.
8888 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
8889 * debug/backtracesymsfd.c: ... here.
8890 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
8891 * sysdeps/generic/ifunc-sel.h: ... here.
8892
8893 * sysdeps/unix/i386/start.c: Delete file.
8894 * sysdeps/unix/sparc/start.c: Delete file.
8895 * sysdeps/unix/start.c: Delete file.
8896
8897 * sysdeps/sh/elf/configure.in: Moved to ...
8898 * sysdeps/sh/configure.in: ... here.
8899 * sysdeps/sh/elf/start.S: Moved to ...
8900 * sysdeps/sh/start.S: ... here.
8901 * sysdeps/sh/elf/configure: Delete file.
8902
8903 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
8904 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
8905 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
8906 * sysdeps/powerpc/powerpc64/entry.h: ... here.
8907 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
8908 * sysdeps/powerpc/powerpc64/start.S: here.
8909 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
8910 * sysdeps/powerpc/powerpc64/Makefile: ... this.
8911 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
8912 * sysdeps/powerpc/powerpc64/configure.in: ... this.
8913 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
8914
8915 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
8916 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
8917 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
8918 * sysdeps/powerpc/powerpc32/start.S: ... here.
8919 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
8920 * sysdeps/powerpc/powerpc32/configure.in: ... this.
8921 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
8922
8923 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
8924 * sysdeps/powerpc/ifunc-sel.h: ... here.
8925 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
8926 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
8927
8928 * sysdeps/sparc/elf/configure.in: Moved to ...
8929 * sysdeps/sparc/configure.in: ... here.
8930 * sysdeps/sparc/elf/configure: Delete file.
8931 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
8932 * sysdeps/sparc/sparc32/start.S: ... here.
8933 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
8934 * sysdeps/sparc/sparc64/start.S: ... here.
8935 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
8936 * sysdeps/sparc/sparc32/Makefile: ... this.
8937 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
8938 * sysdeps/sparc/sparc64/Makefile: ... this.
8939
8940 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
8941 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
8942 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
8943 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
8944 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
8945 * sysdeps/s390/s390-32/setjmp.S: ... here.
8946 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
8947 * sysdeps/s390/s390-32/configure.in: ... here.
8948 * sysdeps/s390/s390-32/elf/configure: Delete file.
8949 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
8950 * sysdeps/s390/s390-32/start.S: ... here.
8951
8952 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
8953 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
8954 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
8955 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
8956 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
8957 * sysdeps/s390/s390-64/setjmp.S: ... here.
8958 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
8959 * sysdeps/s390/s390-64/configure.in: ... here
8960 * sysdeps/s390/s390-64/elf/configure: Delete file.
8961 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
8962 * sysdeps/s390/s390-64/start.S: ... here.
8963 * sysdeps/s390/s390-64/elf/configure: Delete.
8964
8965 * configure.in: Remove support for elf directories in sysdeps.
8966
8967 * configure: Regenerated.
8968 * sysdeps/i386/configure: Regenerated.
8969 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8970 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8971 * sysdeps/s390/s390-32/configure: Regenerated.
8972 * sysdeps/s390/s390-64/configure: Regenerated.
8973 * sysdeps/sh/configure: Regenerated.
8974 * sysdeps/sparc/configure: Regenerated.
8975 * sysdeps/x86_64/configure: Regenerated.
8976
a3f61311
AS
89772012-03-26 Andreas Schwab <schwab@linux-m68k.org>
8978
c876e002
AS
8979 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8980
a3f61311
AS
8981 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
8982 denormal result into account.
8983
ac4c54f0
RM
89842012-03-25 Roland McGrath <roland@hack.frob.com>
8985
8986 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
8987 Reported by Allan McRae <allan@archlinux.org>.
8988
6a9b9c02
JL
89892012-03-23 Jeff Law <law@redhat.com>
8990
8991 * nss/getnssent.c (__nss_getent): Fix typo.
8992
4c42a0c1
DM
89932012-03-23 David S. Miller <davem@davemloft.net>
8994
8995 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8996
1532c7ac
L
89972012-03-23 H.J. Lu <hongjiu.lu@intel.com>
8998
8999 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
9000 to pad to uint64_t for each field.
9001 (dl_tls_index): Replace unsigned long with uint64_t.
9002
3ff42526
PP
90032012-03-23 Daniel Jacobowitz <dmj@google.com>
9004 Paul Pluzhnikov <ppluzhnikov@google.com>
9005
9006 [BZ #6528]
9007 * grp/Makefile (otherlibs): Don't set it.
9008 * inet/Makefile (otherlibs): Likewise.
9009 * login/Makefile (otherlibs): Likewise.
9010 * nscd/Makefile (otherlibs): Likewise.
9011 * posix/Makefile (otherlibs): Likewise.
9012 * pwd/Makefile (otherlibs): Likewise.
9013 * rt/Makefile (otherlibs): Likewise.
9014 * sunrpc/Makefile (otherlibs): Likewise.
9015 * nss/Makefile (otherlibs): Likewise.
9016 Add libnss_files to routines and static-only-routines.
9017 ($(objpfx)getent): Remove rule.
9018 * resolv/Makefile: Add libnss_dns and libresolv to routines and
9019 static-only-routines.
9020
7c69cd14
JM
90212012-03-22 Joseph Myers <joseph@codesourcery.com>
9022
9023 [BZ #13892]
9024 * math/s_cexp.c: Include <float.h>.
9025 (__cexp): Handle exp result overflowing not necessarily
9026 overflowing both real and imaginary parts of result.
9027 * math/s_cexpf.c: Likewise.
9028 * math/s_cexpl.c: Likewise.
9029 * math/libm-test.inc (cexp_test): Add more tests.
9030 * sysdeps/i386/fpu/libm-test-ulps: Update.
9031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9032
81b035fe
L
90332012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9034
9035 * include/link.h (ELFW): New macro.
9036 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
9037 Replace ELF64_R_TYPE with ELFW(R_TYPE).
9038
1da7940c
L
90392012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9040
9041 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
9042 with uint64_t.
9043
b749dbb9
L
90442012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9045
9046 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
9047 declaration.
9048 (struct La_x32_retval): Likewise.
9049
2ff87f3f
L
90502012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9051
9052 * sysdeps/x86_64/preconfigure.in: New file.
9053 * sysdeps/x86_64/preconfigure: New generated file.
9054
c0df8e69
JM
90552012-03-22 Joseph Myers <joseph@codesourcery.com>
9056
48e44791
JM
9057 [BZ #13824]
9058 * math/e_exp2l.c: Include <float.h>.
9059 (__ieee754_exp2l): Handle overflow and underflow cases
9060 separately. Only pass fractional part of argument to
9061 __ieee754_expl.
9062 * math/libm-test.inc (exp2_test): Add more tests.
9063
c0df8e69
JM
9064 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
9065 negating x to take absolute value.
9066 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
9067 Likewise.
9068 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9069 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
9070 Likewise.
9071 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
9072 computing low part if x was negated.
9073 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9074
c8e43ba7
L
90752012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9076
9077 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
9078 la_x32_gnu_pltexit.
9079 (pltexit): Cast int_retval to ptrdiff_t.
9080 * elf/tst-auditmod3b.c: Likewise.
9081 * elf/tst-auditmod4b.c: Likewise.
9082 * elf/tst-auditmod5b.c: Likewise.
9083 * elf/tst-auditmod6b.c: Likewise.
9084 * elf/tst-auditmod6c.c: Likewise.
9085 * elf/tst-auditmod7b.c: Likewise.
9086
9087 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
9088 and x32_gnu_pltexit.
9089
9090 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
9091 __ELF_NATIVE_CLASS.
9092 (La_x32_regs): New macro.
9093 (La_x32_retval): Likewise.
9094 (la_x32_gnu_pltenter): New function prototype.
9095 (la_x32_gnu_pltexit): Likewise.
9096
7998fa78
AS
90972012-03-21 Andreas Schwab <schwab@linux-m68k.org>
9098
dcb33988
AS
9099 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
9100 exponent.
9101
233fc563
AS
9102 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9103
7998fa78
AS
9104 * configure.in (libc_cv_cc_nofma): Check for option to disable
9105 generation of FMA instructions.
9106 * configure: Regenerate.
9107 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
9108 * sysdeps/ieee754/dbl-64/Makefile: New file.
9109 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
9110 Remove brandred-fma4.
9111 (CFLAGS-brandred-fma4.c): Remove.
9112 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
9113 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
9114 define.
9115 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
9116 define.
9117
8e95c99a
L
91182012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9119
9120 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9121 LLONG_MAX != LONG_MAX.
9122 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9123 (_fitoa_word): Likewise.
9124 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
9125 LLONG_MAX != LONG_MAX.
9126 * stdio-common/_itowa.h: Include <_itoa.h>.
9127 (_itowa_word): Use _ITOA_WORD_TYPE on value.
9128 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
9129 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
9130 only if not defined.
9131 (_ITOA_WORD_TYPE): Likewise.
9132 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9133 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
9134
6f4db457
DM
91352012-03-21 David S. Miller <davem@davemloft.net>
9136
9137 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9138
7785fe5a
L
91392012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9140
9141 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
9142 of x86_64 when setting libc_cv_slibdir, libdir and
9143 libc_cv_localedir.
9144 * sysdeps/unix/sysv/linux/configure: Regenerated.
9145
4535cd55
JM
91462012-03-21 Joseph Myers <joseph@codesourcery.com>
9147
9148 * manual/lang.texi (Old Varargs): Remove section.
9149 (How Variadic): Update menu.
9150 (va_start): Do not mention varargs.h.
9151
17228132
TS
91522012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9153 Joseph Myers <joseph@codesourcery.com>
9154
9155 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
9156 link test.
9157 * configure: Regenerated.
9158
8149f976
TS
91592012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9160
05f3d1f6
UD
9161 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
9162 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
9163 conformtest.pl
8149f976 9164
1a4ac776
JM
91652012-03-21 Joseph Myers <joseph@codesourcery.com>
9166
be22ce65
JM
9167 * NOTES: Remove.
9168 * Makefile (files-for-dist): Remove NOTES.
9169 (NOTES): Remove rule.
9170 * README: Don't refer to NOTES.
9171 * manual/creature.texi: Don't include macros.texi.
9172 * manual/intro.texi (creature.texi): Remove comment referring to
9173 NOTES.
9174
40b601fb
JM
9175 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
9176 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
9177 * configure: Regenerated.
9178 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
9179 LIBC_TRY_CC_OPTION.
9180 (libc_cv_as_i686): Likewise.
9181 (libc_cv_cc_avx): Likewise.
9182 (libc_cv_cc_sse2avx): Likewise.
9183 (libc_cv_cc_fma4): Likewise.
9184 (libc_cv_cc_novzeroupper): Likewise.
9185 * sysdeps/i386/configure: Regenerated.
9186
1a4ac776
JM
9187 [BZ #13883]
9188 * sysdeps/i386/fpu/s_cexp.S: Remove.
9189 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9190 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9191 * math/libm-test.inc (cexp_test): Add more tests.
9192 * sysdeps/i386/fpu/libm-test-ulps: Update.
9193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9194
a458e7fe
AM
91952012-03-21 Allan McRae <allan@archlinux.org>
9196
9197 * timezone/Makefile: Do not install iso3166.tab and zone.tab
9198
0cb7efc5
JM
91992012-03-21 Joseph Myers <joseph@codesourcery.com>
9200
9201 [BZ #13871]
9202 * math/w_exp2.c: Do not include <float.h>.
9203 (o_threshold, u_threshold): Remove.
9204 (__exp2): Calculate result before checking finiteness and calling
9205 __kernel_standard.
9206 * math/w_exp2f.c: Likewise.
9207 * math/w_exp2l.c: Likewise.
9208 * math/libm-test.inc (exp2_test): Require overflow exception for
9209 1e6 input.
2460d3aa
JM
9210
9211 [BZ #3866]
9212 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
9213 range of signed 64-bit integers before using fistpll. Remove
9214 checks for whether integers fit in mantissa bits.
9215 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
9216 the range of signed 32-bit integers before using fistpl. Remove
9217 checks for whether integers fit in mantissa bits.
9218 * sysdeps/i386/fpu/e_powl.S (p64): New object.
9219 (__ieee754_powl): Test for y outside the range of signed 64-bit
9220 integers before using fistpll. Reduce 64-bit values to 63-bit
9221 ones as needed.
9222 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
9223 divide-by-zero is raised for zero to large negative powers.
9224 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
9225 (__ieee754_powl): Test for y outside the range of signed 64-bit
9226 integers before using fistpll. Reduce 64-bit values to 63-bit
9227 ones as needed.
9228 * math/libm-test.inc (pow_test): Add more tests.
9229
eb96ffb0
L
92302012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9231
9232 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
9233 <stdio-common/_itoa.h>.
9234 * debug/segfault.c: Likewise.
9235 * elf/dl-cache.c: Likewise.
9236 * elf/dl-minimal.c: Likewise.
9237 * elf/dl-misc.c: Likewise.
9238 * elf/dl-sysdep.c: Likewise.
9239 * elf/dl-version.c: Likewise.
9240 * elf/rtld.c: Likewise.
9241 * hurd/hurdsock.c: Likewise.
9242 * hurd/lookup-retry.c: Likewise.
9243 * malloc/malloc.c: Likewise.
9244 * malloc/mtrace.c: Likewise.
9245 * nscd/nscd_getgr_r.c: Likewise.
9246 * nscd/nscd_getpw_r.c: Likewise.
9247 * nscd/nscd_getserv_r.c: Likewise.
9248 * posix/getopt_init.c: Likewise.
9249 * posix/wordexp.c: Likewise.
9250 * stdio-common/_itoa.c: Likewise.
9251 * stdio-common/printf_fphex.c: Likewise.
9252 * stdio-common/vfprintf.c: Likewise.
9253 * string/_strerror.c: Likewise.
9254 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
9255 * sysdeps/i386/i686/hp-timing.h: Likewise.
9256 * sysdeps/mach/_strerror.c: Likewise.
9257 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
9258 * sysdeps/mach/hurd/sethostid.c: Likewise.
9259 * sysdeps/mach/hurd/xmknodat.c: Likewise.
9260 * sysdeps/mach/xpg-strerror.c: Likewise.
9261 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9262 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9263 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
9264 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
9265 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9266 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
9267 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9268 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9269 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
9270 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
9271 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
9272 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
9273 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
9274 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9275 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9276 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
9277 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
9278 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
9279 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9280 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9281 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
9282
9283 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
9284
9285 * stdio-common/_itoa.h: Moved to ...
9286 * sysdeps/generic/_itoa.h: Here.
9287
9288 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
9289
9290 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
9291 instead of "_itoa.h" and "_itowa.h".
9292 * stdio-common/vfprintf.: Likewise.
9293
d1af992d
L
92942012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9295
9296 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
9297 <bits/wordsize.h>.
9298 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
9299 (__signbit): Likwise.
9300 (llrintf): Likwise.
9301 (llrint): Likwise.
9302
114883e0
L
93032012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9304
9305 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
9306 __WORDSIZE != 64.
9307
c135cc1b
JM
93082012-03-20 Joseph Myers <joseph@codesourcery.com>
9309
9310 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
9311 OVERFLOW_EXCEPTION_OK.
9312 * math/libm-test.inc ("Philosophy"): Update comment about
9313 exception testing.
9314 (OVERFLOW_EXCEPTION): Define.
9315 (OVERFLOW_EXCEPTION_OK): Likewise.
9316 (INVALID_EXCEPTION_OK): Renumber.
9317 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9318 (IGNORE_ZERO_INF_SIGN): Likewise.
9319 (test_exceptions): Handle FE_OVERFLOW.
9320 (exp10_test): Expect overflow exceptions.
9321 (exp2_test): Likewise.
9322 (expm1_test): Likewise.
9323 (nextafter_test): Likewise.
9324 (pow_test): Likewise.
9325 (scalbn_test): Likewise.
9326 (scalbln_test): Likewise.
9327
95443d88
L
93282012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9329
9330 * sysdeps/x86_64/bits/atomic.h
9331 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
9332 64bit integer.
9333 (atomic_exchange_acq): Likewise.
9334 (__arch_exchange_and_add_body): Likewise.
9335 (__arch_add_body): Likewise.
9336 (atomic_add_negative): Likewise.
9337 (atomic_add_zero): Likewise.
9338
490df6c4
L
93392012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9340
c2722551 9341 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
9342 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
9343
5e52b189
L
93442012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9345
9346 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
9347 Check __x86_64__ instead of __WORDSIZE.
9348
a9879d4c
L
93492012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9350
9351 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
9352
5df98260
DM
93532012-03-19 David S. Miller <davem@davemloft.net>
9354
e1497744
DM
9355 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9356
5df98260
DM
9357 * sysdeps/sparc/fpu/fenv_private.h: New file.
9358 * sysdeps/sparc/fpu/math_private.h: Use it.
9359 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
9360 Remove.
9361 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
9362 (libc_feholdexcept_setroundl): Remove.
9363 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
9364 Remove.
9365 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
9366 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
9367
b4c35121
L
93682012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9369
9370 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
9371 int64_t instead of long int.
9372 (INSERT_WORDS64): Likwise.
9373
56965fd7
L
93742012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9375
9376 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
9377 _Unwind_GetCFA return to _Unwind_Ptr first.
9378
83d1aec8
JM
93792012-03-19 Joseph Myers <joseph@codesourcery.com>
9380
1897ad44
JM
9381 [BZ #13629]
9382 * math/s_clog.c: Include <float.h>.
9383 (__clog): Scale large or subnormal inputs.
9384 * math/s_clogf.c: Likewise.
9385 * math/s_clogl.c: Likewise.
9386 * math/s_clog10.c: Include <float.h>.
9387 (M_LOG10_2): Define.
9388 (__clog10): Scale large or subnormal inputs.
9389 * math/s_clog10f.c: Likewise.
9390 * math/s_clog10l.c: Likewise.
9391 * math/libm-test.inc (clog_test): Add more tests.
9392 (clog10_test): Likewise.
9393 * sysdeps/i386/fpu/libm-test-ulps: Update.
9394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9395
7726d6a9
JM
9396 [BZ #11451]
9397 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
9398 x and y.
9399 * math/libm-test.inc (atan2_test): Add another test.
9400
83d1aec8
JM
9401 * Makerules (common-objdir-compile): Remove.
9402 * sysdeps/unix/Makefile (config-generated): Do not add
9403 $(unix-generated) to variable.
9404 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
9405 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
9406 Remove rule.
9407 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
9408 Likewise.
9409 [generic bits/local_lim.h] (before-compile): Do not append to
9410 variable.
9411 [generic bits/local_lim.h] (common-generated): Likewise.
9412 [generic sys/param.h] (before-compile): Do not append to variable.
9413 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
9414 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
9415 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
9416 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
9417 include.
9418 [generic sys/param.h] (sys/param.h-includes): Remove variable.
9419 [generic sys/param.h] (sys/param.h-includes): Remove rule.
9420 [generic sys/param.h] ($(addprefix
9421 $(common-objpfx),$(sys/param.h-includes))): Likewise.
9422 [generic sys/param.h] (common-generated): Do not append to
9423 variable.
9424 [generic sys/param.h] (sysdep_headers): Likewise.
9425 [generic bits/errno.h] (before-compile): Do not append to
9426 variable.
9427 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
9428 rule.
9429 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
9430 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
9431 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
9432 [generic bits/errno.h] (common-generated): Do not append to
9433 variable.
9434 [generic bits/ioctls.h] (before-compile): Do not append to
9435 variable.
9436 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
9437 rule.
9438 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
9439 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
9440 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
9441 rule.
9442 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
9443 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
9444 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
9445 [generic bits/ioctls.h] (common-generated): Do not append to
9446 variable.
9447 [generic sys/syscall.h] (syscall.h): Remove variable.
9448 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
9449 rule.
9450 [generic sys/syscall.h] (before-compile): Do not append to
9451 variable.
9452 [generic sys/syscall.h] (common-generated): Likewise.
9453 * sysdeps/unix/errnos-tmpl.c: Remove file.
9454 * sysdeps/unix/errnos.awk: Likewise.
9455 * sysdeps/unix/ioctls-tmpl.c: Likewise.
9456 * sysdeps/unix/ioctls.awk: Likewise.
9457 * sysdeps/unix/mk-local_lim.c: Likewise.
9458 * sysdeps/unix/snarf-ioctls: Likewise.
9459
4851a949
RH
94602012-03-19 Richard Henderson <rth@twiddle.net>
9461
bd37f2ee
RH
9462 * sysdeps/i386/fpu/fenv_private.h: New file.
9463 * sysdeps/i386/fpu/math_private.h: Use it.
9464 (math_opt_barrier, math_force_eval): Remove.
9465 (libc_feholdexcept_setround_53bit): Remove.
9466 (libc_feupdateenv_53bit): Remove.
9467 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9468 (math_opt_barrier, math_force_eval): Remove.
9469 (libc_feholdexcept): Remove.
9470 (libc_feholdexcept_setround): Remove.
9471 (libc_fetestexcept, libc_fesetenv): Remove.
9472 (libc_feupdateenv_test): Remove.
9473 (libc_feupdateenv, libc_feholdsetround): Remove.
9474 (libc_feresetround): Remove.
9475
d0adc922
RH
9476 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
9477 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9478
0fe0f1f8
RH
9479 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
9480 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
9481 (libc_feupdateenv_testl): New.
9482 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
9483 (libc_feupdateenv_testf): New.
9484 (libc_feupdateenv): Use libc_feupdateenv_test.
9485 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
9486 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
9487
eb92c487
RH
9488 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
9489 (libc_feholdsetroundf, libc_feholdsetroundl): New.
9490 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
9491 (libc_feresetround_noex): New.
9492 (libc_feresetround_noexf): New.
9493 (libc_feresetround_noexl): New.
9494 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
9495 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
9496 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
9497 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
9498 SET_RESTORE_ROUND.
9499 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9500 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
9501 (__cos): Likewise.
9502 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
9503 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
9504 SET_RESTORE_ROUND_NOEX.
9505 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
9506 SET_RESTORE_ROUND_NOEXF.
9507 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
9508 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
9509 (libc_feholdsetroundf): New.
9510 (libc_feresetround, libc_feresetroundf): New.
9511
7d2e8012
RH
9512 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
9513 (libc_feholdexcept_setround_53bit): Convert from macro to function.
9514 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
9515
b4dabbb4
RH
9516 * sysdeps/generic/math_private.h: Include <fenv.h>.
9517 (default_libc_feholdexcept): New.
9518 (default_libc_feholdexcept_setround): New.
9519 (default_libc_fesetenv, default_libc_feupdateenv): New.
9520 (libc_feholdexcept): Only define if undefined.
9521 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
9522 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
9523 (libc_feholdexcept_setroundl): Likewise.
9524 (libc_feholdexcept_setround_53bit): Likewise.
9525 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
9526 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
9527 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
9528 (libc_feupdateenv_53bit): Likewise.
9529 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
9530 (libc_feholdexcept): Convert from macro to inline function.
9531 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
9532 (libc_fesetenv, libc_feupdateenv): Likewise.
9533
4851a949
RH
9534 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
9535 not previously defined.
9536 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
9537 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
9538 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
9539 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
9540 * sysdeps/ieee754/flt-32/math_private.h: New file.
9541 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
9542 math_private.h below SET_FLOAT_WORD.
9543 (__isnan, __isinf_ns, __finite): Remove.
9544 (__isnanf, __isinf_nsf, __finitef): Remove.
9545
e79d442e
AS
95462012-03-18 Andreas Schwab <schwab@linux-m68k.org>
9547
9548 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9549
90b80344
DM
95502012-03-17 David S. Miller <davem@davemloft.net>
9551
9552 [BZ #6471]
9553 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
9554 for 2.16.
9555
edc21804
DM
95562012-03-16 David S. Miller <davem@davemloft.net>
9557
77e927af
DM
9558 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
9559 warnings.
9560
374976dd
DM
9561 [BZ #6471]
9562 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
9563 properly.
9564 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
9565 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
9566 sysdep_routines when subdir is sysvipc.
9567 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
9568 __getshmlba helper.
9569
edc21804
DM
9570 * sysdeps/sparc/fpu/libm-test/ulps: Update.
9571
473c3ef3
L
95722012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9573
9574 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
9575 [__LP64__].
9576
eb0f39b6
L
95772012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9578
9579 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
9580 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
9581 (__lround): Renamed to ...
9582 (__llround): This. Replace long int with long long int.
9583 Define lround functions as aliases of llround functions.
9584 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
9585
6b6cd74b
L
95862012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9587
9588 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
9589 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
9590 adresses to uintptr_t. Replace "long int" and "unsigned long
9591 int" with "greg_t" on va_arg.
9592
f1a77b01
L
95932012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9594
9595 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
9596 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
9597
9598 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
9599 Move e_machine check before EI_CLASS check. Handle x32
9600 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
9601 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
9602 SKIP_EM_IA_64 and include
9603 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
9604
9605 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
9606 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
9607 (add_system_dir): New macro.
9608
9609 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
9610 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
9611
11b90b9f
JM
96122012-03-16 Joseph Myers <joseph@codesourcery.com>
9613
c36e1d23
JM
9614 [BZ #2551]
9615 [BZ #2552]
9616 [BZ #2553]
9617 [BZ #2554]
9618 [BZ #2562]
9619 [BZ #2563]
9620 [BZ #2565]
9621 [BZ #2566]
9622 [BZ #2576]
9623 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
9624 (y0): Likewise.
9625 * math/w_j0f.c (j0f): Likewise.
9626 (y0f): Likewise.
9627 * math/w_j0l.c (__j0l): Likewise.
9628 (__y0l): Likewise.
9629 * math/w_j1.c (j1): Likewise.
9630 (y1): Likewise.
9631 * math/w_j1f.c (j1f): Likewise.
9632 (y1f): Likewise.
9633 * math/w_j1l.c (__j1l): Likewise.
9634 (__y1l): Likewise.
9635 * math/w_jn.c (jn): Likewise.
9636 (yn): Likewise.
9637 * math/w_jnf.c (jnf): Likewise.
9638 (ynf): Likewise.
9639 * math/w_jnl.c (__jnl): Likewise.
9640 (__ynl): Likewise.
9641 * math/libm-test.inc (j0_test): Add more tests.
9642 (j1_test): Likewise.
9643 (jn_test): Likewise. Add trailing semicolon to existing test.
9644 (y0_test): Likewise.
9645 (y1_test): Likewise.
9646 * sysdeps/i386/fpu/libm-test-ulps: Update.
9647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9648
11b90b9f
JM
9649 [BZ #13851]
9650 [BZ #13854]
9651 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
9652 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
9653 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
9654 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
9655 (__tanl): Set errno for infinite argument.
9656 * sysdeps/i386/fpu/mptan.c: Remove.
9657 * sysdeps/i386/fpu/s_tan.S: Likewise.
9658 * sysdeps/i386/fpu/s_tanl.S: Likewise.
9659 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
9660 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
9661 * math/libm-test.inc (tan_test): Add more tests and enable more
9662 tests for double and long double.
9663 * sysdeps/i386/fpu/libm-test-ulps: Update.
9664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9665
6a1bd2a1
JK
96662012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9667
9668 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
9669 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
9670
10a803e0
RM
96712012-03-16 Roland McGrath <roland@hack.frob.com>
9672
9673 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
9674 * configure.in: Use it for both main tree and add-ons.
9675 * configure: Regenerated.
9676
f196c7f7
L
96772012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9678
9679 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
9680
8848d99d
JM
96812012-03-16 Joseph Myers <joseph@codesourcery.com>
9682
96cbe7f4
JM
9683 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
9684 in comment.
9685
8848d99d
JM
9686 [BZ #13851]
9687 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
9688 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
9689 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
9690 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
9691 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
9692 infinite argument.
9693 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
9694 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
9695 != 0 for prec == 2.
9696 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
9697 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
9698 * sysdeps/i386/fpu/s_cosl.S: Likewise.
9699 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
9700 * sysdeps/i386/fpu/s_sinl.S: Likewise.
9701 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
9702 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
9703 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
9704 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
9705 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
9706 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
9707 * math/libm-test.inc (cos_test): Add more tests and enable more
9708 tests for long double.
9709 (sin_test): Likewise.
9710 (sincos_test): Likewise.
9711 * sysdeps/i386/fpu/libm-test-ulps: Update.
9712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9713
dd7f4703
DM
97142012-03-16 David S. Miller <davem@davemloft.net>
9715
9716 * sysdeps/sparc/fpu/math_private.h: New file.
9717
006f1daa
DM
97182012-03-15 David S. Miller <davem@davemloft.net>
9719
c0c83bc8
DM
9720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
9721 file.
e6a62e18 9722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
9723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
9724 file.
e6a62e18
DM
9725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
9726 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
9727 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
9728 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
9729 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
9730 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
9731 sysdep routines.
9732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9733
88cb87d9
DM
9734 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
9735 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
9736
006f1daa 9737 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
9738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
9739 sparc-ifunc.h
006f1daa 9740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
9741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
9742 Likewise.
9743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
9744 Likewise.
006f1daa
DM
9745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
9746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
9747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
9748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9749 Likewise.
006f1daa
DM
9750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
9752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
9754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
9755 Likewise.
9756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
9757 Likewise.
006f1daa
DM
9758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
9760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
9761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
9762 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9763 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9764 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
9765 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
9766 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9767 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9768 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
9769 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
9770 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
9771 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
9772 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
9773 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
9774 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
9775 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
9776 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
9777 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
9778 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
9779 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
9780 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
9781 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
9782
11e0098e
AS
97832012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9784
9785 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
9786 scaling.
9787 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9788
e85b09d0
AJ
97892012-03-15 Andreas Jaeger <aj@suse.de>
9790
9791 [BZ #13852]
9792 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
9793 ieee754/flt-32 implementation for sin, cos and sincos.
9794 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
9795 * sysdeps/i386/fpu/s_cosf.S: Likewise.
9796 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
9797 * sysdeps/i386/fpu/s_sinf.S: Likewise.
9798 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
9799 ieee754/flt-32 implementation for tan.
9800
9801 * math/libm-test.inc (cos_test): Enable some large input tests for
9802 float as well
9803 (sin_test): Likewise.
9804 (sincos_test): Likewise.
9805 (tan_test): Add tests for large input.
9806
9807 * sysdeps/i386/fpu/libm-test-ulps: Update.
9808
81c64153
AJ
98092012-03-15 Andreas Jaeger <aj@suse.de>
9810
9811 [BZ #13658]
9812 * math/libm-test.inc (cos_test): Add more test cases.
9813 (sin_test): Likewise.
9814 (sincos_test): Likewise.
9815
7bbfa5c6
AJ
98162012-03-15 Andreas Jaeger <aj@suse.de>
9817
9818 [BZ #13837]
9819 * math/libm-test.inc (cos_test): Add a test case for large input
9820 value.
9821 (sin_test): Likewise.
9822 (sincos_test): Likewise.
9823
98242012-03-15 Andreas Jaeger <aj@suse.de>,
9825 Joseph Myers <joseph@codesourcery.com>
9826
9827 [BZ #13658]
0671f479 9828 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
9829 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
9830 * sysdeps/i386/fpu/branred.c: Likewise.
9831 * sysdeps/i386/fpu/dosincos.c: Likewise.
9832 * sysdeps/i386/fpu/mpa.c: Likewise.
9833 * sysdeps/i386/fpu/s_cos.S: Likewise.
9834 * sysdeps/i386/fpu/s_sin.S: Likewise.
9835 * sysdeps/i386/fpu/s_sincos.S: Likewise.
9836 * sysdeps/i386/fpu/sincos32.c: Likewise.
9837
9838 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
9839 Define.
9840 (libc_feupdateenv_53bit): Define.
9841 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
9842 Define.
9843 (libc_feupdateenv_53bit): Define.
9844
9845 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
9846 53 bit (without extend i386 double precision).
9847
9848 * math/libm-test.inc (sincos_test): Add tests for large input.
9849 (sin): Likewise.
9850 (cos): Likewise.
9851
9852 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9853
9cad04ea
AS
98542012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9855
9856 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9857
f7062b9a
DM
98582012-03-15 David S. Miller <davem@davemloft.net>
9859
9860 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
9861 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
9862 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
9863 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
9864 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
9865 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
9866 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
9867 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
9868 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
9869 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
9870 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
9871 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
9872 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
9873 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
9874 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
9875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
9876 file.
f7062b9a 9877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
9878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
9879 file.
f7062b9a 9880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
9881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
9882 file.
f7062b9a 9883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
9884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
9885 file.
f7062b9a
DM
9886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
9887 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
9888 fmin/fmax sysdep routines.
9889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9890
7bd951ff
DM
98912012-03-14 David S. Miller <davem@davemloft.net>
9892
559398ab
DM
9893 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
9894 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
9895 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
9896 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
9897 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
9898 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
9899 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
9900 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
9901 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
9902 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
9903 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
9904 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
9905 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
9906 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
9907 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
9908 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
9909 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
9910 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
9911 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
9912 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
9913 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
9914 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
9915 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
9916 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
9917 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
9918 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
9919 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
9920 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
9921 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
9922 routines.
9923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
9924 file.
559398ab 9925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
9926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
9927 file.
559398ab 9928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
9929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
9930 file.
559398ab 9931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
9932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
9933 file.
559398ab 9934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
9935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
9936 file.
559398ab 9937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
9938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
9939 file.
9940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
9941 file.
9942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
9943 file.
9944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
9945 file.
9946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
9947 New file.
9948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
9949 file.
9950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
9951 file.
559398ab 9952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
9953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
9954 file.
559398ab 9955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
9956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
9957 file.
559398ab 9958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
9959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
9960 file.
559398ab 9961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
9962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
9963 VIS3 routines.
559398ab
DM
9964
9965 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9966 New file.
9967
5a1c1e32
DM
9968 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9969
eae47a36
DM
9970 * sysdeps/sparc/configure.in: New file.
9971 * sysdeps/sparc/configure: Generate.
9972 * configure.in (libc_cv_sparc_as_vis3): Substitute.
9973 * configure: Regenerate.
9974 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
9975 * config.make.in (have-as-vis3): New.
9976 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
9977 available use -Av9d instead of -Av9a.
9978 * sysdeps/sparc/sparc64/Makefile: Likewise.
9979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
9980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
9981 New file.
9982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
9983 file.
9984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
9985 New file.
9986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
9987 file.
eae47a36
DM
9988 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
9989 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
9990 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
9991 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
9992 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
9993
c0c83bc8
DM
9994 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
9995 fzeros/fnegs to load 0x80000000 into a float register instead of
9996 using the stack.
7bd951ff
DM
9997 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
9998
bd951ccb
JM
99992012-03-14 Joseph Myers <joseph@codesourcery.com>
10000
10001 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10002 bits/syscall.h.
10003 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
10004 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
10005 ($(inst_includedir)/bits/syscall.h): Remove rule.
10006 ($(objpfx)bits/syscall.d): Include instead of
10007 $(objpfx)syscall-list.d.
10008 (generated): Change syscall-list.h and syscall-list.d to
10009 bits/syscall.h and bits/syscall.d.
10010
bb4e6db2
RM
100112012-03-14 Roland McGrath <roland@hack.frob.com>
10012
10013 [BZ #13846]
10014 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
10015
aa4a2ae1
JM
100162012-03-14 Joseph Myers <joseph@codesourcery.com>
10017
e456826d
JM
10018 [BZ #13841]
10019 * math/s_csqrt.c: Include <float.h>.
10020 (__csqrt): Scale large or subnormal inputs.
10021 * math/s_csqrtf.c: Likewise.
10022 * math/s_csqrtl.c: Likewise.
10023 * math/libm-test.inc (csqrt_test): Add more tests.
10024 * sysdeps/i386/fpu/libm-test-ulps: Update.
10025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10026
aa4a2ae1
JM
10027 [BZ #13840]
10028 * math/libm-test.inc (hypot_test): Add more tests.
10029
7c10fd35
DM
100302012-03-13 David S. Miller <davem@davemloft.net>
10031
10032 [BZ #13840]
10033 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
10034 double-precision for the calculation instead of scaling.
10035
f453b98b
JM
100362012-03-13 Joseph Myers <joseph@codesourcery.com>
10037
10038 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
10039 manipulate bits before adding and subtracting TWO52[sx].
10040 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
10041 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
10042 Likewise.
10043 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
10044
09a3453f
DM
100452012-03-13 David S. Miller <davem@davemloft.net>
10046
8e59da90
DM
10047 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
10048 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
10049 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
10050 rtld-global-offsets.h
10051 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10052
2a8ab7f2
DM
10053 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
10054 large parameters.
10055
10f62770
DM
10056 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
10057
5f0bdb18
DM
10058 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
10059 'err' in the ifdef scope in which it is actually used.
10060
09a3453f
DM
10061 * nss/nss_db/db-init.c: Include string.h
10062
b4b2eb5e
DM
100632012-03-12 David S. Miller <davem@davemloft.net>
10064
98bb2f1c
DM
10065 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10066 masking out of the most significant byte of random value used.
10067 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10068 Fix coding style in previous change.
10069
b4b2eb5e
DM
10070 * sysdeps/unix/sysv/linux/kernel-features.h
10071 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
10072 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
10073 expression.
10074 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
10075 later.
10076
6e226b09
DM
100772012-03-11 David S. Miller <davem@davemloft.net>
10078
a1bcbd40
DM
10079 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10080 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
10081 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
10082 for 'resultvar' otherwise things get truncated on 64-bit.
10083
cb9d6174
DM
10084 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10085 Fix masking out of the most significant byte of random value used.
10086
6e226b09
DM
10087 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10088
058c132d
AS
100892012-03-10 Andreas Schwab <schwab@linux-m68k.org>
10090
10091 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10092
2d2cd515
DM
100932012-03-09 David S. Miller <davem@davemloft.net>
10094
10095 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
10096 variables with appropriate CPP guards.
10097 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
10098 frame pointer, not the stack pointer. Correct layout comments. Fix test
10099 on resulting framesize and the management of the outregs buffer for pltexit.
10100 Preserve floating point return values across _dl_call_pltexit call.
10101 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
10102 framesize and the management of the outregs buffer for pltexit.
10103 Preserve floating point return values across _dl_call_pltexit
10104 call.
10105 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
10106 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
10107 (print_exit): Fix format string for return register value.
10108
9a07f9d0
JM
101092012-03-10 Joseph Myers <joseph@codesourcery.com>
10110
10111 * sunrpc/Makefile (others): Add rpcgen.
10112 ($(objpfx)rpcgen): Remove special build rule and dependency on
10113 libc.
10114 * sunrpc/rpcgen.c: New file.
10115
547b5e30
PE
101162012-03-09 Paul Eggert <eggert@cs.ucla.edu>
10117
c524201a
PE
10118 [BZ #13673]
10119 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
10120 * stdio-common/bug-vfprintf-nargs.c: Likewise.
10121 * sysdeps/i386/crti.S: Likewise.
10122 * sysdeps/i386/crtn.S: Likewise.
10123 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
10124 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
10125 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
10126 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
10127 * sysdeps/sh/crti.S: Likewise.
10128 * sysdeps/sh/crtn.S: Likewise.
10129 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10130
7b6235f2
PE
10131 [BZ #13673]
10132 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
10133 with URL.
10134 * locale/programs/locfile-kw.gperf: Likewise.
10135 * locale/programs/charmap-kw.h: Regenerated.
10136 * locale/programs/locfile-kw.h: Likewise.
10137
547b5e30
PE
10138 [BZ #13673]
10139 * intl/plural.y: Replace FSF snail mail address with URL.
10140 * intl/plural.c: Regenerated.
10141
5f0a5dae
RH
101422012-03-09 Richard Henderson <rth@twiddle.net>
10143
10144 * include/math_private.h: Remove file.
10145 * math/math_private.h: Move file ...
10146 * sysdeps/generic/math_private.h: ... here.
10147
b8c03620
RH
10148 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
10149 * sysdeps/powerpc/fpu/math_private.h: Likewise.
10150 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10151
4e234f5d 10152 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
10153 and <math_private.h>.
10154 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10155 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10156 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10157 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10158 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10159 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
10160 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10161 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10162 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10163 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10164 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10165 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10166 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10167 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10168 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10169 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10170 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10171 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10172 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10173 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10174 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10175 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10176 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10177 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10178 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10179 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10180 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10181 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10182 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10183 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10184 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10185 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10186 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10187 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10188 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10189 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10190 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10191 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10192 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10193 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10194 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
10195 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10196 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10197 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10198 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10199 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10200 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10201 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10202 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10203 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10204 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10205 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10206 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10207 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10208 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10209 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10210 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10211 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10212 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10213 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
10214 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10215 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10216 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10217 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10218 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
10219 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10220 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10221 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10222 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
10223 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
10224 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10225 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10226 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10227 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10228 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
10229 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
10230 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
10231 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10232 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
10233 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10234 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10235 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10236 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10237 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10238 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10239 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10240 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
10241 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10242 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10243 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10244 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10245 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10246 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10247 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10248 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10249 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10250 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10251 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10252 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10253 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10254 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10255 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10256 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10257 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10258 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10259 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10260 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10261 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10262 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10263 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10264 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10265 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10266 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10267 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10268 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
10269 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10270 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10271 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10272 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10273 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10274 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10275 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10276 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10277 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
10278 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10279 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10280 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10281 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
10282 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10283 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10284 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10285 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10286 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10287 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10288 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10289 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10290 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10291 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10292 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
10293 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10294 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10295 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10296 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10297 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
10298 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
10299 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10300 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10301 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10302 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
10303 * sysdeps/ieee754/k_standard.c: Likewise.
10304 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10305 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10306 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10307 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10308 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10309 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10310 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10311 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10312 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10313 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10314 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10315 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10316 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10317 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10318 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10319 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10320 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10321 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10322 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10323 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
10324 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10325 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10326 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10327 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10328 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10329 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10330 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10331 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10332 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10333 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10334 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10335 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10336 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10337 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10338 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
10339 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10340 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10341 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
10342 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
10343 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10344 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10345 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10346 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10347 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10348 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10349 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10350 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10351 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10352 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10353 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10354 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10355 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
10356 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10357 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
10358 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10359 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10360 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
10361 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
10362 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10363 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10364 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10365 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10366 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10367 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
10368 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10369 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10370 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10371 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10372 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10373 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10374 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10375 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10376 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
10377 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
10378 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
10379 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10380 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
10381 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
10382 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10383 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
10384 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
10385 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
10386 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10387 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10388 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
10389 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10390 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10391 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
10392 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10393 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10394 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
10395 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10396 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
10397 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
10398 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10399 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10400 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
10401 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
10402 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
10403 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
10404 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10405 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10406 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10407 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10408 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
10409 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10410 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10411 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
10412 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
10413 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10414 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10415 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10416 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10417 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10418 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10419 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10420 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10421 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10422 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10423 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10424 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10425 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10426 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10427 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10428 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10429 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
10430 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10431 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10432 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10433 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10434 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10435 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10436 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10437 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10438 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10439 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10440 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
10441 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10442 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10443 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10444 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10445 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10446 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10447 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10448 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10449 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10450 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10451 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10452 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10453 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
10454 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10455 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10456 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10457 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10458 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
10459 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
10460 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10461 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10462 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10463 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10464 * sysdeps/ieee754/s_lib_version.c: Likewise.
10465 * sysdeps/ieee754/s_matherr.c: Likewise.
10466 * sysdeps/ieee754/s_signgam.c: Likewise.
10467 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10468 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10469 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
10470 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
10471 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
10472 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10473 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
10474 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
10475 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
10476 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
10477 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
10478 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
10479 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10480 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10481 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
10482 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10483 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10484 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10485 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10486 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10487 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 10488
1991fa03
JM
104892012-03-09 Joseph Myers <joseph@codesourcery.com>
10490
10491 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
10492 * sunrpc/rpc_main.c: Likewise.
10493 * sunrpc/rpc_svcout.c: Likewise.
10494
60d6f5a6
DM
104952012-03-09 David S. Miller <davem@davemloft.net>
10496
10497 * include/math_private.h: New file.
10498
4962050e
JM
104992012-03-09 Joseph Myers <joseph@codesourcery.com>
10500
02a6f887
JM
10501 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
10502 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
10503 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
10504 from <bits/socket_type.h>.
10505 (enum __socket_type): Don't define here.
10506 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
10507 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10508 bits/socket_type.h.
10509
c6e013c1
JM
10510 [BZ #13566]
10511 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
10512 checking __USE_GNU.
10513
4962050e
JM
10514 * Makerules ($(inst_includedir)/%.h): New rule.
10515 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
10516 (install-others): Remove variable setting.
10517 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
10518
38842f45
RH
105192012-03-08 Richard Henderson <rth@twiddle.net>
10520
67bb6da6
RH
10521 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
10522 from macro to inline function; merge with the
10523 !__LIBC_INTERNAL_MATH_INLINES version.
10524 (__ieee754_sqrtf): Likewise.
10525
15194b4b
RH
10526 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
10527 to inline function.
10528 (__rintf, __floor, __floorf): Likewise.
10529
64e21ede
RH
10530 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
10531 macro to inline function.
10532 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
10533
38842f45
RH
10534 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
10535 not <math/math_private.h>.
10536
c64bf5fe
DM
105372012-03-08 David S. Miller <davem@davemloft.net>
10538
10539 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
10540 copyright year.
10541 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
10542
82d86f28
TS
105432012-03-08 Thomas Schwinge <thomas@codesourcery.com>
10544
10545 * resolv/gai_misc.c (handle_requests): Fix struct timespec
10546 normalization.
10547 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
10548 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10549
aea5d727
UD
105502012-03-08 Ulrich Drepper <drepper@gmail.com>
10551
10552 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
10553 be defined individually, they must be defined as a block. Define
10554 S for printing a string instead of hidint the different by using a
10555 macro for adding the 'l'.
10556 * stdio-common/tst-fphex-wide.c: Adjust.
10557
70bca0a3
MP
105582012-03-07 Marek Polacek <polacek@redhat.com>
10559
10560 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
10561
65b81130
MP
105622012-03-08 Marek Polacek <polacek@redhat.com>
10563
10564 [BZ #13806]
10565 * stdio-common/Makefile (tests): Add tst-fphex-wide.
10566 * stdio-common/tst-fphex.c: Define a few macros to make the
10567 test reusable. Use them.
10568 * stdio-common/tst-fphex-wide.c: New file.
10569
07037eeb
JM
105702012-03-08 Joseph Myers <joseph@codesourcery.com>
10571
a7a93d50
JM
10572 [BZ #6911]
10573 * manual/macros.texi (gnusystems): New macro.
10574 (nongnusystems): Likewise.
10575 (gnulinuxhurdsystems): Likewise.
10576 (gnuhurdsystems): Likewise..
10577 (gnulinuxsystems): Likewise.
10578 * manual/charset.texi: Use new macros or @theglibc{} to refer to
10579 variants of the GNU system, not "GNU system".
10580 * manual/conf.texi: Likewise.
10581 * manual/errno.texi: Likewise. Update example of errno macro
10582 expansion.
10583 * manual/filesys.texi: Likewise.
10584 (getumask): Document as specific to GNU/Hurd.
10585 * manual/install.texi: Likewise. Reword some references to
10586 GNU/Linux.
10587 * manual/intro.texi: Likewise.
10588 * manual/io.texi: Likewise.
10589 (File Name Portability): Detail which constraints are inapplicable
10590 to all GNU systems and which are only inapplicable to GNU/Hurd.
10591 * manual/job.texi: Likewise.
10592 * manual/llio.texi: Likewise.
10593 (O_NOCTTY): Document as present on GNU/Linux.
10594 * manual/maint.texi: Likewise.
10595 * manual/memory.texi: Likewise.
10596 * manual/pattern.texi: Likewise.
10597 * manual/pipe.texi: Likewise.
10598 * manual/process.texi: Likewise.
10599 * manual/resource.texi: Likewise.
10600 (RUSAGE_CHILDREN): Remove statement about specifying a particular
10601 child on GNU/Hurd.
10602 * manual/setjmp.texi: Likewise.
10603 * manual/signal.texi: Likewise.
10604 * manual/startup.texi: Likewise.
10605 * manual/stdio.texi: Likewise.
10606 * manual/terminal.texi: Likewise.
10607 (ONLCR): Document as POSIX.
10608 (OXTABS): Document availability on GNU/Linux as XTABS.
10609 (ONOEOT): Document availability separately from other bits.
10610 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
10611 * manual/time.texi: Likewise.
10612 * manual/users.texi: Likewise.
10613 * INSTALL: Regenerated.
10614 * sysdeps/gnu/errlist.c: Regenerated.
10615
07037eeb
JM
10616 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
10617 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
10618 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
10619 puts.
10620 * configure: Regenerated.
10621
d1d3431a
JM
106222012-03-07 Joseph Myers <joseph@codesourcery.com>
10623
af6a1e37
JM
10624 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
10625 default includes instead of AC_HEADER_CHECK.
10626 * sysdeps/i386/configure: Regenerated.
10627
d1d3431a
JM
10628 [BZ #10716]
10629 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
10630 * math/s_cacoshf.c (__cacoshf): Likewise.
10631 * math/s_cacoshl.c (__cacoshl): Likewise.
10632 * math/s_casinh.c (__casinh): Set signs of result from argument.
10633 * math/s_casinhf.c (__casinhf): Likewise.
10634 * math/s_casinhl.c (__casinhl): Likewise.
10635 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
10636 (casinh_test): Add more tests.
10637 * sysdeps/i386/fpu/libm-test-ulps: Update.
10638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10639
482ff4da
UD
106402012-03-07 Ulrich Drepper <drepper@gmail.com>
10641
872fda05
UD
10642 * po/zh_TW.po: Update from translation team.
10643
a4300c7a
UD
10644 * login/Makefile (distribute): Remove variable.
10645 * catgets/Makefile: Likewise.
10646 * mach/Makefile: Likewise.
10647 * malloc/Makefile: Likewise.
10648 * misc/Makefile: Likewise.
10649 * iconv/Makefile: Likewise.
10650 * nscd/Makefile: Likewise.
10651 * hurd/Makefile: Likewise.
10652 * manual/Makefile: Likewise.
10653 * locale/Makefile: Likewise.
10654 * intl/Makefile: Likewise.
10655 * conform/Makefile: Likewise.
10656 * nss/Makefile: Likewise.
10657 * time/Makefile: Likewise.
10658 * soft-fp/Makefile: Likewise.
10659 * dirent/Makefile: Likewise.
10660 * gmon/Makefile: Likewise.
10661 * po/Makefile: Likewise.
10662 * rt/Makefile: Likewise.
10663 * socket/Makefile: Likewise.
10664 * math/Makefile: Likewise.
10665 * signal/Makefile: Likewise.
10666 * debug/Makefile: Likewise.
10667 * elf/Makefile: Likewise.
10668 * timezone/Makefile: Likewise.
10669 * stdlib/Makefile: Likewise.
10670 * iconvdata/Makefile: Likewise.
10671 * sunrpc/Makefile: Likewise.
10672 * io/Makefile: Likewise.
10673 * argp/Makefile: Likewise.
10674 * inet/Makefile: Likewise.
10675 * hesiod/Makefile: Likewise.
10676 * grp/Makefile: Likewise.
10677 * csu/Makefile: Likewise.
10678 * wctype/Makefile: Likewise.
10679 * crypt/Makefile: Likewise.
10680 * libio/Makefile: Likewise.
10681 * string/Makefile: Likewise.
10682 * nis/Makefile: Likewise.
10683 * resolv/Makefile: Likewise.
10684 * stdio-common/Makefile: Likewise.
10685 * wcsmbs/Makefile: Likewise.
10686 * dlfcn/Makefile: Likewise.
10687 * posix/Makefile: Likewise.
10688
3b7c4e74 10689 [BZ #6959]
482ff4da
UD
10690 * timezone/Makefile: Don't install timezone files, just the programs
10691 and scripts.
10692
f72ed77d
UD
106932012-03-06 Ulrich Drepper <drepper@gmail.com>
10694
a000466f
UD
10695 * nss/databases.def: Add missing gshadow entry.
10696
f72ed77d
UD
10697 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
10698
a53b7a4e
MP
106992012-03-06 Marek Polacek <polacek@redhat.com>
10700
10701 [BZ #13726]
10702 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
10703 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10704 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
10705 * stdio-common/tst-long-dbl-fphex.c: New file.
10706
e9258400
DM
107072012-03-06 David S. Miller <davem@davemloft.net>
10708
10709 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10710 (set_obp_int): New function.
10711 (get_obp_int): New function.
10712 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
10713 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
10714 Avoid unused variable warnings on 'val' and use builtin_expect.
10715 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
10716 __builtin_expect.
e9258400
DM
10717 (INLINE_CLONE_SYSCALL): Likewise.
10718
3bd2c723
DM
107192012-03-05 David S. Miller <davem@davemloft.net>
10720
10721 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10722
bbb78d03
AS
107232012-03-05 Andreas Schwab <schwab@linux-m68k.org>
10724
884c5db4
AS
10725 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10726
bbb78d03
AS
10727 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
10728 only for |x| >= 40.
10729 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10730
1c9f702a 107312012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
10732
10733 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
10734 Replace gettimeofday with __vdso_gettimeofday.
10735
7be16f82
RM
10736 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10737 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
10738 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
10739
10740 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
10741 time with __vdso_time.
10742
ed58a00f
JM
107432012-03-05 Joseph Myers <joseph@codesourcery.com>
10744
10745 * manual/lang.texi (size_t): Note types to which size_t may be
10746 equivalent with the GNU C Library, but do not describe when
10747 differences between them are significant.
10748
30ee4ced
AJ
107492012-03-05 Andreas Jaeger <aj@suse.de>
10750
10751 * sysdeps/i386/fpu/libm-test-ulps: Update.
10752
b7cd39e8
JM
107532012-03-05 Joseph Myers <joseph@codesourcery.com>
10754
10755 [BZ #3976]
10756 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
10757 (__ieee754_pow): Save and restore rounding mode and use
10758 round-to-nearest for main computations.
10759 * math/libm-test.inc (pow_test_tonearest): New function.
10760 (pow_test_towardzero): Likewise.
10761 (pow_test_downward): Likewise.
10762 (pow_test_upward): Likewise.
10763 (main): Call the new functions.
10764 * sysdeps/i386/fpu/libm-test-ulps: Update.
10765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
10766
10767 [BZ #3976]
10768 * math/libm-test.inc (cosh_test_tonearest): New function.
10769 (cosh_test_towardzero): Likewise.
10770 (cosh_test_downward): Likewise.
10771 (cosh_test_upward): Likewise.
10772 (sinh_test_tonearest): Likewise.
10773 (sinh_test_towardzero): Likewise.
10774 (sinh_test_downward): Likewise.
10775 (sinh_test_upward): Likewise.
10776 (main): Call the new functions.
10777 * sysdeps/i386/fpu/libm-test-ulps: Update.
10778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10779
6c6a98c9
TV
107802012-03-05 Tom de Vries <tom@codesourcery.com>
10781
10782 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
10783 default stack guard is set in last bytes.
10784 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
10785
21bb2d2e 107862012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 10787
21bb2d2e 10788 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 10789
21bb2d2e
AJ
10790 [BZ #13656]
10791 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
10792 possibly allocate from heap instead of stack.
10793 * stdio-common/bug-vfprintf-nargs.c: New file.
10794 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 10795
c6922934
AS
107962012-03-03 Andreas Schwab <schwab@linux-m68k.org>
10797
10798 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10799
bc957d53
MP
108002012-03-03 Marek Polacek <polacek@redhat.com>
10801
10802 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
10803 * math/math_private.h: Likewise.
10804 * stdlib/tst-strtod.c: Likewise.
10805 * sysdeps/i386/i486/bits/atomic.h: Likewise.
10806 * sysdeps/x86_64/bits/atomic.h: Likewise.
10807
6358490d
DM
108082012-03-02 David S. Miller <davem@davemloft.net>
10809
10810 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
10811 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
10812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
10813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
10814 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
10815 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
10816 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
10817 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
10818
01ae168d
RM
108192012-03-02 Roland McGrath <roland@hack.frob.com>
10820
d9a17c07
RM
10821 [BZ #13792]
10822 * manual/examples/README: New file, says the example source files
10823 can be used under GPL>=2.
10824 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
10825 line containing just "*/".
10826 * manual/examples/add.c: Add copyright header (GPL>=2).
10827 * manual/examples/argp-ex1.c: Likewise.
10828 * manual/examples/argp-ex2.c: Likewise.
10829 * manual/examples/argp-ex3.c: Likewise.
10830 * manual/examples/argp-ex4.c: Likewise.
10831 * manual/examples/atexit.c: Likewise.
10832 * manual/examples/db.c: Likewise.
10833 * manual/examples/dir.c: Likewise.
10834 * manual/examples/dir2.c: Likewise.
10835 * manual/examples/execinfo.c: Likewise.
10836 * manual/examples/filecli.c: Likewise.
10837 * manual/examples/filesrv.c: Likewise.
10838 * manual/examples/fmtmsgexpl.c: Likewise.
10839 * manual/examples/genpass.c: Likewise.
10840 * manual/examples/inetcli.c: Likewise.
10841 * manual/examples/inetsrv.c: Likewise.
10842 * manual/examples/isockad.c: Likewise.
10843 * manual/examples/longopt.c: Likewise.
10844 * manual/examples/memopen.c: Likewise.
10845 * manual/examples/memstrm.c: Likewise.
10846 * manual/examples/mkfsock.c: Likewise.
10847 * manual/examples/mkisock.c: Likewise.
10848 * manual/examples/mygetpass.c: Likewise.
10849 * manual/examples/pipe.c: Likewise.
10850 * manual/examples/popen.c: Likewise.
10851 * manual/examples/rprintf.c: Likewise.
10852 * manual/examples/search.c: Likewise.
10853 * manual/examples/select.c: Likewise.
10854 * manual/examples/setjmp.c: Likewise.
10855 * manual/examples/sigh1.c: Likewise.
10856 * manual/examples/sigusr.c: Likewise.
10857 * manual/examples/stpcpy.c: Likewise.
10858 * manual/examples/strdupa.c: Likewise.
10859 * manual/examples/strftim.c: Likewise.
10860 * manual/examples/strncat.c: Likewise.
10861 * manual/examples/subopt.c: Likewise.
10862 * manual/examples/swapcontext.c: Likewise.
10863 * manual/examples/termios.c: Likewise.
10864 * manual/examples/testopt.c: Likewise.
10865 * manual/examples/testpass.c: Likewise.
10866 * manual/examples/timeval_subtract.c: Likewise.
10867
01ae168d
RM
10868 [BZ #13792]
10869 * manual/time.texi (Elapsed Time): Move timeval_subtract example
10870 function to ...
10871 * manual/timeval_subtract.c.texi: ... here, new file.
10872
49efa33d
DM
108732012-03-02 David S. Miller <davem@davemloft.net>
10874
10875 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
10876
28afd92d
JM
108772012-03-02 Joseph Myers <joseph@codesourcery.com>
10878
804360ed
JM
10879 [BZ #3976]
10880 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
10881 (__sin): Save and restore rounding mode and use round-to-nearest
10882 for all computations.
10883 (__cos): Save and restore rounding mode and use round-to-nearest
10884 for all computations.
10885 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
10886 <fenv.h>.
10887 (tan): Save and restore rounding mode and use round-to-nearest for
10888 all computations.
10889 * math/libm-test.inc (cos_test_tonearest): New function.
10890 (cos_test_towardzero): Likewise.
10891 (cos_test_downward): Likewise.
10892 (cos_test_upward): Likewise.
10893 (sin_test_tonearest): Likewise.
10894 (sin_test_towardzero): Likewise.
10895 (sin_test_downward): Likewise.
10896 (sin_test_upward): Likewise.
10897 (tan_test_tonearest): Likewise.
10898 (tan_test_towardzero): Likewise.
10899 (tan_test_downward): Likewise.
10900 (tan_test_upward): Likewise.
10901 (main): Call the new functions.
10902 * sysdeps/i386/fpu/libm-test-ulps: Update.
10903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10904
a6d06d7b
JM
10905 [BZ #10135]
10906 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
10907 small n, then large n, before computing and testing k+n.
10908 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10909 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10910 Likewise.
10911 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10912 Likewise.
10913 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
10914 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10915 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10916 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10917 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10918 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10919 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10920 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
10921 * math/libm-test.inc (scalbn_test): Add more tests.
10922 (scalbln_test): Likewise.
10923
07e12bb3
JM
10924 * manual/filesys.texi (mode_t): Describe constraints on size and
10925 signedness, not exact equivalence to a particular type.
10926 (ino_t): Likewise.
10927 (ino64_t): Likewise.
10928 (dev_t): Likewise.
10929 (nlink_t): Likewise.
10930 (blkcnt_t): Likewise.
10931 (blkcnt64_t): Likewise.
10932 * manual/llio.texi (off_t): Likewise.
10933
28afd92d
JM
10934 [BZ #3976]
10935 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
10936 (__ieee754_exp): Save and restore rounding mode and use
10937 round-to-nearest for all computations.
10938 * math/libm-test.inc (exp_test_tonearest): New function.
10939 (exp_test_towardzero): Likewise.
10940 (exp_test_downward): Likewise.
10941 (exp_test_upward): Likewise.
10942 (main): Call the new functions.
10943 * sysdeps/i386/fpu/libm-test-ulps: Update.
10944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10945
b1eeb65d
CD
109462012-03-01 Chris Demetriou <cgd@google.com>
10947
10948 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
10949 have predictable order.
10950
53362a4b
DM
109512012-03-01 David S. Miller <davem@davemloft.net>
10952
3c969083
DM
10953 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
10954
759707de
DM
10955 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
10956 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
10957 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
10958 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
10959
dfdb8ff2
DM
10960 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
10961 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
10962 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
10963 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
10964 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
10965 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
10966 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
10967 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
10968 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
10969
ead89f96
DM
10970 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10971
7f66bd07
DM
10972 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
10973 * sysdeps/sparc/fpu/libm-test-ulps: to here.
10974 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
10975
53362a4b
DM
10976 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
10977 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10978 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10979 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10980 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10981 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10982 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
10983 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10984 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10985 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
10986 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
10987 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10988 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10989 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10990 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10991 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10992 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
10993 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
10994 * sysdeps/sparc/elf/configure: Regenerated.
10995
7b1902cb
JM
109962012-03-01 Joseph Myers <joseph@codesourcery.com>
10997
bec039bc
JM
10998 * configure.in (AS, LD): Require binutils 2.20 or later.
10999 * configure: Regenerated.
11000 * manual/install.texi (Tools for Compilation): Give binutils 2.20
11001 as required minimum version.
11002 * INSTALL: Regenerated.
11003
7b1902cb
JM
11004 [BZ #2541]
11005 [BZ #4108]
11006 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
11007 before squaring exponent.
11008 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
11009 bottom long double and 27 bits of top long double before squaring
11010 exponent.
11011 * math/libm-test.inc (erfc_test): Add more tests.
11012 * sysdeps/i386/fpu/libm-test-ulps: Update.
11013 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11015
f775c276
KT
110162012-03-01 Kai Tietz <ktietz@redhat.com>
11017
11018 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
11019 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
11020 containing bit-fields.
11021 * soft-fp/extended.h (_FP_UNION_E): Likewise.
11022 * soft-fp/single.h (_FP_UNION_S): Likewise.
11023 * soft-fp/double.h (_FP_UNION_D): Likewise.
11024
5b8a4d4a
JM
110252012-02-29 Joseph Myers <joseph@codesourcery.com>
11026
0bab47b6
JM
11027 [BZ #13786]
11028 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
11029 not include ../strcmp.S.
11030 [USE_AS_STRNCASECMP_L]: Likewise.
11031 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
11032 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
11033 * sysdeps/i386/i686/multiarch/strncase_l-c.c
11034 (__strncasecmp_l_ia32): Define as alias to
11035 __strncasecmp_l_nonascii.
11036
0fcad3e2
JM
11037 [BZ #5794]
11038 * math/libm-test.inc (expm1_test): Add test for bug 5794.
11039 * sysdeps/i386/fpu/libm-test-ulps: Update.
11040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11041
5b8a4d4a
JM
11042 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
11043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11044
8fdceb2e
JL
110452012-02-29 Jeff Law <law@redhat.com>
11046
11047 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
11048 out of bounds read.
11049
1f393a11
MP
110502012-02-29 Marek Polacek <polacek@redhat.com>
11051
11052 [BZ #13706]
11053 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
11054 * elf/Makefile: Add rules to run tst-unused-dep.out.
11055
8847f037
DM
110562012-02-28 David S. Miller <davem@davemloft.net>
11057
11058 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
11059 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
11060 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
11061 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
11062 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
11063 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
11064
169d7f11
JM
110652012-02-29 Joseph Myers <joseph@codesourcery.com>
11066
11067 * math/libm-test.inc (llround_test): Move one test from
11068 lround_test. Use TEST_f_L in moved test.
11069 (lround_test): Move misplaced test to llround_test. Add testcase
11070 from bug 2561.
11071
39adf059
UD
110722012-02-28 Ulrich Drepper <drepper@gmail.com>
11073
11074 * sysdeps/x86_64/fpu/e_expf.S: New file.
11075 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
11076
71b5d1c5
SB
110772012-02-28 Stanislav Brabec <sbrabec@suse.cz>
11078
11079 [BZ #13637]
11080 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
11081 of remain_len that may cause incomplete multi-byte character and
11082 false match.
11083 * posix/bug-regex33.c: New file.
11084 * posix/Makefile (tests): Add bug-regex33.
11085
1f77f049
JM
110862012-02-28 Joseph Myers <joseph@codesourcery.com>
11087
11088 * manual/macros.texi: New file.
11089 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
11090 * manual/libc.texinfo: Include macros.texi.
11091 * manual/creatute.texi: Likewise.
11092 * manual/install.texi: Likewise.
11093 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
11094 @glibcadj{} in references to the GNU C Library.
11095 * manual/charset.texi: Likewise.
11096 * manual/conf.texi: Likewise.
11097 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
11098 when not using those macros.
11099 * manual/creature.texi: Likewise.
11100 * manual/crypt.texi: Likewise.
11101 * manual/errno.texi: Likewise.
11102 * manual/filesys.texi: Likewise.
11103 * manual/header.texi: Likewise.
11104 * manual/install.texi: Likewise.
11105 * manual/intro.texi: Likewise.
11106 * manual/io.texi: Likewise.
11107 * manual/job.texi: Likewise.
11108 * manual/lang.texi: Likewise.
11109 * manual/libc.texiinfo: Likewise.
11110 * manual/llio.texi: Likewise.
11111 * manual/locale.texi: Likewise.
11112 * manual/maint.texi: Likewise.
11113 * manual/math.texi: Likewise.
11114 * manual/memory.texi: Likewise.
11115 * manual/message.texi: Likewise.
11116 * manual/nss.texi: Likewise.
11117 * manual/pattern.texi: Likewise.
11118 * manual/process.texi: Likewise.
11119 * manual/resource.texi: Likewise.
11120 * manual/search.texi: Likewise.
11121 * manual/setjmp.texi: Likewise.
11122 * manual/signal.texi: Likewise.
11123 * manual/socket.texi: Likewise.
11124 * manual/startup.texi: Likewise.
11125 * manual/stdio.texi: Likewise.
11126 * manual/string.texi: Likewise.
11127 * manual/sysinfo.texi: Likewise.
11128 * manual/syslog.texi: Likewise.
11129 * manual/terminal.texi: Likewise.
11130 * manual/time.texi: Likewise.
11131 * manual/users.texi: Likewise.
11132 * INSTALL: Regenerated.
11133 * NOTES: Regenerated.
d40c5d54 11134 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 11135
450bf206
AS
111362012-02-28 Andreas Schwab <schwab@linux-m68k.org>
11137
11138 * include/dirent.h: Include <dirstream.h> before
11139 <dirent/dirent.h>.
11140
741a235b
DM
111412012-02-28 David S. Miller <davem@davemloft.net>
11142
11143 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
11144 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
11145 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
11146 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
11147
d6b5aa58
DM
111482012-02-27 David S. Miller <davem@davemloft.net>
11149
1aff59a3
DM
11150 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
11151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
11152 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
11153 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
11154
d6b5aa58
DM
11155 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
11156 frame pointer instead of stack pointer relative arg slot.
11157 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11158 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11159 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11160
433f48bf
CD
111612012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
11162
11163 [BZ #3992]
11164 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
11165
d674b76d
DM
111662012-02-27 David S. Miller <davem@davemloft.net>
11167
11168 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
11169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11170 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
11172 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11173 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11174 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
11175 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
11176
0e7727f7
JM
111772012-02-27 Joseph Myers <joseph@codesourcery.com>
11178
11179 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
11180 later. Allow versions 5-9.
43be4ca2 11181 * configure: Regenerated.
0e7727f7
JM
11182 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
11183 required minimum version and 4.6 as recommended version. Do not
11184 mention bugs in GCC 2.7 and 2.8.
43be4ca2 11185 * INSTALL: Regenerated.
0e7727f7 11186
a78bc654
DM
111872012-02-27 David S. Miller <davem@davemloft.net>
11188
428d5830
DM
11189 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
11190 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
11191 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
11192 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
11193 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
11194 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
11195 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
11196 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
11197
a78bc654
DM
11198 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
11199 manipulate bits before adding and subtracting TWO112[sx].
11200 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11201
4579f81c
RM
112022012-02-27 Roland McGrath <roland@hack.frob.com>
11203
36c8acb4
RM
11204 [BZ #13775]
11205 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
11206 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
11207 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
11208 being in POSIX, because they are in 1003.1-2008.
11209
84ad622b
RM
11210 * rt/tst-aio.c: Include <fcntl.h>.
11211 * rt/tst-aio7.c: Likewise.
11212 * rt/tst-aio64.c: Likewise.
11213
4579f81c
RM
11214 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
11215
abd923db
JM
112162012-02-27 Joseph Myers <joseph@codesourcery.com>
11217
11218 * manual/install.texi (--with-headers): Describe headers as
11219 interface headers, not private headers.
11220 (Specific advice for GNU/Linux systems): Describe use of headers
11221 from "make headers_install", not private headers from older
11222 kernels.
43be4ca2 11223 * INSTALL: Regenerated.
abd923db
JM
11224 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
11225 Change to 2.6.19.
11226 * sysdeps/unix/sysv/linux/configure: Regenerated.
11227
6664049b
JM
11228 * manual/llio.texi (fclean): Remove documentation.
11229
bb8b6697
JM
11230 * manual/Makefile (libc-texi-generated): New variable. Include
11231 version.texi.
11232 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
11233 $(libc-texi-generated), not duplicated list of files.
11234 (version.texi, stamp-version): New rules.
11235 (realclean): Remove $(libc-texi-generated), not individual files
11236 from that list. Do not remove dir-add.texinfo.
11237 * manual/libc.texinfo: Comment out uses of edition numbers and
11238 references to printed manual. Remove last-updated dates.
11239 (EDITION): Comment out.
11240 (ISBN): Likewise.
11241 (VERSION, UPDATED): Remove.
11242 (version.texi): Include.
11243
12e5c3b9
AS
112442012-02-27 Andreas Schwab <schwab@linux-m68k.org>
11245
11246 * sysdeps/posix/spawni.c: Include <signal.h>.
11247 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
11248 * sysdeps/pthread/aio_fsync.c: Likewise.
11249
4efeffc1 112502012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 11251
ba63ba08
UD
11252 * conform/Makefile (tests): Run only when not cross-compiling and
11253 when fast-check is not defined.
11254
d94a4670
UD
11255 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
11256 * conform/data/limits.h-data: Fixes for POSIX2008.
11257 * conform/run-conformtest.sh: Run all tests.
11258 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
11259 headers.
11260 * include/bits/dlfcn.h: Likewise.
11261 * include/langinfo.h: Likewise.
11262 * include/monetary.h: Likewise.
11263 * include/sys/poll.h: Likewise.
11264
11265 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
11266 for __USE_GNU.
11267 * posix/spawn.h: Define __need_sigset_t.
11268 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
11269 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
11270 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
11271 to get sigevent_t only.
11272 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
11273 only for __USE_GNU.
11274 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11275 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11276 process_vm_writev only for __USE_GNU.
11277 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
11278
11279 * conform/Makefile: For now ignore errors from run-conformtest.
11280 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
11281 POSIX to avoid namespace pollution. Don't prepend headers.
11282 * conform/data/aio.h-data: Fixes for POSIX testing.
11283 * conform/data/fcntl.h-data: Likewise.
11284 * conform/data/glob.h-data: Likewise.
11285 * conform/data/grp.h-data: Likewise.
11286 * conform/data/pthread.h-data: Likewise.
11287 * conform/data/pwd.h-data: Likewise.
11288 * conform/data/signal.h-data: Likewise.
11289 * conform/data/spawn.h-data: Likewise.
11290 * conform/data/stdio.h-data: Likewise.
11291 * conform/data/stdlib.h-data: Likewise.
11292 * conform/data/stropts.h-data: Likewise.
11293 * conform/data/sys/mman.h-data: Likewise.
11294 * conform/data/sys/stat.h-data: Likewise.
11295 * conform/data/sys/types.h-data: Likewise.
11296 * conform/data/sys/wait.h-data: Likewise.
11297 * conform/data/time.h-data: Likewise.
11298 * conform/data/unistd.h-data: Likewise.
11299 * conform/data/utime.h-data: Likewise.
11300
11301 * io/sys/stat.h: fchmod was always in POSIX.
11302 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
11303 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
11304 * rt/aio.h: Define __need_timespec before including <time.h>.
11305 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
11306 struct. Add forward declaration of pthread_attr_t and use it in
11307 sigevent.
11308 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11309 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11310 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
11311 always remove CLK_TCK definition.
11312
c20105c3
AS
113132012-02-26 Andreas Schwab <schwab@linux-m68k.org>
11314
11315 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
11316
7a270350
UD
113172012-02-25 Ulrich Drepper <drepper@gmail.com>
11318
31341567
UD
11319 * conform/run-conformtest.sh: New file.
11320 * conform/Makefile: Run run-conformtest for tests.
11321 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
11322 support.
11323
11324 * conform/data/uchar.h-data: New file.
11325 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
11326 * conform/data/arpa/inet.h-data: Likewise.
11327 * conform/data/assert.h-data: Likewise.
11328 * conform/data/complex.h-data: Likewise.
11329 * conform/data/cpio.h-data: Likewise.
11330 * conform/data/ctype.h-data: Likewise.
11331 * conform/data/dirent.h-data: Likewise.
11332 * conform/data/dlfcn.h-data: Likewise.
11333 * conform/data/errno.h-data: Likewise.
11334 * conform/data/fcntl.h-data: Likewise.
11335 * conform/data/float.h-data: Likewise.
11336 * conform/data/fmtmsg.h-data: Likewise.
11337 * conform/data/fnmatch.h-data: Likewise.
11338 * conform/data/ftw.h-data: Likewise.
11339 * conform/data/glob.h-data: Likewise.
11340 * conform/data/grp.h-data: Likewise.
11341 * conform/data/iconv.h-data: Likewise.
11342 * conform/data/inttypes.h-data: Likewise.
11343 * conform/data/langinfo.h-data: Likewise.
11344 * conform/data/libgen.h-data: Likewise.
11345 * conform/data/limits.h-data: Likewise.
11346 * conform/data/locale.h-data: Likewise.
11347 * conform/data/math.h-data: Likewise.
11348 * conform/data/monetary.h-data: Likewise.
11349 * conform/data/mqueue.h-data: Likewise.
11350 * conform/data/ndbm.h-data: Likewise.
11351 * conform/data/net/if.h-data: Likewise.
11352 * conform/data/netdb.h-data: Likewise.
11353 * conform/data/netinet/in.h-data: Likewise.
11354 * conform/data/nl_types.h-data: Likewise.
11355 * conform/data/poll.h-data: Likewise.
11356 * conform/data/pthread.h-data: Likewise.
11357 * conform/data/pwd.h-data: Likewise.
11358 * conform/data/regex.h-data: Likewise.
11359 * conform/data/sched.h-data: Likewise.
11360 * conform/data/search.h-data: Likewise.
11361 * conform/data/semaphore.h-data: Likewise.
11362 * conform/data/setjmp.h-data: Likewise.
11363 * conform/data/signal.h-data: Likewise.
11364 * conform/data/spawn.h-data: Likewise.
11365 * conform/data/stdarg.h-data: Likewise.
11366 * conform/data/stdio.h-data: Likewise.
11367 * conform/data/stdlib.h-data: Likewise.
11368 * conform/data/string.h-data: Likewise.
11369 * conform/data/strings.h-data: Likewise.
11370 * conform/data/stropts.h-data: Likewise.
11371 * conform/data/sys/ipc.h-data: Likewise.
11372 * conform/data/sys/mman.h-data: Likewise.
11373 * conform/data/sys/msg.h-data: Likewise.
11374 * conform/data/sys/resource.h-data: Likewise.
11375 * conform/data/sys/select.h-data: Likewise.
11376 * conform/data/sys/sem.h-data: Likewise.
11377 * conform/data/sys/shm.h-data: Likewise.
11378 * conform/data/sys/socket.h-data: Likewise.
11379 * conform/data/sys/stat.h-data: Likewise.
11380 * conform/data/sys/statvfs.h-data: Likewise.
11381 * conform/data/sys/time.h-data: Likewise.
11382 * conform/data/sys/timeb.h-data: Likewise.
11383 * conform/data/sys/times.h-data: Likewise.
11384 * conform/data/sys/types.h-data: Likewise.
11385 * conform/data/sys/uio.h-data: Likewise.
11386 * conform/data/sys/un.h-data: Likewise.
11387 * conform/data/sys/utsname.h-data: Likewise.
11388 * conform/data/sys/wait.h-data: Likewise.
11389 * conform/data/syslog.h-data: Likewise.
11390 * conform/data/tar.h-data: Likewise.
11391 * conform/data/termios.h-data: Likewise.
11392 * conform/data/utime.h-data: Likewise.
11393 * conform/data/utmpx.h-data: Likewise.
11394 * conform/data/varargs.h-data: Likewise.
11395 * conform/data/wchar.h-data: Likewise.
11396 * conform/data/wctype.h-data: Likewise.
11397 * conform/data/wordexp.h-data: Likewise.
11398
11399 * include/stropts.h: New file.
11400 * include/uchar.h: New file.
11401 * include/aio.h: Changes to allow conformtest.pl to use the headers.
11402 * include/assert.h: Likewise.
11403 * include/ctype.h: Likewise.
11404 * include/dirent.h: Likewise.
11405 * include/dlfcn.h: Likewise.
11406 * include/fcntl.h: Likewise.
11407 * include/fnmatch.h: Likewise.
11408 * include/glob.h: Likewise.
11409 * include/grp.h: Likewise.
11410 * include/libio.h: Likewise.
11411 * include/locale.h: Likewise.
11412 * include/math.h: Likewise.
11413 * include/net/if.h: Likewise.
11414 * include/netdb.h: Likewise.
11415 * include/netinet/in.h: Likewise.
11416 * include/pthread.h: Likewise.
11417 * include/pwd.h: Likewise.
11418 * include/regex.h: Likewise.
11419 * include/sched.h: Likewise.
11420 * include/search.h: Likewise.
11421 * include/setjmp.h: Likewise.
11422 * include/signal.h: Likewise.
11423 * include/stdio.h: Likewise.
11424 * include/stdlib.h: Likewise.
11425 * include/string.h: Likewise.
11426 * include/sys/cdefs.h: Likewise.
11427 * include/sys/mman.h: Likewise.
11428 * include/sys/msg.h: Likewise.
11429 * include/sys/resource.h: Likewise.
11430 * include/sys/select.h: Likewise.
11431 * include/sys/socket.h: Likewise.
11432 * include/sys/stat.h: Likewise.
11433 * include/sys/statvfs.h: Likewise.
11434 * include/sys/time.h: Likewise.
11435 * include/sys/times.h: Likewise.
11436 * include/sys/uio.h: Likewise.
11437 * include/sys/utsname.h: Likewise.
11438 * include/sys/wait.h: Likewise.
11439 * include/termios.h: Likewise.
11440 * include/time.h: Likewise.
11441 * include/ulimit.h: Likewise.
11442 * include/unistd.h: Likewise.
11443 * include/utime.h: Likewise.
11444 * include/wchar.h: Likewise.
11445 * include/wctype.h: Likewise.
11446 * include/wordexp.h: Likewise.
11447
11448 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
11449
7a270350
UD
11450 * time/time.h: TIME_UTC must be a macro.
11451 Make timespec_get available for ISO C11 only as well.
11452
7724defc
UD
114532012-02-24 Ulrich Drepper <drepper@gmail.com>
11454
11455 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
11456 Reported by Peng Haitao <penght@cn.fujitsu.com>.
11457
6b1d1d46
JM
114582012-02-24 Joseph Myers <joseph@codesourcery.com>
11459
11460 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 11461
0f8bbd69
JM
114622012-02-24 Joseph Myers <joseph@codesourcery.com>
11463
11464 * manual/texinfo.tex: Update to version 2012-01-19.16.
11465
66ab80bc
JM
114662012-02-24 Joseph Myers <joseph@codesourcery.com>
11467
11468 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
11469
74981cc5
RM
114702012-02-24 Roland McGrath <roland@hack.frob.com>
11471
ee968201
RM
11472 [BZ #13738]
11473 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
11474 * manual/fdl-1.3.texi: New file.
11475 * manual/fdl-1.1.texi: File removed.
11476
74981cc5
RM
11477 [BZ #13738]
11478 * manual/libc.texinfo (FDL_VERSION): New @set.
11479 Use it for mention of FDL in cover text.
11480 (Documentation License): Use it in @include file name.
11481
7bb764bc
JM
114822012-02-22 Joseph Myers <joseph@codesourcery.com>
11483 Roland McGrath <roland@hack.frob.com>
11484
11485 [BZ #5461]
11486 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
11487 not LONG_LONG_MAX and LONG_LONG_MIN.
11488 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
11489 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
11490 name.
11491 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
11492
6cbeae47
JM
114932012-02-22 Joseph Myers <joseph@codesourcery.com>
11494
11495 [BZ #2547]
11496 [BZ #11365]
11497 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
11498 manipulate bits before adding and subtracting TWO23[sx].
11499 * math/libm-test.inc (nearbyint_test): Add more tests.
11500
fe45ce09
JM
115012012-02-22 Joseph Myers <joseph@codesourcery.com>
11502
11503 [BZ #2548]
11504 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
11505 bits before adding and subtracting TWO23[sx].
11506 * math/libm-test.inc (rint_test): Add more tests.
11507 (rint_test_tonearest): Likewise.
11508 (rint_test_towardzero): Likewise.
11509 (rint_test_downward): Likewise.
11510 (rint_test_upward: Likewise.
11511
ff3b3d82
JM
115122012-02-22 Joseph Myers <joseph@codesourcery.com>
11513
11514 [BZ #10110]
11515 * include/stdc-predef.h: New file. Extracted from features.h.
11516 * include/features.h: Include stdc-predef.h.
11517 * Makefile (headers): Add stdc-predef.h.
11518 * CONFORMANCE (Compiler limitations): Update.
11519
ef0aab35
JM
115202012-02-22 Joseph Myers <joseph@codesourcery.com>
11521
11522 * manual/libc.texinfo (VERSION, UPDATED): Revert.
11523
58639409
DM
115242012-02-21 David S. Miller <davem@davemloft.net>
11525
11526 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
11527 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11528
c0e70b25
DM
115292012-02-20 David S. Miller <davem@davemloft.net>
11530
11531 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
11532 using a normal save/restore sequence, rather than allocating a
11533 dummy stack frame just to store a frame pointer and restore.
11534 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11535
fb06851d
JM
115362012-02-21 Joseph Myers <joseph@codesourcery.com>
11537
11538 * manual/install.texi: Fix stray word in line-wrapped comment.
11539
7a8b71c3
DM
115402012-02-20 David S. Miller <davem@davemloft.net>
11541
d510c123
DM
11542 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
11543 both binutils and gcc support GOTDATA.
11544
0722d7c2
DM
11545 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
11546 "rd %pc" in the PIC register setup sequences.
11547
3d2b3019
DM
11548 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
11549 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11550 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11551 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11552 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11553 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11554 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11555 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11556 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
11557 (SYSCALL_ERROR_HANDLER): Likewise.
11558 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11559 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11560 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
11561 (SYSCALL_ERROR_HANDLER): Likewise.
11562
c80098a9
DM
11563 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
11564 (HAVE_GCC_GOTDATA): New.
11565 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
11566 relocation support in both binutils and gcc.
11567 * sysdeps/sparc/elf/configure: Regenerate.
11568
3a2545a0
DM
11569 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
11570 * sysdeps/sparc/sparc32/elf/configure: Delete.
11571 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
11572 * sysdeps/sparc/sparc64/elf/configure: Delete.
11573 * sysdeps/sparc/elf/configure.in: New file.
11574 * sysdeps/sparc/elf/configure: Generate.
11575
7a8b71c3
DM
11576 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
11577 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
11578 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11579 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
11580 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
11581
f1e86fca
JM
115822012-02-21 Joseph Myers <joseph@codesourcery.com>
11583
11584 * manual/install.texi: Do not mention specific glibc version
11585 numbers.
11586 * manual/libc.texinfo (VERSION, UPDATED): Update.
11587 (@copying): Use @copyright{} and range of years.
11588
0e7dfaef
JM
115892012-02-21 Joseph Myers <joseph@codesourcery.com>
11590
11591 [BZ #13695]
11592 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
11593 [crti.S not in sysdirs] (generated): Do not append.
11594 [crti.S not in sysdirs] (omit-deps): Likewise.
11595 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
11596 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
11597 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
11598 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
11599 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
11600 Likewise.
11601 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
11602 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
11603 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
11604 * csu/defs.awk: Remove file.
11605 * sysdeps/generic/initfini.c: Likewise.
11606 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
11607 variable.
11608 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
11609 Likewise.
11610
599af3ca
JM
116112012-02-20 Joseph Myers <joseph@codesourcery.com>
11612
11613 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
11614 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
11615 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
11616 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
11617 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11618 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
11619 <bits/epoll.h>.
11620 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
11621 (__EPOLL_PACKED): Define to empty if not defined by
11622 <bits/epoll.h>.
11623 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
11624 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11625 bits/epoll.h.
11626
0e499750
JM
116272012-02-20 Joseph Myers <joseph@codesourcery.com>
11628
11629 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
11630 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
11631 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
11632 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
11633 <bits/timerfd.h>.
11634 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
11635 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11636 bits/timerfd.h.
11637
5ad91f6e
JM
116382012-02-20 Joseph Myers <joseph@codesourcery.com>
11639
11640 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
11641 in C locale.
11642 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11643 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
11644 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
11645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11646
06b99b02
AJ
116472012-02-20 Aurelien Jarno <aurelien@aurel32.net>
11648
11649 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11650 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11651
7638c0fd
AS
116522012-02-19 Andreas Schwab <schwab@linux-m68k.org>
11653
11654 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
11655 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
11656 defined.
11657 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
11658 Likewise.
11659 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
11660 entry for 2.16.
11661
92221550
AJ
116622012-02-19 Aurelien Jarno <aurelien@aurel32.net>
11663
11664 * math/w_acos.c: Use non-signaling floating-point comparisons.
11665 * math/w_acosf.c: Likewise.
11666 * math/w_acosh.c: Likewise.
11667 * math/w_acoshf.c: Likewise.
11668 * math/w_acoshl.c: Likewise.
11669 * math/w_acosl.c: Likewise.
11670 * math/w_asin.c: Likewise.
11671 * math/w_asinf.c: Likewise.
11672 * math/w_asinl.c: Likewise.
11673 * math/w_atanh.c: Likewise.
11674 * math/w_atanhf.c: Likewise.
11675 * math/w_atanhl.c: Likewise.
11676 * math/w_exp2.c: Likewise.
11677 * math/w_exp2f.c: Likewise.
11678 * math/w_exp2l.c: Likewise.
11679 * math/w_j0.c: Likewise.
11680 * math/w_j0f.c: Likewise.
11681 * math/w_j0l.c: Likewise.
11682 * math/w_j1.c: Likewise.
11683 * math/w_j1f.c: Likewise.
11684 * math/w_j1l.c: Likewise.
11685 * math/w_jn.c: Likewise.
11686 * math/w_jnf.c: Likewise.
11687 * math/w_log.c: Likewise.
11688 * math/w_log10.c: Likewise.
11689 * math/w_log10f.c: Likewise.
11690 * math/w_log10l.c: Likewise.
11691 * math/w_log2.c: Likewise.
11692 * math/w_log2f.c: Likewise.
11693 * math/w_log2l.c: Likewise.
11694 * math/w_logf.c: Likewise.
11695 * math/w_logl.c: Likewise.
11696 * math/w_sqrt.c: Likewise.
11697 * math/w_sqrtf.c: Likewise.
11698 * math/w_sqrtl.c: Likewise.
11699 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11700 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
11701 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11702 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11703 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11704
ebaf36eb
JM
117052012-02-19 Joseph Myers <joseph@codesourcery.com>
11706
11707 [BZ #9739]
11708 * manual/string.texi (strnlen): Use correct parameter name in
11709 equivalent expression.
11710
71c254a6
JM
117112012-02-19 Joseph Myers <joseph@codesourcery.com>
11712
11713 [BZ #11174]
11714 * manual/users.texi (seteuid): Consistently use neweuid for
11715 argument name.
11716
16d2c631
JM
117172012-02-19 Joseph Myers <joseph@codesourcery.com>
11718
11719 [BZ #13704]
11720 * manual/nss.texi (Services in the NSS configuration): Correct
11721 list of services in example configuration file.
11722
cd837b09
NB
117232012-02-19 Nick Bowler <nbowler@draconx.ca>
11724
11725 [BZ #11322]
11726 * manual/arith.texi: Remove statements about negative zero
11727 behaving identically to zero.
11728
02c4bbad
JM
117292012-02-18 Joseph Myers <joseph@codesourcery.com>
11730
11731 [BZ #5993]
11732 * manual/install.texi: Do not document upgrading from libc5.
11733
366842e7
JM
117342012-02-18 Joseph Myers <joseph@codesourcery.com>
11735
11736 [BZ #4596]
11737 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
11738
dd54084d
DM
117392012-02-18 David S. Miller <davem@davemloft.net>
11740
11741 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
11742 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
11743 %o7 across the call.
11744 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
11745 instead.
11746 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
11747 SETUP_PIC_REG_LEAF.
11748 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11749 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
11750 * sysdeps/sparc/crtn.S: Likewise.
11751
2bcc53a3
UD
117522012-02-17 Ulrich Drepper <drepper@gmail.com>
11753
11754 * aout/Makefile: Remove.
11755
09c093b5
RK
117562012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
11757
11758 [BZ #13058]
11759 * manual/examples/argp-ex1.c (main): Format definition in GNU
11760 style.
11761 * manual/examples/argp-ex2.c (main): Likewise.
11762 * manual/examples/argp-ex3.c (main): Likewise.
11763 * manual/examples/argp-ex4.c (main): Likewise.
11764 * manual/examples/longopt.c (main): Use new-style prototype
11765 definition.
11766 * manual/examples/strncat.c (main): Specify return type and use
11767 (void) for arguments.
11768 * manual/examples/subopt.c (main): Use char **argv argument.
11769
2ee633a2
JM
117702012-02-17 Joseph Myers <joseph@codesourcery.com>
11771
11772 [BZ #5077]
11773 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
11774 rounding modes.
11775
0520adde
FB
117762012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
11777
11778 [BZ #6907]
11779 * manual/string.texi (strchr): Change when strchrnul is
11780 recommended.
11781
3f4081cd
DGM
117822012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
11783
11784 [BZ #174]
11785 * manual/locale.texi (setlocale): Document LOCPATH.
11786
d1b10e78
JM
117872012-02-17 Joseph Myers <joseph@codesourcery.com>
11788
11789 [BZ #10210]
11790 * manual/process.texi (execle): Move @dots{} before last argument.
11791
79c6869c
PB
117922012-02-17 Paul Bolle <pebolle@tiscali.nl>
11793
11794 [BZ #12047]
11795 * manual/charset.texi (Generic Charset Conversion): Fix typo
11796 (LC_TYPE -> LC_CTYPE).
11797
cc6e48bc
NB
117982012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
11799
11800 [BZ #5805]
11801 * manual/arith.texi (scalbn): Use @var{} on parameter names.
11802 (scalbnf): Likewise.
11803 (scalbnl): Likewise.
11804 (scalbln): Likewise.
11805 (scalblnf): Likewise.
11806 (scalblnl): Likewise.
11807 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
11808 (vwarnx): Likewise.
11809 (verr): Likewise.
11810 (verrx): Likewise.
11811 * manual/filesys.texi (telldir): Use braces around return type.
11812 * manual/llio.texi (mmap): Add space after comma.
11813 (mmap64): Likewise.
11814 * manual/math.texi (jn): Use @var{} on parameter names.
11815 (jnf): Likewise.
11816 (jnl): Likewise.
11817 (yn): Likewise.
11818 (ynf): Likewise.
11819 (ynl): Likewise.
11820 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
11821 line.
11822 * manual/resource.texi (ulimit): Use @dots{} instead of literal
11823 "...".
11824 (sched_get_priority_min): Remove semicolon on @deftypefun line.
11825 (sched_get_priority_max): Likewise.
11826 * manual/signal.texi (sigvec): Add space after comma.
11827 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
11828 names.
11829 (if_indextoname): Likewise.
11830 (if_freenameindex): Likewise.
11831 (sendto): Use ',' instead of '.' in prototype.
11832 * manual/startup.texi (syscall): Use @dots{} instead of literal
11833 "...".
11834 * manual/stdio.texi (__fpending): Separate initial words of
11835 paragraph from @deftypefun line.
11836 * manual/syslog.texi (syslog): Use @dots{} instead of literal
11837 "...".
11838 (vsyslog): Use @var{} on parameter names.
11839 * manual/terminal.texi (stty): Use @var{} on parameter names.
11840 * manual/users.texi (getutmp): Use @var{} on parameter names.
11841 (getutmpx): Likewise.
11842
5b23062f
JM
118432012-02-17 Joseph Myers <joseph@codesourcery.com>
11844
11845 [BZ #6884]
11846 * manual/stdio.texi (fopen): Fix typos in description of
11847 ",ccs=STRING".
11848
8dee4833
AJ
118492012-02-17 Aurelien Jarno <aurelien@aurel32.net>
11850
11851 [BZ #4026]
11852 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
11853 get clock_id definition.
11854
9078ce93
TS
118552012-02-17 Thomas Schwinge <thomas@schwinge.name>
11856
11857 [BZ #4822]
11858 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
11859 (madvise): Cast every argument to void on its own.
11860
3835c55f
JM
118612012-02-17 Joseph Myers <joseph@codesourcery.com>
11862
11863 [BZ #9902]
11864 * manual/startup.texi (Exit Status): Fix typo.
11865
35c47e37
JM
118662012-02-17 Joseph Myers <joseph@codesourcery.com>
11867
11868 [BZ #10140]
11869 * manual/examples/argp-ex1.c: Include <stdlib.h>.
11870 * manual/examples/argp-ex2.c: Likewise.
11871 * manual/examples/argp-ex3.c: Likewise.
11872
e3b69ca7
RH
118732012-02-16 Richard Henderson <rth@redhat.com>
11874
11875 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
11876 * sysdeps/s390/s390-32/initfini.c: Remove.
11877 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
11878 * sysdeps/s390/s390-64/initfini.c: Remove.
11879
df83af67
KK
118802012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11881
11882 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
11883 compiler output for sysdeps/generic/initfini.c.
11884 * sysdeps/sh/elf/initfini.c: Remove file.
11885
f63f3380
DM
118862012-02-16 David S. Miller <davem@davemloft.net>
11887
fb59b3a4
DM
11888 [BZ #11494]
11889 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
11890
f63f3380
DM
11891 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
11892 * sysdeps/sparc/crti.S: New file.
11893 * sysdeps/sparc/crtn.S: New file.
11894 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
11895 * sysdeps/sparc/sparc64/Makefile: Likewise.
11896
df6a4a4a
MF
118972012-02-15 Mike Frysinger <vapier@gentoo.org>
11898
6dd8f3dc 11899 [BZ #3335]
df6a4a4a
MF
11900 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
11901
1cac7236
RM
119022012-02-15 Roland McGrath <roland@hack.frob.com>
11903
d2c736f8
RM
11904 [BZ #4822]
11905 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
11906
1cac7236
RM
11907 * mach/devstream.c (cookie_io_functions_t): Macro removed.
11908 (write, read, close): Likewise.
11909 Patch by Aurelien Jarno <aurelien@aurel32.net>.
11910
8e475601
JM
119112012-02-15 Joseph Myers <joseph@codesourcery.com>
11912
11913 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
11914 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
11915 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
11916 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
11917 <bits/signalfd.h>.
11918 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
11919 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11920 bits/signalfd.h.
11921
ed656b40
MP
119222012-02-14 Marek Polacek <polacek@redhat.com>
11923
11924 * sysdeps/x86_64/crti.S: New file.
11925 * sysdeps/x86_64/crtn.S: New file.
11926 * sysdeps/x86_64/elf/initfini.c: Remove file.
11927
2a979d3a
JM
119282012-02-13 Joseph Myers <joseph@codesourcery.com>
11929
11930 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
11931 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
11932 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
11933 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
11934 <bits/inotify.h>.
11935 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
11936 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11937 bits/inotify.h.
11938
2a418ac3
JM
119392012-02-13 Joseph Myers <joseph@codesourcery.com>
11940
11941 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
11942 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
11943 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
11944 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
11945 <bits/eventfd.h>.
11946 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
11947 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11948 bits/eventfd.h.
11949
fb779be7
TS
119502012-02-10 Thomas Schwinge <thomas@codesourcery.com>
11951
e19e83c5
RM
11952 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
11953 __feraiseexcept instead of feraiseexcept.
7c35ffed 11954
fb779be7
TS
11955 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
11956 nanosleep invocations.
11957 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
11958 strings, and add error checking for a nanosleep invocations.
11959
59ba27a6
PE
119602012-02-09 Paul Eggert <eggert@cs.ucla.edu>
11961
11962 Replace FSF snail mail address with URLs, as per GNU coding standards.
11963 Most of the snail mail addresses were wrong anyway, and omitting
11964 them makes the source code easier to maintain. Almost all of the
11965 changes are to license notices and to locale LC_IDENTIFICATION
11966 addresses, except for this one:
11967 * manual/libc.texinfo: In "Published by", give the FSF's URL,
11968 not its snail mail address.
11969
57b957eb
RH
119702012-02-09 Richard Henderson <rth@twiddle.net>
11971
af850b1c
RH
11972 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
11973 of kernel-features.h.
11974
57b957eb
RH
11975 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
11976
6b73181a
MP
119772012-02-08 Marek Polacek <polacek@redhat.com>
11978
11979 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
11980 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
11981 * sysdeps/gnu/_G_config.h: Likewise.
11982 * sysdeps/generic/_G_config.h: Likewise.
11983
26ecc33a
AS
119842012-02-08 Andreas Schwab <schwab@linux-m68k.org>
11985
6c6dbc63
AS
11986 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
11987 tests.
11988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11989
e216c012
AS
11990 * sysdeps/powerpc/powerpc32/crti.S: New file.
11991 * sysdeps/powerpc/powerpc32/crtn.S: New file.
11992 * sysdeps/powerpc/powerpc64/crti.S: New file.
11993 * sysdeps/powerpc/powerpc64/crtn.S: New file.
11994
26ecc33a
AS
11995 * Makeconfig (have-initfini): Don't set.
11996 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
11997 * configure.in (nopic_initfini): Don't substitute.
11998 * config.h.in (HAVE_INITFINI): Don't #undef.
11999 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
12000 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
12001
3add8e13
JM
120022012-02-08 Joseph Myers <joseph@codesourcery.com>
12003
12004 Support crti.S and crtn.S provided directly by architectures.
12005 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
12006 [crti.S in sysdirs] (omit-deps): Likewise.
12007 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
12008 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
12009 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
12010 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
12011 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
12012 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
12013 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
12014 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
12015 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
12016 compiler output for sysdeps/generic/initfini.c.
12017 * sysdeps/i386/elf/Makefile: Remove file.
12018 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
12019
a22f12b4
MP
120202012-02-07 Marek Polacek <polacek@redhat.com>
12021
12022 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
12023 * sysdeps/gnu/_G_config.h: Likewise.
12024 * sysdeps/mach/hurd/_G_config.h: Likewise.
12025
148cf100
MP
120262012-02-07 Marek Polacek <polacek@redhat.com>
12027
12028 * math/Makefile (tests): Add tst-CMPLX2.
12029 * math/tst-CMPLX2.c: New file.
12030
cfdc0dd7
AS
120312012-02-07 Andreas Schwab <schwab@linux-m68k.org>
12032
84ba42c4
AS
12033 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12034
cfdc0dd7
AS
12035 * math/libm-test.inc (jn_test): Add missing L suffix.
12036
622c86f4
MP
120372012-02-06 Marek Polacek <polacek@redhat.com>
12038
12039 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
12040 * sysdeps/i386/fpu/e_powf.S: Likewise.
12041 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12042 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12043 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12044 * sysdeps/i386/fpu/e_pow.S: Likewise.
12045 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
12046 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12047 * sysdeps/i386/fpu/s_expm1.S: Likewise.
12048 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
12049 * sysdeps/i386/fpu/e_log2.S: Likewise.
12050 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12051 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12052 * sysdeps/i386/fpu/e_powl.S: Likewise.
12053 * sysdeps/i386/fpu/s_log1p.S: Likewise.
12054 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12055 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
12056 * sysdeps/i386/fpu/e_logl.S: Likewise.
12057 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
12058 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
12059 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
12060 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
12061 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12062 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12063 * sysdeps/i386/fpu/e_log.S: Likewise.
12064 * sysdeps/i386/fpu/s_cexp.S: Likewise.
12065 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12066 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
12067 * sysdeps/i386/fpu/e_logf.S: Likewise.
12068 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12069 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12070 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
12071 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
12072 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12073 * sysdeps/i386/fpu/e_log10.S: Likewise.
12074 * sysdeps/i386/fpu/s_frexp.S: Likewise.
12075 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12076 * sysdeps/i386/fpu/s_asinh.S: Likewise.
12077 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
12078 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12079 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
12080 * sysdeps/i386/asm-syntax.h: Likewise.
12081 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12082 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12083 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12084 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
12085 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
12086 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12087 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
12088 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
12089 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12090 * sysdeps/powerpc/sysdep.h: Likewise.
12091 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
12092 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12093
d4a54ac6
JM
120942012-02-06 Joseph Myers <joseph@codesourcery.com>
12095
12096 [BZ #411]
12097 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
12098
314054ea
JM
120992012-02-06 Joseph Myers <joseph@codesourcery.com>
12100
12101 * sysdeps/i386/sysdep.h: Include <features.h>.
12102 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
12103 version.
12104
d8e0ca50
JM
121052012-02-05 Joseph Myers <joseph@codesourcery.com>
12106
12107 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
12108 Define.
12109 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
12110 LOAD_PIC_REG_STR.
12111
b1da7dd9
JM
121122012-02-03 Joseph Myers <joseph@codesourcery.com>
12113
12114 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
12115 (SETUP_PIC_REG): Use GET_PC_THUNK.
12116 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
12117 macro.
12118
9a1d9254
JM
121192012-02-03 Joseph Myers <joseph@codesourcery.com>
12120
12121 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
12122 for non-PIC compilation.
12123 (SETUP_PIC_REG): Add .p2align directive.
12124 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
12125 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
12126 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12127 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12128 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12129 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12130 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
12131 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12132 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12133 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12134 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12135 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12136 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12137 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12138 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12139 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12140 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12141 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12142 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12143 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12144 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12145 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12146 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12147 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12148 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12149 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12150 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12151 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12152 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12153 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12154 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12155 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12156 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12157 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12158 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12159 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12160 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12161 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12162 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12163 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12164 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12165
65dc3b75
JM
121662012-02-03 Joseph Myers <joseph@codesourcery.com>
12167
12168 * math/tst-CMPLX.c: Include <stdio.h>.
12169
d55bf177
JM
121702012-01-31 Joseph Myers <joseph@codesourcery.com>
12171
12172 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
12173 float.
12174 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12175 * sysdeps/sparc/bits/mathdef.h: Likewise.
12176
69db4f8f
MP
121772012-01-31 Marek Polacek <polacek@redhat.com>
12178
12179 * libio/libio.h: Don't define _PARAMS.
12180 * locale/programs/config.h: Don't define PARAMS.
12181 * stdlib/strtol_l.c: Likewise.
12182 (__strtol_l): Remove PARAMS from the prototype.
12183
41b81892
UD
121842012-01-31 Ulrich Drepper <drepper@gmail.com>
12185
3b49edc0
UD
12186 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
12187 names. Just use the correct names. Remove unnecessary wrapper
12188 functions.
12189 * malloc/arena.c: Likewise.
12190 * malloc/hooks.c: Likewise.
12191
41b81892
UD
12192 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
12193 ARENA_TEST says not to. Simplify test for creation of a new arena.
12194 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
12195
27a25b6e
UD
121962012-01-30 Ulrich Drepper <drepper@gmail.com>
12197
12198 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
12199 into tail calls.
12200 (update_get_addr): New function.
12201 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
12202 GET_ADDR_MODULE parameter.
12203
c8a89e7d
JM
122042012-01-30 Joseph Myers <joseph@codesourcery.com>
12205
12206 * crypt/cert.c: Remove __STDC__ conditionals.
12207 * crypt/crypt-entry.c: Likewise.
12208 * crypt/crypt_util.c: Likewise.
12209 * libio/filedoalloc.c: Likewise.
12210 * libio/fileops.c: Likewise.
12211 * libio/genops.c: Likewise.
12212 * libio/iofclose.c: Likewise.
12213 * libio/iofdopen.c: Likewise.
12214 * libio/iofopen.c: Likewise.
12215 * libio/iofopen64.c: Likewise.
12216 * libio/iogetdelim.c: Likewise.
12217 * libio/iopopen.c: Likewise.
12218 * libio/obprintf.c: Likewise.
12219 * libio/oldfileops.c: Likewise.
12220 * libio/oldiofclose.c: Likewise.
12221 * libio/oldiofdopen.c: Likewise.
12222 * libio/oldiofopen.c: Likewise.
12223 * libio/oldiopopen.c: Likewise.
12224 * libio/wfiledoalloc.c: Likewise.
12225 * libio/wgenops.c: Likewise.
12226 * locale/programs/xmalloc.c: Likewise.
12227 * misc/syslog.c: Likewise.
12228 * stdio-common/xbug.c: Likewise.
12229 * string/memchr.c: Likewise.
12230 * string/memcmp.c: Likewise.
12231 * string/memrchr.c: Likewise.
12232 * string/rawmemchr.c: Likewise.
12233 * sysdeps/posix/getcwd.c: Likewise.
12234 * time/strftime_l.c: Likewise.
12235
3b100462
JM
122362012-01-30 Joseph Myers <joseph@codesourcery.com>
12237
12238 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
12239 * config.make.in (config-cflags-sse2avx): Define.
12240 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
12241 Fix typo.
12242
607998af
CM
122432012-01-29 Chris Metcalf <cmetcalf@tilera.com>
12244
12245 * scripts/config.guess: Update from upstream config git repository.
12246 * scripts/config.sub: Likewise.
12247
3601428f
CM
122482012-01-28 Chris Metcalf <cmetcalf@tilera.com>
12249
3ac8b282
CM
12250 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
12251 (EM_NUM): Update.
12252 (R_TILEPRO_*, R_TILEGX_*): New macros.
12253
e034841e
CM
12254 * scripts/firstversions.awk: Fix bug in version range handling.
12255
540d7568
CM
12256 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
12257
3601428f
CM
12258 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
12259
463de862
CM
12260 * include/sys/epoll.h: New file.
12261 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
12262 libc_hidden_def.
12263
73139a76
UD
122642012-01-28 Ulrich Drepper <drepper@gmail.com>
12265
96bc5b45
UD
12266 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
12267 Avoid unnecessary __WORDSIZE == 64 test.
12268 (fmaxf): Use VEX format if possible.
12269 (fmax): Likewise.
12270 (fminf): Likewise.
12271 (fmin): Likewise.
12272
56f6f6a2
UD
12273 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
12274 * math/math_private.h: Remove libc_fegetround* and
12275 libc_fesetround*.
12276 * sysdeps/i386/configure.in: Check for -msse2avx.
12277 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
12278 also if SSE2AVX is defined.
12279 Remove libc_fegetround* and libc_fesetround*.
12280 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
12281 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
12282 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
12283 of HAS_YMM_USABLE.
12284 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12285 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12286 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12287 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12288 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12289
73139a76
UD
12290 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
12291
d73f93a4
AZ
122922012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12293
12294 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
12295 size is not set.
12296 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12297
6ee65ed6
UD
122982012-01-27 Ulrich Drepper <drepper@gmail.com>
12299
12300 [BZ #13618]
12301 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
12302 relocation.
12303 * Makeconfig (libm): Define.
12304 * elf/Makefile: Add rules to build and run tst-relsort1.
12305 * elf/tst-relsort1.c: New file.
12306 * elf/tst-relsort1mod1.c: New file.
12307 * elf/tst-relsort1mod2.c: New file.
12308
8db21882
JM
123092012-01-27 Joseph Myers <joseph@codesourcery.com>
12310
12311 * math/s_ldexp.c: Remove __STDC__ conditionals.
12312 * math/s_ldexpf.c: Likewise.
12313 * math/s_ldexpl.c: Likewise.
12314 * math/s_nextafter.c: Likewise.
12315 * math/s_nexttowardf.c: Likewise.
12316 * math/s_significand.c: Likewise.
12317 * math/s_significandf.c: Likewise.
12318 * math/s_significandl.c: Likewise.
12319 * math/w_jnl.c: Likewise.
12320 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
12321 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
12322 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12323 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12324 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12325 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12326 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
12327 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12328 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12329 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12330 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12331 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12332 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12333 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
12334 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12335 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12336 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12337 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12338 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12339 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12340 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12341 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12342 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12343 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12344 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12345 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12346 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12347 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12348 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12349 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12350 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12351 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12352 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12353 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12354 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12355 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12356 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12357 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12358 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12359 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12360 * sysdeps/ieee754/k_standard.c: Likewise.
12361 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12362 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12363 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12364 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12365 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12366 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12367 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12368 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12369 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12370 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12371 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12372 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
12373 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12374 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12375 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12376 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12377 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12378 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12379 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12380 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12381 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12382 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12383 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12384 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12385 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12386 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12387 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12388 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12389 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12390 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12391 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12392 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
12393 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12394 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
12395 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12396 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
12397 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
12398 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12399 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
12400 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
12401 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
12402 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
12403 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12404 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
12405 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12406 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12407 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12408 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12409 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12410 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12411 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
12412 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12413 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12414 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
12415 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12416 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
12417 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
12418 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12419 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12420 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12421 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12422 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12423 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
12424 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12425 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12426 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12427 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12428 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
12429 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
12430 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12431 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12432 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12433 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12434 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12435 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12436 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12437 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
12438 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12439 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
12440 * sysdeps/ieee754/s_matherr.c: Likewise.
12441 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
12442 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12443 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12444 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12445
965a54a4
JM
124462012-01-26 Joseph Myers <joseph@codesourcery.com>
12447
12448 * crypt/md5.h: Remove __STDC__ conditionals.
12449 * libio/libioP.h: Likewise.
12450 * locale/programs/config.h: Likewise.
12451 * sysdeps/generic/sysdep.h: Likewise.
12452 * sysdeps/i386/asm-syntax.h: Likewise.
12453 * sysdeps/s390/asm-syntax.h: Likewise.
12454 * sysdeps/unix/sysdep.h: Likewise.
12455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12457
7071ad79
JM
124582012-01-26 Joseph Myers <joseph@codesourcery.com>
12459
12460 * libio/libio.h: Remove __STDC__ conditionals.
12461 * malloc/obstack.h: Likewise.
12462 * math/complex.h: Likewise.
12463 * math/math.h: Likewise.
12464 * sysdeps/generic/_G_config.h: Likewise.
12465 * sysdeps/gnu/_G_config.h: Likewise.
12466 * sysdeps/mach/hurd/_G_config.h: Likewise.
12467 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12468 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12469 * sysdeps/sparc/bits/mathdef.h: Likewise.
12470
afc5ed09
UD
124712012-01-26 Ulrich Drepper <drepper@gmail.com>
12472
12473 [BZ #13583]
12474 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 12475 Clean up HAS_* macros.
afc5ed09 12476 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
12477 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
12478 possible.
12479 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
12480 HAS_AVX.
12481 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12482 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12483 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12484 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12485 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 12486
bdb6de1d
JM
124872012-01-25 Joseph Myers <joseph@codesourcery.com>
12488
12489 * elf/tst-unique3.cc (gets): Remove declaration.
12490 * elf/tst-unique3lib.cc (gets): Likewise.
12491 * elf/tst-unique3lib2.cc (gets): Likewise.
12492 * elf/tst-unique4.cc (gets): Likewise.
12493
b15549e6
UD
124942012-01-24 Ulrich Drepper <drepper@gmail.com>
12495
12496 * include/stdio.h: Add C++ protection. Add gets declarations and
12497 definitions.
12498 * debug/tst-chk1.c: Don't declare gets here.
12499 * stdio-common/tst-gets.c: Likewise.
12500
a037381f
JM
125012012-01-24 Joseph Myers <joseph@codesourcery.com>
12502
12503 * posix/glob: Remove directory.
12504
f1d4aa75
JM
125052012-01-24 Joseph Myers <joseph@codesourcery.com>
12506
12507 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
12508
81c0c964
PT
125092012-01-22 Pino Toscano <toscano.pino@tiscali.it>
12510
12511 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
12512 of the non-standard EPFNOSUPPORT.
12513
0ea698ae
ST
125142011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
12515
12516 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
12517 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
12518 ANYWHERE set to 1 only on KERN_NO_SPACE error.
12519
d220b117
UD
125202012-01-21 Ulrich Drepper <drepper@gmail.com>
12521
12522 * wcsmbs/uchar.h: Test __STDC_VERSION__.
12523
3e1aa84e
UD
125242012-01-20 Ulrich Drepper <drepper@gmail.com>
12525
12526 * nscd/aicache.c (addhstaiX): Do not cache negative results of
12527 transient errors.
12528 * nscd/grpcache.c (cache_addgr): Likewise.
12529 * nscd/hstcache.c (cache_addhst): Likewise.
12530 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12531 * nscd/pwdcache.c (cache_addpw): Likewise.
12532 * nscd/servicescache.c (cache_addserv): Likewise.
12533
400aa020
UD
125342012-01-16 Ulrich Drepper <drepper@gmail.com>
12535
d77e7869
UD
12536 * malloc/malloc.c: Various cleanups.
12537 * malloc/hooks.c: Likewise.
12538
400aa020
UD
12539 * stdlib/Makefile (tests): Add bug-fmtmsg1.
12540 * stdlib/bug-fmtmsg1.c: New file.
12541
12542 * stdlib/fmtmsg.c (init): Add missing unlock.
12543 Patch by Peng Haitao <penght@cn.fujitsu.com>.
12544
e0a309cf
MP
125452012-01-12 Marek Polacek <polacek@redhat.com>
12546
12547 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
12548 and _GNU_SOURCE.
12549
929d11c7
WS
125502012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12551
12552 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
12553 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
12554 macro to ensure uniqueness of label name.
12555 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12556 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12557
41d0e869
UD
125582012-01-11 Ulrich Drepper <drepper@gmail.com>
12559
0cc5ed3b
UD
12560 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
12561
41d0e869
UD
12562 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
12563 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12564 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12565 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
12566
a47a831a
UD
125672012-01-10 Ulrich Drepper <drepper@gmail.com>
12568
daa891c0
UD
12569 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
12570
12571 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
12572 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12573 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
12574
e58ef0f2
UD
12575 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
12576
a47a831a 12577 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
12578 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12579 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 12580 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
12581
12582 * math/bits/math-finite.h: Add ldexp support.
12583
a0bfc9c7
MP
125842012-01-10 Marek Polacek <polacek@redhat.com>
12585
12586 * locale/programs/localedef.h (show_archive_content): Add noreturn
12587 attribute.
12588
d6e97a1d
UD
125892012-01-09 Ulrich Drepper <drepper@gmail.com>
12590
12591 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
12592
d5835c26
UD
125932012-01-08 Ulrich Drepper <drepper@gmail.com>
12594
e5f484c6
UD
12595 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
12596
d5835c26
UD
12597 * io/Makefile (headers): Add bits/poll2.h.
12598
d1f741e9
WS
125992011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
12600
12601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
12602 typo #include statement.
12603
ec09c1c4
UD
126042012-01-08 Ulrich Drepper <drepper@gmail.com>
12605
12606 * include/sys/cdefs.h: Define __attribute_alloc_size.
12607 * catgets/gencat.c: Add alloc_size attribute and apply consistently
12608 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
12609 * elf/pldd.c: Likewise.
12610 * iconv/iconv_charmap.c: Likewise.
12611 * iconv/iconvconfig.c: Likewise.
12612 * iconv/strtab.c: Likewise.
12613 * locale/programs/locale.c: Likewise.
12614 * locale/programs/localedef.h: Likewise.
12615 * locale/programs/simple-hash.c: Likewise.
12616 * nscd/nscd.h: Likewise.
12617 * nss/makedb.c: Likewise.
12618 * sysdeps/generic/ldconfig.h: Likewise.
12619 * locale/programs/localedef.c: Remove xmalloc prototype.
12620 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
12621
20b38e03
PP
126222012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12623
12624 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
12625 appropriate.
12626
a0da5fe1
UD
126272012-01-08 Ulrich Drepper <drepper@gmail.com>
12628
1d5a644a 12629 * math/Makefile (tests): Add tst-CMPLX.
669704fd 12630 * math/tst-CMPLX.c: New file.
1d5a644a 12631
8784a6db
UD
12632 * math/complex.h (CMPLXL): Fix typo.
12633
d9a216c0
UD
12634 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
12635 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
12636 GLIBC_2.16.
12637 * debug/tst-chk1.c: Add poll and ppoll tests.
12638 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
12639 * include/sys/poll.h: Add hidden proto for ppoll.
12640 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
12641 * sysdeps/mach/hurd/ppoll.c: Likewise.
12642 * io/ppoll.c: Likewise.
12643 * debug/poll_chk.c: New file.
12644 * debug/ppoll_chk.c: New file.
12645 * include/bits/poll2.h: New file.
12646 * io/bits/poll2.h: New file.
12647
ac097f5c
UD
12648 [BZ #1350]
12649 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
12650
2119dcfa
UD
12651 * configure.in: static is always set to yes. Remove.
12652 * config.make.in: Don't set build-static.
12653 * Makeconfig: Remove use of build-static.
12654 * dlfcn/Makefile: Likewise.
12655 * elf/Makefile: Likewise.
12656 * math/Makefile: Likewise.
12657 * misc/Makefile: Likewise.
12658 * nptl/Makefile: Likewise.
12659 * sysdeps/mach/hurd/Makefile: Likewise.
12660
121766a9
UD
12661 * configure.in: PWD_P is not used anymore.
12662 * config.make.in: Remove PWD_P entry.
12663
51a1d39c 12664 * configure.in: Remove last remnants of RANLIB.
8720d066 12665 No need to check for signed size_t anymore.
215f4bdc
UD
12666 Don't set libc_commonpagesize and libc_relro_required here for Alpha
12667 and IA-64.
3857022a 12668 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
12669 * aclocal.m4: Likewise.
12670
d3ed7225
UD
12671 * wcsmbs/mbrtoc16.c: Implement using towc function.
12672 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
12673 * wcsmbs/wcsmbsload.c: Likewise.
12674 * iconv/gconv_simple.c: Likewise.
12675 * iconv/gconv_int.h: Likewise.
12676 * iconv/gconv_builtin.h: Likewise.
12677 * iconv/iconv_prog.c: Remove CHAR16 handling.
12678
12679 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
12680
12681 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
12682
a0da5fe1
UD
12683 * configure.in: Remove --with-elf and --enable-bounded options.
12684 Dont set base_machine for ia64. More non-ELF conditions removed.
12685 Remove testing and setting of leading underscore information.
12686 * config.make.in (build-bounded): Set to no.
12687 * config.h.in: Remove NO_UNDERSCORES entry.
12688 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
12689 them.
12690 * csu/start.c: Remove !NO_UNDERSCORE code.
12691 * locale/localeinfo.h: Likewise.
12692 * sysdeps/generic/machine-gmon.h: Likewise.
12693 * sysdeps/generic/sysdep.h: Likewise.
12694 * sysdeps/i386/sysdep.h: Likewise.
12695 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12696 * sysdeps/mach/sysdep.h: Likewise.
12697 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12698 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12699 * sysdeps/sh/sysdep.h: Likewise.
12700 * sysdeps/sparc/sparc32/alloca.S: Likewise.
12701 * sysdeps/unix/i386/sysdep.S: Likewise.
12702 * sysdeps/unix/sparc/start.c: Likewise.
12703 * sysdeps/unix/sparc/sysdep.S: Likewise.
12704 * sysdeps/unix/sparc/sysdep.h: Likewise.
12705 * sysdeps/unix/start.c: Likewise.
12706 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12707 * sysdeps/x86_64/sysdep.h: Likewise.
12708
df78418a
UD
127092012-01-07 Ulrich Drepper <drepper@gmail.com>
12710
a784e502
UD
12711 [BZ #13553]
12712 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
12713 for non-gcc.
12714 * argp/argp-fmtstream.h: Use const instead __const.
12715 * argp/argp.h: Likewise.
12716 * assert/assert.h: Likewise.
12717 * bits/fenv.h: Likewise.
12718 * bits/sched.h: Likewise.
12719 * bits/sigset.h: Likewise.
12720 * bits/sigthread.h: Likewise.
12721 * catgets/nl_types.h: Likewise.
12722 * conform/data/pthread.h-data: Likewise.
12723 * crypt/crypt-private.h: Likewise.
12724 * crypt/crypt.h: Likewise.
12725 * crypt/crypt_util.c: Likewise.
12726 * ctype/ctype.h: Likewise.
12727 * debug/execinfo.h: Likewise.
12728 * debug/mbsnrtowcs_chk.c: Likewise.
12729 * debug/mbsrtowcs_chk.c: Likewise.
12730 * debug/wcsnrtombs_chk.c: Likewise.
12731 * debug/wcsrtombs_chk.c: Likewise.
12732 * debug/wcstombs_chk.c: Likewise.
12733 * dirent/dirent.h: Likewise.
12734 * dlfcn/dlfcn.h: Likewise.
12735 * elf/neededtest4.c: Likewise.
12736 * grp/grp.h: Likewise.
12737 * gshadow/gshadow.h: Likewise.
12738 * iconv/gconv.h: Likewise.
12739 * iconv/gconv_int.h: Likewise.
12740 * iconv/gconv_simple.c: Likewise.
12741 * iconv/iconv.h: Likewise.
12742 * iconv/loop.c: Likewise.
12743 * iconv/skeleton.c: Likewise.
12744 * include/aio.h: Likewise.
12745 * include/aliases.h: Likewise.
12746 * include/argz.h: Likewise.
12747 * include/arpa/inet.h: Likewise.
12748 * include/assert.h: Likewise.
12749 * include/dirent.h: Likewise.
12750 * include/dlfcn.h: Likewise.
12751 * include/execinfo.h: Likewise.
12752 * include/fcntl.h: Likewise.
12753 * include/fenv.h: Likewise.
12754 * include/glob.h: Likewise.
12755 * include/grp.h: Likewise.
12756 * include/libintl.h: Likewise.
12757 * include/mntent.h: Likewise.
12758 * include/netdb.h: Likewise.
12759 * include/pwd.h: Likewise.
12760 * include/rpc/netdb.h: Likewise.
12761 * include/sched.h: Likewise.
12762 * include/search.h: Likewise.
12763 * include/shadow.h: Likewise.
12764 * include/signal.h: Likewise.
12765 * include/stdio.h: Likewise.
12766 * include/stdlib.h: Likewise.
12767 * include/string.h: Likewise.
12768 * include/sys/socket.h: Likewise.
12769 * include/sys/stat.h: Likewise.
12770 * include/sys/statfs.h: Likewise.
12771 * include/sys/statvfs.h: Likewise.
12772 * include/sys/syslog.h: Likewise.
12773 * include/sys/time.h: Likewise.
12774 * include/sys/uio.h: Likewise.
12775 * include/time.h: Likewise.
12776 * include/unistd.h: Likewise.
12777 * include/utmp.h: Likewise.
12778 * include/wchar.h: Likewise.
12779 * include/wctype.h: Likewise.
12780 * inet/aliases.h: Likewise.
12781 * inet/arpa/inet.h: Likewise.
12782 * inet/netinet/ether.h: Likewise.
12783 * inet/netinet/in.h: Likewise.
12784 * intl/libintl.h: Likewise.
12785 * io/bits/fcntl2.h: Likewise.
12786 * io/fcntl.h: Likewise.
12787 * io/ftw.h: Likewise.
12788 * io/sys/poll.h: Likewise.
12789 * io/sys/stat.h: Likewise.
12790 * io/sys/statfs.h: Likewise.
12791 * io/sys/statvfs.h: Likewise.
12792 * io/utime.h: Likewise.
12793 * libio/bits/stdio.h: Likewise.
12794 * libio/bits/stdio2.h: Likewise.
12795 * libio/libio.h: Likewise.
12796 * libio/libioP.h: Likewise.
12797 * libio/stdio.h: Likewise.
12798 * locale/lc-ctype.c: Likewise.
12799 * locale/locale.h: Likewise.
12800 * login/utmp.h: Likewise.
12801 * malloc/arena.c: Likewise.
12802 * malloc/malloc.c: Likewise.
12803 * malloc/malloc.h: Likewise.
12804 * malloc/mcheck.c: Likewise.
12805 * malloc/mtrace.c: Likewise.
12806 * math/bits/mathcalls.h: Likewise.
12807 * math/fenv.h: Likewise.
12808 * math/math_private.h: Likewise.
12809 * misc/bits/error.h: Likewise.
12810 * misc/bits/syslog.h: Likewise.
12811 * misc/err.h: Likewise.
12812 * misc/error.h: Likewise.
12813 * misc/fstab.h: Likewise.
12814 * misc/mntent.h: Likewise.
12815 * misc/regexp.h: Likewise.
12816 * misc/search.h: Likewise.
12817 * misc/sgtty.h: Likewise.
12818 * misc/sys/mman.h: Likewise.
12819 * misc/sys/syslog.h: Likewise.
12820 * misc/sys/uio.h: Likewise.
12821 * misc/sys/xattr.h: Likewise.
12822 * misc/ttyent.h: Likewise.
12823 * nis/rpcsvc/ypclnt.h: Likewise.
12824 * nss/nss.h: Likewise.
12825 * posix/bits/unistd.h: Likewise.
12826 * posix/fnmatch.h: Likewise.
12827 * posix/glob.h: Likewise.
12828 * posix/sched.h: Likewise.
12829 * posix/spawn.h: Likewise.
12830 * posix/sys/wait.h: Likewise.
12831 * posix/unistd.h: Likewise.
12832 * posix/wordexp.h: Likewise.
12833 * pwd/pwd.h: Likewise.
12834 * resolv/netdb.h: Likewise.
12835 * resource/sys/resource.h: Likewise.
12836 * rt/aio.h: Likewise.
12837 * rt/bits/mqueue2.h: Likewise.
12838 * rt/mqueue.h: Likewise.
12839 * shadow/shadow.h: Likewise.
12840 * signal/signal.h: Likewise.
12841 * socket/send.c: Likewise.
12842 * socket/sendto.c: Likewise.
12843 * socket/sys/socket.h: Likewise.
12844 * stdio-common/printf.h: Likewise.
12845 * stdlib/bits/stdlib.h: Likewise.
12846 * stdlib/fmtmsg.h: Likewise.
12847 * stdlib/monetary.h: Likewise.
12848 * stdlib/stdlib.h: Likewise.
12849 * stdlib/ucontext.h: Likewise.
12850 * streams/stropts.h: Likewise.
12851 * string/argz.h: Likewise.
12852 * string/bits/string2.h: Likewise.
12853 * string/string.h: Likewise.
12854 * string/strings.h: Likewise.
12855 * sunrpc/rpc/auth.h: Likewise.
12856 * sunrpc/rpc/auth_des.h: Likewise.
12857 * sunrpc/rpc/clnt.h: Likewise.
12858 * sunrpc/rpc/netdb.h: Likewise.
12859 * sunrpc/rpc/pmap_clnt.h: Likewise.
12860 * sunrpc/rpc/xdr.h: Likewise.
12861 * sysdeps/generic/inttypes.h: Likewise.
12862 * sysdeps/generic/net/if.h: Likewise.
12863 * sysdeps/generic/sys/swap.h: Likewise.
12864 * sysdeps/gnu/net/if.h: Likewise.
12865 * sysdeps/gnu/utmpx.h: Likewise.
12866 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
12867 * sysdeps/i386/i486/bits/string.h: Likewise.
12868 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
12869 * sysdeps/s390/bits/string.h: Likewise.
12870 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
12871 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
12872 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
12873 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
12874 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12875 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
12876 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
12877 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
12878 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
12879 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
12880 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
12881 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12882 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
12883 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12884 * sysdeps/unix/sysv/linux/readv.c: Likewise.
12885 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
12886 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12887 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12888 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12889 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12890 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12891 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
12892 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
12893 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
12894 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
12895 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
12896 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
12897 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12898 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
12899 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
12900 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
12901 * sysvipc/sys/ipc.h: Likewise.
12902 * sysvipc/sys/msg.h: Likewise.
12903 * sysvipc/sys/sem.h: Likewise.
12904 * sysvipc/sys/shm.h: Likewise.
12905 * termios/termios.h: Likewise.
12906 * time/sys/time.h: Likewise.
12907 * time/time.h: Likewise.
12908 * wcsmbs/bits/wchar2.h: Likewise.
12909 * wcsmbs/uchar.h: Likewise.
12910 * wcsmbs/wchar.h: Likewise.
12911 * wctype/wctype.h: Likewise.
12912
0269750c
UD
12913 [BZ #13551]
12914 * Makeconfig: Remove all but ELF support including AIX support.
12915 * Makerules: Likewise.
12916 * config.h.in: Likewise.
12917 * config.make.in: Likewise.
12918 * configure: Likewise.
12919 * configure.in: Likewise.
12920 * csu/Makefile: Likewise.
12921 * csu/version.c: Likewise.
12922 * debug/Makefile: Likewise.
12923 * dlfcn/Makefile: Likewise.
12924 * elf/Makefile: Likewise.
12925 * extra-lib.mk: Likewise.
12926 * iconv/Makefile: Likewise.
12927 * include/libc-symbols.h: Likewise.
12928 * include/shlib-compat.h: Likewise.
12929 * resolv/Makefile: Likewise.
12930 * resolv/res_libc.c: Likewise.
12931 * rt/Makefile: Likewise.
12932 * sysdeps/i386/asm-syntax.h: Likewise.
12933 * sysdeps/i386/sysdep.h: Likewise.
12934 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12935 * sysdeps/mach/sysdep.h: Likewise.
12936 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
12937 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
12938 * sysdeps/s390/asm-syntax.h: Likewise.
12939 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12940 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12941 * sysdeps/sh/sysdep.h: Likewise.
12942 * sysdeps/unix/sparc/sysdep.h: Likewise.
12943 * sysdeps/wordsize-32/divdi3.c: Likewise.
12944 * sysdeps/x86_64/sysdep.h: Likewise.
12945
00bbd29b
UD
12946 * argp/Versions: Remove _argp_unlock_xxx.
12947
12948 [BZ #13559]
12949 * abilist/ld.abilist: Update. Adjust for removal of tls option.
12950 * abilist/libBrokenLocale.abilist: Likewise.
12951 * abilist/libanl.abilist: Likewise.
12952 * abilist/libc.abilist: Likewise.
12953 * abilist/libcrypt.abilist: Likewise.
12954 * abilist/libdl.abilist: Likewise.
12955 * abilist/libm.abilist: Likewise.
12956 * abilist/libnsl.abilist: Likewise.
12957 * abilist/libpthread.abilist: Likewise.
12958 * abilist/libresolv.abilist: Likewise.
12959 * abilist/librt.abilist: Likewise.
12960 * abilist/libthread_db.abilist: Likewise.
12961 * abilist/libutil.abilist: Likewise.
12962 * abilist/libnss_db.abilist: New file.
12963
12964 * scripts/abilist.awk: Add support for indirect functions.
12965
a2693a0e
UD
12966 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
12967
3f05895f
UD
12968 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
12969
ecb6fb48
UD
12970 * shlib-versions: Remove entries for ports architectures.
12971
664f8cb9
UD
12972 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
12973 files in ports.
12974 * elf/stackguard-macros.h: Remove support for IA-64.
12975 * elf/tst-auditmod1.c: Likewise.
12976 * sysdeps/generic/ldsodefs.h: Likewise.
12977
7ae81d88
UD
12978 * sysdeps/unix/sysv/linux/configure.in: Ports should define
12979 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
12980 configure files.
12981
bdeba135
UD
12982 [BZ #13552]
12983 * configure.in: Remove --enable-omitfp support.
12984 * FAQ.in: Adjust.
12985 * config.make.in: Likewise.
12986 * Makeconfig: Likewise.
12987 * manual/install.texi: Likewise.
12988
d75a0a62
UD
12989 In case anyone cares, the IA-64 architecture could move to ports.
12990 * sysdeps/ia64/*: Removed.
12991 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 12992 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 12993
dcc9756b
UD
12994 [BZ #13555]
12995 * configure.in: Remove entries for unsupported architectures.
12996
d3761ebc 12997 [BZ #13533]
9954432e
UD
12998 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
12999 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
13000 routines.
13001 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
13002 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
13003 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
13004 fall back to using wcrtomb.
13005 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
13006 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
13007 renaming.
13008 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
13009 * wcsmbs/tst-c16c32-1.c: New file.
13010
13011 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
13012 local variable.
13013
c3a87236
UD
13014 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
13015
28926a1b
UD
13016 * elf/tst-unique3.cc: Add explicit declaration of gets.
13017 * elf/tst-unique3lib.cc: Likewise.
13018 * elf/tst-unique3lib2.cc: Likewise.
13019 * elf/tst-unique4.cc: Likewise.
13020
df78418a
UD
13021 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
13022
8ecd6b2a
JM
130232012-01-06 Joseph Myers <joseph@codesourcery.com>
13024
13025 [BZ #13566]
13026 * assert/assert.h (static_assert): Don't define for C++.
13027 * libio/stdio.h (gets): Do declare for C++ <= C++11.
13028 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
13029
9f115170
UD
130302012-01-03 Ulrich Drepper <drepper@gmail.com>
13031
5e0d0300
UD
13032 * iconv/loop.c (single loop): Fix assertion in storing of
13033 remaining bytes.
13034
9f115170
UD
13035 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
13036
81fb02b0
UD
130372012-01-01 Ulrich Drepper <drepper@gmail.com>
13038
13039 * posix/getconf.c: Update copyright year.
13040 * nss/getent.c: Likewise.
a316c1f6 13041 * nss/makedb.c: Likewise.
81fb02b0
UD
13042 * iconv/iconvconfig.c: Likewise.
13043 * iconv/iconv_prog.c: Likewise.
13044 * elf/ldconfig.c: Likewise.
a316c1f6
UD
13045 * elf/pldd.c: Likewise.
13046 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
13047 * catgets/gencat.c: Likewise.
13048 * csu/version.c: Likewise.
13049 * elf/ldd.bash.in: Likewise.
13050 * elf/sprof.c (print_version): Likewise.
13051 * locale/programs/locale.c: Likewise.
13052 * locale/programs/localedef.c: Likewise.
a316c1f6 13053 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
13054 * nscd/nscd.c (print_version): Likewise.
13055 * debug/xtrace.sh: Likewise.
13056 * malloc/memusage.sh: Likewise.
13057 * malloc/mtrace.pl: Likewise.
13058 * debug/catchsegv.sh: Likewise.
13059
2ba92745
JJ
130602011-12-30 Jakub Jelinek <jakub@redhat.com>
13061
13062 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
13063 pure attribute.
13064
dadebdae
UD
130652011-12-24 Ulrich Drepper <drepper@gmail.com>
13066
d3761ebc 13067 [BZ #13533]
db6af3eb
UD
13068 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
13069 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
13070 transformations.
13071 * iconv/gconv_int.h: Likewise.
13072 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
13073 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
13074 from libc for GLIBC_2.16.
13075 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
13076 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
13077 * wcsmbs/uchar.h: Really define mbstate_t.
13078 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
13079 * wcsmbs/c16rtomb.c: New file.
13080 * wcsmbs/mbrtoc16.c: New file.
13081 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
13082 for C/POSIX locale.
13083 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
13084 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
13085
dadebdae
UD
13086 * wcsmbs/wchar.h: Add missing __restrict.
13087
67371b56
UD
130882011-12-23 Ulrich Drepper <drepper@gmail.com>
13089
74033a25
UD
13090 [BZ #13532]
13091 * time/Makefile (routines): Add timespec_get.
13092 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
13093 * time/time.h: Define TIME_UTC and declare timespec_get. Define
13094 timespec for ISO C11.
13095 * time/timespec_get.c: New file.
13096 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
13097 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
13098
380d7e87
UD
13099 [BZ #13531]
13100 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
13101 * stdlib/stdlib.h: Declare aligned_alloc.
13102 * Versions.def: Add GLIBC_2.16 for libc.
13103 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
13104
4e9e7a35
UD
13105 [BZ 13527]
13106 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
13107 ISO C11.
13108
380d7e87 13109 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
13110 code.
13111
03a71829
UD
13112 [BZ #13528]
13113 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
13114
839e283e
UD
13115 [BZ #13529]
13116 * assert/assert.h (static_assert): Define.
13117
ce5294e2 13118 * version.h: Update for 2.16 development version.
90fa7312 13119
8d44e150 13120 [BZ #13526]
d7809905
UD
13121 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
13122 _ISOC11_SOURCE.
13123
c0da14cd
UD
13124 * version.h (RELEASE): Bump for 2.15 release.
13125 * include/features.h (__GLIBC_MINOR__): Bump to 15.
13126
530a3249
MP
13127 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
13128 Patch by Marek Polacek <mpolacek@redhat.com>.
13129
67371b56
UD
13130 * bits/byteswap.h: Protect long long constants with __extension__.
13131 * sysdeps/i386/bits/byteswap.h: Likewise.
13132 * sysdeps/ia64/bits/byteswap.h: Likewise.
13133 * sysdeps/s390/bits/byteswap.h: Likewise.
13134 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13135
15db4de1
LD
131362011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13137
13138 [BZ #13540]
bbe315ea
LD
13139 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
13140 destination buffer.
15db4de1
LD
13141 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
13142
2b2596b1
MP
131432011-12-23 Marek Polacek <polacek@redhat.com>
13144
13145 * elf/dl-addr.c (determine_info): Add inline keyword.
13146 * elf/tst-auditmod4b.c (check_avx): Likewise.
13147 * elf/tst-auditmod6b.c (check_avx): Likewise.
13148 * elf/tst-auditmod6c.c (check_avx): Likewise.
13149 * elf/tst-auditmod7b.c (check_avx): Likewise.
13150
70c6c246
UD
131512011-12-23 Ulrich Drepper <drepper@gmail.com>
13152
13153 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
13154 !__SSE_MATH__.
13155
c044cf14
LD
131562011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13157
15db4de1 13158 [BZ #13540]
c044cf14
LD
13159 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
13160 processing for last bytes.
13161
6b13d9d9
BH
131622011-08-06 Bruno Haible <bruno@clisp.org>
13163
d455f537
BH
13164 [BZ #13061]
13165 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
13166 U+0385, not to U+1FEE.
13167
6b13d9d9
BH
13168 [BZ #13062]
13169 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
13170 entry for U+00A5 U+0301.
13171
db910efd
UD
131722011-12-22 Ulrich Drepper <drepper@gmail.com>
13173
27deeafc
UD
13174 [BZ #13166]
13175 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
13176 buffer for the output is too small.
13177
aed9d171
UD
13178 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
13179 optimization.
13180
db910efd
UD
13181 [BZ #13185]
13182 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
13183 SSE flags if possible.
13184
2bd779ae
LD
131852011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13186
e7f9dac3 13187 [BZ #13540]
2bd779ae
LD
13188 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
13189 processing for last bytes.
13190
154bfc16
JM
131912011-12-22 Joseph Myers <joseph@codesourcery.com>
13192
13193 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
13194 (syscall-list-default-options, syscall-list-default-condition)
13195 (syscall-list-includes): Define.
13196 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
13197 list of ABIs and options and #if conditions for each ABI. Do not
13198 handle common syscalls between ABIs specially.
13199 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
13200 Remove.
13201 (syscall-list-variants, syscall-list-32bit-options)
13202 (syscall-list-32bit-condition, syscall-list-64bit-options)
13203 (syscall-list-64bit-condition): Define.
13204 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
13205 (syscall-list-variants, syscall-list-32bit-options)
13206 (syscall-list-32bit-condition, syscall-list-64bit-options)
13207 (syscall-list-64bit-condition): Define.
13208 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
13209 Remove.
13210 (syscall-list-variants, syscall-list-32bit-options)
13211 (syscall-list-32bit-condition, syscall-list-64bit-options)
13212 (syscall-list-64bit-condition): Define.
13213 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
13214 Remove.
13215 (syscall-list-variants, syscall-list-32bit-options)
13216 (syscall-list-32bit-condition, syscall-list-64bit-options)
13217 (syscall-list-64bit-condition): Define.
13218
21eaf3a5
UD
132192011-12-22 Ulrich Drepper <drepper@gmail.com>
13220
16c6f992
UD
13221 * locale/iso-639.def: Add brx entry.
13222
41043168
UD
13223 [BZ #13328]
13224 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
13225 Proposed by Mariusz_Cukr <marcukr@op.pl>.
13226
21eaf3a5
UD
13227 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
13228 __feraiseexcept_renamed.
13229
e3a851a2
UD
132302011-12-21 Ulrich Drepper <drepper@gmail.com>
13231
4920765e
UD
13232 [BZ #13538]
13233 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
13234 EPOLLET with unsigned values.
13235 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13236 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13237
e3a851a2
UD
13238 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
13239 to large cancellation.
13240 * math/s_cacoshf.c: Likewise.
13241 * math/s_cacoshl.c: Likewise.
13242
b27e24b8
RK
132432011-11-18 Richard B. Kreckel <kreckel@ginac.de>
13244
13245 [BZ #13305]
aebefeee 13246 [BZ #12786]
b27e24b8
RK
13247 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
13248 * math/s_cacoshf.c: Likewise.
13249 * math/s_cacoshl.c: Likewise.
13250
ee190f67
UD
132512011-12-21 Ulrich Drepper <drepper@gmail.com>
13252
13253 [BZ #13439]
13254 * iconv/gconv.h: Define __GCONV_SWAP.
13255 * iconvdata/unicode.c: The swap bit must be stored in __flags.
13256 * iconvdata/utf-16.c: Likewise.
13257 * iconvdata/utf-32.c: Likewise.
13258
707f25df
AS
132592011-12-21 Andreas Schwab <schwab@linux-m68k.org>
13260
13261 [BZ #13524]
13262 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
13263 numerator after shifting it by one limb.
13264
d2daaa1e
RÁE
132652011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
13266
13267 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
13268 under [__USE_EXTERN_INLINES].
13269
a4647e72
UD
132702011-12-17 Ulrich Drepper <drepper@gmail.com>
13271
13272 [BZ #13446]
13273 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
13274
f0b264f1
AZ
132752011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13276
13277 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
13278 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
13279 optimized code.
13280 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
13281 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
13282 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
13283 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
13284 for strncasecmp/strncasecmp_l compilation.
13285 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
13286 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
13287
8ef4f244
MP
132882011-12-08 Marek Polacek <mpolacek@redhat.com>
13289
13290 [BZ #13484]
13291 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
13292 of __asm__.
13293
97ac2654
UD
132942011-12-17 Ulrich Drepper <drepper@gmail.com>
13295
13296 [BZ #13506]
13297 * time/tzfile.c (__tzfile_read): Check values from file header.
13298
91d2a845
WS
132992011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13300
13301 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
13302 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
13303 * powerpc/powerpc32/dl-start.S: Likewise.
13304 * powerpc/powerpc32/elf/start.S: Likewise.
13305 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13306 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
13307 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
13308 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
13309 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13310 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
13311 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
13312 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
13313 * powerpc/powerpc32/fpu/s_round.S: Likewise.
13314 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13315 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13316 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13317 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
13318 * powerpc/powerpc32/memset.S: Likewise.
13319 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13320 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13321 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13322 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13323 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13324 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13325 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13326 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13327 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
13328 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
13329 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
13330 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13331 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13332
a1267ba1
AZ
133332011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13334
13335 * math/libm-test.inc: Added more nearbyint tests.
13336 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
13337 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
13338 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
13339 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
13340
ad8ac1bd
RL
133412011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
13342
13343 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
13344 FD_CLOEXEC.
13345
1d3e4b61
UD
133462011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13347
13348 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
13349 Add wcscpy-ssse3 wcscpy-c.
13350 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
13351 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
13352 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
13353 * sysdeps/x86_64/wcschr.S: New file.
13354 * sysdeps/x86_64/wcsrchr.S: New file.
13355 * string/test-strcmp.c: Remove checking of wcscmp function for
13356 wrong alignments.
13357 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
13358 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
13359 wcsrchr-sse2 wcsrchr-c.
13360 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
13361 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
13362 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
13363 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
13364 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
13365 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
13366 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
13367 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
13368 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
13369 * wcsmbc/wcschr.c (WCSCHR): New macro.
13370
5b330a2d
UD
133712011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13372
13373 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
13374 * wcsmbs/test-wcsrchr.c: New file.
13375 * string/test-strrchr.c: Add wcsrchr support.
13376 (WIDE): New macro.
13377 * wcsmbs/test-wcscpy.c: New file.
13378 * string/test-strcpy.c: Add wcscpy support.
13379 (WIDE): New macro.
26428b7c 13380
f039c043
UD
133812011-12-10 Ulrich Drepper <drepper@gmail.com>
13382
13383 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
13384 the inner loop.
13385
850fb039
AS
133862011-12-06 Andreas Schwab <schwab@linux-m68k.org>
13387
13388 [BZ #13472]
13389 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
13390
4efbd5cb
UD
133912011-12-04 Ulrich Drepper <drepper@gmail.com>
13392
52ff5dd0 13393 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 13394 Minor optimizations.
52ff5dd0 13395
4efbd5cb
UD
13396 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
13397 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
13398 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
13399
8a426e12
UD
134002011-12-03 Ulrich Drepper <drepper@gmail.com>
13401
aff2453d
UD
13402 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
13403 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
13404 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
13405 for gcc to avoid warnings.
13406 * inet/Makefile (tests): Add tst-checks.
13407 * inet/tst-checks.c: New file.
13408
13409 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
13410 warning.
13411
13412 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
13413 __wmemcmp_sse2.
13414
13415 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
13416 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
13417
8a426e12
UD
13418 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
13419
9bea3473
UD
134202011-12-02 Ulrich Drepper <drepper@gmail.com>
13421
3a965496
UD
13422 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
13423 problem.
13424
9bea3473
UD
13425 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
13426
f101631b
UD
134272011-11-29 Joseph Myers <joseph@codesourcery.com>
13428
13429 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
13430 conditional on GCC version.
13431 (__arch_compare_and_exchange_val_8_acq)
13432 (__arch_compare_and_exchange_val_16_acq)
13433 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
13434 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
13435 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
13436
a98275aa
UD
134372011-12-02 Joseph Myers <joseph@codesourcery.com>
13438
13439 * sysdeps/sh/backtrace.c: New file.
13440
d4cc29a2
AS
134412011-12-02 Andreas Schwab <schwab@redhat.com>
13442
13443 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
13444 parenthesis.
13445
6257af2d
AS
134462011-12-01 Andreas Schwab <schwab@redhat.com>
13447
13448 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
13449 falling back to utime.
13450
b5f44c1a
AS
134512011-11-30 Andreas Schwab <schwab@redhat.com>
13452
13453 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
13454 expectations for float.
13455
f3a6cc0a
AS
134562011-11-29 Andreas Schwab <schwab@redhat.com>
13457
13458 * locale/weight.h (findidx): Add parameter len.
13459 * locale/weightwc.h (findidx): Likewise.
13460 * posix/fnmatch_loop.c (FCT): Adjust caller.
13461 * posix/regcomp.c (build_equiv_class): Likewise.
13462 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
13463 * posix/regexec.c (check_node_accept_bytes): Likewise.
13464 * string/strcoll_l.c (STRCOLL): Likewise.
13465 * string/strxfrm_l.c (STRXFRM): Likewise.
13466
9d65ea3a
UD
134672011-11-17 Ulrich Drepper <drepper@gmail.com>
13468
13469 * Makefile.in: Remove CVSOPT handling.
13470 * configure.in: Remove use of AC_REVISION.
13471 * iconvdata/Makefile (distribute): No need to filter out CVS.
13472 * scripts/list-sources.sh: Remove CVS, subversion and monotone
13473 handling.
13474
5583a086
AS
134752011-11-16 Andreas Schwab <schwab@redhat.com>
13476
13477 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
13478 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
13479 [USE_AS_STRNCASECMP_L]: Likewise.
13480 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
13481 NO_TLS_DIRECT_SEG_REFS.
13482 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
13483 Fix argument offsets for non-PIC.
13484 [USE_AS_STRNCASECMP_L]: Likewise.
13485 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
13486 NO_TLS_DIRECT_SEG_REFS.
13487
d62a8200
UD
134882011-11-15 Ulrich Drepper <drepper@gmail.com>
13489
9d65ea3a 13490 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
13491 O_CLOEXEC.
13492 * locale/loadlocale.c (_nl_load_locale): Likewise.
13493
09f93bd3
AS
134942011-11-15 Andreas Schwab <schwab@redhat.com>
13495
446514f9
AS
13496 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
13497 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
13498 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
13499 (SYSCALL_GETTIME): Set errno on error.
13500
09f93bd3
AS
13501 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
13502 count references to noai6ai_cached.
13503
312be3f9
UD
135042011-11-15 Ulrich Drepper <drepper@gmail.com>
13505
13506 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
13507
13508 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
13509 FD_CLOEXEC for /proc/self/maps.
13510
13511 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
13512 FD_CLOEXEC for /proc/meminfo.
13513
13514 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
13515 gai.conf.
13516
13517 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
13518 FD_CLOEXEC for given file.
13519
13520 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
13521
13522 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
13523 FD_CLOEXEC for /etc/hosts.
13524 (_gethtent): Likewise.
13525
13526 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
13527
13528 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
13529 cancellation and set FD_CLOEXEC for /etc/netgroup.
13530
13531 * nss/nss_files/files-key.c (search): Don't allow cancellation when
13532 reading /etc/publickey.
13533
13534 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
13535 allow cancellation when reading /etc/group.
13536
13537 * nss/nss_files/files-alias.c (internal_setent): Don't allow
13538 cancellation.
13539 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
13540
13541 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
13542 when using data file.
13543
13544 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
13545
13546 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
13547 (write_nis_obj): Use "c" and "e" in fopen.
13548
13549 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
13550
13551 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
13552
13553 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
13554
13555 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
13556
13557 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
13558 locale.alias.
13559
13560 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
13561
13562 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
13563
13564 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
13565
13566 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
13567 file parsing and set FD_CLOEXEC.
13568
82af0fa8
UD
135692011-11-14 Ulrich Drepper <drepper@gmail.com>
13570
13571 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
13572
a5fb313c
AS
135732011-11-14 Andreas Schwab <schwab@redhat.com>
13574
13575 * malloc/arena.c (arena_get2): Don't call reused_arena when
13576 _int_new_arena failed.
13577
6abf3465
UD
135782011-11-14 Ulrich Drepper <drepper@gmail.com>
13579
13580 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
13581 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
13582 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
13583 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13584 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13585 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
13586 to compile strcasecmp and strncasecmp.
13587 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
13588 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
13589
13590 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
13591
76e3966e
UD
135922011-11-13 Ulrich Drepper <drepper@gmail.com>
13593
13594 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
13595 locale-defines.sym to gen-as-const-headers.
13596 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
13597 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
13598 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
13599 to compile strcasecmp and strncasecmp.
13600 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
13601 strcasecmp_l and strncasecmp_l.
13602 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
13603 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
13604 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
13605 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
13606 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
13607 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
13608 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
13609 * sysdeps/i386/i686/multiarch/strncase.S: New file.
13610 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
13611 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
13612 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
13613
ab26144e
UD
136142011-11-12 Ulrich Drepper <drepper@gmail.com>
13615
7edb22ef
UD
13616 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
13617 result of SYSDEP_GETTIME_CPU to retval.
13618 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
13619 parameter list to macro. Remove trailing semicolon. Adjust users.
13620
9694fc44
UD
13621 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
13622 variable.
13623
8ad89ef8
UD
13624 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
13625 mantissa words.
13626 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13627
0c822ef9
UD
13628 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
13629 from unused variable.
13630
874e0564
UD
13631 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
13632 DWARF definitions.
13633 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
13634 for assembling.
13635
3a2edc79
UD
13636 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
13637 over namespaces.
13638
f3c2577f
UD
13639 * sunrpc/rpc_prot.c (rejected): Fix case value.
13640
294ce126
UD
13641 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
13642 unsigned long long int to avoid warnings in shift.
13643
5e2b63c6
UD
13644 * posix/regex_internal.c (re_string_reconstruct): Actually use result
13645 of use of trans.
13646 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
13647 variable tmp.
13648
e7f4b08e
UD
13649 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
13650 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
13651 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
13652
ab26144e
UD
13653 * nis/nis_table.c (nis_list): Use variable of correct type for
13654 result of __follow_path call.
13655
8a6d5255
AZ
136562011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13657
13658 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
13659 of math functions ceil, trunc, floor, round, and sqrt, when
13660 avaliable on the platform.
13661 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
13662 name clash.
13663 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13664 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13665 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13666
aaddc98c
MP
136672011-10-30 Marek Polacek <mpolacek@redhat.com>
13668
13669 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
13670 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13671
95b7042b
RM
136722011-11-11 Roland McGrath <roland@hack.frob.com>
13673
13674 * include/unistd.h: Fix __readlink return type.
13675 Reported by Chris Metcalf <cmetcalf@tilera.com>.
13676
57769839
UD
136772011-11-11 Ulrich Drepper <drepper@gmail.com>
13678
13679 * stdlib/ucontext.h: Undo last change for makecontext.
13680
edc5984d
AS
136812011-11-11 Andreas Schwab <schwab@redhat.com>
13682
98591e58
AS
13683 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
13684
edc5984d
AS
13685 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
13686 * setjmp/setjmp.h: Mark functions as non-leaf.
13687 * setjmp/bits/setjmp2.h: Likewise.
13688 * stdlib/ucontext.h: Likewise.
13689
77cdc054
AS
136902011-11-10 Andreas Schwab <schwab@redhat.com>
13691
13692 * malloc/arena.c (_int_new_arena): Don't increment narenas.
13693 (reused_arena): Don't check arena limit.
13694 (arena_get2): Atomically check arena limit.
13695
fe72eebd
UD
136962011-11-08 Ulrich Drepper <drepper@gmail.com>
13697
5f078c32
UD
13698 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
13699 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
13700
fe72eebd
UD
13701 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
13702 instructions.
13703
ae1bc2fa
AS
137042011-11-07 Andreas Schwab <schwab@redhat.com>
13705
7583a88d
AS
13706 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
13707 handler when locking.
13708
ae1bc2fa
AS
13709 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13710 Fix size of allocated buffer.
13711
10fb0bfa
AS
137122011-11-04 Andreas Schwab <schwab@redhat.com>
13713
998832a4
AS
13714 [BZ #10103]
13715 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
13716 declarations for long double functions.
13717 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
13718
10fb0bfa
AS
13719 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
13720
3d7ba52b
AS
137212011-11-03 Andreas Schwab <schwab@redhat.com>
13722
a9ae54a1
AS
13723 * nscd/nscd.c (main): Don't start AVC thread until credentials are
13724 installed.
13725
3d7ba52b
AS
13726 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
13727 is disabled.
13728
bc8db248
ST
137292011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13730
13731 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
13732
45b96dd6
AS
137332011-11-01 Andreas Schwab <schwab@linux-m68k.org>
13734
647776f6
AS
13735 * include/alloca.h (stackinfo_alloca_round): Define.
13736 (extend_alloca): Use it.
13737 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
13738 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
13739 here.
13740
d91a8b93
AS
13741 * scripts/check-local-headers.sh: Ignore libaudit.h.
13742
45b96dd6
AS
13743 * nscd/Makefile (extra-objs): Make recursively expanded.
13744
432d41ce
UD
137452011-11-01 Ulrich Drepper <drepper@gmail.com>
13746
34372fc6
UD
13747 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
13748 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13749
fadb59f8
UD
13750 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
13751 * posix/tst-rfc3484-2.c: Likewise.
13752 * posix/tst-rfc3484-3.c: Likewise.
13753
78239589
UD
13754 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13755 process_vm_writev.
13756 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
13757 process_vm_writev.
13758 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
13759 process_vm_writev from libc using GLIBC_2.15 version.
13760
432d41ce
UD
13761 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
13762
02f9c6cf
PP
137632011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
13764
13765 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
13766 stack usage.
13767
3a2c0242
UD
137682011-10-31 Ulrich Drepper <drepper@gmail.com>
13769
f4ec4833
UD
13770 [BZ #13367]
13771 * nss/getent.c (initgroups_keys): Show error message in case no group
13772 names are given.
13773
3a2c0242
UD
13774 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
13775 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
13776 __bump_nl_timestamp.
13777 * nscd/connections (nscd_init): When host database is served open
13778 netlink socket and request notification about configuration changes.
13779 (main_loop_poll): Track netlink file descriptor and bump timestamp
13780 in case data becomes available.
13781 (main_loop_epoll): Likewise.
13782 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
13783 (database_pers_head): Add extra_data fileds.
13784 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
13785 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
13786 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
13787 Adjust caller.
13788 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
13789 in6ai data, call __free_in6ai.
13790 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
13791 Add -DHAVE_NETLINK.
13792 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
13793 interface information. Reuse previous data if netlink timestamp
13794 is not changed.
13795 (__bump_nl_timestamp): New function.
13796 (__free_in6ai): New function.
13797
636064eb
UD
137982011-10-30 Ulrich Drepper <drepper@gmail.com>
13799
13800 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
13801 close_not_cancel_no_status here.
13802 (__check_pf): Reorganize code a bit to not call close twice if OOM.
13803
9beb2334
UD
138042011-10-29 Ulrich Drepper <drepper@gmail.com>
13805
6ef76f3b
UD
13806 [BZ #13276]
13807 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
13808 return value.
13809
0ffc4f3e 13810 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
13811 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
13812 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
13813
cb95113e
UD
138142011-07-03 Andreas Jaeger <aj@suse.de>
13815
13816 [BZ #10709]
13817 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
13818 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
13819 * math/libm-test.inc (sin_test): Add test case.
13820
a1b560ff
UD
138212011-10-29 Ulrich Drepper <drepper@gmail.com>
13822
c9aaface
UD
13823 [BZ #13337]
13824 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
13825 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13826
d272e7f1
UD
13827 * elf/chroot_canon.c (chroot_canon): Cleanups.
13828
1bc33071
UD
13829 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
13830
1760874d
TJ
13831 [BZ #13335]
13832 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
13833 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13834
51d91b18
UD
13835 * string/test-strchr.c: Make usable for strchrnul testing.
13836 * string/test-strchrnul.c: New file.
13837 * string/Makefile (strop-tests): Add strchrnul.
13838
a1b560ff 13839 * po/it.po: Update from translation team.
b611fb81 13840 * po/es.po: Likewise.
a1b560ff 13841
a5b81e1f
UD
138422011-10-28 Ulrich Drepper <drepper@gmail.com>
13843
fd52bc6d
UD
13844 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
13845 the three constants needed as parameters. Drop the others.
13846 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
13847 __m128i_strloadu_tolower.
52e4b9eb
UD
13848 Create and initialize variable zero and use it in all the places
13849 where _mm_setzero_si128 was used.
fd52bc6d 13850
a5b81e1f
UD
13851 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
13852 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
13853 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
13854 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
13855 anymore.
13856 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
13857 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
13858 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
13859 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
13860 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
13861 __mpranred, __mptan.
13862 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
13863 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
13864 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
13865 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
13866 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
13867 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
13868 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
13869 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
13870 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
13871
b4343346
AS
138722011-10-28 Andreas Schwab <schwab@redhat.com>
13873
0c92d8a8
AS
13874 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
13875 redefine if SHARED.
13876 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
13877
b4343346
AS
13878 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
13879 wide char related routines to wcsmbs subdir.
13880
3871f58f
AS
138812011-10-27 Andreas Schwab <schwab@redhat.com>
13882
13883 [BZ #13344]
13884 * misc/sys/cdefs.h (__THROWNL): Define.
13885 * posix/unistd.h: Use __THREADNL instead of __THREAD
13886 for memory synchronization functions.
13887
94d44d9f
RM
138882011-10-26 Roland McGrath <roland@hack.frob.com>
13889
21b64b15 13890 [BZ #13349]
94d44d9f
RM
13891 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
13892 doesn't exist.
13893 * manual/stdio.texi (Obstack Streams): Node removed.
13894
f6ce9294
AS
138952011-10-26 Andreas Schwab <schwab@redhat.com>
13896
80479147
AS
13897 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
13898 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13899 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13900
f6ce9294
AS
13901 * math/math_private.h (math_force_eval): Allow non-addressable
13902 arguments.
13903 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
13904
618280a1
UD
139052011-10-25 Ulrich Drepper <drepper@gmail.com>
13906
e0016b11
UD
13907 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
13908 file is not needed.
13909
13910 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
13911 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13912 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13913 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13914 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13915 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13916 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13917 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
13918 Add AVX variants.
13919 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
13920 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
13921 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
13922 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
13923 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
13924 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
13925 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
13926 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
13927 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
13928 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
13929 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
13930 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
13931 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
13932 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
13933 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
13934 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
13935 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
13936 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
13937 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
13938
13939 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
13940 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
13941
618280a1
UD
13942 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
13943 place. Use VEX encoding when compiling for AVX.
13944
37822576
AS
139452011-10-25 Andreas Schwab <schwab@redhat.com>
13946
1f1e1947
AS
13947 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
13948 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13949
37822576
AS
13950 * string/test-strchr.c (do_test): Don't generate NUL bytes.
13951
31ea014d
UD
139522011-10-25 Ulrich Drepper <drepper@gmail.com>
13953
d7826aa1 13954 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 13955 useless if() expression.
d7826aa1
UD
13956 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13957 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13958 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13959 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13960 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13961 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13962 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13963 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13964 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13965 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13966 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13967 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13968 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13969 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13970 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13971 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13972 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13973 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13974 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13975
31ea014d
UD
13976 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
13977
16437fec
AS
139782011-10-25 Andreas Schwab <schwab@redhat.com>
13979
13980 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
13981 condition.
13982 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13983
31d3cc00
UD
139842011-10-25 Ulrich Drepper <drepper@gmail.com>
13985
13986 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
13987 .text section. Avoid duplicate constants.
13988 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13989 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13990 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13991 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13992 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13993 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13994 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13995 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13996 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13997 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
13998 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13999 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14000 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14001 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14002 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14003 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14004 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14005 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14006 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14007 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14008 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14009 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14010 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14011 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
14012 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
14013 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
14014 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
14015 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
14016 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
14017 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
14018 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
14019 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
14020 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14021 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
14022 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
14023 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
14024 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
14025 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
14026 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
14027 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
14028 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
14029 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
14030 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
14031 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
14032 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
14033
58985aa9
UD
140342011-10-24 Ulrich Drepper <drepper@gmail.com>
14035
202c9deb
UD
14036 * sysdeps/x86_64/dla.h: Move to ...
14037 * sysdeps/x86_64/fpu/dla.h: ...here.
14038 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
14039 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 14040
af968f62
UD
14041 * config.make.in: Add have-mfma4 entry.
14042 * configure.in: Substitute libc_cv_cc_fma4.
14043 * math/Makefile (dbl-only-routines): Add sincostab.
14044 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
14045 Use __sincostab not sincos.
14046 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
14047 name is a macro.
14048 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14049 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14050 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14051 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
14052 using __copysign.
14053 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
14054 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
14055 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
14056 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
14057 and __inv.
14058 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
14059 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
14060 __copysign.
14061 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
14062 define aliases when function name is a macro.
14063 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
14064 sysdeps/ieee754/dbl-64/sincos.tbl.
14065 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
14066 fma4-enabled routines.
14067 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
14068 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
14069 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
14070 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
14071 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
14072 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
14073 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
14074 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
14075 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
14076 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
14077 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
14078 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
14079 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
14080 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
14081 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
14082 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
14083 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
14084 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
14085 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
14086 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
14087 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
14088 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
14089 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
14090 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
14091 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
14092 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
14093 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
14094 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
14095 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
14096 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
14097
58985aa9
UD
14098 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
14099 rename.
14100 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14101 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14102 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14103 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14104 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14105 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14106 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14107 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14108
a201fbcf
AS
141092011-10-24 Andreas Schwab <schwab@redhat.com>
14110
14111 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
14112
fc2ee42a
LD
141132011-10-23 Ulrich Drepper <drepper@gmail.com>
14114
bb3129bd
UD
14115 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
14116
0275fff8
UD
14117 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
14118 prediction.
14119 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
14120
2fa2ae85
UD
14121 * string/strnlen.c: Don't define STRNLEN, reverse logic.
14122 Remove unused variable magic_bits.
14123 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
14124
fc2ee42a
LD
14125 * string/strnlen.c: Define and use STRNLEN macro.
14126 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
14127 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
14128 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
14129 * wcsmbs/wcslen.c: Define and use WCSLEN.
14130 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
14131 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
14132 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
14133 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
14134 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
14135 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
14136 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14137
ce7dd29f
LD
141382011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14139
14140 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14141 strnlen-sse2-no-bsf.
14142 Rename strlen-no-bsf to strlen-sse2-no-bsf.
14143 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
14144 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
14145 Add strnlen support.
14146 (USE_AS_STRNLEN): New macro.
14147 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
14148 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
14149 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
14150 * sysdeps/x86_64/wcslen.S: New file.
14151
979c70a3
MZ
141522011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
14153
14154 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
14155 XMM-moves are used for copying on small sizes.
14156
2d09f82f
LD
141572011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14158
14159 * wcsmbs/Makefile (strop-tests): Add wcschr.
14160 * wcsmbs/test-wcschr.c: New file.
14161 * string/test-strchr.c: Update.
14162 Add wcschr support.
14163 (WIDE): New macro.
14164
619fccca
LD
141652011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14166
2d09f82f 14167 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
14168 * wcsmbs/test-wcslen.c: New file.
14169 * string/test-strlen.c: Update.
14170 Add wcslen support.
14171 (WIDE): New macro.
14172
09f699ea
UD
141732011-10-23 Ulrich Drepper <drepper@gmail.com>
14174
14175 * po/it.po: Update from translation team.
14176
95584d3b
LD
141772011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14178
14179 * sysdeps/x86_64/wcscmp.S: Update.
14180 Fix wrong comparison semantics.
14181 wcscmp shall use signed comparison not unsigned.
14182 Don't use substraction to avoid overflow bug.
14183 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
14184 * wcsmbc/wcscmp.c: Likewise.
14185 * string/test-strcmp.c: Likewise.
14186 Add new tests to check cases with negative values.
14187
c8b3296b
UD
141882011-10-23 Ulrich Drepper <drepper@gmail.com>
14189
14190 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
14191 * sysdeps/x86_64/dla.h: ...here. New file.
14192 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
14193 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14194 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14195 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14196 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14197 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14198 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14199 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14200 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14201
246ad57a
AS
142022011-10-23 Andreas Schwab <schwab@linux-m68k.org>
14203
14204 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
14205 __ynl_finite aliases.
14206
a1a87169
UD
142072011-10-22 Ulrich Drepper <drepper@gmail.com>
14208
0d355eb7
UD
14209 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14210
a1a87169
UD
14211 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
14212 define DLA_FMA.
14213 [DLA_FMA] (EMULV): Use DLA_FMA.
14214 [DLA_FMA] (MUL12): Use EMULV.
14215 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
14216 that are not needed.
14217 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14218 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14219 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14220 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14221 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14222 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14223 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14224
ee2aafe0
AS
142252011-10-22 Andreas Schwab <schwab@linux-m68k.org>
14226
14227 * math/s_nan.c: Undef __nan.
14228 * math/s_nanf.c: Undef __nanf.
14229 * math/s_nanl.c: Undef __nanl.
14230 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
14231 "math_private.h".
14232
bc62c2fb
UD
142332011-10-22 Ulrich Drepper <drepper@gmail.com>
14234
77425c63
UD
14235 * math/s_catan.c: Add branch predictions.
14236 * math/s_catanf.c: Likewise.
14237 * math/s_catanh.c: Likewise.
14238 * math/s_catanhf.c: Likewise.
14239 * math/s_catanhl.c: Likewise.
14240 * math/s_catanl.c: Likewise.
14241 * math/s_cexp.c: Likewise.
14242 * math/s_cexpf.c: Likewise.
14243 * math/s_cexpl.c: Likewise.
14244 * math/s_clog.c: Likewise.
14245 * math/s_clog10.c: Likewise.
14246 * math/s_clog10f.c: Likewise.
14247 * math/s_clog10l.c: Likewise.
14248 * math/s_clogf.c: Likewise.
14249 * math/s_clogl.c: Likewise.
14250 * math/s_csqrt.c: Likewise.
14251 * math/s_csqrtf.c: Likewise.
14252 * math/s_csqrtl.c: Likewise.
14253 * math/s_ctanf.c: Likewise.
14254 * math/s_ctanh.c: Likewise.
14255 * math/s_ctanhf.c: Likewise.
14256 * math/s_ctanhl.c: Likewise.
14257 * math/s_ctanl.c: Likewise.
14258
bc62c2fb
UD
14259 * math/math_private.h: Define __nan, __nanf, __nanl.
14260 * math/s_cacosh.c: Include <math_private.h>.
14261 * math/s_cacoshl.c: Likewise.
14262 * math/s_casinh.c: Likewise.
14263 * math/s_casinhf.c: Likewise.
14264 * math/s_casinhl.c: Likewise.
14265 * math/s_ccos.c: Rely entire on ccosh.
14266 * math/s_ccosf.c: Rely entire on ccoshf.
14267 * math/s_ccosl.c: Rely entirely on ccoshl.
14268 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
14269 Remove tests for FE_INVALID.
14270 * math/s_ccoshf.c: Likewise.
14271 * math/s_ccoshl.c: Likewise.
14272 * math/s_csin.c: Likewise.
14273 * math/s_csinf.c: Likewise.
14274 * math/s_csinh.c Likewise.
14275 * math/s_csinhf.c: Likewise.
14276 * math/s_csinhl.c: Likewise.
14277 * math/s_csinl.c: Likewise.
14278 * math/s_ctan.c: Likewise.
14279 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
14280 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
14281 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
14282
8ec250a4
UD
142832011-10-21 Ulrich Drepper <drepper@gmail.com>
14284
c196fed8
UD
14285 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
14286 compilation problems.
14287
8ec250a4
UD
14288 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
14289 __builtin_expect.
14290
8d4f46c6
UD
142912011-10-20 Ulrich Drepper <drepper@gmail.com>
14292
ed72b654
UD
14293 * sysdeps/i386/configure.in: Test for -mfma4 option.
14294 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
14295 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
14296 COMMON_CPUID_INDEX_80000001.
14297 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
14298 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
14299 use it if FMA3 is not supported.
14300 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
14301
8d4f46c6
UD
14302 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
14303 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14304
d45c60c2
AS
143052011-10-20 Andreas Schwab <schwab@redhat.com>
14306
14307 [BZ #12892]
14308 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
14309 it would create a cycle with a link time dependency.
14310
d9a4d2ab
UD
143112011-10-19 Ulrich Drepper <drepper@gmail.com>
14312
855d1560
UD
14313 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
14314 instruction.
14315 * string/Makefile (strop-tests): Add rawmemchr.
14316 * string/test-rawmemchr.c: New file.
14317
d9a4d2ab
UD
14318 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
14319 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
14320 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
14321 when compiling str{,n}casecmp and when AVX is available. Hook up
14322 new optimized code in initializers.
14323
8f3b1ffe
AS
143242011-10-19 Andreas Schwab <schwab@redhat.com>
14325
14326 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
14327 __feraiseexcept instead of feraiseexcept.
14328
d38f1dba
UD
143292011-10-18 Ulrich Drepper <drepper@gmail.com>
14330
d9a8d0ab
UD
14331 * math/math_private.h: Define defaults for libc_fetestexcept and
14332 libc_feupdateenv.
14333 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
14334 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
14335 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14336 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14337 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14338 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14339 libc_fetestexcept and libc_feupdateenv.
14340
4855e3dd
UD
14341 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
14342 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
14343 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
14344 * sysdeps/x86_64/fpu/math_private.h: Define special version of
14345 libc_feholdexcept_setround.
14346
581d30e3
UD
14347 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
14348 Add s_nearbyint-c and s_nearbyintf-c.
14349 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
14350 nearbyintf inlines.
14351 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
14352 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
14353 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
14354 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
14355
d38f1dba
UD
14356 * math/math_private.h: Define defaults for libc_fegetround,
14357 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
14358 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
14359 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
14360 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
14361 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
14362 standard functions.
14363 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14364 Remove comments and hacks for old compiler versions.
14365 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14366 libc_fegetround, libc_fesetround, libc_feholdexcept, and
14367 libc_feholdexceptl.
14368
caa6c9d8
AS
143692011-10-18 Andreas Schwab <schwab@redhat.com>
14370
14371 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
14372 (__feraiseexcept_renamed): Add __NTH.
14373 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
14374 namespace violations.
14375
97c066e6
UD
143762011-10-17 Ulrich Drepper <drepper@gmail.com>
14377
99ce7b04
UD
14378 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
14379
1004d182
UD
14380 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
14381
228a984d
UD
14382 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
14383 recently added interfaces.
14384 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
14385
c8553a6a
UD
14386 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
14387 about macro parameter expansion.
14388
ed22dcf6
UD
14389 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
14390 __NO_MATH_INLINES is defined. Cleanups.
14391
14392 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
14393 and __floorf is target has SSE4.1.
14394 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
14395 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
14396 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
14397 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
14398
b171c137
UD
14399 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
14400 name.
14401 (floorf): Likewise.
14402
97c066e6
UD
14403 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
14404
629f62ef
AS
144052011-10-17 Andreas Schwab <schwab@redhat.com>
14406
49a43d80
AS
14407 * misc/sys/cdefs.h: Fix last change.
14408
629f62ef
AS
14409 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
14410 database lookup.
14411
e453f6cd
UD
144122011-10-16 Ulrich Drepper <drepper@gmail.com>
14413
aa78043a
UD
14414 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
14415
ad0f5cad
UD
14416 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
14417 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14418 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14419 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14420 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14421 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14422 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14423 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14424 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14425 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
14426 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
14427 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
14428 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
14429 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
14430 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
14431 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
14432 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
14433 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
14434 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
14435 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
14436 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
14437 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
14438
14439 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
14440 ceil, ceilf, floor, floorf.
14441
14442 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
14443 Perform IRELATIVE relocations last.
14444
e453f6cd
UD
14445 * elf/do-rel.h: Add another parameter nrelative, replacing the
14446 local variable with the same name. Change name of the function
14447 to end in Rel or Rela (uppercase).
14448 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
14449 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
14450 elf_dynamic_do_##reloc function.
14451
fd5bdc09
UD
144522011-10-15 Ulrich Drepper <drepper@gmail.com>
14453
79b195b5
UD
14454 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
14455 is sufficient, at least on modern CPUs.
14456
d4a28569
UD
14457 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
14458
b61099b5
UD
14459 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
14460 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
14461
bcf01e6d
UD
14462 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
14463 __expl_finite.
14464 * math/bits/math-finite.h: Add entries for exp.
14465 * math/e_expl.c: Add __*_finite alias.
14466 * sysdeps/i386/fpu/e_exp.S: Likewise.
14467 * sysdeps/i386/fpu/e_expf.S: Likewise.
14468 * sysdeps/i386/fpu/e_expl.c: Likewise.
14469 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14470 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14471 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14472 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14473 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
14474 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14475 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14476
ba1a0d59
UD
14477 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
14478 is sufficient, at least on modern CPUs.
14479
fd5bdc09
UD
14480 * ctype/ctype-info.c (__ctype_init): Define.
14481 * include/ctype.h (__ctype_init): Declare.
14482 (__ctype_b_loc): The variable is always initialized.
14483 (__ctype_toupper_loc): Likewise.
14484 (__ctype_tolower_loc): Likewise.
14485 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
14486 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
14487
7872cfb0
AS
144882011-10-15 Andreas Schwab <schwab@linux-m68k.org>
14489
b468825a
AS
14490 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
14491
7872cfb0
AS
14492 * configure.in: Also look in $cxxmachine/include for C++ system
14493 headers.
14494
be13f7bf
LD
144952011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14496
14497 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
14498 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
14499 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
14500 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
14501 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
14502 (USE_AS_WMEMCMP): New macro.
14503 Fixing indents.
14504 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
14505 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
14506 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
14507 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
14508 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14509 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
14510 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
14511 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
14512 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
14513 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
14514 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
14515 (USE_AS_WMEMCMP): New macro.
14516 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
14517 * sysdeps/string/test-memcmp.c: Update.
14518 Fix simple_wmemcmp.
14519 Add new tests.
14520 * wcsmbs/wmemcmp.c: Update.
14521 (WMEMCMP): New macro.
14522 Fix overflow bug.
14523
556a2007
AJ
145242011-10-12 Andreas Jaeger <aj@suse.de>
14525
14526 [BZ #13268]
14527 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
14528
538faaa7
UD
145292011-10-15 Ulrich Drepper <drepper@gmail.com>
14530
ab6737ff
UD
14531 * libio/iofwide.c (do_length): Avoid warning.
14532
538faaa7
UD
14533 * ctype/ctype.h (__isctype_f): Add missing __THROW.
14534
396a21b1
UD
145352011-10-14 Ulrich Drepper <drepper@gmail.com>
14536
cdf2901f
UD
14537 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
14538
38ad40ce
UD
14539 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
14540 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
14541 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
14542 * sysdeps/i386/i686/fpu/e_log.S: New file.
14543 * sysdeps/i386/i686/fpu/e_logf.S: New file.
14544 * sysdeps/i386/i686/fpu/e_logl.S: New file.
14545
396a21b1
UD
14546 * ctype/ctype.h: Add support for inlined isXXX functions when
14547 compiling C++ code.
14548
6b1f68c9
AS
145492011-10-14 Andreas Schwab <schwab@redhat.com>
14550
349290c0
AS
14551 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14552
6b1f68c9
AS
14553 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
14554
f2282d42
RM
145552011-10-13 Roland McGrath <roland@hack.frob.com>
14556
14557 [BZ #13291]
14558 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
14559
5298ffa8
AS
145602011-10-13 Andreas Schwab <schwab@redhat.com>
14561
714fad23
AS
14562 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
14563 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
14564 feraiseexcept.
14565
81dcc7fb
AS
14566 * sysdeps/x86_64/memrchr.S: Check for zero size.
14567
5298ffa8
AS
14568 * string/stratcliff.c: Add memrchr tests.
14569
951fbcec
LD
145702011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14571
14572 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14573 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
14574 rawmemchr-sse2 rawmemchr-sse2-bsf.
14575 * sysdeps/i386/i686/multiarch/memchr.S: New file.
14576 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
14577 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
14578 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
14579 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
14580 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
14581 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
14582 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
14583 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
14584 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
14585 * string/memrchr.c (MEMRCHR): New macro.
14586
0ac5ae23
UD
145872011-10-12 Ulrich Drepper <drepper@gmail.com>
14588
14589 Add integration with gcc's -ffinite-math-only and optimize wrapper
14590 functions in libm.
14591 * Versions.def: Define GLIBC_2.15 version for libm.
14592 * math/Makefile (headers): Add bits/math-finite.h.
14593 * math/bits/math-finite.h: New file.
14594 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
14595 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
14596 * math/e_acoshl.c: Add __*_finite alias.
14597 * math/e_acosl.c: Likewise.
14598 * math/e_asinl.c: Likewise.
14599 * math/e_atan2l.c: Likewise.
14600 * math/e_atanhl.c: Likewise.
14601 * math/e_coshl.c: Likewise.
14602 * math/e_exp10.c: Likewise.
14603 * math/e_exp10f.c: Likewise.
14604 * math/e_exp10l.c: Likewise.
14605 * math/e_exp2l.c: Likewise.
14606 * math/e_fmodl.c: Likewise.
14607 * math/e_gammal_r.c: Likewise.
14608 * math/e_hypotl.c: Likewise.
14609 * math/e_j0l.c: Likewise.
14610 * math/e_j1l.c: Likewise.
14611 * math/e_jnl.c: Likewise.
14612 * math/e_lgammal_r.c: Likewise.
14613 * math/e_log10l.c: Likewise.
14614 * math/e_log2l.c: Likewise.
14615 * math/e_logl.c: Likewise.
14616 * math/e_powl.c: Likewise.
14617 * math/e_sinhl.c: Likewise.
14618 * math/e_sqrtl.c: Likewise.
14619 * math/e_scalb.c: Completely rewritten and optimized.
14620 * math/e_scalbf.c: Likewise.
14621 * math/e_scalbl.c: Likewise.
14622 * math/w_acos.c: Likewise.
14623 * math/w_acosf.c: Likewise.
14624 * math/w_acosl.c: Likewise.
14625 * math/w_acosh.c: Likewise.
14626 * math/w_acoshf.c: Likewise.
14627 * math/w_acoshl.c: Likewise.
14628 * math/w_asin.c: Likewise.
14629 * math/w_asinf.c: Likewise.
14630 * math/w_asinl.c: Likewise.
14631 * math/w_atan2.c: Likewise.
14632 * math/w_atan2f.c: Likewise.
14633 * math/w_atan2l.c: Likewise.
14634 * math/w_atanh.c: Likewise.
14635 * math/w_atanhf.c: Likewise.
14636 * math/w_atanhl.c: Likewise.
14637 * math/w_exp10.c: Likewise.
14638 * math/w_exp10f.c: Likewise.
14639 * math/w_exp10l.c: Likewise.
14640 * math/w_fmod.c: Likewise.
14641 * math/w_fmodf.c: Likewise.
14642 * math/w_fmodl.c: Likewise.
14643 * math/w_j0.c: Likewise.
14644 * math/w_j0f.c: Likewise.
14645 * math/w_j0l.c: Likewise.
14646 * math/w_j1.c: Likewise.
14647 * math/w_j1f.c: Likewise.
14648 * math/w_j1l.c: Likewise.
14649 * math/w_jn.c: Likewise.
14650 * math/w_jnf.c: Likewise.
14651 * math/w_log.c: Likewise.
14652 * math/w_logf.c: Likewise.
14653 * math/w_logl.c: Likewise.
14654 * math/w_log10.c: Likewise.
14655 * math/w_log10f.c: Likewise.
14656 * math/w_log10l.c: Likewise.
14657 * math/w_log2.c: Likewise.
14658 * math/w_log2f.c: Likewise.
14659 * math/w_log2l.c: Likewise.
14660 * math/w_pow.c: Likewise.
14661 * math/w_powf.c: Likewise.
14662 * math/w_powl.c: Likewise.
14663 * math/w_remainder.c: Likewise.
14664 * math/w_remainderf.c: Likewise.
14665 * math/w_remainderl.c: Likewise.
14666 * math/w_scalb.c: Likewise.
14667 * math/w_scalbf.c: Likewise.
14668 * math/w_scalbl.c: Likewise.
14669 * math/w_sqrt.c: Likewise.
14670 * math/w_sqrtf.c: Likewise.
14671 * math/w_sqrtl.c: Likewise.
14672 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
14673 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
14674 used.
14675 * math/math_private.h: Declare __kernel_standard_f.
14676 * math/w_cosh.c: Remove cruft and optimize a bit.
14677 * math/w_coshf.c: Likewise.
14678 * math/w_coshl.c: Likewise.
14679 * math/w_exp2.c: Likewise.
14680 * math/w_exp2f.c: Likewise.
14681 * math/w_exp2l.c: Likewise.
14682 * math/w_hypot.c: Likewise.
14683 * math/w_hypotf.c: Likewise.
14684 * math/w_hypotl.c: Likewise.
14685 * math/w_lgamma.c: Likewise.
14686 * math/w_lgamma_r.c: Likewise.
14687 * math/w_lgammaf.c: Likewise.
14688 * math/w_lgammaf_r.c: Likewise.
14689 * math/w_lgammal.c: Likewise.
14690 * math/w_lgammal_r.c: Likewise.
14691 * math/w_sinh.c: Likewise.
14692 * math/w_sinhf.c: Likewise.
14693 * math/w_sinhl.c: Likewise.
14694 * math/w_tgamma.c: Likewise.
14695 * math/w_tgammaf.c: Likewise.
14696 * math/w_tgammal.c: Likewise.
14697 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14698 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14699 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
14700 Minor optimizations. Pretty printing. Remove cruft.
14701 * sysdeps/i386/fpu/e_acosf.S: Likewise.
14702 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14703 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14704 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14705 * sysdeps/i386/fpu/e_acosl.c: Likewise.
14706 * sysdeps/i386/fpu/e_asin.S: Likewise.
14707 * sysdeps/i386/fpu/e_asinf.S: Likewise.
14708 * sysdeps/i386/fpu/e_atan2.S: Likewise.
14709 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
14710 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
14711 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14712 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14713 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14714 * sysdeps/i386/fpu/e_exp10.S: Likewise.
14715 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
14716 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
14717 * sysdeps/i386/fpu/e_exp2.S: Likewise.
14718 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
14719 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
14720 * sysdeps/i386/fpu/e_fmod.S: Likewise.
14721 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
14722 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
14723 * sysdeps/i386/fpu/e_hypot.S: Likewise.
14724 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
14725 * sysdeps/i386/fpu/e_log.S: Likewise.
14726 * sysdeps/i386/fpu/e_log10.S: Likewise.
14727 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14728 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14729 * sysdeps/i386/fpu/e_log2.S: Likewise.
14730 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14731 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14732 * sysdeps/i386/fpu/e_logf.S: Likewise.
14733 * sysdeps/i386/fpu/e_logl.S: Likewise.
14734 * sysdeps/i386/fpu/e_pow.S: Likewise.
14735 * sysdeps/i386/fpu/e_powf.S: Likewise.
14736 * sysdeps/i386/fpu/e_powl.S: Likewise.
14737 * sysdeps/i386/fpu/e_remainder.S: Likewise.
14738 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
14739 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
14740 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14741 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14742 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14743 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
14744 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
14745 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
14746 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14747 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14748 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14749 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14750 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14751 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14752 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14753 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14754 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14755 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14756 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14757 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14758 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14759 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14760 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14761 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14762 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14763 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14764 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14765 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14766 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14767 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14768 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14769 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14770 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14771 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14772 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14773 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14774 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14775 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14776 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14777 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14778 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14779 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14780 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14781 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14782 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14783 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14784 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14785 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14786 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14787 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14788 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14789 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14790 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14791 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14792 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14793 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14794 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14795 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14796 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14797 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14798 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14799 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14800 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14801 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14802 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14803 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14804 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14805 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14806 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14807 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14808 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14809 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14810 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14811 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14812 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14813 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14814 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14815 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14816 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14817 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14818 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14819 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14820 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14821 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14822 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14823 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14824 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14825 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14826 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14827 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14828 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14829 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14830 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14831 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14832 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14833 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14834 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14835 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14836 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14837 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14838 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14839 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14840 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14841 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14842 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14843 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
14844 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
14845 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
14846 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
14847 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
14848 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
14849 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
14850 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14851 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14852 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14853 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14854 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
14855 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14856 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
14857 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
14858 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
14859 (__isnanf): Likewise.
14860 (__isinf_ns): Likewise.
14861 (__isinf_nsf): Likewise.
14862 (__finite): Likewise.
14863 (__finitef): Likewise.
14864 (__ieee754_sqrt): Define as macro.
14865 (__ieee754_sqrtf): Define as macro.
14866 (__ieee754_sqrtl): Define as macro.
14867 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
14868 inlined copy.
14869 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
14870 __FINITE_MATH_ONLY__ consistent.
14871 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
14872
12cc2fcd
AS
148732011-10-10 Andreas Schwab <schwab@linux-m68k.org>
14874
a843a204
AS
14875 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
14876 of rawmemchr.
14877
12cc2fcd
AS
14878 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
14879
c853acd5
UD
148802011-10-09 Ulrich Drepper <drepper@gmail.com>
14881
14882 * po/ja.po: Update from translation team.
14883
c658d255
RM
148842011-10-08 Roland McGrath <roland@hack.frob.com>
14885
110946e4
RM
14886 * locale/programs/locarchive.c (prepare_address_space): New function.
14887 (create_archive, enlarge_archive, open_archive): Use it.
14888
50604220
RM
14889 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
14890 inside [SHARED], where it is used.
14891
c658d255
RM
14892 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
14893
14894 * nss/getent.c (netgroup_keys): Remove unused variable.
14895 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14896
6a621eb7
UD
148972011-10-08 Ulrich Drepper <drepper@gmail.com>
14898
7edb55ce
UD
14899 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
14900 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
14901 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
14902 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
14903 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
14904 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
14905 * math/Makefile (libm-calls): Add s_isinf_ns.
14906 * math/divtc3.c: Use __isinf_nsl instead of isinf.
14907 * math/multc3.c: Likewise.
14908 * math/s_casin.c: Likewise.
14909 * math/s_casinf.c: Likewise.
14910 * math/s_casinl.c: Likewise.
14911 * math/s_ccos.c: Likewise.
14912 * math/s_ccosf.c: Likewise.
14913 * math/s_ccosl.c: Likewise.
14914 * math/s_ctan.c: Likewise.
14915 * math/s_ctanf.c: Likewise.
14916 * math/s_ctanh.c: Likewise.
14917 * math/s_ctanhf.c: Likewise.
14918 * math/s_ctanhl.c: Likewise.
14919 * math/s_ctanl.c: Likewise.
14920 * math/w_fmod.c: Likewise.
14921 * math/w_fmodf.c: Likewise.
14922 * math/w_fmodl.c: Likewise.
14923 * math/w_remainder.c: Likewise.
14924 * math/w_remainderf.c: Likewise.
14925 * math/w_remainderl.c: Likewise.
14926 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
14927 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
14928 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
14929 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
14930 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
14931 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
14932 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
14933 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
14934
187da0ae
UD
14935 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
14936 of the number.
14937 * stdio-common/printf_fphex.c: Likewise.
14938 * stdio-common/printf_size.c: Likewise.
14939
9277c064
UD
14940 * math/e_exp10.c: Include math_private.h using <...> not "...".
14941 * math/e_exp10f.c: Likewise.
14942 * math/e_exp10l.c: Likewise.
14943 * math/e_exp2l.c: Likewise.
14944 * math/e_j0l.c: Likewise.
14945 * math/e_j1l.c: Likewise.
14946 * math/e_jnl.c: Likewise.
14947 * math/e_lgammal_r.c: Likewise.
14948 * math/e_rem_pio2l.c: Likewise.
14949 * math/e_scalb.c: Likewise.
14950 * math/e_scalbf.c: Likewise.
14951 * math/e_scalbl.c: Likewise.
14952 * math/k_cosl.c: Likewise.
14953 * math/k_sinl.c: Likewise.
14954 * math/k_tanl.c: Likewise.
14955 * math/s_cacoshf.c: Likewise.
14956 * math/s_catan.c: Likewise.
14957 * math/s_catanf.c: Likewise.
14958 * math/s_catanh.c: Likewise.
14959 * math/s_catanhf.c: Likewise.
14960 * math/s_catanhl.c: Likewise.
14961 * math/s_catanl.c: Likewise.
14962 * math/s_ccosh.c: Likewise.
14963 * math/s_ccoshf.c: Likewise.
14964 * math/s_ccoshl.c: Likewise.
14965 * math/s_cexp.c: Likewise.
14966 * math/s_cexpf.c: Likewise.
14967 * math/s_cexpl.c: Likewise.
14968 * math/s_clog.c: Likewise.
14969 * math/s_clog10.c: Likewise.
14970 * math/s_clog10f.c: Likewise.
14971 * math/s_clog10l.c: Likewise.
14972 * math/s_clogf.c: Likewise.
14973 * math/s_clogl.c: Likewise.
14974 * math/s_csin.c: Likewise.
14975 * math/s_csinf.c: Likewise.
14976 * math/s_csinh.c: Likewise.
14977 * math/s_csinhf.c: Likewise.
14978 * math/s_csinhl.c: Likewise.
14979 * math/s_csinl.c: Likewise.
14980 * math/s_csqrt.c: Likewise.
14981 * math/s_csqrtf.c: Likewise.
14982 * math/s_csqrtl.c: Likewise.
14983 * math/s_ctan.c: Likewise.
14984 * math/s_ctanf.c: Likewise.
14985 * math/s_ctanh.c: Likewise.
14986 * math/s_ctanhf.c: Likewise.
14987 * math/s_ctanhl.c: Likewise.
14988 * math/s_ctanl.c: Likewise.
14989 * math/s_ldexp.c: Likewise.
14990 * math/s_ldexpf.c: Likewise.
14991 * math/s_ldexpl.c: Likewise.
14992 * math/s_significand.c: Likewise.
14993 * math/s_significandf.c: Likewise.
14994 * math/s_significandl.c: Likewise.
14995 * math/w_acos.c: Likewise.
14996 * math/w_acosf.c: Likewise.
14997 * math/w_acosh.c: Likewise.
14998 * math/w_acoshf.c: Likewise.
14999 * math/w_acoshl.c: Likewise.
15000 * math/w_acosl.c: Likewise.
15001 * math/w_asin.c: Likewise.
15002 * math/w_asinf.c: Likewise.
15003 * math/w_asinl.c: Likewise.
15004 * math/w_atan2.c: Likewise.
15005 * math/w_atan2f.c: Likewise.
15006 * math/w_atan2l.c: Likewise.
15007 * math/w_atanh.c: Likewise.
15008 * math/w_atanhf.c: Likewise.
15009 * math/w_atanhl.c: Likewise.
15010 * math/w_cosh.c: Likewise.
15011 * math/w_coshf.c: Likewise.
15012 * math/w_coshl.c: Likewise.
15013 * math/w_dremf.c: Likewise.
15014 * math/w_exp10.c: Likewise.
15015 * math/w_exp10f.c: Likewise.
15016 * math/w_exp10l.c: Likewise.
15017 * math/w_exp2.c: Likewise.
15018 * math/w_exp2f.c: Likewise.
15019 * math/w_fmod.c: Likewise.
15020 * math/w_fmodf.c: Likewise.
15021 * math/w_fmodl.c: Likewise.
15022 * math/w_hypot.c: Likewise.
15023 * math/w_hypotf.c: Likewise.
15024 * math/w_hypotl.c: Likewise.
15025 * math/w_j0.c: Likewise.
15026 * math/w_j0f.c: Likewise.
15027 * math/w_j0l.c: Likewise.
15028 * math/w_j1.c: Likewise.
15029 * math/w_j1f.c: Likewise.
15030 * math/w_j1l.c: Likewise.
15031 * math/w_jn.c: Likewise.
15032 * math/w_jnf.c: Likewise.
15033 * math/w_jnl.c: Likewise.
15034 * math/w_lgamma.c: Likewise.
15035 * math/w_lgamma_r.c: Likewise.
15036 * math/w_lgammaf.c: Likewise.
15037 * math/w_lgammaf_r.c: Likewise.
15038 * math/w_lgammal.c: Likewise.
15039 * math/w_lgammal_r.c: Likewise.
15040 * math/w_log.c: Likewise.
15041 * math/w_log10.c: Likewise.
15042 * math/w_log10f.c: Likewise.
15043 * math/w_log10l.c: Likewise.
15044 * math/w_log2.c: Likewise.
15045 * math/w_log2f.c: Likewise.
15046 * math/w_log2l.c: Likewise.
15047 * math/w_logf.c: Likewise.
15048 * math/w_logl.c: Likewise.
15049 * math/w_pow.c: Likewise.
15050 * math/w_powf.c: Likewise.
15051 * math/w_powl.c: Likewise.
15052 * math/w_remainder.c: Likewise.
15053 * math/w_remainderf.c: Likewise.
15054 * math/w_remainderl.c: Likewise.
15055 * math/w_scalb.c: Likewise.
15056 * math/w_scalbf.c: Likewise.
15057 * math/w_scalbl.c: Likewise.
15058 * math/w_sinh.c: Likewise.
15059 * math/w_sinhf.c: Likewise.
15060 * math/w_sinhl.c: Likewise.
15061 * math/w_sqrt.c: Likewise.
15062 * math/w_sqrtf.c: Likewise.
15063 * math/w_sqrtl.c: Likewise.
15064 * math/w_tgamma.c: Likewise.
15065 * math/w_tgammaf.c: Likewise.
15066 * math/w_tgammal.c: Likewise.
15067
6a621eb7
UD
15068 * po/ja.po: Update from translation team.
15069
bf582445
AJ
150702011-09-29 Andreas Jaeger <aj@suse.de>
15071
f9efbf3a
AJ
15072 [BZ #13179]
15073 * sunrpc/netname.c (netname2host): Fix logic.
15074
bf582445
AJ
15075 [BZ #6779]
15076 [BZ #6783]
15077 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
15078 correctly.
15079 * math/w_remainder.c (__remainder): Likewise.
15080 * math/w_remainderf.c (__remainderf): Likewise.
15081 * math/libm-test.inc (remainder_test): Add test cases.
15082
48693bea
AK
150832011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15084
15085 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
15086 sdiv_qrnnd.
15087
42622229
LD
150882011-10-07 Ulrich Drepper <drepper@gmail.com>
15089
15090 * string/test-memcmp.c: Avoid unncessary #defines.
15091 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
15092
093ecf92
LD
150932011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15094
15095 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
15096 Use new sse2 version for core i3 - i7 as it's faster
15097 than sse42 version.
15098 (bit_Prefer_PMINUB_for_stringop): New.
15099 * sysdeps/x86_64/rawmemchr.S: Update.
15100 Replace with faster SSE2 version.
15101 * sysdeps/x86_64/memrchr.S: New file.
15102 * sysdeps/x86_64/memchr.S: Update.
15103 Replace with faster SSE2 version.
15104
fde56e5c
MP
151052011-09-12 Marek Polacek <mpolacek@redhat.com>
15106
15107 * elf/dl-load.c (lose): Add cast to avoid warning.
15108
21fd49a9
UD
151092011-10-07 Ulrich Drepper <drepper@gmail.com>
15110
5a06e643
UD
15111 * po/ca.po: Update from translation team.
15112
684ae515
UD
15113 * inet/getnetgrent_r.c: Hook up nscd.
15114 * nscd/Makefile (routines): Add nscd_netgroup.
15115 (nscd-modules): Add netgroupcache.
15116 (CFLAGS-netgroupcache.c): Define.
15117 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
15118 (cache_search): Add const to second parameter.
15119 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
15120 INNETGR.
15121 (dbs): Add netgrdb entry.
15122 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
15123 (verify_persistent_db): Handle netgrdb.
15124 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
15125 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
15126 GETFDNETGR.
15127 (netgroup_response_header): Define.
15128 (innetgroup_response_header): Define.
15129 (datahead): Add netgroup_response_header and innetgroup_response_header
15130 elements.
15131 * nscd/nscd.conf: Add entries for netgroup cache.
15132 * nscd/nscd.h (dbtype): Add netgrdb.
15133 (_PATH_NSCD_NETGROUP_DB): Define.
15134 (netgroup_iov_disabled): Declare.
15135 (xmalloc, xcalloc, xrealloc): Move declarations here.
15136 (cache_search): Adjust prototype.
15137 Add netgroup-related prototypes.
15138 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
15139 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
15140 (__nscd_innetgr): Declare.
15141 * nscd/selinux.c (perms): Use access_vector_t as element type and
15142 add netgroup-related initializers.
15143 * nscd/netgroupcache.c: New file.
15144 * nscd/nscd_netgroup.c: New file.
15145 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
15146 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
15147 For four parameters use innetgr.
15148 * nss/nss_files/files-init.c: Add definition and callback for netgr.
15149 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
15150 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
15151 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
15152
21fd49a9
UD
15153 * nscd/connections.c (register_traced_file): Don't register file
15154 for disabled databases.
15155
054c0457
UD
151562011-10-06 Ulrich Drepper <drepper@gmail.com>
15157
32b63198
UD
15158 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
15159
054c0457
UD
15160 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
15161 from tree and freeing node.
15162
64031225
JO
151632011-09-25 Jiri Olsa <jolsa@redhat.com>
15164
15165 * nss/nsswitch.c (__nss_database_lookup): Handle
15166 nss_parse_service_list out of memory case.
15167
0490345c
JO
151682011-09-15 Jiri Olsa <jolsa@redhat.com>
15169
15170 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
15171 out of memory case.
15172
3a62d00d
AS
151732011-10-04 Andreas Schwab <schwab@redhat.com>
15174
15175 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
15176 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
15177 pass it down.
15178 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
15179 elf_machine_rela, elf_machine_lazy_rel.
15180 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
15181 (ELF_DYNAMIC_DO_REL): Likewise.
15182 (ELF_DYNAMIC_DO_RELA): Likewise.
15183 (ELF_DYNAMIC_RELOCATE): Likewise.
15184 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
15185 to ELF_DYNAMIC_DO_REL.
15186 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
15187 (dl_main): In trace mode always set __RTLD_NOIFUNC.
15188 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
15189 elf_machine_rela.
15190 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
15191 skip_ifunc, don't call ifunc function if non-zero.
15192 (elf_machine_rela): Likewise.
15193 (elf_machine_lazy_rel): Likewise.
15194 (elf_machine_lazy_rela): Likewise.
15195 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15196 (elf_machine_lazy_rel): Likewise.
15197 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15198 Likewise.
15199 (elf_machine_lazy_rel): Likewise.
15200 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15201 Likewise.
15202 (elf_machine_lazy_rel): Likewise.
15203 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
15204 (elf_machine_lazy_rel): Likewise.
15205 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
15206 (elf_machine_lazy_rel): Likewise.
15207 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15208 (elf_machine_lazy_rel): Likewise.
15209 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
15210 (elf_machine_lazy_rel): Likewise.
15211 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
15212 (elf_machine_lazy_rel): Likewise.
15213 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15214 (elf_machine_lazy_rel): Likewise.
15215
68577918
UD
152162011-09-28 Ulrich Drepper <drepper@gmail.com>
15217
15218 * nss/nss_files/files-init.c (_nss_files_init): Use static
15219 initialization for all the *_traced_file variables.
15220
68822d74
AS
152212011-09-28 Andreas Schwab <schwab@redhat.com>
15222
15223 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15224
2056100b
RM
152252011-09-27 Roland McGrath <roland@hack.frob.com>
15226
15227 [BZ #13226]
15228 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
15229
32c76b63
AS
152302011-09-27 Andreas Schwab <schwab@redhat.com>
15231
15232 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15233 Reread the line before reparsing it.
15234
bf972c9d
AS
152352011-09-26 Andreas Schwab <schwab@redhat.com>
15236
15237 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
15238
e057a1b5
JM
152392011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
15240 Maxim Kuvyrkov <maxim@codesourcery.com>
15241 Joseph Myers <joseph@codesourcery.com>
15242
15243 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
15244 if needed for __stack_chk_guard.
15245
bc7e1c36
RM
152462011-09-19 Roland McGrath <roland@hack.frob.com>
15247
ecb1482f
RM
15248 * sysdeps/posix/spawni.c (script_execute): Always define it.
15249 It will be optimized away if unused.
15250 (maybe_script_execute): New function.
15251 (__spawni): Call it.
15252
bc7e1c36
RM
15253 * Makerules: Don't include tls.make.
15254 (config-tls): Always set to thread.
15255 * tls.make.c: File removed.
15256
1c3b002b
MF
152572011-09-19 Mike Frysinger <vapier@gentoo.org>
15258
15259 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
15260 * config.make.in (CPPFLAGS-config): New substituted variable.
15261
2840865d
UD
152622011-09-15 Ulrich Drepper <drepper@gmail.com>
15263
88738eb6
UD
15264 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
15265
cbf645a6 15266 [BZ #13192]
2840865d
UD
15267 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
15268 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
15269
b402e91a
RM
152702011-09-15 Roland McGrath <roland@hack.frob.com>
15271
15272 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
15273 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
15274 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15275 (CALL_FAIL): Likewise.
15276 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
15277 (CALL_FAIL): Macro removed.
15278 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
15279
4c1a1f71
UD
152802011-09-15 Ulrich Drepper <drepper@gmail.com>
15281
15282 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
15283 for __FINITE_MATH_ONLY__ == 1.
15284
edc121be
AS
152852011-09-15 Andreas Schwab <schwab@redhat.com>
15286
15287 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
15288 __ieee754_sqrt instead of sqrt.
15289 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
15290 __ieee754_sqrtf instead of sqrtf.
15291 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
15292 __floorf instead of floorf.
15293 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
15294 __floorf, __truncf instead of floorf, truncf.
15295
cd205654
UD
152962011-09-14 Ulrich Drepper <drepper@gmail.com>
15297
ee4d0315
UD
15298 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
15299
cd205654
UD
15300 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
15301 __extern_always_inline.
15302 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
15303 32-bit.
15304
48b67d71
AS
153052011-09-14 Andreas Schwab <schwab@redhat.com>
15306
15307 * elf/rtld.c (dl_main): Also relocate in dependency order when
15308 doing symbol dependency testing.
15309
1ae12c75
AS
153102011-09-13 Andreas Schwab <schwab@linux-m68k.org>
15311
15312 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15313 Always define `refsym'.
15314
995a80df
AS
153152011-09-13 Andreas Schwab <schwab@redhat.com>
15316
e529793b
AS
15317 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
15318 (__FD_ELT): Renamed from __FDELT.
15319 * misc/bits/select2.h (__FD_ELT): Likewise.
15320 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
15321 __FD_MASK instead of __FDELT, __FDMASK.
15322 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15323 Likewise.
15324 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15325 Likewise.
15326
52d4fef8
AS
15327 * elf/Makefile (gen-ldd): Fix pattern.
15328
995a80df
AS
15329 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
15330 (init_tls): Likewise.
15331
8682f8b0
UD
153322011-09-12 Ulrich Drepper <drepper@gmail.com>
15333
15334 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
15335
de82006d
AS
153362011-09-12 Andreas Schwab <schwab@redhat.com>
15337
a7c8e6a1
AS
15338 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
15339 `struct cmsghdr *' instead of `void *'.
15340 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
15341 Likewise.
15342
0f31fe77
AS
153432011-09-11 Andreas Schwab <schwab@linux-m68k.org>
15344
15345 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
15346 if non-absolute.
15347 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
15348 ldd_rewrite_script.
0f31fe77 15349
32b4c839
UD
153502011-09-11 Ulrich Drepper <drepper@gmail.com>
15351
83cd1420
UD
15352 * configure.in: Remove --with-tls option.
15353 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
15354 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
15355 out in case it is missing.
15356 * sysdeps/ia64/elf/configure.in: Likewise.
15357 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
15358 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
15359 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
15360 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
15361 * sysdeps/sh/elf/configure.in: Likewise.
15362 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
15363 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15364 * sysdeps/x86_64/elf/configure.in: Likewise.
15365 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
15366 * sysdeps/mach/hurd/tls.h: Likewise.
15367
633f745d
UD
15368 [BZ #13067]
15369 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
15370
f318beb8
UD
15371 [BZ #13090]
15372 * configure.in: Fix use of AC_INIT.
15373
32b4c839
UD
15374 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
15375
3ce1f295
UD
153762011-09-10 Ulrich Drepper <drepper@gmail.com>
15377
bb016596
UD
15378 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
15379 __set_errno.
8e58439c
UD
15380 * malloc/hooks.c: Likewise.
15381
aebae053 15382 [BZ #11929]
02d46fc4
UD
15383 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
15384 variables statically.
15385 (narenas): Initialize.
15386 (list_lock): Initialize.
bb016596
UD
15387 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
15388 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
15389 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
15390 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
15391 Add initializers to main_arena and mp_.
15392 (malloc_state): Remove pagesize member. Change all users to use
15393 GLRO(dl_pagesize).
15394
15395 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
15396 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
15397 is always initialized.
15398
22a89187
UD
15399 * malloc/malloc.c: Removed unused configurations and dead code.
15400 * malloc/arena.c: Likewise.
15401 * malloc/hooks.c: Likewise.
02d46fc4 15402 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 15403
d063d164
UD
15404 * include/tls.h: Removed. USE___THREAD must always be defined.
15405 * bits/libc-tsd.h: Don't handle !USE___THREAD.
15406 * elf/dl-libc.c: Likewise.
15407 * elf/dl-tsd.c: Likewise.
15408 * include/errno.h: Likewise.
15409 * include/netdb.h: Likewise.
15410 * include/resolv.h: Likewise.
15411 * inet/herrno-loc.c: Likewise.
15412 * inet/herrno.c: Likewise.
15413 * malloc/arena.c: Likewise.
15414 * malloc/hooks.c: Likewise.
15415 * malloc/malloc.c: Likewise.
15416 * resolv/res-state.c: Likewise.
15417 * resolv/res_libc.c: Likewise.
15418 * sysdeps/i386/dl-machine.h: Likewise.
15419 * sysdeps/ia64/dl-machine.h: Likewise.
15420 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15421 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15422 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15423 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15424 * sysdeps/sh/dl-machine.h: Likewise.
15425 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15426 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15427 * sysdeps/unix/i386/sysdep.S: Likewise.
15428 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15429 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
15430 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
15431 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15432 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
15433 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15434 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15435 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15436 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15437 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15438 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15439 * sysdeps/x86_64/dl-machine.h: Likewise.
15440 * tls.make.c: Likewise.
15441
3ce1f295
UD
15442 * configure.in: Remove --with-__thread option. Make tests for
15443 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
15444 tls_model attribute fail if no support is available. Remove
15445 USE_IN_LIBIO.
15446 * Makeconfig: Adjust for dropped configure option. All features are
15447 now mandatory.
15448 * Makerules: Likewise.
15449 * Versions.def: Likewise.
15450 * argp/argp-fmtstream.c: Likewise.
15451 * argp/argp-fmtstream.h: Likewise.
15452 * argp/argp-help.c: Likewise.
15453 * assert/assert.c: Likewise.
15454 * config.h.in: Likewise.
15455 * config.make.in: Likewise.
15456 * configure: Likewise.
15457 * configure.in: Likewise.
15458 * csu/Versions: Likewise.
15459 * csu/init.c: Likewise.
15460 * elf/tst-audit2.c: Likewise.
15461 * elf/tst-tls10.c: Likewise.
15462 * elf/tst-tls10.h: Likewise.
15463 * elf/tst-tls11.c: Likewise.
15464 * elf/tst-tls12.c: Likewise.
15465 * elf/tst-tls14.c: Likewise.
15466 * elf/tst-tlsmod11.c: Likewise.
15467 * elf/tst-tlsmod12.c: Likewise.
15468 * elf/tst-tlsmod13.c: Likewise.
15469 * elf/tst-tlsmod13a.c: Likewise.
15470 * elf/tst-tlsmod14a.c: Likewise.
15471 * elf/tst-tlsmod15b.c: Likewise.
15472 * elf/tst-tlsmod16a.c: Likewise.
15473 * elf/tst-tlsmod16b.c: Likewise.
15474 * elf/tst-tlsmod7.c: Likewise.
15475 * elf/tst-tlsmod8.c: Likewise.
15476 * elf/tst-tlsmod9.c: Likewise.
15477 * gmon/gmon.c: Likewise.
15478 * grp/fgetgrent_r.c: Likewise.
15479 * grp/putgrent.c: Likewise.
15480 * hurd/fopenport.c: Likewise.
15481 * include/libc-symbols.h: Likewise.
15482 * include/tls.h: Likewise.
15483 * intl/gettextP.h: Likewise.
15484 * intl/loadinfo.h: Likewise.
15485 * locale/global-locale.c: Likewise.
15486 * locale/localeinfo.h: Likewise.
15487 * mach/devstream.c: Likewise.
15488 * malloc/arena.c: Likewise.
15489 * malloc/set-freeres.c: Likewise.
15490 * misc/err.c: Likewise.
15491 * misc/getttyent.c: Likewise.
15492 * misc/mntent_r.c: Likewise.
15493 * posix/getopt.c: Likewise.
15494 * posix/wordexp.c: Likewise.
15495 * pwd/fgetpwent_r.c: Likewise.
15496 * resolv/Versions: Likewise.
15497 * resolv/res_hconf.c: Likewise.
15498 * shadow/fgetspent_r.c: Likewise.
15499 * shadow/putspent.c: Likewise.
15500 * stdio-common/printf_fphex.c: Likewise.
15501 * stdio-common/tmpfile.c: Likewise.
15502 * stdlib/abort.c: Likewise.
15503 * stdlib/fmtmsg.c: Likewise.
15504 * sunrpc/auth_unix.c: Likewise.
15505 * sunrpc/clnt_perr.c: Likewise.
15506 * sunrpc/clnt_tcp.c: Likewise.
15507 * sunrpc/clnt_udp.c: Likewise.
15508 * sunrpc/clnt_unix.c: Likewise.
15509 * sunrpc/openchild.c: Likewise.
15510 * sunrpc/svc_simple.c: Likewise.
15511 * sunrpc/svc_tcp.c: Likewise.
15512 * sunrpc/svc_udp.c: Likewise.
15513 * sunrpc/svc_unix.c: Likewise.
15514 * sunrpc/xdr.c: Likewise.
15515 * sunrpc/xdr_array.c: Likewise.
15516 * sunrpc/xdr_rec.c: Likewise.
15517 * sunrpc/xdr_ref.c: Likewise.
15518 * sunrpc/xdr_stdio.c: Likewise.
15519
1248c1c4
PB
155202011-09-09 Ulrich Drepper <drepper@gmail.com>
15521
15522 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15523
155242011-07-03 Andreas Jaeger <aj@suse.de>
15525
15526 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
15527 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
15528 regenerate with gen-libm-tests.pl.
15529
155302010-05-12 Petr Baudis <pasky@suse.cz>
15531
15532 [BZ #11589]
15533 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
15534 around j0() zero points by switching to j1().
15535 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15536 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15537 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15538 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15539
f22e1074
UD
155402011-09-09 Ulrich Drepper <drepper@gmail.com>
15541
f19009c1
UD
15542 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
15543 instead of 0.
15544 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
15545 instead of 0. .
15546 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15547 Patch in part by Pavel Roskin <proski@gnu.org>.
15548
3f8cc204
UD
15549 [BZ #13138]
15550 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
15551 realloc.
15552 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
15553 Free memory block if necessary.
15554
f22e1074
UD
15555 [BZ #12847]
15556 * libio/genops.c (INTDEF): For string streams the _lock pointer can
15557 be NULL. Don't lock in this case.
15558
0a2349f9
RM
155592011-09-09 Roland McGrath <roland@hack.frob.com>
15560
15561 * elf/elf.h (ELFOSABI_GNU): New macro.
15562 (ELFOSABI_LINUX): Define to that.
15563
f3cdd467
DZ
155642011-07-29 Denis Zaitceff <zaitceff@gmail.com>
15565
15566 * string/strncat.c (strncat): Undef the symbol in case it has been
15567 defined in bits/string.h.
15568
74718d13
UD
155692011-09-09 Ulrich Drepper <drepper@gmail.com>
15570
633e9e0f
UD
15571 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
15572
0a2349f9 15573 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
15574 link map.
15575
f9924780
AJ
155762011-08-17 Andreas Jaeger <aj@suse.de>
15577
15578 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
15579
7f5517aa
PP
155802011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15581 Ian Lance Taylor <iant@google.com>
15582
15583 * math/libm-test.inc (lround_test): New testcase.
15584 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
15585
762011fe
UD
155862011-09-08 Ulrich Drepper <drepper@gmail.com>
15587
92963737
UD
15588 * Makefile: Remove support for automatic cvs check-ins.
15589 * Makerules: Likewise.
15590 * config.make.in: Likewise.
15591 * configure.in: Likewise.
15592 * intl/Makefile: Likewise.
15593 * locale/Makefile: Likewise.
15594 * po/Makefile: Likewise.
15595 * posix/Makefile: Likewise.
15596 * sysdeps/gnu/Makefile: Likewise.
15597 * sysdeps/mach/hurd/Makefile: Likewise.
15598 * sysdeps/sparc/sparc32/Makefile: Likewise.
15599
b0727fd8
JS
15600 [BZ #13118]
15601 * posix/Makefile (bug-regex32-ENV): Define.
15602 Patch by John Stanley <jpsinthemix@verizon.net>.
15603
a0f33f99
UD
15604 * misc/Makefile (headers): Add bits/select2.h.
15605 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
15606 * misc/bits/select2.h: New file.
15607 * include/bits/select2.h: New file.
15608 * debug/Makefile (routines): Add fdelt_chk.
15609 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
15610 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
15611 FD_ISSET.
15612 * debug/fdelt_chk.c: New file.
15613
762011fe
UD
15614 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
15615 * wcsmbs/test-wmemcmp.c: Likewise.
15616 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 15617 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
15618
156192011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15620
15621 * string/Makefile (strop-tests): Add memcmp.
15622 * string/test-wmemcmp.c: New file.
15623 * string/test-memcmp.c: Add wmemcmp support.
15624
7f513ec8
RM
156252011-09-08 Roland McGrath <roland@hack.frob.com>
15626
0442afb4
RM
15627 [BZ #13153]
15628 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
15629 2011-07-19 change.
15630
7f513ec8
RM
15631 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
15632 garbage value in a __mach_port_mod_refs call in the cases of the
15633 task-self and thread-self ports.
15634
a12b2239
ST
156352011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15636
15637 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
15638
610f9ab4
AS
156392011-09-08 Andreas Schwab <schwab@redhat.com>
15640
7f513ec8 15641 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 15642
48882a1a
LD
156432011-09-07 Ulrich Drepper <drepper@gmail.com>
15644
b49865be
UD
15645 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
15646
fdc86bc9
UD
15647 * elf/dl-libc.c (dlerror_run): Pass back error code from
15648 dl_catch_error.
15649
c966526a
UD
15650 [BZ #13123]
15651 * elf/dl-load.c (lose): Free l_origin if it is valid.
15652
48882a1a
LD
15653 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
15654 names.
15655 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
15656 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15657 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15658 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15659 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
15660 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
15661
77a2a8b4
AZ
156622011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15663
15664 * sysdeps/powerpc/fpu/e_hypot.c: New file.
15665 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
15666 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
15667 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
15668 * sysdeps/powerpc/fpu/k_cosf.c: New file.
15669 * sysdeps/powerpc/fpu/k_sinf.c: New file.
15670 * sysdeps/powerpc/fpu/s_cosf.c: New file.
15671 * sysdeps/powerpc/fpu/s_sinf.c: New file.
15672 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
15673 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
15674
24f579d8
AM
156752011-08-15 Alan Modra <amodra@gmail.com>
15676
15677 [BZ #13092]
15678 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
15679 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
15680 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
15681 ppc_mcount to static-only-routines.
15682 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
15683 __mcount_internal.
15684 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
15685 __mcount_internal with usual JUMPTARGET. Remove useless nop.
15686
3d4837df
UD
156872011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
15688
15689 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
15690 for finite and infinity parameters.
15691
22700377
WS
156922011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15693
15694 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
15695 and add nop instructions for throughput optimization.
15696 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15697
5025581e
WS
156982011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
15699
15700 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
15701 aligned copy for power7 with vector-scalar instructions.
15702 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15703
08a300c9
L
157042011-07-24 H.J. Lu <hongjiu.lu@intel.com>
15705
15706 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
15707 AVX check.
15708
59178ef9
AS
157092011-09-07 Andreas Schwab <schwab@redhat.com>
15710
15711 [BZ #13144]
15712 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
15713 last change.
15714
e38ba7ab
UD
157152011-09-07 Ulrich Drepper <drepper@gmail.com>
15716
15717 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15718 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
15719 syscall wrapper around clock_gettime in __vdso_clock_gettime.
15720 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
15721 clock_gettime.
15722
d53a73ac
UD
157232011-09-06 Ulrich Drepper <drepper@gmail.com>
15724
fc8bffcc
UD
15725 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
15726 Forgot to demangle the pointer.
15727
ceaa0c5d
UD
15728 * sysdeps/i386/sysdep.h: Define atom_text_section.
15729 * sysdeps/x86_64/sysdep.h: Likewise.
15730 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
15731 section with atom_text_section.
15732 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15733 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15734 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
15735 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15736 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
15737
a77d3c17
UD
15738 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
15739 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
15740 already be defined. Change to take two parameters and don't assign
15741 result to variable. Adjust all users.
15742 Define INTERNAL_GETTIME if not already defined.
15743 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
15744 call.
15745 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
15746 HAVE_CLOCK_GETTIME_VSYSCALL.
15747 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
15748
d53a73ac
UD
15749 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
15750 gettimeofday vsyscall, just use time.
15751
a8f84144
AS
157522011-09-06 Andreas Schwab <schwab@redhat.com>
15753
15754 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
15755 <errno.h>.
15756
ef606249
UD
157572011-09-06 Ulrich Drepper <drepper@gmail.com>
15758
15759 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
15760 syscall on x86-64.
15761 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
15762 syscall.
15763 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
15764 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
15765 syscall if possible.
15766
6585cb60
UD
157672011-09-05 Ulrich Drepper <drepper@gmail.com>
15768
15769 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
15770 e_ident. Don't pass to find_mapsXX.
15771 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
15772
a5f524e4
LD
157732011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15774
15775 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15776 strchr-sse2-no-bsf strrchr-sse2-no-bsf
15777 * sysdeps/x86_64/multiarch/strchr.S: Update.
15778 Check bit_slow_BSF bit.
15779 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15780 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
15781 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
15782
554881ef
UD
157832011-09-05 Ulrich Drepper <drepper@gmail.com>
15784
d96de963
UD
15785 [BZ #13134]
15786 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
15787 before glibc 2.15.
15788 (tryshell): Define.
15789 (__spawni): Change last parameter to be flag. Test
15790 SPAWN_XFLAGS_USE_PATH flag to use path or not.
15791 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
15792 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
15793 * posix/spawni.c: Likewise.
15794 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
15795 * posix/spawnp.c: Likewise. Change normal version to use
15796 SPAWN_XFLAGS_USE_PATH.
15797 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
15798 SPAWN_XFLAGS_TRY_SHELL.
15799
d48e5868
UD
15800 [BZ #13150]
15801 * posix/glob.h: Remove gcc 1.x support.
15802
554881ef
UD
15803 [BZ #13068]
15804 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
15805
693fb948
LD
158062011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15807
15808 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15809 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
15810 strrchr-sse2-bsf
15811 * sysdeps/i386/i686/multiarch/strchr.S: New file.
15812 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
15813 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
15814 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
15815 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
15816 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
15817
1b48c537
UD
158182011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15819
49d42c37
UD
15820 * sysdeps/x86_64/wcscmp.S: New file.
15821
1b48c537
UD
15822 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
15823 wcscmp-c wcscmp-sse2
15824 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
15825 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
15826 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
15827 * wcsmbs/wcscmp.c: Allow renaming.
15828
15c95c5d
DM
158292011-09-05 David S. Miller <davem@davemloft.net>
15830
15831 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
15832 stack slot, rather than the struct return pointer slot.
15833 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
15834 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
15835 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
15836 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
15837
2f0ad8f3
UD
158382011-09-05 Ulrich Drepper <drepper@gmail.com>
15839
d88ae418
UD
15840 * po/ja.po: Update from translation team.
15841
2f0ad8f3
UD
15842 [BZ #13144]
15843 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
15844 kernel in 64-bit binaries.
15845
5f4318d1
DM
158462011-09-01 David S. Miller <davem@davemloft.net>
15847
15848 * elf/elf.h (HWCAP_SPARC_*): Move to..
15849 * sysdeps/sparc/sysdep.h: this new file and add new values.
15850 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
15851 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
15852 _DL_HWCAP_COUNT to 24.
15853 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15854 entries.
15855 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
15856 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
15857 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
15858 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
15859 instead of magic constants.
15860 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15861
3ba57516
DM
158622011-08-31 David S. Miller <davem@davemloft.net>
15863
15864 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
15865 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
15866 Reimplement to do errno handling inline.
15867 (SYSCALL_ERROR_HANDLER): New macro.
15868 (__SYSCALL_STRING): Do not do errno handling in asm.
15869 (__CLONE_SYSCALL_STRING): Delete.
15870 (__INTERNAL_SYSCALL_STRING): Delete.
15871 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
15872 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
15873 (PSEUDO): Reimplement to do errno handling inline.
15874 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
15875 (SYSCALL_ERROR_HANDLER): New macro.
15876 (__SYSCALL_STRING): Do not do errno handling in asm.
15877 (__CLONE_SYSCALL_STRING): Delete.
15878 (__INTERNAL_SYSCALL_STRING): Delete.
15879 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
15880 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
15881 i386.
15882 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
15883 (inline_syscall*): Add 'err' argument.
15884 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
15885 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
15886 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
15887 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
15888
15889 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
15890 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15891
2bc17433
AS
158922011-08-30 Andreas Schwab <schwab@redhat.com>
15893
15894 * elf/rtld.c (dl_main): Relocate objects in dependency order.
15895
fbeb5f4d
JO
158962011-08-29 Jiri Olsa <jolsa@redhat.com>
15897
15898 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
15899 directive.
15900
ad69cc26
DM
159012011-08-24 David S. Miller <davem@davemloft.net>
15902
15903 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
15904
39dd69df
AS
159052011-08-24 Andreas Schwab <schwab@redhat.com>
15906
15907 * elf/Makefile: Add rules to build and run unload8 test.
15908 * elf/unload8.c: New file.
15909 * elf/unload8mod1.c: New file.
15910 * elf/unload8mod1x.c: New file.
15911 * elf/unload8mod2.c: New file.
15912 * elf/unload8mod3.c: New file.
15913
15914 * elf/dl-close.c (_dl_close_worker): Reset private search list if
15915 it wasn't used.
15916
2c0b250a
DM
159172011-08-23 David S. Miller <davem@davemloft.net>
15918
15919 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
15920 subtract stack bias.
15921 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
15922 %sp not %fp in calculations.
15923 (_JMPBUF_UNWINDS_ADJ): Likewise.
15924
22044b48
DM
15925 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
15926 (aio_suspend): Call it to force an exception region around the
15927 AIO_MISC_WAIT() invocation.
15928
2cae4995
AS
159292011-08-23 Andreas Schwab <schwab@redhat.com>
15930
15931 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
15932 backslash.
15933
873a772e
AJ
159342011-07-04 Aurelien Jarno <aurelien@aurel32.net>
15935
15936 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
15937 protection macro.
15938 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
15939 and <dl-machine.h>.
15940 (Elf64_FuncDesc): Remove.
15941
25ad0df1
DM
159422011-08-22 David S. Miller <davem@davemloft.net>
15943
15944 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
15945 sigaltstack check, add missing cfi directives.
15946 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
15947 missing cfi directives, and sigaltstack handling.
15948
e888bcbe
AS
159492011-08-16 Andreas Schwab <schwab@redhat.com>
15950
15951 [BZ #11724]
15952 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
15953 object is seen twice.
15954 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15955
15956 * elf/Makefile (distribute): Add tst-initorder2.c.
15957 (tests): Add tst-initorder2.
15958 (modules-names): Add tst-initorder2a tst-initorder2b
15959 tst-initorder2c tst-initorder2d. Add rules to build them.
15960 ($(objpfx)tst-initorder2.out): New rule.
15961 * elf/tst-initorder2.c: New file.
15962 * elf/tst-initorder2.exp: New file.
15963
87162f46
AS
159642011-08-22 Andreas Schwab <schwab@redhat.com>
15965
70538b7f
AS
15966 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
15967
f55ffe58
AS
15968 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
15969 dependencies back to end of function.
15970
87162f46
AS
15971 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15972 $(elfobjdir)/ld.so.
15973
91b392a4
UD
159742011-08-21 Ulrich Drepper <drepper@gmail.com>
15975
15976 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
15977 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
15978 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
15979 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
15980 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
15981 of __vdso_gettimeofday.
15982 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
15983 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
15984 attribute_hidden.
15985 (_libc_vdso_platform_setup): Remove initialization of
15986 __vdso_gettimeofday and __vdso_time.
15987
5c43483f
UD
159882011-08-20 Ulrich Drepper <drepper@gmail.com>
15989
775a77e7
UD
15990 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
15991 and fgetc_unlocked.
15992 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
15993 getc_unlocked.
89f447ed 15994
49c74ba9
UD
15995 * elf/dl-open.c (add_to_global): Report additions to the global scope
15996 for LD_DEBUG=scopes.
15997 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 15998 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 15999
5c43483f
UD
16000 [BZ #13114]
16001 * stdio-common/Makefile (tests): Add bug24.
16002 * stdio-common/bug24.c: New file.
16003
a101b025
AJ
160042011-08-19 Andreas Jaeger <aj@suse.de>
16005
16006 [BZ #13114]
16007 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
16008 non-existant file when using close-on-exec mode.
16009
c88f1766
UD
160102011-08-20 Ulrich Drepper <drepper@gmail.com>
16011
0276a718
UD
16012 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
16013 the very first instruction.
16014
c88f1766
UD
16015 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
16016 the CFI state in the end.
16017 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
16018 inclusion of dl-trampoline.h.
16019 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
16020
51ccffa0
AS
160212011-08-19 Andreas Schwab <schwab@redhat.com>
16022
94d7165f
AS
16023 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
16024 expectations for long double.
16025
51ccffa0
AS
16026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
16027 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
16028
fd708658 160292011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
16030
16031 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
16032 artificual limit depends upon the system page size.
16033
44f0a71e
UD
160342011-08-17 Ulrich Drepper <drepper@gmail.com>
16035
16036 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
16037 * resolv/Makefile: Define CFLAGS-libresolv.
16038
8de79a24
AS
160392011-08-17 Andreas Schwab <schwab@redhat.com>
16040
16041 * nss/makedb.c (compute_tables): Make variables used in nested
16042 function static.
16043
27724598
UD
160442011-08-17 Ulrich Drepper <drepper@gmail.com>
16045
c5305d88
UD
16046 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
16047 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
16048 if buffer was too small.
16049
27724598
UD
16050 * elf/pldd.c (main): Attach to all threads in the process.
16051 Rewrite /proc handling to use *at functions.
16052
076fe015
UD
160532011-08-16 Ulrich Drepper <drepper@gmail.com>
16054
174baab3
UD
16055 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
16056 specifies first scope to show.
16057 (dl_open_worker): Update callers. Move printing scope of new
16058 object to before the relocation.
44f0a71e 16059 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
16060 * sysdeps/generic/ldsodefs.h: Update declaration.
16061
076fe015
UD
16062 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
16063 string for the scope number.
16064
a60df2c3
UD
160652011-08-14 Ulrich Drepper <drepper@gmail.com>
16066
16067 * nscd/servicescache.c (cache_addserv): Make sure written is always
16068 initialized.
16069
5e4287d1
RM
160702011-08-14 Roland McGrath <roland@hack.frob.com>
16071
85ae0589
RM
16072 * sysdeps/i386/i486/bits/atomic.h
16073 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
16074 statement expression, so as to suppress "set but not used" warning.
16075 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
16076
69f63097
RM
16077 * string/strncat.c (STRNCAT): Use prototype definition.
16078
675456ef
RM
16079 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
16080 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
16081 -Iprograms here.
16082 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
16083 (localedef-modules): Add localedef.
16084 (locale-modules): Add locale.
16085
5e4287d1
RM
16086 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
16087 * elf/rtld.c (dl_main): Invert order of assignment in last change,
16088 to avoid a warning.
16089
9c96ff23
DM
160902011-08-14 David S. Miller <davem@davemloft.net>
16091
16092 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
16093 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
16094
f9ddf089
UD
160952011-08-13 Ulrich Drepper <drepper@gmail.com>
16096
44f0a71e 16097 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
16098 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
16099 * elf/rtld.c (dl_main): Set l_name of vDSO.
16100 Call _dl_show_scope when DL_DEBUG_SCOPES.
16101 (process_dl_debug): Recognize scopes flag and also set it for all.
16102 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
16103 Declare _dl_show_scope.
16104
1dc27704
UD
16105 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
16106 (do_dlopen): Pass caller_dlopen to dl_open.
16107 (__libc_dlopen_mode): Initialize caller_dlopen.
16108
f9ddf089
UD
16109 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
16110 of libc. Make tolower call locale-independent. Optimize a bit by
16111 using isdigit instead of isalnum.
16112 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
16113
9ac533d3
UD
161142011-08-12 Ulrich Drepper <drepper@gmail.com>
16115
16116 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
16117 was a dependency or dynamically loaded.
16118
89edf2e9
UD
161192011-08-11 Ulrich Drepper <drepper@gmail.com>
16120
8e999d29
UD
16121 * intl/l10nflist.c: Allow architecture-specific pop function.
16122 * sysdeps/x86_64/l10nflist.c: New file.
16123
89edf2e9
UD
16124 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
16125 classification.
16126
14d96785
AS
161272011-08-10 Andreas Schwab <schwab@redhat.com>
16128
16129 * include/dirent.h: Add libc_hidden_proto for scandirat and
16130 scandirat64. Don't declare __scandirat64.
16131 * dirent/scandirat.c: Add libc_hidden_def.
16132 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
16133 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
16134
6761ac04
DM
161352011-08-10 David S. Miller <davem@davemloft.net>
16136
16137 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
16138 enum.
16139 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16140 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16141 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16142
c55fbd1e
UD
161432011-08-09 Ulrich Drepper <drepper@gmail.com>
16144
16145 * Versions.def [libc]: Add GLIBC_2.15.
16146 * dirent/Makefile (routines): Add scandirat and scandirat64.
16147 * dirent/Versions [libc]: Export scandirat and scandirat64 for
16148 GLIBC_2.15.
16149 * dirent/dirent.h: Declare scandirat and scandirat64.
16150 * dirent/scandirat.c: New file.
16151 * dirent/scandirat64.c: New file.
16152 * sysdeps/wordsize-64/scandirat.c: New file.
16153 * sysdeps/wordsize-64/scandirat64.c: New file.
16154 * dirent/opendir.c: Define opendirat.
16155 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
16156 using scandirat.
16157 * dirent/scandir64.c: Adjust for scandir.c change.
16158 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
16159 __scandirat64, and __scandir_cancel_handler.
16160 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
16161 additional parameter and use openat instead of open (outside of ld.so).
16162 Add new __opendir as wrapper around __opendirat.
16163 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
16164 here without requiring old scandirat implementation.
16165
879165f2
UD
161662011-08-08 Ulrich Drepper <drepper@gmail.com>
16167
16168 * dirent/scandir.c (cancel_handler): Renamed to
16169 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
16170 defined. Adjust users.
16171 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
16172 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
16173
cb7e923b
UD
161742011-08-04 Ulrich Drepper <drepper@gmail.com>
16175
16292edd
UD
16176 * string/test-string.h (IMPL): Use __STRING to expand name and then
16177 stringify it.
16178
cb7e923b
UD
16179 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
16180 of cleanups.
16181
cff82933
LD
161822011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16183
16184 * string/Makefile: Update.
16185 (strop-tests): Append strncat.
16186 * string/test-wcscmp.c: New file.
16187 New comprehensive test for wcscmp.
16188 * string/test-strcmp.c: Update.
16189 (WIDE): New define.
16190
9be9bfcc
AS
161912011-07-22 Andreas Schwab <schwab@redhat.com>
16192
16193 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
16194 line.
16195
2e96f1c7
AS
161962011-07-26 Andreas Schwab <schwab@redhat.com>
16197
16198 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16199 encoding to ACE if AI_IDN.
16200
85188888
JJ
162012011-08-01 Jakub Jelinek <jakub@redhat.com>
16202
16203 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
16204 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
16205
5fa16e9b
LD
162062011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16207
16208 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
16209 Fix overflow bug in strncat.
16210 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
16211
16212 * string/test-strncat.c: Update.
16213 Add new tests for checking overflow bugs.
16214
162152011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16216
16217 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16218 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
16219 * sysdeps/i386/i686/multiarch/strcat.S: New file.
16220 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
16221 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
16222 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
16223 * sysdeps/i386/i686/multiarch/strncat.S: New file.
16224 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
16225 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
16226
16227 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
16228 (USE_AS_STRCAT): Define.
16229 Add strcat and strncat support.
16230 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16231
8c1a459f
AS
162322011-07-25 Andreas Schwab <schwab@redhat.com>
16233
16234 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
16235 __n bigger than INT_MAX+1.
16236 (__strncmp_g): Likewise.
16237
bba33c28
UD
162382011-07-23 Ulrich Drepper <drepper@gmail.com>
16239
798be72d
UD
16240 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
16241 * libio/stido.h: Likewise.
16242
8accd4dc
UD
16243 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
16244 (AF_NFC): Define.
16245 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
16246 (AF_NFC): Define.
16247
cbff0d96
UD
16248 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
16249 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16250 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16251 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16252 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16253
9191c04a
UD
16254 [BZ #13021]
16255 * scripts/test-installation.pl: Don't expect libnss_test1 to be
16256 installed.
16257
bba33c28
UD
16258 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
16259 typo.
16260 (_dl_x86_64_save_sse): Likewise.
16261
90f139dd
UD
162622011-07-22 Ulrich Drepper <drepper@gmail.com>
16263
1aae088a
UD
16264 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
16265 OSXSAVE.
16266 (_dl_x86_64_save_sse): Likewise.
16267
8e2045f5
UD
16268 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
16269
90f139dd
UD
16270 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
16271
1d002f25
AS
162722011-07-21 Andreas Schwab <schwab@redhat.com>
16273
16274 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
16275 change.
16276 (_dl_x86_64_save_sse): Use correct AVX check.
16277
21137f89
UD
162782011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16279
16280 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
16281 bug in strncpy/strncat.
16282 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
16283
a65c0b7a
UD
162842011-07-21 Ulrich Drepper <drepper@gmail.com>
16285
16286 * string/tester.c (test_strcat): Add tests for different alignments
16287 of source and destination.
16288 (test_strncat): Likewise.
16289
6986b98a
UD
162902011-07-20 Ulrich Drepper <drepper@gmail.com>
16291
90bb2039
UD
16292 [BZ #12852]
16293 * posix/glob.c (glob): Check passed in values before using them in
16294 expressions to avoid some overflows.
16295 (glob_in_dir): Likewise.
16296
5644ef54
UD
16297 [BZ #13007]
16298 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
16299 check for AVX enablement so that we don't crash with old kernels and
16300 new hardware.
16301 * elf/tst-audit4.c: Add same checks here.
16302 * elf/tst-audit6.c: Likewise.
16303
16304 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 16305
bfc9dc9b
AS
163062011-07-09 Andreas Schwab <schwab@linux-m68k.org>
16307
16308 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
16309
702e64bb
UD
163102011-07-20 Ulrich Drepper <drepper@gmail.com>
16311
16312 * po/cs.po: Update from translation team.
16313 * po/bg.po: Likewise.
16314
295e904f
MP
163152011-07-12 Marek Polacek <mpolacek@redhat.com>
16316
16317 * misc/sys/cdefs.h: Add support for const attribute.
16318 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
16319 to gnu_dev_{major,minor,makedev} functions.
16320
3ff94596
MP
163212011-07-20 Marek Polacek <mpolacek@redhat.com>
16322
16323 * intl/dcigettext.c (get_output_charset): Add missing bracket.
16324
28b59fca
AS
163252011-07-20 Andreas Schwab <schwab@redhat.com>
16326
16327 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
16328 strlen results.
16329
19df733e
AK
163302011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16331
16332 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
16333 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
16334 register in order to avoid conflicts with the soft frame pointer
16335 being held in r11 when necessary.
16336 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
16337 (INTERNAL_VSYSCALL_NCS): Likewise.
16338
c8835729
MP
163392011-07-14 Marek Polacek <mpolacek@redhat.com>
16340
16341 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
16342 * elf/dl-fini.c (_dl_fini): Adjust caller.
16343 * elf/dl-close.c (_dl_close_worker): Likewise.
16344 * sysdeps/generic/ldsodefs.h: Adjust declaration.
16345
b902330c
MP
163462011-07-15 Marek Polacek <mpolacek@redhat.com>
16347
8991e135
MP
16348 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
16349 "aux_cache->nlibs < 0".
16350
b902330c
MP
16351 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
16352 in the reload-count case.
16353
99710781
LD
163542011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16355
16356 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16357 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
16358 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
16359 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
16360 * sysdeps/x86_64/multiarch/strcat.S: New file.
16361 * sysdeps/x86_64/multiarch/strncat.S: New file.
16362 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
16363 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
16364 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
16365 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
16366 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
16367 (USE_AS_STRCAT): Define.
16368 Add strcat and strncat support.
16369 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16370 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16371 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
16372 * string/strncat.c: Update.
16373 (USE_AS_STRNCAT): Define.
16374 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16375 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
16376 and i7.
16377 * sysdeps/x86_64/multiarch/init-arch.h
16378 (bit_Prefer_PMINUB_for_stringop): New.
16379 (index_Prefer_PMINUB_for_stringop): Likewise.
16380 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
16381 bit_Prefer_PMINUB_for_stringop.
16382
7dc6bd90
UD
163832011-07-19 Ulrich Drepper <drepper@gmail.com>
16384
16385 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
16386 buffer64.
16387 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
16388 of casting of buffer.
16389 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
16390 buffer32 and buffer64.
16391 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
16392 writes instead of casting of buffer.
16393 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
16394 buffer32.
16395 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
16396 casting of buffer.
16397
e0e72284
AS
163982011-07-19 Andreas Schwab <schwab@redhat.com>
16399
16400 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
16401
feb1eb0b
UD
164022011-07-19 Ulrich Drepper <drepper@gmail.com>
16403
16404 * nscd/nscd.c (termination_handler): Don't do anything for a database
16405 if it has not yet been initialized.
16406
298711ff
UD
164072011-07-18 Ulrich Drepper <drepper@gmail.com>
16408
16409 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16410
164112011-07-15 Marek Polacek <mpolacek@redhat.com>
16412
16413 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16414
f9d68389
UD
164152011-07-18 Ulrich Drepper <drepper@gmail.com>
16416
16417 * po/nl.po: Update from translation team.
16418 * po/sv.po: Likewise.
16419
db290cf5
RM
164202011-07-16 Roland McGrath <roland@hack.frob.com>
16421
16422 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
16423 now disallowed by GCC.
5c550700 16424
fd5e21c7
RM
16425 * configure.in (use-default-link): Default to yes if a test -shared
16426 link meets our qualifications.
16427 * configure: Regenerated.
16428
5c550700
RM
16429 * config.make.in (output-format): New variable.
16430 * configure.in: Check for ld --print-output-format support.
16431 * configure: Regenerated.
16432 * Makerules ($(common-objpfx)format.lds)
16433 [$(output-format) != unknown]: Just use $(output-format),
16434 instead of the linker-script munging.
16435
9fa2c032
RM
164362011-07-14 Roland McGrath <roland@hack.frob.com>
16437
a6928d51
RM
16438 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
16439 of $(common-objpfx)shlib.lds.
16440 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
16441
661607b3
RM
16442 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
16443 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
16444
9fa2c032
RM
16445 * configure.in (-z relro check): Adjust test code to add a large
16446 writable data section after it.
16447 * configure: Regenerated.
16448
defe9061
RM
164492011-07-11 Roland McGrath <roland@hack.frob.com>
16450
16451 * configure.in (-z relro check): Fix test code to make the variable
16452 truly const.
16453 * configure: Regenerated.
16454
319b9ad4
UD
164552011-07-11 Ulrich Drepper <drepper@gmail.com>
16456
16457 * nscd/nscd.h (struct traced_file): Define.
16458 (struct database_dyn): Remove inotify_descr, reset_res, and filename
16459 elements. Add traced_files.
16460 (inotify_fd): Declare.
16461 (register_traced_file): Declare.
16462 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
16463 (inotify_fd): Export.
16464 (resolv_conf_descr): Remove.
16465 (nscd_init): Move inotify descriptor creation to main.
16466 Don't register files for notification here.
16467 (register_traced_file): New function.
16468 (invalidate_cache): Don't use reset_res to determine whether to call
16469 res_init, go through the list of registered files.
16470 (main_loop_poll): The inotify descriptors are now stored in the
16471 structures for the traced files.
16472 (main_loop_epoll): Likewise
16473 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
16474 to __nss_disable_nscd.
16475 * nscd/cache.c (prune_cache): There is no single inotify descriptor
16476 for a database anymore. Check the records for all the registered
16477 files instead.
16478 * nss/Makefile (libnss_files-routines): Add files-init.
16479 (libnss_db-routines): Add db-init.
16480 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
16481 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
16482 * nss/nss_db/db-init.c: New file.
16483 * nss/nss_files/files-init.c: New file.
16484 * nss/nsswitch.c (nss_load_library): New function. Broken out of
16485 __nss_lookup_function.
16486 (__nss_lookup_function): Call nss_load_library.
16487 (nss_load_all_libraries): New function.
16488 (__nss_disable_nscd): Take parameter with callback function for files
16489 to register. Set is_nscd. Load all the DSOs for the NSS modules
16490 used for the cached services.
16491 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
16492 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
16493 options for features to all the files in nscd.
16494
16495 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
16496
23bee3e8
RM
164972011-07-10 Roland McGrath <roland@hack.frob.com>
16498
16499 * csu/elf-init.c (__libc_csu_init): Comment typo.
16500
46a5b7f0
UD
165012011-07-09 Ulrich Drepper <drepper@gmail.com>
16502
16503 * po/pl.po: Update from translation team.
16504 * po/ja.po: Likewise.
16505 * po/ru.po: Likewise.
16506 * po/ko.po: Likewise.
16507 * po/fr.po: Likewise.
16508
d30cf5bb
RM
165092011-07-09 Roland McGrath <roland@hack.frob.com>
16510
113ddea4
RM
16511 * configure.in (.ctors/.dtors header and trailer check):
16512 Use an empirical test on a built program.
16513 * configure: Regenerated.
16514
574920b4
RM
16515 * configure.in (-z relro check): Use an empirical test on a built DSO.
16516 Detect, but do not require, on ia64.
16517 * configure: Regenerated.
16518
d30cf5bb
RM
16519 * configure.in (READELF): Find it with AC_CHECK_TOOL.
16520 Update tests that use readelf to use $READELF instead.
16521 * configure: Regenerated.
16522
8538fdb3
UD
165232011-07-08 Ulrich Drepper <drepper@gmail.com>
16524
16525 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
16526 if the result is not used.
16527
04d08991
AJ
165282011-07-05 Andreas Jaeger <aj@suse.de>
16529
16530 [BZ#9696]
16531 * stdlib/tst-strtod.c: Add testcase.
16532
de283087
AD
165332011-07-07 Ulrich Drepper <drepper@gmail.com>
16534
4e5f31c8 16535 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 16536 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
16537 The latter has a higher limit. Take additional parameter to pass to
16538 the new function.
16539 (__pathconf): Pass file to __statfs_link_max.
16540 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
16541 __statfs_link_max.
16542 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
16543 __statfs_link_max.
16544
de283087
AD
16545 [BZ #12868]
16546 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
16547 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16548 Handle Lustre.
16549 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
16550 (__statfs_filesize_max): Likewise.
16551 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
16552
c75fa153
AJ
165532011-07-05 Andreas Jaeger <aj@suse.de>
16554
16555 * resolv/res_comp.c (dn_skipname): Remove unused variable.
16556
1a544854
UD
165572011-07-06 Marek Polacek <mpolacek@redhat.com>
16558
16559 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
16560 `status' variable.
16561 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
16562 Likewise.
16563
6f0eec67
UD
165642011-07-04 H.J. Lu <hongjiu.lu@intel.com>
16565
16566 * Makefile (strop-tests): Add strncat.
16567 * string/test-strncat.c: New file.
16568
aae30307
UD
165692011-06-30 Marek Polacek <mpolacek@redhat.com>
16570
16571 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
16572
c0cfb5eb
UD
165732011-06-21 Andreas Jaeger <aj@suse.de>
16574
16575 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
16576 Copy rule from iconvdata/Makefile.
16577
01636b21
UD
165782011-07-06 Ulrich Drepper <drepper@gmail.com>
16579
16580 [BZ #12922]
16581 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
16582 but no long options are defined, just return 'W'.
16583
9895c8bc
UD
165842011-06-22 Marek Polacek <mpolacek@redhat.com>
16585
16586 [BZ #9696]
16587 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
16588
5d4cf042
UD
165892011-07-06 Ulrich Drepper <drepper@gmail.com>
16590
16591 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
16592 netgroups to read.
960e5535 16593 (innetgr): Likewise.
5d4cf042 16594
751eb97e
RM
165952011-07-05 Roland McGrath <roland@hack.frob.com>
16596
16597 * config.make.in (install_root): Default to $(DESTDIR).
16598
f15f1e45
UD
165992011-07-05 Ulrich Drepper <drepper@gmail.com>
16600
16601 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
16602
4e34ac6a
RM
166032011-07-02 Roland McGrath <roland@hack.frob.com>
16604
5e9b6af4
RM
16605 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
16606
84f9ea0f
RM
16607 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
16608 containing directory rather than embedding absolute directory names.
16609
ea5ee9f7
RM
16610 * scripts/check-local-headers.sh: Rewritten using awk.
16611 Match by word, not by line. Print error messages for matches.
16612 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
16613
1b74661a
RM
16614 * Makerules [shlib-lds-flags empty]:
16615 ($(common-objpfx)libc_pic.opts): New target.
16616 ($(common-objpfx)libc_pic.os.clean): New target.
16617 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
16618
16619 * config.make.in (OBJCOPY): New variable.
16620 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
16621 * configure: Regenerated.
16622
f781ef40
RM
16623 * config.make.in (use-default-link): New variable.
16624 * configure.in (use_default_link): Grok --with-default-link to set it.
16625 * configure: Regenerated.
16626 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
16627 (shlib-lds, shlib-lds-flags): Define to empty.
16628
2d4fa81e
RM
16629 * Makerules (shlib-lds): New variable.
16630 (shlib-lds-flags): New variable.
16631 (build-shlib, build-moduile, build-module-asneeded): Use it.
16632 ($(common-objpfx)libc.so): Use $(shlib-lds).
16633 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
16634 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
16635
31fffa6b
RM
16636 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
16637 DT_FLAGS/DT_FLAGS_1 with zero flags.
16638
4e34ac6a
RM
16639 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
16640 linker script munging.
16641
fcfc776b
UD
166422011-07-02 Ulrich Drepper <drepper@gmail.com>
16643
16644 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
16645 as 128-bit value.
16646 * crypt/sha512.c (sha512_process_block): Perform total addition using
16647 128-bit if possible.
16648 (__sha512_finish_ctx): Likewise.
16649 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
16650 as 64-bit value.
16651 * crypt/sha256.c (SWAP64): Define.
16652 (sha256_process_block): Perform total addition using 64-bit if
16653 possible.
16654 (__sha256_finish_ctx): Likewise.
16655
99231d9a
UD
166562011-07-01 Ulrich Drepper <drepper@gmail.com>
16657
16658 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
16659 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16660 * nscd/hstcache.c (cache_addhst): Likewise.
16661 * nscd/grpcache.c (cache_addgr): Likewise.
16662 * nscd/aicache.c (addhstaiX): Likewise
16663 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
16664
445b4a53
TK
166652011-07-01 Thorsten Kukuk <kukuk@suse.de>
16666
16667 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
16668 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16669 * nscd/hstcache.c (cache_addhst): Likewise.
16670 * nscd/grpcache.c (cache_addgr): Likewise.
16671 * nscd/aicache.c (addhstaiX): Likewise
16672
6d4d8e8e
AS
166732011-07-01 Andreas Schwab <schwab@redhat.com>
16674
16675 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
16676 domain only when needed.
16677
89f654c5
AS
166782011-06-30 Andreas Schwab <schwab@redhat.com>
16679
16680 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
16681 is always restored.
16682
cf3b23ff
UD
166832011-06-29 Ulrich Drepper <drepper@gmail.com>
16684
16685 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
16686 are re-adding the entry.
16687 * nscd/servicescache.c (cache_addserv): Likewise.
16688
751626f9
AJ
166892011-06-30 Aurelien Jarno <aurelien@aurel32.net>
16690
16691 * sysdeps/generic/dl-irel.h: fix protection against multiple
16692 inclusions.
16693 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
16694
9113ea1f
UD
166952011-06-28 Ulrich Drepper <drepper@gmail.com>
16696
5c0b8d90
UD
16697 [BZ #12935]
16698 * malloc/memusage.sh: Fix quoting in message.
16699 * debug/xtrace.sh: Likewise.
16700
9113ea1f
UD
16701 * configure.in: Remove support for --experimental-malloc option, make
16702 it the default.
16703 * config.make.in: Likewise.
16704 * malloc/Makefile: Likewise.
16705
a4172181
AS
167062011-06-27 Andreas Schwab <schwab@redhat.com>
16707
16708 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
16709 two-byte characters.
16710
78a7eee7
RM
167112011-06-27 Roland McGrath <roland@hack.frob.com>
16712
62bede13
RM
16713 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
16714 AC_CACHE_CHECK invocation.
16715 * configure: Regenerated.
16716
78a7eee7
RM
16717 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
16718
5ce33a62
UD
167192011-06-27 Ulrich Drepper <drepper@gmail.com>
16720
034807a9
UD
16721 [BZ #12350]
16722 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
16723 bit from old_res_options.
16724
4902da17
UD
16725 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
16726
5ce33a62
UD
16727 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
16728 value type for setfct.
16729
c2344f56
L
167302011-06-23 H.J. Lu <hongjiu.lu@intel.com>
16731
16732 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16733 __gettimeofday instead of gettimeofday.
16734
68468076
UD
167352011-06-26 Ulrich Drepper <drepper@gmail.com>
16736
16737 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
16738
acb0d739
L
167392011-06-24 H.J. Lu <hongjiu.lu@intel.com>
16740
16741 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
16742
16743 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
16744 info.
16745
8912479f
L
167462011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16747
16748 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16749 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16750 strcpy-sse2-unaligned strncpy-sse2-unaligned
16751 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
16752 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
16753 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
16754 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
16755 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
16756 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
16757 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
16758 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
16759 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
16760 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
16761 (STRCPY): Support SSE2 and SSSE3 versions.
16762
d5495a11
UD
167632011-06-24 Ulrich Drepper <drepper@gmail.com>
16764
16765 [BZ #12874]
16766 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
16767 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
16768 kernels which artificially limit size of requests.
16769
0b1cbaae
L
167702011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16771
16772 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16773 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16774 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
16775 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
16776 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
16777 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
16778 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
16779 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
16780 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
16781 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
16782 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
16783 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
16784 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
16785 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
16786 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
16787 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16788 Enable unaligned load optimization for Intel Core i3, i5 and i7
16789 processors.
16790 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
16791 Define.
16792 (index_Fast_Unaligned_Load): Define.
16793 (HAS_FAST_UNALIGNED_LOAD): Define.
16794
07f494a0
MP
167952011-06-23 Marek Polacek <mpolacek@redhat.com>
16796
16797 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
16798
fa3fc0fe
UD
167992011-06-22 Ulrich Drepper <drepper@gmail.com>
16800
16801 [BZ #12907]
16802 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
16803 until it is clear that the information is realy needed.
16804 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
16805
e12df166
AS
168062011-06-22 Andreas Schwab <schwab@redhat.com>
16807
16808 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
16809
852eb34d
UD
168102011-06-22 Ulrich Drepper <drepper@gmail.com>
16811
84e2a551
UD
16812 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16813 /sys/devices/system/cpu/online if it is usable.
16814
852eb34d
UD
16815 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
16816 reading the information from the /proc filesystem to once a second.
16817
6e502e19
UD
168182011-06-21 Andreas Jaeger <aj@suse.de>
16819
16820 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
16821 NULL after inclusion of kernel headers.
16822
75d39ff2
UD
168232011-06-21 Ulrich Drepper <drepper@gmail.com>
16824
51f9aa6a
UD
16825 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
16826 calls to internal_setent.
16827
c0244a9d
UD
16828 [BZ #12885]
16829 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
16830 addresses using gethostbyname4_r ignore IPv4 addresses.
16831
c5e3c2ae
UD
16832 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
16833 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
16834
75d39ff2
UD
16835 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
16836
42675c6f
DM
168372011-06-20 David S. Miller <davem@davemloft.net>
16838
16839 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
16840 inclusions.
16841 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
16842
16843 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
16844 (elf_irel): Use it.
16845 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
16846 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
16847 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
16848 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
16849 * sysdeps/x86_64/dl-irel.h: Likewise.
16850
16851 * elf/dl-runtime.c: Use elf_ifunc_invoke.
16852 * elf/dl-sym.c: Likewise.
16853
57912a71
UD
168542011-06-15 Ulrich Drepper <drepper@gmail.com>
16855
16856 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
16857 need to dereference resplen2.
16858
ee22793d
AS
168592011-06-14 Andreas Schwab <schwab@redhat.com>
16860
16861 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
16862
a9e836b0
UD
168632011-06-15 Ulrich Drepper <drepper@gmail.com>
16864
77fb9117
UD
16865 * Makeconfig: Define vardbdir and inst_vardbdir.
16866 * nss/Makefile: Add rules to install db-Makefile.
16867
40c1b22c
UD
16868 * nss/nss_db/db-XXX.c: Cleanup.
16869
9f2da732
UD
16870 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
16871 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
16872 GLIBC_PRIVATE.
16873 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
16874 * nss/makedb.c: Implement -g option to specify that value strings
16875 are generated and should not be added to table iterated over for
16876 get*ent calls.
16877 * nss/nss_db/db-initgroups.c: New file.
16878
82e9a1f7
UD
16879 * nss/getent.c: Add support for initgroups lookups through getgrouplist
16880 interface.
16881
c41af17e
UD
16882 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
16883 (internal_getgrouplist): Adjust to name change.
16884 Update use_initgroups_entry if this is not the first call.
16885 * nss/databases.def: Add initgroups entry.
16886
a9e836b0
UD
16887 * nss/makedb.c (compute_tables): Check result of multiple hash table
16888 sizes to minimize maximum chain length.
16889
2666d441
UD
168902011-06-14 Ulrich Drepper <drepper@gmail.com>
16891
16892 * Versions.def: Add entry for libnss_db.
16893 * shlib-versions: Likewise.
16894 * nss/Makefile: Add rules to build libnss_db.
16895 * nss/Versions: Add libnss_db information. Organize libnss_files
16896 entries better.
16897 * nss/db-Makefile: Add gshadow support. Change rules for the new
16898 makedb progra. Some minor improvements to generate smaller files.
16899 * nss/nss_db/nss_db.h: Move NSS database header data structures to
16900 here from...
16901 * nss/makedb.c: ...here.
16902 Improve database format to be smaller and require less memory at
16903 runtime.
16904 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
16905 db anymore.
16906 * nss/nss_db/db-netgrp.c: Likewise.
16907 * nss/nss_db/db-open.c: Likewise.
16908 * nss/nss_files/flies-XXX.x: Adjust comments.
16909 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
16910 * nss/nss_files/files-grp.c: Likewise.
16911 * nss/nss_files/files-hosts.c: Likewise.
16912 * nss/nss_files/files-network.c: Likewise.
16913 * nss/nss_files/files-proto.c: Likewise.
16914 * nss/nss_files/files-pwd.c: Likewise.
16915 * nss/nss_files/files-rpc.c: Likewise.
16916 * nss/nss_files/files-service.c: Likewise.
16917 * nss/nss_files/files-sgrp.c: Likewise.
16918 * nss/nss_files/files-spwd.c: Likewise.
16919 * nss/nss_db/db-alias.c: Removed.
16920 * nss/nss_db/dummy-db.h: Removed.
16921
9ee76b5a
UD
169222011-06-02 Ulrich Drepper <drepper@gmail.com>
16923
16924 * nss/makedb.c: Rewritten to not use database library.
16925 * nss/Makefile: Update to build new makedb program.
16926
c71ca1f8
AJ
169272011-06-14 Andreas Jaeger <aj@suse.de>
16928
16929 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
16930 memset declaration.
16931
3154bfb8
UD
169322011-06-10 Andreas Schwab <schwab@redhat.com>
16933
16934 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
16935 tmpbuf.
16936
b350afab
RM
169372011-06-10 Roland McGrath <roland@hack.frob.com>
16938
decd4e50
RM
16939 * Makerules (shlib.lds): Fail if the linker script comes out empty.
16940 * elf/Makefile ($(objpfx)ld.so): Likewise.
16941
5615eaf2
RM
16942 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
16943 Don't list ld.so twice in dependencies.
16944
16945 * posix/bug-regex31.c: Include <stdlib.h>.
16946
16947 * nscd/hstcache.c (cache_addhst): Remove unused variable.
16948
16949 * nis/nss_compat/compat-spwd.c
16950 (getspent_next_nss_netgr): Remove unused variable.
16951 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
16952
16953 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
16954 nonmembers" output to use the right array.
16955
16956 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
16957
16958 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
16959
16960 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
16961 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
16962 * catgets/gencat.c (read_input_file): Likewise.
16963 * locale/programs/locarchive.c (enlarge_archive): Likewise.
16964
16965 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
16966 variable definition inside #if's controlling its use.
16967
16968 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
16969
16970 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
16971
16972 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
16973
16974 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
16975 unreachable code.
16976
16977 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
16978
b68e08db
RM
16979 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
16980 * configure: Regenerated.
16981
b350afab
RM
16982 * Makerules: Revert last change.
16983 * elf/Makefile: Likewise.
16984
28368601
RM
169852011-06-09 Roland McGrath <roland@hack.frob.com>
16986
16987 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
16988 * elf/Makefile ($(objpfx)librtld.os): Likewise.
16989 (reloc-link): Likewise.
16990
11988f8f
UD
169912011-06-09 Ulrich Drepper <drepper@gmail.com>
16992
16993 * elf/Makefile: Add rules to build pldd.
16994 * elf/pldd.c: New file.
16995 * elf/pldd-xx.c: New file.
16996
e80fab37
UD
169972011-06-07 Ulrich Drepper <drepper@gmail.com>
16998
16999 * version.h: Update for 2.15 development version.
17000
9b849836
DM
170012011-06-07 David S. Miller <davem@davemloft.net>
17002
17003 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
17004 ifuncs.
17005 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
17006 elf_machine_lazy_rel): Likewise.
17007 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17008 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
17009 elf_machine_lazy_rel): Likewise.
17010 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
17011 dl_hwcap via passed in argument.
17012 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
17013 Likewise.
17014
5a31b283
AK
170152011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17016
17017 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
17018
069e52f8
RM
170192011-06-06 Roland McGrath <roland@hack.frob.com>
17020
17021 [BZ #12849]
17022 * manual/fdl-1.1.texi: New file, verbatim from:
17023 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
17024 * manual/lgpl-2.1.texi: New file, verbatim from:
17025 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
17026 * manual/Makefile (licenses): New variable, list those new file names.
17027 (texis): Use it.
17028 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
17029
17030 * manual/fdl.texi: File removed.
17031 * manual/lesser.texi: File removed.
17032 * manual/libc.texinfo (Copying, Documentation License):
17033 Use new @include file names, put @appendix directive before @include.
17034
f16846a5
JJ
170352011-06-04 Jakub Jelinek <jakub@redhat.com>
17036
17037 [BZ #12841]
17038 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
17039 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
17040 (mq_open): Add __NTH.
17041
3d29045b
L
170422011-06-02 H.J. Lu <hongjiu.lu@intel.com>
17043
17044 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17045 Assume Intel Core i3/i5/i7 processor if AVX is available.
17046
8c297311
UD
170472011-05-31 Ulrich Drepper <drepper@gmail.com>
17048
17049 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17050 typo.
17051
c8fc0c91
UD
170522011-05-31 Andreas Schwab <schwab@redhat.com>
17053
17054 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
17055 memory. Use alloca_account. Fix memory leak when retrying.
17056
5b27a807
UD
170572011-05-31 Ulrich Drepper <drepper@gmail.com>
17058
356f8bc6
UD
17059 * version.h (RELEASE): Bump for 2.14 release.
17060 * include/features.h (__GLIBC_MINOR__): Bump to 14.
17061
5b27a807
UD
17062 * config.make.in (RANLIB): Remove entry.
17063
01f16ab0
UD
170642011-05-30 Ulrich Drepper <drepper@gmail.com>
17065
41fce8bd
UD
17066 * po/Makefile (po-sed-cmd): Add ksh to extensions.
17067 (libc.pot): Work around missing support for .ksh extension in xgettext.
17068
4769ae77
UD
17069 [BZ #12684]
17070 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
17071 if both request failed.
17072 (send_dg): In case of server errors clear resplen or *resplen2.
17073
6b1e7d19
UD
17074 [BZ #12454]
17075 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
17076 when there are multiple maps.
17077 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
17078 (_dl_fini): Remove test here.
17079
01f16ab0
UD
17080 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
17081
b1ebd700
UD
170822011-05-29 Ulrich Drepper <drepper@gmail.com>
17083
7ae22829
UD
17084 [BZ #12350]
17085 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
17086 bit from old_res_options.
17087 (gaih_inet): Likewise.
17088
553149f6 17089 [BZ #11099]
18a84741 17090 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
17091 as signed.
17092
652ffab1
UD
17093 * resolv/res_init.c (res_setoptions): Make the code more compact.
17094
16985fd0
UD
17095 [BZ #11558]
17096 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
17097 set RES_USEVC.
17098
0464f746
UD
17099 [BZ #11634]
17100 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
17101
7d17596c
UD
17102 * malloc/malloc.h: Mark malloc hook variables as deprecated.
17103
cf6bbbd7
UD
17104 [BZ #11781]
17105 * malloc/malloc.h: Declare malloc hook variables as volatile.
17106
13f1ab36
UD
17107 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
17108 in last patch.
17109
b1ebd700
UD
17110 [BZ #11799]
17111 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 17112 raise in the comment.
80e2212d
UD
17113 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17114 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17115 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 17116
ce67228d
UD
171172011-05-28 Ulrich Drepper <drepper@gmail.com>
17118
8887a920
UD
17119 [BZ #12811]
17120 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
17121 grow the buffers more if it already has to be sufficient.
17122 (build_wcs_upper_buffer): Likewise.
17123 * posix/regexec.c (check_matching): Likewise.
17124 (clean_state_log_if_needed): Likewise.
17125 (extend_buffers): Don't enlarge buffers beyond size of the input
17126 buffer.
17127 Patches mostly by Emil Wojak <emil@wojak.eu>.
17128 * posix/bug-regex32.c: New file.
17129 * posix/Makefile (tests): Add bug-regex32.
17130
4f031072
UD
17131 * locale/findlocale.c (_nl_find_locale): Return right away if
17132 _nl_explode_name failed.
17133 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
17134
d0478f0c
UD
17135 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
17136
de81b246
UD
17137 * debug/xtrace.sh: Unify messages.
17138 * malloc/memusage.sh: Likewise.
17139
c738465a
UD
17140 [BZ #12813]
17141 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
17142 time symbol from vDSO. Substitute with vsyscall if not available.
17143 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
17144 __vdso_time.
17145
f1f929d7
UD
17146 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
17147 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
17148 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
17149 Add sendmmsg and internal_sendmmsg.
17150 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
17151 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
17152 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
17153
ce67228d
UD
17154 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
17155 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
17156 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
17157
e57420c6
UD
171582011-05-27 Ulrich Drepper <drepper@gmail.com>
17159
a8509ca5
UD
17160 [BZ #12813]
17161 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
17162 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
17163 available.
17164 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
17165 __vdso_getcpu.
17166
e57420c6
UD
17167 [BZ #12814]
17168 * iconvdata/Makefile (tests): Add bug-iconv9.
17169 * iconvdata/bug-iconv9.c: New file.
17170
4d07db15
AS
171712011-05-27 Andreas Schwab <schwab@redhat.com>
17172
17173 [BZ #12814]
17174 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
17175
ea486f69
JJ
171762011-05-25 Jakub Jelinek <jakub@redhat.com>
17177
17178 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17179 (struct user_regs_struct): Change intcs field back to cs.
17180
6f038433
UD
171812011-05-25 Ulrich Drepper <drepper@gmail.com>
17182
17183 * po/ja.po: Update from translation team.
17184
67f86a25
UD
171852011-05-23 Ulrich Drepper <drepper@gmail.com>
17186
17187 [BZ #12795]
17188 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
17189 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
17190
def7fbd6
AS
171912011-05-20 Andreas Schwab <schwab@redhat.com>
17192
17193 * stdlib/longlong.h: Update from GCC.
17194
f50ef8f1
AS
171952011-05-23 Andreas Schwab <schwab@redhat.com>
17196
17197 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
17198 parameter name.
17199 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
17200 Add parameter name.
17201 (__sysconf): Pass it down.
17202
de7ce8f1
UD
172032011-05-22 Ulrich Drepper <drepper@gmail.com>
17204
f2962a71
UD
17205 [BZ #12671]
17206 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
17207 some situations.
17208 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17209 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
17210 add in in __libc_use_alloca calls. Adjust callers.
17211 (glob): Use malloc in some situations.
17212
de7ce8f1
UD
17213 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
17214 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
17215 pltexit.
17216
aec84f53
UD
172172011-05-21 Ulrich Drepper <drepper@gmail.com>
17218
05bb4a68
UD
17219 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
17220 and CLOCK_BOOTTIME_ALARM.
17221
7ea72f99
UD
17222 [BZ #12782]
17223 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
17224 is returned.
17225
7e4afad5
UD
17226 * string/_strerror.c (__strerror_r): Print negative errors as signed
17227 numbers.
17228
8e211fec
UD
17229 [BZ #12777]
17230 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
17231 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
17232 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
17233
f7d82dc9
UD
17234 * configure.in: Fix typo in redirection and correct removal of test
17235 files in two cases.
17236
cc9e536d
UD
17237 [BZ #12788]
17238 * locale/setlocale.c (new_composite_name): Fix test to check for
17239 identical name of all categories.
17240
aec84f53
UD
17241 [BZ #12792]
17242 * libio/filedoalloc.c (local_isatty): New function.
17243 (_IO_file_doallocate): Use local_isatty.
17244 * stdio-common/perror.c (perror): In case a new stream is used
17245 forward the stream error.
17246 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
17247 error flag.
17248
78e64fdc
RT
172492011-05-20 Ulrich Drepper <drepper@gmail.com>
17250
34a9094f
UD
17251 [BZ #11869]
17252 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
17253 alloca.
17254 * include/alloca.h (extend_alloca_account): Define.
17255
78e64fdc
RT
17256 [BZ #11857]
17257 * posix/regex.h: Fix comments with documentation of user-accessible
17258 fields after compilation and describe correct free'ing of pattern
17259 after re_compile_pattern.
17260 Patch by Reuben Thomas <rrt@sc3d.org>.
17261
457bddfc
RA
172622011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
17263
17264 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
17265 and -mno-altivec to prevent the compiler from using Altivec and/or
17266 VSX instructions when the corresponding registers are not available.
17267
a4527b51
AS
172682011-05-19 Andreas Schwab <schwab@redhat.com>
17269
17270 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
17271
ed690b2f
UD
172722011-05-19 Ulrich Drepper <drepper@gmail.com>
17273
17274 * libio/freopen.c (freopen): Use __dup2, not dup2.
17275 * libio/freopen64.c (freopen64): Likewise.
17276
8db73634
L
172772011-05-17 H.J. Lu <hongjiu.lu@intel.com>
17278
17279 [BZ #12775]
17280 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
17281 * math/Makefile (tests): Add test-powl.
17282 (CFLAGS-test-powl.c): Define.
17283 * math/test-powl.c: New file.
17284
0a197a9d
L
172852011-05-16 H.J. Lu <hongjiu.lu@intel.com>
17286
17287 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
17288
ee30c380
UD
172892011-05-17 Ulrich Drepper <drepper@gmail.com>
17290
17291 [BZ #11837]
17292 * iconvdata/gb18030.c: Update to GB18020-2005.
17293
6ce75379
UD
172942011-05-16 Ulrich Drepper <drepper@gmail.com>
17295
a4b89fd8
AR
17296 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
17297 RE_SYNTAX_POSIX_AWK): Update to match recent development.
17298 Patch by Aharon Robbins <arnold@skeeve.com>.
17299
ea389b12
UD
17300 [BZ #11892]
17301 * stdlib/putenv.c (putenv): Don't always create copy of the variable
17302 on the stack.
17303
68a3f91f
UD
17304 [BZ #11895]
17305 * misc/pselect.c (__pselect): Handle timeout value errors hidden
17306 through underflows.
17307
15cc7dd1
UD
17308 [BZ #12766]
17309 * misc/error.c (error_at_line): Ensure file_name and old_file_name
17310 point to strings before performing equality test for error_one_per_line
17311 mode.
17312
f3799213
UD
17313 [BZ #11697]
17314 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
17315
d79a9c94
UD
17316 [BZ #11820]
17317 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17318 (struct user_fpregs_struct): Avoid __uint*_t types.
17319
56e5eb46
UD
17320 [BZ #6420]
17321 * malloc/mtrace.c (tr_where): Add additional parameter to point to
17322 symbol info. Use it instead of calling _dl_addr locally.
17323 (lock_and_info): New function.
17324 (tr_freehook): Call lock_and_info and pass symbol info as additional
17325 parameter to tr_where.
17326 (tr_mallochook): Likewise.
17327 (tr_reallochook): Likewise.
17328 (tr_memalignhook): Likewise.
17329
6ce75379
UD
17330 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
17331 used and couldn't be at all thread-safe.
17332
f8a3b5bf
UD
173332011-05-15 Ulrich Drepper <drepper@gmail.com>
17334
94b7cc37
UD
17335 * libio/freopen.c (freopen): Don't close old file descriptor
17336 before the new one is opened. Instead dup the new file descriptor
17337 to the old one after the new stream is created.
17338 * libio/freopen64.c (freopen64): Likewise.
17339 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
17340 * libio/fileops.c (_IO_new_file_close_it): Handle new
17341 _IO_FLAGS2_NOCLOSE flag.
17342 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
17343 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
17344 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
17345 _IO_FLAGS2_NOCLOSE flag.
17346 * include/unistd.h: Add hidden_proto for dup3.
17347 Define __have_dup3.
17348 * io/dup3.c: Define hidden symbol.
17349 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
17350
bd25564e
UD
17351 [BZ #7101]
17352 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
17353 when an incomplete long option is used.
17354 * posix/tst-getopt_long1.c: New file.
17355 * posix/Makefile (tests): Add tst-getopt_long1.
17356
c84cfef4
UD
17357 [BZ #10138]
17358 * scripts/config.guess: Update from autoconf-2.68.
17359 * scripts/config.sub: Likewise.
17360
3b85df27
UD
17361 [BZ #10157]
17362 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
17363 tests into ...
17364 (has_cpuclock): ...this. New function.
17365 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
17366 macro here based on has_cpuclock code.
17367
15a856b1
UD
17368 [BZ #10149]
17369 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17370 First byte (not low byte) is now always NUL.
17371 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
17372
05f399e6
UD
17373 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17374 Use non-cancelable interfaces.
17375
10a52685 17376 [BZ #9809]
94ecc67d
UD
17377 * locale/iso-639.def: Add entry for Sorani.
17378
f8a3b5bf
UD
17379 [BZ #11901]
17380 * include/stdlib.h: Move include protection to the right place.
17381 Define abort_msg_s. Declare __abort_msg with it.
17382 * stdlib/abort.c (__abort_msg): Adjust type.
17383 * assert/assert.c (__assert_fail_base): New function. Majority
17384 of code from __assert_fail. Allocate memory for __abort_msg with
17385 mmap.
17386 (__assert_fail): Now call __assert_fail_base.
17387 * assert/assert-perr.c: Remove bulk of implementation. Use
17388 __assert_fail_base.
17389 * include/assert.hL Declare __assert_fail_base.
17390 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
17391 mmap.
17392 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
17393
1af4e298
UD
173942011-05-14 Ulrich Drepper <drepper@gmail.com>
17395
f8a3b5bf 17396 [BZ #11952]
d26dfc60
MG
17397 [BZ #12453]
17398 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
17399 until all modules are registered in the DTV.
17400 * elf/Makefile: Add rules to build and run tst-tls19.
17401 * elf/tst-tls19.c: New file.
17402 * elf/tst-tls19mod1.c: New file.
17403 * elf/tst-tls19mod2.c: New file.
17404 * elf/tst-tls19mod3.c: New file.
17405 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
17406
2fc54d6f
UD
17407 [BZ #12083]
17408 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
17409 correctly.
17410
98d76b46
UD
17411 [BZ #12601]
17412 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
17413 two-byte sequence errors.
17414 * iconvdata/Makefile (tests): Add bug-iconv8.
17415 * iconvdata/bug-iconv8.c: New file.
17416
da3c19ef
UD
17417 [BZ #12626]
17418 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
17419 buf2 definition.
17420
ca408c15
UD
17421 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
17422
d6f67f7d
UD
17423 [BZ #12432]
17424 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
17425 (dummy_getcfa): New function.
17426 (init): Get _Unwind_GetCFA address, use dummy if not found.
17427 (backtrace_helper): In recursion check, also check whether CFA changes.
17428 (__backtrace): Completely initialize arg.
17429
1af4e298 17430 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
17431 storing incomplete byte sequence in state object. Avoid testing for
17432 guaranteed too small input if we know there is enough data available.
1af4e298 17433
da62f81b
AS
174342011-05-11 Andreas Schwab <schwab@redhat.com>
17435
17436 * Makeconfig (+link-pie): Indent.
17437 * Rules (binaries-pie): Define if $(have-fpie) and
17438 $(build-shared).
17439 (binaries-shared): Also filter out $(binaries-pie).
17440 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
17441 * nscd/Makefile (others-pie): Add nscd.
17442 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
17443 ($(objpfx)nscd): Remove command override.
17444 * login/Makefile (others-pie): Add pt_chown.
17445 ($(objpfx)pt_chown): Remove command override.
17446 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
17447 remove command overrides.
17448
fcabc0f8
UD
174492011-05-13 Ulrich Drepper <drepper@gmail.com>
17450
20030ae6
UD
17451 * libio/tst_putwc.c: Fix error messages.
17452
fcabc0f8
UD
17453 [BZ #12724]
17454 * libio/fileops.c (_IO_new_file_close_it): Always flush when
17455 currently writing and seek to current position when not.
17456 * libio/Makefile (tests): Add bug-fclose1.
17457 * libio/bug-fclose1.c: New file.
17458
320a5dc0
PB
174592011-05-12 Ulrich Drepper <drepper@gmail.com>
17460
17461 [BZ #12511]
17462 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
17463 don't set DF_1_NODELETE here.
17464 (do_lookup_x): When entering new entry test for copy relocation
17465 and if necessary set DF_1_NODELETE flag.
17466 * elf/tst-unique4.cc: New file.
17467 * elf/tst-unique4.h: New file.
17468 * elf/tst-unique4lib.cc: New file.
17469 * elf/Makefile: Add rules to build and run tst-unique4.
17470 Patch by Piotr Bury <pbury@goahead.com>.
17471
22836f52
UD
174722011-05-11 Ulrich Drepper <drepper@gmail.com>
17473
f574184a
UD
17474 [BZ #12052]
17475 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
17476
e1fb097f
UD
17477 [BZ #12625]
17478 * misc/mntent_r.c (addmntent): Flush the stream after the output
17479
22836f52
UD
17480 [BZ #12393]
17481 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
17482 (is_trusted_path_normalize): Skip initial colon. Append slash
17483 to empty buffer. Duplicate is_trusted_path code but allow
17484 constructed patch to be prefix.
17485 (is_dst): Allow $ORIGIN followed by /.
17486 (_dl_dst_substitute): Correct clearing of check_for_trusted.
17487 Correct testing of result of is_trusted_path_normalize
17488 (decompose_rpath): Fix warning.
17489
7b3b0b2a
UD
174902011-05-10 Ulrich Drepper <drepper@gmail.com>
17491
17492 [BZ #11257]
17493 * grp/initgroups.c (internal_getgrouplist): When we found the service
17494 list through the initgroups entry in nsswitch.conf do not always
17495 continue on a successful lookup. Don't always use the
eac80ce2 17496 __nss_group_database value if it is set.
7b3b0b2a
UD
17497 * nss/nsswitch.conf (initgroups): Change action for successful db
17498 lookup to continue for compatibility.
17499
2a81eaa5
UD
175002011-05-09 Ulrich Drepper <drepper@gmail.com>
17501
be97a69e
UD
17502 [BZ #11532]
17503 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
17504 and CP774 modules.
17505 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
17506 and CP774 modules.
17507 * iconvdata/tst-tables.sh: Likewise.
17508 * iconvdata/cp770.c: New file.
17509 * iconvdata/cp771.c: New file.
17510 * iconvdata/cp772.c: New file.
17511 * iconvdata/cp773.c: New file.
17512 * iconvdata/cp774.c: New file.
17513 * iconvdata/testdata/CP770: New file.
17514 * iconvdata/testdata/CP770..UTF8: New file.
17515 * iconvdata/testdata/CP771: New file.
17516 * iconvdata/testdata/CP771..UTF8: New file.
17517 * iconvdata/testdata/CP772: New file.
17518 * iconvdata/testdata/CP772..UTF8: New file.
17519 * iconvdata/testdata/CP773: New file.
17520 * iconvdata/testdata/CP773..UTF8: New file.
17521 * iconvdata/testdata/CP774: New file.
17522 * iconvdata/testdata/CP774..UTF8: New file.
17523
17524 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
17525 END CHARMAP line.
17526 * iconvdata/gen-8bit-gap.sh: Likewise.
17527 * iconvdata/gen-8bit.sh: Likewise.
17528
c1e9e399
UD
17529 * locale/iso-639.def: Add ary entry.
17530
24c55fb3 17531 [BZ #11258]
96b4b1b0
UD
17532 * locale/C-translit.h.in: Add U20A1 transliteration.
17533
bdc2f971
KB
17534 [BZ #12178]
17535 * locale/iso-639.def: Add wae entry.
17536 Patch by Kevin Bortis <bortis@translate-wae.ch>.
17537
2952b117
UD
17538 [BZ #12545]
17539 * locale/programs/localedef.c (construct_output_path): Use ssize_t
17540 for n.
17541
2a81eaa5
UD
17542 [BZ #12711]
17543 * locale/C-translit.h.in: Add entry for U20B9.
17544 Patch by pravin.d.s@gmail.com.
17545
28377d1b
UD
175462011-05-08 Ulrich Drepper <drepper@gmail.com>
17547
7fb90fb8
UD
17548 [BZ #12713]
17549 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
17550 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
17551 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
17552 in rtld. Use *stat64.
7fb90fb8 17553 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 17554 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 17555 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
17556 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
17557 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
17558 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
17559 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
17560 __fstatat64 macros.
7fb90fb8
UD
17561 * include/dirent.h: Add libc_hidden_proto for rewinddir.
17562 * dirent/rewinddir.c: Add libc_hidden_def.
17563 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 17564 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 17565
28377d1b
UD
17566 * include/dirent.h (__alloc_dir): Add flags parameter.
17567 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
17568 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
17569 __alloc_dir.
17570 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
17571 from fdopendir if O_CLOEXEC is already set.
17572
66bdbaa4
AM
175732011-03-15 Alan Modra <amodra@gmail.com>
17574
17575 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
17576 l_tls_firstbyte_offset non-zero. Save padding offset in
17577 l_tls_firstbyte_offset for later use.
17578 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
17579 freeing static tls block.
17580
95721191
JN
175812011-03-05 Jonathan Nieder <jrnieder@gmail.com>
17582
17583 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
17584 where #ifdef was intended. The intent is to prevent ARG_MAX from
17585 being defined by the kernel headers.
17586
f87dfb1f
UD
175872011-05-07 Ulrich Drepper <drepper@gmail.com>
17588
17589 [BZ #12734]
17590 * resolv/resolv.h: Define RES_NOTLDQUERY.
17591 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
17592 no-tld-query and set RES_NOTLDQUERY.
17593 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
17594 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
17595 modern BIND to search name as TLD unless forbidden.
17596
47c3cd7a
UD
175972011-05-07 Petr Baudis <pasky@suse.cz>
17598 Ulrich Drepper <drepper@gmail.com>
17599
17600 [BZ #12393]
17601 * elf/dl-load.c (fillin_rpath): Move trusted path check...
17602 (is_trusted_path): ...to here.
c1e9ea35 17603 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 17604 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 17605 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 17606
8a35c912
PP
176072011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17608
17609 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
17610 __BEGIN/__END_DECLS.
17611
acd41f47
UD
176122011-05-06 Ulrich Drepper <drepper@gmail.com>
17613
17614 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
17615 NSS_STATUS_NOTFOUND if no record was found.
17616
597df647
AS
176172011-05-05 Andreas Schwab <schwab@redhat.com>
17618
17619 * sunrpc/Makefile (headers): Add rpc/netdb.h.
17620 (headers-not-in-tirpc): Remove rpc/netdb.h
17621 * resolv/netdb.h: Revert last change.
17622
b9af1301
PP
176232011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17624
17625 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
17626 circular dependency between libgcc.a and libc.a.
17627
4e34d5f5
AS
176282011-05-05 Andreas Schwab <schwab@redhat.com>
17629
17630 * resolv/netdb.h: Don't include <rpc/netdb.h>.
17631 * nis/Makefile: Don't install rpcsvc/*.
17632 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
17633 instead of <rpc/types.h>.
17634 (MAXHOSTNAMELEN): Define.
17635
00ee369c
AS
176362011-05-03 Andreas Schwab <schwab@redhat.com>
17637
17638 * elf/ldconfig.c (add_dir): Don't crash on empty path.
17639
0b592a30
MB
176402011-04-28 Maciej Babinski <mbabinski@google.com>
17641
17642 [BZ #12714]
17643 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
17644 gethostbyname4_r when IPv6 results are possible.
17645
6e04cbbe
UD
176462011-05-02 Ulrich Drepper <drepper@gmail.com>
17647
17648 [BZ #12723]
17649 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
17650 _PC_PIPE_BUF handling.
17651
e4ecafe0
BH
176522011-04-30 Bruno Haible <bruno@clisp.org>
17653
17654 [BZ #12717]
17655 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
17656 * resolv/netdb.h (getnameinfo): Change type of flags parameter
17657 to 'int'.
17658 * inet/getnameinfo.c (getnameinfo): Likewise.
17659
125ee683
UD
176602011-04-29 Ulrich Drepper <drepper@gmail.com>
17661
17662 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
17663 to groups setting in database lookup.
17664 * nss/nsswitch.conf: Add initgroups entry.
17665
b722481a
EB
176662011-04-22 Ulrich Drepper <drepper@gmail.com>
17667
17668 [BZ #12685]
17669 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
17670 mode string.
17671 Patch by Eric Blake <eblake@redhat.com>.
17672
4df46dbd
L
176732011-04-20 H.J. Lu <hongjiu.lu@intel.com>
17674
17675 * sunrpc/Makefile (need-export-routines): Add svc_run.
17676 (routines): Remove svc_run.
17677 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
17678 * sunrpc/clnt_perr.c (clnt_perrno): Export.
17679 * sunrpc/svc_run.c (svc_run): Likewise.
17680 * sunrpc/svc_udp.c (svcudp_create): Likewise.
17681
e84142d2
UD
176822011-04-21 Ulrich Drepper <drepper@gmail.com>
17683
17684 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
17685 problem in reallocation in last patch.
17686
877175d8
UD
176872011-04-20 Ulrich Drepper <drepper@gmail.com>
17688
17689 * sunrpc/Makefile: Move inclusion of Rules.
17690
ab8eed78
UD
176912011-04-19 Ulrich Drepper <drepper@gmail.com>
17692
17693 * nss/nss_files/files-initgroups.c: New file.
17694 * nss/Makefile (libnss_files-routines): Add files-initgroups.
17695 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
17696 _nss_files_initgroups_dyn.
17697
e3d8f584
RS
176982011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
17699
17700 * elf/elf.h (R_ARM_IRELATIVE): Define.
17701
af190f45
UD
177022011-04-19 Ulrich Drepper <drepper@gmail.com>
17703
17704 * po/ru.po: Update from translation team.
17705
53cf59ef
UD
177062011-04-17 Ulrich Drepper <drepper@gmail.com>
17707
17708 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
17709 dependencies.
17710
4c559bcd
MF
177112011-02-06 Mike Frysinger <vapier@gentoo.org>
17712
17713 [BZ #12653]
17714 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
17715 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
17716 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17717 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17718 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17719
4420675c
AS
177202011-03-28 Andreas Schwab <schwab@linux-m68k.org>
17721
17722 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
17723 differing bytes.
17724 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17725 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17726 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17727
75ea32ab
UD
177282011-04-17 Ulrich Drepper <drepper@gmail.com>
17729
17730 [BZ #12420]
17731 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
17732 storing it.
17733 * stdlib/bug-getcontext.c: New file.
17734 * stdlib/Makefile: Add rules to build and run bug-getcontext.
17735
27390476
AK
177362011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17737
17738 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
17739 instructions into .machine "z9-109".
17740 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
17741 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
17742
10442705
AK
177432011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17744
17745 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
17746 between environment variables and auxiliary vector.
17747
7b57bfe5
UD
177482011-04-16 Ulrich Drepper <drepper@gmail.com>
17749
17750 * Makefile: Add rules to build linkobj/libc.so.
17751 * include/libc-symbols.h: Define libc_hidden_nolink.
17752 * include/rpc/auth.h: Mark functions which are to be hidden.
17753 * include/rpc/auth_des.h: Likewise.
17754 * include/rpc/auth_unix.h: Likewise.
17755 * include/rpc/clnt.h: Likewise.
17756 * include/rpc/des_crypt.h: Likewise.
17757 * include/rpc/key_prot.h: Likewise.
17758 * include/rpc/pmap_clnt.h: Likewise.
17759 * include/rpc/pmap_prot.h: Likewise.
17760 * include/rpc/pmap_rmt.h: Likewise.
17761 * include/rpc/rpc_msg.h: Likewise.
17762 * include/rpc/svc.h: Likewise.
17763 * include/rpc/svc_auth.h: Likewise.
17764 * include/rpc/xdr.h: Likewise.
17765 * nis/Makefile: Link all DSOs against linkobj/libc.so.
17766 * nss/Makefile: Likewise.
17767 * sunrpc/Makefile: Don't install headers. Build library with normal
17768 entry points. Don't build rpcinfo. Link RPC tests appropriately.
17769 * sunrpc/auth_des.c: Hide exported symbols by default, export some
17770 for the compat linking library. Remove use of INTDEF/INTUSE.
17771 * sunrpc/auth_none.c: Likewise.
17772 * sunrpc/auth_unix.c: Likewise.
17773 * sunrpc/authdes_prot.c: Likewise.
17774 * sunrpc/authuxprot.c: Likewise.
17775 * sunrpc/clnt_gen.c: Likewise.
17776 * sunrpc/clnt_perr.c: Likewise.
17777 * sunrpc/clnt_raw.c: Likewise.
17778 * sunrpc/clnt_simp.c: Likewise.
17779 * sunrpc/clnt_tcp.c: Likewise.
17780 * sunrpc/clnt_udp.c: Likewise.
17781 * sunrpc/clnt_unix.c: Likewise.
17782 * sunrpc/des_crypt.c: Likewise.
17783 * sunrpc/des_soft.c: Likewise.
17784 * sunrpc/get_myaddr.c: Likewise.
17785 * sunrpc/key_call.c: Likewise.
17786 * sunrpc/key_prot.c: Likewise.
17787 * sunrpc/netname.c: Likewise.
17788 * sunrpc/pm_getmaps.c: Likewise.
17789 * sunrpc/pm_getport.c: Likewise.
17790 * sunrpc/pmap_clnt.c: Likewise.
17791 * sunrpc/pmap_prot.c: Likewise.
17792 * sunrpc/pmap_prot2.c: Likewise.
17793 * sunrpc/pmap_rmt.c: Likewise.
17794 * sunrpc/publickey.c: Likewise.
17795 * sunrpc/rpc_cmsg.c: Likewise.
17796 * sunrpc/rpc_common.c: Likewise.
17797 * sunrpc/rpc_dtable.c: Likewise.
17798 * sunrpc/rpc_prot.c: Likewise.
17799 * sunrpc/rpc_thread.c: Likewise.
17800 * sunrpc/rtime.c: Likewise.
17801 * sunrpc/svc.c: Likewise.
17802 * sunrpc/svc_auth.c: Likewise.
17803 * sunrpc/svc_authux.c: Likewise.
17804 * sunrpc/svc_raw.c: Likewise.
17805 * sunrpc/svc_run.c: Likewise.
17806 * sunrpc/svc_simple.c: Likewise.
17807 * sunrpc/svc_tcp.c: Likewise.
17808 * sunrpc/svc_udp.c: Likewise.
17809 * sunrpc/svc_unix.c: Likewise.
17810 * sunrpc/svcauth_des.c: Likewise.
17811 * sunrpc/xcrypt.c: Likewise.
17812 * sunrpc/xdr.c: Likewise.
17813 * sunrpc/xdr_array.c: Likewise.
17814 * sunrpc/xdr_float.c: Likewise.
17815 * sunrpc/xdr_intXX_t.c: Likewise.
17816 * sunrpc/xdr_mem.c: Likewise.
17817 * sunrpc/xdr_rec.c: Likewise.
17818 * sunrpc/xdr_ref.c: Likewise.
17819 * sunrpc/xdr_sizeof.c: Likewise.
17820 * sunrpc/xdr_stdio.c: Likewise.
17821
e6c61494
UD
178222011-04-10 Ulrich Drepper <drepper@gmail.com>
17823
17824 [BZ #12650]
17825 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
17826 * sysdeps/ia64/dl-tls.h: Likewise.
17827 * sysdeps/powerpc/dl-tls.h: Likewise.
17828 * sysdeps/s390/dl-tls.h: Likewise.
17829 * sysdeps/sh/dl-tls.h: Likewise.
17830 * sysdeps/sparc/dl-tls.h: Likewise.
17831 * sysdeps/x86_64/dl-tls.h: Likewise.
17832 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
17833
34fe483e
AS
178342011-03-14 Andreas Schwab <schwab@redhat.com>
17835
17836 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
17837 rpath element also skip the following colon.
17838 (expand_dynamic_string_token): Add is_path parameter and pass
17839 down to DL_DST_REQUIRED and _dl_dst_substitute.
17840 (decompose_rpath): Call expand_dynamic_string_token with
17841 non-zero is_path. Ignore empty rpaths.
17842 (_dl_map_object_from_fd): Call expand_dynamic_string_token
17843 with zero is_path.
17844
f12a32e6
AS
178452011-04-08 Andreas Schwab <schwab@linux-m68k.org>
17846
17847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17848 Make cancelable.
17849
38a7d692
UD
178502011-04-09 Ulrich Drepper <drepper@gmail.com>
17851
17852 [BZ #12655]
17853 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
17854 Patch by Filipe David Manana <fdmanana@apache.org>.
17855
e451d22b
AS
178562011-04-07 Andreas Schwab <schwab@redhat.com>
17857
17858 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
17859 Maintain aligned stack.
17860 (CHECK_RSP): Remove unused macro.
17861
dedc7c7b
UD
178622011-04-03 Ulrich Drepper <drepper@gmail.com>
17863
17864 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
17865 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
17866
94521213
UD
178672011-04-02 Ulrich Drepper <drepper@gmail.com>
17868
17869 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
17870
8cb700c0 17871 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 17872
0354e355
L
178732011-03-26 H.J. Lu <hongjiu.lu@intel.com>
17874
17875 [BZ #12518]
17876 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
17877 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
17878 * sysdeps/x86_64/memmove.c: New file.
17879 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
17880 (memcpy): Renamed to ...
17881 (__new_memcpy): This.
17882 (memcpy): Provide GLIBC_2_14 memcpy.
17883 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
17884 (memcpy): Provide GLIBC_2_2_5 memcpy.
17885
8593482f
UD
178862011-04-01 Ulrich Drepper <drepper@gmail.com>
17887
17888 [BZ #12631]
17889 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
17890
81a5726b
AS
178912011-03-30 Andreas Schwab <schwab@redhat.com>
17892
17893 * misc/syncfs.c: New file.
17894 * misc/Makefile (routines): Add syncfs.
17895 * posix/unistd.h: Declare syncfs.
17896 * sysdeps/unix/syscalls.list: Add syncfs.
17897
00e5419f
AS
178982011-04-01 Andreas Schwab <schwab@redhat.com>
17899
17900 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
17901 open_by_handle_at.
17902 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17903 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17904 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17905 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17906 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17907 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
17908 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17909
748876bf
UD
179102011-04-01 Ulrich Drepper <drepper@gmail.com>
17911
658e451d
UD
17912 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
17913 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17914 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
17915 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17916 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17917 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17918 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17919
748876bf
UD
17920 * io/Makefile: Compile fallocate.c, fallocate64.c, and
17921 sync_file_range.c with -fexceptions.
17922 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
17923 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
17924 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17925 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17926 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
17927 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17928 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
17929 sync_file_range as cancellation point
17930 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
17931 now a wrapper around __call_sync_file_range with cancellation handling.
17932 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
17933 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
17934 function name to __call_sync_file_range.
17935 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
17936 Add call_sync_file_range.
748876bf 17937
6e63d5e1
AS
179382011-04-01 Andreas Schwab <schwab@redhat.com>
17939
17940 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 17941 bits/timex.h.
6e63d5e1 17942
46998f74
UD
179432011-04-01 Ulrich Drepper <drepper@gmail.com>
17944
4c1423ed
UD
17945 * iconv/iconv.h: Fix typo in comment.
17946 * io/fcntl.h: Likewise.
17947 * libio/stdio.h: Likewise.
17948 * posix/spawn.h: Likewise.
17949 * posix/unistd.h: Likewise.
17950 * stdlib/stdlib.h: Likewise.
17951 * time/time.h: Likewise.
17952 * wcsmbs/wchar.h: Likewise.
17953
158648c0
UD
17954 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
17955 open_by_handle): Add.
17956 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
17957 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
17958 Augment a few comments.
17959 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17960 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17961 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17962 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17963 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17964 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
17965 open_by_handle.
17966
46998f74
UD
17967 * io/fcntl.h (AT_EMPTY_PATH): Define.
17968
83fe108b
UD
179692011-03-30 Ulrich Drepper <drepper@gmail.com>
17970
17971 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
17972 * sysdeps/unix/sysv/linux/bits/time.h: New file.
17973 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
17974 to...
17975 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
17976 * Versions.def: Add GLIBC_2.14.
17977 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
17978 Export.
83fe108b 17979
bb242059
UD
179802011-03-22 Ulrich Drepper <drepper@gmail.com>
17981
17982 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
17983 round counter.
17984 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17985
c97a1282
L
179862011-03-20 H.J. Lu <hongjiu.lu@intel.com>
17987
17988 [BZ #12597]
17989 * string/test-strncmp.c (do_page_test): New function.
17990 (check2): Likewise.
17991 (test_main): Call check2.
17992 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
17993
2a115601
UD
179942011-03-20 Ulrich Drepper <drepper@gmail.com>
17995
17996 [BZ #12587]
17997 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
17998 Handle cache information in CPU leaf 4.
17999 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18000
8126d904
UD
180012011-03-18 Ulrich Drepper <drepper@gmail.com>
18002
042c49c6 18003 [BZ #12583]
8126d904
UD
18004 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
18005 character representation.
18006 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
18007
ccfe366e
RA
180082011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
18009
18010 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
18011 END(__isnan) to END(__isnanf) to match function entry point/label
18012 EALIGN(__isnanf,...).
18013
c6e13027
JJ
180142011-03-10 Jakub Jelinek <jakub@redhat.com>
18015
18016 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
18017
33f85a3f
UD
180182011-03-10 Ulrich Drepper <drepper@gmail.com>
18019
028478fa
UD
18020 [BZ #12510]
18021 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
18022 copy from the symbol referenced in the relocation to initialize the
18023 used variable.
18024 Patch by Piotr Bury <pbury@goahead.com>.
18025 * elf/Makefile: Add rules to build and tst-unique3.
18026 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
18027 * elf/tst-unique3.cc: New file.
18028 * elf/tst-unique3.h: New file.
18029 * elf/tst-unique3lib.cc: New file.
18030 * elf/tst-unique3lib2.cc: New file.
18031
33f85a3f
UD
18032 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
18033
03592fc7
MF
180342011-03-10 Mike Frysinger <vapier@gentoo.org>
18035
18036 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
18037 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
18038 to _start.
03592fc7 18039
6a5ee102
UD
180402011-03-06 Ulrich Drepper <drepper@gmail.com>
18041
18042 * elf/dl-load.c (_dl_map_object): If we are looking for the first
18043 to-be-loaded object along a path to loader is ld.so.
18044
7e4ba49c
HJ
180452011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18046 Ulrich Drepper <drepper@gmail.com>
18047
18048 * sysdeps/x86_64/memset.S: After aligning destination, code
18049 branches to different locations depending on the value of
18050 misalignment, when multiarch is enabled. Fix this.
18051
180522011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18053
18054 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
18055 Set _x86_64_preferred_memory_instruction for AMD processsors.
18056 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18057 Set bit_Prefer_SSE_for_memop for AMD processors.
18058
13a804de
UD
180592011-03-04 Ulrich Drepper <drepper@gmail.com>
18060
18061 * libio/fmemopen.c (fmemopen): Optimize a bit.
18062
9d25c392
AS
180632011-03-03 Andreas Schwab <schwab@redhat.com>
18064
18065 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
18066
a5543c6a
RM
180672011-03-03 Roland McGrath <roland@redhat.com>
18068
18069 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
18070
012d35f7
DM
180712011-02-28 Aurelien Jarno <aurelien@aurel32.net>
18072
7e4ba49c 18073 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
18074 __bzero_ultra1 instead of __memset_ultra1.
18075
4bff6e01
AS
180762011-02-23 Andreas Schwab <schwab@redhat.com>
18077 Ulrich Drepper <drepper@gmail.com>
18078
18079 [BZ #12509]
18080 * include/link.h (struct link_map): Add l_orig_initfini.
18081 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
18082 returning unsuccessfully.
18083 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
18084 close of a file loaded at startup, restore the original l_initfini
18085 list.
18086 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
18087 list, store the pointer.
18088 * elf/Makefile ($(objpfx)noload-mem): New rule.
18089 (noload-ENV): Define.
18090 (tests): Add $(objpfx)noload-mem.
18091 * elf/noload.c: Include <memcheck.h>.
18092 (main): Call mtrace. Close all opened handles.
18093
f2092faf
AS
180942011-02-17 Andreas Schwab <schwab@redhat.com>
18095
18096 [BZ #12454]
18097 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
18098 dependencies are missing.
18099
6c8a2e88
ST
181002011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
18101
f2092faf 18102 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
18103 Hurd needs munmap.
18104 * sysdeps/mach/hurd/ifreq.h: New file.
18105
84a42118
PB
181062011-01-27 Petr Baudis <pasky@suse.cz>
18107 Ulrich Drepper <drepper@gmail.com>
18108
071f805e 18109 [BZ 12445]#
84a42118
PB
18110 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
18111 to extend_alloca().
18112 * stdio-common/bug23.c: New file.
18113 * stdio-common/Makefile (tests): Add bug23.
18114
e23fe25b
AS
181152010-09-28 Andreas Schwab <schwab@redhat.com>
18116 Ulrich Drepper <drepper@gmail.com>
18117
18118 [BZ #12489]
18119 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
18120 before performing relro protection. At old place add assertion
18121 to make sure nothing changed.
18122
d3f02e10
NS
181232011-02-17 Nathan Sidwell <nathan@codesourcery.com>
18124 Glauber de Oliveira Costa <glommer@gmail.com>
18125
18126 * elf/elf.h: Add new ARM TLS relocs.
18127
d55fd7a5
RA
181282011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
18129
18130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18131 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
18132 cast from r3.
18133 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
18134 'tests' variable.
18135 * sysdeps/wordsize-64/tst-writev.c: New file.
18136
2206397e
RA
181372011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
18138
18139 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
18140 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
18141 insns in _dl_start to prevent a TOC reference before relocs are
18142 resolved.
18143
e9433893
UD
181442011-02-15 Ulrich Drepper <drepper@gmail.com>
18145
18146 [BZ #12469]
18147 * Makeconfig: Remove RANLIB definition.
18148 * Makerules: Don't use RANLIB.
18149 * aclocal.m4: Remove ranlib test.
18150 * configure.in: No need to check for ranlib.
18151 * elf/rtld-Rules: Don't use RANLIB.
18152
f75286c6
ST
181532011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18154
8e31c82d
ST
18155 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
18156 protection macro.
18157 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
18158 inclusion protection macro.
18159
f75286c6
ST
18160 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
18161 SIGRTMIN and SIGRTMAX and print information in that case only when
18162 SIGRTMIN is defined.
18163
c1d0e639
JJ
181642011-02-11 Jakub Jelinek <jakub@redhat.com>
18165
18166 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
18167 arginfo fn returning -1.
18168
18169 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
18170 and thousands string is zero terminated.
18171
edf9294e
AS
181722011-02-03 Andreas Schwab <schwab@redhat.com>
18173
18174 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
18175 sysdeps/unix/sysv/linux/bits/socket.h.
18176
2b7e92df
ST
181772011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
18178
edf9294e
AS
18179 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
18180 (__CPU_COUNT): Remove old macros.
18181 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
18182 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
18183 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
18184 (__sched_cpualloc, __sched_cpufree): Add declarations.
18185
a4c7ea7b
UD
181862011-02-05 Ulrich Drepper <drepper@gmail.com>
18187
18188 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
18189 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
18190 * nscd/aicache.c (addhstaiX): Return timeout of added value.
18191 (readdhstai): Return value of addhstaiX call.
18192 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
18193 (addgrbyX): Return value returned by cache_addgr.
18194 (readdgrbyname): Return value returned by addgrbyX.
18195 (readdgrbygid): Likewise.
18196 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
18197 (addpwbyX): Return value returned by cache_addpw.
18198 (readdpwbyname): Return value returned by addhstbyX.
18199 (readdpwbyuid): Likewise.
18200 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
18201 (addservbyX): Return value returned by cache_addserv.
18202 (readdservbyname): Return value returned by addservbyX:
18203 (readdservbyport): Likewise.
18204 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
18205 (addhstbyX): Return value returned by cache_addhst.
18206 (readdhstbyname): Return value returned by addhstbyX.
18207 (readdhstbyaddr): Likewise.
18208 (readdhstbynamev6): Likewise.
18209 (readdhstbyaddrv6): Likewise.
18210 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
18211 (readdinitgroups): Return value returned by addinitgroupsX.
18212 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
18213 (prune_cache): Keep track of timeout value of re-added entries.
18214 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
18215 * nscd/nscd.h: Adjust prototypes of readd* functions.
18216
a0bf67cc
RM
182172011-02-04 Roland McGrath <roland@redhat.com>
18218
18219 * nis/nis_server.c (nis_servstate): Use the right name for 0.
18220 (nis_stats): Likewise.
18221 * nis/nis_modify.c (nis_modify): Likewise.
18222 * nis/nis_remove.c (nis_remove): Likewise.
18223 * nis/nis_add.c (nis_add): Likewise.
18224
18225 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
18226
18227 * posix/fnmatch_loop.c: Add some consts.
18228
18229 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
18230
435b95eb
L
182312011-02-02 H.J. Lu <hongjiu.lu@intel.com>
18232
18233 [BZ #12460]
18234 * config.make.in (config-cflags-novzeroupper): Define.
18235 * configure.in: Substitute libc_cv_cc_novzeroupper.
18236 * elf/Makefile (AVX-CFLAGS): Define.
18237 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
18238 (CFLAGS-tst-auditmod4a.c): Likewise.
18239 (CFLAGS-tst-auditmod4b.c): Likewise.
18240 (CFLAGS-tst-auditmod6b.c): Likewise.
18241 (CFLAGS-tst-auditmod6c.c): Likewise.
18242 (CFLAGS-tst-auditmod7b.c): Likewise.
18243 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
18244
8517b15e
UD
182452011-02-02 Ulrich Drepper <drepper@gmail.com>
18246
18247 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
18248 function to the callback.
18249 Patch partly by Jiri Olsa <jolsa@redhat.com>.
18250
10a656fe
AS
182512011-02-02 Andreas Schwab <schwab@redhat.com>
18252
18253 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
18254 of errno.
18255
968dad0a
UD
182562011-01-19 Ulrich Drepper <drepper@gmail.com>
18257
9f94d2ea 18258 [BZ #11724]
968dad0a
UD
18259 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
18260 of constructors.
18261 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
18262 of destructors.
18263 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
18264
18265 [BZ #11724]
18266 * elf/Makefile: Add rules to build and run new test.
18267 * elf/tst-initorder.c: New file.
18268 * elf/tst-initorder.exp: New file.
18269 * elf/tst-initordera1.c: New file.
18270 * elf/tst-initordera2.c: New file.
18271 * elf/tst-initordera3.c: New file.
18272 * elf/tst-initordera4.c: New file.
18273 * elf/tst-initorderb1.c: New file.
18274 * elf/tst-initorderb2.c: New file.
18275 * elf/tst-order-a1.c: New file.
18276 * elf/tst-order-a2.c: New file.
18277 * elf/tst-order-a3.c: New file.
18278 * elf/tst-order-a4.c: New file.
18279 * elf/tst-order-b1.c: New file.
18280 * elf/tst-order-b2.c: New file.
18281 * elf/tst-order-main.c: New file.
18282 New test case by George Gensure <werkt0@gmail.com>.
18283
86e92359
UD
182842010-10-01 Andreas Schwab <schwab@redhat.com>
18285
18286 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18287 decoding ACE if AI_CANONIDN.
18288
5d5732b0
UD
182892011-01-18 Ulrich Drepper <drepper@gmail.com>
18290
18291 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
18292
a77e8cbc
UD
182932011-01-17 Ulrich Drepper <drepper@gmail.com>
18294
6392473f
UD
18295 * version.h (RELEASE): Bump for 2.13 release.
18296 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
18297
620a0529
UD
18298 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
18299
18ba70a5
UD
18300 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
18301 MADV_NOHUGEPAGE.
32465c3e
UD
18302 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
18303 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18304 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18305 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
18306 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18307 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18308
c0dafcf1
UD
18309 * posix/getconf.c: Update copyright year.
18310 * catgets/gencat.c: Likewise.
18311 * csu/version.c: Likewise.
18312 * debug/catchsegv.sh: Likewise.
18313 * debug/xtrace.sh: Likewise.
18314 * elf/ldconfig.c: Likewise.
18315 * elf/ldd.bash.in: Likewise.
18316 * elf/sprof.c (print_version): Likewise.
18317 * iconv/iconv_prog.c: Likewise.
18318 * iconv/iconvconfig.c: Likewise.
18319 * locale/programs/locale.c: Likewise.
18320 * locale/programs/localedef.c: Likewise.
18321 * malloc/memusage.sh: Likewise.
18322 * malloc/mtrace.pl: Likewise.
18323 * nscd/nscd.c (print_version): Likewise.
18324 * nss/getent.c: Likewise.
18325
a77e8cbc
UD
18326 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
18327 PF_CAIF, and PF_ALG.
18328 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18329
77e8bddf
AS
183302011-01-16 Andreas Schwab <schwab@linux-m68k.org>
18331
1f20b93a
AS
18332 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
18333 (modules-names): Use them.
18334 (ifunc-test-modules, ifunc-pie-tests): Define.
18335 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
18336 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
18337 (test-extras): Likewise.
18338 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
18339 $(compile-command.c).
18340 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
18341 (all-built-dso): Define.
18342 (check-textrel.out, check-execstack.out): Depend on it.
18343
77e8bddf
AS
18344 * configure.in: Don't override --enable-multi-arch.
18345
bc425b33
UD
183462011-01-15 Ulrich Drepper <drepper@gmail.com>
18347
18348 [BZ #6812]
18349 * nscd/hstcache.c (tryagain): Define.
18350 (cache_addhst): Return tryagain not notfound for temporary errors.
18351 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
18352 failed.
18353
794c3ad3
UD
183542011-01-14 Ulrich Drepper <drepper@gmail.com>
18355
70181fdd
UD
18356 [BZ #10563]
18357 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
18358 to make the syscall.
18359 * sysdeps/unix/sysv/linux/setgroups.c: New file.
18360
794c3ad3
UD
18361 [BZ #12378]
18362 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
18363 and fall back to matching as normal character if the string ends before
18364 the matching ']' is found. This is what POSIX requires.
18365 * posix/testfnm.c: Adjust test result.
18366 * posix/globtest.sh: Adjust test result. Add new test.
18367 * posix/tst-fnmatch.input: Likewise.
18368 * posix/tst-fnmatch2.c: Add new test.
18369
68dc9497
AS
183702010-12-28 Andreas Schwab <schwab@linux-m68k.org>
18371
18372 * elf/Makefile (check-execstack): Revert last change. Depend on
18373 check-execstack.h.
18374 (check-execstack.h): New target.
18375 (generated): Add check-execstack.h.
18376 * elf/check-execstack.c: Include "check-execstack.h".
18377 (main): Revert last change.
18378 (handle_file): Return zero if GNU_STACK is absent and
18379 DEFAULT_STACK_PERMS doesn't include PF_X.
18380
451f001b
UD
183812011-01-13 Ulrich Drepper <drepper@gmail.com>
18382
cfa28e56
UD
18383 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
18384 in child fails because the descriptor is already closed.
8cf8ce17
UD
18385 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
18386 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
18387 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 18388
1086d70d
UD
18389 [BZ #12397]
18390 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
18391 syscall.
18392
451f001b
UD
18393 [BZ #10484]
18394 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
18395 temporary buffer used to handle multi lookups locally.
a85b5cb4 18396 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 18397
08769175
UD
183982011-01-12 Ulrich Drepper <drepper@gmail.com>
18399
18400 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
18401 loader is ld.so.
18402
5e49c52e
UD
184032011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
18404
18405 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
18406 alignment for SSE2.
18407
60522a5f
UD
184082011-01-12 Ulrich Drepper <drepper@gmail.com>
18409
18410 [BZ #12394]
18411 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
18412 characters. When rounding increased number of integer digits recompute
18413 number of groups.
18414 * stdio-common/tst-grouping.c: New file.
18415 * stdio-common/Makefile: Add rules to build and run tst-grouping.
18416
f257bbd7
UD
184172011-01-09 Ulrich Drepper <drepper@gmail.com>
18418
18419 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
18420 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
18421
18422 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
18423 void.
18424 * bits/select.h: Likewise.
18425
fa9c15cb
UD
184262011-01-08 Ulrich Drepper <drepper@gmail.com>
18427
18428 * po/ja.po: Update from translation team.
18429
16c2895f
DM
184302011-01-04 David S. Miller <davem@sunset.davemloft.net>
18431
18432 [BZ #11155]
18433 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
18434 implementation just like for lxstat, fxstatat, et al.
18435
2543fef2
JM
184362010-12-27 Jim Meyering <meyering@redhat.com>
18437
18438 [BZ #12348]
18439 * posix/regexec.c (build_trtable): Return failure indication upon
18440 calloc failure. Otherwise, re_search_internal could infloop on OOM.
18441
98727dbe
UD
184422010-12-25 Ulrich Drepper <drepper@gmail.com>
18443
5bd6dc5c
UD
18444 [BZ #12201]
18445 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
18446 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
18447 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
18448 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
18449
97983464
UD
18450 [BZ #12207]
18451 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
18452
98727dbe
UD
18453 [BZ #12204]
18454 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
18455 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
18456
4a531bb0
L
184572010-12-15 H.J. Lu <hongjiu.lu@intel.com>
18458
18459 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
18460 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
18461 script has SORT_BY_INIT_PRIORITY.
18462 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
18463 NO_CTORS_DTORS_SECTIONS is defined.
18464 * elf/soinit.c: Likewise.
18465 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
18466 NO_CTORS_DTORS_SECTIONS is defined.
18467 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
18468 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
18469 * sysdeps/sh/init-first.c: Likewise.
18470 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
18471
07eb4b71
UD
184722010-12-24 Ulrich Drepper <drepper@gmail.com>
18473
18474 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
18475 always use the slow path.
18476
30950a5f
RA
184772010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
18478
18479 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
18480 similar rule which adds the sysdep directories to the header search in
18481 order to pick up the correct platform stackinfo.h.
18482 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
18483 perform test if it is, otherwise return successfully without testing.
18484 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
18485 DEFAULT_STACK_PERMS define in stackinfo.h.
18486 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
18487 defined in stackinfo.h.
18488 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
18489 DEFAULT_STACK_PERMS defined in stackinfo.h.
18490 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
18491 * sysdeps/ia64/stackinfo.h: Likewise.
18492 * sysdeps/s390/stackinfo.h: Likewise.
18493 * sysdeps/sh/stackinfo.h: Likewise.
18494 * sysdeps/sparc/stackinfo.h: Likewise.
18495 * sysdeps/x86_64/stackinfo.h: Likewise.
18496 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
18497 PF_X for powerpc64. Retain PF_X for powerpc32.
18498
db753e2c
UD
184992010-12-19 Ulrich Drepper <drepper@gmail.com>
18500
14b697f7
UD
18501 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
18502 accurately.
db753e2c
UD
18503 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
18504 GETDENTS_64BIT_ALIGNED.
18505
28300719
UD
185062010-12-14 Ulrich Drepper <dreper@gmail.com>
18507
14b697f7 18508 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 18509
4f197237
AS
185102010-12-10 Andreas Schwab <schwab@redhat.com>
18511
dbb0472f
AS
18512 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
18513 _GNU_SOURCE.
18514
4f197237
AS
18515 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
18516 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
18517 Remove __restrict.
18518 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
18519 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
18520
fb88ac72
UD
185212010-12-09 Ulrich Drepper <drepper@gmail.com>
18522
18523 [BZ #11655]
18524 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
18525 are initialized.
18526
42acbb92
JJ
185272010-12-09 Jakub Jelinek <jakub@redhat.com>
18528
18529 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
18530
c038d98d
UD
185312010-12-03 Ulrich Drepper <drepper@gmail.com>
18532
18533 * po/it.po: Update from translation team.
18534
3a4a2499
L
185352010-12-01 H.J. Lu <hongjiu.lu@intel.com>
18536
18537 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
18538 unused codes.
18539
1e24cf6e
UD
185402010-11-30 Ulrich Drepper <drepper@gmail.com>
18541
18542 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
18543
a7690819
AS
185442010-11-24 Andreas Schwab <schwab@redhat.com>
18545
18546 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
18547 specially.
18548 (gaih_getanswer_slice): Likewise.
18549
3bf8d1b1
JJ
185502010-10-20 Jakub Jelinek <jakub@redhat.com>
18551
18552 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
18553
6db52fbb
PB
185542010-05-31 Petr Baudis <pasky@suse.cz>
18555
18556 [BZ #11149]
18557 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
18558 silently even in the chroot mode.
18559
eaca7569
UD
185602010-11-22 Ulrich Drepper <drepper@gmail.com>
18561
18562 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
18563 last patch a bit. Pretty printing
18564
3056dcdb
UD
185652010-05-31 Petr Baudis <pasky@suse.cz>
18566
18567 [BZ #10085]
18568 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
18569 initialization of skip_initgroups_dyn.
18570
cf7c9078
UD
185712010-11-19 Ulrich Drepper <drepper@gmail.com>
18572
18573 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
18574 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18575
a1fb5e3e
UD
185762010-11-16 Ulrich Drepper <drepper@gmail.com>
18577
18578 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
18579
3540d66b
AS
185802010-11-11 Andreas Schwab <schwab@redhat.com>
18581
18582 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
18583 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
18584 (tst-fnmatch-ENV): Set MALLOC_TRACE.
18585 ($(objpfx)tst-fnmatch-mem): New rule.
18586 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
18587 * posix/tst-fnmatch.c (main): Call mtrace.
18588
13b69574
L
185892010-11-11 H.J. Lu <hongjiu.lu@intel.com>
18590
18591 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18592 Support Intel processor model 6 and model 0x2c.
18593
da93d214
LM
185942010-11-10 Luis Machado <luisgpm@br.ibm.com>
18595
18596 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
18597 signed comparison.
18598
8ca52c6e
L
185992010-11-09 H.J. Lu <hongjiu.lu@intel.com>
18600
18601 [BZ #12205]
18602 * string/test-strncasecmp.c (check_result): New function.
18603 (do_one_test): Use it.
18604 (check1): New function.
18605 (test_main): Use it.
18606 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
18607 Support strcasecmp and strncasecmp.
18608
69da074d
UD
186092010-11-08 Ulrich Drepper <drepper@gmail.com>
18610
18611 [BZ #12194]
18612 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
18613 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18614
ff02d528
L
186152010-11-07 H.J. Lu <hongjiu.lu@intel.com>
18616
18617 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
18618 IFUNC support.
18619 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18620 memset-x86-64.
18621 * sysdeps/x86_64/multiarch/bzero.S: New file.
18622 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
18623 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
18624 * sysdeps/x86_64/multiarch/memset.S: New file.
18625 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
18626 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18627 Set bit_Prefer_SSE_for_memop for Intel processors.
18628 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
18629 Define.
18630 (index_Prefer_SSE_for_memop): Define.
18631 (HAS_PREFER_SSE_FOR_MEMOP): Define.
18632
344d0b54
LM
186332010-11-04 Luis Machado <luisgpm@br.ibm.com>
18634
18635 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
18636 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
18637
c0dde15b
UD
186382010-11-03 H.J. Lu <hongjiu.lu@intel.com>
18639
18640 [BZ #12191]
18641 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18642 (__x86_64_raw_data_cache_size_half): Likewise.
18643 (__x86_64_raw_shared_cache_size): Likewise.
18644 (__x86_64_raw_shared_cache_size_half): Likewise.
18645
18646 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18647 (__x86_64_raw_data_cache_size_half): Likewise.
18648 (__x86_64_raw_shared_cache_size): Likewise.
18649 (__x86_64_raw_shared_cache_size_half): Likewise.
18650 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
18651 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
18652 and __x86_64_raw_shared_cache_size_half. Round
18653 __x86_64_data_cache_size_half, __x86_64_data_cache_size
18654 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
18655 to multiple of 256 bytes.
18656
0e516e0e
MS
186572010-11-03 Ulrich Drepper <drepper@gmail.com>
18658
18659 [BZ #12167]
18660 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
18661 of inacessible symlinks. Verify result of symlink before returning it.
18662 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18663 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
18664
0e012e87
ER
186652010-10-28 Erich Ritz <erichritz@gmail.com>
18666
18667 * math/math.h (isinf): Fix typo in comment.
18668
de0ff7bc
UD
186692010-11-01 Ulrich Drepper <drepper@gmail.com>
18670
18671 * po/da.po: Update from translation team.
18672
fa41c84d
UD
186732010-10-26 Ulrich Drepper <drepper@gmail.com>
18674
18675 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
18676 is added to the list.
18677
f0967738
AK
186782010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18679 Ulrich Drepper <drepper@gmail.com>
18680
18681 * elf/dl-object.c (_dl_new_object): Don't append the new object to
18682 the global list here. Move code to...
18683 (_dl_add_to_namespace_list): ...here. New function.
18684 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
18685 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
18686 * elf/dl-load.c (lose): Don't remove the element from the list.
18687 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
18688 (_dl_map_object): Likewise.
18689
186902010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
18691
18692 [BZ #12159]
18693 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
18694 into all bytes of SSE register.
18695 Patch by Richard Li <richardpku@gmail.com>.
18696
f0967738 186972010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
18698
18699 [BZ #12140]
18700 * malloc/malloc.c (_int_free): Fill correct number of bytes when
18701 perturbing.
18702
d0b9e94f
MB
187032010-10-20 Michael B. Brutman <brutman@us.ibm.com>
18704
18705 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
18706 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
18707 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
18708 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
18710 submachine.
18711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18712
8e9f92e9
AS
187132010-10-22 Andreas Schwab <schwab@redhat.com>
18714
18715 * include/dlfcn.h (__RTLD_SECURE): Define.
18716 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
18717 mode & __RTLD_SECURE instead.
18718 (open_path): Rename preloaded parameter to secure.
18719 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
18720 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
18721 * elf/dl-deps.c (openaux): Likewise.
18722 * elf/rtld.c (struct map_args): Remove is_preloaded.
18723 (map_doit): Don't use it.
18724 (dl_main): Likewise.
18725 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
18726 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
18727
bc96fbda
AS
187282010-09-09 Andreas Schwab <schwab@redhat.com>
18729
18730 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
18731 (sysd-rules-targets): Remove duplicates.
18732 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
18733 rtld-%.$o dependency.
18734
22cd1c9b
AS
187352010-10-18 Andreas Schwab <schwab@redhat.com>
18736
18737 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
18738 _dl_map_object do it.
18739
18edac48
UD
187402010-10-19 Ulrich Drepper <drepper@gmail.com>
18741
18742 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
18743 fast fma builtins, define the macros in the C99 standard.
18744 (FP_FAST_FMAF): Likewise.
18745 (FP_FAST_FMAL): Likewise.
18746 * sysdeps/x86_64/bits/mathdef.h: Likewise.
18747
18748 * bits/mathdef.h: Update copyright year.
18749 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18750
d2050124
MM
187512010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
18752
18753 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
18754 builtins, define the macros in the C99 standard.
18755 (FP_FAST_FMAF): Likewise.
18756 (FP_FAST_FMAL): Likewise.
18757 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
18758 multiply/add.
18759 (FP_FAST_FMAF): Likewise.
18760
475facd1
JJ
187612010-10-15 Jakub Jelinek <jakub@redhat.com>
18762
18763 [BZ #3268]
18764 * math/libm-test.inc (fma_test): Some new testcases.
18765 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
18766 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
18767 y and infinite z. Do multiplication by C already in long double.
18768 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
18769 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
18770 y and infinite z. Do bitwise or of inexact bit into u.d.
18771 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
18772 * sysdeps/i386/fpu/s_fmaf.S: Removed.
18773 * sysdeps/i386/fpu/s_fma.S: Removed.
18774 * sysdeps/i386/fpu/s_fmal.S: Removed.
18775
7c08a05c
JJ
187762010-10-16 Jakub Jelinek <jakub@redhat.com>
18777
18778 [BZ #3268]
18779 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
18780 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
18781 computation is not scheduled after fetestexcept. Fix value
18782 of minimum denormal long double.
18783
f3f7372d
JJ
187842010-10-14 Jakub Jelinek <jakub@redhat.com>
18785
18786 [BZ #3268]
18787 * math/libm-test.inc (fma_test): Add some more tests.
18788 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
18789 correctly.
18790
14d43591
AS
187912010-10-15 Andreas Schwab <schwab@redhat.com>
18792
18793 * scripts/data/localplt-s390-linux-gnu.data: New file.
18794 * scripts/data/localplt-s390x-linux-gnu.data: New file.
18795
5e908464
JJ
187962010-10-13 Jakub Jelinek <jakub@redhat.com>
18797
18798 [BZ #3268]
18799 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
18800 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
18801 instead of dbl-64.
18802 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
18803 inlines.
18804 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
18805 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
18806 if one of x and y is very large and the other is subnormal.
18807 * sysdeps/s390/fpu/s_fmaf.c: New file.
18808 * sysdeps/s390/fpu/s_fma.c: New file.
18809 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
18810 * sysdeps/powerpc/fpu/s_fma.S: New file.
18811 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
18812 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
18813 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
18814
188152010-10-12 Jakub Jelinek <jakub@redhat.com>
18816
18817 [BZ #3268]
18818 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
18819 fma tests.
18820 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
18821 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
18822 * sysdeps/i386/i686/multiarch/s_fma.c: Include
18823 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
18824 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
18825 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
18826 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
18827
b833d51f
UD
188282010-10-12 Ulrich Drepper <drepper@redhat.com>
18829
18830 [BZ #12078]
18831 * posix/regcomp.c (parse_branch): One more memory leak plugged.
18832 * posix/bug-regex31.input: Add test case.
18833
1751705d
UD
188342010-10-11 Ulrich Drepper <drepper@gmail.com>
18835
e9b9cbf5
UD
18836 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
18837 * posix/bug-regex31.input: New file.
18838
18839 [BZ #12078]
18840 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
18841 (parse_sub_exp): Fix last change, use postorder.
18842
ef06edbe
UD
18843 * posix/bug-regex31.c: New file.
18844 * posix/Makefile: Add rules to build and run bug-regex31.
18845
a129c80d
UD
18846 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
18847
18848 [BZ #12078]
18849 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
18850
b76b818e
UD
18851 [BZ #12108]
18852 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
18853 to have entries in sys_siglist.
18854
1751705d
UD
18855 [BZ #12093]
18856 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
18857 be NULL.
18858
9ff8d36f
JJ
188592010-10-07 Jakub Jelinek <jakub@redhat.com>
18860
18861 [BZ #3268]
18862 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
18863 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
18864 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
18865 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
18866 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18867 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
18868 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
18869 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
18870 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
18871 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
18872 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
18873 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
18874 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18875 * math/ftestexcept.c (fetestexcept): Likewise.
18876 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
18877 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
18878 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
18879 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
18880 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
18881 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
18882 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18883
af325969
UD
188842010-10-11 Ulrich Drepper <drepper@gmail.com>
18885
c579b202 18886 [BZ #12107]
af325969
UD
18887 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
18888 newline.
18889
67a67b95
UD
188902010-10-06 Ulrich Drepper <drepper@gmail.com>
18891
18892 * string/bug-strstr1.c: New file.
18893 * string/Makefile: Add rules to build and run bug-strstr1.
18894
5fb308bc
EB
188952010-10-05 Eric Blake <eblake@redhat.com>
18896
18897 [BZ #12092]
18898 * string/str-two-way.h (two_way_long_needle): Always clear memory
18899 when skipping input due to the shift table.
18900
45db99c7
UD
189012010-10-03 Ulrich Drepper <drepper@gmail.com>
18902
3b111893
UD
18903 [BZ #12005]
18904 * malloc/mcheck.c: Handle large requests.
18905
45db99c7
UD
18906 [BZ #12077]
18907 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
18908 for strncmp and strncasecmp.
18909 * string/stratcliff.c: Add tests for strcmp and strncmp.
18910 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
18911
cf7a1eb8
NI
189122010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18913
18914 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
18915 __set_fpscr.
18916
6484ba5e
AJ
189172010-09-30 Andreas Jaeger <aj@suse.de>
18918
18919 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
18920 (CGROUP_SUPER_MAGIC): Define.
18921 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18922 Handle btrfs and cgroup file systems.
18923 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18924 Likewise.
18925
91c42559
LM
189262010-09-27 Luis Machado <luisgpm@br.ibm.com>
18927
18928 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
18929 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
18930
87a97932
AK
189312010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18932
18933 [BZ #12067]
18934 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
18935 trying to locate the ELF header.
18936
c21cc9bc
AS
189372010-09-27 Andreas Schwab <schwab@redhat.com>
18938
18939 [BZ #11611]
18940 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
18941 Mask out sign-bit copies when constructing f_fsid.
18942
315970f6
PB
189432010-09-24 Petr Baudis <pasky@suse.cz>
18944
18945 * debug/stack_chk_fail_local.c: Add missing licence exception.
18946 * debug/warning-nop.c: Likewise.
18947
1ac7a2c7
JM
189482010-09-15 Joseph Myers <joseph@codesourcery.com>
18949
18950 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
18951 implementing getdents64 using getdents syscall, set d_type if
18952 __ASSUME_GETDENTS32_D_TYPE.
18953
56801c50
AS
189542010-09-16 Andreas Schwab <schwab@redhat.com>
18955
18956 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
18957 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
18958
dda51327
UD
189592010-09-21 Ulrich Drepper <drepper@redhat.com>
18960
18961 [BZ #12037]
18962 * posix/unistd.h: Undo change of feature selection for ftruncate from
18963 2010-01-11.
18964
8ffcee4a
UD
189652010-09-20 Ulrich Drepper <drepper@redhat.com>
18966
a545ecd9 18967 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
18968 detection.
18969
e24f0a8b
AS
189702010-09-20 Andreas Schwab <schwab@redhat.com>
18971
18972 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
18973 fanotify_mark.
18974 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18975
7291c56f
AS
189762010-09-14 Andreas Schwab <schwab@redhat.com>
18977
18978 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
18979 variables after CHECK_SP call.
18980 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
18981
bc5fb037
AS
189822010-09-13 Andreas Schwab <schwab@redhat.com>
18983 Ulrich Drepper <drepper@redhat.com>
18984
18985 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
18986 re-relocationg ld.so.
18987 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
18988 _dl_init_paths call.
18989 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
18990 here anymore.
18991
e66e7419
UD
189922010-09-14 Ulrich Drepper <drepper@redhat.com>
18993
18994 * resolv/res_init.c (__res_vinit): Count the default server we added.
18995
c044aa75
CLT
189962010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
18997 Ulrich Drepper <drepper@redhat.com>
18998
18999 [BZ #11968]
19000 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19001 (____longjmp_chk): Use %ebx for saving value across system call.
19002 Add unwind info.
19003
32cf4069
AS
190042010-09-06 Andreas Schwab <schwab@redhat.com>
19005
19006 * manual/Makefile: Don't mix pattern rules with normal rules.
19007
817328ee
AS
190082010-09-05 Andreas Schwab <schwab@linux-m68k.org>
19009
19010 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
19011 operation.
19012 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
19013 * libio/iofopncook.c (_IO_cookie_init): Likewise.
19014 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
19015 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
19016 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19017 Likewise.
19018
29fddf61
UD
190192010-09-04 Ulrich Drepper <drepper@redhat.com>
19020
19021 [BZ #11979]
19022 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
19023 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
19024
0959ffc9
UD
190252010-09-02 Ulrich Drepper <drepper@redhat.com>
19026
19027 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
19028 * sysdeps/x86_64/addmul_1.S: Likewise.
19029 * sysdeps/x86_64/lshift.S: Likewise.
19030 * sysdeps/x86_64/mul_1.S: Likewise.
19031 * sysdeps/x86_64/rshift.S: Likewise.
19032 * sysdeps/x86_64/sub_n.S: Likewise.
19033 * sysdeps/x86_64/submul_1.S: Likewise.
19034
ece29840
ST
190352010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
19036
0959ffc9
UD
19037 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
19038 Define __sched_param instead of SCHED_* and sched_param when
ece29840 19039 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 19040 * bits/sched.h [__need_schedparam]
ece29840 19041 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
19042 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
19043 (__defined_schedparam): Define to 1.
ece29840
ST
19044 (__sched_param): New structure, identical to sched_param.
19045 (__need_schedparam): Undefine.
19046
e53a31fe
MF
190472010-08-31 Mike Frysinger <vapier@gentoo.org>
19048
fdc0c10d
MF
19049 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
19050 (epoll_create1): Declare.
19051
e53a31fe
MF
19052 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
19053
a726d796
AS
190542010-08-31 Andreas Schwab <schwab@redhat.com>
19055
19056 [BZ #7066]
19057 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
19058 shifting retval into place.
19059
2f3e3dc7
UD
190602010-09-01 Ulrich Drepper <drepper@redhat.com>
19061
f2933da9
UD
19062 * nis/rpcsvc/nis.h: Update copyright notice.
19063 * nis/rpcsvc/nis.x: Likewise.
19064 * nis/rpcsvc/nis_callback.h: Likewise.
19065 * nis/rpcsvc/nis_callback.x: Likewise.
19066 * nis/rpcsvc/nis_object.x: Likewise.
19067 * nis/rpcsvc/nis_tags.h: Likewise.
19068 * nis/rpcsvc/yp.h: Likewise.
19069 * nis/rpcsvc/yp.x: Likewise.
19070 * nis/rpcsvc/ypupd.h: Likewise.
19071 * nis/yp_xdr.c: Likewise.
19072 * nis/ypupdate_xdr.c: Likewise.
19073
2f3e3dc7
UD
19074 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
19075 mainly the body of pmap_getport. Add parameters to specify timeouts.
19076 (pmap_getport): Use __libc_rpc_getport.
19077 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
19078 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
19079 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
19080
f3dcc2f9
AS
190812010-08-31 Andreas Schwab <schwab@linux-m68k.org>
19082
19083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
19084 fanotify_mark.
19085
6d34eb5b
RM
190862010-08-27 Roland McGrath <roland@redhat.com>
19087
19088 * sysdeps/i386/i686/multiarch/Makefile
19089 (CFLAGS-varshift.c): New variable.
19090
9ea3de11
UD
190912010-08-27 Ulrich Drepper <drepper@redhat.com>
19092
c96d23fc
UD
19093 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
19094 * sysdeps/i386/i686/multiarch/varshift.c: New file.
19095
9ea3de11
UD
19096 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
19097
19098 * sysdeps/x86_64/strlen.S: Minimal code improvement.
19099
623aac7f
L
191002010-08-26 H.J. Lu <hongjiu.lu@intel.com>
19101
19102 * sysdeps/x86_64/strlen.S: Unroll the loop.
19103 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19104 strlen-sse2 strlen-sse2-bsf.
19105 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
19106 __strlen_no_bsf if bit_Slow_BSF is set.
19107 (__strlen_sse42): Removed.
19108 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
19109 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
19110
8b2b7715
RM
191112010-08-25 Roland McGrath <roland@redhat.com>
19112
19113 * sysdeps/x86_64/multiarch/varshift.S: File removed.
19114 * sysdeps/x86_64/multiarch/varshift.c: New file.
19115 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
19116 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
19117 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
19118 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19119
e73015f2
L
191202010-08-25 H.J. Lu <hongjiu.lu@intel.com>
19121
19122 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19123 strlen-sse2 strlen-sse2-bsf.
19124 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
19125 __strlen_sse2_bsf if bit_Slow_BSF is unset.
19126 (__strlen_sse2): Removed.
19127 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
19128 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
19129 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19130 bit_Slow_BSF for Atom.
19131 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
19132 (index_Slow_BSF): Define.
19133 (HAS_SLOW_BSF): Define.
19134
df24a73e
UD
191352010-08-25 Ulrich Drepper <drepper@redhat.com>
19136
19137 [BZ #10851]
19138 * resolv/res_init.c (__res_vinit): When no server address at all
19139 is given default to loopback.
19140
f2ac4868
RM
191412010-08-24 Roland McGrath <roland@redhat.com>
19142
09055553
RM
19143 * configure.in: Remove config-name.h generation.
19144 * configure: Regenerated.
19145 * config-name.in: File removed.
19146 * scripts/config-uname.sh: New file.
19147 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
19148 ($(objdir)config-name.h): New target.
19149
f2ac4868
RM
19150 * sunrpc/rpc_parse.h: Avoid nested comment.
19151
73f27d5e
RH
191522010-08-24 Richard Henderson <rth@redhat.com>
19153 Ulrich Drepper <drepper@redhat.com>
19154 H.J. Lu <hongjiu.lu@intel.com>
19155
19156 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
19157 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
19158 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
19159 Replace _mm_srli_si128 with __m128i_shift_right. Replace
19160 _mm_alignr_epi8 with _mm_loadu_si128.
19161 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
19162 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
19163 (__m128i_shift_right): Removed.
19164 * sysdeps/i386/i686/multiarch/varshift.h: New file.
19165 * sysdeps/i386/i686/multiarch/varshift.S: New file.
19166 * sysdeps/x86_64/multiarch/varshift.h: New file.
19167 * sysdeps/x86_64/multiarch/varshift.S: New file.
19168
84b9230c
MF
191692010-08-21 Mike Frysinger <vapier@gentoo.org>
19170
19171 * configure.in: Move assembler checks to before sysdep dir checking.
19172
9bbd0ddc
PB
191732010-08-20 Petr Baudis <pasky@suse.cz>
19174
19175 * LICENSES: Sync the sunrpc license.
19176
9da4bb31
UD
191772010-08-19 Ulrich Drepper <drepper@redhat.com>
19178
a7ab6ec8
UD
19179 * sunrpc/auth_des.c: Update copyright notice once again.
19180 * sunrpc/auth_none.c: Likewise.
19181 * sunrpc/auth_unix.c: Likewise.
19182 * sunrpc/authdes_prot.c: Likewise.
19183 * sunrpc/authuxprot.c: Likewise.
19184 * sunrpc/bindrsvprt.c: Likewise.
19185 * sunrpc/clnt_gen.c: Likewise.
19186 * sunrpc/clnt_perr.c: Likewise.
19187 * sunrpc/clnt_raw.c: Likewise.
19188 * sunrpc/clnt_simp.c: Likewise.
19189 * sunrpc/clnt_tcp.c: Likewise.
19190 * sunrpc/clnt_udp.c: Likewise.
19191 * sunrpc/clnt_unix.c: Likewise.
19192 * sunrpc/des_crypt.c: Likewise.
19193 * sunrpc/des_soft.c: Likewise.
19194 * sunrpc/get_myaddr.c: Likewise.
19195 * sunrpc/getrpcport.c: Likewise.
19196 * sunrpc/key_call.c: Likewise.
19197 * sunrpc/key_prot.c: Likewise.
19198 * sunrpc/openchild.c: Likewise.
19199 * sunrpc/pm_getmaps.c: Likewise.
19200 * sunrpc/pm_getport.c: Likewise.
19201 * sunrpc/pmap_clnt.c: Likewise.
19202 * sunrpc/pmap_prot.c: Likewise.
19203 * sunrpc/pmap_prot2.c: Likewise.
19204 * sunrpc/pmap_rmt.c: Likewise.
19205 * sunrpc/rpc/auth.h: Likewise.
19206 * sunrpc/rpc/auth_unix.h: Likewise.
19207 * sunrpc/rpc/clnt.h: Likewise.
19208 * sunrpc/rpc/des_crypt.h: Likewise.
19209 * sunrpc/rpc/key_prot.h: Likewise.
19210 * sunrpc/rpc/netdb.h: Likewise.
19211 * sunrpc/rpc/pmap_clnt.h: Likewise.
19212 * sunrpc/rpc/pmap_prot.h: Likewise.
19213 * sunrpc/rpc/pmap_rmt.h: Likewise.
19214 * sunrpc/rpc/rpc.h: Likewise.
19215 * sunrpc/rpc/rpc_des.h: Likewise.
19216 * sunrpc/rpc/rpc_msg.h: Likewise.
19217 * sunrpc/rpc/svc.h: Likewise.
19218 * sunrpc/rpc/svc_auth.h: Likewise.
19219 * sunrpc/rpc/types.h: Likewise.
19220 * sunrpc/rpc/xdr.h: Likewise.
19221 * sunrpc/rpc_clntout.c: Likewise.
19222 * sunrpc/rpc_cmsg.c: Likewise.
19223 * sunrpc/rpc_common.c: Likewise.
19224 * sunrpc/rpc_cout.c: Likewise.
19225 * sunrpc/rpc_dtable.c: Likewise.
19226 * sunrpc/rpc_hout.c: Likewise.
19227 * sunrpc/rpc_main.c: Likewise.
19228 * sunrpc/rpc_parse.c: Likewise.
19229 * sunrpc/rpc_parse.h: Likewise.
19230 * sunrpc/rpc_prot.c: Likewise.
19231 * sunrpc/rpc_sample.c: Likewise.
19232 * sunrpc/rpc_scan.c: Likewise.
19233 * sunrpc/rpc_scan.h: Likewise.
19234 * sunrpc/rpc_svcout.c: Likewise.
19235 * sunrpc/rpc_tblout.c: Likewise.
19236 * sunrpc/rpc_util.c: Likewise.
19237 * sunrpc/rpc_util.h: Likewise.
19238 * sunrpc/rpcinfo.c: Likewise.
19239 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
19240 * sunrpc/rpcsvc/key_prot.x: Likewise.
19241 * sunrpc/rpcsvc/klm_prot.x: Likewise.
19242 * sunrpc/rpcsvc/mount.x: Likewise.
19243 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
19244 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
19245 * sunrpc/rpcsvc/rex.x: Likewise.
19246 * sunrpc/rpcsvc/rstat.x: Likewise.
19247 * sunrpc/rpcsvc/rusers.x: Likewise.
19248 * sunrpc/rpcsvc/sm_inter.x: Likewise.
19249 * sunrpc/rpcsvc/spray.x: Likewise.
19250 * sunrpc/rpcsvc/yppasswd.x: Likewise.
19251 * sunrpc/rtime.c: Likewise.
19252 * sunrpc/svc.c: Likewise.
19253 * sunrpc/svc_auth.c: Likewise.
19254 * sunrpc/svc_authux.c: Likewise.
19255 * sunrpc/svc_raw.c: Likewise.
19256 * sunrpc/svc_run.c: Likewise.
19257 * sunrpc/svc_simple.c: Likewise.
19258 * sunrpc/svc_tcp.c: Likewise.
19259 * sunrpc/svc_udp.c: Likewise.
19260 * sunrpc/svc_unix.c: Likewise.
19261 * sunrpc/svcauth_des.c: Likewise.
19262 * sunrpc/xcrypt.c: Likewise.
19263 * sunrpc/xdr.c: Likewise.
19264 * sunrpc/xdr_array.c: Likewise.
19265 * sunrpc/xdr_float.c: Likewise.
19266 * sunrpc/xdr_mem.c: Likewise.
19267 * sunrpc/xdr_rec.c: Likewise.
19268 * sunrpc/xdr_ref.c: Likewise.
19269 * sunrpc/xdr_sizeof.c: Likewise.
19270 * sunrpc/xdr_stdio.c: Likewise.
19271
9da4bb31
UD
19272 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
19273 handling.
19274
bdaa77bc
AS
192752010-08-19 Andreas Schwab <schwab@redhat.com>
19276
19277 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
19278
fe2f79db
LM
192792010-08-19 Luis Machado <luisgpm@br.ibm.com>
19280
19281 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
19282 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
19283 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
19284 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
19285 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
19286 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
19287 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
19288 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
19289 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
19290 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
19291 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
19292 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
19293 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
19294 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
19295
b9b42ee0
AB
192962010-07-26 Anton Blanchard <anton@samba.org>
19297
19298 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
19299 * malloc/arena.c (heap_trim): Likewise.
19300
1c06ba31
UD
193012010-08-16 Ulrich Drepper <drepper@redhat.com>
19302
19303 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
19304 here. Not...
19305 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
19306 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
19307
f8392f40
L
193082010-08-12 H.J. Lu <hongjiu.lu@intel.com>
19309
19310 * sysdeps/i386/elf/Makefile: New file.
19311
3162f12e
AS
193122010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19313
19314 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
19315 from fanotify_init.
19316 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
19317 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19318
28c90b2c
UD
193192010-08-15 Ulrich Drepper <drepper@redhat.com>
19320
19321 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
19322 of strncasecmp_l.
1feccb6c 19323 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 19324
ca6bb004
UD
193252010-08-14 Ulrich Drepper <drepper@redhat.com>
19326
e9f82e0d
UD
19327 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19328 strncase_l-nonascii.
19329 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19330 Add strncase_l-ssse3.
19331 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
19332 * sysdeps/x86_64/strcmp.S: Likewise.
19333 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
19334 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
19335 * sysdeps/x86_64/strncase.S: New file.
19336 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
19337 * sysdeps/x86_64/strncase_l.S: New file.
19338 * string/Makefile (strop-tests): Add strncasecmp.
19339 * string/test-strncasecmp.c: New file.
19340
19341 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
19342 warning.
19343
ca6bb004
UD
19344 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
19345 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
19346
052fa7b3
AS
193472010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19348
19349 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
19350
962dba78
UD
193512010-08-12 Ulrich Drepper <drepper@redhat.com>
19352
19353 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
19354 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
19355 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
19356
bebff237
AM
193572010-05-01 Alan Modra <amodra@gmail.com>
19358
19359 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
19360 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
19361 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
19362 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
19363 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
19364 tidying. Don't tail-call __sigjmp_save for static lib.
19365 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
19366 save location.
19367 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
19368 (CALL_MCOUNT): Add eh info, and nop after bl.
19369 (TAIL_CALL_SYSCALL_ERROR): New macro.
19370 (PSEUDO_RET): Use it.
19371 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19372 Correct save location of integer regs and cr.
19373 (_dl_profile_resolve): Correct cr save location. Delete nops
19374 after bl when SHARED. Reduce cfi size a little by better
19375 placement of cfi directives.
19376 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
19377 make a stack frame. Instead use parm save area as a temp.
19378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
19379 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
19380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19381 Don't make a stack frame for parent, use parm save area.
19382 Increase child stack frame to 112 bytes. Don't save unused reg,
19383 and adjust reg usage. Set up cfi on error recovery and
19384 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
19385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19386 (__makecontext): Add dummy nop after jump to exit.
19387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
19388 Use correct parm save area and cr save, reduce stack frame.
19389 Correct cfi for possible PSEUDO_RET frame setup.
19390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
19391 Branch to local label emitted by PSEUDO_RET rather than
19392 __syscall_error.
19393
02637374
AS
193942010-08-12 Andreas Schwab <schwab@redhat.com>
19395
19396 [BZ #11904]
19397 * locale/programs/locale.c (print_assignment): New function.
19398 (show_locale_vars): Use it.
19399
c3e2f19b
UD
194002010-08-11 Ulrich Drepper <drepper@redhat.com>
19401
3cdaa6ad
UD
19402 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
19403 field.
19404 (struct statfs64): Likewise.
19405 (_STATFS_F_FLAGS): Define.
19406 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
19407 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19408 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
19409 (ST_VALID): Define locally.
19410 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
19411 __statvfs_getflags, use the provided value.
19412 * sysdeps/unix/sysv/linux/kernel-features.h: Define
19413 __ASSUME_STATFS_F_FLAGS.
19414
754f7da3
UD
19415 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
19416
10b3bedc
UD
19417 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
19418 Add sys/fanotify.h.
19419 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
19420 fanotify_mask for GLIBC_2.13.
19421 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
19422 fanotify_init and fanotify_mark.
19423 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19424 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
19425
c08fb0d7
UD
19426 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
19427 Add prlimit.
19428 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
19429 prlimit64 for GLIBC_2.13.
19430 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
19431 prlimit64.
19432 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
19433 syscall.
19434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
19435 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19436 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
19437 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
19438 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
19439 add prlimit alias.
19440 * sysdeps/unix/sysv/linux/prlimit.c: New file.
19441
15bac72b
UD
19442 [BZ #11903]
19443 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
19444 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
19445
c3e2f19b
UD
19446 * nss/Makefile: Add rules to build and run tst-nss-test1.
19447 * shlib-versions: Add entry for libnss_test1.
19448 * nss/nss_test1.c: New file.
19449 * nss/tst-nss-test1.c: New file.
19450
19451 * nss/nsswitch.c (__nss_database_custom): Define new variable.
19452 (__nss_configure_lookup): Set appropriate entry in
19453 __nss_configure_lookup to true.
19454 * nss/nsswitch.h: Define enum with indeces of databases in
19455 databases and __nss_database_custom arrays. Declare
19456 __nss_database_custom.
19457 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
19458 to avoid using nscd when custom rules are installed.
19459 * nss/getXXbyYY_r.c: Likewise.
19460 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19461
19462 * nss/nss_files/files-parse.c: Whitespace fixes.
19463
f15ce4d8
UD
194642010-08-09 Ulrich Drepper <drepper@redhat.com>
19465
19466 [BZ #11883]
19467 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
19468 * posix/fnmatch_loop.c: Likewise.
19469
d22e4cc9
AK
194702010-07-17 Andi Kleen <ak@linux.intel.com>
19471
19472 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
19473 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
19474 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
19475 * Versions.def [GLIBC_2.13]: Add.
19476
805bc17d
UD
194772010-08-06 Ulrich Drepper <drepper@redhat.com>
19478
19479 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19480 Also fail if tpwd after pwuid call is NULL.
19481
5a42321d
ST
194822010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
19483
19484 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
19485 when converting to ms.
19486
fd3ebeda
ST
194872010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19488
19489 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
19490 EOPNOTSUPP errors with ENOTTY.
19491 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
19492 EOPNOTSUPP errors with ENOTTY.
19493
73507d3a
UD
194942010-07-31 Ulrich Drepper <drepper@redhat.com>
19495
19496 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19497 Add strcasecmp_l-ssse3.
19498 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
19499 strcasecmp.
19500 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
19501 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
19502 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
19503
fe36dd02
UD
195042010-07-30 Ulrich Drepper <drepper@redhat.com>
19505
66f6765a
UD
19506 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
19507
42e08a54
UD
19508 * string/Makefile (strop-tests): Add strcasecmp.
19509 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19510 strcasecmp_l-nonascii.
19511 (gen-as-const-headers): Add locale-defines.sym.
19512 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
19513 * sysdeps/x86_64/strcasecmp.S: New file.
19514 * sysdeps/x86_64/strcasecmp_l.S: New file.
19515 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
19516 * sysdeps/x86_64/locale-defines.sym: New file.
19517 * string/test-strcasecmp.c: New file.
19518
fe36dd02
UD
19519 * string/test-strcasestr.c: Test both ends of the range of characters.
19520 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
19521
48cbc0d6
RM
195222010-07-29 Roland McGrath <roland@redhat.com>
19523
76e6d6bc 19524 [BZ #11856]
48cbc0d6
RM
19525 * manual/locale.texi (Yes-or-No Questions): Fix example code.
19526
880113d9
UD
195272010-07-27 Ulrich Drepper <drepper@redhat.com>
19528
19529 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
19530 for ld.so.
19531
deb9cabb
AS
195322010-07-27 Andreas Schwab <schwab@redhat.com>
19533
19534 * manual/memory.texi (Malloc Tunable Parameters): Document
19535 M_PERTURB.
19536
1c7570ff
RM
195372010-07-26 Roland McGrath <roland@redhat.com>
19538
19539 [BZ #11840]
19540 * configure.in (-fgnu89-inline check): Set and substitute
19541 gnu89_inline, not libc_cv_gnu89_inline.
19542 * configure: Regenerated.
19543 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
19544
24fb0f88
UD
195452010-07-26 Ulrich Drepper <drepper@redhat.com>
19546
19547 * string/test-strnlen.c: New file.
19548 * string/Makefile (strop-tests): Add strnlen.
19549 * string/tester.c (test_strnlen): Add a few more test cases.
19550 * string/tst-strlen.c: Better error reporting.
19551
19552 * sysdeps/x86_64/strnlen.S: New file.
19553
8e96b93a
UD
195542010-07-24 Ulrich Drepper <drepper@redhat.com>
19555
19556 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
19557 lower-latency instructions.
19558
dbc676d4
UD
195592010-07-23 Ulrich Drepper <drepper@redhat.com>
19560
19561 * string/test-strcasestr.c: New file.
19562 * string/test-strstr.c: New file.
19563 * string/Makefile (strop-tests): Add strstr and strcasestr.
19564 * string/str-two-way.h: Don't undefine MAX.
19565 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
19566
f6a31e0e
AS
195672010-07-21 Andreas Schwab <schwab@redhat.com>
19568
19569 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19570 strcasestr-nonascii.
19571 (CFLAGS-strcasestr-nonascii.c): Define.
19572 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
19573 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
19574 Remove unused attribute.
19575
5dbc3b6c
RM
195762010-07-20 Roland McGrath <roland@redhat.com>
19577
19578 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
19579 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
19580 ld.so.cache was broken. With it, there is no way to disable dsocaps
19581 like LD_HWCAP_MASK can disable hwcaps.
19582
23d101d8
EPM
195832010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19584
19585 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
19586
cc9f2e47
UD
195872010-07-16 Ulrich Drepper <drepper@redhat.com>
19588
19589 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
19590 call in strcasestr.
19591 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
19592 __strcasestr_sse42_nonascii.
19593 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
19594 strcasestr-nonascii.c.
19595 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
19596
77c1b069
LM
195972010-06-15 Luis Machado <luisgpm@br.ibm.com>
19598
19599 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
19600 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
19601 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
19602 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
19603
440566c3
UD
196042010-07-09 Ulrich Drepper <drepper@redhat.com>
19605
19606 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
19607 fcntl.
19608
5be9d05d
AS
196092010-07-06 Andreas Schwab <schwab@redhat.com>
19610
c30b7ee2 19611 [BZ #11577]
5be9d05d
AS
19612 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
19613 dl_signal_cerror.
19614
8a492a67
UD
196152010-07-06 Ulrich Drepper <drepper@redhat.com>
19616
19617 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
19618 _PC_PIPE_BUF using F_GETPIPE_SZ.
19619
713df3d5
RM
196202010-07-05 Roland McGrath <roland@redhat.com>
19621
19622 * manual/arith.texi (Rounding Functions): Fix rint description
19623 implicit in round description.
19624
702e8f14
UD
196252010-07-02 Ulrich Drepper <drepper@redhat.com>
19626
19627 * elf/Makefile: Fix linking for a few tests to make recent linker
19628 happy.
19629
52ed8be9
AS
196302010-06-30 Andreas Schwab <schwab@redhat.com>
19631
19632 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19633 $(common-objpfx)libc_nonshared.a.
19634
f47c9a11
LM
196352010-06-21 Luis Machado <luisgpm@br.ibm.com>
19636
19637 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
19638 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
19639 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19640 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19641 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
19642 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
19643 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19644 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
19646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
19647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
19648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
19650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
19652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
19653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
19654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
19655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
19657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
19659 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
19660 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
19661 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
19662 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
19663 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
19664 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
19665 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
19666 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
19667 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
19668 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
19669 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
19670 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
19671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
19672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
19673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
19674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
19675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
19676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
19677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
19678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
19679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
19680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
19681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
19682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
19683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
19684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
19685
6fb8cbcb
L
196862010-06-25 H.J. Lu <hongjiu.lu@intel.com>
19687
19688 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
19689 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
19690 * string/memmove.c (memmove): Renamed to ...
19691 (MEMMOVE): ...this. Default to memmove.
19692 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
19693 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
19694 (END_CHK): Define.
19695 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19696 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
19697 mempcpy-ssse3-back memmove-ssse3-back.
19698 * sysdeps/x86_64/multiarch/bcopy.S: New file .
19699 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
19700 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
19701 * sysdeps/x86_64/multiarch/memcpy.S: New file.
19702 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
19703 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
19704 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
19705 * sysdeps/x86_64/multiarch/memmove.c: New file.
19706 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
19707 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
19708 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
19709 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
19710 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
19711 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
19712 Define.
19713 (index_Fast_Copy_Backward): Define.
19714 (HAS_ARCH_FEATURE): Define.
19715 (HAS_FAST_REP_STRING): Define.
19716 (HAS_FAST_COPY_BACKWARD): Define.
19717
4e733bac 197182010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
19719
19720 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19721 Restore proper fallback handling.
19722
63c4ed22
UD
197232010-06-19 Ulrich Drepper <drepper@redhat.com>
19724
ac2b484c
UD
19725 [BZ #11701]
19726 * posix/group_member.c (__group_member): Correct checking loop.
19727
63c4ed22
UD
19728 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
19729 OOM in getpwuid_r correctly. Return error number when the caller
19730 should return, otherwise -1.
19731 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
19732 call returning > 0 value.
19733 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
19734
765ade4b
AS
197352010-06-07 Andreas Schwab <schwab@redhat.com>
19736
19737 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
19738 libc_nonshared.a from targets in modules-names.
19739
80da2e09
KS
197402010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
19741
19742 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
19743 requires it.
19744
158db122
LM
197452010-06-10 Luis Machado <luisgpm@br.ibm.com>
19746
19747 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
19748 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
19749 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
19750 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
19751
caa78cf8
AS
197522010-06-02 Andreas Schwab <schwab@redhat.com>
19753
19754 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
19755
b2ef2c01
UD
197562010-06-14 Ulrich Drepper <drepper@redhat.com>
19757
19758 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
19759 and F_GETPIPE_SZ.
19760 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19761 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19762 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19763 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19764 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19765 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
19766
fbd643b6
RM
197672010-06-14 Roland McGrath <roland@redhat.com>
19768
19769 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
19770
f32f2869
JJ
197712010-06-07 Jakub Jelinek <jakub@redhat.com>
19772
19773 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
19774 __REDIRECT followed by __THROW.
19775 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
19776 * posix/getopt.h (getopt): Likewise.
19777
2a50c078
EPM
197782010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19779
19780 * hurd/lookup-at.c (__file_name_lookup_at): Accept
19781 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
19782 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
19783 in AT_FLAGS.
19784 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
19785 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
19786
eb5ad2eb
LM
197872010-05-28 Luis Machado <luisgpm@br.ibm.com>
19788
19789 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
19790
3c88fe1e
L
197912010-05-26 H.J. Lu <hongjiu.lu@intel.com>
19792
19793 [BZ #11640]
19794 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19795 Properly check family and model.
19796
d2f73151
TY
197972010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
19798
19799 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
19800
ebd2e13d
LM
198012010-05-24 Luis Machado <luisgpm@br.ibm.com>
19802
19803 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
19804
b32b8b45
UD
198052010-05-21 Ulrich Drepper <drepper@redhat.com>
19806
19807 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
19808 symbol reference.
19809
9acbe24d
AS
198102010-05-19 Andreas Schwab <schwab@redhat.com>
19811
19812 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
19813 symbol reference.
19814
f0ccf6ea
AS
198152010-05-21 Andreas Schwab <schwab@redhat.com>
19816
3d04ff3a
AS
19817 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
19818 and internal_recvmmsg.
19819 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
19820 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
19821 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
19822 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
19823
f0ccf6ea
AS
19824 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
19825 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
19826 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
19827
5b08ac57
AS
198282010-05-20 Andreas Schwab <schwab@redhat.com>
19829
19830 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
19831
4828935d
LM
198322010-05-17 Luis Machado <luisgpm@br.ibm.com>
19833
19834 POWER7 optimizations.
19835 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
19836 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
19837
373d545e
UD
198382010-05-19 Ulrich Drepper <drepper@redhat.com>
19839
19840 * version.h: Update for 2.13 development version.
19841
21a2b1ae
AS
198422010-05-12 Andrew Stubbs <ams@codesourcery.com>
19843
19844 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
19845 exceptions. Return 0.
19846
3f7dcb2b
RM
198472010-05-07 Roland McGrath <roland@redhat.com>
19848
19849 * elf/ldconfig.c (main): Add a const.
19850
5f24d53a 198512010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 19852
a160f8d8
UD
19853 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
19854 (args_options): Add no-idn option.
19855 (ahosts_keys_int): Add idn_flags to ai_flags.
19856 (parse_option): Handle 'i' option to clear idn_flags.
19857
5f24d53a
UD
19858 * malloc/malloc.c (_int_free): Possible race in the most recently
19859 added check. Only act on the data if no current modification
19860 happened.
265bb1ce
UD
19861
19862See ChangeLog.17 for earlier changes.