]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Clean up R_ARM_PC24 handling.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
9cee5585
L
12012-10-05 H.J. Lu <hongjiu.lu@intel.com>
2
53cea63e
L
3 * elf/Makefile (dl-routines): Add hwcaps.
4 * elf/dl-support.c (_dl_important_hwcaps): Removed.
5 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
6 (_dl_important_hwcaps): Moved to ...
7 * elf/dl-hwcaps.c: Here. New file.
8 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
9
9cee5585 10 [BZ #14557]
bb859b06
L
11 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
12 if IS_IN_rtld isn't defined.
13
9cee5585
L
14 * elf/dl-support.c (_dl_sysinfo_map): New.
15 Include "get-dynamic-info.h" and "setup-vdso.h".
16 (_dl_non_dynamic_init): Call setup_vdso.
17 * elf/dynamic-link.h: Don't include <assert.h>.
18 (elf_get_dynamic_info): Moved to ...
19 * elf/get-dynamic-info.h: Here. New file.
20 * elf/dynamic-link.h: Include "get-dynamic-info.h".
21 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
22 * elf/setup-vdso.h: Here. New file.
23 * elf/rtld.c: Include "setup-vdso.h".
24 (dl_main): Call setup_vdso.
25
23c31b76
JM
262012-10-05 Joseph Myers <joseph@codesourcery.com>
27
28234b07
JM
28 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
29 creal in comment listing functions tested. List finite, isinf,
30 isnan, isless, islessequal, isgreater, isgreaterequal,
31 islessgreater, isunordered, lgamma_r and pow10 as functions and
32 macros not tested. Mention which functions not tested are aliases
33 for other functions. Fix typo. Note that signs of NaNs are not
34 tested.
35
23c31b76
JM
36 * scripts/config.guess: Update from config.git.
37 * scripts/config.sub: Likewise.
38
9043e228
RM
392012-10-04 Roland McGrath <roland@hack.frob.com>
40
41 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
42 * misc/madvise.c (madvise): Renamed to __madvise.
43 Make madvise a weak alias.
44 * include/sys/mman.h: Declare __madvise.
45 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
46 * sysdeps/unix/syscalls.list
47 (madvise): Make __madvise the strong name, and madvise a weak alias.
48 * sysdeps/unix/sysv/linux/syscalls.list
49 (madvise, mmap): Remove redundant entries.
50 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
51 * malloc/malloc.c (mtrim): Likewise.
52 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
53
f57f8055
RM
542012-10-03 Roland McGrath <roland@hack.frob.com>
55
56 * sysdeps/mach/hurd/dl-cache.c: File removed.
57 * config.h.in (USE_LDCONFIG): New #undef.
58 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
59 * configure: Regenerated.
60 * elf/Makefile (dl-routines): Add dl-cache only under
61 [$(use-ldconfig) = yes].
62 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
63 cache on [USE_LDCONFIG].
64 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
65 [USE_LDCONFIG].
66 * elf/rtld.c (dl_main): Likewise.
67
5bb0c10a
PT
682012-10-03 Pino Toscano <toscano.pino@tiscali.it>
69
70 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
71 _SC_LEVEL4_CACHE_LINESIZE.
72
010188c6
RM
732012-10-03 Roland McGrath <roland@hack.frob.com>
74
75 * sysdeps/unix/bsd/confstr.h: File removed.
76
b6c5ec07
AO
772012-10-02 Alexandre Oliva <aoliva@redhat.com>
78
79 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
80 sys/sdt-config.h.
81
408223d4
RM
822012-10-02 Roland McGrath <roland@hack.frob.com>
83
84 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
85 Make 'mapoff' field ElfW(Off) rather than off_t.
86
bb9510dc
DL
872012-10-02 Dmitry V. Levin <ldv@altlinux.org>
88
fc997c6e
DL
89 * nscd/Makefile: Remove nscd-cflags and all its users.
90 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
91 (CFLAGS-nonlib): Add compiler flags for nscd modules.
92
bb9510dc
DL
93 [BZ #10631]
94 * malloc.c (malloc_printerr): Clarify error message.
95
05699367
L
962012-10-02 H.J. Lu <hongjiu.lu@intel.com>
97
98 [BZ #14648]
99 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
100 Set bit_FMA_Usable if FMA is supported.
101 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
102 macro.
103 (bit_FMA4_Usable): Updated.
104 (index_FMA_Usable): New macro.
105 (CPUID_FMA): Likewise
106 (HAS_FMA): Defined with bit_FMA_Usable.
107
51367701
RM
1082012-10-01 Roland McGrath <roland@hack.frob.com>
109
110 * bits/types.h (__swblk_t): Type removed.
111 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
112 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
113 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
114 (__SWBLK_T_TYPE): Likewise.
115 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
116 (__SWBLK_T_TYPE): Likewise.
117 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
118 (__SWBLK_T_TYPE): Likewise.
119 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
120 (__SWBLK_T_TYPE): Likewise.
121
4d57bf63
JL
1222012-10-01 Patsy Franklin <pfrankli@redhat.com>
123 Honza Horak <hhorak@redhat.com>
124
125 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
126 (xdr_mapname): Use YPMAXMAP as maxsize.
127 (xdr_peername): Use YPMAXPEER as maxsize.
128 (xdr_keydat): Use YPAXRECORD as maxsize.
129 (xdr_valdat): Use YPMAXRECORD as maxsize.
130
93c65d43
RM
1312012-10-01 Roland McGrath <roland@hack.frob.com>
132
497a03d6
RM
133 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
134
93c65d43
RM
135 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
136 * csu/init-first.c: ... here.
137 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
138 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
139 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
140 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
141 * sysdeps/i386/init-first.c: File removed.
142 * sysdeps/sh/init-first.c: File removed.
143
bec749fd
JM
1442012-10-01 Joseph Myers <joseph@codesourcery.com>
145
146 [BZ #14645]
147 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
148 if x * y might underflow to zero and z is zero.
149 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
150 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
151 * math/libm-test.inc (min_subnorm_value): New variable.
152 (fma_test): Add more tests.
153 (fma_test_towardzero): Likewise.
154 (fma_test_downward): Likewise
155 (fma_test_upward): Likewise.
156 (initialize): Set min_subnorm_value.
157
8ec5b013
JM
1582012-09-29 Joseph Myers <joseph@codesourcery.com>
159
160 [BZ #14638]
161 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
162 0 + 0.
163 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
164 mode for addition resulting in exact zero.
165 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
166 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
167 exact 0 + 0.
168 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
169 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
170 * math/libm-test.inc (fma_test): Add more tests.
171 (fma_test_towardzero): New function.
172 (fma_test_downward): Likewise.
173 (fma_test_upward): Likewise.
174 (main): Call the new functions.
175
b1fa802e
DM
1762012-09-28 David S. Miller <davem@davemloft.net>
177
178 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
179
d3b9fd9e
RM
1802012-09-28 Roland McGrath <roland@hack.frob.com>
181
ea4d37b3
RM
182 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
183 instead of SIGALRM.
184
ac51c949
RM
185 * sysdeps/gnu/_G_config.h: Moved to ...
186 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
187 * sysdeps/mach/hurd/_G_config.h: Moved to ...
188 * sysdeps/generic/_G_config.h: ... here.
189
28c195f7
RM
190 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
191
848917f9
RM
192 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
193
6bacf05b
RM
194 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
195 Conditionalize target on [libnss_test1.so-version].
196
91363dbb
RM
197 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
198
cc87f7d8
RM
199 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
200 (elfobjdir): Move out of conditionals.
201
b1c608fe
RM
202 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
203 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
204 (__nss_lookup_function): Conditionalize label remove_from_tree on
205 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 206
1d9a6d96
DM
2072012-09-28 David S. Miller <davem@davemloft.net>
208
209 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
210 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
211 file.
212 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
213 sysdep_routines.
214 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
215 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
216 when HWCAP_SPARC_CRYPTO is present.
217
72581615
PT
2182012-09-28 Pino Toscano <toscano.pino@tiscali.it>
219
220 * io/tst-mknodat.c: Create a FIFO instead of a socket.
221
715a900c
JL
2222012-09-28 Andreas Schwab <schwab@linux-m68k.org>
223
224 [BZ #6530]
225 * stdio-common/vfprintf.c (process_string_arg): Revert
226 2000-07-22 change.
227
2282011-09-28 Jonathan Nieder <jrnieder@gmail.com>
229
230 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
231 for testcase.
232 * stdio-common/tst-sprintf.c: Include <locale.h>
233 (main): Test sprintf's handling of incomplete multibyte
234 characters.
235
9bac1d86
L
2362012-09-28 H.J. Lu <hongjiu.lu@intel.com>
237
238 * elf/dl-runtime.c (VERSYMIDX): Removed.
239 * elf/dl-version.c (VERSYMIDX): Likewise.
240 * elf/do-rel.h (VERSYMIDX): Likewise.
241 (VALIDX): Likewise.
242 * elf/dynamic-link.h (VERSYMIDX): Likewise.
243 * elf/rtld.c (VALIDX): Likewise.
244 (ADDRIDX): Likewise.
9bac1d86
L
245 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
246 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
247 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
248 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
249 (VALIDX): Likewise.
250 (ADDRIDX): Likewise.
9bac1d86 251
b31606c0
PT
2522012-09-28 Pino Toscano <toscano.pino@tiscali.it>
253
254 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
255
11541177
JL
2562012-09-28 Dmitry V. Levin <ldv@altlinux.org>
257
258 [BZ #11438]
259 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
260 to global scope.
261 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
262 addresses are in the same scope as 192.0.2/24.
263 * posix/gai.conf: Document new scope table defaults.
264
adb26fae
SP
2652012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
266
267 [BZ #5298]
268 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
269 for ftell. Compute offsets from write pointers instead.
270 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
271
4573c6b0
SP
2722012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
273
274 [BZ #14543]
275 * libio/Makefile (tests): New test case tst-fseek.
276 * libio/tst-fseek.c: New test case to verify that fseek/ftell
277 combination works in wide mode.
278 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
279 state when the external buffer state changes.
280
aa9bbfe6
DM
2812012-09-27 David S. Miller <davem@davemloft.net>
282
283 [BZ #14376]
284 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
285 pass reloc->r_addend in as the 'high' argument to
286 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
287
784421e7
DM
288 * sysdeps/sparc/fpu/libm-test-ulps: Update.
289
c39bc8b8
PT
2902012-09-28 Pino Toscano <toscano.pino@tiscali.it>
291
292 * rt/tst-aio2.c: Include <pthread.h>.
293 * rt/tst-aio3.c: Likewise.
294
1ccc2399
SE
2952012-09-27 Steve Ellcey <sellcey@mips.com>
296
297 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
298
31ed4153
L
2992012-09-27 H.J. Lu <hongjiu.lu@intel.com>
300
25f5f885
L
301 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
302 contents on [SHARED].
31ed4153 303
b7bfe116
MP
3042012-09-26 Marek Polacek <polacek@redhat.com>
305
306 [BZ #14530]
307 [BZ #13741]
308 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
309 for C++ and GCC <4.3 as well as for non GCC compilers.
310
43c4edba
MT
3112012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
312
313 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
314
6a1bf82f
RM
3152012-09-25 Roland McGrath <roland@hack.frob.com>
316
317 * Makefile.in (all, install): Declare with .PHONY.
318 Reported by Michael Hope <michael.hope@linaro.org>.
319
8ad11b9a
TMQMF
3202012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
321
322 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
323 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
324 system header.
325 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
326 Likewise.
327 (sydep_routines): Add the new and the internal functions.
328 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
329 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
331 (GLIBC_2.17): Add the new function.
332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
333 (GLIBC_2.17): Likewise.
334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
335 (GLIBC_2.17): Likewise.
336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
337 (GLIBC_2.17): Likewise.
338 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
339
7e2fca8d
AM
3402012-09-25 Alan Modra <amodra@gmail.com>
341
342 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
343 Add release barrier before setting once_control to say
344 initialisation is done. Add hints on lwarx. Use macro in
345 place of isync.
346 (clear_once_control): Add release barrier.
347
b87c4b24
JM
3482012-09-25 Joseph Myers <joseph@codesourcery.com>
349
d032e0d2
JM
350 [BZ #13629]
351 * math/s_clog.c (__clog): Handle more values close to |z| = 1
352 specially.
353 * math/s_clog10.c (__clog10): Likewise.
354 * math/s_clog10f.c (__clog10f): Likewise.
355 * math/s_clog10l.c (__clog10l): Likewise.
356 * math/s_clogf.c (__clogf): Likewise.
357 * math/s_clogl.c (__clogl): Likewise.
358 * math/Makefile (libm-calls): Add x2y2m1.
359 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
360 (__x2y2m1): Likewise.
361 (__x2y2m1l): Likewise.
362 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
363 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
364 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
365 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
366 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
367 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
368 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
369 * sysdeps/i386/fpu/libm-test-ulps: Update.
370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
371
b87c4b24
JM
372 [BZ #14621]
373 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
374 int as type of variable DEPTH.
375 (glob): Use size_t instead of int as type of variables NEWCOUNT
376 and OLD_PATHC.
377
6d3bf199
LD
3782012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
379
22bf5c17
LD
380 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
381 Add s_sincosf-sse2.
382 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
383 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
384 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
385 macros for using routine as __sincosf_ia32.
386 Use macro for function declaration and weak_alias.
387 * sysdeps/i386/fpu/libm-test-ulps: Update.
388
389 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
390 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
391
392 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
393 subnormal argument.
394 * math/s_cexpf.c (__cexpf): Likewise.
395 * math/s_csinf.c (__csinf): Likewise.
396 * math/s_csinhf.c (__csinhf): Likewise.
397 * math/s_ctanf.c (__ctanf): Likewise.
398 * math/s_ctanhf.c (__ctanhf): Likewise.
399 * math/s_ccosh.c (__ccoshf): Likewise.
400 * math/s_cexp.c (__cexpl): Likewise.
401 * math/s_csin.c (__csin): Likewise.
402 * math/s_csinh.c (__csinh): Likewise.
403 * math/s_ctan.c (__ctan): Likewise.
404 * math/s_ctanh.c (ctanh): Likewise.
405 * math/s_ccoshl.c (__ccoshl): Likewise.
406 * math/s_cexpl.c (__cexpl): Likewise.
407 * math/s_csinl.c (__csinl): Likewise.
408 * math/s_csinhl.c (__csinhl): Likewise.
409 * math/s_ctanl.c (__ctanl): Likewise.
410 * math/s_ctanhl.c (__ctanhl): Likewise.
411
203e5603
JM
4122012-09-25 Joseph Myers <joseph@codesourcery.com>
413
414 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
415 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
416 (_IO_off_t): Define to __off_t, not _G_off_t.
417 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
418 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
419 (_IO_wint_t): Define to wint_t, not _G_wint_t.
420 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
421 type of __dummy and __dummy2 fields.
422 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
423 (_G_ssize_t): Likewise.
424 (_G_off_t): Likewise.
425 (_G_pid_t): Likewise.
426 (_G_uid_t): Likewise.
427 (_G_wchar_t): Likewise.
428 (_G_wint_t): Likewise.
429 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
430 (_G_ssize_t): Likewise.
431 (_G_off_t): Likewise.
432 (_G_pid_t): Likewise.
433 (_G_uid_t): Likewise.
434 (_G_wchar_t): Likewise.
435 (_G_wint_t): Likewise.
436 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
437 (_G_ssize_t): Likewise.
438 (_G_off_t): Likewise.
439 (_G_pid_t): Likewise.
440 (_G_uid_t): Likewise.
441 (_G_wchar_t): Likewise.
442 (_G_wint_t): Likewise.
443
9fab36eb
SP
4442012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
445
446 * malloc/arena.c: Include malloc-sysdep.h.
447 (shrink_heap): Use check_may_shrink_heap to decide if madvise
448 is sufficient to shrink the heap or an unmap is needed.
449 * sysdeps/generic/malloc-sysdep.h: New file. Define
450 new function check_may_shrink_heap.
451 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
452 new function check_may_shrink_heap.
453
2b4f00d1
SP
4542012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
455
456 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
457 comments.
458
9a9028b1
DL
4592012-09-24 Dmitry V. Levin <ldv@altlinux.org>
460
57c69bef
DL
461 * catgets/test-gencat.sh: Add "set -e".
462 * elf/tst-pathopt.sh: Likewise.
463 * grp/tst_fgetgrent.sh: Likewise.
464 * iconvdata/run-iconv-test.sh: Likewise.
465 * intl/tst-gettext.sh: Likewise.
466 * intl/tst-gettext2.sh: Likewise.
467 * intl/tst-gettext4.sh: Likewise.
468 * intl/tst-gettext6.sh: Likewise.
469 * intl/tst-translit.sh: Likewise.
470 * io/ftwtest-sh: Likewise.
471 * libio/test-freopen.sh: Likewise.
472 * malloc/tst-mtrace.sh: Likewise.
473 * posix/globtest.sh: Likewise.
474 * posix/tst-getconf.sh: Likewise.
475 * posix/wordexp-tst.sh: Likewise.
476 * stdio-common/tst-printf.sh: Likewise.
477 * stdio-common/tst-unbputc.sh: Likewise.
478 * stdlib/tst-fmtmsg.sh: Likewise.
479 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
480 * catgets/Makefile: Do not specify -e option when running
481 testsuite shell scripts.
482 * elf/Makefile: Likewise.
483 * grp/Makefile: Likewise.
484 * iconvdata/Makefile: Likewise.
485 * intl/Makefile: Likewise.
486 * io/Makefile: Likewise.
487 * libio/Makefile: Likewise.
488 * malloc/Makefile: Likewise.
489 * posix/Makefile: Likewise.
490 * stdio-common/Makefile: Likewise.
491 * stdlib/Makefile: Likewise.
492 * sysdeps/x86_64/Makefile: Likewise.
493
9a9028b1
DL
494 * io/ftwtest-sh: Add copyright header.
495 * posix/globtest.sh: Likewise.
496 * posix/tst-getconf.sh: Likewise.
497 * posix/wordexp-tst.sh: Likewise.
498 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
499
ced6f16e
L
5002012-09-24 H.J. Lu <hongjiu.lu@intel.com>
501
94b32c39
L
502 [BZ #13679]
503 * Makeconfig (+link): Defined as $(+link-static) if
504 $(build-shared) isn't yes.
505 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
506 isn't yes.
507 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
508
189e935b
L
509 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
510
ced6f16e
L
511 [BZ #14562]
512 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
513 new chunk size with MALLOC_ALIGN_MASK.
514
a9f8e53a
JM
5152012-09-24 Joseph Myers <joseph@codesourcery.com>
516
517 [BZ #5044]
518 * stdio-common/printf_fphex.c: Include <stdbool.h> and
519 <rounding-mode.h>.
520 (__printf_fphex): Determine rounding using get_rounding_mode and
521 round_away.
522 * stdio-common/tst-printf-round.c (struct hex_test): New
523 structure.
524 (hex_tests): New variable.
525 (test_hex_in_one_mode): New function.
526 (do_test): Also run tests for hex float output.
527
43153109
JM
5282012-09-21 Joseph Myers <joseph@codesourcery.com>
529
530 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
531 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
532 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
533 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
534 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
535 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
536 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
537 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
538
8a26625d
JM
5392012-09-20 Joseph Myers <joseph@codesourcery.com>
540
541 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
542 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
543 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
544 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
545
f3fd569c
DL
5462012-09-19 Dmitry V. Levin <ldv@altlinux.org>
547
548 [BZ #14579]
549 * elf/rtld.c (dl_main): Limit the check for self loading to normal
550 mode only.
551 * elf/tst-rtld-load-self.sh: New test.
552 * elf/Makefile: Run it.
553
63bbedd4
JM
5542012-09-18 Joseph Myers <joseph@codesourcery.com>
555
556 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
557 (tst-writev-ENV): Remove.
558 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
559
626f8b6a
CM
5602012-09-17 Chris Metcalf <cmetcalf@tilera.com>
561
562 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
563
b7aaa4d6
JM
5642012-09-17 Joseph Myers <joseph@codesourcery.com>
565
566 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
567 unconditional.
568 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
569 Likewise.
570 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
571 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
572 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
573 Likewise.
574
65513990
L
5752012-09-14 H.J. Lu <hongjiu.lu@intel.com>
576
577 [BZ #14587]
578 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
579 * config.make.in (have-cpp-asm-debuginfo): Removed.
580 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
581 * configure: Regenerated.
582
784761be
JM
5832012-09-14 Joseph Myers <joseph@codesourcery.com>
584
585 [BZ #5044]
586 * stdio-common/printf_fp.c: Include <stdbool.h> and
587 <rounding-mode.h>.
588 (___printf_fp): Determine rounding using get_rounding_mode and
589 round_away.
590 * stdio-common/tst-printf-round.c: New file.
591 * stdio-common/Makefile (tests): Add tst-printf-round.
592 (link-libm): New variable.
593 ($(objpfx)tst-printf-round): Depend in $(link-libm).
594
9503345f
L
5952012-09-13 H.J. Lu <hongjiu.lu@intel.com>
596
597 [BZ #14576]
598 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
599 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
600 Likewise.
601 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
602 Likewise.
603
ad35fc00
JM
6042012-09-13 Joseph Myers <joseph@codesourcery.com>
605
606 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
607 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
608 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
609 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
610
6c9b0f68
JM
6112012-09-12 Joseph Myers <joseph@codesourcery.com>
612
613 [BZ #14518]
614 * include/rounding-mode.h: New file.
615 * sysdeps/generic/get-rounding-mode.h: Likewise.
616 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
617 * stdlib/strtod_l.c: Include <rounding-mode.h>.
618 (MAX_VALUE): New macro.
619 (MIN_VALUE): Likewise.
620 (overflow_value): New function.
621 (underflow_value): Likewise.
622 (round_and_return): Use overflow_value and underflow_value to
623 determine return values in overflow and underflow cases. Use
624 round_away to determine rounding depending on rounding mode.
625 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
626 determine return values in overflow and underflow cases.
627 * stdlib/tst-strtod-round.c: Include <fenv.h>.
628 (struct test_results): New structure.
629 (struct test): Use struct test_results to store expected results
630 for all rounding modes.
631 (TEST): Include expected results for all rounding modes.
632 (test_in_one_mode): New function.
633 (do_test): Use test_in_one_mode to compute and check results.
634 Check results for all rounding modes.
635 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
636 $(link-libm).
637
19fcedd5
AM
6382012-12-09 Allan McRae <allan@archlinux.org>
639
640 * sysdeps/i386/fpu/libm-test-ulps: Update
641
8bbfd2f1
JM
6422012-09-11 Joseph Myers <joseph@codesourcery.com>
643
644 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
645 (_G_int32_t): Likewise.
646 (_G_uint16_t): Likewise.
647 (_G_uint32_t): Likewise.
648 (_G_HAVE_BOOL): Likewise.
649 (_G_HAVE_ATEXIT): Likewise.
650 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
651 (_G_HAVE_IO_FILE_OPEN): Likewise.
652 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
653 (_G_int32_t): Likewise.
654 (_G_uint16_t): Likewise.
655 (_G_uint32_t): Likewise.
656 (_G_HAVE_BOOL): Likewise.
657 (_G_HAVE_ATEXIT): Likewise.
658 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
659 (_G_HAVE_IO_FILE_OPEN): Likewise.
660 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
661 (_G_int32_t): Likewise.
662 (_G_uint16_t): Likewise.
663 (_G_uint32_t): Likewise.
664 (_G_HAVE_BOOL): Likewise.
665 (_G_HAVE_ATEXIT): Likewise.
666 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
667 (_G_HAVE_IO_FILE_OPEN): Likewise.
668
b1dc5912
L
6692012-09-11 H.J. Lu <hongjiu.lu@intel.com>
670
671 * csu/libc-tls.c: Update copyright years.
672
0e886ef9
JM
6732012-09-10 Joseph Myers <joseph@codesourcery.com>
674
28361c5e
JM
675 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
676 [!_G_USING_THUNKS]: Remove conditional code.
677 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
678 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
679
0e886ef9
JM
680 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
681 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
682 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
683 (_G_VTABLE_LABEL_PREFIX): Likewise.
684 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
685 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
686 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
687 (_G_VTABLE_LABEL_PREFIX): Likewise.
688 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
689 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
690 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
691 (_G_VTABLE_LABEL_PREFIX): Likewise.
692 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
693
bcba7aa2
L
6942012-09-10 H.J. Lu <hongjiu.lu@intel.com>
695
696 * libio/Makefile: Include ../Makeconfig before tests.
697 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
698 only if $(build-shared) is yes.
699
06585ee8
L
700 * iconv/gconv_db.c: Update copyright years.
701
80ccd52c
LD
7022012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
703
704 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
705 unwind info if defined PIC. Fix special cases description.
706 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
707
708 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
709 DP_HI_MASK entry.
710 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
711
691bc9c1
L
7122012-09-07 H.J. Lu <hongjiu.lu@intel.com>
713
3d9b46b3
L
714 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
715
de2139a9
L
716 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
717 is NULL.
718
5ca78dd0
L
719 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
720 (LDLIBS-tst-chk4): This.
721 (LDFLAGS-tst-chk5): Renamed to ...
722 (LDLIBS-tst-chk5): This.
723 (LDFLAGS-tst-chk6): Renamed to ...
724 (LDLIBS-tst-chk6): This.
725 (LDFLAGS-tst-lfschk4): Renamed to ...
726 (LDLIBS-tst-lfschk4): This.
727 (LDFLAGS-tst-lfschk5): Renamed to ...
728 (LDLIBS-tst-lfschk5): This.
729 (LDFLAGS-tst-lfschk6): Renamed to ...
730 (LDLIBS-tst-lfschk6): This.
731
691bc9c1
L
732 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
733 on $(common-objpfx)soversions.mk.
734
65cafb1c
JM
7352012-09-07 Joseph Myers <joseph@codesourcery.com>
736
737 [BZ #10014]
738 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
739 example host name.
740
c78ab094
SP
7412012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
742
743 * malloc/arena.c (arena_get_retry): New function that gets
744 another arena for the caller to try its request on.
745 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
746 current arena cannot fulfill the request.
747 (__libc_memalign): Likewise.
748 (__libc_memalign): Likewise.
749 (__libc_pvalloc): Likewise.
750 (__libc_calloc): Likewise.
751
01f49f59
JT
7522012-09-05 John Tobey <john.tobey@gmail.com>
753
754 [BZ #13542]
755 * manual/arith.texi (Operations on Complex): Fix description
756 of carg branch cut.
757
4c23fed5
JM
7582012-09-06 Joseph Myers <joseph@codesourcery.com>
759
1d3c8572
JM
760 [BZ #10014]
761 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
762 host name.
763
4c23fed5
JM
764 [BZ #10038]
765 * manual/memory.texi (Memory): Make order of menu items match
766 order of sections.
767
04570aaa
L
7682012-09-06 H.J. Lu <hongjiu.lu@intel.com>
769
770 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
771 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
772 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
773
b80af2f4
L
7742012-09-06 H.J. Lu <hongjiu.lu@intel.com>
775
776 * csu/libc-tls.c (static_dtv): Renamed to ...
777 (_dl_static_dtv): This. Make it global.
778 (_dl_initial_dtv): Removed.
779 (__libc_setup_tls): Updated.
780 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
781 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
782 DL_INITIAL_DTV.
783
2abe9f15
PM
7842012-09-06 Petr Machata <pmachata@redhat.com>
785
786 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
787 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
788 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
789 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
790
0948c3af
L
7912012-09-06 H.J. Lu <hongjiu.lu@intel.com>
792
793 [BZ #14545]
794 * csu/libc-tls.c (_dl_initial_dtv): New variable.
795 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
796 freeing dtv[-1].
797
a5055ad1
L
7982012-09-06 H.J. Lu <hongjiu.lu@intel.com>
799
800 [BZ #14544]
801 * Makeconfig (link-static-before-libc): Replace $(+prector)
802 with $(+prectorT).
803 (link-static-after-libc): Replace $(+postctor) with
804 $(+postctorT).
805 (link-bounded): Replace $(+prector)/$(+postctor) with
806 $(+prectorT)/$(+postctorT).
807 (+prectorT): New macro.
808 (+postctorT): Likewise.
809
ed8c2ecd
JM
8102012-09-06 Joseph Myers <joseph@codesourcery.com>
811
812 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
813 (round_str): Handle values above the maximum for IBM long double
814 as inexact.
815 * stdlib/tst-strtod-round.c (tests): Regenerated.
816
14c996c8
AK
8172012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
818
819 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
820 assembler flag.
821 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
822 zarch_nohighgprs around the zarch optimized routines.
823 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
824 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
825 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
826 for zarch.
827
430d6ce6
DM
8282012-09-05 David S. Miller <davem@davemloft.net>
829
830 * sysdeps/sparc/fpu/libm-test-ulps: Update.
831
ff04dda4
DM
832 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
833 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
834 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
835 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
836 entries.
837
24d4e01b
AO
8382012-09-05 Alexandre Oliva <aoliva@redhat.com>
839
840 * malloc/arena.c: Fold copyright years.
841 * malloc/mcheck.c, malloc/memusage.c: Likewise.
842
61d58174
AO
8432012-09-05 Alexandre Oliva <aoliva@redhat.com>
844
845 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
846
20196a5e
AO
8472012-09-05 Alexandre Oliva <aoliva@redhat.com>
848
849 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
850
5c447383
AO
8512012-09-05 Alexandre Oliva <aoliva@redhat.com>
852
853 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
854 change internal state upon failure.
855
fad64255
AO
8562012-09-05 Alexandre Oliva <aoliva@redhat.com>
857
858 * malloc/mcheck.c (mcheck_check_all): Fix typo.
859 * malloc/memusage.c (mmap): Likewise.
860 (mmap64, mremap): Likewise. Adjust name in comment.
861
1ffb8c90
SP
8622012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
863
864 * libio/fileops.c: Fix typos in comments.
865 * libio/oldfileops.c: Likewise.
866 * libio/wfileops.c: Likewise.
867
6ef9cc37
SP
8682012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
869
870 [BZ #1349]
871 * malloc/Makefile (tests): Add tst-malloc-usable test case.
872 (tst-malloc-usable-ENV): Set environment for test case.
873 * malloc/hooks.c (malloc_check_get_size): New function to get
874 requested size.
875 * malloc/malloc.c (musable): Use malloc_check_get_size.
876 * malloc/tst-malloc-usable.c: New test case.
877
4d038ae3
AS
8782012-09-05 Andreas Schwab <schwab@linux-m68k.org>
879
880 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
881
c4e85184
AM
8822012-09-05 Allan McRae <allan@archlinux.org>
883
b9dafc56 884 [BZ #13966]
c4e85184
AM
885 * configure.in (CXX_SYSINCLUDES): Use compiler output to
886 determine header location.
887 * configure: Regenerated.
888
e1343020
AS
8892012-09-05 Andreas Schwab <schwab@linux-m68k.org>
890
891 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
892 float format.
893 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
894 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
895 format.
e1343020
AS
896 (test): Regenerate.
897
0a9f1987
DM
8982012-09-04 David S. Miller <davem@davemloft.net>
899
900 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
901 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
902 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
903
29237804
FW
9042012-09-04 Florian Weimer <fweimer@redhat.com>
905
906 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
907 failures.
908
edb3cb88
FW
909 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
910
60160d83
JM
9112012-09-04 Joseph Myers <joseph@codesourcery.com>
912
913 [BZ #9914]
914 * libio/iogetdelim.c: Include <limits.h>.
915 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
916 + len + 1 would overflow.
917
bcd6c8dc
AJ
9182012-09-03 Andreas Jaeger <aj@suse.de>
919
920 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
921 * sysdeps/i386/fpu/libm-test-ulps: Update.
922
4ffffbd2
LD
9232012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
924
925 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
926 Add s_sinf-sse2, s_conf-sse2.
927
928 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
929 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
930 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
931 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
932
933 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
934 for using routine as __sinf_ia32.
935 Use macro for function declaration and weak_alias.
936 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
937 for using routine as __cosf_ia32.
938 Use macro for function declaration and weak_alias.
939
940 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
941 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
942
943 * sysdeps/x86_64/fpu/s_sinf.S: New file.
944 * sysdeps/x86_64/fpu/s_cosf.S: New file.
945 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
946
947 * math/libm-test.inc (cos_test): Add more test cases.
948 (sin_test): Likewise.
949 (sincos_test): Likewise.
950
511fa286
AK
9512012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
952
953 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
954 (IFUNC_RESOLVE): Make pointers to the specialized implementations
955 hidden.
956 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
957
5f30cfec
L
9582012-09-02 H.J. Lu <hongjiu.lu@intel.com>
959
960 [BZ #14538]
961 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
962 first element of the GOT.
963 (elf_machine_load_address): Return the difference between
964 the runtime address of _DYNAMIC and elf_machine_dynamic ().
965
0786794f
AM
9662012-09-01 Allan McRae <allan@archlinux.org>
967
5f30cfec
L
968 [BZ #13412]
969 * configure.in (AWK): Require gawk version 3.0 or later.
970 * configure: Regenerated.
0786794f 971
26889eac
JM
9722012-09-01 Joseph Myers <joseph@codesourcery.com>
973
974 * sysdeps/unix/sysv/linux/kernel-features.h
975 (__ASSUME_POSIX_CPU_TIMERS): Remove.
976 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
977 [__NR_clock_getres]: Make code unconditional.
978 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
979 (clock_getcpuclockid): Remove code left unreachable by removal of
980 conditionals.
981 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
982 code unconditional.
983 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
984 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
985 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
986 Make code unconditional.
987 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
988 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
989 * sysdeps/unix/sysv/linux/clock_settime.c
990 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
991 conditional code.
992 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
993 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
994
d22e28b0
L
9952012-08-29 H.J. Lu <hongjiu.lu@intel.com>
996
997 [BZ #14476]
998 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
999 scripts/test-installation.pl.
1000
1001 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
1002 and $ld_so_version if it is set.
1003
050af9c4
SP
10042012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1005
1006 [BZ #14516]
1007 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
1008 failure if reading from procfs failed.
1009 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
1010
ad845c0b
JM
10112012-08-27 Joseph Myers <joseph@codesourcery.com>
1012
1013 * sysdeps/unix/sysv/linux/kernel-features.h
1014 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
1015 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1016 Remove conditional code.
1017 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1018 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
1019 Remove conditional code.
1020 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1021 * sysdeps/unix/sysv/linux/i386/fxstat.c
1022 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1023 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1024 * sysdeps/unix/sysv/linux/i386/fxstatat.c
1025 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1026 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1027 * sysdeps/unix/sysv/linux/i386/lxstat.c
1028 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1029 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1030 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
1031 Remove conditional code.
1032 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1033 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1034 Remove conditional code.
1035 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1036 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
1037 <kernel-features.h>.
1038 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
1039 Remove.
1040 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
1041 Remove conditional code.
1042 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1043 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
1044 Remove conditional.
1045
5dbf56af
MF
10462012-08-27 Mike Frysinger <vapier@gentoo.org>
1047
1048 [BZ #5400]
1049 * NEWS: Add fixed bug number.
1050
d6e70f43
JM
10512012-08-27 Joseph Myers <joseph@codesourcery.com>
1052
7efb4737
JM
1053 [BZ #14519]
1054 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
1055 underflowing exponent in case of negative sign.
1056 * stdlib/tst-strtod-round-data: Add more tests.
1057 * stdlib/tst-strtod-round.c (tests): Regenerated.
1058
af92131a
JM
1059 [BZ #3479]
1060 * stdlib/strtod_l.c (NDIG): Remove.
1061 (HEXNDIG): Likewise.
1062 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
1063 smallest representable value.
1064 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
1065 lie within an exact representation of 1/2 ulp of the result.
1066 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
1067 unconditionally.
1068 (TENS_P9_IDX): Define unconditionally.
1069 (TENS_P9_SIZE): Likewise.
1070 (TENS_P10_IDX): Likewise.
1071 (TENS_P10_SIZE): Likewise.
1072 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
1073 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
1074 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
1075 entries for 10^2^13 and 10^2^14.
1076 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
1077 (TENS_P13_IDX): Define.
1078 (TENS_P13_SIZE): Likewise.
1079 (TENS_P14_IDX): Likewise.
1080 (TENS_P14_SIZE): Likewise.
1081 (_fpioconst_pow10): Change array size to
1082 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
1083 unconditional.
1084 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
1085 1024]: Add entries for 10^2^13 and 10^2^14.
1086 [LAST_POW10 > _LAST_POW10]: Remove #error.
1087 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
1088 (_fpioconst_pow10): Change array size to
1089 FPIOCONST_POW10_ARRAY_SIZE.
1090 * stdlib/gen-fpioconst.c: New file.
1091 * stdlib/gen-tst-strtod-round.c: Likewise.
1092 * stdlib/tst-strtod-round-data: Likewise.
1093 * stdlib/tst-strtod-round.c: Likewise.
1094 * stdlib/Makefile (tests): Add tst-strtod-round.
1095
d6e70f43
JM
1096 [BZ #14459]
1097 * stdlib/strtod_l.c: Include <stdint.h>.
1098 (NDEBUG): Do not define.
1099 (round_and_return): Change EXPONENT parameter to type intmax_t.
1100 Rearrange calculations to avoid internal overflow possibilities.
1101 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
1102 Rearrange calculations to avoid internal overflow possibilities.
1103 Assert that number fits inside MPNSIZE limbs.
1104 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
1105 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
1106 calculations and add assertions to avoid internal overflow
1107 possibilities. Add casts to avoid signed/unsigned operations.
1108 * stdlib/tst-strtod-overflow.c: New file.
1109 * stdlib/Makefile (tests): Add tst-strtod-overflow.
1110
1f529f7d
MP
11112012-08-25 Marek Polacek <polacek@redhat.com>
1112
1113 * time/time.h: Fix some typos in comments.
1114
59a629f1
RM
11152012-08-23 Roland McGrath <roland@hack.frob.com>
1116
1117 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
1118 * posix/tst-rfc3484-2.c: Likewise.
1119 * posix/tst-rfc3484-3.c: Likewise.
1120
d3bafbc9
SM
11212012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
1122
1123 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
1124 (EF_ARM_ABI_FLOAT_HARD): Likewise.
1125
4efcc022
JM
11262012-08-23 Joseph Myers <joseph@codesourcery.com>
1127
1128 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
1129 #include of fxstatat64.c.
1130
3cc3ef96
RM
11312012-08-22 Roland McGrath <roland@hack.frob.com>
1132
f04e2132
RM
1133 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
1134 * shadow/getspent_r.c: Likewise.
1135 * shadow/getspnam.c: Likewise.
1136 * shadow/getspnam_r.c: Likewise.
1137 * gshadow/getsgent.c: Likewise.
1138 * gshadow/getsgent_r.c: Likewise.
1139 * gshadow/getsgnam.c: Likewise.
1140 * gshadow/getsgnam_r.c: Likewise.
1141 * inet/getnetbyad.c: Likewise.
1142 * inet/getnetbyad_r.c: Likewise.
1143 * inet/getnetbynm.c: Likewise.
1144 * inet/getnetbynm_r.c: Likewise.
1145 * inet/getnetent.c: Likewise.
1146 * inet/getnetent_r.c: Likewise.
1147 * inet/getproto.c: Likewise.
1148 * inet/getproto_r.c: Likewise.
1149 * inet/getprtent.c: Likewise.
1150 * inet/getprtent_r.c: Likewise.
1151 * inet/getprtname.c: Likewise.
1152 * inet/getprtname_r.c: Likewise.
1153 * inet/getrpcbyname.c: Likewise.
1154 * inet/getrpcbyname_r.c: Likewise.
1155 * inet/getrpcbynumber.c: Likewise.
1156 * inet/getrpcbynumber_r.c: Likewise.
1157 * inet/getrpcent.c: Likewise.
1158 * inet/getrpcent_r.c: Likewise.
1159 * inet/getaliasent.c: Likewise.
1160 * inet/getaliasent_r.c: Likewise.
1161 * inet/getaliasname.c: Likewise.
1162 * inet/getaliasname_r.c: Likewise.
1163 * nscd/getgrgid_r.c: Likewise.
1164 * nscd/getgrnam_r.c: Likewise.
1165 * nscd/gethstbyad_r.c: Likewise.
1166 * nscd/gethstbynm3_r.c: Likewise.
1167 * nscd/getpwnam_r.c: Likewise.
1168 * nscd/getpwuid_r.c: Likewise.
1169 * nscd/getsrvbynm_r.c: Likewise.
1170 * nscd/getsrvbypt_r.c: Likewise.
1171 * nscd/gai.c: Likewise.
1172
c53d909c
RM
1173 * configure.in (build_nscd): New substituted variable, set
1174 by --disable-build-nscd and defaults to $use_nscd.
1175 * configure: Regenerated.
1176 * config.make.in (build-nscd): New substituted variable.
1177 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
1178 Change conditional to require [$(build-nscd) = yes] as well.
1179 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
1180
3cc3ef96
RM
1181 [BZ# 13696]
1182 * configure.in (use_nscd): New substituted variable, set by
1183 --disable-nscd. If enabled, define USE_NSCD.
1184 * configure: Regenerated.
1185 * config.h.in: Add USE_NSCD.
1186 * config.make.in (use-nscd): New substituted variable.
1187 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
1188 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
1189 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
1190 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
1191 (CFLAGS-getgrnam_r.c): Likewise.
1192 (CFLAGS-initgroups.c): Likewise.
1193 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
1194 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
1195 Variables removed.
1196 * inet/getnetgrent_r.c
1197 (nscd_setnetgrent): New function, broken out of ...
1198 (setnetgrent): ... here. Call it.
1199 (innetgr): Conditionalize nscd bits on [USE_NSCD].
1200 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
1201 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
1202 * nscd/Makefile (routines, aux): Move definitions after include of
1203 Makeconfig. Conditionalize on [$(use-nscd) != no].
1204 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
1205 Conditionalize on [USE_NSCD].
1206 (is_nscd, nscd_init_cb): Likewise.
1207 (nss_load_library): Conditionalize init callback on [USE_NSCD].
1208 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
1209 * nss/nss_db/db-init.c: Likewise.
1210 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
1211 [USE_NSCD].
1212 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
1213 (make_request): Use it.
1214 (cache_valid_p): New function.
1215 (__check_pf): Use it.
1216 * NEWS: Add item for --disable-nscd.
1217
07e51550
DL
12182012-08-22 Dmitry V. Levin <ldv@altlinux.org>
1219
1220 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
1221 to support sed >= 4.2.1-20-ga9bf076.
1222 * configure: Regenerated.
1223
35a5b08b
RM
12242012-08-22 Roland McGrath <roland@hack.frob.com>
1225
1226 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
1227 Conditionalize whole body on [IREL].
1228
8479f23a
JL
12292012-08-22 Jeff Law <law@redhat.com>
1230
1231 [BZ #14505]
1232 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
1233 if the family is PF_UNSPEC.
1234
48da0b21
MF
12352012-08-22 Mike Frysinger <vapier@gentoo.org>
1236
1237 * Makerules (lib-version): Rename from V.
1238 (install-lib-nosubdir): Change V to lib-version.
1239
15d0da8c
WS
12402012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
1241
1242 [BZ #14252]
1243 * powerpc32/power6/wcschr.c: New file.
1244 * powerpc32/power6/wcscpy.c: New file.
1245 * powerpc32/power6/wcsrchr.c: New file.
1246 * powerpc64/power6/wcschr.c: New file.
1247 * powerpc64/power6/wcscpy.c: New file.
1248 * powerpc64/power6/wcsrchr.c: New file.
1249
bcca0895
MK
12502012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1251
1252 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
1253 (two_way_short_needle): Use it.
5a4aaa33
RM
1254 * string/strstr.c (AVAILABLE1_USES_J): Define.
1255 * string/strcasestr.c: Likewise.
99677e57
MK
1256
1257 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
1258 array references.
1259 * string/strcasestr.c (TOLOWER): Make side-effect safe.
1260
400726de
MK
1261 [BZ #11607]
1262 * NEWS: Add an entry.
1263 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
1264 define their defaults.
1265 (two_way_short_needle): Detect end-of-string on-the-fly.
1266 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
1267 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
1268 * string/bug-strcasestr1.c: New test.
1269 * string/Makefile: Run it.
1270
20a71f2c
MK
12712012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1272
1273 [BZ #11607]
1274 * string/str-two-way.h (two_way_short_needle): Optimize matching of
1275 the first character.
1276
21ad0558
RM
12772012-08-21 Roland McGrath <roland@hack.frob.com>
1278
1279 * csu/elf-init.c (__libc_csu_irel): Function removed.
1280 * csu/libc-start.c (apply_irel): New function.
1281 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
1282
0e1d9911
JM
12832012-08-21 Joseph Myers <joseph@codesourcery.com>
1284
1285 * sysdeps/unix/sysv/linux/kernel-features.h
1286 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
1287 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1288 <kernel-features.h>.
1289 [__NR_fadvise64_64]: Make code unconditional.
1290 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
1291 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1292 !__NR_fadvise64_64)]: Likewise.
1293 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1294 !__NR_fadvise64_64))]: Likewise.
1295 [__NR_fadvise64]: Make code unconditional.
1296 [!__NR_fadvise64]: Remove conditional code.
1297 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
1298 <kernel-features.h>.
1299 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1300 unconditional.
1301 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1302 conditional code.
1303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
1304 not include <kernel-features.h>.
1305 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1306 unconditional.
1307 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1308 conditional code.
1309 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
1310 include <kernel-features.h>.
1311 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1312 unconditional.
1313 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1314 conditional code.
1315
14a50c9d
WS
13162012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
1317
1318 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
1319 slight instruction rearrangements per scrollpipe analysis.
1320 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1321
c0f4faf0
RM
13222012-08-20 Roland McGrath <roland@hack.frob.com>
1323
696da859
RM
1324 * manual/syslog.texi (syslog; vsyslog, closelog):
1325 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
1326 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
1327
c0f4faf0
RM
1328 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
1329 DSOCAPS to match condition on defining it.
1330
348363b2
JM
13312012-08-20 Joseph Myers <joseph@codesourcery.com>
1332
a35cbf28
JM
1333 * sysdeps/unix/sysv/linux/kernel-features.h
1334 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
1335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
1336 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1337 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
1339 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1340 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
1342 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1343 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1344
445f7ecd
JM
1345 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
1346 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
1347
348363b2
JM
1348 * sysdeps/unix/sysv/linux/kernel-features.h
1349 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
1350 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
1351 unconditional.
1352 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1353 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
1354 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1355 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1356 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
1357 Make code unconditional.
1358 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1359 (__mmap64) [!__NR_mmap2]: Likewise.
1360 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
1361 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1362 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1363 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
1364 [__NR_mmap2]: Make code unconditional.
1365 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1366 (__mmap64) [!__NR_mmap2]: Likewise.
1367
bc5bc0e5
AK
13682012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1369
1370 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
1371
88d506de
AJ
13722012-08-18 Andreas Jaeger <aj@suse.de>
1373
1374 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
1375
493387d2
MF
13762012-08-18 Mike Frysinger <vapier@gentoo.org>
1377
1378 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
1379 * include/unistd.h (__have_sock_cloexec): Likewise.
1380 (__have_pipe2): Likewise.
1381 (__have_dup3): Likewise.
1382
a277af22
MF
13832012-08-18 Mike Frysinger <vapier@gentoo.org>
1384
1385 [BZ #9685]
1386 * include/unistd.h (__have_pipe2): Change define into an extern int.
1387 (__have_dup3): Likewise.
1388 * socket/have_sock_cloexec.c: Include fcntl.h.
1389 (__have_pipe2): New variable.
1390 (__have_dup3): Likewise.
1391
fdab8fd3
MF
13922012-08-17 Mike Frysinger <vapier@gentoo.org>
1393
1394 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
1395
31035e80
MP
13962012-08-17 Marek Polacek <polacek@redhat.com>
1397
1398 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
1399 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
1400
3bd9e993
RM
14012012-08-17 Roland McGrath <roland@hack.frob.com>
1402
c91c505f
RM
1403 * configure.in: Add AC_SUBST for sysheaders.
1404 * configure: Regenerated.
1405 * config.make.in (sysheaders): New substituted variable.
1406
7c6f9d53
RM
1407 * sysdeps/unix/mkfifo.c: Moved ...
1408 * sysdeps/posix/mkfifo.c: ... here.
1409 * sysdeps/unix/mkfifoat.c: Moved ...
1410 * sysdeps/posix/mkfifoat.c: ... here.
1411
1412 * sysdeps/unix/utime.c: Moved ...
1413 * sysdeps/posix/utime.c: ... here.
1414
1415 * sysdeps/unix/time.c: Moved ...
1416 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
1417 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
1418 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
1419
1420 * sysdeps/unix/nice.c: Moved ...
1421 * sysdeps/posix/nice.c: ... here.
1422
1423 * sysdeps/unix/alarm.c: Moved ...
1424 * sysdeps/posix/alarm.c: ... here.
1425
3bd9e993
RM
1426 * intl/Makefile ($(codeset_mo)): Depend on the input file.
1427
d1f09384
JL
14282012-08-17 Jeff Law <law@redhat.com>
1429
1430 * intl/Makefile (codeset_mo): New variable.
1431 ($(codeset_mo)): New target.
1432 (tst-codeset.out): Depend on that. Remove explicit rule.
1433 (tst-gettext3.out, tst-gettext5.out): Likewise.
1434 (LOCPATH-ENV, tst-codeset-ENV): New variables.
1435 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
1436 * intl/tst-codeset.sh: Remove.
1437 * intl/tst-gettext3.sh: Likewise.
1438 * intl/tst-gettext5.sh: Likewise.
1439
2ae1ae5c
RM
14402012-08-17 Roland McGrath <roland@hack.frob.com>
1441
c31fdb83
RM
1442 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
1443 * sysdeps/unix/syscalls.list: ... here.
1444
a0844057
RM
1445 * sysdeps/posix/getaddrinfo.c
1446 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
1447 (gaiconf_init, gaiconf_reload): Use them.
1448 [!_STATBUF_ST_NSEC]
1449 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
1450 Define using time_t rather than struct timespec.
1451
750c1f2a
RM
1452 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
1453 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
1454 Macros removed.
1455 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
1456 [!NO_THREADS].
1457 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
1458 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
1459 Likewise.
1460
2ae1ae5c
RM
1461 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
1462 __libc_cleanup_push argument.
1463
e66a42f5
RM
1464 * bits/param.h: New file.
1465 * misc/sys/param.h: New file.
1466 * include/sys/param.h: New file.
1467 * misc/Makefile (headers): Add bits/param.h.
1468 * sysdeps/generic/sys/param.h: File removed.
1469 * sysdeps/unix/sysv/linux/bits/param.h: New file.
1470 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
1471 * sysdeps/mach/hurd/bits/param.h: New file.
1472 * sysdeps/mach/hurd/sys/param.h: New file.
1473
b7c08a66
RM
1474 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
1475 last change.
1476
b2e1c562
RM
1477 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
1478 [_IO_MTSAFE_IO].
1479 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
1480 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
1481 New macros.
1482
c75ccd4c
RM
1483 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
1484 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
1485 rather than -D_IO_MTSAFE_IO conditionally.
1486 * stdio-common/Makefile (CPPFLAGS): Likewise.
1487 * wcsmbs/Makefile (CPPFLAGS): Likewise.
1488 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
1489 Use $(libio-mtsafe).
1490 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
1491 of -D_IO_MTSAFE_IO.
1492 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
1493 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
1494 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
1495 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
1496 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
1497 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
1498 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
1499 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
1500 (CFLAGS-fread_u_chk.c): Likewise.
1501 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
1502 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
1503 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
1504 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
1505 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
1506 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
1507 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
1508 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
1509 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
1510
1511 * libio/Makefile: Test [$(libc-reentrant) = yes]
1512 instead of [$(filter %REENTRANT, $(defines)) nonempty].
1513
1514 * Makeconfig
1515 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
1516 * sysdeps/pthread/configure: File removed.
1517 * sysdeps/pthread/Makeconfig: New file.
1518 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
1519 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
1520
d9195db8
GB
15212012-08-16 Gary Benson <gbenson@redhat.com>
1522
1523 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
1524 unmapping the first object in a namespace.
1525
86466cd9
RM
15262012-08-16 Roland McGrath <roland@hack.frob.com>
1527
1528 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
1529 (__internal_setnetgrent): ... this. Add internal_function to
1530 definition. Add libc_hidden_def.
1531 (setnetgrent): Update caller.
1532 (internal_endnetgrent): Renamed to ...
1533 (__internal_endnetgrent): ... this. Add internal_function to
1534 definition. Add libc_hidden_def.
1535 (endnetgrent): Update caller.
1536 (internal_getnetgrent_r): Renamed to ...
1537 (__internal_getnetgrent_r): ... this. Add internal_function to
1538 definition. Add libc_hidden_def.
1539 (__getnetgrent_r): Update caller.
1540 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
1541
c3c8283c
JM
15422012-08-16 Joseph Myers <joseph@codesourcery.com>
1543
1544 * stdlib/longlong.h: Update from GCC.
1545
db1ee0a8
RM
15462012-08-16 Roland McGrath <roland@hack.frob.com>
1547
1548 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
1549 on _QL, which is set by umul_ppmm but never used.
1550 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
1551 variables, which are set by GMP macros but never used.
1552 * stdio-common/_itowa.c (_itowa): Likewise.
1553 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
1554 * stdlib/mod_1.c (mpn_mod_1): Likewise.
1555
30f69637
CD
15562012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
1557
1558 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
1559 struct La_sh_regs is not constant.
1560 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
1561 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
1562 and struct La_sparc64_regs are not constant.
1563
93a78ac4
JM
15642012-08-16 Joseph Myers <joseph@codesourcery.com>
1565
1566 * sysdeps/unix/sysv/linux/kernel-features.h
1567 (__ASSUME_POSIX_TIMERS): Remove.
1568 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1569 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1570 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
1571 Make code unconditional.
1572 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1573 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
1574 Make code unconditional.
1575 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1576 * sysdeps/unix/sysv/linux/clock_nanosleep.c
1577 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
1578 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1579 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
1580 Make code unconditional.
1581 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1582 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
1583 (__libc_missing_posix_timers): Remove.
1584
dd924cd7
RM
15852012-08-15 Roland McGrath <roland@hack.frob.com>
1586
4b4f2771
RM
1587 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
1588 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
1589
601c888b
RM
1590 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
1591
176790a7
RM
1592 * elf/dl-sym.c: Include <stdlib.h>.
1593
329bc018
RM
1594 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
1595 constants, which avoids warnings in 32-bit builds.
1596
e04e272d
RM
1597 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
1598 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
1599
952bf94a
RM
1600 * misc/lseek.c: File moved to ...
1601 * io/lseek.c: ... here.
1602
7c99b50a
RM
1603 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
1604
dd924cd7
RM
1605 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
1606 shifting LEN more than 31 bits at once.
1607
b3f479a8
LD
16082012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1609
1610 [BZ #14195]
8c4ae0d4
RM
1611 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
1612 segmentation fault for a case of two empty input strings.
b3f479a8
LD
1613 * string/test-strncasecmp.c (check1): Renamed to...
1614 (bz12205): ...this.
1615 (bz14195): Add new testcase for two empty input strings and N > 0.
1616 (test_main): Call new testcase, adapt for renamed function.
1617
9c55864e
AJ
16182012-08-15 Andreas Jaeger <aj@suse.de>
1619
1620 [BZ #14090]
1621 * crypt/md5test2.c: New test, based on test supplied by Serge
1622 Belyshev <belyshev@depni.sinp.msu.ru>.
1623 * crypt/Makefile (xtests): Add md5test-giant..
1624 * crypt/Makefile ($(objpfx)md5test-giant): Add.
1625
02dcb6c5
PE
16262012-08-15 Paul Eggert <eggert@cs.ucla.edu>
1627
1628 [BZ #14090]
1629 * crypt/md5.c (md5_process_block): Don't assume the buffer
1630 length is less than 2**32.
1631 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
1632 length is less than 2**64.
1633
a3f95dcc
RM
16342012-08-15 Roland McGrath <roland@hack.frob.com>
1635
be75d758
RM
1636 * string/str-two-way.h: Include <sys/param.h>.
1637 (MAX): Macro removed.
1638
7312ca90
RM
1639 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
1640 Move #define and #undef of memmove to just before and after
1641 including <string.h>.
1642
9a0a5486
RM
1643 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
1644 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
1645 and after including <string.h>. Move declarations of
1646 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
1647 to before #include "string/memmove.c".
1648
67cc348d
RM
1649 * include/dirent.h: Declare __getdirentries.
1650
a3f95dcc
RM
1651 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
1652 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
1653
ca98e171
MF
16542012-08-14 Mike Frysinger <vapier@gentoo.org>
1655
1656 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
1657 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
1658 * sysdeps/i386/configure: Regenerated.
1659 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
1660 STABS_CURRENT_FILE, and STABS_FUN.
1661 (END): Remove call to STABS_FUN_END.
1662 (STABS_CURRENT_FILE1): Delete.
1663 (STABS_CURRENT_FILE): Likewise.
1664 (STABS_FUN): Likewise.
1665 (STABS_FUN_END): Likewise.
1666 (STABS_FUN2): Likewise.
1667 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
1668 * sysdeps/x86_64/configure: Regenerated.
1669
5908bf46
RM
16702012-08-14 Roland McGrath <roland@hack.frob.com>
1671
1672 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 1673 * elf/dl-lookup.c: Likewise.
5908bf46 1674
f2c05b9e
JM
16752012-08-14 Joseph Myers <joseph@codesourcery.com>
1676
1677 * sysdeps/unix/sysv/linux/kernel-features.h
1678 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
1679 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
1680 unconditionally.
1681 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
1682 unconditionally.
1683 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
1684 condition on __ASSUME_CLONE_THREAD_FLAGS.
1685
e11f5155
AJ
16862012-08-14 Andreas Jaeger <aj@suse.de>
1687
1688 * sysdeps/i386/fpu/libm-test-ulps: Update.
1689
51a9ba86
MK
16902012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
1691
2fdd4f78
AJ
1692 * include/atomic.h (atomic_exchange_and_add): Split into ...
1693 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
1694 New atomic macros.
51a9ba86 1695
ba6cba9e
MT
16962012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
1697
1698 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1699
42443a47
JL
17002012-08-13 Jeff Law <law@redhat.com>
1701
1702 * manual/stdio.texi (snprintf): Clarify handling of the trailing
1703 null byte in the output string.
1704
121dce05
JM
17052012-08-10 Joseph Myers <joseph@codesourcery.com>
1706
1707 * sysdeps/unix/sysv/linux/kernel-features.h
1708 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
1709 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
1710 (__ASSUME_ARG_MAX_STACK_BASED): Define.
1711 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1712 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
1713 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
1714 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
1715
bf51f568
JL
17162012-08-09 Jeff Law <law@redhat.com>
1717
1718 [BZ #13939]
1719 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
1720 When avoid_arena is set, don't retry in the that arena. Pick the
1721 next one, whatever it might be.
1722 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
1723 (arena_lock): Pass in new parameter to arena_get2.
1724 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
1725 arena_get2.
1726 (__libc_malloc): Unify retrying after main arena failure with
1727 __libc_memalign version.
1728 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
1729
f85fa270
L
17302012-08-09 H.J. Lu <hongjiu.lu@intel.com>
1731
1732 [BZ #14166]
1733 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
1734 to __redirect_strstr.
1735 (__strstr_sse42): Use typeof __redirect_strstr.
1736 (__strstr_ia32): Likewise.
1737 (__libc_strstr): New prototype.
1738 (strstr): Renamed to ...
1739 (__libc_strstr): This.
1740 (strstr): New strong alias of __libc_strstr.
1741 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
1742 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
1743 __redirect_time.
1744 Include <time.h>.
1745 (__libc_time): New prototype.
1746 (time_ifunc): Replace time with __libc_time.
1747 (time): New strong alias and hidden definition of __libc_time.
1748 (__GI_time): Remove strong alias.
1749 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
1750 Include <stddef.h>.
1751 (memmove): Redefined to __redirect_memmove.
1752 (__memmove_sse2): Use typeof __redirect_memmove.
1753 (__memmove_ssse3): Likewise.
1754 (__memmove_ssse3_back): Likewise.
1755 (__libc_memmove): New prototype.
1756 (memmove): Renamed to ...
1757 (__libc_memmove): This.
1758 (memmove): New strong alias of __libc_memmove.
1759
33b4a91e
MS
17602012-08-08 Mark Salter <msalter@redhat.com>
1761
1762 * elf/elf.h
1763 (R_MN10300_TLS_GD): Define.
1764 (R_MN10300_TLS_LD): Likewise.
1765 (R_MN10300_TLS_LDO): Likewise.
1766 (R_MN10300_TLS_GOTIE): Likewise.
1767 (R_MN10300_TLS_IE): Likewise.
1768 (R_MN10300_TLS_LE): Likewise.
1769 (R_MN10300_TLS_DTPMOD): Likewise.
1770 (R_MN10300_TLS_DTPOFF): Likewise.
1771 (R_MN10300_TLS_TPOFF): Likewise.
1772 (R_MN10300_SYM_DIFF): Likewise.
1773 (R_MN10300_ALIGN): Likewise.
1774 (R_MN10300_NUM): Update.
1775
b36137f1
JM
17762012-08-08 Joseph Myers <joseph@codesourcery.com>
1777
1778 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
1779 Remove.
1780
cdd915fd
RM
17812012-08-08 Roland McGrath <roland@hack.frob.com>
1782
a2433aac
RM
1783 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
1784
cdd915fd
RM
1785 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
1786 sysdeps/unix -> sysdeps/posix move.
1787 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1788
bf9b740a
AM
17892012-08-07 Allan McRae <allan@archlinux.org>
1790
1791 [BZ #14303]
1792 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
1793 (SUNOS_CPP): Likewise.
1794 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
1795 not found.
1796 (open_input): Call CPP using execvp.
1797
93df14ee
JM
17982012-08-07 Joseph Myers <joseph@codesourcery.com>
1799
1800 * sysdeps/unix/sysv/linux/kernel-features.h
1801 (__ASSUME_PROT_GROWSUPDOWN): Remove.
1802 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1803 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1804 (__ASSUME_WAITID_SYSCALL): Likewise.
1805 * sysdeps/unix/sysv/linux/dl-execstack.c
1806 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
1807 code unconditional.
1808 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
1809 conditional code.
1810 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
1811 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
1812 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
1813 code.
1814 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
1815 unconditional.
1816 [__ASSUME_WAITID_SYSCALL]: Likewise.
1817 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
1818
d34689de
RM
18192012-08-07 Roland McGrath <roland@hack.frob.com>
1820
a281decc
RM
1821 * sysdeps/unix/closedir.c: Renamed to ...
1822 * sysdeps/posix/closedir.c: ... here.
1823 * sysdeps/unix/dirfd.c: Renamed to ...
1824 * sysdeps/posix/dirfd.c: ... here.
1825 * sysdeps/unix/dirstream.h: Renamed to ...
1826 * sysdeps/posix/dirstream.h: ... here.
1827 * sysdeps/unix/fdopendir.c: Renamed to ...
1828 * sysdeps/posix/fdopendir.c: ... here.
1829 * sysdeps/unix/opendir.c: Renamed to ...
1830 * sysdeps/posix/opendir.c: ... here.
1831 * sysdeps/unix/readdir.c: Renamed to ...
1832 * sysdeps/posix/readdir.c: ... here.
1833 * sysdeps/unix/readdir_r.c: Renamed to ...
1834 * sysdeps/posix/readdir_r.c: ... here.
1835 * sysdeps/unix/rewinddir.c: Renamed to ...
1836 * sysdeps/posix/rewinddir.c: ... here.
1837 * sysdeps/unix/seekdir.c: Renamed to ...
1838 * sysdeps/posix/seekdir.c: ... here.
1839 * sysdeps/unix/telldir.c: Renamed to ...
1840 * sysdeps/posix/telldir.c: ... here.
1841 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
1842 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
1843 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
1844 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
1845
22895b47
RM
1846 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
1847 * bits/fcntl.h: ... here.
1848
707a53b6
RM
1849 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
1850 not 0.
1851 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
1852 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
1853 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
1854 (struct flock): Move l_start, l_len to the beginning.
1855 Use __pid_t for l_pid.
1856 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
1857 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
1858 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
1859 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
1860 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
1861 [__USE_LARGEFILE64] (struct flock64): New type.
1862 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
1863
f0bd3e25
RM
1864 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
1865 * bits/dirent.h: ... here.
1866
d34689de
RM
1867 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
1868 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
1869
6dad2c06
JM
18702012-08-07 Joseph Myers <joseph@codesourcery.com>
1871
1872 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1873 Change from 2.6.0 to 2.6.16.
1874 * sysdeps/unix/sysv/linux/configure: Regenerated.
1875 * sysdeps/unix/sysv/linux/kernel-features.h
1876 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
1877 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
1878 version.
1879 (__ASSUME_UTIMES): Likewise.
1880 (__ASSUME_CLONE_STOPPED): Remove.
1881 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
1882 architectures, not kernel version.
1883 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
1884 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1885 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1886 (__ASSUME_WAITID_SYSCALL): Likewise.
1887 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
1888 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
1889 * README: State 2.6.16 as minimum Linux kernel version. Do not
1890 refer to older versions.
1891
03af9520
RM
18922012-08-06 Roland McGrath <roland@hack.frob.com>
1893
8e49df1d
RM
1894 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
1895 Define alphasort64 as an alias.
1896 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
1897 Define versionsort64 as an alias.
1898 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
1899 Define scandir64 as an alias.
1900 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
1901 Define scandirat64 as an alias.
1902 * dirent/alphasort64.c (alphasort64):
1903 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
1904 * dirent/versionsort64.c: Likewise.
1905 * dirent/scandir64.c: Likewise.
1906 * dirent/scandirat64.c: Likewise.
1907 * sysdeps/wordsize-64/alphasort.c: File removed.
1908 * sysdeps/wordsize-64/alphasort64.c: File removed.
1909 * sysdeps/wordsize-64/scandir.c: File removed.
1910 * sysdeps/wordsize-64/scandir64.c: File removed.
1911 * sysdeps/wordsize-64/scandirat.c: File removed.
1912 * sysdeps/wordsize-64/scandirat64.c: File removed.
1913 * sysdeps/wordsize-64/versionsort.c: File removed.
1914 * sysdeps/wordsize-64/versionsort64.c: File removed.
1915 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
1916 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
1917 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
1918 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
1919 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
1920 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
1921 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
1922 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
1923
1924 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
1925 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1926 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
1927 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1928 [defined __arch64__ || defined __sparcv9]
1929 (__INO_T_MATCHES_INO64_T): New macro.
1930 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1931 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
1932 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
1933 * sysdeps/unix/sysv/linux/bits/dirent.h
1934 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
1935 (_DIRENT_MATCHES_DIRENT64): New macro.
1936
03af9520
RM
1937 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
1938 Define lockf64 as an alias.
1939 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
1940 Define fseeko64 as an alias.
1941 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
1942 Define ftello64 as an alias.
1943 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
1944 Define _IO_fgetpos64 and fgetpos64 as aliases.
1945 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
1946 Define _IO_fsetpos64 and fsetpos64 as aliases.
1947 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
1948 Conditionalize body on this.
1949 * libio/fseeko64.c: Likewise.
1950 * libio/ftello64.c: Likewise.
1951 * libio/iofgetpos64.c: Likewise.
1952 * libio/iofsetpos64.c: Likewise.
1953 * sysdeps/wordsize-64/lockf.c: File removed.
1954 * sysdeps/wordsize-64/lockf64.c: File removed.
1955 * sysdeps/wordsize-64/fseeko.c: File removed.
1956 * sysdeps/wordsize-64/fseeko64.c: File removed.
1957 * sysdeps/wordsize-64/ftello.c: File removed.
1958 * sysdeps/wordsize-64/ftello64.c: File removed.
1959 * sysdeps/wordsize-64/iofgetpos.c: File removed.
1960 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
1961 * sysdeps/wordsize-64/iofsetpos.c: File removed.
1962 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
1963 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
1964 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
1965 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
1966 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
1967 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
1968 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
1969 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
1970 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
1971 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
1972 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
1973
1974 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1975 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1976 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
1977 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1978 [defined __arch64__ || defined __sparcv9]
1979 (__OFF_T_MATCHES_OFF64_T): New macro.
1980 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1981 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1982 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1983 (__OFF_T_MATCHES_OFF64_T): New macro.
1984
c5757acd
L
19852012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1986
1987 * stdlib/secure-getenv.c (__secure_getenv): Replace
1988 GLIBC_2_16 with GLIBC_2_17.
1989
3a31811e
L
19902012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1991
1992 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
1993 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1994
faa2bccb
DM
19952012-08-03 David S. Miller <davem@davemloft.net>
1996
1997 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1998
85fe1997
JM
19992012-08-03 Joseph Myers <joseph@codesourcery.com>
2000
2001 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
2002 Remove.
2003 (__ASSUME_CORRECT_SI_PID): Likewise.
2004 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
2005 (__ASSUME_TMPFS_NAME): Likewise.
2006 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
2007 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
2008 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
2009 (HAVE_AUX_SECURE): Make definition unconditional.
2010 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
2011 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
2012
4f75b7a0
RM
20132012-08-03 Roland McGrath <roland@hack.frob.com>
2014
2015 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
2016 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
2017 * sysdeps/mach/hurd/eloop-threshold.h: New file.
2018 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2019 __eloop_threshold instead of SYMLOOP_MAX.
2020
2021 * sysdeps/generic/eloop-threshold.h: New file.
2022 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
2023 of MAXSYMLINKS.
2024 * elf/chroot_canon.c (chroot_canon): Likewise.
2025
7aab07e4
JM
20262012-08-03 Joseph Myers <joseph@codesourcery.com>
2027
2028 [BZ #13717]
2029 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2030 Change to 2.6.0 everywhere.
2031 * sysdeps/unix/sysv/linux/configure: Regenerated.
2032 * sysdeps/unix/sysv/linux/kernel-features.h
2033 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
2034 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
2035 kernel versions.
2036 (__ASSUME_POSIX_TIMERS): Define unconditionally.
2037 (__ASSUME_FUTEX_REQUEUE): Remove.
2038 (__ASSUME_STATFS64): Define unconditionally.
2039 (__ASSUME_AT_SECURE): Likewise.
2040 (__ASSUME_CORRECT_SI_PID): Likewise.
2041 (__ASSUME_TGKILL): Define without depending on kernel version for
2042 i386.
2043 (__ASSUME_UTIMES): Likewise.
2044 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
2045 kernel version.
2046 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
2047 (__ASSUME_TMPFS_NAME): Likewise.
2048 * README: Update reference to Linux kernel versions.
2049
b67e9372
MP
20502012-08-02 Marek Polacek <polacek@redhat.com>
2051
1f529f7d 2052 [BZ# 14150]
b67e9372
MP
2053 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
2054 libc_cv_asm_type_prefix with %.
2055 * configure: Regenerated.
d2441631
RM
2056 * include/libc-symbols.h: Remove comment about
2057 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
2058 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
2059 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
2060 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
2061 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
2062 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
2063 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
2064 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
2065 * elf/tst-unique2mod1.c: Likewise.
2066 * elf/tst-unique1mod2.c: Likewise.
2067 * elf/tst-unique1mod1.c: Likewise.
2068 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
2069 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
2070 Replace ASM_TYPE_DIRECTIVE with .type.
2071 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2072 * sysdeps/i386/sysdep.h: Likewise.
2073 * sysdeps/x86_64/sysdep.h: Likewise.
2074 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
2075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
2076 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 2077 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
2078 * sysdeps/powerpc/powerpc32/sysdep.h:
2079 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
2080 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2081 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2082 * sysdeps/i386/fpu/e_powf.S: Likewise.
2083 * sysdeps/i386/fpu/e_expl.S: Likewise.
2084 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2085 * sysdeps/i386/fpu/e_acosh.S: Likewise.
2086 * sysdeps/i386/fpu/e_pow.S: Likewise.
2087 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
2088 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2089 * sysdeps/i386/fpu/s_expm1.S: Likewise.
2090 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2091 * sysdeps/i386/fpu/e_log2.S: Likewise.
2092 * sysdeps/i386/fpu/e_log2l.S: Likewise.
2093 * sysdeps/i386/fpu/e_scalb.S: Likewise.
2094 * sysdeps/i386/fpu/e_powl.S: Likewise.
2095 * sysdeps/i386/fpu/e_log10f.S: Likewise.
2096 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
2097 * sysdeps/i386/fpu/e_logl.S: Likewise.
2098 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
2099 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2100 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
2101 * sysdeps/i386/fpu/e_log2f.S: Likewise.
2102 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2103 * sysdeps/i386/fpu/e_log.S: Likewise.
2104 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2105 * sysdeps/i386/fpu/e_logf.S: Likewise.
2106 * sysdeps/i386/fpu/e_log10l.S: Likewise.
2107 * sysdeps/i386/fpu/e_atanh.S: Likewise.
2108 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
2109 * sysdeps/i386/fpu/e_log10.S: Likewise.
2110 * sysdeps/i386/fpu/s_frexp.S: Likewise.
2111 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2112 * sysdeps/i386/fpu/s_asinh.S: Likewise.
2113 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
2114 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2115 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
2116 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
2117 * sysdeps/i386/i686/strtok.S: Likewise.
2118 * sysdeps/i386/i386-mcount.S: Likewise.
2119 * sysdeps/i386/strtok.S: Likewise.
2120 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
2121 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
2122 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2123 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
2124 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2125 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
2126 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
2127 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
2128 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
2129 * sysdeps/x86_64/_mcount.S: Likewise.
2130 * sysdeps/x86_64/strtok.S: Likewise.
2131 * sysdeps/sh/_mcount.S: Likewise.
2132
2747bf9a
RM
21332012-08-01 Roland McGrath <roland@hack.frob.com>
2134
2135 * libio/iofopen.c: Include <fcntl.h>.
2136 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
2137 (_IO_fopen64, fopen64): Define as aliases.
2138 * libio/iofopen64.c: Include <fcntl.h>.
2139 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
2140 Conditionalize body on this.
2141 * sysdeps/wordsize-64/iofopen.c: File removed.
2142 * sysdeps/wordsize-64/iofopen64.c: File removed.
2143
3fb791b8
MP
21442012-08-01 Marek Polacek <polacek@redhat.com>
2145
2146 * libc/Makeconfig: Use elf in place of binfmt-subdir.
2147 Use dlfcn directly instead of a variable.
2148 (binfmt-subdir): Do not define.
2149 (dlfcn): Likewise.
2150
a9f1039f
JM
21512012-08-01 Joseph Myers <joseph@codesourcery.com>
2152
23bddc06
JM
2153 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2154 Remove all definitions.
2155 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
2156 <kernel-features.h>.
2157 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2158 (miss_F_GETOWN_EX): Remove all definitions.
2159 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
2160 macro definition.
2161 [!__ASSUME_FCNTL64]: Remove conditional code.
2162 [__ASSUME_FCNTL64]: Make code unconditional.
2163 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
2164 <kernel-features.h>.
2165 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2166 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
2167 (lockf64) [__NR_fcntl64]: Make code unconditional.
2168 (lockf64) [__ASSUME_FCNTL64]: Likewise.
2169
a9f1039f
JM
2170 * sysdeps/unix/sysv/linux/kernel-features.h
2171 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
2172 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
2173 Make code unconditional.
2174 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2175 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
2177 [__NR_vfork]: Make code unconditional.
2178 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2179 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
2181 [__NR_vfork]: Make code unconditional.
2182 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2183 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2184
09c0ee5f
RM
21852012-08-01 Roland McGrath <roland@hack.frob.com>
2186
48aec5b9
RM
2187 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
2188 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
2189
cd97c966
RM
2190 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2191 Define mkstemp64 as an alias.
3f55550c
RM
2192 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2193 Define mkstemps64 as an alias.
cd97c966
RM
2194 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2195 Define mkostemp64 as an alias.
b8625cfc
RM
2196 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2197 Define mkostemps64 as an alias.
cd97c966
RM
2198 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
2199 Conditionalize body on this.
2200 * misc/mkostemp64.c: Likewise.
b8625cfc 2201 * misc/mkostemps64.c: Likewise.
3f55550c 2202 * misc/mkstemps64.c: Likewise.
cd97c966
RM
2203 * sysdeps/wordsize-64/mkstemp64.c: File removed.
2204 * sysdeps/wordsize-64/mkostemp64.c: File removed.
2205 * sysdeps/wordsize-64/mkostemp.c: File removed.
2206 * sysdeps/wordsize-64/mkstemp.c: File removed.
2207 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
2208 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
2209 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
2210 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
2211
09c0ee5f
RM
2212 [BZ #14138]
2213 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
2214 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
2215 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
2216 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
2217
2218 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
2219 compat_symbol macros from <shlib-compat.h> rather than the underlying
2220 default_symbol_version and symbol_version macros, so that DEFAULT
2221 lines in shlib-versions are respected.
2222 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
2223
7e66ee51
FW
22242012-08-01 Florian Weimer <fweimer@redhat.com>
2225
2226 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
2227 Declare with warn_unused_result.
2228 (setgid, setregid, setegid, setresgid): Likewise.
2229 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
2230 Likewise.
2231 * WUR-REPORT: Remove set*id functions.
2232
d2a54255
PT
22332012-07-31 Pino Toscano <toscano.pino@tiscali.it>
2234
2235 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
2236
7ecdb005
RM
22372012-07-31 Roland McGrath <roland@hack.frob.com>
2238
789bd351
RM
2239 * include/sys/socket.h (__libc_accept, __libc_accept4):
2240 Add attribute_hidden.
2241 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
2242
40ce302d
RM
2243 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
2244 use of PTR_MANGLE.
2245 * inet/getnetgrent_r.c (setup): Likewise.
2246
7ecdb005
RM
2247 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
2248
e2eabb2c
DM
22492012-07-31 David S. Miller <davem@davemloft.net>
2250
2251 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2252
d0419dbf
JM
22532012-07-31 Joseph Myers <joseph@codesourcery.com>
2254
2255 [BZ #13629]
2256 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
2257 value between 1.0 and 2.0 and smaller part has absolute value less
2258 than 1.0.
2259 * math/s_clog10.c (__clog10): Likewise.
2260 * math/s_clog10f.c (__clog10f): Likewise.
2261 * math/s_clog10l.c (__clog10l): Likewise.
2262 * math/s_clogf.c (__clogf): Likewise.
2263 * math/s_clogl.c (__clogl): Likewise.
2264 * math/libm-test.inc (clog_test): Add more tests.
2265 (clog10_test): Likewise.
2266 * sysdeps/i386/fpu/libm-test-ulps: Update.
2267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2268
2bc13872
FW
22692012-07-31 Florian Weimer <fweimer@redhat.com>
2270
2271 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
2272 Exit with zero in case no suitable GID is found, and write a
2273 message to standard error.
2274
bea9b193
RM
22752012-07-30 Roland McGrath <roland@hack.frob.com>
2276
2277 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
2278 rather than to 1.
2279 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
2280 (MAXPATHLEN): Removed.
2281 (NOGROUP, NODEV): New macros.
2282 (setbit, clrbit, isset, isclr): New macros.
2283 (howmany, roundup, powerof2): New macros.
2284 (DEV_BSIZE): New macro.
2285
2286 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
2287 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
2288
2289 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
2290 definition on [!__NO_LONG_DOUBLE_MATH].
2291
2292 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
2293 PTR_MANGLE and PTR_DEMANGLE.
2294
2295 * socket/accept4.c (accept4): Rename to __libc_accept4.
2296 Define accept4 as a weak alias.
2297
2298 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
2299 on [_DIRENT_HAVE_D_TYPE].
2300 * io/ftw.c (ftw_dir): Likewise.
2301
2302 * io/xmknod.c (__xmknod): Don't check PATH for being null.
2303
2304 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
2305
2306 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
2307 Use the BSD numbers rather than the arbitrary ones we had.
2308 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
2309 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
2310 (SIGXCPU, SIGXFSZ): New macros.
2311 (_NSIG): Now 32.
2312
2313 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
2314 initializer on [_LIBC_REENTRANT].
2315
2316 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
2317 definitions inside [_POSIX_MAPPED_FILES].
2318
2319 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
2320
2321 * dirent/opendir.c: Include <fcntl.h>.
2322
2323 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
2324 (__libc_getspecific): Likewise.
2325 (__libc_key_create): Likewise.
2326
2327 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
2328 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
2329 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
2330 (tmpfile64): Define as alias.
2331 * sysdeps/wordsize-64/tmpfile.c: File removed.
2332 * sysdeps/wordsize-64/tmpfile64.c: File removed.
2333 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
2334 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
2335
2336 * stdio-common/vfscanf.c: Include <stdbool.h>.
2337 * nss/makedb.c: Likewise.
2338 * stdio-common/_i18n_number.h: Likewise.
2339 * argp/argp-help.c: Likewise.
2340 * posix/wordexp.c: Likewise.
2341 * sysdeps/posix/spawni.c: Likewise.
2342 * nss/nss_files/files-initgroups.c: Likewise.
2343 * stdio-common/reg-modifier.c: Include <stdlib.h>.
2344 * nss/nss_files/files-initgroups.c: Likewise.
2345 * nss/nss_db/db-netgrp.c: Likewise.
2346 * nss/nss_db/db-initgroups.c: Likewise.
2347 * io/fchmodat.c: Include <sys/stat.h>.
2348
2349 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
2350 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
2351
2352 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
2353 [HAVE_MMAP].
2354
2355 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
2356 Add multiple inclusion protection.
2357
e5abc686
DM
23582012-07-27 David S. Miller <davem@davemloft.net>
2359
2360 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2361
815e6fa3
GB
23622012-07-27 Gary Benson <gbenson@redhat.com>
2363
2364 [BZ #14298]
2365 * elf/rtld.c: Include <stap-probe.h>.
2366 (dl_main): Added static probes "init_start" and "init_complete".
2367 * elf/dl-load.c: Include <stap-probe.h>.
2368 (lose): Take new parameter "nsid".
2369 Added static probe "map_failed".
2370 (_dl_map_object_from_fd): Pass namespace id to lose.
2371 Added static probe "map_start".
2372 (open_verify): Pass namespace id to lose.
2373 * elf/dl-open.c: Include <stap-probe.h>.
2374 (dl_open_worker) Added static probes "map_complete", "reloc_start"
2375 and "reloc_complete".
2376 * elf/dl-close.c: Include <stap-probe.h>.
2377 (_dl_close_worker): Added static probes "unmap_start" and
2378 "unmap_complete".
2379 * elf/rtld-debugger-interface.txt: New file documenting the above.
2380
9f98c16c
RM
23812012-07-26 Roland McGrath <roland@hack.frob.com>
2382
2383 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
2384 rather than a string variable.
2385 * sunrpc/rpc_main.c (h_output): Likewise.
2386 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
2387
f3c22df3
PT
23882012-07-26 Pino Toscano <toscano.pino@tiscali.it>
2389
2390 * inet/check_native.c: New file.
2391
3129cfc6
JM
23922012-07-26 Joseph Myers <joseph@codesourcery.com>
2393
da865e95
JM
2394 [BZ #13629]
2395 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
2396 if larger part has absolute value 1.0.
2397 * math/s_clog10.c (__clog10): Likewise.
2398 * math/s_clog10f.c (__clog10f): Likewise.
2399 * math/s_clog10l.c (__clog10l): Likewise.
2400 * math/s_clogf.c (__clogf): Likewise.
2401 * math/s_clogl.c (__clogl): Likewise.
2402 * math/libm-test.inc (clog_test): Add more tests.
2403 (clog10_test): Likewise.
2404 * sysdeps/i386/fpu/libm-test-ulps: Update.
2405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2406
3129cfc6
JM
2407 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
2408 (pltexit): Likewise.
2409 (La_regs): Likewise.
2410 (La_retval): Likewise.
2411 (int_retval): Likewise.
2412 Update #error for removed macros to refer only to definitions in
2413 tst-audit.h.
2414 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
2415 macro.
2416 (pltexit): Likewise.
2417 (La_regs): Likewise.
2418 (La_retval): Likewise.
2419 (int_retval): Likewise.
2420 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
2421 macro.
2422 (pltexit): Likewise.
2423 (La_regs): Likewise.
2424 (La_retval): Likewise.
2425 (int_retval): Likewise.
2426 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
2427 macro.
2428 (pltexit): Likewise.
2429 (La_regs): Likewise.
2430 (La_retval): Likewise.
2431 (int_retval): Likewise.
2432 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
2433 macro.
2434 (pltexit): Likewise.
2435 (La_regs): Likewise.
2436 (La_retval): Likewise.
2437 (int_retval): Likewise.
2438 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
2439 macro.
2440 (pltexit): Likewise.
2441 (La_regs): Likewise.
2442 (La_retval): Likewise.
2443 (int_retval): Likewise.
2444 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
2445 macro.
2446 (pltexit): Likewise.
2447 (La_regs): Likewise.
2448 (La_retval): Likewise.
2449 (int_retval): Likewise.
2450 * sysdeps/generic/tst-audit.h: Update comment to refer only to
2451 macro definitions in tst-audit.h.
2452 * sysdeps/i386/tst-audit.h: New file.
2453 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
2454 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
2455 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
2456 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
2457 * sysdeps/sh/tst-audit.h: Likewise.
2458 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
2459 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
2460 * sysdeps/x86_64/tst-audit.h: Likewise.
2461
bfc07087
AJ
24622012-07-26 Andreas Jaeger <aj@suse.de>
2463
b1b2aaf8
AJ
2464 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
2465 ptrace.
2466
2467 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
2468 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
2469 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
2470 PTRACE_O_MASK.
2471 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
2472 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
2473 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
2474
bfc07087
AJ
2475 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
2476 value.
2477
2478 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
2479 _sigsys.
2480 (si_call_addr, si_syscall, si_arch): Define new macro.
2481 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
2482 _sigsys.
2483 (si_call_addr, si_syscall, si_arch): Define new marcro.
2484 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
2485 _sigsys.
2486 (si_call_addr, si_syscall, si_arch): Define new macro.
2487 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
2488 _sigsys.
2489 (si_call_addr, si_syscall, si_arch): Define new macro.
2490
89b4b02f
JM
24912012-07-25 Joseph Myers <joseph@codesourcery.com>
2492
2493 [BZ #13717]
2494 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2495 Change to 2.4.21 where previously 2.4.1.
2496 * sysdeps/unix/sysv/linux/configure: Regenerated.
2497 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
2498 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
2499 Linux kernel version.
2500 (__ASSUME_STD_AUXV): Remove.
2501 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
2502 kernel version.
2503 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
2504 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
2505 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
2506 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
2507 (__ASSUME_NETLINK_SUPPORT): Likewise.
2508 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
2509 (__no_netlink_support): Remove conditional definition.
2510 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
2511 Remove.
2512 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2513 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
2514 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
2515 (if_nameindex_ioctl): Remove.
2516 (if_nameindex_netlink): Do not handle __no_netlink_support.
2517 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2518 code.
2519 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
2520 Remove conditional code.
2521 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2522 code.
2523 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
2524 unconditional.
2525 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2526 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
2527 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
2528 Remove.
2529 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
2530 [!__ASSUME_STD_AUXV]: Remove conditional code.
2531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
2532 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
2533 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
2534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
2535 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
2536 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2537 code.
2538 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2540 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
2541 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2542 conditional code.
2543 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2545 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2546 code.
2547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2548 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2549 conditional code.
2550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
2551 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2552 code unconditional.
2553 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2554 conditional code.
2555 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2556 unconditional.
2557 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2558 conditional code.
2559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2560 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2561 unconditional.
2562 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2563 conditional code.
2564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2565 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2566 code unconditional.
2567 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2568 conditional code.
2569 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2570 unconditional.
2571 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2572 conditional code.
2573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2574 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2575 code unconditional.
2576 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2577 conditional code.
2578 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2579 unconditional.
2580 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2581 conditional code.
2582
842a39cd
AS
25832012-07-25 Andreas Schwab <schwab@linux-m68k.org>
2584
2585 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
2586 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
2587 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2588 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
2589 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
2590 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2591 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2592 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
2593 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
2594 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2595 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
2596 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
2597 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
2598 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2599 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
2600 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
2601 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
2602 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
2603 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
2604 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
2605 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
2606 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
2607 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2608
84b3fd84
FW
26092012-07-25 Florian Weimer <fweimer@redhat.com>
2610
2611 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
2612 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
2613 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
2614 Introduce __libc_secure_getenv.
0c7936d5
FW
2615 * stdlib/Versions (2.17): Add secure_getenv
2616 (GLIBC_PRIVATE): Add __libc_secure_getenv.
2617 * stdlib/secure-getenv.c: Rename __secure_getenv to
2618 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
2619 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
2620 * stdlib/tst-secure-getenv.c: New.
2621 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
2622 * manual/startup.texi (Environment Access): Document
2623 secure_getenv.
84b3fd84
FW
2624 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
2625 __libc_secure_getenv.
2626 * inet/ruserpass.c (ruserpass): Likewise.
2627 * malloc/mtrace.c (mtrace): Likewise.
2628 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 2629 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
2630 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
2631 * sysdeps/posix/tempname.c: Likewise. Evaluate
2632 HAVE_SECURE_GETENV.
2633 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 2634 __secure_getenv to __libc_secure_getenv.
84b3fd84 2635 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
2636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2637 Likewise.
2638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2639 Likewise.
2640 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2641 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2642 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2643 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2644 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2645 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2646 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 2647
56e49b71
JM
26482012-07-25 Joseph Myers <joseph@codesourcery.com>
2649
2650 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
2651 (struct La_i86_retval): Likewise.
2652 (struct La_x86_64_regs): Likewise.
2653 (struct La_x86_64_retval): Likewise.
2654 (struct La_x32_regs): Likewise.
2655 (struct La_x32_retval): Likewise.
2656 (struct La_ppc32_regs): Likewise.
2657 (struct La_ppc32_retval): Likewise.
2658 (struct La_ppc64_regs): Likewise.
2659 (struct La_ppc64_retval): Likewise.
2660 (struct La_sh_regs): Likewise.
2661 (struct La_sh_retval): Likewise.
2662 (struct La_s390_32_regs): Likewise.
2663 (struct La_s390_32_retval): Likewise.
2664 (struct La_s390_64_regs): Likewise.
2665 (struct La_s390_64_retval): Likewise.
2666 (struct La_sparc32_regs): Likewise.
2667 (struct La_sparc32_retval): Likewise.
2668 (struct La_sparc64_regs): Likewise.
2669 (struct La_sparc64_retval): Likewise.
2670 (struct audit_ifaces): Remove architecture-specific pltenter and
2671 pltexit members.
2672 * sysdeps/i386/ldsodefs.h: New file.
2673 * sysdeps/powerpc/ldsodefs.h: Likewise.
2674 * sysdeps/s390/ldsodefs.h: Likewise.
2675 * sysdeps/sh/ldsodefs.h: Likewise.
2676 * sysdeps/sparc/ldsodefs.h: Likewise.
2677 * sysdeps/x86_64/ldsodefs.h: Likewise.
2678
354691b7
MP
26792012-07-25 Marek Polacek <polacek@redhat.com>
2680
2681 [BZ #6808]
2682 * math/libm-test.inc (yn_test): Add another test.
2683 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
2684 to ERANGE when the result is +-Inf.
2685 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2686 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
2687 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
2688 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
2689
bf9e2071
JM
26902012-07-24 Joseph Myers <joseph@codesourcery.com>
2691
2692 * conform/data/time.h-data (NULL): Use macro-constant. Require
2693 equal to 0.
2694 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
2695 clock_t.
2696 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
2697
57633811
TS
26982012-07-23 Thomas Schwinge <thomas@codesourcery.com>
2699
2700 * configure.in <sysdeps resolving>: Correct printing
2701 Implies_before.
2702 * configure: Regenerate.
2703
c23c33b0
TS
27042012-07-22 Thomas Schwinge <thomas@codesourcery.com>
2705
2706 * math/w_ilogb.c: Include <limits.h>.
2707 * math/w_ilogbl.c: Likewise.
2708
b5982523
JM
27092012-07-20 Joseph Myers <joseph@codesourcery.com>
2710
2711 * manual/lang.texi (__va_copy): Document primarily as ISO C99
2712 va_copy. Document allowing for unavailable va_copy only as
2713 pre-C99 compatibility.
2714 * manual/string.texi (Copying and Concatenation): Use va_copy
2715 instead of __va_copy in concat example.
2716
ac4ea442
PT
27172012-07-20 Pino Toscano <toscano.pino@tiscali.it>
2718
2719 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
2720 (__sendto): Use create_address_port. Initialize APORT and deallocate
2721 it if not null.
2722
f98eafbd
PT
2723 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
2724 with O_NOLINK passed to __file_name_lookup.
2725
898c7aab
PT
2726 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
2727 with O_NOLINK passed to __file_name_lookup.
2728
0ced335a
PT
2729 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
2730 negative N or less than NGIDS.
2731
b3404dbd
PT
2732 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
2733 type to string_t. Set ERANGE as errno and return it if NAME is not big
2734 enough. Use memcpy instead of strncpy.
2735
0f48659e
JM
27362012-07-20 Joseph Myers <joseph@codesourcery.com>
2737
2738 * elf/Makefile (check-data): Remove.
2739 (localplt.data): New vpath directive.
2740 ($(objpfx)check-localplt.out): Use localplt.data from vpath
2741 instead of $(check-data).
2742 * scripts/data/localplt-generic.data: Move to ...
2743 * sysdeps/generic/localplt.data: ... here.
2744 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
2745 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
2746 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
2747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2748 ... here.
2749 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
2750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2751 ... here.
2752 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
2753 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
2754 ... here.
2755 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
2756 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2757 ... here.
2758 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
2759 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
2760 ... here.
2761 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
2762 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
2763 ... here.
2764
d37cbdaa
AZ
27652012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2766
2767 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
2768 PPC32 and PPC64 files.
2769 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
2770 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
2771
46f85fc2
AK
27722012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2773
2774 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
2775 __makecontext_ret to ...
2776 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2777 ... here and call exit if uc_link is NULL. New file.
2778 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
2779 __makecontext_ret.S.
2780 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
2781 __makecontext_ret to ...
2782 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2783 ... here and call exit if uc_link is NULL. New file.
2784 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
2785 __makecontext_ret.S.
2786
08f43f9b
AK
27872012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2788
2789 * elf/elf.h (R_390_IRELATIVE): New definition.
2790 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
2791 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
2792 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
2793 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2794 (elf_machine_lazy_rel): Likewise.
2795 * sysdeps/s390/dl-irel.h: New file.
2796 * sysdeps/s390/s390-64/memcpy.S: New asm code.
2797 * sysdeps/s390/s390-64/memset.S: New asm code.
2798 * sysdeps/s390/s390-64/memcmp.S: New asm code.
2799 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
2800 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
2801 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
2802 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
2803 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
2804 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
2805 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
2806 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
2807 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
2808 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
2809 * sysdeps/s390/s390-32/memcpy.S: New asm code.
2810 * sysdeps/s390/s390-32/memset.S: New asm code.
2811 * sysdeps/s390/s390-32/memcmp.S: New asm code.
2812
3b05db33
MP
28132012-07-17 Marek Polacek <polacek@redhat.com>
2814
2815 [BZ #14349]
2816 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
2817 * sysdeps/s390/s390-64/configure.in: Likewise.
2818 * sysdeps/sparc/configure.in: Likewise.
2819 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
2820 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
2821 * sysdeps/i386/configure.in: Likewise.
2822 * sysdeps/x86_64/configure.in: Likewise.
2823 * sysdeps/sh/configure.in: Likewise.
2824 * sysdeps/s390/s390-32/configure: Regenerated.
2825 * sysdeps/s390/s390-64/configure: Likewise.
2826 * sysdeps/x86_64/configure: Likewise.
2827 * sysdeps/sh/configure: Likewise.
2828 * sysdeps/powerpc/powerpc64/configure: Likewise.
2829 * sysdeps/powerpc/powerpc32/configure: Likewise.
2830 * sysdeps/sparc/configure: Likwise.
2831 * sysdeps/i386/configure: Likewise.
2832
a66877c6
MP
2833 * elf/dl-open.c: Comment fixes.
2834
cfc82fd8
JM
28352012-07-17 Joseph Myers <joseph@codesourcery.com>
2836
bd29910a
JM
2837 * Makefile [CXX] (check-data): Remove.
2838 [CXX] (c++-types.data): New vpath directive.
2839 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
2840 vpath. Do not allow for C++ type data being missing.
2841 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
2842 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
2843 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
2844 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
2845 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
2846 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
2847 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
2848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2849 ... here.
2850 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
2851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2852 ... here.
2853 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
2854 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
2855 ... here.
2856 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
2857 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
2858 ... here.
2859 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
2860 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
2861 ... here.
2862 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
2863 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
2864 ... here.
2865 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
2866 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
2867 ... here.
2868 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
2869 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
2870
cfc82fd8
JM
2871 * elf/tls-macros.h (TLS_LE): Move architecture-specific
2872 definitions to architecture-specific files.
2873 (TLS_IE): Likewise.
2874 (TLS_LD): Likewise.
2875 (TLS_GD): Likewise.
2876 * sysdeps/i386/tls-macros.h: New file.
2877 * sysdeps/powerpc/tls-macros.h: Likewise.
2878 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2879 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2880 * sysdeps/sh/tls-macros.h: Likewise.
2881 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
2882 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
2883 * sysdeps/x86_64/tls-macros.h: Likewise.
2884
f7db3170
TS
28852012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2886
07cbfc23
TS
2887 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
2888 zero value for regular exit case.
2889
f7db3170
TS
2890 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2891 (__start_context): Preserve zero value for regular exit case.
2892
dc97c227
TS
28932012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2894 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2895
2896 * manual/setjmp.texi (setcontext): Clarify normal process
2897 termination when uc_link is the null pointer.
2898 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
2899 exit call.
2900
d0cd7d02
AS
29012012-07-16 Andreas Schwab <schwab@linux-m68k.org>
2902
2903 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
2904 preprocessor. Test for each exception mask separately.
2905
dd318934
AJ
29062012-07-16 Andreas Jaeger <aj@suse.de>
2907
2908 * po/ru.po: Update from translation team.
2909
8048311a
JM
29102012-07-15 Joseph Myers <joseph@codesourcery.com>
2911
2912 * conform/data/string.h-data (NULL): Use macro-constant. Require
2913 equal to 0.
2914 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2915 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2916 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
2917 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
2918 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2919
b637d46e
AJ
29202012-07-13 Andreas Jaeger <aj@suse.de>
2921
2922 * po/fr.po: Update from translation team.
2923
541428fe
MP
29242012-07-12 Marek Polacek <polacek@redhat.com>
2925
2926 [BZ #14173]
2927 * math/libm-test.inc (yn_test): Add test for BZ #14173.
2928 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
2929 loop condition.
2930
ec332e94
JM
29312012-07-12 Joseph Myers <joseph@codesourcery.com>
2932
2933 [BZ #13717]
2934 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2935 Change to 2.4.1 where previously 2.4.0.
2936 * sysdeps/unix/sysv/linux/configure: Regenerated.
2937 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
2938 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
2939 version.
2940 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
2941 (__ASSUME_AT_CLKTCK): Remove.
2942 (__ASSUME_AT_PAGESIZE): Likewise.
2943 (__ASSUME_AT_XID): Likewise.
2944 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
2945 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
2946 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
2947 unconditionally.
2948 (HAVE_AUX_PAGESIZE): Likewise.
2949 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
2950 [__ASSUME_AT_CLKTCK]: Make code unconditional.
2951 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
2952
7b6e99be
JB
29532012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
2954
2955 [BZ #14307]
2956 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
2957 the temporary buffer used to invoke __gethostbyname2_r,
2958 __gethostbyaddr_r and gethostbyname4_r to make room for struct
2959 host_data / struct gaih_addrtuple.
2960 * resolv/nss_dns/dns-host.c (global scope): Move definition of
2961 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
2962 header file nss/nsswitch.h.
2963 * nss/nsswitch.h (global scope): Add definition of implementation
2964 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
2965 resolv/nss_dns/dns-host.c).
2966
608404eb
AJ
29672012-07-11 Andreas Jaeger <aj@suse.de>
2968
2969 * po/fr.po: Update from translation team.
2970
71220aca
AJ
2971 * po/sv.po: Update from translation team
2972 * po/fr.po: Another update from translation team.
2973
28cfe843
AZ
29742012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2975
2976 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
2977 for subnormals or multiply small sinh result by itself.
2978 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2979 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2980
6b90f981
DM
29812012-07-11 David S. Miller <davem@davemloft.net>
2982
2983 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2984
c6825772
AS
29852012-07-10 Andreas Schwab <schwab@linux-m68k.org>
2986
2987 [BZ #14347]
2988 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
2989 (INTERNAL_MARK): Shift it here.
2990
7b8e0d49
MP
29912012-07-10 Marek Polacek <polacek@redhat.com>
2992
2993 [BZ #14151]
2994 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
2995 libc_cv_asm_global_directive with .globl.
2996 * configure: Regenerated.
2997 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
2998 with .globl.
2999 * sysdeps/i386/configure: Regenerated.
3000 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
3001 with .globl.
3002 * sysdeps/x86_64/configure: Regenerated.
3003 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
3004 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
3005 * elf/tst-unique2mod2.c: Likewise.
3006 * elf/tst-unique2mod1.c: Likewise.
3007 * elf/tst-unique1mod2.c: Likewise.
3008 * elf/tst-unique1mod1.c: Likewise.
3009 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3010 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3011 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3012 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3013 * sysdeps/mach/sysdep.h: Likewise.
3014 * sysdeps/i386/sysdep.h: Likewise.
3015 * sysdeps/i386/i386-mcount.S: Likewise.
3016 * sysdeps/x86_64/_mcount.S: Likewise.
3017 * sysdeps/x86_64/sysdep.h: Likewise.
3018 * sysdeps/sh/_mcount.S: Likewise.
3019 * sysdeps/sh/sysdep.h: Likewise.
3020 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
3021 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
3022 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
3023 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3024 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
3025 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
3026 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
3027 * locale/localeinfo.h: Likewise.
3028 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
3029 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
3030
6c55cda3
RM
30312012-07-09 Roland McGrath <roland@hack.frob.com>
3032
3033 [BZ #14336]
3034 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
3035 system".
3036 * manual/message.texi (The Uniforum approach): Likewise.
3037 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
3038 (glibc iconv Implementation): Likewise.
3039
638a572e
JM
30402012-07-09 Joseph Myers <joseph@codesourcery.com>
3041
3042 [BZ #14337]
3043 * math/s_clog.c (__clog): Avoid scaling a value down where that
3044 could result in underflow.
3045 * math/s_clog10.c (__clog10): Likewise.
3046 * math/s_clog10f.c (__clog10f): Likewise.
3047 * math/s_clog10l.c (__clog10l): Likewise.
3048 * math/s_clogf.c (__clogf): Likewise.
3049 * math/s_clogl.c (__clogl): Likewise.
3050 * math/libm-test.inc (clog_test): Add more tests.
3051 (clog10_test): Likewise.
3052 * sysdeps/i386/fpu/libm-test-ulps: Update.
3053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3054
261f4859
AS
30552012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3056
0abaf3e4
AS
3057 [BZ #14283]
3058 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
3059 by 7 not 8 to examine high bit of fractional part.
3060
261f4859
AS
3061 [BZ #14042]
3062 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
3063 for call to __mcount_internal.
3064 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
3065 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
3066 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
3067
f17ac40d
JM
30682012-07-06 Joseph Myers <joseph@codesourcery.com>
3069
9ad63c23
JM
3070 [BZ #14154]
3071 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
3072 approximation for values within 0x1p-13f of an odd multiple of
3073 pi/4.
3074 * math/libm-test.inc (tan_test): Do not allow spurious underflow
3075 exception. Add more tests.
3076 * sysdeps/i386/fpu/libm-test-ulps: Update.
3077
f17ac40d
JM
3078 [BZ #6778]
3079 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
3080 inputs and return -1 for them. Do not check for +Inf in case not
3081 reachable for +Inf.
3082 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
3083 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
3084 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3085 and return -1 for them. Do not check for +Inf in case not
3086 reachable for +Inf.
3087 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
3088 define.
3089 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3090 and return -1 for them. Do not check for +Inf in case not
3091 reachable for +Inf.
3092 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
3093 spurious underflow.
3094 * sysdeps/i386/fpu/libm-test-ulps: Update.
3095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3096
fb21f89b
MF
30972012-07-06 Mike Frysinger <vapier@gentoo.org>
3098
3099 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
3100
cdfe2c5e
JM
31012012-07-05 Joseph Myers <joseph@codesourcery.com>
3102
3103 [BZ #14157]
3104 [BZ #14331]
3105 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
3106 could result in spurious underflow. Scale down values above
3107 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
3108 * math/s_csqrtf.c (__csqrtf): Likewise.
3109 * math/s_csqrtl.c (__csqrtl): Likewise.
3110 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
3111 spurious underflow.
3112 * sysdeps/i386/fpu/libm-test-ulps: Update.
3113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3114
70d35b67
AS
31152012-07-04 Andreas Schwab <schwab@linux-m68k.org>
3116
704bc459
AS
3117 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
3118 xopen-msg.sed.
3119 * catgets/xopen-msg.awk: New file.
3120 * catgets/xopen-msg.sed: Removed.
3121
70d35b67
AS
3122 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
3123 po2text.sed.
3124 * intl/po2test.awk: New file.
3125 * intl/po2test.sed: Removed.
3126
ca61cf32
JM
31272012-07-04 Joseph Myers <joseph@codesourcery.com>
3128
3129 [BZ #14328]
3130 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
3131 or multiply small sinh result by itself.
3132 * math/s_ctanf.c (__ctanf): Likewise.
3133 * math/s_ctanh.c (__ctanh): Likewise.
3134 * math/s_ctanhf.c (__ctanhf): Likewise.
3135 * math/s_ctanhl.c (__ctanhl): Likewise.
3136 * math/s_ctanl.c (__ctanl): Likewise.
3137 * math/libm-test.inc (ctan_test_tonearest): New function.
3138 (ctan_test_towardzero): Likewise.
3139 (ctan_test_downward): Likewise.
3140 (ctan_test_upward): Likewise.
3141 (ctanh_test_tonearest): Likewise.
3142 (ctanh_test_towardzero): Likewise.
3143 (ctanh_test_downward): Likewise.
3144 (ctanh_test_upward): Likewise.
3145 (main): Call these new functions.
3146 * sysdeps/i386/fpu/libm-test-ulps: Update.
3147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3148
ca48a46a
MF
31492012-07-03 Mike Frysinger <vapier@gentoo.org>
3150
3151 * .gitignore: Delete /ports entry.
3152
9d63d37d
AJ
31532012-07-03 Andreas Jaeger <aj@suse.de>
3154
3155 * po/bg.po: Update from translation team.
3156 * po/cs.po: Likewise.
3157 * po/de.po: Likewise.
3158 * po/hr.po: Likewise.
3159 * po/nl.pl: Likewise.
3160 * po/pl.po: Likewise.
3161 * po/vi.po: Likewise.
3162
370ca3d2
JM
31632012-07-03 Joseph Myers <joseph@codesourcery.com>
3164
95f5a9a8
JM
3165 * Makeconfig [!+link] (+link-before-libc): New variable.
3166 [!+link] (+link-after-libc): Likewise.
3167 [!+link] (+link-tests): Likewise.
3168 [!+link] (+link): Define in terms of $(+link-before-libc) and
3169 $(+link-after-libc).
3170 [!+link-static] (+link-static-before-libc): New variable.
3171 [!+link-static] (+link-static-after-libc): Likewise.
3172 [!+link-static] (+link-static-tests): Likewise.
3173 [!+link-static] (+link-static): Define in terms of
3174 $(+link-static-before-libc) and $(+link-static-after-libc).
3175 [build-shared] (link-libc-before-gnulib): New variable.
3176 [build-shared] (link-libc-tests): Likewise.
3177 [build-shared] (link-libc): Define in terms of
3178 $(link-libc-before-gnulib).
3179 [!build-shared] (link-libc-tests): New variable.
3180 (link-libc-static-tests): New variable.
3181 [!gnulib] (gnulib-arch): New variable.
3182 [!gnulib] (gnulib-tests): Likewise.
3183 [!gnulib] (static-gnulib-arch): Likewise.
3184 [!gnulib] (static-gnulib-tests): Likewise.
3185 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
3186 Define with "=" instead of ":=".
3187 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
3188 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
3189 * Rules (binaries-all-notests): New variable.
3190 (binaries-all-tests): Likewise.
3191 (binaries-static-notests): Likewise.
3192 (binaries-static-tests): Likewise.
3193 (binaries-all): Define using $(binaries-all-notests) and
3194 $(binaries-all-tests).
3195 (binaries-static): Define using $(binaries-static-notests) and
3196 $(binaries-static-tests).
3197 (binaries-shared-tests): New variable.
3198 (binaries-shared-notests): Likewise.
3199 (binaries-shared): Remove variable.
3200 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
3201 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
3202 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
3203 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
3204 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
3205 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
3206 * elf/Makefile (sln-modules): New variable.
3207 (extra-objs): Add $(sln-modules:=.o).
3208 (ldconfig-modules): Add static-stubs.
3209 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
3210 * elf/static-stubs.c: New file.
3211
7a845b2c
JM
3212 [BZ #14283]
3213 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
3214 by 7 not 8 to examine high bit of fractional part. Use volatile
3215 variables when splitting into final array of floats if
3216 __FLT_EVAL_METHOD__ != 0.
3217 * math/libm-test.inc (cos_test): Add another test.
3218 (sin_test): Likewise.
3219 * sysdeps/i386/fpu/libm-test-ulps: Update.
3220
e2283f38
JM
3221 [BZ #14273]
3222 * math/libm-test.inc (cosh_test): Add more tests.
3223
370ca3d2
JM
3224 * version.h (RELEASE): Set to "development".
3225 (VERSION): Set to "2.16.90".
3226
ee9247c3
CD
32272012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
3228
3229 * NEWS: Update copyright. Remove last-updated date.
3230 Mention math library bug fixes and timezone data changes.
3231 * README: Mention GNU/Hurd, x32, and HPPA support status.
3232
4648c381
TS
32332012-06-28 Thomas Schwinge <thomas@codesourcery.com>
3234
3235 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
3236
aac78a43
AJ
32372012-06-27 Andreas Jaeger <aj@suse.de>
3238
3239 * manual/contrib.texi (Contributors): Add Samuel Thibault.
3240
ed3dbfad
AJ
32412012-06-25 Andreas Jaeger <aj@suse.de>
3242
3243 * sysdeps/s390/fpu/libm-test-ulps: Update.
3244
4d0ee855
AS
32452012-06-23 Andreas Schwab <schwab@linux-m68k.org>
3246 Thomas Schwinge <thomas@codesourcery.com>
3247
3248 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
3249 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
3250 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
3251 fanotify_mark.
3252
af1bce34
TS
32532012-06-23 Thomas Schwinge <thomas@codesourcery.com>
3254
a9fa33ba
TS
3255 * sysdeps/mach/start.c: Remove file.
3256 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
3257 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
3258 * sysdeps/sh/init-first.c: Likewise.
3259
58f902b8
TS
3260 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
3261 registers for frame unwinding purposes, add CFI directives.
3262 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3263 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
3264 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
3265 Likewise.
3266
1518f58b
TS
3267 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
3268 __fortify_fail returning.
3269 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3270
db9b5059
TS
3271 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
3272 sysdeps/sh/____longjmp_chk.S.
3273 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
3274 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
3275 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
3276 (gen-as-const-headers): Append sigaltstack-offsets.sym.
3277
967705fe
TS
3278 * sysdeps/sh/abort-instr.h: New file.
3279 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
3280 process in case exit returns.
3281
a9def8c4
TS
3282 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
3283 initialize the GOT register before use.
3284
2a649725
TS
3285 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
3286 calculation of ARGC > 4.
3287
af1bce34
TS
3288 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
3289 meaningful names to some local labels.
3290
d230f50a
KK
32912012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3292 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3293
3294 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
3295 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
3296 (__arch_compare_and_exchange_val_16_acq): Likewise.
3297 (__arch_compare_and_exchange_val_32_acq): Likewise.
3298 (atomic_exchange_and_add): Fix gUSA sequence.
3299 (atomic_add): Likewise.
3300 (atomic_add_negative): Likewise.
3301 (atomic_add_zero): Likewise.
3302 (atomic_bit_test_set): Likewise.
3303
0479b305
AS
33042012-06-22 Andreas Schwab <schwab@redhat.com>
3305
3306 [BZ #13579]
3307 * include/link.h (struct link_map): Add l_free_initfini.
3308 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
3309 l_initfini.
3310 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
3311 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
3312 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
3313 set.
3314
0e3933b9
CD
33152012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
3316
3317 * configure.in: Use AC_LANG_SOURCE.
3318 * configure: Regenerate.
3319
4248b1b1
RM
33202012-06-22 Roland McGrath <roland@hack.frob.com>
3321
3322 * configure.in (libc_cv_localstatedir): New substituted variable.
3323 * configure: Regenerated.
3324 * config.make.in (localstatedir): New variable, substituted from
3325 libc_cv_localstatedir.
3326 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
3327 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
3328 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
3329 * sysdeps/gnu/configure: Regenerated.
3330
006dd861
JL
33312012-06-21 Jeff Law <law@redhat.com>
3332
3333 [BZ #14277]
3334 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
3335 free. Simplify list management for _LIBC case.
3336
79662d42
JM
33372012-06-21 Joseph Myers <joseph@codesourcery.com>
3338
b7abb4bf
JM
3339 [BZ #14273]
3340 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
3341 Clear sign bit of 64-bit integer value before comparing against
3342 overflow value.
3343
79662d42
JM
3344 * sysdeps/mach/configure: Regenerated.
3345
1f150908
L
33462012-06-21 H.J. Lu <hongjiu.lu@intel.com>
3347
3348 [BZ #14278]
3349 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
3350
28363bbf
JL
33512012-06-21 Jeff Law <law@redhat.com>
3352
3353 [BZ #13882]
3354 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
3355 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 3356 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
3357 * elf/dl-open.c (dl_open_worker): Likewise.
3358
09615db4
CD
33592012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
3360
3361 * scripts/list-sources.sh: Scan PORTS for translations.
3362 * po/libc.pot: Regenerated.
3363
2174c6dd
AJ
33642012-06-21 Andreas Jaeger <aj@suse.de>
3365
3366 [BZ #12194]
3367 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
3368 warning.
3369 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
3370 * bits/byteswap-16.h (__bswap_16): Likewise.
3371 * bits/byteswap.h (__bswap_constant_16): Likewise.
3372
3ee947b1
L
33732012-06-18 H.J. Lu <hongjiu.lu@intel.com>
3374
3375 [BZ #14117]
a2f34833
L
3376 * sysdeps/i386/fpu_control.h: Removed.
3377 * sysdeps/x86_64/fpu_control.h: Moved to ...
3378 * sysdeps/x86/fpu_control.h: Here.
3379
3ee947b1
L
3380 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
3381 (_FPU_SETCW): Likewise.
3382
ed1825f8
L
33832012-06-15 H.J. Lu <hongjiu.lu@intel.com>
3384
25f1282a
L
3385 [BZ #14117]
3386 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
3387 * sysdeps/x86/fpu/bits/mathinline.h: This.
3388 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
3389
ed1825f8
L
3390 [BZ #14050]
3391 [BZ #14117]
3392 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
3393 functions if __x86_64__ is defined.
3394
36d54b74
CLT
33952012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
3396
3397 * string/endian.h: Add !__ASSEMBLER__ condition for including
3398 conversion interfaces.
3399
10285c21
JM
34002012-06-15 Joseph Myers <joseph@codesourcery.com>
3401
3402 [BZ #14241]
3403 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
3404 of ABS(x) in calculating zero to negative powers other than odd
3405 integers.
3406 * math/libm-test.inc (pow_test): Add more tests.
3407
06c5abbd
AJ
34082012-06-15 Andreas Jaeger <aj@suse.de>
3409
3410 * manual/contrib.texi (Contributors): Update entry of Liubov
3411 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
3412 Machado Filho.
3413
a3aeac40
CH
34142012-06-15 Cyril Hrubis <metan@ucw.cz>
3415
3416 * string/string.h: Add __wur to GNU version of strerror_r.
3417
49bdf4c1
L
34182012-06-14 H.J. Lu <hongjiu.lu@intel.com>
3419
3420 [BZ #14229]
3421 * string/Makefile (tests): Add tst-strtok_r.
3422 * string/tst-strtok_r.c: New file.
3423 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
3424 RAX_LP/RDX_LP on SAVE_PTR.
3425
834f9b8d
RM
34262012-06-14 Roland McGrath <roland@hack.frob.com>
3427
3428 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
3429
75fa1921
JM
34302012-06-14 Joseph Myers <joseph@codesourcery.com>
3431
3432 * libm_test.inc (csqrt_test): Allow more spurious underflow
3433 exceptions.
3434 (j0_test): Likewise.
3435 (j1_test): Likewise.
3436 (y0_test): Likewise.
3437 (y1_test): Likewise.
3438
771766df
CD
34392012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
3440
3441 * po/Makefile (libc.pot): Use UTF-8 charset.
3442
ceb9e56b
PP
34432012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
3444
3445 [BZ #14210]
3446 Suppress sign-conversion warning from FD_SET.
3447 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
3448 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
3449 not unsigned long int.
3450 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
3451
ddb28975
L
34522012-06-12 H.J. Lu <hongjiu.lu@intel.com>
3453
3454 [BZ #14050]
3455 [BZ #14117]
3456 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
3457 __extern_always_inline instead of __extern_inline.
3458 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
3459 (__signbit): Likewise.
3460 (__signbitl): Support C++ namespace.
3461 (lrintf): New inline function.
3462 (lrint): Likewise.
3463 (llrintf): Likewise.
3464 (llrint): Likewise.
3465 (fmaxf): Likewise.
3466 (fmax): Likewise.
3467 (fminf): Likewise.
3468 (fmin): Likewise.
3469 (rint): Likewise.
3470 (rintf): Likewise.
3471 (ceil): Likewise.
3472 (ceilf): Likewise.
3473 (floor): Likewise.
3474 (floorf): Likewise.
3475 (nearbyint): Likewise.
3476 (nearbyintf): Likewise.
3477
d7b4fb26
TS
34782012-06-12 Thomas Schwinge <thomas@codesourcery.com>
3479
3480 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
3481 non-default versions.
3482
eb55f5c2
RM
34832012-06-11 Roland McGrath <roland@hack.frob.com>
3484
3485 [BZ #14218]
3486 * manual/argp.texi (Argp): Reword argp_parse description slightly.
3487
366af02c
TS
34882012-06-09 Thomas Schwinge <thomas@codesourcery.com>
3489
99ff6e5c
TS
3490 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
3491 (FE_UPWARD, FE_DOWNWARD): Don't define.
3492 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
3493 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3494
366af02c
TS
3495 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
3496 reading it.
3497 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3498 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3499
793ea851
KK
35002012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3501
3502 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3503 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
3504 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
3505 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
3506
a728a38f
L
35072012-06-06 H.J. Lu <hongjiu.lu@intel.com>
3508
3509 [BZ #14117]
c08010c7
L
3510 * sysdeps/i386/fpu/bits/fenv.h: Removed.
3511 * sysdeps/i386/fpu/Implies: New file.
3512 * sysdeps/x86_64/fpu/Implies: Likewise.
3513 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
3514 * sysdeps/x86/fpu/bits/fenv.h: This.
3515
a728a38f
L
3516 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
3517 __SSE_MATH__.
3518
6e230d11
SP
35192012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3520
3521 [BZ #14134]
3522 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
3523 character 0xffff that matches the last element of the
3524 conversion table.
3525
1b671feb
AZ
35262012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3527
3528 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
3529 fmodl commit.
3530
6043738b
AZ
35312012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3532
3533 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
3534 values higher than 25.6283.
3535
34ae0b32
AZ
35362012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3537
3538 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
3539 subnormal exponent extraction and add some __builtin_expect.
3540 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
3541 Fix for subnormal mantissa calculation.
3542
1214ec8f
MF
35432012-06-04 Mike Frysinger <vapier@gentoo.org>
3544
3545 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
3546 cpu2 is -1 and errno is not ENOSYS.
3547
f3d1f93c
L
35482012-06-04 H.J. Lu <hongjiu.lu@intel.com>
3549
3550 [BZ #14117]
0e4a3cd7
L
3551 * sysdeps/i386/i486/bits/string.h: Renamed to ...
3552 * sysdeps/x86/bits/string.h: This.
3553 * sysdeps/x86_64/bits/string.h: Removed.
3554
6704c645
L
3555 * sysdeps/i386/i486/bits/string.h: Define inline functions only
3556 if not compiling for x86-64, but compiling for >= i486.
3557
48495318
L
3558 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
3559 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
3560
14adcbfc
L
3561 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
3562 New macro from Linux kernel 3.4.0.
3563 (FP_XSTATE_MAGIC2): Likewise.
3564 (FP_XSTATE_MAGIC2_SIZE): Likewise.
3565 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
3566 (struct _fpx_sw_bytes): New struct.
3567 (struct _xsave_hdr): Likewise.
3568 (struct _ymmh_state): Likewise.
3569 (struct _xstate): Likewise.
3570
68e408ab
L
3571 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
3572 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
3573 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
3574 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
3575 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
3576 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
3577
f3d1f93c
L
3578 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
3579 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
3580 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
3581 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
3582 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
3583 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
3584
d9dc34cd
TMQMF
35852012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3586
3587 [BZ #13743]
3588 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
3589 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
3590 (sysdep_headers): Include sys/platform/ppc.h.
3591 * sysdeps/powerpc/test-gettimebase.c: Test for
3592 __ppc_get_timebase() to catch future ISA opcode/insn changes.
3593 * manual/Makefile (appendices): Include platform.texi.
3594 * manual/contrib.texi (Contributors): Update @node pointers.
3595 * manual/maint.texi (Maintenance): Likewise.
3596 (Platform): New node.
3597 * manual/platform.texi: New file. Document the new features.
3598
4af3879c
SP
35992012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3600 Jakub Jelinek <jakub@redhat.com>
3601
3602 [BZ #14188]
3603 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
3604 where __builtin_expect is unavailable.
3605
2fd6ff13
DM
36062012-06-03 David S. Miller <davem@davemloft.net>
3607
3608 * stdlib/longlong.h: Updated from GCC.
3609
173f7220
AS
36102012-06-02 Andreas Schwab <schwab@linux-m68k.org>
3611
3612 [BZ #14042]
3613 * sysdeps/powerpc/powerpc32/mcount.c: New file.
3614 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
3615 __mcount_internal.
3616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3617 (GLIBC_2.16): Likewise.
3618
f34a1c6f
L
36192012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3620
3621 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
3622
88a4576f
JM
36232012-06-01 Joseph Myers <joseph@codesourcery.com>
3624
ea32bcdd
JM
3625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3626 (default-abi): New variable.
3627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
3628 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
3629 variable.
3630 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
3631 Likewise.
3632 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
3633 Likewise.
3634 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
3635 Likewise.
3636
88a4576f
JM
3637 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
3638 definition. Document in comment.
3639
402fe938
DM
36402012-06-01 David S. Miller <davem@davemloft.net>
3641
3642 * stdlib/longlong.h: Updated from GCC.
3643
3553723f
L
36442012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3645
3646 [BZ #14117]
3bd872c4
L
3647 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
3648 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
3649 sys/debugreg.h sys/io.h here.
3650 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
3651 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
3652 sys/io.h.
3653 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
3654 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
3655 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
3656 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
3657 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
3658 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
3659
3553723f
L
3660 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
3661 Define only if __x86_64__ is defined.
3662
4842e4fe
JM
36632012-06-01 Joseph Myers <joseph@codesourcery.com>
3664
c5bfe3d5
JM
3665 [BZ #14048]
3666 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
3667 Use int64_t for variable i.
3668 * math/libm-test.inc (fmod_test): Add more tests.
3669
4842e4fe
JM
3670 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
3671 z computation is not scheduled after fetestexcept.
3672 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
3673 Use math_force_eval instead of asm to ensure calculation scheduled
3674 before exception test.
3675 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
3676 Ensure a1 + u.d computation is not scheduled after fetestexcept.
3677
efb73488
AJ
36782012-06-01 Aurelien Jarno <aurelien@aurel32.net>
3679
3680 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
3681 computation is not scheduled after fetestexcept.
3682
29bcce7c
L
36832012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3684
3685 [BZ #14117]
3686 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
3687 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
3688
73a68f94
AZ
36892012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3690
3691 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
3692 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3693
67b6df78
L
36942012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3695
edf2933a 3696 [BZ #14117]
ebc64a18
L
3697 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
3698 <bits/wordsize.h>.
3699 (__WCHAR_MIN): Support __WORDSIZE == 64.
3700 (__WCHAR_MAX): Likewise.
3701
edf2933a
L
3702 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
3703 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
3704
57c6cf40
L
3705 [BZ #14183]
3706 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
3707 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
3708
67b6df78 3709 [BZ #14117]
8eb6281e
L
3710 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
3711 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
3712
aac639f4
L
3713 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
3714 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
3715
67b6df78
L
3716 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
3717 Defined to 1 if __x86_64__ isn't defined.
3718 (_STAT_VER_LINUX_OLD): New.
3719 (st_atime): Remove duplicate.
3720 (st_mtime): Likewise.
3721 (st_ctime): Likewise.
3722
1c2cfe81
DM
37232012-05-31 David S. Miller <davem@davemloft.net>
3724
3725 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
3726 entries.
3727
5be8418c
AS
37282012-06-01 Andreas Schwab <schwab@linux-m68k.org>
3729
e7725326
AS
3730 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
3731 gen-libm-test.pl.
3732
5be8418c
AS
3733 [BZ #14132]
3734 * elf/dl-reloc.c: Include <_itoa.h>.
3735 (_dl_reloc_bad_type): Remove use of INTUSE.
3736 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
3737 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
3738 * stdio-common/psiginfo.c (psiginfo): Likewise.
3739 * stdio-common/psignal.c (psignal): Likewise.
3740 * string/strsignal.c (strsignal): Likewise.
3741 * include/signal.h (_sys_siglist): Declare hidden proto.
3742 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
3743 INTVARDEF with libc_hidden_data_def.
3744 * stdio-common/itoa-udigits.c: Likewise.
3745 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
3746 (_itoa_lower_digits_internal): Remove declaration.
3747 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
3748 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
3749 (_sys_sigabbrev_internal): Remove aliases.
3750 (_sys_siglist): Define hidden alias.
3751
507352f1
MT
37522012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
3753
3754 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3755 bits/sysctl.h.
3756
42bbb1c3
L
37572012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3758
3759 [BZ #14117]
6bd784b6
L
3760 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
3761 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
3762
8bca20f0
L
3763 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
3764 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
3765 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
3766 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
3767 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
3768 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
3769
f9e890a9
L
3770 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
3771 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
3772 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
3773
471101a1
L
3774 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
3775 with __addr.
3776 (insw): Likewise.
3777 (insl): Likewise.
3778 (outsb): Likewise.
3779 (outsw): Likewise.
3780 (outsl): Likewise.
3781
6451c862
L
3782 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
3783 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
3784 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
3785
a254b8c9
L
3786 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
3787 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
3788 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
3789 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
3790 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
3791 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
3792
b8dfdd92
L
3793 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
3794 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
3795
578cd270
L
3796 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
3797 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
3798
de662f5f
L
3799 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
3800 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
3801 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
3802
25653439
L
3803 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
3804 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
3805 to ...
3806 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
3807
6bad24a0
L
3808 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
3809 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
3810 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
3811
42bbb1c3
L
3812 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
3813 for x86-64.
3814 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
3815
2d10d547
JM
38162012-05-31 Joseph Myers <joseph@codesourcery.com>
3817
3818 * math/math.h (M_El): Use two more decimal places.
3819 (M_LOG2El): Likewise.
3820 (M_LOG10El): Likewise.
3821 (M_LN2l): Likewise.
3822 (M_LN10l): Likewise.
3823 (M_PIl): Likewise.
3824 (M_PI_2l): Likewise.
3825 (M_PI_4l): Likewise.
3826 (M_1_PIl): Likewise.
3827 (M_2_PIl): Likewise.
3828 (M_2_SQRTPIl): Likewise.
3829 (M_SQRT2l): Likewise.
3830 (M_SQRT1_2l): Likewise.
3831
f230c29b
DM
38322012-05-31 David S. Miller <davem@davemloft.net>
3833
3834 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
3835 values between float registers.
3836 * sysdeps/sparc/sparc64/memset.S: Likewise.
3837 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3838
fed806c3
MF
38392012-05-31 Mike Frysinger <vapier@gentoo.org>
3840
3841 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
3842 -D_FORTIFY_SOURCE=1.
3843 (CPPFLAGS-tst-longjmp_chk.c): Define.
3844 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
3845 (CPPFLAGS-tst-longjmp_chk2.c): Define.
3846 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
3847 CFLAGS-tst-wchar-h.c.
3848
30917259
MP
38492012-05-31 Marek Polacek <polacek@redhat.com>
3850
3851 [BZ #14132]
3852 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
3853 __endmntent_internal): Remove declaration.
3854 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
3855 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
3856 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
3857
1c58d5dc
DM
38582012-05-30 David S. Miller <davem@davemloft.net>
3859
3860 * sysdeps/sparc/sparc32/soft-fp/q_util.c
3861 (___Q_simulate_exceptions): Use real FP ops rather than writing
3862 into the %fsr.
3863 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
3864 Likewise.
3865
7dc00e0d
L
38662012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3867
3868 [BZ #14117]
0bd53985
L
3869 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
3870 * sysdeps/x86/bits/xtitypes.h: This.
3871
3a257e66
L
3872 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
3873 * sysdeps/x86/bits/wordsize.h: This.
3874
62f62904
L
3875 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
3876 * sysdeps/x86/bits/huge_vall.h: This.
3877
404fe9d9
L
3878 * sysdeps/i386/bits/select.h: Removed.
3879 * sysdeps/x86_64/bits/select.h: Renamed to ...
3880 * sysdeps/x86/bits/select.h: This.
3881
d48d0446
L
3882 * sysdeps/i386/bits/setjmp.h: Removed.
3883 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
3884 * sysdeps/x86/bits/setjmp.h: This.
3885
7dc00e0d
L
3886 * sysdeps/i386/bits/mathdef.h: Removed.
3887 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
3888 * sysdeps/x86/bits/mathdef.h: This.
3889
03277f8f
AS
38902012-05-30 Andreas Schwab <schwab@linux-m68k.org>
3891
3892 [BZ #14132]
3893 * include/sys/socket.h (__connect_internal)
3894 (__libc_sa_len_internal): Remove declaration.
3895 (__connect, __libc_sa_len): Declare hidden_proto.
3896 (SA_LEN): Remove use of INTUSE.
3897 * socket/connect.c: Add libc_hidden_def.
3898 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
3899 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
3900 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
3901 alias.
3902 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3903 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3904 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
3905 of adding _internal alias.
3906
13764867
L
39072012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3908
3909 [BZ #14117]
6bd97696
L
3910 * sysdeps/i386/bits/link.h: Removed.
3911 * sysdeps/i386/bits/linkmap.h: Likewise.
3912 * sysdeps/x86_64/bits/link.h: Renamed to ...
3913 * sysdeps/x86/bits/link.h: This.
3914 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
3915 * sysdeps/x86/bits/linkmap.h: This.
3916
f726f0bb
L
3917 * sysdeps/i386/bits/endian.h: Removed.
3918 * sysdeps/x86_64/bits/endian.h: Renamed to ...
3919 * sysdeps/x86/bits/endian.h: This.
3920
13764867
L
3921 * sysdeps/i386/bits/byteswap.h: Removed.
3922 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3923 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
3924 * sysdeps/x86/bits/byteswap.h: This.
3925 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
3926 * sysdeps/x86/bits/byteswap-16.h: This.
3927 * sysdeps/i386/Implies: Add x86.
3928 * sysdeps/x86_64/Implies: Likewise.
3929
ae251b0b
DM
39302012-05-30 David S. Miller <davem@davemloft.net>
3931
3932 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
3933 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
3934 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3935 (FP_TRAPPING_EXCEPTIONS): Define.
3936 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3937 (FP_TRAPPING_EXCEPTIONS): Define.
3938 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
3939 subnormals only when inexact has been signalled or underflow
3940 exceptions are enabled.
3941 (_FP_PACK_CANONICAL): Likewise.
3942
d5c90867
L
39432012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3944
3945 [BZ #14183]
3946 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
3947 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
3948
63f1549e
RH
39492012-05-30 Richard Henderson <rth@twiddle.net>
3950
8d8f2279
RH
3951 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
3952 with #ifndef NOT_IN_libc.
3953
63f1549e
RH
3954 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
3955 marked to avoid plt entry.
3956
0ab0291b
L
39572012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3958
3959 [BZ #14112]
3960 * Makeconfig (default-abi): New macro.
3961 (abi-includes): Likewise.
3962 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
3963 $(abi-$(default-abi)-lib-soname) for soname if defined.
3964 ($(common-objpfx)gnu/lib-names.stmp): Generate from
3965 abi-variants.
3966 * Makefile (installed-stubs): Likewise.
3967 * include/stubs-biarch.h: Removed.
3968 * scripts/lib-names.awk: Only handle one library at a time.
3969 * scripts/soversions.awk: Remove WORDSIZE support.
3970 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
3971 entries.
3972 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
3973 Removed.
3974 (syscall-list-default-condition): Likewise.
3975 (syscall-list-default-condition): Likewise.
3976 (syscall-list-includes): Likewise.
3977 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
3978 syscall-list-* with abi-*. Handle undefined abi-variants.
3979 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
3980 * sysdeps/unix/sysv/linux/i386/Implies: New file.
3981 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
3982 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
3983 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
3984 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
3985 Removed.
3986 (syscall-list-32-options): Likewise.
3987 (syscall-list-32-condition): Likewise.
3988 (syscall-list-64-options): Likewise.
3989 (syscall-list-64-condition): Likewise.
3990 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
3991 macro.
3992 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
3993 Renamed to ...
3994 (abi-*): This.
3995 (abi-64-ld-soname): New macro.
3996 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
3997 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
3998 Renamed to ...
3999 (abi-*): This.
4000 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
4001 * sysdeps/x86_64/x32/shlib-versions: Likewise.
4002
4da0431d
JM
40032012-05-30 Joseph Myers <joseph@codesourcery.com>
4004
3a85279c
JM
4005 * sysdeps/unix/sysv/linux/kernel-features.h
4006 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
4007 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
4008 include <kernel-features.h>.
4009 [!__NR_ftruncate64]: Remove conditional code.
4010 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4011 [__NR_ftruncate64]: Make code unconditional.
4012 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4013 * sysdeps/unix/sysv/linux/truncate64.c: Do not
4014 include <kernel-features.h>.
4015 [!__NR_ftruncate64]: Remove conditional code.
4016 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4017 [__NR_ftruncate64]: Make code unconditional.
4018 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
4020 include <kernel-features.h>.
4021 [!__NR_ftruncate64]: Remove conditional code.
4022 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4023 [__NR_ftruncate64]: Make code unconditional.
4024 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
4026 include <kernel-features.h>.
4027 [!__NR_ftruncate64]: Remove conditional code.
4028 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4029 [__NR_ftruncate64]: Make code unconditional.
4030 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4031
4da0431d
JM
4032 * configure.in (libc_cv_fpie): Weaken to a compile test using
4033 LIBC_TRY_CC_OPTION.
4034 * configure: Regenerated.
4035
11ef492c
AK
40362012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4037
4038 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
4039 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
4040 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
4041 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4042 Refreshed.
4043 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
4044 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
4045 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
4046 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
4047 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
4048 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4049 Refreshed.
4050
d66ef399
DM
40512012-05-27 David S. Miller <davem@davemloft.net>
4052
4053 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
4054 (___Q_zero): New.
4055 (__Q_simulate_exceptions): Return void. Change to simulate
4056 exceptions by writing into the %fsr.
4057 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
4058 (__Qp_handle_exceptions): Likewise.
4059 (numbers): Delete.
4060 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
4061 __Qp_handle_exceptions.
4062 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
4063 __Qp_handle_exceptions.
4064 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4065 as unused and give dummy FP_RND_NEAREST initializer.
4066 (FP_INHIBIT_RESULTS): Define.
4067 (___Q_simulate_exceptions): Update declaration.
4068 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
4069 formatting.
4070 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4071 as unused and give dummy FP_RND_NEAREST initializer.
4072 (__Qp_handle_exceptions): Update declaration.
4073 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
4074 formatting.
4075
04fb54b5
TS
40762012-05-27 Thomas Schwinge <thomas@codesourcery.com>
4077
4078 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
4079 the temporary FPU control word.
4080 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4081 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
4082 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
4083 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4084 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4085 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
4086 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
4087 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4088 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4089 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
4090 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4091
3f99608f
KK
40922012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4093
4094 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
4095 fields.
4096
65a4de4e
CLT
40972012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
4098
4099 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
4100 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
4101 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
4102 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
4103 Likewise.
4104 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
4105 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
4106 Likewise.
4107
15749d40
UD
41082012-05-27 Ulrich Drepper <drepper@gmail.com>
4109
4110 * po/h.po: Update from translation team.
4111
25dbcb27
AS
41122012-05-26 Andreas Schwab <schwab@linux-m68k.org>
4113
3d3f8e55
AS
4114 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
4115
25dbcb27
AS
4116 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
4117 handling of denormals.
4118 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4119 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4120 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4121 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4122 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4123 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
4124 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
4125 Likewise.
4126
7ad47a80 41272012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
4128
4129 [BZ #14152]
4130 * math/libm-test.inc (fma_test): Don't always expect underflow
4131 exception.
4132
9c6ea9fa
SP
41332012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4134
4135 [BZ #12416]
4136 * elf/tst-execstack.c: Include stackinfo.h.
4137 (do_test): Adjust test case to ensure that pthread_getattr_np
4138 behaviour remains the same after marking stack executable.
4139
a8239222
JM
41402012-05-25 Joseph Myers <joseph@codesourcery.com>
4141
4142 * sysdeps/unix/sysv/linux/kernel-features.h
4143 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
4144 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
4145 kernel-features.h.
4146 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4147 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4148 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
4149 kernel-features.h.
4150 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4151 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4152
918b5606
L
41532012-05-25 H.J. Lu <hongjiu.lu@intel.com>
4154
4155 * configure.in: Define the default includes to being none.
4156 * configure: Regenerated.
4157
3a097cc7
RM
41582012-05-25 Roland McGrath <roland@hack.frob.com>
4159
8422c9a5
RM
4160 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
4161 * sysdeps/x86_64/setjmp.S: Likewise.
4162 * sysdeps/i386/bsd-setjmp.S: Likewise.
4163 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4164 * sysdeps/i386/setjmp.S: Likewise.
4165 * sysdeps/i386/__longjmp.S: Likewise.
4166 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4167 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
4168
3a097cc7
RM
4169 * include/stap-probe.h: New file.
4170 * configure.in: Handle --enable-systemtap.
4171 * configure: Regenerated.
4172 * config.h.in (USE_STAP_PROBE): New #undef.
4173 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
4174 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
4175 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4176
21708942
JM
41772012-05-25 Joseph Myers <joseph@codesourcery.com>
4178
4179 [BZ #13717]
4180 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4181 to 2.4.0 where earlier.
4182 * sysdeps/unix/sysv/linux/configure: Regenerated.
4183 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
4184 <kernel-features.h>.
4185 [__ASSUME_32BITUIDS]: Make code unconditional.
4186 [!__ASSUME_32BITUIDS]: Remove conditional code.
4187 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
4188 <kernel-features.h>.
4189 [__ASSUME_32BITUIDS]: Make code unconditional.
4190 [!__ASSUME_32BITUIDS]: Remove conditional code.
4191 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
4192 [__ASSUME_32BITUIDS]: Make code unconditional.
4193 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
4194 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
4195 <kernel-features.h>.
4196 [__ASSUME_32BITUIDS]: Make code unconditional.
4197 [!__ASSUME_32BITUIDS]: Remove conditional code.
4198 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
4199 <kernel-features.h>.
4200 [__ASSUME_32BITUIDS]: Make code unconditional.
4201 [!__ASSUME_32BITUIDS]: Remove conditional code.
4202 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
4203 <kernel-features.h>.
4204 [__ASSUME_32BITUIDS]: Make code unconditional.
4205 [!__ASSUME_32BITUIDS]: Remove conditional code.
4206 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
4207 <kernel-features.h>.
4208 [__ASSUME_32BITUIDS]: Make code unconditional.
4209 [!__ASSUME_32BITUIDS]: Remove conditional code.
4210 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
4211 <kernel-features.h>.
4212 [__ASSUME_32BITUIDS]: Make code unconditional.
4213 [!__ASSUME_32BITUIDS]: Remove conditional code.
4214 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
4215 <kernel-features.h>.
4216 [__ASSUME_32BITUIDS]: Make code unconditional.
4217 [!__ASSUME_32BITUIDS]: Remove conditional code.
4218 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
4219 <kernel-features.h>.
4220 [__ASSUME_32BITUIDS]: Make code unconditional.
4221 [!__ASSUME_32BITUIDS]: Remove conditional code.
4222 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
4223 <kernel-features.h>.
4224 [__ASSUME_32BITUIDS]: Make code unconditional.
4225 [!__ASSUME_32BITUIDS]: Remove conditional code.
4226 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
4227 <kernel-features.h>.
4228 [__ASSUME_32BITUIDS]: Make code unconditional.
4229 [!__ASSUME_32BITUIDS]: Remove conditional code.
4230 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
4231 <kernel-features.h>.
4232 [__ASSUME_32BITUIDS]: Make code unconditional.
4233 [!__ASSUME_32BITUIDS]: Remove conditional code.
4234 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
4235 <kernel-features.h>.
4236 [__NR_setresgid] (__setresgid): Do not declare.
4237 [__ASSUME_32BITUIDS]: Make code unconditional.
4238 [!__ASSUME_32BITUIDS]: Remove conditional code.
4239 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
4240 <kernel-features.h>.
4241 [__NR_setresuid] (__setresuid): Do not declare.
4242 [__ASSUME_32BITUIDS]: Make code unconditional.
4243 [!__ASSUME_32BITUIDS]: Remove conditional code.
4244 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
4245 <kernel-features.h>.
4246 [__ASSUME_32BITUIDS]: Make code unconditional.
4247 [!__ASSUME_32BITUIDS]: Remove conditional code.
4248 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
4249 <kernel-features.h>.
4250 [__ASSUME_32BITUIDS]: Make code unconditional.
4251 [!__ASSUME_32BITUIDS]: Remove conditional code.
4252 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
4253 <kernel-features.h>.
4254 [__ASSUME_32BITUIDS]: Make code unconditional.
4255 [!__ASSUME_32BITUIDS]: Remove conditional code.
4256 * sysdeps/unix/sysv/linux/i386/setgroups.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/i386/setregid.c: Do not include
4261 <kernel-features.h>.
4262 [__ASSUME_32BITUIDS]: Make code unconditional.
4263 [!__ASSUME_32BITUIDS]: Remove conditional code.
4264 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
4265 <kernel-features.h>.
4266 [__ASSUME_32BITUIDS]: Make code unconditional.
4267 [!__ASSUME_32BITUIDS]: Remove conditional code.
4268 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
4269 <kernel-features.h>.
4270 [__ASSUME_32BITUIDS]: Make code unconditional.
4271 [!__ASSUME_32BITUIDS]: Remove conditional code.
4272 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
4273 <kernel-features.h>.
4274 [__ASSUME_32BITUIDS]: Make code unconditional.
4275 [!__ASSUME_32BITUIDS]: Remove conditional code.
4276 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
4277 <kernel-features.h>.
4278 [__ASSUME_32BITUIDS]: Make code unconditional.
4279 [!__ASSUME_32BITUIDS]: Remove conditional code.
4280 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
4281 <kernel-features.h>.
4282 [__ASSUME_32BITUIDS]: Make code unconditional.
4283 [!__ASSUME_32BITUIDS]: Remove conditional code.
4284 * sysdeps/unix/sysv/linux/kernel-features.h
4285 (__ASSUME_SETRESUID_SYSCALL): Remove.
4286 (__ASSUME_SETRESGID_SYSCALL): Likewise.
4287 (__ASSUME_32BITUIDS): Likewise.
4288 (__ASSUME_LDT_WORKS): Likewise.
4289 (__ASSUME_O_DIRECTORY): Likewise.
4290 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
4291 architecture but not kernel version.
4292 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4293 (__ASSUME_MMAP2_SYSCALL): Likewise.
4294 (__ASSUME_STAT64_SYSCALL): Likewise.
4295 (__ASSUME_IPC64): Likewise.
4296 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
4297 <kernel-features.h>.
4298 [__ASSUME_32BITUIDS]: Make code unconditional.
4299 [!__ASSUME_32BITUIDS]: Remove conditional code.
4300 * sysdeps/unix/sysv/linux/opendir.c: Do not include
4301 <kernel-features.h>.
4302 [__ASSUME_O_DIRECTORY]: Make code unconditional.
4303 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
4304 132096]: Remove conditional code.
4305 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
4306 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
4307 <kernel-features.h>.
4308 [__ASSUME_32BITUIDS]: Make code unconditional.
4309 [!__ASSUME_32BITUIDS]: Remove conditional code.
4310 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
4311 <kernel-features.h>.
4312 [__ASSUME_32BITUIDS]: Make code unconditional.
4313 [!__ASSUME_32BITUIDS]: Remove conditional code.
4314 * sysdeps/unix/sysv/linux/setegid.c: Do not include
4315 <kernel-features.h>.
4316 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
4317 unconditional.
4318 (__setresgid): Do not declare.
4319 [__ASSUME_32BITUIDS]: Make code unconditional.
4320 [!__ASSUME_32BITUIDS]: Remove conditional code.
4321 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
4322 <kernel-features.h>.
4323 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
4324 unconditional.
4325 (__setresuid): Do not declare.
4326 [__ASSUME_32BITUIDS]: Make code unconditional.
4327 [!__ASSUME_32BITUIDS]: Remove conditional code.
4328 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
4329 <kernel-features.h>.
4330 [__ASSUME_32BITUIDS]: Make code unconditional.
4331 [!__ASSUME_32BITUIDS]: Remove conditional code.
4332 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
4333 <kernel-features.h>.
4334 [__ASSUME_32BITUIDS]: Make code unconditional.
4335 [!__ASSUME_32BITUIDS]: Remove conditional code.
4336
a386f1cc
RH
43372012-05-25 Richard Henderson <rth@twiddle.net>
4338
4339 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
4340 dl_hwcap to ifunc resolver.
4341 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
4342 elf_ifunc_invoke.
4343 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
4344 dl_hwcap to ifunc resolver.
4345 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
4346
b6550497
JM
43472012-05-24 Joseph Myers <joseph@codesourcery.com>
4348
4349 [BZ #14153]
4350 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
4351 for |x| <= 2**-26, not 2**-57.
4352 * math/libm-test.inc (acos_test): Do not allow spurious underflow
4353 exception.
4354
b0bc23a1
JL
43552012-05-24 Jeff Law <law@redhat.com>
4356
4357 * stdio-common/Makefile (tests): Add bug25.
4358 * stdio-common/bug25.c: New test.
4359
347c92e9
L
43602012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4361
4362 [BZ #13576]
4363 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
4364 multiple of MALLOC_ALIGNMENT in size.
4365 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
4366
6bcc8b3f
JM
43672012-05-24 Joseph Myers <joseph@codesourcery.com>
4368
4369 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
4370 Require >= 256.
4371 (FILENAME_MAX): Use macro-int-constant.
4372 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
4373 (_IOFBF): Use macro-int-constant.
4374 (_IOLBF): Likewise.
4375 (_IONBF): Likewise.
4376 (SEEK_CUR): Likewise.
4377 (SEEK_END): Likewise.
4378 (SEEK_SET): Likewise.
4379 (TMP_MAX): Likewise.
4380 (EOF): Use macro-int-constant. Require < 0.
4381 (NULL): Use macro-constant. Require == 0.
4382 (stdin): Require type to be FILE *.
4383 (stdout): Likewise.
4384 (stderr): Likewise.
4385 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
4386 macro-int-constant.
4387 (EXIT_SUCCESS): Likewise.
4388 (NULL): Use macro-constant. Require == 0.
4389 (RAND_MAX): Use macro-int-constant.
4390 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
4391 [C99-based standards] (strtof): Require function.
4392 [C99-based standards] (strtold): Likewise.
4393 [C99-based standards] (strtoll): Likewise.
4394 [C99-based standards] (strtoull): Likewise.
4395 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
4396 [ISO || ISO99 || ISO11] (limits.h): Likewise.
4397 [ISO || ISO99 || ISO11] (math.h): Likewise.
4398 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
4399 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
4400 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4401
d18ea0c5
AS
44022012-05-24 Andreas Schwab <schwab@linux-m68k.org>
4403
4404 [BZ #14132]
56d25bb8
AS
4405 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
4406 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
4407 * intl/dgettext.c (DCGETTEXT): Likewise.
4408 * intl/gettext.c (DCGETTEXT): Likewise.
4409 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
4410 * posix/regex_internal.h (gettext): Likewise.
4411 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
4412 Remove declaration.
4413 * include/argz.h (__argz_count_internal)
4414 (__argz_stringify_internal): Remove declaration.
4415 (__argz_count, __argz_stringify): Declare hidden proto.
4416 * intl/dcgettext.c: Remove use of INTDEF.
4417 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
4418 * string/argz-stringify.c: Likewise.
4419 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4420 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4421 Declare hidden proto.
d18ea0c5
AS
4422 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4423 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4424 Declare hidden proto.
4425 * include/stdio.h (__asprintf_internal): Don't declare.
4426 (__asprintf): Don't define as macro. Declare hidden proto.
4427 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
4428 (__fsetlocking): Declare hidden proto.
4429 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
4430 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
4431 hidden proto.
4432 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
4433 (_IO_setlinebuf): Remove use of INTUSE.
4434 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
4435 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
4436 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
4437 Remove declaration.
4438 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
4439 (_IO_do_flush): Remove use of INTUSE.
4440 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
4441 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
4442 (_IO_adjust_column, _IO_least_wmarker)
4443 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
4444 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
4445 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
4446 (_IO_default_doallocate, _IO_wdefault_doallocate)
4447 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
4448 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
4449 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
4450 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
4451 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
4452 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
4453 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
4454 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
4455 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
4456 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
4457 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
4458 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
4459 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
4460 proto.
4461 (_IO_flush_all_internal, _IO_adjust_column_internal)
4462 (_IO_default_uflow_internal, _IO_default_finish_internal)
4463 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
4464 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
4465 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
4466 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
4467 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
4468 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
4469 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
4470 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
4471 (_IO_file_close_internal, _IO_file_close_it_internal)
4472 (_IO_file_underflow_internal, _IO_file_overflow_internal)
4473 (_IO_file_init_internal, _IO_file_attach_internal)
4474 (_IO_file_fopen_internal, _IO_file_read_internal)
4475 (_IO_file_sync_internal, _IO_file_seek_internal)
4476 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
4477 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
4478 (_IO_str_underflow_internal, _IO_str_overflow_internal)
4479 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
4480 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
4481 (_IO_list_all_internal, _IO_link_in_internal)
4482 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
4483 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
4484 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
4485 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
4486 (_IO_do_write_internal, _IO_padn_internal)
4487 (_IO_getline_info_internal, _IO_getline_internal)
4488 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
4489 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
4490 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
4491 (_IO_vfscanf_internal, _IO_vfprintf_internal)
4492 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
4493 (_IO_init_internal, _IO_un_link_internal): Don't declare.
4494 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
4495 with libc_hidden_ver, remove use of INTUSE.
4496 * libio/genops.c: Likewise.
4497 * libio/freopen.c: Likewise.
4498 * libio/freopen64.c: Likewise.
4499 * libio/iofclose.c: Likewise.
4500 * libio/iofdopen.c: Likewise.
4501 * libio/iofflush.c: Likewise.
4502 * libio/iofflush_u.c: Likewise.
4503 * libio/iofgets.c: Likewise.
4504 * libio/iofgets_u.c: Likewise.
4505 * libio/iofopen.c: Likewise.
4506 * libio/iofopncook.c: Likewise.
4507 * libio/iofread.c: Likewise.
4508 * libio/iofread_u.c: Likewise.
4509 * libio/ioftell.c: Likewise.
4510 * libio/iofwrite.c: Likewise.
4511 * libio/iogetline.c: Likewise.
4512 * libio/iogets.c: Likewise.
4513 * libio/iogetwline.c: Likewise.
4514 * libio/iopadn.c: Likewise.
4515 * libio/iopopen.c: Likewise.
4516 * libio/ioseekoff.c: Likewise.
4517 * libio/ioseekpos.c: Likewise.
4518 * libio/iosetbuffer.c: Likewise.
4519 * libio/iosetvbuf.c: Likewise.
4520 * libio/ioungetc.c: Likewise.
4521 * libio/ioungetwc.c: Likewise.
4522 * libio/iovdprintf.c: Likewise.
4523 * libio/iovsprintf.c: Likewise.
4524 * libio/iovsscanf.c: Likewise.
4525 * libio/memstream.c: Likewise.
4526 * libio/obprintf.c: Likewise.
4527 * libio/oldfileops.c: Likewise.
4528 * libio/oldiofclose.c: Likewise.
4529 * libio/oldiofdopen.c: Likewise.
4530 * libio/oldiofopen.c: Likewise.
4531 * libio/oldiopopen.c: Likewise.
4532 * libio/oldstdfiles.c: Likewise.
4533 * libio/putc.c: Likewise.
4534 * libio/setbuf.c: Likewise.
4535 * libio/setlinebuf.c: Likewise.
4536 * libio/stdfiles.c: Likewise.
4537 * libio/strops.c: Likewise.
4538 * libio/vasprintf.c: Likewise.
4539 * libio/vscanf.c: Likewise.
4540 * libio/vsnprintf.c: Likewise.
4541 * libio/vswprintf.c: Likewise.
4542 * libio/wfiledoalloc.c: Likewise.
4543 * libio/wfileops.c: Likewise.
4544 * libio/wgenops.c: Likewise.
4545 * libio/wmemstream.c: Likewise.
4546 * libio/wstrops.c: Likewise.
4547 * libio/__fpurge.c: Likewise.
4548 * libio/__fsetlocking.c: Likewise.
4549 * assert/assert.c: Likewise.
4550 * debug/fgets_chk.c: Likewise.
4551 * debug/fgets_u_chk.c: Likewise.
4552 * debug/fread_chk.c: Likewise.
4553 * debug/fread_u_chk.c: Likewise.
4554 * debug/gets_chk.c: Likewise.
4555 * debug/obprintf_chk.c: Likewise.
4556 * debug/vasprintf_chk.c: Likewise.
4557 * debug/vdprintf_chk.c: Likewise.
4558 * debug/vsnprintf_chk.c: Likewise.
4559 * debug/vsprintf_chk.c: Likewise.
4560 * malloc/mtrace.c: Likewise.
4561 * misc/error.c: Likewise.
4562 * misc/syslog.c: Likewise.
4563 * stdio-common/asprintf.c: Likewise.
4564 * stdio-common/fxprintf.c: Likewise.
4565 * stdio-common/getw.c: Likewise.
4566 * stdio-common/isoc99_fscanf.c: Likewise.
4567 * stdio-common/isoc99_scanf.c: Likewise.
4568 * stdio-common/isoc99_vfscanf.c: Likewise.
4569 * stdio-common/isoc99_vscanf.c: Likewise.
4570 * stdio-common/isoc99_vsscanf.c: Likewise.
4571 * stdio-common/printf-prs.c: Likewise.
4572 * stdio-common/printf_fp.c: Likewise.
4573 * stdio-common/printf_fphex.c: Likewise.
4574 * stdio-common/printf_size.c: Likewise.
4575 * stdio-common/putw.c: Likewise.
4576 * stdio-common/scanf.c: Likewise.
4577 * stdio-common/sprintf.c: Likewise.
4578 * stdio-common/tmpfile.c: Likewise.
4579 * stdio-common/vfprintf.c: Likewise.
4580 * stdio-common/vfscanf.c: Likewise.
4581 * stdlib/strfmon_l.c: Likewise.
4582 * sunrpc/openchild.c: Likewise.
4583 * sunrpc/xdr_stdio.c: Likewise.
4584 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
4585 * sysdeps/mach/hurd/tmpfile.c: Likewise.
4586
d6c33fda
RM
45872012-05-24 Roland McGrath <roland@hack.frob.com>
4588
c1487492
RM
4589 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4590
4591 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
4592 in the third column, to generate for the shared library an IFUNC
4593 that uses _dl_vdso_vsym.
4594 * Makerules (COMPILE.c, compile-stdin.c): New variables.
4595 * Makeconfig (object-suffixes-noshared): New variable.
4596
4597 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
4598 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
4599 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
4600 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
4601
d6c33fda
RM
4602 [BZ #14132]
4603 * include/sys/time.h (__gettimeofday): Remove macro.
4604 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
4605 * time/gettimeofday.c (__gettimeofday): Remove #undef.
4606 Remove INTDEF.
4607 (__gettimeofday): Add libc_hidden_def.
4608 (gettimeofday): Add libc_hidden_weak.
4609 * sysdeps/mach/gettimeofday.c: Likewise.
4610 * sysdeps/posix/gettimeofday.c: Likewise.
4611 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4612 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4613 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
4614 (__gettimeofday_internal): Remove strong_alias.
4615 (__gettimeofday): Add libc_hidden_def.
4616 (gettimeofday): Add libc_hidden_weak.
4617 * sysdeps/unix/syscalls.list (gettimeofday):
4618 Remove __gettimeofday_internal alias.
4619
b5a2bbe6
L
46202012-05-24 Daniel Jacobowitz <drow@false.org>
4621 H.J. Lu <hongjiu.lu@intel.com>
4622
4623 [BZ #12495]
4624 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
4625 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
4626 (largebin_index_32_big): New.
4627 (largebin_index): Use it for 16-byte alignment.
4628 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
4629 correction with front_misalign.
4630
cfba4fda
L
46312012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4632
7f907421
L
4633 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
4634 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4635 Likewise.
4636 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
4637 Likewise.
4638 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
4639 Likewise.
4640 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
4641 Likewise.
4642 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
4643 Likewise.
4644 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
4645 Likewise.
4646 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
4647 Likewise.
4648 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4649 Likewise.
4650 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
4651 Likewise.
4652 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
4653 Likewise.
4654 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4655 Likewise.
4656 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
4657 Likewise.
4658
cfba4fda
L
4659 * scripts/data/c++-types-x32-linux-gnu.data: New file.
4660 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
4661
80bad0cc
JM
46622012-05-24 Joseph Myers <joseph@codesourcery.com>
4663
7a25eb06
JM
4664 [BZ #10846]
4665 [BZ #14036]
4666 * math/libm-test.inc (exp_test): Add test from bug 14036.
4667 (pow_test): Add test from bug 10846.
4668
795405f9
JM
4669 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
4670 and other flags.
4671 (special_function): Do not include flags in test name.
4672 (parse_args): Likewise.
4673 * sysdeps/i386/fpu/libm-test-ulps: Update.
4674 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4675 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4676 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4678
80bad0cc
JM
4679 * math/gen-libm-test.pl (%beautify): Add entries for underflow
4680 exceptions.
4681 * math/libm-test.inc ("Philosophy"): Update comment about
4682 exception testing.
4683 (UNDERFLOW_EXCEPTION): New macro.
4684 (UNDERFLOW_EXCEPTION_OK): Likewise.
4685 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4686 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4687 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4688 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4689 (INVALID_EXCEPTION_OK): Update value.
4690 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4691 (OVERFLOW_EXCEPTION_OK): Likewise.
4692 (IGNORE_ZERO_INF_SIGN): Likewise.
4693 (test_exceptions): Handle underflow exceptions.
4694 (acos_test): Update for underflow exception expectations.
4695 (cexp_test): Likewise.
4696 (clog_test): Likewise.
4697 (clog10_test): Likewise.
4698 (csqrt_test): Likewise.
4699 (ctan_test): Likewise.
4700 (ctanh_test): Likewise.
4701 (exp_test): Likewise.
4702 (exp10_test): Likewise.
4703 (exp2_test): Likewise.
4704 (expm1_test): Likewise.
4705 (fma_test): Likewise.
4706 (j0_test): Likewise.
4707 (jn_test): Likewise.
4708 (nexttoward_test): Likewise.
4709 (pow_test): Likewise.
4710 (scalbn_test): Likewise.
4711 (scalbln_test): Likewise.
4712 (tan_test): Likewise.
4713 (y1_test): Likewise.
4714 * sysdeps/i386/fpu/libm-test-ulps: Update.
4715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4716
9e0e3d0b
DM
47172012-05-23 David S. Miller <davem@davemloft.net>
4718
4719 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4720 (__libc_sigaction): Remove unused local variables.
4721
ccd0a08f
L
47222012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4723
4724 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
4725
62bdf9a6
PE
47262012-05-23 Paul Eggert <eggert@cs.ucla.edu>
4727
f8591f80
PE
4728 mktime: avoid signed integer overflow
4729 * time/mktime.c (__mktime_internal): Do not mishandle the case
4730 where diff == INT_MIN.
4731
94c7d826
PE
4732 mktime: simplify computation of average
4733 * time/mktime.c (ranged_convert): Use new time_t_avg function
4734 instead of rolling our own (probably-slower) code.
4735
ce73d683
PE
4736 mktime: do not assume signed right shift propagates sign bit
4737 * time/mktime.c (isdst_differ): New static function.
4738 (__mktime_internal): No need to normalize tm_isdst now.
4739 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
4740 tm_isdst values.
4741
72a22e59
PE
4742 mktime: merge another wrapv change from gnulib
4743 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
4744 from some compilers.
4745
68605433
PE
4746 mktime: remove incorrect attempt at unusual arithmetics
4747 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
4748 The code didn't really work on such machines anyway.
4749 (TYPE_MINIMUM): Assume two's complement.
4750 (twos_complement_arithmetic): Verify that long_int and time_t
4751 are two's complement (or unsigned, in the latter case).
4752
03cf7fe3
PE
4753 mktime: check signed shifts on long_int and time_t, too
4754 * time/mktime.c (SHR): Check that shifts work as desired
4755 on the types long_int and time_t too, as SHR is used on
4756 such types.
4757
f04dfbc2
PE
4758 mktime: do not assume 'long' is wide enough
4759 * time/mktime.c (verify): Move decl up.
4760 (long_int): New type.
4761 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
4762 to remove assumption in the code that 'long' is wide enough to
4763 store year values. This assumption is not true on x32 and on
4764 some non-glibc platforms.
4765
62bdf9a6
PE
4766 mktime: merge wrapv change from gnulib
4767 * time/mktime.c (WRAPV): New macro.
4768 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
4769 (guess_time_tm, __mktime_internal): Do not assume that signed
4770 integer overflow wraps around; modern compilers generate code
4771 where this assumption is no longer valid.
4772
5e292e4f
L
47732012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4774
4775 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4776 Replace "jmp L(pseudo_end)" with "ret".
4777 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
4778 Likewise.
4779
8caf8c87
AJ
47802012-05-23 Andreas Jaeger <aj@suse.de>
4781
4782 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
4783 * sysdeps/unix/sysv/linux/poll.c: Remove file.
4784
1a09dc56
AJ
47852012-05-23 Andreas Jaeger <aj@suse.de>
4786 Maximilian Attems <max@stro.at>
4787
4788 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
4789 New macros.
4790
1c87aba0
L
47912012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4792
4793 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
4794 code so that pseudo_end is just ret and the stack pointer is
4795 correct also for static library in error case.
4796
40e45bd5
JM
47972012-05-23 Joseph Myers <joseph@codesourcery.com>
4798
c2670533
JM
4799 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
4800 move to syscalls.list.
4801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4805
40e45bd5
JM
4806 * manual/install.texi (Running make install): Do not mention Linux
4807 kernel version for which pt_chown is not needed.
4808 (Linux): Do not mention problems with nscd with 2.0 kernels.
4809 * INSTALL: Regenerated.
4810
be08eda5
AJ
48112012-05-23 Andreas Jaeger <aj@suse.de>
4812
4813 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
4814 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
4815 macro.
4816 * sysdeps/unix/sysv/linux/s390/bits/mman.h
4817 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4818 * sysdeps/unix/sysv/linux/sh/bits/mman.h
4819 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4820 * sysdeps/unix/sysv/linux/i386/bits/mman.h
4821 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4822 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
4823 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4824 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
4825 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4826 * sysdeps/unix/sysv/linux/bits/in.h
4827 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
4828
a6a056bb
RM
48292012-05-22 Roland McGrath <roland@hack.frob.com>
4830
4831 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
4832 (PREPARE_VERSION): Just use assert instead, it will be elided
4833 under [NDEBUG] anyway.
4834
c9009328
L
48352012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4836
4837 * sysdeps/unix/sysv/linux/Makefile: Include
4838 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 4839 (sysdep_routines): Remove sysctl.
c9009328
L
4840 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
4841 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
4842 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
4843 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
4844 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
4845
73338355
AJ
48462012-05-22 Andreas Jaeger <aj@suse.de>
4847
4848 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
4849 that pseudo_end is just ret and the stack pointer is correct also
4850 for static library in error case.
4851
d44638b0
PP
48522012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4853
4854 [BZ #14122]
4855 * nss/nsswitch.c (defconfig_entries): New variable.
4856 (__nss_database_lookup): Don't leak defconfig entries.
4857 (nss_parse_service_list): Don't leak on error paths.
4858 (free_database_entries): New function.
4859 (free_defconfig): New function.
4860 (free_mem): Move common code to free_database_entries.
4861
31a39bd8
L
48622012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4863
da0331a8
L
4864 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
4865 Add arch_prctl.
4866 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
4867
31a39bd8
L
4868 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4869 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
4870 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
4871 New macro.
4872 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
4873 (INTERNAL_SYSCALL_TYPES): Likewise.
4874 (LOAD_ARGS_TYPES_[1-6]): Likewise.
4875 (LOAD_REGS_TYPES_[1-6]): Likewise.
4876 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
4877 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
4878
45470df3
AZ
48792012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4880
4881 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
4882 copysignl for GLIBC_2_0.
4883 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
4884 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
4885 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
4886 logbl for GLIBC_2_0.
4887 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4888 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4889
98a61bcb
L
48902012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4891
a4f6e481
L
4892 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
4893 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4894
f63d5db6
L
4895 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4896 Use "neg %eax".
4897
98a61bcb
L
4898 * time/mktime.c: Update copyright years.
4899
95770f14
PE
49002012-05-22 Paul Eggert <eggert@cs.ucla.edu>
4901
6226efbd
PE
4902 mktime: merge comment-quoting-style change from gnulib
4903 * time/mktime.c: Quote 'like this' in comments.
4904 The GNU coding standards suggest that we no longer quote `like this',
4905 as "`" and "'" are typically rendered asymmetrically nowadays.
4906 The typical gnulib style is to quote 'like this' when quoting
4907 code, and "like this" when quoting English.
4908
b99e4f78
PE
4909 * time/mktime.c (compile-command): Add "-I.".
4910
643e01e6
PE
4911 mktime: merge mktime-internal.h change from gnulib
4912 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
4913
2554247d
PE
4914 mktime: merge time_r change from gnulib
4915 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
4916
826dd0ab
PE
4917 mktime: merge DEBUG change from gnulib
4918 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
4919 case system <time.h> has a #define.
4920
bd83aabe
PE
4921 mktime: merge <sys/types.h> change from gnulib
4922 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
4923 since <time.t> is now guaranteed to define time_t.
4924
95770f14
PE
4925 mktime: merge HAVE_CONFIG_H change from gnulib
4926 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
4927
5e1a27a9
L
49282012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4929
0e44a77e
L
4930 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4931 Use "neg %eax".
4932
5e1a27a9
L
4933 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
4934 __rlim_t cast.
4935 (struct rusage): Use anonymous union to pad each field to
4936 __syscall_slong_t.
4937
46259bec
DM
49382012-05-21 David S. Miller <davem@davemloft.net>
4939
4940 * Makefules (o-iterator): Remove .s cases.
4941 (compile-command.s): Delete.
4942 (COMPILE.s): Delete.
4943 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
4944
59f0c22e
JM
49452012-05-21 Joseph Myers <joseph@codesourcery.com>
4946
4947 * configure.in (libc_cv_predef_stack_protector): Only consider
4948 "foobar" and "__stack_chk_fail" lines in libc_undefs.
4949 * configure: Regenerated.
4950
20c07380
L
49512012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4952
bbb3154b
L
4953 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4954 New macro. Use R*LP on int and pointer.
4955 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
4956 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
4957 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
4958 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
4959
20c07380
L
4960 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
4961 [__WORDSIZE_TIME64_COMPAT32] instead of
4962 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
4963 (struct utmp): Likewise.
4964 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
4965 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
4966 Renamed to ...
4967 (__WORDSIZE_TIME64_COMPAT32): This.
4968 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4969 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4970 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4971 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4972 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
4973 (__WORDSIZE_TIME64_COMPAT32): New macro.
4974
d8d1017e
AJ
49752012-05-21 Andreas Jaeger <aj@suse.de>
4976
4977 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
4978 only if [SHARED]. Add prototype for __wcschr_ia32.
4979
6c7fb145
RM
49802012-05-21 Roland McGrath <roland@hack.frob.com>
4981
4982 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
4983 of %rbp unmolested in the jmp_buf while mangling the low bits.
4984 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
4985 unmolested high bits of %rbp while demangling the low bits.
4986 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4987
66274218
AJ
49882012-05-21 Andreas Jaeger <aj@suse.de>
4989
07c58f8f
AJ
4990 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
4991 * sunrpc/svc_simple.c: Use it for registerrpc.
4992 * sunrpc/xcrypt.c: Use it for passwd2des.
4993
66274218
AJ
4994 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
4995
61f65140
L
49962012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4997
4998 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
4999 Don't define if [__SYSCALL_WORDSIZE != 32].
5000 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
5001 New macro.
5002
5fefb436
AJ
50032012-05-21 Bruno Haible <bruno@clisp.org>
5004 Andreas Jaeger <aj@suse.de>
5005
5006 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
5007 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
5008 inptr and inend for must_buffer_ch.
5009 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
5010 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
5011 * stdio-common/Makefile (tests): Remove bug15.
5012 (bug15-ENV): Remove macro.
5013 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
5014 anymore.
5015
d8e272ab
AJ
50162012-05-19 Andreas Jaeger <aj@suse.de>
5017 Roland McGrath <roland@hack.frob.com>
5018
5019 * manual/contrib.texi: Completely rewritten. It contains now an
5020 alphabetical list of contributors and their contributions.
5021
4a56a162
RH
50222012-05-21 Richard Henderson <rth@twiddle.net>
5023
5024 * misc/getauxval.c (__getauxval): Use unsigned long int.
5025 * misc/sys/auxv.h: Include <sys/cdefs.h>.
5026 (getauxval): Use unsigned long int.
5027
d024d23c
L
50282012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5029
5030 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5031
cbc00a03
RM
50322012-05-21 Roland McGrath <roland@hack.frob.com>
5033
5034 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
5035 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
5036 __alignof__ (long double).
5037
478143fa
AZ
50382012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5039
5040 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5041
c7683a6d
RH
50422012-05-20 Richard Henderson <rth@twiddle.net>
5043
5044 * misc/getauxval.c: New file.
5045 * misc/sys/auxv.h: New file.
5046 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
5047 (routines): Add getauxval.
5048 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
5049 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
5050 * elf/dl-sysdep.c (_dl_auxv): Remove.
5051 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
5052 * elf/dl-support.c (_dl_auxv): New variable.
5053 (_dl_aux_init): Initialize it.
5054 * manual/startup.texi (Auxiliary Vector): New node.
5055 * sysdeps/generic/bits/hwcap.h: New file.
5056 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
5057 * sysdeps/powerpc/sysdep.h: ... here. Include it.
5058 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
5059 * sysdeps/sparc/sysdep.h: ... here. Include it.
5060 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
5061 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
5062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5063 Update.
c7683a6d
RH
5064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
5065 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
5066 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
5067 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
5068 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5069 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5070 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
5071 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
5072
a6f1845d
AZ
50732012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5074
5075 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5076
cbcbe830
DM
50772012-05-19 David S. Miller <davem@davemloft.net>
5078
5079 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5080
e0b16cc2
JM
50812012-05-19 Joseph Myers <joseph@codesourcery.com>
5082
5083 [BZ #14123]
5084 * math/s_ccosh.c: Include <float.h>
5085 (__ccosh): Avoid internal overflow calculating sinh and cosh
5086 values before multiplying by sin and cos values.
5087 * math/s_ccoshf.c: Likewise.
5088 * math/s_ccoshl.c: Likewise.
5089 * math/s_csin.c: Likewise.
5090 * math/s_csinf.c: Likewise.
5091 * math/s_csinl.c: Likewise.
5092 * math/s_csinh.c: Likewise.
5093 * math/s_csinhf.c: Likewise.
5094 * math/s_csinhl.c: Likewise.
5095 * math/libm-test.inc (ccos_test): Add more tests.
5096 (ccosh_test): Likewise.
5097 (csin_test): Likewise.
5098 (csinh_test): Likewise.
5099 * sysdeps/i386/fpu/libm-test-ulps: Update.
5100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5101
6ad13e08
L
51022012-05-19 H.J. Lu <hongjiu.lu@intel.com>
5103
f66f0ce8
L
5104 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
5105 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
5106
6ad13e08
L
5107 * sysdeps/x86_64/x32/_itoa.h: Add comment.
5108
b1d072a7
JM
51092012-05-19 Joseph Myers <joseph@codesourcery.com>
5110
5111 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
5112 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
5113 * sysdeps/powerpc/soft-fp/Versions: Likewise.
5114 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
5115 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
5116 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
5117 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
5118 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
5119 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
5120 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
5121 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
5122 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
5123 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
5124 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
5125 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
5126 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
5127 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
5128 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
5129 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
5130 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
5131 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
5132 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
5133 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
5134 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
5135 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
5136 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
5137 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
5138 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
5139 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
5140 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
5141 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
5142
9eae47cb
AJ
51432012-05-18 Andreas Jaeger <aj@suse.de>
5144
5145 * csu/.gitignore: Delete.
5146
bb07f69f
L
51472012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5148
5149 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
5150 (timex): Use __syscall_slong_t.
5151
e6bdb741
AJ
51522012-05-18 Andreas Jaeger <aj@suse.de>
5153 Carlos O'Donell <carlos_odonell@mentor.com>
5154
5155 * manual/install.texi (Configuring and compiling): Update
5156 description about files modified in the source directory.
d6c33fda 5157 * INSTALL: Regenerated.
e6bdb741 5158
1b74487e
L
51592012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5160
5161 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
5162 value. Use "or" to set return value to -1.
5163 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
5164 negate return value.
5165
a88b64b9
TMQMF
51662012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5167
5168 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
5169 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
5170 failure if the compiler has Graphite support disabled.
5171 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
5172 Likewise.
5173 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
5174 CFLAGS-memmove.c): Likewise.
5175 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
5176 Likewise.
5177
3707636e
L
51782012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5179
610b8622
L
5180 * sysdeps/x86_64/x32/_itoa.h: New file.
5181
7cd195df
L
5182 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
5183 getdents system call only if kernel and user dirents have the
5184 same d_ino and d_off.
5185
94b07d20
L
5186 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5187 LLONG_MAX != LONG_MAX.
5188 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5189 (_fitoa_word): Likewise.
5190
18298070
L
5191 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
5192 years.
5193 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
5194 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
5195 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
5196
553c7ea4
L
5197 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
5198 include <bits/wordsize.h>. Check __x86_64__ instead of
5199 __WORDSIZE.
5200 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
5201 if __x86_64__ is defined. Use anonymous union on fpstate.
5202
3707636e
L
5203 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
5204 anonymous union.
5205
b53ef01a
AS
52062012-05-18 Andreas Schwab <schwab@linux-m68k.org>
5207
37fb1dc0
AS
5208 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5209 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
5210 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
5211 Refer to _rtld_local_ro instead of _rtld_global_ro.
5212 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
5213 Likewise.
5214 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
5215 Likewise.
5216 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
5217 Likewise.
5218 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
5219 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
5220 of _rtld_global, and rtld_progname instead of _dl_argv[0].
5221
b53ef01a
AS
5222 * sysdeps/powerpc/powerpc32/dl-machine.c
5223 (__elf_machine_runtime_setup) [PROF]: Don't reference
5224 _dl_prof_resolve.
5225
7a185db2
AJ
52262012-05-18 Andreas Jaeger <aj@suse.de>
5227
5228 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
5229 function only available for GCCs before 3.4 since GCC 3.4
5230 introduced a builtin.
5231 (lrint): Likewise.
5232 (llrintf): Likewise.
5233 (llrint): Likewise.
5234 (fmaxf): Likewise.
5235 (fmax): Likewise.
5236 (fminf): Likewise.
5237 (fmin): Likewise.
5238 (rint): Likewise.
5239 (rintf): Likewise.
5240 (nearbyint): Likewise.
5241 (nearbyintf): Likewise.
5242 (ceil): Likewise.
5243 (ceilf): Likewise.
5244 (floor): Likewise.
5245 (floorf): Likewise.
5246
3e5aef87
L
52472012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5248
428bd707
L
5249 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
5250 on both fields and cast pointer to __syscall_ulong_t.
5251
3e5aef87
L
5252 * bits/types.h (__fsword_t): New type.
5253 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
5254 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
5255 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5256 (__FSWORD_T_TYPE): Likewise.
5257 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5258 (__FSWORD_T_TYPE): Likewise.
5259 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5260 (__FSWORD_T_TYPE): Likewise.
5261 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
5262 (__FSWORD_T_TYPE): Likewise.
5263 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
5264 __SWORD_TYPE with __fsword_t.
5265 (statfs64): Likewise.
5266
1ba7c3dc
DM
52672012-05-17 David S. Miller <davem@davemloft.net>
5268
5269 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
5270
59910343
AJ
52712012-05-17 Andreas Jaeger <aj@suse.de>
5272
5273 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
5274 warning.
5275
2e4c1e9e
L
52762012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5277
5278 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
5279
de7f5ce7
AJ
52802012-05-17 Andreas Jaeger <aj@suse.de>
5281
5282 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
5283 when it is used.
5284
286abc3d
CM
52852012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5286
5287 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
5288
477cc68e
L
52892012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5290
5291 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
5292 * sysdeps/x86_64/tst-mallocalign1.c: New file.
5293
1a0994f5
CD
52942012-05-17 Andreas Jaeger <aj@suse.de>
5295 Carlos O'Donell <carlos_odonell@mentor.com>
5296
5297 [BZ #14059]
5298 * sysdeps/x86_64/multiarch/init-arch.h
5299 (bit_YMM_Usable): Rename to...
5300 (bit_AVX_Usable): ... this.
5301 (bit_FMA4_Usable): New macro.
5302 (bit_XMM_state): New macro.
5303 (bit_YMM_state): New macro.
5304 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
5305 [__ASSEMBLER__] (index_AVX_Usable): ... this.
5306 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
5307 (CPUID_OSXSAVE): New macro.
5308 (CPUID_AVX): New macro.
5309 (CPUID_FMA4): New macro.
5310 (index_YMM_Usable): Rename to...
5311 (index_AVX_Usable): ... this.
5312 (HAS_AVX): Use HAS_ARCH_FEATURE.
5313 (HAS_FMA4): Likewise.
5314 (HAS_YMM_USABLE): Remove.
5315 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5316 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
5317 are present.
5318 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
5319 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
5320 * sysdeps/x86_64/multiarch/Makefile: Likewise.
5321 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
5322 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
5323
0af797de
CM
53242012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5325
5326 * math/libm-test.c: Support platforms without multiple rounding modes.
5327 * math/bug-nextafter.c: Support platforms without FP exceptions.
5328 * math/bug-nexttoward.c: Likewise.
5329 * math/test-fenv.c: Likewise.
5330 * math/test-misc.c: Likewise.
5331 * stdlib/bug-getcontext.c: Likewise.
5332
e39745ff
AJ
53332012-05-17 Andreas Jaeger <aj@suse.de>
5334
5335 * manual/examples/search.c (critter_cmp): Change signature to
5336 avoid warnings.
5337 * manual/string.texi (Collation Functions): Likewise.
5338
48970aba
L
53392012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5340
5341 * bits/types.h: Fold copyright years.
5342 * bits/typesizes.h: Likewise.
5343 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
5344 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5345 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
5346 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
5347 * time/time.h: Likewise.
5348
bedee953
PP
53492012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
5350
5351 [BZ #208]
5352 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
5353 in instead of returning them. Return void.
5354 (__libc_mallinfo): Accumulate over all arenas.
5355 (__malloc_stats): Adjust for change in int_mallinfo interface.
5356
61653dfb
RM
53572012-05-16 Roland McGrath <roland@hack.frob.com>
5358
30b99d79
RM
5359 [BZ #10375]
5360 * configure.in (NM): Add AC_CHECK_TOOL for it.
5361 (libc_extra_cflags): New substituted variable.
5362 Check for -fstack-protector being used implicitly.
5363 * configure: Regenerated.
5364 * config.make.in (config-extra-cflags): New variable,
5365 gets @libc_extra_cflags@.
5366 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
5367
61653dfb
RM
5368 [BZ #10375]
5369 * configure.in: Check for _FORTIFY_SOURCE being predefined.
5370 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
5371 * configure: Regenerated.
5372 * config.make.in (CPPUNDEFS): New substituted variable.
5373 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
5374 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
5375 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
5376
661768bb
L
53772012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5378
5379 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
5380 (mq_attr): Use __syscall_slong_t.
5381
d4261567
L
53822012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5383
5384 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
5385 Check __x86_64__ instead of __WORDSIZE.
5386 (_STAT_VER_LINUX): Likewise.
5387 (stat): Check __x86_64__ instead of __WORDSIZE. Use
5388 __syscall_ulong_t and __syscall_slong_t.
5389 (stat64): Likewise.
5390
cf3ff365
L
53912012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5392
5393 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
5394
76cf3e4d
L
53952012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5396
5397 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
5398
a637753a
L
53992012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5400
5401 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
5402 __syscall_ulong_t.
5403
d5e05119
L
5404 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
5405 include <bits/wordsize.h>. Check __x86_64__ instead of
5406 __WORDSIZE.
5407 (greg_t): Use "__extension__ long long int" if __x86_64__ is
5408 defined.
5409 (mcontext_t): Replace "unsigned long" with "unsigned long long".
5410
f62ee380
L
5411 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
5412 include <bits/wordsize.h>. Check __x86_64__ instead of
5413 __WORDSIZE.
5414 (user_regs_struct): Use "__extension__ unsigned long long"
5415 instead of "unsigned long" if __x86_64__ is defined.
5416 (user): Likewise. Pad after pointer field if __ILP32__ is
5417 defined.
5418
4e124ced
JM
54192012-05-16 Joseph Myers <joseph@codesourcery.com>
5420
6a3951a0
JM
5421 * configure.in (makeinfo): Require version 4.5 or later. Allow
5422 versions 5 to 9.
5423 * configure: Regenerated.
5424 * manual/install.texi (texinfo): Increase version requirement to
5425 4.5 or later.
5426 * INSTALL: Regenerated.
5427
4e124ced
JM
5428 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
5429
953ca31a
L
54302012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5431
5432 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
5433
617aca05
L
5434 * sysdeps/x86_64/x32/ffs.c: New file.
5435
5762f7ae
L
5436 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
5437 __syscall_ulong_t.
5438 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
5439 defined. Use __syscall_ulong_t.
5440 (shminfo): Use __syscall_ulong_t.
5441 (shm_info): Likewise.
5442
a26b6856
L
5443 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
5444 __syscall_ulong_t.
5445
cb2b9ef7
L
5446 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
5447 <bits/wordsize.h>.
5448 (msgqnum_t): Use __syscall_ulong_t.
5449 (msglen_t): Likewise.
5450 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
5451 __syscall_ulong_t.
5452
34683bb0
L
5453 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
5454 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5455
84a68786
L
5456 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
5457
48baa5f1
L
5458 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
5459 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
5460
180be88b
L
5461 * sysvipc/sys/msg.h (msgbuf): Replace long int with
5462 __syscall_slong_t.
5463
5e90c8ad
L
5464 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
5465 include <bits/wordsize.h>. Check __x86_64__ instead of
5466 __WORDSIZE.
5467
23dfb58b
L
5468 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
5469 "unsigned long long int" if __x86_64__ is defined.
5470 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
5471
ce5d54b0
L
5472 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
5473 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5474 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
5475
13dc9eac
L
5476 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
5477 <stdint.h>.
5478 (GET_PC): Cast to uintptr_t first.
5479 (GET_FRAME): Likewise.
5480 (GET_STACK): Likewise.
5481
a7895d15
L
5482 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
5483 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
5484 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
5485 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
5486 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
5487 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
5488 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
5489 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
5490 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
5491 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
5492 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
5493 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
5494 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5495 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
5496 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
5497 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
5498 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
5499 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
5500 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
5501 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
5502 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
5503 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
5504 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
5505 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
5506 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
5507 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
5508 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
5509 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
5510 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
5511
656416c9
AS
55122012-05-16 Andreas Schwab <schwab@linux-m68k.org>
5513
5bd66283
AS
5514 * Makerules (+depfiles): Also collect depfiles from .oS in
5515 $(extra-objs).
5516 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
5517 .oS, $(libnldbl-routines)).
5518
656416c9
AS
5519 * Makerules (native-compile-mkdep-flags): Define.
5520 * sunrpc/Makefile (extra-objs): Add $(addprefix
5521 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
5522 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
5523 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
5524 calling $(make-target-directory).
5525
a46f2169
L
55262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5527
5528 * bits/types.h (__snseconds_t): Removed.
5529 * time/time.h (struct timespec): Replace __snseconds_t with
5530 __syscall_slong_t.
5531 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
5532 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
5533 Likewise.
5534 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5535 (__SNSECONDS_T_TYPE): Likewise.
5536 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5537 (__SNSECONDS_T_TYPE): Likewise.
5538 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5539 (__SNSECONDS_T_TYPE): Likewise.
5540
6af6528b
L
55412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5542
5543 * sysdeps/mach/hurd/bits/typesizes.h
5544 (__SYSCALL_SLONG_TYPE): New macro.
5545 (__SYSCALL_ULONG_TYPE): Likewise.
5546
de986b56
L
55472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5548
5549 * bits/types.h (__syscall_slong_t): New type.
5550 (__syscall_ulong_t): Likewise.
5551
5552 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
5553 (__SYSCALL_ULONG_TYPE): Likewise.
5554 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5555 (__SYSCALL_SLONG_TYPE): Likewise.
5556 (__SYSCALL_ULONG_TYPE): Likewise.
5557 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5558 (__SYSCALL_SLONG_TYPE): Likewise.
5559 (__SYSCALL_ULONG_TYPE): Likewise.
5560 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5561 (__SYSCALL_SLONG_TYPE): Likewise.
5562 (__SYSCALL_ULONG_TYPE): Likewise.
5563
85736dc7
L
55642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5565
5566 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
5567 Add sigaltstack-offsets.sym.
5568 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
5569 <sigaltstack-offsets.h>.
5570 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
5571 longjmp_msg pointer.
5572 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
5573 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
5574 signal stack.
5575 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
5576
cc03b296
JM
55772012-05-15 Joseph Myers <joseph@codesourcery.com>
5578
a9538892
JM
5579 * elf/stackguard-macros.h: Remove file.
5580 * sysdeps/generic/stackguard-macros.h: New file.
5581 * sysdeps/i386/stackguard-macros.h: Likewise.
5582 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5583 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5584 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5585 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5586 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5587 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5588 * sysdeps/x86_64/stackguard-macros.h: Likewise.
5589 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
5590 <elf/stackguard-macros.h>.
5591
cc03b296
JM
5592 [BZ #14109]
5593 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
5594 __aligned__ in attribute.
5595 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
5596 (gregset_t): Likewise.
5597
93171016
L
55982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5599
5600 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
5601 * sysdeps/x86_64/64/Implies-after: Here. New file.
5602 * sysdeps/x86_64/x32/Implies-after: New file.
5603
d86813a0
L
56042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5605
5606 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
5607 and access return value for _dl_profile_fixup. Use R10_LP to
5608 load frame size.
5609
2953ec75
L
56102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5611
5612 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
5613
3b550e9e
L
56142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5615
5616 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
5617 * sysdeps/x86_64/x32/sysdep.h: New file.
5618
eda41706
L
56192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5620
5621 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
5622 * sysdeps/x86_64/setjmp.S: Likewise.
5623
9ea01d93
AZ
56242012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5625
5626 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
5627 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
5628 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
5629 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
5630 remove unused global constant.
5631
02a91938
CM
56322012-05-15 Chris Metcalf <cmetcalf@tilera.com>
5633
5634 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
5635 include of <not-cancel.h>.
5636
6540185f
RM
56372012-05-15 Roland McGrath <roland@hack.frob.com>
5638
5639 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
5640
509072a0
AJ
56412012-05-15 Jeff Law <law@redhat.com>
5642 Andreas Jaeger <aj@suse.de>
5643
5644 [BZ #13594]
5645 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
5646 out from...
5647 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
5648 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
5649 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
5650 code changing __hst_map_handle.map.
5651
ba75122d
RM
56522012-05-15 Roland McGrath <roland@hack.frob.com>
5653
5654 * configure.in (sysnames): Look for Implies-before and Implies-after
5655 files.
5656 * configure: Regenerated.
5657
890d8bd8
L
56582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5659
5660 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
5661 8-byte data alignment with LP_SIZE alignment.
5662
f6ee6623
L
56632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5664
5665 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
5666 into R10_LP.
5667
ea2626f6
L
56682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5669
5670 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
5671
085f715e
L
56722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5673
5674 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
5675 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
5676 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
5677 Likewise.
5678 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5679
be8498fc
L
56802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5681
5682 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
5683 (stackinfo_sub_sp): Likewise.
5684
70bc83b9
L
56852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5686
5687 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
5688 RAX_LP.
5689
9bc0b730
L
56902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5691
5692 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
5693 into R*_LP.
5694
6d2850e7
L
56952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5696
5697 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
5698 sizes into R*_LP.
5699
3cb84561
L
57002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5701
5702 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
5703
54e2ed81
L
57042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5705
5706 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
5707 into R11_LP and load __x86_64_shared_cache_size_half into
5708 R8_LP.
5709
8a17f349
L
57102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5711
5712 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
5713 R8_LP.
5714
777b1eea
AZ
57152012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5716
5717 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
5718 logb for POWER7.
5719 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
5720 logbf for POWER7.
5721 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
5722 logbl for POWER7.
5723 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
5724 powerpc32/power7/fpu/s_logb.c via #include.
5725 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
5726 powerpc32/power7/fpu/s_logbf.c via #include.
5727 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
5728 powerpc32/power7/fpu/s_logbl.c via #include.
5729
d20d4ac2
JM
57302012-05-15 Joseph Myers <joseph@codesourcery.com>
5731
5732 * README.libm: Remove file.
5733
6cdef1ab
L
57342012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5735
5736 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
5737 count for x32. Use R*_LP and omit operand-size suffix.
5738
0b254d8f
L
57392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5740
5741 * shlib-versions: Move x86_64-.*-linux.* entries to ...
5742 * sysdeps/x86_64/64/shlib-versions: Here. New file.
5743 * sysdeps/x86_64/x32/shlib-versions: New file.
5744
ceb809dc
RM
57452012-05-14 Roland McGrath <roland@hack.frob.com>
5746
5747 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
5748 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
5749 Use _dl_fatal_printf instead.
5750
37f1abd4
JM
57512012-05-14 Joseph Myers <joseph@codesourcery.com>
5752
5753 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
5754 set if not set by the user. Do not allow for being unset.
5755 * sysdeps/unix/sysv/linux/configure: Regenerated.
5756
11de3a33
L
57572012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5758
5759 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
5760 the `q' suffix from lea and replace .quad with ASM_ADDR.
5761
e02f153a
L
57622012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5763
5764 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
5765 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
5766 instead of $17.
5767 (PTR_DEMANGLE): Likewise.
5768
520ae0fd
L
57692012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5770
5771 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
5772 (LP_OP): Likewise.
5773 (ASM_ADDR): Likewise.
5774 (RAX_LP): Likewise.
5775 (RBP_LP): Likewise.
5776 (RBX_LP): Likewise.
5777 (RCX_LP): Likewise.
5778 (RDI_LP): Likewise.
5779 (RSI_LP): Likewise.
5780 (RSP_LP): Likewise.
5781 (R8_LP): Likewise.
5782 (R9_LP): Likewise.
5783 (R10_LP): Likewise.
5784 (R10_LP): Likewise.
5785 (R11_LP): Likewise.
5786 (R12_LP): Likewise.
5787 (R13_LP): Likewise.
5788 (R14_LP): Likewise.
5789 (R15_LP): Likewise.
5790
b985be81
L
57912012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5792
5793 * sysdeps/x86_64/x32/dl-machine.h: New file.
5794
6a4888ff
AJ
57952012-05-14 Andreas Jaeger <aj@suse.de>
5796
5797 * manual/Makefile (subdir): Remove export of subdir.
5798 (all): Remove target.
5799 (.PHONY): Remove all from list.
5800 (mkinstalldirs): Remove.
5801 (.PHONY): Remove installdirs from list.
5802 ($(inst_infodir)/libc.info): Use make-target-directory.
5803 (installdirs): Remove.
5804 (subdir_%): Remove.
5805 (glibc-targets): Remove.
5806 (lib): Remove.
5807 (stubs): Remove.
5808 ($(objpfx)stubs ../po/manual.pot): Remove.
5809 ($(objpfx)stamp%): Remove.
5810 (make-target-directory): Remove.
5811 (subdir_install): Remove.
5812 (routines): Remove.
5813 (aux): Remove.
5814 (sources): Remove.
5815 (objects): Remove.
5816 (headers): Remove.
5817
5818 [BZ #13750]
5819 * manual/.gitignore: Remove, it's not needed anymore.
5820 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
5821 all files in it.
5822 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
5823 directory.
5824 (texis): Renamed to $(objpfx)texis.
5825 (texis-path): New, contains path to generated files.
5826 (chapters.%): Use texis-path for complete path, add extra argument
5827 libc-texinfo.sh.
5828 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
5829 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
5830 (summary,texi, stamp-summary): Use complete path of
5831 files. Generate files in build dir.
5832 (dir-add.texi): Build in build dir.
5833 (libm-err.texi,stamp-libm-err): Likewise.
5834 (version.texi, stamp-version): Likewise.
5835 (.%c.texi): Likewise.
5836 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
5837 (mostlyclean): Remove target.
5838 (realclean): Remove target.
5839 (generated): Add new variable with contents from mostlyclean and
5840 realclean, remove entries duplicated in common-mostlyclean, add
5841 stamp-libm-err and stamp-version.
5842 (generated-dirs): Add libc directory.
5843 ($(inst_infodir)/libc.info): Install files from build dir.
5844
5845 * manual/install.texi (Configuring and compiling): Adjust since
5846 the info files are not part of the tar ball anymore.
5847
7ac77294
AJ
58482012-05-14 Andreas Jaeger <aj@suse.de>
5849
5850 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
5851 variable.
5852
ffb7875d
JM
58532012-05-14 Joseph Myers <joseph@codesourcery.com>
5854
5855 [BZ #13717]
5856 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5857 to 2.2.0 where earlier.
5858 * sysdeps/unix/sysv/linux/configure: Regenerated.
5859 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
5860 Remove conditional code.
5861 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
5862 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
5863 Remove conditional code.
5864 [!__NR_lchown]: Likewise.
5865 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5866 [__NR_lchown]: Likewise.
5867 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
5868 comment referencing __ASSUME_LCHOWN_SYSCALL.
5869 * sysdeps/unix/sysv/linux/i386/sigaction.c
5870 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5871 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5872 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
5873 Remove conditional code.
5874 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
5875 (__protocol_available): Remove #if 0 code.
5876 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
5877 conditional code.
5878 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
5879 * sysdeps/unix/sysv/linux/kernel-features.h
5880 (__ASSUME_GETCWD_SYSCALL): Don't define.
5881 (__ASSUME_REALTIME_SIGNALS): Likewise.
5882 (__ASSUME_PREAD_SYSCALL): Likewise.
5883 (__ASSUME_PWRITE_SYSCALL): Likewise.
5884 (__ASSUME_POLL_SYSCALL): Likewise.
5885 (__ASSUME_LCHOWN_SYSCALL): Likewise.
5886 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
5887 non-SPARC.
5888 (__ASSUME_SIOCGIFNAME): Don't define.
5889 (__ASSUME_MSG_NOSIGNAL): Likewise.
5890 (__ASSUME_SENDFILE): Define unconditionally.
5891 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
5892 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
5893 conditional code.
5894 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
5895 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
5896 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5897 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5898 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
5899 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5900 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
5902 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5903 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5905 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5906 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
5908 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5909 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5911 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5912 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
5914 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5915 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5917 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5918 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
5920 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5921 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5923 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5924 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5925 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
5926 Remove conditional code.
5927 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5928 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5929 Remove conditional code.
5930 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5931 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
5932 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
5933 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5934 Remove conditional code.
5935 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5936 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
5937 Remove conditional code.
5938 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5939 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
5940 Remove conditional code.
5941 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5942 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5943 Remove conditional code.
5944 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5945 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5946 Remove conditional code.
5947 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5948 * sysdeps/unix/sysv/linux/sh/pwrite64.c
5949 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5950 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5951 * sysdeps/unix/sysv/linux/sigaction.c
5952 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5953 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5954 * sysdeps/unix/sysv/linux/sigpending.c
5955 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5956 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5957 * sysdeps/unix/sysv/linux/sigprocmask.c
5958 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5959 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5960 * sysdeps/unix/sysv/linux/sigsuspend.c
5961 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5962 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5963 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5964 (__libc_missing_rt_sigs): Remove.
5965 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
5966 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
5967 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
5968 Remove conditional code.
5969 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
5970 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
5971 return 1.
5972 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
5973 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
5974 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
5975 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
5976
1bfb7291
AJ
59772012-05-14 Andreas Jaeger <aj@suse.de>
5978
caae5a81
AJ
5979 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
5980 it's not used in glibc.
5981 (__coshm1): Likewise.
5982 (__acosh1p): Likewise.
5983 (__sgn): Likewise.
5984
1bfb7291
AJ
5985 * manual/string.texi (Copying and Concatenation): Add missing
5986 variable in concat example.
5987 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5988
c044d724
L
59892012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5990
144c5467 5991 [BZ #14103]
c044d724
L
5992 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
5993 __builtin_clzl with __builtin_clzll.
5994
2523c62b
L
59952012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5996
5997 [BZ #14104]
5998 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
5999 libc_freeres_ptr.
6000
d7bb4c42
LD
60012012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6002
6003 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
6004 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
6005 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
6006 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
6007
9dc4e1fb
MF
60082012-05-14 Mike Frysinger <vapier@gentoo.org>
6009
6010 * NEWS: Update ia64 info.
6011
c7df0112
AS
60122012-05-12 Andreas Schwab <schwab@linux-m68k.org>
6013
6014 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
6015 used as bcopy.
6016
dc70356c
TS
60172012-05-12 Thomas Schwinge <thomas@codesourcery.com>
6018
6019 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
6020 * sysdeps/unix/syscalls.list (dup3): Likewise.
6021 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
6022 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
6023
9fb1a21f
L
60242012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6025
6026 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
6027 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
6028
4822a2a5
L
60292012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6030
6031 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
6032 thread pointer.
6033 (TLS_IE): Use mov/add instead of movq/addq to load thread
6034 pointer.
6035 (TLS_GD_PREFIX): New.
6036 (TLS_GD): Use it.
6037
842b81d6
DM
60382012-05-11 David S. Miller <davem@davemloft.net>
6039
6040 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
6041 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
6042 (_FPU_SETCW): Likewise.
6043
1cf463cd
L
60442012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6045
6046 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
6047 is 32-byte aligned.
6048
60cc4a18
AS
60492012-05-11 Andreas Schwab <schwab@linux-m68k.org>
6050
6051 [BZ #11837]
6052 * iconvdata/gb18030.c: Update tables.
6053 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
6054 characters specially.
6055 (BODY for TO_LOOP): Add encoding of missing ranges.
6056
febb44a4
TS
60572012-05-11 Thomas Schwinge <thomas@codesourcery.com>
6058
6059 [BZ #13673]
6060 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
6061 * sysdeps/mach/hurd/dup3.c: Likewise.
6062 * sysdeps/mach/hurd/readlinkat.c: Likewise.
6063 * sysdeps/powerpc/memmove.c:: Likewise.
6064
0a10fb9e
L
60652012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6066
6067 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
6068 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
6069
df8a552f
L
60702012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6071
6072 * elf/elf.h (R_X86_64_RELATIVE64): New.
6073 (R_X86_64_NUM): Updated.
6074 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6075 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
6076 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
6077 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
6078 tst-quad1pie tst-quad2pie
6079 (modules-names): Add tst-quadmod1 tst-quadmod2.
6080 ($(objpfx)tst-quad1): New dependency.
6081 ($(objpfx)tst-quad2): Likewise.
6082 ($(objpfx)tst-quad1pie): Likewise.
6083 ($(objpfx)tst-quad2pie): Likewise.
6084 * sysdeps/x86_64/tst-quad1.c: New file.
6085 * sysdeps/x86_64/tst-quad1pie.c: New file.
6086 * sysdeps/x86_64/tst-quad2.c: Likewise.
6087 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
6088 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
6089 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
6090 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
6091 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
6092
f34d6f84
ST
60932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6094
f42d41d1
ST
6095 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
6096 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
6097 * streams/stropts.h (t_scalar_t): Define type.
6098
3c3571fc
ST
6099 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
6100 (_PATH_PRESERVE): Set to "/var/lib".
6101 (_PATH_RWHODIR): Set to "/var/spool/rwho".
6102
61f06bd3
ST
6103 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
6104 instead of int.
6105
918d4d71
ST
6106 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
6107 if __dir_mkfile succeeded.
6108
f34d6f84
ST
6109 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
6110 checking for _hurd_dtablesize. Unlock it right after having
6111 finished _hurd_dtable allocation.
6112
10589b4a
TS
61132012-05-10 Thomas Schwinge <thomas@schwinge.name>
6114
674cdbc7
TS
6115 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
6116 * sysdeps/mach/hurd/configure: Regenerated.
6117 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
6118 special-casing to...
6119 * sysdeps/gnu/configure.in: ... this new file.
6120 * sysdeps/unix/sysv/linux/configure: Regenerated.
6121 * sysdeps/gnu/configure: New generated file.
6122
8e41b99f
TS
6123 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
6124 for Linux: use nsec instead of usec, as well as:
6125 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
6126 members of type struct timespec.
6127 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
6128 New macros.
6129 (struct stat64): Likewise.
6130 (_STATBUF_ST_NSEC): New macro.
6131 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
6132
10589b4a
TS
6133 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
6134 __strtoul_internal rather than strtoul.
6135
63643c85
PT
61362012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6137
6138 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
6139 and reject them.
6140
3faebe6a
ST
61412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6142
6143 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
6144 which preserves existing values.
6145 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
6146
c6474b07
PT
61472012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6148
6149 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
6150 TIMEOUT values. Return EINVAL for NFDS values either negative or
6151 greater than FD_SETSIZE.
6152
1043890b
ST
61532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6154
6155 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
6156 allocated, call __vm_protect to finish enabling the existing space, and
6157 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
6158 allocate the remainder.
6159
37ed8b9b
PT
61602012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6161
6162 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
6163 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
6164
db653660
ST
61652012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6166
37ed8b9b
PT
6167 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
6168 sysdeps/mach/hurd/readlink.c.
b29d4053 6169
db653660
ST
6170 * posix/tst-sysconf.c (posix_options): Only use
6171 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
6172 _POSIX_SYNCHRONIZED_IO when they are defined
6173 * sysdeps/mach/hurd/bits/posix_opt.h:
6174 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
6175 (_XOPEN_REALTIME): Undefine macro.
6176 (_XOPEN_REALTIME_THREADS): Undefine macro.
6177 (_XOPEN_SHM): Undefine macro.
6178 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
6179 macro to -1.
6180 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
6181 macro to -1.
6182 (_POSIX_ASYNC_IO): Undefine macro.
6183 (_POSIX_PRIORITIZED_IO): Undefine macro.
6184 (_POSIX_SPIN_LOCKS): Define macro to -1.
6185
ee16e894
ST
6186 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
6187 SA_NODEFER, SA_RESETHAND.
6188 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
6189 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
6190 F_DUPFD_CLOEXEC.
6191
6103ae3b
TS
61922012-05-10 Thomas Schwinge <thomas@schwinge.name>
6193
6194 * elf/Makefile (pldd-modules): Define unconditionally.
6195
80b4e5f3
TS
61962012-05-10 Thomas Schwinge <thomas@schwinge.name>
6197
6198 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
6199
edadcbd6
ST
62002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6201
6202 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
6203 Return ENOENT when name is empty.
6204 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
6205
80694780
TS
62062012-05-10 Thomas Schwinge <thomas@schwinge.name>
6207
1792c087
TS
6208 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
6209
80694780
TS
6210 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
6211
6b645f0d
ST
62122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6213
80694780
TS
6214 Fix mlock in all cases except non-readable pages.
6215 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
6216 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 6217
6b645f0d
ST
6218 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
6219 (__mkdir): When path is `/', just fail with EEXIST.
6220 * sysdeps/mach/hurd/mkdirat.c: Likewise.
6221
e468f8a3
TS
62222012-05-10 Thomas Schwinge <thomas@schwinge.name>
6223
6224 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
6225 <sys/uio.h> (for writev).
6226 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
6227 and <sys/param.h> (for MIN).
6228
a4186cff
PT
62292012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6230
6231 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
6232 REQUESTED_TIME. Properly set the remaining time and return EINTR
6233 if interrupted.
6234
510bbf14
TS
62352012-05-10 Thomas Schwinge <thomas@schwinge.name>
6236
6237 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
6238 Depend on against $(link-rpcuserlibs).
6239
5d5722e8
ST
62402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6241
a4186cff
PT
6242 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
6243 (__libc_stack_end): Do not use attribute_relro.
6244 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
6245 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 6246 to libthread-provided value.
a4186cff
PT
6247 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
6248 attribute_relro.
5d5722e8 6249
37233df9
TS
62502012-05-10 Thomas Schwinge <thomas@schwinge.name>
6251
be971a2b
TS
6252 [BZ #3748]
6253 * bits/libc-lock.h (__libc_once_get): New macro.
6254 * sysdeps/mach/bits/libc-lock.h: Likewise.
6255 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
6256 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
6257 instead of using implementation details.
6258
37233df9
TS
6259 * libio/fileops.c: Unconditionally include <kernel-features.h>.
6260 * libio/freopen.c: Likewise.
6261 * libio/freopen64.c: Likewise.
6262 * misc/syslog.c: Likewise.
6263 * nscd/connections.c: Likewise.
6264 * nscd/netgroupcache.c: Likewise.
6265 * sysdeps/posix/getcwd.c: Likewise.
6266
38de94a5
RM
62672012-05-10 Roland McGrath <roland@hack.frob.com>
6268
6269 * math/w_ilogbf.c: Add #include <limits.h>.
6270
67530489
ST
62712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6272
a4186cff 6273 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
6274 path instead of returning without unlocking.
6275
67530489
ST
6276 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
6277 immediate-write ioctls.
6278 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
6279
5aa3a74a
TS
62802012-05-10 Thomas Schwinge <thomas@schwinge.name>
6281
18bad2ae
TS
6282 * sysdeps/mach/hurd/i386/init-first.c (init): Use
6283 __builtin_frame_address instead of making assumptions about the
6284 location of the return address relative to DATA. Force early load of
6285 the return address.
6286 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
6287 __builtin_frame_address.
6288
5aa3a74a
TS
6289 dup3 for GNU Hurd.
6290 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
6291 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
6292 implement dup3 and do some further code clean-ups.
6293 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
6294 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
6295
ecd0de9a
ST
62962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6297
cd9fa985
ST
6298 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
6299
a4186cff
PT
6300 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
6301 HURD_CRITICAL_END around holding _hurd_dtable_lock.
6302 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
6303 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
6304 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
6305 d->port.lock.
802ca5a5 6306
a4186cff
PT
6307 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
6308 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
6309 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 6310
bcf55240
TS
63112012-05-10 Thomas Schwinge <thomas@schwinge.name>
6312
6960eb42
TS
6313 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
6314 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
6315 definitions.
6316
eb43375f
TS
6317 accept4 for GNU Hurd.
6318 * include/sys/socket.h (__libc_accept4): New prototype.
6319 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
6320 to implement __libc_accept4.
6321 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
6322 __libc_accept4.
6323 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
6324
bcf55240
TS
6325 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
6326 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
6327 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
6328 signal-defines.sym.
6329
6178c55b
ST
63302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6331
a4186cff 6332 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 6333
6f080c2f
TS
63342012-05-10 Thomas Schwinge <thomas@schwinge.name>
6335
6336 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
6337 assertion on O_CLOEXEC flag.
6338 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
6339 * hurd/intern-fd.c: Likewise.
6340 * hurd/port2fd.c: Likewise.
6341
bcfe3a54
ST
63422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6343
6344 [BZ #3906]
6345 * bits/in.h (IPV6_PKTINFO): Define new macro.
6346 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
6347
89c9aa49
AZ
63482012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6349
6350 [BZ #13954]
6351 [BZ #13955]
6352 [BZ #13956]
6353 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
6354 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6355 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
6356 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6357 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6358 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6359 * math/libm-test.inc (logb_test) : Additional logb tests.
6360
021db4be
AJ
63612012-05-09 Andreas Schwab <schwab@linux-m68k.org>
6362 Andreas Jaeger <aj@suse.de>
6363
6364 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
6365 * configure: Regenerated.
6366 * config.h.in (LINK_OBSOLETE_RPC): New macro.
6367 * config.make.in (link-obsolete-rpc): New substituted variable.
6368 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
6369 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
6370 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6371 (shared-only-routines): Don't set it under [link-obsolete-rpc],
6372 so that libc.a contains the symbols.
6373 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6374 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
6375 * sunrpc/auth_none.c: Likewise.
6376 * sunrpc/auth_unix.c: Likewise.
6377 * sunrpc/authdes_prot.c: Likewise.
6378 * sunrpc/authuxprot.c: Likewise.
6379 * sunrpc/clnt_gen.c: Likewise.
6380 * sunrpc/clnt_perr.c: Likewise.
6381 * sunrpc/clnt_raw.c: Likewise.
6382 * sunrpc/clnt_simp.c: Likewise.
6383 * sunrpc/clnt_tcp.c: Likewise.
6384 * sunrpc/clnt_udp.c: Likewise.
6385 * sunrpc/clnt_unix.c: Likewise.
6386 * sunrpc/des_crypt.c: Likewise.
6387 * sunrpc/des_soft.c: Likewise.
6388 * sunrpc/get_myaddr.c: Likewise.
6389 * sunrpc/key_call.c: Likewise.
6390 * sunrpc/key_prot.c: Likewise.
6391 * sunrpc/netname.c: Likewise.
6392 * sunrpc/pm_getmaps.c: Likewise.
6393 * sunrpc/pm_getport.c: Likewise.
6394 * sunrpc/pmap_clnt.c: Likewise.
6395 * sunrpc/pmap_prot.c: Likewise.
6396 * sunrpc/pmap_prot2.c: Likewise.
6397 * sunrpc/pmap_rmt.c: Likewise.
6398 * sunrpc/publickey.c: Likewise.
6399 * sunrpc/rpc_cmsg.c: Likewise.
6400 * sunrpc/rpc_common.c: Likewise.
6401 * sunrpc/rpc_dtable.c: Likewise.
6402 * sunrpc/rpc_prot.c: Likewise.
6403 * sunrpc/rpc_thread.c: Likewise.
6404 * sunrpc/rtime.c: Likewise.
6405 * sunrpc/svc.c: Likewise.
6406 * sunrpc/svc_auth.c: Likewise.
6407 * sunrpc/svc_raw.c: Likewise.
6408 * sunrpc/svc_run.c: Likewise.
6409 * sunrpc/svc_tcp.c: Likewise.
6410 * sunrpc/svc_udp.c: Likewise.
6411 * sunrpc/svc_unix.c: Likewise.
6412 * sunrpc/svcauth_des.c: Likewise.
6413 * sunrpc/xcrypt.c: Likewise.
6414 * sunrpc/xdr.c: Likewise.
6415 * sunrpc/xdr_array.c: Likewise.
6416 * sunrpc/xdr_float.c: Likewise.
6417 * sunrpc/xdr_intXX_t.c: Likewise.
6418 * sunrpc/xdr_mem.c: Likewise.
6419 * sunrpc/xdr_rec.c: Likewise.
6420 * sunrpc/xdr_ref.c: Likewise.
6421 * sunrpc/xdr_sizeof.c: Likewise.
6422 * sunrpc/xdr_stdio.c: Likewise.
6423
b5c086a2
RM
64242012-05-10 Roland McGrath <roland@hack.frob.com>
6425
6426 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
6427 change. Update copyright years.
6428
6d74dd09
JM
64292012-05-10 Joseph Myers <joseph@codesourcery.com>
6430
6431 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
6432
28e72501
MK
64332012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
6434 Joseph Myers <joseph@codesourcery.com>
6435 Paul Pluzhnikov <ppluzhnikov@google.com>
6436
6437 [BZ #14012]
6438 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
6439 requiring rpcgen.
6440 [cross-compiling] (extra-libs): Likewise.
6441 [cross-compiling] (extra-libs-others): Likewise.
6442 [cross-compiling] (librpcsvc-routines): Likewise.
6443 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
6444 [cross-compiling] (omit-deps): Likewise.
6445 (sunrpc-CPPFLAGS): New variable.
6446 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
6447 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
6448 (cross-rpcgen-objs): New variable.
6449 (extra-objs): Append $(cross-rpcgen-objs).
6450 ($(cross-rpcgen-objs)): New rule.
6451 ($(objpfx)cross-rpcgen): Likewise.
6452 (rpcgen-cmd): Define to use $(built-program-file). Expand
6453 comment.
6454 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
6455 ($(objpfx)x%.stmp): Likewise.
6456 * sunrpc/proto.h [IS_IN_build] (_): Define.
6457 [IS_IN_build] (_libc_intl_domainname): Likewise.
6458
c8c59454
L
64592012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6460
6461 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
6462 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
6463 and R_X86_64_TPOFF64.
6464
6f27cd16
JM
64652012-05-10 Joseph Myers <joseph@codesourcery.com>
6466
6467 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
6468 sysdeps/unix/sysv/syscalls.list.
6469 (stime): Likewise.
6470 (utime): Likewise.
6471 * sysdeps/unix/sysv/syscalls.list: Remove file.
6472
02467e1c
PE
64732012-05-10 Paul Eggert <eggert@cs.ucla.edu>
6474
6475 [BZ #3440]
6476 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
6477 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
6478 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
6479 (__LC_IDENTIFICATION): Make these macros useful in #if
6480 expressions, as required by C99.
6481
da392631
AS
64822012-05-10 Andreas Schwab <schwab@linux-m68k.org>
6483
6484 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
6485 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
6486 after this.
6487
8115f29b
L
64882012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6489
6490 * stdlib/longlong.h: Updated from GCC.
6491
bdd74070
AJ
64922012-05-09 Andreas Jaeger <aj@suse.de>
6493
edfe0dbe
AJ
6494 * nscd/nscd.c (run_modes): Make named enum, reorder so that
6495 default is first entry.
6496 (run_mode): Set type.
6497 (main): Remove informal message about syslog.
6498 (options): Fix typo.
6499
bcfe3a54
ST
6500 [BZ #14053]
6501 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 6502 to asm.
bcfe3a54
ST
6503 (lrint): Likewise.
6504 (llrintf): Likewise.
6505 (llrint): Likewise.
6506 (rint): Likewise.
6507 (rintf): Likewise.
6508 (nearbyint): Likewise.
6509 (nearbyintf): Likewise.
bdd74070 6510
91d8d69e
AJ
65112012-05-09 Andreas Jaeger <aj@suse.de>
6512 Pedro Alves <palves@redhat.com>
6513
6514 * nscd/nscd.c (run_mode): Use enum.
6515 (main): Cleanup coding style issue.
6516
bb90b80b
AJ
65172012-05-09 Alexandre Oliva <aoliva@redhat.com>
6518 Andreas Jaeger <aj@suse.de>
6519
bcfe3a54
ST
6520 * nscd/nscd.c (go_background): Replaced with...
6521 (run_mode): ... this.
bb90b80b 6522 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
6523 (options): Add -F --foreground.
6524 (main): Implement it.
6525 (parse_opt): Parse it.
bb90b80b 6526
1a4b75a1
AJ
65272012-05-09 Andreas Jaeger <aj@suse.de>
6528
6529 [BZ #14083]
6530 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
6531 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
6532 -Wconversion warning.
6533 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
6534 Likewise.
6535
b1cc2472
JM
65362012-05-09 Joseph Myers <joseph@codesourcery.com>
6537
6538 * conform/data/locale.h-data (NULL): Use macro-constant. Require
6539 == 0.
6540 (LC_ALL): Use macro-int-constant.
6541 (LC_COLLATE): Likewise.
6542 (LC_CTYPE): Likewise.
6543 (LC_MESSAGES): Likewise.
6544 (LC_MONETARY): Likewise.
6545 (LC_NUMERIC): Likewise.
6546 (LC_TIME): Likewise.
6547 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
6548 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6549 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6550 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
6551 Specify type.
6552 [C99-based standards] (float_t): Expect type.
6553 [C99-based standards] (double_t): Expect type.
6554 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
6555 type.
6556 [C99-based standards] (HUGE_VALL): Likewise.
6557 [C99-based standards] (INFINITY): Likewise.
6558 [C99-based standards] (NAN): Likewise.
6559 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
6560 [C99-based standards] (FP_NAN): Likewise.
6561 [C99-based standards] (FP_NORMAL): Likewise.
6562 [C99-based standards] (FP_SUBNORMAL): Likewise.
6563 [C99-based standards] (FP_ZERO): Likewise.
6564 [C99-based standards] (FP_FAST_FMA): Use
6565 optional-macro-int-constant. Specify type. Require == 1.
6566 [C99-based standards] (FP_FAST_FMAF): Likewise.
6567 [C99-based standards] (FP_FAST_FMAL): Likewise.
6568 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
6569 [C99-based standards] (FP_ILOGBNAN): Likewise.
6570 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
6571 Specify type.
6572 [C99-based standards] (MATH_ERREXCEPT): Likewise.
6573 [C99-based standards] (math_errhandling): Specify type.
6574 [ISO99 || ISO11] (signgam): Do not allow.
6575 [non-C99-based standards] (copysignf): Do not allow.
6576 [non-C99-based standards] (exp2f): Likewise.
6577 [non-C99-based standards] (log2f): Likewise.
6578 [non-C99-based standards] (modff): Allow.
6579 [non-C99-based standards] (erff): Do not allow.
6580 [non-C99-based standards] (erfcf): Likewise.
6581 [non-C99-based standards] (gammaf): Likewise.
6582 [non-C99-based standards] (hypotf): Likewise.
6583 [non-C99-based standards] (j0f): Likewise.
6584 [non-C99-based standards] (j1f): Likewise.
6585 [non-C99-based standards] (jnf): Likewise.
6586 [non-C99-based standards] (lgammaf): Likewise.
6587 [non-C99-based standards] (tgammaf): Likewise.
6588 [non-C99-based standards] (y0f): Likewise.
6589 [non-C99-based standards] (y1f): Likewise.
6590 [non-C99-based standards] (ynf): Likewise.
6591 [non-C99-based standards] (isnanf): Likewise.
6592 [non-C99-based standards] (acoshf): Likewise.
6593 [non-C99-based standards] (asinhf): Likewise.
6594 [non-C99-based standards] (atanhf): Likewise.
6595 [non-C99-based standards] (cbrtf): Likewise.
6596 [non-C99-based standards] (expm1f): Likewise.
6597 [non-C99-based standards] (ilogbf): Likewise.
6598 [non-C99-based standards] (log1pf): Likewise.
6599 [non-C99-based standards] (logbf): Likewise.
6600 [non-C99-based standards] (nextafterf): Likewise.
6601 [non-C99-based standards] (remainderf): Likewise.
6602 [non-C99-based standards] (rintf): Likewise.
6603 [non-C99-based standards] (scalbf): Likewise.
6604 [non-C99-based standards] (copysignl): Likewise.
6605 [non-C99-based standards] (exp2l): Likewise.
6606 [non-C99-based standards] (log2l): Likewise.
6607 [non-C99-based standards] (modfl): Allow.
6608 [non-C99-based standards] (erfl): Do not allow.
6609 [non-C99-based standards] (erfcl): Likewise.
6610 [non-C99-based standards] (gammal): Likewise.
6611 [non-C99-based standards] (hypotl): Likewise.
6612 [non-C99-based standards] (j0l): Likewise.
6613 [non-C99-based standards] (j1l): Likewise.
6614 [non-C99-based standards] (jnl): Likewise.
6615 [non-C99-based standards] (lgammal): Likewise.
6616 [non-C99-based standards] (tgammal): Likewise.
6617 [non-C99-based standards] (y0l): Likewise.
6618 [non-C99-based standards] (y1l): Likewise.
6619 [non-C99-based standards] (ynl): Likewise.
6620 [non-C99-based standards] (isnanl): Likewise.
6621 [non-C99-based standards] (acoshl): Likewise.
6622 [non-C99-based standards] (asinhl): Likewise.
6623 [non-C99-based standards] (atanhl): Likewise.
6624 [non-C99-based standards] (cbrtl): Likewise.
6625 [non-C99-based standards] (expm1l): Likewise.
6626 [non-C99-based standards] (ilogbl): Likewise.
6627 [non-C99-based standards] (log1pl): Likewise.
6628 [non-C99-based standards] (logbl): Likewise.
6629 [non-C99-based standards] (nextafterl): Likewise.
6630 [non-C99-based standards] (remainderl): Likewise.
6631 [non-C99-based standards] (rintl): Likewise.
6632 [non-C99-based standards] (scalbl): Likewise.
6633 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6634 [non-C99-based standards] (FP_*): Do not allow.
6635 [C99-based standards] (FP_*): Change to
6636 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6637 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6638 allow.
6639 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
6640 (SIG_ERR): Likewise.
6641 [X/Open-based standards] (SIG_HOLD): Likewise.
6642 (SIG_IGN): Likewise.
6643 (SIGABRT): Use macro-int-constant. Specify type. Require
6644 positive value.
6645 (SIGFPE): Likewise.
6646 (SIGILL): Likewise.
6647 (SIGINT): Likewise.
6648 (SIGSEGV): Likewise.
6649 (SIGTER): Likewise.
6650 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
6651 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
6652 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
6653 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
6654 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
6655 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
6656 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
6657 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
6658 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
6659 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
6660 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
6661 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
6662 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
6663 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
6664 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
6665 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
6666 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
6667 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
6668 [X/Open-based standards] (SIGTRAP): Likewise.
6669 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
6670 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
6671 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
6672 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
6673 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6674 allow.
6675
b9f1922d
IW
66762012-05-08 Ian Wienand <ianw@vmware.com>
6677
6678 [BZ #14080]
6679 * time/tzset.c (__tzset_parse_tz): Update default rules for
6680 daylight time changes in the Energy Policy Act of 2005.
6681
1db86e88
AJ
66822012-05-09 Andreas Jaeger <aj@suse.de>
6683
6684 [BZ #13983]
6685 * elf/ldconfig.c (parse_conf): Change string to make clear that
6686 ldconfig only issued a warning if ld.so.conf does not exist.
6687
dee4a4e3
DM
66882012-05-08 David S. Miller <davem@davemloft.net>
6689
ee0db190
DM
6690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
6691 movxtod instead of popping the value on the stack.
6692
dee4a4e3
DM
6693 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6694
6a43ec98
CD
66952012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
6696
6697 * config.h.in: Add HAVE_ARM_PCS_VFP.
6698
05c2c961
RMG
66992012-05-08 Roland Mc Grath <roland@hack.frob.com>
6700
bcfe3a54
ST
6701 [BZ #13979]
6702 * include/features.h: Warn if user requests __FORTIFY_SOURCE
6703 checking but the checks are disabled for any reason.
05c2c961 6704
4b30f61a
L
67052012-05-08 H.J. Lu <hongjiu.lu@intel.com>
6706
6707 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
6708 and ELF64_R_TYPE with ELFW(R_TYPE).
6709
eee2bc67
JM
67102012-05-08 Joseph Myers <joseph@codesourcery.com>
6711
7ea5391a
JM
6712 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
6713 (ulimit): Likewise.
6714
eee2bc67
JM
6715 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
6716 (settimeofday): Likewise.
6717
abb66a67
MF
67182012-05-08 Mike Frysinger <vapier@gentoo.org>
6719
6720 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
6721 a struct th_u2 inside the union, and move tu_block/tu_code into
6722 a new th_u3 union of tu_block/tu_code inside of that. Move
6723 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
6724 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
6725 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
6726 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
6727 (th_stuff): Change to th_u1.tu_stuff.
6728 (th_data): Define.
6729 (th_msg): Change to th_u1.th_u2.tu_data.
6730
7f18b530
DM
67312012-05-07 David S. Miller <davem@davemloft.net>
6732
05760585
DM
6733 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6734
7f18b530
DM
6735 [BZ #14074]
6736 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
6737 (SETUP_PIC_REG): Use it.
6738 (SETUP_PIC_REG_LEAF): Use it.
6739
495fd99f
JM
67402012-05-07 Joseph Myers <joseph@codesourcery.com>
6741
6742 [BZ #13885]
6743 [BZ #13923]
6744 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6745 USE_AS_EXPM1L.
6746 (EXPL_FINITE): Likewise.
6747 (FLDLOG): Likewise.
6748 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6749 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6750 e_expl.S.
6751 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6752 USE_AS_EXPM1L.
6753 (EXPL_FINITE): Likewise.
6754 (FLDLOG): Likewise.
6755 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6756 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6757 e_expl.S.
6758 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
6759 test of -max_value argument for long double.
6760 * sysdeps/i386/fpu/libm-test-ulps: Update.
6761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6762
6693d694
DM
67632012-05-06 David S. Miller <davem@davemloft.net>
6764
6765 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
6766 quad soft-float symbols whose references which are compiler
6767 generated.
6768 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6769
6c23e11c
JM
67702012-05-06 Joseph Myers <joseph@codesourcery.com>
6771
d8b82cad
JM
6772 [BZ #13884]
6773 [BZ #13914]
6774 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6775 USE_AS_EXP10L.
6776 (EXPL_FINITE): Likewise.
6777 (FLDLOG): Likewise.
6778 (c0): Likewise.
6779 (c1): Likewise.
6780 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6781 Adjust comments for base varying.
6782 (__expl_finite): Change alias to EXPL_FINITE.
6783 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
6784 e_expl.S.
6785 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
6786 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6787 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6788 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
6789 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6790 USE_AS_EXP10L.
6791 (EXPL_FINITE): Likewise.
6792 (FLDLOG): Likewise.
6793 (c0): Likewise.
6794 (c1): Likewise.
6795 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6796 Adjust comments for base varying.
6797 (__expl_finite): Change alias to EXPL_FINITE.
6798 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
6799 tests for bugs.
6800 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6801
6c23e11c
JM
6802 [BZ #14064]
6803 * math/libm-test.inc (check_float_internal): Correct ulp
6804 calculation for subnormal expected results.
6805
29ba805c
AJ
68062012-05-06 Andreas Jaeger <aj@suse.de>
6807
6808 * Makeconfig (+math-flags): New, set to -frounding-math.
6809 (+cflags): Add +math-flags so that all of glibc gets compiled with
6810 it.
6811
6812 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
6813
7b17aeda
JM
68142012-05-05 Joseph Myers <joseph@codesourcery.com>
6815
5779f134
JM
6816 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
6817 Disable one test.
6818
41498f4d
JM
6819 [BZ #13787]
6820 [BZ #13922]
6821 [BZ #14036]
6822 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
6823 (__ieee754_expl): Allow for and saturate large arguments.
6824 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
6825 (u_threshold): Likewise.
6826 (__exp): Call __ieee754_exp before checking for overflow and
6827 underflow.
6828 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
6829 (u_threshold): Likewise.
6830 (__expf): Call __ieee754_expf before checking for overflow and
6831 underflow.
6832 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
6833 (u_threshold): Likewise.
6834 (__expl): Call __ieee754_expl before checking for overflow and
6835 underflow.
6836 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
6837 (__ieee754_expl): Allow for and saturate large arguments.
6838 * math/libm-test.inc (exp_test): Add another test. Do not allow
6839 missing overflow exception on overflow.
6840 (expm1_test): Do not allow missing overflow exception on overflow.
6841
6698b8bf
JM
6842 * sysdeps/i386/fpu/e_expl.c: Move to ...
6843 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
6844 rather than using inline asm.
6845 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
6846 * sysdeps/x86_64/fpu/e_expl.S: Copy from
6847 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
6848
7b17aeda
JM
6849 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
6850 (nice): Likewise.
6851 (poll): Likewise.
6852 (signal): Likewise.
6853 (time): Likewise.
6854 (times): Likewise.
6855
f7c85819
JM
68562012-05-04 Joseph Myers <joseph@codesourcery.com>
6857
6858 * sysdeps/unix/syscalls.list (adjtime): Add entry from
6859 sysdeps/unix/common/syscalls.list.
6860 (fchmod): Likewise.
6861 (fchown): Likewise.
6862 (ftruncate): Likewise.
6863 (getrusage): Likewise.
6864 (gettimeofday): Likewise.
6865 (setpgid): Likewise.
6866 (setregid): Likewise.
6867 (setreuid): Likewise.
6868 (sigaction): Likewise.
6869 (truncate): Likewise.
6870 (vhangup): Likewise.
6871 * sysdeps/unix/common/syscalls.list: Remove file.
6872 * sysdeps/unix/bsd/Implies: Don't include unix/common.
6873 * sysdeps/unix/sysv/linux/Implies: Likewise.
6874
336270d0
L
68752012-05-04 H.J. Lu <hongjiu.lu@intel.com>
6876
6877 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
6878 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
6879 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
6880 Moved to ...
6881 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6882 Here.
6883 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
6884 to ...
6885 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
6886 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
6887 to ...
6888 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
6889 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
6890 to ...
6891 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
6892 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
6893 to ...
6894 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
6895 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
6896 to ...
6897 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
6898 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
6899 to ...
6900 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
6901 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
6902 to ...
6903 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6904 Here.
6905 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
6906 to ...
6907 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
6908 Here.
6909 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
6910 to ...
6911 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
6912 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
6913 Moved to ...
6914 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
6915 Here.
6916 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
6917 to ...
6918 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
6919
d128e450
JM
69202012-05-04 Joseph Myers <joseph@codesourcery.com>
6921
fa8ee516
JM
6922 * sysdeps/unix/common/bits/dirent.h: Remove file.
6923 * sysdeps/unix/common/bits/fcntl.h: Likewise.
6924
d128e450
JM
6925 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
6926 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
6927 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
6928 * sysdeps/unix/bsd/isatty.c: Likewise.
6929 * sysdeps/unix/bsd/tcdrain.c: Likewise.
6930 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
6931 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
6932
ff8faaf0 69332012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 6934
62881be4 6935 [BZ #13563]
31dc8730
AZ
6936 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
6937 long double comparison inaccuracies.
6938 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6939 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6940
6fef930c
AS
69412012-05-04 Andreas Schwab <schwab@linux-m68k.org>
6942
6943 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
6944 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
6945
8f203e6c
JM
69462012-05-04 Joseph Myers <joseph@codesourcery.com>
6947
6948 [BZ #14049]
6949 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
6950 nonzero digits before rounding a hex value.
6951 * stdlib/tst-strtod.c (tests): Add another test.
6952
5197d9c2
AK
69532012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6954
6955 * sysdeps/s390/fpu/libm-test-ulps: Update.
6956
f0c1dedf
AJ
69572012-05-03 Andreas Jaeger <aj@suse.de>
6958
6959 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
6960 does not get optimized out.
6961 (malloc_opt_barrier): New.
6962
a65ef2ae 69632012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 6964 Roland McGrath <roland@hack.frob.com>
a65ef2ae 6965
2b942cb7 6966 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 6967 intermediate file deletion.
2b942cb7 6968 (generated): Add .symlist files.
a65ef2ae 6969
54b71e02
JM
69702012-05-03 Joseph Myers <joseph@codesourcery.com>
6971
6972 [BZ #13775]
6973 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
6974 Redirect under this condition.
6975 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6976 [__USE_GNU] (__dprintf_chk): Not under this condition.
6977 [__USE_GNU] (__vdprintf_chk): Likewise.
6978 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
6979 under this condition.
6980 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6981 [__USE_XOPEN2K8] (dprintf): Define under this condition.
6982 [__USE_XOPEN2K8] (vdprintf): Likewise.
6983 [__USE_GNU] (__dprintf_chk): Not under this condition.
6984 [__USE_GNU] (__vdprintf_chk): Likewise.
6985 [__USE_GNU] (dprintf): Likewise.
6986 [__USE_GNU] (vdprintf): Likewise.
6987
d3dfcc41
RM
69882012-05-03 Roland McGrath <roland@hack.frob.com>
6989
6990 * elf/Makefile (common-generated): Set this instead of generated for
6991 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
6992 $(all-built-dso)-derived lists.
6993
7ac30cc5
AJ
69942012-05-03 Andreas Jaeger <aj@suse.de>
6995
0c51e550
AJ
6996 * sysdeps/i386/fpu/libm-test-ulps: Update.
6997
7ac30cc5
AJ
6998 * FAQ: Removed.
6999 * FAQ.in: Likewise.
7000 * scripts/gen-FAQ.pl: Likewise.
7001 * manual/install.texi (Installation): Point to online location of
7002 FAQ.
7003 * Makefile (files-for-dist): Remove FAQ.
7004 (FAQ): Remove.
7005
d4c2917f
AM
70062012-05-02 Allan McRae <allan@archlinux.org>
7007
7008 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
7009 (LDFLAGS-reldepmod5.so): Likewise.
7010 (LDFLAGS-reldep6mod1.so): Likewise.
7011 (LDFLAGS-reldep6mod4.so): Likewise.
7012 (LDFLAGS-reldep8mod3.so): Likewise.
7013 (LDFLAGS-unload4mod1.so): Likewise.
7014 (LDFLAGS-unload4mod2.so): Likewise.
7015 (LDFLAGS-tst-initorder): Likewise.
7016 (LDFLAGS-tst-initordera2.so): Likewise.
7017 (LDFLAGS-tst-initordera3.so): Likewise.
7018 (LDFLAGS-tst-initordera4.so): Likewise.
7019 (LDFLAGS-tst-initorderb2.so): Likewise.
7020 (LDFLAGS-noload): Likewise.
7021 (LDFLAGS-next): Likewise.
7022 (LDFLAGS-order2mod1.so): Likewise.
7023 (LDFLAGS-order2mod2.so): Likewise.
7024 (LDFLAGS-tst-initorder2): Likewise.
7025 (LDFLAGS-tst-initorder2a.so): Likewise.
7026 (LDFLAGS-tst-initorder2b.so): Likewise.
7027 (LDFLAGS-tst-initorder2c.so): Likewise.
7028 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
7029
d77f993f
DM
70302012-05-02 David S. Miller <davem@davemloft.net>
7031
7032 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7033
171a70b4
PP
70342012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
7035
7036 [BZ #14055]
7037 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
7038
0be196ad
AJ
70392012-05-02 Andreas Jaeger <aj@suse.de>
7040
7041 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
7042 since we manipulate rounding mode.
7043 (CPPFLAGS-test-idouble.c): Likewise.
7044 (CPPFLAGS-test-ifloat.c): Likewise.
7045 (CFLAGS-test-ldouble.c): Likewise.
7046 (CFLAGS-test-double.c): Likewise.
7047 (CFLAGS-test-float.c): Likewise.
7048 (CFLAGS-test-misc.c): Likewise.
7049 (CFLAGS-test-test-fenv.c): Likewise.
7050
4f9d04aa
AZ
70512012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7052
2b942cb7
RM
7053 [BZ #2550]
7054 [BZ #2570]
7055 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
7056 comparisons to determine direction to adjust input.
4f9d04aa 7057
82a79e7d
RM
70582012-05-01 Roland McGrath <roland@hack.frob.com>
7059
f5a01ca9
RM
7060 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
7061 output to the target.
7062
90fe4186
RM
7063 * scripts/localplt.awk: New file.
7064 * elf/Makefile ($(objpfx)check-localplt): Target removed.
7065 (check-localplt-CFLAGS): Variable removed.
7066 ($(all-built-dso:=.jmprel)): New static pattern rule.
7067 (generated): Add those targets.
7068 (localplt-built-dso): New variable.
7069 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
7070
7071 * elf/check-localplt.c: File removed.
7072
82397ed6
RM
7073 * scripts/check-execstack.awk: New file.
7074 * elf/Makefile ($(objpfx)check-execstack): Target removed.
7075 (check-execstack-CFLAGS): Variable removed.
7076 ($(objpfx)check-execstack.h): Target removed.
7077 ($(objpfx)execstack-default): New target.
7078 (generated): Add that instead of check-execstack.h.
7079 ($(all-built-dso:=.phdr)): New static pattern rule.
7080 (generated): Add those targets.
7081 * elf/check-execstack.c: File removed.
7082
82a79e7d
RM
7083 * scripts/check-textrel.awk: New file.
7084 * elf/Makefile ($(objpfx)check-textrel): Target removed.
7085 (check-textrel-CFLAGS): Variable removed.
7086 (all-built-dso): Use := to define.o
7087 ($(all-built-dso:=.dyn)): New static pattern rule.
7088 (generated): Add those targets.
7089 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
7090 * config.make.in (READELF): New substituted variable.
7091 * elf/check-textrel.c: File removed.
7092
62fde54f 70932012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 7094
615605c9
JM
7095 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7096 allow.
7097 * conform/data/ctype.h-data [C99-based standards] (isblank):
7098 Expect function.
7099 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
7100 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
7101 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7102 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
7103 Specify type. Require positive value.
7104 (EILSEQ): Likewise.
7105 (ERANGE): Likewise.
7106 [ISO || POSIX] (EILSEQ): Do not expect.
7107 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
7108 Specify type. Require positive value.
7109 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
7110 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
7111 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
7112 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
7113 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
7114 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
7115 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
7116 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
7117 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
7118 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
7119 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
7120 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
7121 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
7122 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
7123 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
7124 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
7125 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
7126 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
7127 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
7128 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
7129 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
7130 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
7131 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
7132 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
7133 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
7134 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
7135 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
7136 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
7137 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
7138 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
7139 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
7140 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
7141 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
7142 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
7143 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
7144 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
7145 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
7146 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
7147 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
7148 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
7149 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
7150 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
7151 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
7152 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
7153 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
7154 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
7155 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
7156 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
7157 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
7158 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
7159 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
7160 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
7161 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
7162 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
7163 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
7164 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
7165 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
7166 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
7167 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
7168 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
7169 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
7170 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
7171 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
7172 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
7173 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
7174 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
7175 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
7176 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
7177 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
7178 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
7179 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
7180 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
7181 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
7182 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
7183 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
7184 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
7185 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
7186 Require >= 2.
7187 (FLT_ROUNDS): Expect as macro, not constant.
7188 (FLT_MANT_DIG): Use macro-int-constant.
7189 (DBL_MANT_DIG): Likewise.
7190 (LDBL_MANT_DIG): Likewise.
7191 (FLT_DIG): Likewise.
7192 (DBL_DIG): Likewise.
7193 (LDBL_DIG): Likewise.
7194 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
7195 (DBL_MIN_EXP): Likewise.
7196 (LDBL_MIN_EXP): Likewise.
7197 (FLT_MAX_EXP): Use macro-int-constant.
7198 (DBL_MAX_EXP): Likewise.
7199 (LDBL_MAX_EXP): Likewise.
7200 (FLT_MAX_10_EXP): Likewise.
7201 (DBL_MAX_10_EXP): Likewise.
7202 (LDBL_MAX_10_EXP): Likewise.
7203 (FLT_MAX): Use macro-constant.
7204 (DBL_MAX): Likewise.
7205 (LDBL_MAX): Likewise.
7206 (FLT_EPSILON): Use macro-constant. Give upper bound.
7207 (DBL_EPSILON): Likewise.
7208 (LDBL_EPSILON): Likewise.
7209 (FLT_MIN): Likewise.
7210 (DBL_MIN): Likewise.
7211 (LDBL_MIN): Likewise.
7212 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
7213 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
7214 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
7215 [ISO11] (FLT_HAS_SUBNORM): Likewise.
7216 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
7217 [ISO11] (DBL_DECIMAL_DIG): Likewise.
7218 [ISO11] (FLT_DECIMAL_DIG): Likewise.
7219 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
7220 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
7221 [ISO11] (FLT_TRUE_MIN): Likewise.
7222 [ISO11] (LDBL_TRUE_MIN): Likewise.
7223 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7224 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
7225 (SCHAR_MIN): Use macro-int-constant. Specify type.
7226 (SCHAR_MAX): Likewise.
7227 (UCHAR_MAX): Likewise.
7228 (CHAR_MIN): Likewise.
7229 (CHAR_MAX): Likewise.
7230 (MB_LEN_MAX): Use macro-int-constant.
7231 (SHRT_MIN): Use macro-int-constant. Specify type.
7232 (SHRT_MAX): Likewise.
7233 (USHRT_MAX): Likewise.
7234 (INT_MAX): Likewise.
7235 (INT_MIN): Use macro-int-constant. Specify type. Make upper
7236 bound negative.
7237 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
7238 bound with "U".
7239 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7240 bound with "L".
7241 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
7242 bound negative. Suffix upper bound with "L".
7243 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7244 bound with "UL".
7245 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
7246 Specify type.
7247 [C99-based standards] (LLONG_MAX): Likewise.
7248 [C99-based standards] (ULLONG_MAX): Likewise.
7249 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
7250 == 0.
7251 [ISO11] (max_align_t): Require type.
7252 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7253
c9140a62
JM
7254 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
7255 from $CFLAGS, without defining away __attribute__ calls.
7256 (checknamespace): Use $CFLAGS_namespace.
7257
9af0bf29
JM
7258 * conform/conformtest.pl (@keywords): Only include C99 keywords
7259 for standards based on C99 or C11.
7260
343222a2
JM
7261 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
7262 Disable tests.
7263 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
7264 UNIX98]: Likewise.
7265
661f8cf0
JM
7266 * conform/conformtest.pl: Handle "macro-int-constant" and test for
7267 usability of symbols in #if.
7268
ee74b9cb
JM
7269 * conform/conformtest.pl: If macro or constant types start
7270 "promoted:", expect the symbol to be of the following type
7271 promoted by the integer promotions.
62fde54f 7272
aafc49b3
JM
7273 * conform/conformtest.pl: Parse all "constant" and "macro" lines
7274 in one place. Also handle "macro-constant".
7275
fefdf574
JM
7276 * conform/conformtest.pl: Only accept expected macro values with
7277 "==". Parse all "macro" lines in one place.
7278 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
7279
f2d922fe
JM
7280 * conform/conformtest.pl: Handle braced types on "constant" lines
7281 instead of handling "typed-constant".
7282 * conform/data/signal.h-data: Use "constant" instead of
7283 "typed-constant".
7284
d22956c9
JM
7285 * conform/conformtest.pl: Handle "optional-" at start of lines in
7286 one place rather than duplicating several cases. Handle each
7287 format of "macro" line with initial "optional-".
7288
028e2e38
JM
7289 * conform/conformtest.pl: Only accept expected constant or
7290 optional-constant values with "==". Parse all "constant" lines in
7291 one place. Parse all "optional-constant" lines in one place.
7292 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
7293 * conform/data/fmtmsg.h-data: Likewise.
7294 * conform/data/netinet/in.h-data: Likewise.
7295 * conform/data/tar.h-data: Likewise.
7296 * conform/data/limits.h-data: Use "==" form on "constant" and
7297 "optional-constant" lines.
7298
1b8f2850
JM
7299 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
7300 Use -std=c99 for XOPEN2K.
7301 (@knownproblems): Remove.
7302 (newtoken): Don't check %isknown.
7303
a05a144b
JM
7304 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
7305 Do not expect macro.
7306 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
7307 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
7308 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
7309 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
7310 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
7311 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
7312 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
7313 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
7314 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
7315 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
7316 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
7317 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
7318 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
7319 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
7320 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
7321 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
7322 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
7323 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
7324 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
7325 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
7326 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
7327 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
7328 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
7329 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
7330 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
7331 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
7332 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
7333 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
7334 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
7335 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
7336 [XPG3] (acosh): Likewise.
7337 [XPG3] (asinh): Likewise.
7338 [XPG3] (atanh): Likewise.
7339 [XPG3] (cbrt): Likewise.
7340 [XPG3] (expm1): Likewise.
7341 [XPG3] (ilogb): Likewise.
7342 [XPG3] (log1p): Likewise.
7343 [XPG3] (logb): Likewise.
7344 [XPG3] (nextafter): Likewise.
7345 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
7346 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
7347 [XPG3] (remainder): Likewise.
7348 [XPG3] (rint): Likewise.
7349 [XPG3 || XPG4 || UNIX98] (round): Likewise.
7350 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
7351 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
7352 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
7353 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
7354 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
7355 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
7356 [UNIX98 || XOPEN2K] (scalb): Expect.
7357 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
7358 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
7359 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
7360 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
7361 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
7362 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
7363 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
7364 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
7365 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
7366 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
7367 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
7368 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
7369 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
7370 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
7371 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
7372 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
7373 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
7374 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
7375 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
7376 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
7377 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
7378 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
7379 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
7380 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
7381 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
7382 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
7383 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
7384 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
7385 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
7386 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
7387 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
7388 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
7389 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
7390 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
7391 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
7392 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
7393 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
7394 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
7395 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
7396 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
7397 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
7398 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
7399 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
7400 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
7401 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
7402 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
7403 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
7404 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
7405 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
7406 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
7407 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
7408 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
7409 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
7410 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
7411 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
7412 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
7413 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
7414 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
7415 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
7416 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
7417 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
7418 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
7419 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
7420 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
7421 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
7422 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
7423 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
7424 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
7425 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
7426 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
7427 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
7428 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
7429 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
7430 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
7431 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
7432 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
7433 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
7434 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
7435 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
7436 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
7437 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
7438 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
7439 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
7440 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
7441 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
7442 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
7443 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
7444 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
7445 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
7446 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
7447 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
7448 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
7449 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
7450 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
7451 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
7452 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
7453 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
7454 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
7455 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
7456 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
7457 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
7458 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
7459 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
7460 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
7461 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
7462 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
7463 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
7464 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
7465 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
7466 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
7467 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
7468 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
7469 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
7470 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
7471 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
7472 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
7473 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
7474 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
7475 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
7476 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
7477 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
7478 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
7479 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
7480 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
7481 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
7482 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
7483 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
7484 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
7485 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
7486 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
7487 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
7488 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
7489 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
7490 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
7491 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
7492 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
7493 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
7494
73c5ebe3
JM
7495 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
7496 _XOPEN_SOURCE_EXTENDED for XPG4.
7497
39c33b6c
JM
7498 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
7499
62fde54f
JM
7500 * Makeconfig (localtime): Remove variable.
7501 (inst_localtime-file): Likewise.
7502
0741d64c
AS
75032012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7504
7505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7506 Update.
7507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7508 Update.
7509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7510 Update.
7511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7512 Update.
7513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7514 Update.
7515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
7516 Update.
7517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7518 Update.
7519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
7520 Update.
7521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7522 Update.
7523
7cb029ee
JM
75242012-05-01 Joseph Myers <joseph@codesourcery.com>
7525
7526 [BZ #2550]
7527 [BZ #2570]
7528 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
7529 comparisons to determine direction to adjust input.
7530 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7531 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
7532 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
7533 Likewise.
7534 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
7535 Likewise.
7536 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7537 Likewise.
7538 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
7539 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7540 Likewise.
7541 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7542 Likewise.
7543 * math/libm-test.inc (nexttoward_test): Add more tests.
7544
412bd966
AS
75452012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7546
7547 [BZ #14040]
7548 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
7549 in version GLIBC_2.1, not GLIBC_2.0.
7550 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
7551 Likewise.
7552
9568c0c2
JM
75532012-04-30 Joseph Myers <joseph@codesourcery.com>
7554
adfbc8ac
JM
7555 [BZ #13942]
7556 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
7557 (1 - x) * (1 + x).
7558 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7559 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
7560 * math/libm-test.inc (acos_test): Add more tests.
7561 (asin_test): Likewise.
7562 * sysdeps/i386/fpu/libm-test-ulps: Update.
7563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7564
5ba3cc69
JM
7565 [BZ #14034]
7566 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
7567 of square root.
7568 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
7569 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7570 * math/libm-test.inc (acos_test_tonearest): New function.
7571 (acos_test_towardzero): Likewise.
7572 (acos_test_downward): Likewise.
7573 (acos_test_upward): Likewise.
7574 (asin_test_tonearest): Likewise.
7575 (asin_test_towardzero): Likewise.
7576 (asin_test_downward): Likewise.
7577 (asin_test_upward): Likewise.
7578 (main): Call the new functions.
7579 * sysdeps/i386/fpu/libm-test-ulps: Update.
7580 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7581
9568c0c2
JM
7582 [BZ #13884]
7583 [BZ #13924]
7584 * math/e_exp10.c: Include <float.h>.
7585 (__ieee754_exp10): Handle underflow here rather than multiplying
7586 large negative argument by M_LN10.
7587 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
7588 of __ieee754_expf.
7589 * math/e_exp10l.c: Include <float.h>.
7590 (__ieee754_exp10l): Handle underflow here rather than multiplying
7591 large negative argument by M_LN10l.
7592 * math/libm-test.inc (exp10_test): Add another test. Do not allow
7593 spurious overflow exception on underflow.
7594
5ac3ea17
MP
75952012-04-29 Marek Polacek <polacek@redhat.com>
7596
7597 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
7598 (__fortify_function): New macro.
7599 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
7600 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
7601 __extern_always_inline.
7602 * libio/bits/stdio2.h: Likewise.
7603 * libio/bits/stdio.h: Likewise.
7604 * string/string.h: Likewise.
7605 * string/bits/string3.h: Likewise.
7606 * include/stdio.h: Likewise.
7607 * stdlib/bits/stdlib.h: Likewise.
7608 * stdlib/stdlib.h: Likewise.
7609 * rt/bits/mqueue2.h: Likewise.
7610 * rt/mqueue.h: Likewise.
7611 * posix/bits/unistd.h: Likewise.
7612 * posix/unistd.h: Likewise.
7613 * io/bits/poll2.h: Likewise.
7614 * io/bits/fcntl2.h: Likewise.
7615 * io/fcntl.h: Likewise.
7616 * io/sys/poll.h: Likewise.
7617 * misc/bits/syslog.h: Likewise.
7618 * misc/bits/syslog-ldbl.h: Likewise.
7619 * misc/sys/syslog.h: Likewise.
7620 * socket/bits/socket2.h: Likewise.
7621 * socket/sys/socket.h: Likewise.
7622 * debug/tst-chk1.c: Likewise.
7623 * wcsmbs/bits/wchar2.h: Likewise.
7624 * wcsmbs/bits/wchar-ldbl.h: Likewise.
7625 * wcsmbs/wchar.h: Likewise.
7626
ecf0ebfb
AJ
76272012-04-29 Andreas Jaeger <aj@suse.de>
7628
7629 * Makerules (tests): Remove enable-check-abi protection.
7630 (check-abi-warn): Remove.
7631 (check-abi-%): Remove check-abi-warn usage.
7632
7633 * configure.in: Remove check-abi configure option.
7634 * configure: Regenerated.
7635 * config.make.in (enable-check-abi): Remove.
7636
6d5c57fa
AS
76372012-04-28 Andreas Schwab <schwab@linux-m68k.org>
7638
24c5d07e 7639 [BZ #14033]
ded5180a
AS
7640 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
7641 double functions to double *_finite functions.
7642
7e0d315d
AS
7643 [BZ #13941]
7644 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
7645 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
7646 LDBL_MIN_EXP.
7647 * stdio-common/Makefile (tests): Add tst-sprintf3.
7648 * stdio-common/tst-sprintf3.c: New file.
7649
6d5c57fa
AS
7650 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
7651 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
7652
0749ff8b
JM
76532012-04-28 Joseph Myers <joseph@codesourcery.com>
7654
7655 * conform/conformtest.pl: Remove duplicate typed-constant
7656 handling.
7657
8dbd5d7b
DM
76582012-04-28 David S. Miller <davem@davemloft.net>
7659
7660 * Makerules (%.abilist): Add vpath on sysdep_dirs.
7661 (check-abi-%): Remove AWK script prerequisite and explicit
7662 abilist directory.
7663 (check-abi): Rewrite to just diff the symlist with the abilist.
7664 (config-tls, config-abi-config): Delete, no longer used.
7665 (update-abi-%): Remove AWK script and explicit abilist directory.
7666 (update-abi): Rewrite to simply compare and conditionally copy the
7667 symlist and the sysdep abilist file. Remove update-abi-config
7668 checks.
7669 * abilist/ld.abilist: Remove.
7670 * abilist/libBrokenLocale.abilist: Remove.
7671 * abilist/libanl.abilist: Remove.
7672 * abilist/libcrypt.abilist: Remove.
7673 * abilist/libdl.abilist: Remove.
7674 * abilist/librt.abilist: Remove.
7675 * abilist/libthread_db.abilist: Remove.
7676 * abilist/libutil.abilist: Remove.
7677 * scripts/extract-abilist.awk: Remove.
7678 * scripts/merge-abilist.awk: Remove.
7679 * sysdeps/generic/libcidn.abilist: New file.
7680 * sysdeps/generic/libnss_compat.abilist: New file.
7681 * sysdeps/generic/libnss_db.abilist: New file.
7682 * sysdeps/generic/libnss_dns.abilist: New file.
7683 * sysdeps/generic/libnss_files.abilist: New file.
7684 * sysdeps/generic/libnss_hesiod.abilist: New file.
7685 * sysdeps/generic/libnss_nis.abilist: New file.
7686 * sysdeps/generic/libnss_nisplus.abilist: New file.
7687 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
7688 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
7689 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
7690 file.
7691 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
7692 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
7693 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
7694 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
7695 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
7696 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
7697 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
7698 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
7699 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
7700 file.
7701 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
7702 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
7703 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
7704 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
7705 file.
7706 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
7707 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
7708 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
7709 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
7710 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
7711 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
7712 file.
7713 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
7714 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
7715 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
7716 file.
7717 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
7718 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
7719 New file.
7720 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
7721 New file.
7722 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
7723 New file.
7724 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
7725 New file.
7726 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
7727 New file.
7728 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
7729 New file.
7730 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
7731 New file.
7732 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
7733 New file.
7734 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
7735 New file.
7736 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
7737 New file.
7738 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
7739 New file.
7740 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
7741 New file.
7742 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
7743 New file.
7744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
7745 file.
7746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7747 New file.
7748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7749 New file.
7750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
7751 file.
7752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7753 New file.
7754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7755 New file.
7756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
7757 file.
7758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7759 New file.
7760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7761 New file.
7762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7763 New file.
7764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7765 New file.
7766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7767 New file.
7768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7769 New file.
7770 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
7771 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
7772 file.
7773 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7774 New file.
7775 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
7776 file.
7777 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
7778 file.
7779 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
7780 file.
7781 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
7782 file.
7783 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
7784 file.
7785 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7786 New file.
7787 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
7788 file.
7789 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
7790 file.
7791 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7792 New file.
7793 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
7794 file.
7795 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
7796 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
7797 file.
7798 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7799 New file.
7800 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
7801 file.
7802 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
7803 file.
7804 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
7805 file.
7806 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
7807 file.
7808 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
7809 file.
7810 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7811 New file.
7812 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
7813 file.
7814 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
7815 file.
7816 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7817 New file.
7818 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
7819 file.
7820 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7821 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
7822 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
7823 file.
7824 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
7825 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
7826 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
7827 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
7828 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
7829 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
7830 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
7831 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
7832 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
7833 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
7834 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
7835 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
7836 file.
7837 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7838 New file.
7839 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
7840 file.
7841 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
7842 file.
7843 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
7844 file.
7845 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
7846 file.
7847 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
7848 file.
7849 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7850 New file.
7851 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7852 New file.
7853 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
7854 file.
7855 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7856 New file.
7857 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
7858 file.
7859 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
7860 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
7861 file.
7862 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7863 New file.
7864 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
7865 file.
7866 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
7867 file.
7868 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
7869 file.
7870 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
7871 file.
7872 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
7873 file.
7874 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7875 New file.
7876 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7877 New file.
7878 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
7879 file.
7880 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7881 New file.
7882 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
7883 file.
7884
41d73a1b
JM
78852012-04-28 Joseph Myers <joseph@codesourcery.com>
7886
7887 * conform/conformtest.pl: Fix typo in handling typed-constant from
7888 allow-header.
7889
28aeeda4
JM
78902012-04-27 Joseph Myers <joseph@codesourcery.com>
7891
adae8f5e
JM
7892 * README: Cut down references to pre-2.6 Linux kernels and
7893 Linuxthreads. Update lists of configurations in libc and ports
7894 and sort alphabetically. Say "or newer" with Linux kernel version
7895 requirements.
7896
28aeeda4
JM
7897 * config.h.in [IS_IN_build]: Allow compiling without optimization.
7898
a462cb63
RA
78992012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7900
7901 [BZ #887]
7902 * math/libm-test.inc (logb_test_downward): New test to expose
7903 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
7904 rounding mode.
7905
6ad3493e
JM
79062012-04-27 Joseph Myers <joseph@codesourcery.com>
7907
7908 [BZ #14027]
7909 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
7910 to be done.
7911 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
7912 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
7913
2ce4f015
JM
79142012-04-26 Joseph Myers <joseph@codesourcery.com>
7915
5aeb141a
JM
7916 * sysdeps/unix/i386/brk.S: Remove file.
7917 * sysdeps/unix/i386/dl-brk.S: Likewise.
7918 * sysdeps/unix/i386/pipe.S: Likewise.
7919 * sysdeps/unix/i386/sigreturn.S: Likewise.
7920 * sysdeps/unix/i386/syscall.S: Likewise.
7921 * sysdeps/unix/i386/vfork.S: Likewise.
7922 * sysdeps/unix/i386/wait.S: Likewise.
7923
7143acae
JM
7924 * sysdeps/unix/common/tcsendbrk.c: Move to ...
7925 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
7926
2ce4f015
JM
7927 * configure.in (arm*-none*): Do not allow without
7928 --enable-hacker-mode.
7929 (netbsd*): Remove case setting base_os.
7930 (386bsd*): Likewise.
7931 (freebsd*): Likewise.
7932 (bsdi*): Likewise.
7933 (osf*): Likewise.
7934 (sunos*): Likewise.
7935 (ultrix*): Likewise.
7936 (newsos*): Likewise.
7937 (dynix*): Likewise.
7938 (*bsd*): Likewise.
7939 (sysv*): Likewise.
7940 (isc*): Likewise.
7941 (esix*): Likewise.
7942 (sco*): Likewise.
7943 (minix*): Likewise.
7944 (irix4*): Likewise.
7945 (irix6*): Likewise.
7946 (solaris[2-9]*): Likewise.
7947 (none): Likewise.
7948 * configure: Regenerated.
7949
0ac229c8
AZ
79502012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7951
7952 [BZ #11521]
7953 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
7954 overflow or cancellation in calculating denominator.
7955 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
7956 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
7957 down expression to avoid unexpected rounding in newer GCCs.
7958 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
7959
33f244f4
DM
79602012-04-26 David S. Miller <davem@davemloft.net>
7961
7962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
7963 long-double compat symbols.
7964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
7968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7969 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
7970 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
7972 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
7973 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7974 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
7975 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
7976 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7977
cfa1f3e8
DM
79782012-04-25 David S. Miller <davem@davemloft.net>
7979
7980 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
7981 HWCAP_* values only after the memory barriers have been defined.
7982 (atomic_full_barrier): Define.
7983 (atomic_read_barrier): Define.
7984 (atomic_write_barrier): Define.
7985
6e236b92
SP
79862012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7987
7988 * shlib-versions: Add libgcc_s version information.
7989 * sysdeps/generic/libgcc_s.h: Remove.
7990 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
7991 libgcc_s.h.
7992 * sysdeps/gnu/unwind-resume.c: Likewise.
7993 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
7994
aab39a09
DM
79952012-04-25 David S. Miller <davem@davemloft.net>
7996
7997 * sysdeps/unix/sparc/brk.S: Delete.
7998 * sysdeps/unix/sparc/dl-brk.S: Delete.
7999 * sysdeps/unix/sparc/pipe.S: Delete.
8000 * sysdeps/unix/sparc/sysdep.S: Delete.
8001 * sysdeps/unix/sparc/sysdep.h: Delete.
8002 * sysdeps/unix/sparc/vfork.S: Delete.
8003 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
8004 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
8005 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
8006 ret_ERRVAL, r0, r1, MOVE): Define.
8007 (JUMPTARGET): Remove.
8008 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
8009 sysdeps/unix/sparc/sysdep.h
8010 (ENTRY, END): Remove.
8011 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8012
a3cc4f48
JM
80132012-04-25 Joseph Myers <joseph@codesourcery.com>
8014
2ed8cda2
JM
8015 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
8016 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
8017 -DIS_IN_build.
8018
35d76d59
JM
8019 * timezone/README: Update upstream location and email address for
8020 tzcode and tzdata.
8021 * timezone/zdump.c: Update from tzcode 2012b.
8022 * timezone/zic.c: Likewise.
8023
a3cc4f48
JM
8024 * configure.in (libc_cv_as_needed): Remove test.
8025 * configure: Regenerated.
8026 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
8027 conditional definition.
8028 [$(have-as-needed) != yes] (no-as-needed): Likewise.
8029 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
8030 * config.make.in (have-as-needed): Remove variable.
8031
ceab42c3
SP
80322012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8033 Paul Pluzhnikov <ppluzhnikov@google.com>
8034
8035 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
8036 strings correctly.
8037
3ce2865f
CLT
80382012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
8039
8040 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
8041 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
8042 * sysdeps/sh/strlen.S: Likewise.
8043
f37e0d68
JM
80442012-04-24 Joseph Myers <joseph@codesourcery.com>
8045
ae186e9a
JM
8046 * sysdeps/unix/fork.S: Remove file.
8047 * sysdeps/unix/i386/fork.S: Likewise.
8048 * sysdeps/unix/sparc/fork.S: Likewise.
8049
b96914af
JM
8050 * sysdeps/unix/system.c: Remove file.
8051 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
8052
f37e0d68
JM
8053 * sysdeps/unix/getegid.S: Remove file.
8054 * sysdeps/unix/geteuid.S: Likewise.
8055
87ef29ca
RM
80562012-04-24 Roland McGrath <roland@hack.frob.com>
8057
83bcd236
RM
8058 * scripts/check-localplt.awk: New file.
8059 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
8060 of diff.
8061 * scripts/data/localplt-generic.data: Add a comment.
8062
87ef29ca
RM
8063 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
8064 NODE when __dir_mkfile failed.
8065 * sysdeps/mach/hurd/symlinkat.c: Likewise.
8066 Reported by Ludovic Courtès <ludo@gnu.org>.
8067
e5a6e567
AJ
80682012-04-24 Andreas Jaeger <aj@suse.de>
8069
8070 * Makerules (common-clean): Also remove gen-as-const-headers
8071 files.
8072
c1820385
JM
80732012-04-24 Joseph Myers <joseph@codesourcery.com>
8074
8075 * Makerules (native-compile): Do not change working directory for
8076 build. Use $(OUTPUT_OPTION) in command.
8077 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
8078
94e02fc4
AZ
80792012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8080
8081 [BZ #13886]
8082 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
8083 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
8084 * math/libm-test.inc (floor_test): Add more tests.
8085 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
8086
3a533ca3
JM
80872012-04-24 Joseph Myers <joseph@codesourcery.com>
8088
940ab4b3
JM
8089 * sysdeps/unix/getdents.c: Remove file.
8090 * sysdeps/unix/sysv/getdents.c: Likewise.
8091 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
8092
90e037bd
JM
8093 * sysdeps/unix/syscalls.list (madvise): Add syscall from
8094 sysdeps/unix/mman/syscalls.list.
8095 (mmap): Likewise.
8096 (mprotect): Likewise.
8097 (msync): Likewise.
8098 (munmap): Likewise.
8099 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
8100 * sysdeps/unix/mman/syscalls.list: Remove.
8101 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
8102
3a533ca3
JM
8103 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
8104 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
8105 * configure: Regenerated.
8106 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
8107 $(libgcc_s_suffix).
8108 * config.make.in (libgcc_s_suffix): Remove variable.
8109
1ad743de
JM
81102012-04-23 Joseph Myers <joseph@codesourcery.com>
8111
4ad451e2
JM
8112 * sysdeps/unix/sysv/gethostname.c: Move to ...
8113 * sysdeps/posix/gethostname.c: ... here.
8114
5e37ce39
JM
8115 * sysdeps/unix/execve.S: Remove file.
8116
1ad743de
JM
8117 * sysdeps/unix/_exit.S: Remove file.
8118
4e681b5b
AJ
81192012-04-23 Andreas Jaeger <aj@suse.de>
8120
8121 [BZ #13739]
8122 * manual/Makefile: Remove make dist support, there's no
8123 need for a stand-alone documentation tar ball.
8124 (TEXI2DVI): Define always, it's not in Makeconfig.
8125 (dist): Removed.
8126 (tar-it): Removed.
8127 (edition): Removed.
8128 (glibc-doc-$(edition).tar): Removed
8129 (%.Z): Removed.
8130 (%.gz): Removed.
8131 (%.uu): Removed.
8132 (ETAGS): Remove, it's in Makeconfig.
8133 (move-if-change): Remove, it's in Makeconfig.
8134
c0baea34
PE
81352013-04-23 Paul Eggert <eggert@cs.ucla.edu>
8136
8137 [BZ #13970]
8138 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
8139 (strtod, strtof, strtold, strtol, strtoul, strtoq)
8140 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
8141 (strtod_l, strtof_l, strtold_l): Remove __wur.
8142 It is not necessarily an error to ignore strtol's return value.
8143 One can reliably look at the stored endptr to decide whether
8144 the number had valid syntax.
8145
7c0616fa
AJ
81462012-04-21 Andreas Jaeger <aj@suse.de>
8147
803cb6b7 8148 [BZ #13739]
7c0616fa
AJ
8149 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
8150
b0fe253f
JM
81512012-04-21 Joseph Myers <joseph@codesourcery.com>
8152
8153 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
8154 * sysdeps/unix/sysv/Versions: Remove file.
8155
8280f22d
MT
81562012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
8157
8158 [BZ #13927]
8159 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8160
75ce411f 81612012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
8162
8163 [BZ #7064]
8164 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
8165 version from __vm86.
8166
097d59fa
JM
81672012-04-20 Joseph Myers <joseph@codesourcery.com>
8168
a90f3bcb
JM
8169 * sysdeps/unix/common/lxstat.c: Remove file.
8170 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
8171
edc7ea78
JM
8172 * sysdeps/unix/sysv/Makefile: Remove file.
8173
cb78c221
JM
8174 * sysdeps/unix/sysv/direct.h: Remove file.
8175
efa6a45f
JM
8176 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
8177 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
8178 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
8179 * sysdeps/unix/sysv/bits/signum.h: Likewise.
8180 * sysdeps/unix/sysv/bits/stat.h: Likewise.
8181 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
8182 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
8183
9c9f2d0c
JM
8184 * sysdeps/unix/sysv/setrlimit.c: Remove file.
8185
4541c83b
JM
8186 * sysdeps/unix/xmknod.c: Remove file.
8187 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
8188
f5d153a0
JM
8189 * sysdeps/unix/sysv/settimeofday.c: Remove file.
8190
aa746595
JM
8191 * sysdeps/unix/sysv/i386/time.S: Remove file.
8192
cce5905e
JM
8193 * sysdeps/unix/fxstat.c: Remove file.
8194 * sysdeps/unix/xstat.c: Likewise.
8195 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
8196
37fa3841
JM
8197 * sysdeps/unix/sysv/sigaction.c: Remove file.
8198
ff1962a3
JM
8199 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
8200 (sysdep_headers): Remove variable.
8201 [termio.h not in sysdep_headers] (generated): Likewise.
8202 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
8203 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
8204 * sysdeps/unix/sysv/tcdrain.c: Likewise.
8205 * sysdeps/unix/sysv/tcflow.c: Likewise.
8206 * sysdeps/unix/sysv/tcflush.c: Likewise.
8207 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
8208 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
8209 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
8210 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
8211 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
8212
e7740d31
JM
8213 * sysdeps/unix/siglist.c: Remove file.
8214
ee06f18b
JM
8215 * sysdeps/unix/getppid.S: Remove file.
8216
097d59fa
JM
8217 * sysdeps/unix/mkdir.c: Remove file.
8218 * sysdeps/unix/rmdir.c: Likewise.
8219
ff3d51ec
AS
82202012-04-19 Andreas Schwab <schwab@linux-m68k.org>
8221
8222 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
8223 ERR_MAX value.
8224 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
8225 errlist-compat value.
8226
50f81fd7
DM
82272012-04-18 David S. Miller <davem@davemloft.net>
8228
8229 * sysdeps/generic/memcopy.h (reg_char): Delete.
8230 * debug/strcat_chk.c: Use char, not reg_char.
8231 * debug/strcpy_chk.c: Likewise.
8232 * debug/strncat_chk.c: Likewise.
8233 * debug/strncpy_chk.c: Likewise.
8234 * string/memchr.c: Likewise.
8235 * string/memrchr.c: Likewise.
8236 * string/rawmemchr.c: Likewise.
8237 * string/strcat.c: Likewise.
8238 * string/strchr.c: Likewise.
8239 * string/strchrnul.c: Likewise.
8240 * string/strcmp.c: Likewise.
8241 * string/strcpy.c: Likewise.
8242 * string/strncat.c: Likewise.
8243 * string/strncmp.c: Likewise.
8244 * string/strncpy.c: Likewise.
8245
8ff41c46
WS
82462012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8247
8248 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
8249 __builtin_memcopy is called when src and dest ranges are known to not
8250 overlap.
8251
6b652f46
WS
82522012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8253
8254 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
8255 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
8256 fwd_align_merge macro call.
8257 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
8258 bwd_align_merge macro call.
8259 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8260
b282631e
WS
82612012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8262
8263 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
8264 bwd_align_merge macros.
8265 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
8266 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
8267 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8268
95aa737c
DM
82692012-04-18 David S. Miller <davem@davemloft.net>
8270
8271 * sysdeps/sparc/sparc64/memcopy.h: Delete.
8272
7a99a614
AJ
82732012-04-18 Andreas Jaeger <aj@suse.de>
8274
8275 [BZ# 6794]
8276 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
8277 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
8278 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8279
8280 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
8281 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
8282 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8283
8284 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
8285 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
8286 Adjust for changed ldbl-128 files.
8287
8288 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
8289 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
8290 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8291
e5270c23
DM
82922012-04-17 David S. Miller <davem@davemloft.net>
8293
8294 * sysdeps/sparc/sparc32/memcopy.h: Delete.
8295
fb5e92c9
AS
82962012-04-17 Andreas Schwab <schwab@linux-m68k.org>
8297
8298 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
8299 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
8300 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
8301 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
8302 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8303 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
8304
76da7265
AZ
83052012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8306
8307 [BZ #6794]
8308 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
8309 * math/libm-test.inc: Add ilogb errno and exception tests.
8310 * math/w_ilogb.c: New file: ilogb wrapper.
8311 * math/w_ilogbf.c: New file: ilogbf wrapper.
8312 * math/w_ilogbl.c: New file: ilogbl wrapper.
8313 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
8314 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
8315 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
8316 exception being thrown with 0.0 as argument.
8317 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
8318 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
8319 exception being thrown with 0.0 as argument.
8320 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
8321 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8322 exception being thrown with 0.0 as argument.
8323 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
8324 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8325 exception being thrown with 0.0 as argument.
8326 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
8327 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 8328 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
8329 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
8330 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
8331 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
8332 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
8333 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
8334 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
8335
0396e69d
PB
83362012-04-17 Petr Baudis <pasky@ucw.cz>
8337
8338 * include/sys/uio.h: Change __vector to __iovec to avoid clash
8339 with altivec.
8340
750b5926
MP
83412012-04-16 Marek Polacek <polacek@redhat.com>
8342
8343 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
8344
751728a1
MP
83452012-04-16 Marek Polacek <polacek@redhat.com>
8346
8347 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
8348 operands of fdivp instruction.
8349
34a27407
L
83502012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8351
8352 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
8353 * elf/tst-auditmod3b.c: Likewise.
8354 * elf/tst-auditmod4b.c: Likewise.
8355 * elf/tst-auditmod5b.c: Likewise.
8356 * elf/tst-auditmod6b.c: Likewise.
8357 * elf/tst-auditmod6c.c: Likewise.
8358 * elf/tst-auditmod7b.c: Likewise.
8359 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
8360 * sysdeps/x86_64/preconfigure.in: Likewise.
8361 * sysdeps/x86_64/preconfigure: Regenerated.
8362
7e73e17d
L
83632012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8364
8365 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
8366 __ILP32__.
8367
c7a6ab72
AB
83682012-04-13 Antoine Balestrat <merkil33@gmail.com>
8369
8370 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8371 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
8372
a9e8e0e0
CL
83732012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
8374
8375 [BZ #13973]
8376 * locale/iso-639.def: Fix gl language name. Spotted by
8377 Yaron Shahrabani.
8378
ec98af7d
RM
83792012-04-12 Roland McGrath <roland@hack.frob.com>
8380
8381 [BZ #2074]
8382 * libio/libio.h (__io_write_fn): Update comment.
8383
247c3ede
PB
83842012-04-12 Petr Baudis <pasky@ucw.cz>
8385
8386 [BZ #2074]
8387 * stdio.texi (Hook Functions): The user provided writer function
8388 is not allowed to return -1.
8389
55939d6d
DM
83902012-04-11 David S. Miller <davem@davemloft.net>
8391
8392 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8393
90020f5a
MF
83942012-04-11 Mike Frysinger <vapier@gentoo.org>
8395
8396 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
8397 Add a leading slash to rtkaio.
8398
288f9098
JM
83992012-04-11 Jim Meyering <meyering@redhat.com>
8400
90020f5a
MF
8401 [BZ #11959]
8402 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
8403 It is not necessarily an error to ignore fwrite's return
8404 value. One can reliably use ferror to test for errors after
8405 the fact.
288f9098 8406
4be2b570
L
84072012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8408
8409 * bits/types.h (__snseconds_t): New type.
8410 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
8411
8412 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
8413 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8414 (__SNSECONDS_T_TYPE): Likewise.
8415 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8416 (__SNSECONDS_T_TYPE): Likewise.
8417 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8418 (__SNSECONDS_T_TYPE): Likewise.
8419
288f9098 84202012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
8421
8422 [BZ #2636]
8423 * manual/time.texi (Processor Time): Return type of times is
8424 elapsed real time since an arbitrary point in the past.
8425 (CPU Time): Move CLK_TCK from here...
8426 (Processor Time): ...to here. Correct description.
8427 * manual/conf.texi (Constants for Sysconf): Correct description of
8428 _SC_CLK_TCK.
8429
d7dd4413
DM
84302012-04-10 David S. Miller <davem@davemloft.net>
8431
8432 [BZ #13967]
8433 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
8434 where the is a gap between DT_REL(A) and DT_JMPREL.
8435
b46068fc
L
84362012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8437
8438 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
8439 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8440 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8441
73d65cc3
SP
84422012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8443
8444 * elf/dl-support.c (_dl_inhibit_cache): New variable.
8445 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
8446 (dl_main): Handle --inhibit-cache.
8447 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
8448 _dl_inhibit_cache.
8449 * elf/dl-load.c (_dl_map_object): Use it.
8450 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
8451
bcc8d661
JM
84522012-04-09 Joseph Myers <joseph@codesourcery.com>
8453
8f9a2fae
JM
8454 [BZ #13872]
8455 * sysdeps/i386/fpu/e_powl.S (p78): New object.
8456 (__ieee754_powl): Saturate large exponents rather than testing for
8457 overflow of y*log2(x).
8458 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8459 * math/libm-test.inc (pow_test): Do not permit spurious overflow
8460 exceptions.
8461
bcc8d661
JM
8462 [BZ #11521]
8463 * math/s_ctan.c: Include <float.h>.
8464 (__ctan): Avoid internal overflow or cancellation in calculating
8465 denominator.
8466 * math/s_ctanf.c: Likewise.
8467 * math/s_ctanl.c: Likewise.
8468 * math/s_ctanh.c: Likewise.
8469 * math/s_ctanhf.c: Likewise.
8470 * math/s_ctanhl.c: Likewise.
8471 * math/libm-test.inc (ctan_test): Add more tests.
8472 (ctanh_test): Likewise.
8473 * sysdeps/i386/fpu/libm-test-ulps: Update.
8474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8475
823fbbb4
AJ
84762012-04-09 Andreas Jaeger <aj@suse.de>
8477
03879793
AJ
8478 [BZ #6894]
8479 * manual/filesys.texi (Directory Entries): Mention that d_namlen
8480 is an optional BSD extension.
8481
823fbbb4
AJ
8482 [BZ #10254]
8483 * manual/stdio.texi (Opening Streams): Document additional fopen
8484 parameters.
8485
8de131cb
RM
84862012-04-09 Roland McGrath <roland@hack.frob.com>
8487
8488 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
8489 %eax without telling the compiler.
8490
c0ed9d7d
CD
84912012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
8492
8493 [BZ # 13963]
8494 * manual/install.texi: Use sourceware.org.
8495
c483f6b4
JM
84962012-04-09 Joseph Myers <joseph@codesourcery.com>
8497
d7dd9453
JM
8498 [BZ #13873]
8499 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
8500 (__ieee754_pow): Generate overflow and underflow using huge*huge
8501 and tiny*tiny rather than just returning constant infinity or zero
8502 for large exponents.
8503 * math/libm-test.inc (pow_test): Require overflow exceptions for
8504 applicable cases of large exponents.
8505
c483f6b4
JM
8506 [BZ #706]
8507 * sysdeps/i386/fpu/e_pow.S (p10): New object.
8508 (__ieee754_pow): Use iterative multiplication algorithm only for
8509 integer exponents with absolute value below 1024. Check for odd
8510 integer exponents when using algorithm for real exponents.
8511 * math/libm-test.inc (pow_test): Add more tests.
8512 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8513
d2de7579
JM
85142012-04-08 Joseph Myers <joseph@codesourcery.com>
8515
8516 [BZ #13705]
8517 * math/libm-test.inc (exp_test): Do not allow overflow exception
8518 on underflow test.
8519
f77f1232
AJ
85202012-04-08 Aurelien Jarno <aurelien@aurel32.net>
8521
8522 [BZ #13705]
8523 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
8524 instead of __kernel_standard_f.
8525
3884932b
MF
85262012-04-08 Mike Frysinger <vapier@gentoo.org>
8527
8528 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
8529 * sysdeps/x86_64/memset_chk.S: Likewise.
8530
54472e9c
AJ
85312012-04-08 Andreas Jaeger <aj@suse.de>
8532
6ab0fbfc
AJ
8533 [BZ #10153]
8534 * manual/startup.texi (Environment Access): Describe return value
8535 for putenv and setenv.
8536
61efba8c
AJ
8537 [BZ #6895]
8538 * manual/filesys.texi (Directory Entries): Add description for
8539 DT_LNK.
8540
95c3f29a
AJ
8541 [BZ #6890]
8542 * manual/filesys.texi (Directory Entries): Clarify that it's file
8543 system not operating system in the description of DT_UNKNOWN.
8544
54472e9c
AJ
8545 [BZ #6578]
8546 * manual/syslog.texi (closelog): Fix reference, it's openlog.
8547
624254b1
SC
85482012-04-08 Stephen Compall <s11@member.fsf.org>
8549
8550 [BZ #6649]
8551 * manual/llio.texi (Opening and Closing Files): Add cross
8552 reference to explain mode argument.
8553
1e4920e0
MF
85542012-04-07 Mike Frysinger <vapier@gentoo.org>
8555
8556 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
8557 * sysdeps/x86_64/memset_chk.S: Likewise.
8558
5ed848f3
DM
85592012-04-07 David S. Miller <davem@davemloft.net>
8560
8561 * elf/elf.h (R_SPARC_WDISP10): Define.
8562 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
8563 R_SPARC_SIZE32.
8564 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
8565 R_SPARC_SIZE64 and R_SPARC_H34.
8566
96154cd8
CD
85672012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
8568
8569 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
8570 conditions and remove no longer applicable assertion.
8571
9904dc47
L
85722012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8573
8574 * bits/byteswap.h: Include <features.h>.
8575 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8576 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8577
f8887d0a
L
85782012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8579
8580 * bits/byteswap.h (__bswap_16): Removed.
8581 Include <bits/byteswap-16.h> to get __bswap_16.
8582 * sysdeps/i386/bits/byteswap.h: Likewise.
8583 * sysdeps/s390/bits/byteswap.h: Likewise.
8584 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8585 * bits/byteswap-16.h: New file.
8586 * sysdeps/i386/bits/byteswap-16.h: Likewise.
8587 * sysdeps/s390/bits/byteswap-16.h: Likewise.
8588 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
8589 * string/Makefile (headers): Add bits/byteswap-16.h.
8590
62470f60
PP
85912012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8592
8593 [BZ #13895]
8594 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
8595 extra indirection.
8596 * nss/Makefile (tests-static, tests): Add tst-nss-static.
8597 * nss/tst-nss-static.c: New.
8598
4dad7bab
RM
85992012-04-06 Robert Millan <rmh@gnu.org>
8600
8601 [BZ #6486]
8602 * manual/llio.texi (File Position Primitive): lseek
8603 refers to WHENCE when it really means OFFSET.
8604
e9142a17
AJ
86052012-04-06 Andreas Jaeger <aj@suse.de>
8606
2c040eff
AJ
8607 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
8608 strncmp declarations.
8609
e9142a17
AJ
8610 * abilist/libc.abilist: Add __poll and __ppoll.
8611
ff9f1c5f
DM
86122012-04-05 David S. Miller <davem@davemloft.net>
8613
dcd2ae90
DM
8614 * scripts/check-local-headers.sh: Accept a host triplet in the
8615 path matched by the exclude regexp.
8616
993eb054
DM
8617 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
8618 definition.
8619 * sysdeps/powerpc/powerpc32/dl-machine.h
8620 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
8621 * sysdeps/s390/s390-32/dl-machine.h
8622 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8623 * sysdeps/sparc/sparc32/dl-machine.h
8624 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8625 * sysdeps/sparc/sparc64/dl-machine.h
8626 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8627
ff9f1c5f
DM
8628 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
8629 lazy binding.
48e2e132 8630 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
8631 undefined symbol errors.
8632
48e2e132 8633 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
8634 DT_NEEDED entries.
8635
e80d6f94
MM
86362012-04-05 Michael Matz <matz@suse.de>
8637
8638 [BZ #13592]
8639 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
8640
349fa79f
AJ
86412012-04-05 Andreas Jaeger <aj@suse.de>
8642
8643 [BZ #13908]
8644 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
8645 comment.
8646
f402708f
KK
86472012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8648
8649 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
8650 which ROUND is no valid rounding mode.
8651
2ecccfc9
KK
86522012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8653
8654 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
8655 read again.
8656 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
8657
8a53f50f
KK
86582012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8659
8660 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
8661 an exception using FPU order intentionally.
8662
86632012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8664
8665 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
8666 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
8667 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
8668 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
8669
d653abb7
SJ
86702012-04-05 Simon Josefsson <simon@josefsson.org>
8671
8672 [BZ #12340]
8673 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
8674 EINVAL when BUFLEN is too smal.
8675
c3b1bf7d
TS
86762012-04-05 Thomas Schwinge <thomas@codesourcery.com>
8677
8678 [BZ #13553]
8679 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
8680 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
8681
b1aa60f3
AJ
86822012-04-03 Andreas Jaeger <aj@suse.de>
8683
c3b1bf7d 8684 [BZ #13938]
67f60a26
AJ
8685 * manual/setjmp.texi (System V contexts): Fix sentence.
8686
b1aa60f3
AJ
8687 [BZ #13926]
8688 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
8689 New macro for this case.
8690 [!__GNUC__] (__bswap_64): New inline function for this case.
8691 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8692 * bits/byteswap.h: Likewise.
8693 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
8694 ull, guard with __GLIBC_HAVE_LONG_LONG.
8695
8696 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
8697 __GLIBC_HAVE_LONG_LONG.
8698
8699 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
8700 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
8701
39c59c35
TMQMF
87022012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8703
8704 [BZ #13691]
8705 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
8706 inptr and inend, rather than using last_ch.
8707
135ffda8
DM
87082012-04-02 David S. Miller <davem@davemloft.net>
8709
8710 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
8711 * stdio-common/printf-parse.h (read_int): Change return type to
8712 'int', return -1 on INT_MAX overflow.
8713 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
8714 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
8715 overflows INT_MAX. Check for overflow of in-format-string precision
8716 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
8717 SIZE_MAX not INT_MAX for integer overflow test.
8718 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
8719 skip the construct in the format string but do not record anything.
8720 * stdio-common/bug22.c: Adjust to test both width/prevision
8721 INT_MAX overflow as well as total length INT_MAX overflow. Check
8722 explicitly for proper errno values.
8723
228c019e
TS
87242012-04-02 Thomas Schwinge <thomas@codesourcery.com>
8725
302cadd3
TS
8726 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
8727 CHAR_MAX.
8728 * string/test-strcmp.c [! WIDE]: Likewise.
8729 * time/tst-mktime2.c: Likewise for INT_MAX.
8730 * string/test-string.h: #include <sys/param.h> for MIN.
8731
228c019e
TS
8732 * csu/init-first.c (__libc_init_first): Call __ctype_init.
8733 * sysdeps/i386/init-first.c (init): Likewise.
8734 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
8735 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
8736 * sysdeps/sh/init-first.c (init): Likewise.
8737
cfa633f5
UD
87382012-04-01 Ulrich Drepper <drepper@gmail.com>
8739
8740 * po/ru.po: Update from translation team.
d1635ef8 8741 * po/vi.po: Likewise.
cfa633f5 8742
6cd0a5ea
SP
87432012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8744
8745 * resolv/nss_dns/dns-host.c: Merge copyright years.
8746
4b43400f
LD
87472012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8748
8749 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8750 Optimize memcpy with prefetch if
8751 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
8752 src, dst pointers have unequal 16 byte alignments.
8753
48c41d04
SP
87542012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8755
8756 [BZ #13928]
8757 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
8758 from a CNAME entry and return the minimum ttl for the query.
8759 (gaih_getanswer_slice): Likewise.
8760
b8dc394d
JL
87612012-03-30 Jeff Law <law@redhat.com>
8762
8763 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
8764 due to long keys.
8765 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8766 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8767
2f5a5ed0
JL
8768 * resolv/nss_dns/dns-host.c: Update copyright year.
8769
1d39e359
UD
87702012-03-30 Ulrich Drepper <drepper@gmail.com>
8771
c030f70c 8772 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 8773 requests to save a system call. Fix check that all bytes are sent.
c030f70c 8774
1d39e359
UD
8775 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
8776 comments for sendmmsg.
8777
87782012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
8779
8780 [BZ #13691]
8781 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
8782 with only 1 character between 0x0041 and 0x01b0.
8783 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
8784 * wcsmbs/tst-mbsnrtowcs.c: New file.
8785
20fde227
DM
87862012-03-29 David S. Miller <davem@davemloft.net>
8787
8788 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
8789 small copies by hand.
8790
984a4237
JL
87912012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8792
8793 [BZ #13761]
8794 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
8795 _nss_compat_initgroups_dyn): Fall back to malloc/free
8796 for large group memberships.
8797
18c9d62b
DM
87982012-03-28 David S. Miller <davem@davemloft.net>
8799
88d85d4f
DM
8800 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
8801 that branches into memcpy.
8802 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8803 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8804 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8805 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8806 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
8807 bits.
8808 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
8809 implementation too.
8810 * sysdeps/sparc/mempcpy.S: New file.
8811
e5aa83e1
DM
8812 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
8813 the IFUNC routine in the libc case.
8814 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8815
88570753
DM
8816 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
8817 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
8818 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
8819 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
8820 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
8821 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
8822 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
8823 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
8824
249d7567
DM
8825 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
8826 loop to 256 bytes instead of 64 bytes and fix test signedness.
8827
18c9d62b
DM
8828 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
8829 * sysdeps/sparc/sparc32/Makefile: rather than here...
8830 * sysdeps/sparc/sparc64/Makefile: and here.
8831
05f3d1f6
UD
88322012-03-28 Ulrich Drepper <drepper@gmail.com>
8833
8834 * malloc/mallocbug.c: Avoid warnings about unused variables.
8835
86ae07a8
JL
88362012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8837
8838 [BZ #13760]
8839 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
8840 in the right place. Discard and retry query if response is
8841 larger than input buffer size.
8842
41bf21a1
JM
88432012-03-28 Joseph Myers <joseph@codesourcery.com>
8844
d6270972
JM
8845 [BZ #369]
8846 [BZ #2678]
8847 [BZ #3866]
8848 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
8849 x for large integer exponent.
8850 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8851 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
8852 sign of result as needed afterwards.
8853 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8854 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
8855 result for underflowing pow the same as for overflow.
8856 (__kernel_standard_l): Handle powl overflow and underflow here
8857 rather than calling __kernel_standard.
8858 * math/libm-test.inc (pow_test): Add more tests.
8859
414fca03 8860 [BZ #3868]
41bf21a1
JM
8861 [BZ #13879]
8862 [BZ #13910]
8863 [BZ #13911]
8864 [BZ #13912]
8865 [BZ #13913]
8866 [BZ #13915]
8867 [BZ #13916]
8868 [BZ #13917]
8869 [BZ #13918]
8870 [BZ #13919]
8871 [BZ #13920]
8872 [BZ #13921]
8873 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
8874 * sysdeps/ieee754/k_standard.c: Include <float.h>.
8875 (__kernel_standard_l): New function.
8876 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
8877 __kernel_standard.
8878 * math/w_acosl.c (__acosl): Likewise.
8879 * math/w_asinl.c (__asinl): Likewise.
8880 * math/w_atan2l.c (__atan2l): Likewise.
8881 * math/w_atanhl.c (__atanhl): Likewise.
8882 * math/w_coshl.c (__coshl): Likewise.
8883 * math/w_exp10l.c (__exp10l): Likewise.
8884 * math/w_exp2l.c (__exp2l): Likewise.
8885 * math/w_fmodl.c (__fmodl): Likewise.
8886 * math/w_hypotl.c (__hypotl): Likewise.
8887 * math/w_j0l.c (__j0l, __y0l): Likewise.
8888 * math/w_j1l.c (__j1l, __y1l): Likewise.
8889 * math/w_jnl.c (__jnl, __ynl): Likewise.
8890 * math/w_lgammal.c (__lgammal): Likewise.
8891 * math/w_log10l.c (__log10l): Likewise.
8892 * math/w_log2l.c (__log2l): Likewise.
8893 * math/w_logl.c (__logl): Likewise.
8894 * math/w_powl.c (__powl): Likewise.
8895 * math/w_remainderl.c (__remainderl): Likewise.
8896 * math/w_scalbl.c (sysv_scalbl): Likewise.
8897 * math/w_sinhl.c (__sinhl): Likewise.
8898 * math/w_sqrtl.c (__sqrtl): Likewise.
8899 * math/w_tgammal.c (__tgammal): Likewise.
8900 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
8901 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
8902 * math/libm-test.inc (acos_test): Add more tests.
8903 (acosh_test): Likewise.
8904 (asin_test): Likewise.
8905 (atanh_test): Likewise.
8906 (exp_test): Likewise.
8907 (exp10_test): Likewise.
8908 (exp2_test): Likewise.
8909 (expm1_test): Likewise.
8910 (lgamma_test): Likewise.
8911 (log_test): Likewise.
8912 (log10_test): Likewise.
8913 (log1p_test): Likewise.
8914 (log2_test): Likewise.
8915 (pow_test): Do not allow some spurious overflow exceptions.
8916 (sqrt_test): Add more tests.
8917 (tgamma_test): Likewise.
8918 (y0_test): Likewise.
8919 (y1_test): Likewise.
8920 (yn_test): Likewise.
8921
dd62fda6
AB
89222012-03-27 Anton Blanchard <anton@samba.org>
8923
8924 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
8925 MAP_HUGETLB.
8926 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8927 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8928 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8929
1e3cdfda
AJ
89302012-03-27 David S. Miller <davem@davemloft.net>
8931
b855ab85
DM
8932 * conform/Makefile: Run run-conformtest.sh using $(BASH).
8933
1e3cdfda
AJ
8934 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
8935 have-as-vis3 check.
8936
89372012-03-27 Andreas Jaeger <aj@suse.de>
8938
8939 * sysdeps/x86_64/elf/configure.in: Moved to ...
8940 * sysdeps/x86_64/configure.in: ... here.
8941 * sysdeps/x86_64/elf/start.S: Moved to ...
8942 * sysdeps/x86_64/start.S: ... here.
8943 * sysdeps/x86_64/elf/configure: Delete.
8944
8945 * sysdeps/x86_64/configure.in: Merge contents from
8946 sysdeps/i386/configure.in (without i686 check).
8947
8948 * sysdeps/i386/elf/Versions: Merge into ...
8949 * sysdeps/i386/Versions: ... this.
8950 * sysdeps/i386/elf/Versions: Delete file.
8951 * sysdeps/i386/elf/start.S: Moved to ...
8952 * sysdeps/i386/start.S: ...here.
8953 * sysdeps/i386/elf/configure.in: Merge into...
8954 * sysdeps/i386/configure.in: ...here.
8955 * sysdeps/i386/elf/configure.in: Delete file.
8956 * sysdeps/i386/elf/configure: Delete file.
8957
8958 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
8959 * debug/backtracesyms.c: ... here.
8960 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
8961 * debug/backtracesymsfd.c: ... here.
8962 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
8963 * sysdeps/generic/ifunc-sel.h: ... here.
8964
8965 * sysdeps/unix/i386/start.c: Delete file.
8966 * sysdeps/unix/sparc/start.c: Delete file.
8967 * sysdeps/unix/start.c: Delete file.
8968
8969 * sysdeps/sh/elf/configure.in: Moved to ...
8970 * sysdeps/sh/configure.in: ... here.
8971 * sysdeps/sh/elf/start.S: Moved to ...
8972 * sysdeps/sh/start.S: ... here.
8973 * sysdeps/sh/elf/configure: Delete file.
8974
8975 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
8976 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
8977 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
8978 * sysdeps/powerpc/powerpc64/entry.h: ... here.
8979 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
8980 * sysdeps/powerpc/powerpc64/start.S: here.
8981 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
8982 * sysdeps/powerpc/powerpc64/Makefile: ... this.
8983 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
8984 * sysdeps/powerpc/powerpc64/configure.in: ... this.
8985 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
8986
8987 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
8988 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
8989 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
8990 * sysdeps/powerpc/powerpc32/start.S: ... here.
8991 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
8992 * sysdeps/powerpc/powerpc32/configure.in: ... this.
8993 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
8994
8995 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
8996 * sysdeps/powerpc/ifunc-sel.h: ... here.
8997 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
8998 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
8999
9000 * sysdeps/sparc/elf/configure.in: Moved to ...
9001 * sysdeps/sparc/configure.in: ... here.
9002 * sysdeps/sparc/elf/configure: Delete file.
9003 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
9004 * sysdeps/sparc/sparc32/start.S: ... here.
9005 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
9006 * sysdeps/sparc/sparc64/start.S: ... here.
9007 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
9008 * sysdeps/sparc/sparc32/Makefile: ... this.
9009 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
9010 * sysdeps/sparc/sparc64/Makefile: ... this.
9011
9012 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
9013 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
9014 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
9015 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
9016 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
9017 * sysdeps/s390/s390-32/setjmp.S: ... here.
9018 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
9019 * sysdeps/s390/s390-32/configure.in: ... here.
9020 * sysdeps/s390/s390-32/elf/configure: Delete file.
9021 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
9022 * sysdeps/s390/s390-32/start.S: ... here.
9023
9024 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
9025 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
9026 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
9027 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
9028 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
9029 * sysdeps/s390/s390-64/setjmp.S: ... here.
9030 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
9031 * sysdeps/s390/s390-64/configure.in: ... here
9032 * sysdeps/s390/s390-64/elf/configure: Delete file.
9033 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
9034 * sysdeps/s390/s390-64/start.S: ... here.
9035 * sysdeps/s390/s390-64/elf/configure: Delete.
9036
9037 * configure.in: Remove support for elf directories in sysdeps.
9038
9039 * configure: Regenerated.
9040 * sysdeps/i386/configure: Regenerated.
9041 * sysdeps/powerpc/powerpc32/configure: Regenerated.
9042 * sysdeps/powerpc/powerpc64/configure: Regenerated.
9043 * sysdeps/s390/s390-32/configure: Regenerated.
9044 * sysdeps/s390/s390-64/configure: Regenerated.
9045 * sysdeps/sh/configure: Regenerated.
9046 * sysdeps/sparc/configure: Regenerated.
9047 * sysdeps/x86_64/configure: Regenerated.
9048
a3f61311
AS
90492012-03-26 Andreas Schwab <schwab@linux-m68k.org>
9050
c876e002
AS
9051 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9052
a3f61311
AS
9053 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
9054 denormal result into account.
9055
ac4c54f0
RM
90562012-03-25 Roland McGrath <roland@hack.frob.com>
9057
9058 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
9059 Reported by Allan McRae <allan@archlinux.org>.
9060
6a9b9c02
JL
90612012-03-23 Jeff Law <law@redhat.com>
9062
9063 * nss/getnssent.c (__nss_getent): Fix typo.
9064
4c42a0c1
DM
90652012-03-23 David S. Miller <davem@davemloft.net>
9066
9067 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9068
1532c7ac
L
90692012-03-23 H.J. Lu <hongjiu.lu@intel.com>
9070
9071 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
9072 to pad to uint64_t for each field.
9073 (dl_tls_index): Replace unsigned long with uint64_t.
9074
3ff42526
PP
90752012-03-23 Daniel Jacobowitz <dmj@google.com>
9076 Paul Pluzhnikov <ppluzhnikov@google.com>
9077
9078 [BZ #6528]
9079 * grp/Makefile (otherlibs): Don't set it.
9080 * inet/Makefile (otherlibs): Likewise.
9081 * login/Makefile (otherlibs): Likewise.
9082 * nscd/Makefile (otherlibs): Likewise.
9083 * posix/Makefile (otherlibs): Likewise.
9084 * pwd/Makefile (otherlibs): Likewise.
9085 * rt/Makefile (otherlibs): Likewise.
9086 * sunrpc/Makefile (otherlibs): Likewise.
9087 * nss/Makefile (otherlibs): Likewise.
9088 Add libnss_files to routines and static-only-routines.
9089 ($(objpfx)getent): Remove rule.
9090 * resolv/Makefile: Add libnss_dns and libresolv to routines and
9091 static-only-routines.
9092
7c69cd14
JM
90932012-03-22 Joseph Myers <joseph@codesourcery.com>
9094
9095 [BZ #13892]
9096 * math/s_cexp.c: Include <float.h>.
9097 (__cexp): Handle exp result overflowing not necessarily
9098 overflowing both real and imaginary parts of result.
9099 * math/s_cexpf.c: Likewise.
9100 * math/s_cexpl.c: Likewise.
9101 * math/libm-test.inc (cexp_test): Add more tests.
9102 * sysdeps/i386/fpu/libm-test-ulps: Update.
9103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9104
81b035fe
L
91052012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9106
9107 * include/link.h (ELFW): New macro.
9108 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
9109 Replace ELF64_R_TYPE with ELFW(R_TYPE).
9110
1da7940c
L
91112012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9112
9113 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
9114 with uint64_t.
9115
b749dbb9
L
91162012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9117
9118 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
9119 declaration.
9120 (struct La_x32_retval): Likewise.
9121
2ff87f3f
L
91222012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9123
9124 * sysdeps/x86_64/preconfigure.in: New file.
9125 * sysdeps/x86_64/preconfigure: New generated file.
9126
c0df8e69
JM
91272012-03-22 Joseph Myers <joseph@codesourcery.com>
9128
48e44791
JM
9129 [BZ #13824]
9130 * math/e_exp2l.c: Include <float.h>.
9131 (__ieee754_exp2l): Handle overflow and underflow cases
9132 separately. Only pass fractional part of argument to
9133 __ieee754_expl.
9134 * math/libm-test.inc (exp2_test): Add more tests.
9135
c0df8e69
JM
9136 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
9137 negating x to take absolute value.
9138 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
9139 Likewise.
9140 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9141 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
9142 Likewise.
9143 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
9144 computing low part if x was negated.
9145 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9146
c8e43ba7
L
91472012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9148
9149 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
9150 la_x32_gnu_pltexit.
9151 (pltexit): Cast int_retval to ptrdiff_t.
9152 * elf/tst-auditmod3b.c: Likewise.
9153 * elf/tst-auditmod4b.c: Likewise.
9154 * elf/tst-auditmod5b.c: Likewise.
9155 * elf/tst-auditmod6b.c: Likewise.
9156 * elf/tst-auditmod6c.c: Likewise.
9157 * elf/tst-auditmod7b.c: Likewise.
9158
9159 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
9160 and x32_gnu_pltexit.
9161
9162 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
9163 __ELF_NATIVE_CLASS.
9164 (La_x32_regs): New macro.
9165 (La_x32_retval): Likewise.
9166 (la_x32_gnu_pltenter): New function prototype.
9167 (la_x32_gnu_pltexit): Likewise.
9168
7998fa78
AS
91692012-03-21 Andreas Schwab <schwab@linux-m68k.org>
9170
dcb33988
AS
9171 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
9172 exponent.
9173
233fc563
AS
9174 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9175
7998fa78
AS
9176 * configure.in (libc_cv_cc_nofma): Check for option to disable
9177 generation of FMA instructions.
9178 * configure: Regenerate.
9179 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
9180 * sysdeps/ieee754/dbl-64/Makefile: New file.
9181 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
9182 Remove brandred-fma4.
9183 (CFLAGS-brandred-fma4.c): Remove.
9184 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
9185 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
9186 define.
9187 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
9188 define.
9189
8e95c99a
L
91902012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9191
9192 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9193 LLONG_MAX != LONG_MAX.
9194 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9195 (_fitoa_word): Likewise.
9196 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
9197 LLONG_MAX != LONG_MAX.
9198 * stdio-common/_itowa.h: Include <_itoa.h>.
9199 (_itowa_word): Use _ITOA_WORD_TYPE on value.
9200 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
9201 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
9202 only if not defined.
9203 (_ITOA_WORD_TYPE): Likewise.
9204 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9205 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
9206
6f4db457
DM
92072012-03-21 David S. Miller <davem@davemloft.net>
9208
9209 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9210
7785fe5a
L
92112012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9212
9213 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
9214 of x86_64 when setting libc_cv_slibdir, libdir and
9215 libc_cv_localedir.
9216 * sysdeps/unix/sysv/linux/configure: Regenerated.
9217
4535cd55
JM
92182012-03-21 Joseph Myers <joseph@codesourcery.com>
9219
9220 * manual/lang.texi (Old Varargs): Remove section.
9221 (How Variadic): Update menu.
9222 (va_start): Do not mention varargs.h.
9223
17228132
TS
92242012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9225 Joseph Myers <joseph@codesourcery.com>
9226
9227 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
9228 link test.
9229 * configure: Regenerated.
9230
8149f976
TS
92312012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9232
05f3d1f6
UD
9233 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
9234 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
9235 conformtest.pl
8149f976 9236
1a4ac776
JM
92372012-03-21 Joseph Myers <joseph@codesourcery.com>
9238
be22ce65
JM
9239 * NOTES: Remove.
9240 * Makefile (files-for-dist): Remove NOTES.
9241 (NOTES): Remove rule.
9242 * README: Don't refer to NOTES.
9243 * manual/creature.texi: Don't include macros.texi.
9244 * manual/intro.texi (creature.texi): Remove comment referring to
9245 NOTES.
9246
40b601fb
JM
9247 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
9248 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
9249 * configure: Regenerated.
9250 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
9251 LIBC_TRY_CC_OPTION.
9252 (libc_cv_as_i686): Likewise.
9253 (libc_cv_cc_avx): Likewise.
9254 (libc_cv_cc_sse2avx): Likewise.
9255 (libc_cv_cc_fma4): Likewise.
9256 (libc_cv_cc_novzeroupper): Likewise.
9257 * sysdeps/i386/configure: Regenerated.
9258
1a4ac776
JM
9259 [BZ #13883]
9260 * sysdeps/i386/fpu/s_cexp.S: Remove.
9261 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9262 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9263 * math/libm-test.inc (cexp_test): Add more tests.
9264 * sysdeps/i386/fpu/libm-test-ulps: Update.
9265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9266
a458e7fe
AM
92672012-03-21 Allan McRae <allan@archlinux.org>
9268
9269 * timezone/Makefile: Do not install iso3166.tab and zone.tab
9270
0cb7efc5
JM
92712012-03-21 Joseph Myers <joseph@codesourcery.com>
9272
9273 [BZ #13871]
9274 * math/w_exp2.c: Do not include <float.h>.
9275 (o_threshold, u_threshold): Remove.
9276 (__exp2): Calculate result before checking finiteness and calling
9277 __kernel_standard.
9278 * math/w_exp2f.c: Likewise.
9279 * math/w_exp2l.c: Likewise.
9280 * math/libm-test.inc (exp2_test): Require overflow exception for
9281 1e6 input.
2460d3aa
JM
9282
9283 [BZ #3866]
9284 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
9285 range of signed 64-bit integers before using fistpll. Remove
9286 checks for whether integers fit in mantissa bits.
9287 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
9288 the range of signed 32-bit integers before using fistpl. Remove
9289 checks for whether integers fit in mantissa bits.
9290 * sysdeps/i386/fpu/e_powl.S (p64): New object.
9291 (__ieee754_powl): Test for y outside the range of signed 64-bit
9292 integers before using fistpll. Reduce 64-bit values to 63-bit
9293 ones as needed.
9294 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
9295 divide-by-zero is raised for zero to large negative powers.
9296 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
9297 (__ieee754_powl): Test for y outside the range of signed 64-bit
9298 integers before using fistpll. Reduce 64-bit values to 63-bit
9299 ones as needed.
9300 * math/libm-test.inc (pow_test): Add more tests.
9301
eb96ffb0
L
93022012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9303
9304 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
9305 <stdio-common/_itoa.h>.
9306 * debug/segfault.c: Likewise.
9307 * elf/dl-cache.c: Likewise.
9308 * elf/dl-minimal.c: Likewise.
9309 * elf/dl-misc.c: Likewise.
9310 * elf/dl-sysdep.c: Likewise.
9311 * elf/dl-version.c: Likewise.
9312 * elf/rtld.c: Likewise.
9313 * hurd/hurdsock.c: Likewise.
9314 * hurd/lookup-retry.c: Likewise.
9315 * malloc/malloc.c: Likewise.
9316 * malloc/mtrace.c: Likewise.
9317 * nscd/nscd_getgr_r.c: Likewise.
9318 * nscd/nscd_getpw_r.c: Likewise.
9319 * nscd/nscd_getserv_r.c: Likewise.
9320 * posix/getopt_init.c: Likewise.
9321 * posix/wordexp.c: Likewise.
9322 * stdio-common/_itoa.c: Likewise.
9323 * stdio-common/printf_fphex.c: Likewise.
9324 * stdio-common/vfprintf.c: Likewise.
9325 * string/_strerror.c: Likewise.
9326 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
9327 * sysdeps/i386/i686/hp-timing.h: Likewise.
9328 * sysdeps/mach/_strerror.c: Likewise.
9329 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
9330 * sysdeps/mach/hurd/sethostid.c: Likewise.
9331 * sysdeps/mach/hurd/xmknodat.c: Likewise.
9332 * sysdeps/mach/xpg-strerror.c: Likewise.
9333 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9334 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9335 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
9336 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
9337 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9338 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
9339 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9340 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9341 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
9342 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
9343 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
9344 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
9345 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
9346 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9347 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9348 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
9349 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
9350 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
9351 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9352 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9353 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
9354
9355 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
9356
9357 * stdio-common/_itoa.h: Moved to ...
9358 * sysdeps/generic/_itoa.h: Here.
9359
9360 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
9361
9362 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
9363 instead of "_itoa.h" and "_itowa.h".
9364 * stdio-common/vfprintf.: Likewise.
9365
d1af992d
L
93662012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9367
9368 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
9369 <bits/wordsize.h>.
9370 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
9371 (__signbit): Likwise.
9372 (llrintf): Likwise.
9373 (llrint): Likwise.
9374
114883e0
L
93752012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9376
9377 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
9378 __WORDSIZE != 64.
9379
c135cc1b
JM
93802012-03-20 Joseph Myers <joseph@codesourcery.com>
9381
9382 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
9383 OVERFLOW_EXCEPTION_OK.
9384 * math/libm-test.inc ("Philosophy"): Update comment about
9385 exception testing.
9386 (OVERFLOW_EXCEPTION): Define.
9387 (OVERFLOW_EXCEPTION_OK): Likewise.
9388 (INVALID_EXCEPTION_OK): Renumber.
9389 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9390 (IGNORE_ZERO_INF_SIGN): Likewise.
9391 (test_exceptions): Handle FE_OVERFLOW.
9392 (exp10_test): Expect overflow exceptions.
9393 (exp2_test): Likewise.
9394 (expm1_test): Likewise.
9395 (nextafter_test): Likewise.
9396 (pow_test): Likewise.
9397 (scalbn_test): Likewise.
9398 (scalbln_test): Likewise.
9399
95443d88
L
94002012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9401
9402 * sysdeps/x86_64/bits/atomic.h
9403 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
9404 64bit integer.
9405 (atomic_exchange_acq): Likewise.
9406 (__arch_exchange_and_add_body): Likewise.
9407 (__arch_add_body): Likewise.
9408 (atomic_add_negative): Likewise.
9409 (atomic_add_zero): Likewise.
9410
490df6c4
L
94112012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9412
c2722551 9413 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
9414 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
9415
5e52b189
L
94162012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9417
9418 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
9419 Check __x86_64__ instead of __WORDSIZE.
9420
a9879d4c
L
94212012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9422
9423 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
9424
5df98260
DM
94252012-03-19 David S. Miller <davem@davemloft.net>
9426
e1497744
DM
9427 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9428
5df98260
DM
9429 * sysdeps/sparc/fpu/fenv_private.h: New file.
9430 * sysdeps/sparc/fpu/math_private.h: Use it.
9431 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
9432 Remove.
9433 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
9434 (libc_feholdexcept_setroundl): Remove.
9435 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
9436 Remove.
9437 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
9438 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
9439
b4c35121
L
94402012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9441
9442 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
9443 int64_t instead of long int.
9444 (INSERT_WORDS64): Likwise.
9445
56965fd7
L
94462012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9447
9448 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
9449 _Unwind_GetCFA return to _Unwind_Ptr first.
9450
83d1aec8
JM
94512012-03-19 Joseph Myers <joseph@codesourcery.com>
9452
1897ad44
JM
9453 [BZ #13629]
9454 * math/s_clog.c: Include <float.h>.
9455 (__clog): Scale large or subnormal inputs.
9456 * math/s_clogf.c: Likewise.
9457 * math/s_clogl.c: Likewise.
9458 * math/s_clog10.c: Include <float.h>.
9459 (M_LOG10_2): Define.
9460 (__clog10): Scale large or subnormal inputs.
9461 * math/s_clog10f.c: Likewise.
9462 * math/s_clog10l.c: Likewise.
9463 * math/libm-test.inc (clog_test): Add more tests.
9464 (clog10_test): Likewise.
9465 * sysdeps/i386/fpu/libm-test-ulps: Update.
9466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9467
7726d6a9
JM
9468 [BZ #11451]
9469 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
9470 x and y.
9471 * math/libm-test.inc (atan2_test): Add another test.
9472
83d1aec8
JM
9473 * Makerules (common-objdir-compile): Remove.
9474 * sysdeps/unix/Makefile (config-generated): Do not add
9475 $(unix-generated) to variable.
9476 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
9477 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
9478 Remove rule.
9479 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
9480 Likewise.
9481 [generic bits/local_lim.h] (before-compile): Do not append to
9482 variable.
9483 [generic bits/local_lim.h] (common-generated): Likewise.
9484 [generic sys/param.h] (before-compile): Do not append to variable.
9485 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
9486 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
9487 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
9488 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
9489 include.
9490 [generic sys/param.h] (sys/param.h-includes): Remove variable.
9491 [generic sys/param.h] (sys/param.h-includes): Remove rule.
9492 [generic sys/param.h] ($(addprefix
9493 $(common-objpfx),$(sys/param.h-includes))): Likewise.
9494 [generic sys/param.h] (common-generated): Do not append to
9495 variable.
9496 [generic sys/param.h] (sysdep_headers): Likewise.
9497 [generic bits/errno.h] (before-compile): Do not append to
9498 variable.
9499 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
9500 rule.
9501 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
9502 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
9503 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
9504 [generic bits/errno.h] (common-generated): Do not append to
9505 variable.
9506 [generic bits/ioctls.h] (before-compile): Do not append to
9507 variable.
9508 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
9509 rule.
9510 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
9511 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
9512 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
9513 rule.
9514 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
9515 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
9516 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
9517 [generic bits/ioctls.h] (common-generated): Do not append to
9518 variable.
9519 [generic sys/syscall.h] (syscall.h): Remove variable.
9520 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
9521 rule.
9522 [generic sys/syscall.h] (before-compile): Do not append to
9523 variable.
9524 [generic sys/syscall.h] (common-generated): Likewise.
9525 * sysdeps/unix/errnos-tmpl.c: Remove file.
9526 * sysdeps/unix/errnos.awk: Likewise.
9527 * sysdeps/unix/ioctls-tmpl.c: Likewise.
9528 * sysdeps/unix/ioctls.awk: Likewise.
9529 * sysdeps/unix/mk-local_lim.c: Likewise.
9530 * sysdeps/unix/snarf-ioctls: Likewise.
9531
4851a949
RH
95322012-03-19 Richard Henderson <rth@twiddle.net>
9533
bd37f2ee
RH
9534 * sysdeps/i386/fpu/fenv_private.h: New file.
9535 * sysdeps/i386/fpu/math_private.h: Use it.
9536 (math_opt_barrier, math_force_eval): Remove.
9537 (libc_feholdexcept_setround_53bit): Remove.
9538 (libc_feupdateenv_53bit): Remove.
9539 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9540 (math_opt_barrier, math_force_eval): Remove.
9541 (libc_feholdexcept): Remove.
9542 (libc_feholdexcept_setround): Remove.
9543 (libc_fetestexcept, libc_fesetenv): Remove.
9544 (libc_feupdateenv_test): Remove.
9545 (libc_feupdateenv, libc_feholdsetround): Remove.
9546 (libc_feresetround): Remove.
9547
d0adc922
RH
9548 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
9549 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9550
0fe0f1f8
RH
9551 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
9552 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
9553 (libc_feupdateenv_testl): New.
9554 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
9555 (libc_feupdateenv_testf): New.
9556 (libc_feupdateenv): Use libc_feupdateenv_test.
9557 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
9558 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
9559
eb92c487
RH
9560 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
9561 (libc_feholdsetroundf, libc_feholdsetroundl): New.
9562 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
9563 (libc_feresetround_noex): New.
9564 (libc_feresetround_noexf): New.
9565 (libc_feresetround_noexl): New.
9566 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
9567 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
9568 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
9569 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
9570 SET_RESTORE_ROUND.
9571 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9572 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
9573 (__cos): Likewise.
9574 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
9575 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
9576 SET_RESTORE_ROUND_NOEX.
9577 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
9578 SET_RESTORE_ROUND_NOEXF.
9579 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
9580 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
9581 (libc_feholdsetroundf): New.
9582 (libc_feresetround, libc_feresetroundf): New.
9583
7d2e8012
RH
9584 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
9585 (libc_feholdexcept_setround_53bit): Convert from macro to function.
9586 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
9587
b4dabbb4
RH
9588 * sysdeps/generic/math_private.h: Include <fenv.h>.
9589 (default_libc_feholdexcept): New.
9590 (default_libc_feholdexcept_setround): New.
9591 (default_libc_fesetenv, default_libc_feupdateenv): New.
9592 (libc_feholdexcept): Only define if undefined.
9593 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
9594 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
9595 (libc_feholdexcept_setroundl): Likewise.
9596 (libc_feholdexcept_setround_53bit): Likewise.
9597 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
9598 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
9599 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
9600 (libc_feupdateenv_53bit): Likewise.
9601 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
9602 (libc_feholdexcept): Convert from macro to inline function.
9603 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
9604 (libc_fesetenv, libc_feupdateenv): Likewise.
9605
4851a949
RH
9606 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
9607 not previously defined.
9608 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
9609 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
9610 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
9611 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
9612 * sysdeps/ieee754/flt-32/math_private.h: New file.
9613 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
9614 math_private.h below SET_FLOAT_WORD.
9615 (__isnan, __isinf_ns, __finite): Remove.
9616 (__isnanf, __isinf_nsf, __finitef): Remove.
9617
e79d442e
AS
96182012-03-18 Andreas Schwab <schwab@linux-m68k.org>
9619
9620 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9621
90b80344
DM
96222012-03-17 David S. Miller <davem@davemloft.net>
9623
9624 [BZ #6471]
9625 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
9626 for 2.16.
9627
edc21804
DM
96282012-03-16 David S. Miller <davem@davemloft.net>
9629
77e927af
DM
9630 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
9631 warnings.
9632
374976dd
DM
9633 [BZ #6471]
9634 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
9635 properly.
9636 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
9637 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
9638 sysdep_routines when subdir is sysvipc.
9639 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
9640 __getshmlba helper.
9641
edc21804
DM
9642 * sysdeps/sparc/fpu/libm-test/ulps: Update.
9643
473c3ef3
L
96442012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9645
9646 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
9647 [__LP64__].
9648
eb0f39b6
L
96492012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9650
9651 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
9652 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
9653 (__lround): Renamed to ...
9654 (__llround): This. Replace long int with long long int.
9655 Define lround functions as aliases of llround functions.
9656 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
9657
6b6cd74b
L
96582012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9659
9660 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
9661 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
9662 adresses to uintptr_t. Replace "long int" and "unsigned long
9663 int" with "greg_t" on va_arg.
9664
f1a77b01
L
96652012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9666
9667 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
9668 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
9669
9670 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
9671 Move e_machine check before EI_CLASS check. Handle x32
9672 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
9673 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
9674 SKIP_EM_IA_64 and include
9675 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
9676
9677 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
9678 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
9679 (add_system_dir): New macro.
9680
9681 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
9682 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
9683
11b90b9f
JM
96842012-03-16 Joseph Myers <joseph@codesourcery.com>
9685
c36e1d23
JM
9686 [BZ #2551]
9687 [BZ #2552]
9688 [BZ #2553]
9689 [BZ #2554]
9690 [BZ #2562]
9691 [BZ #2563]
9692 [BZ #2565]
9693 [BZ #2566]
9694 [BZ #2576]
9695 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
9696 (y0): Likewise.
9697 * math/w_j0f.c (j0f): Likewise.
9698 (y0f): Likewise.
9699 * math/w_j0l.c (__j0l): Likewise.
9700 (__y0l): Likewise.
9701 * math/w_j1.c (j1): Likewise.
9702 (y1): Likewise.
9703 * math/w_j1f.c (j1f): Likewise.
9704 (y1f): Likewise.
9705 * math/w_j1l.c (__j1l): Likewise.
9706 (__y1l): Likewise.
9707 * math/w_jn.c (jn): Likewise.
9708 (yn): Likewise.
9709 * math/w_jnf.c (jnf): Likewise.
9710 (ynf): Likewise.
9711 * math/w_jnl.c (__jnl): Likewise.
9712 (__ynl): Likewise.
9713 * math/libm-test.inc (j0_test): Add more tests.
9714 (j1_test): Likewise.
9715 (jn_test): Likewise. Add trailing semicolon to existing test.
9716 (y0_test): Likewise.
9717 (y1_test): Likewise.
9718 * sysdeps/i386/fpu/libm-test-ulps: Update.
9719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9720
11b90b9f
JM
9721 [BZ #13851]
9722 [BZ #13854]
9723 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
9724 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
9725 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
9726 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
9727 (__tanl): Set errno for infinite argument.
9728 * sysdeps/i386/fpu/mptan.c: Remove.
9729 * sysdeps/i386/fpu/s_tan.S: Likewise.
9730 * sysdeps/i386/fpu/s_tanl.S: Likewise.
9731 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
9732 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
9733 * math/libm-test.inc (tan_test): Add more tests and enable more
9734 tests for double and long double.
9735 * sysdeps/i386/fpu/libm-test-ulps: Update.
9736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9737
6a1bd2a1
JK
97382012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9739
9740 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
9741 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
9742
10a803e0
RM
97432012-03-16 Roland McGrath <roland@hack.frob.com>
9744
9745 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
9746 * configure.in: Use it for both main tree and add-ons.
9747 * configure: Regenerated.
9748
f196c7f7
L
97492012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9750
9751 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
9752
8848d99d
JM
97532012-03-16 Joseph Myers <joseph@codesourcery.com>
9754
96cbe7f4
JM
9755 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
9756 in comment.
9757
8848d99d
JM
9758 [BZ #13851]
9759 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
9760 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
9761 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
9762 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
9763 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
9764 infinite argument.
9765 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
9766 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
9767 != 0 for prec == 2.
9768 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
9769 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
9770 * sysdeps/i386/fpu/s_cosl.S: Likewise.
9771 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
9772 * sysdeps/i386/fpu/s_sinl.S: Likewise.
9773 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
9774 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
9775 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
9776 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
9777 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
9778 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
9779 * math/libm-test.inc (cos_test): Add more tests and enable more
9780 tests for long double.
9781 (sin_test): Likewise.
9782 (sincos_test): Likewise.
9783 * sysdeps/i386/fpu/libm-test-ulps: Update.
9784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9785
dd7f4703
DM
97862012-03-16 David S. Miller <davem@davemloft.net>
9787
9788 * sysdeps/sparc/fpu/math_private.h: New file.
9789
006f1daa
DM
97902012-03-15 David S. Miller <davem@davemloft.net>
9791
c0c83bc8
DM
9792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
9793 file.
e6a62e18 9794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
9795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
9796 file.
e6a62e18
DM
9797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
9798 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
9799 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
9800 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
9801 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
9802 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
9803 sysdep routines.
9804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9805
88cb87d9
DM
9806 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
9807 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
9808
006f1daa 9809 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
9810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
9811 sparc-ifunc.h
006f1daa 9812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
9813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
9814 Likewise.
9815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
9816 Likewise.
006f1daa
DM
9817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
9818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
9819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
9820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9821 Likewise.
006f1daa
DM
9822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
9824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
9826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
9827 Likewise.
9828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
9829 Likewise.
006f1daa
DM
9830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
9832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
9833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
9834 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9835 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9836 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
9837 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
9838 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9839 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9840 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
9841 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
9842 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
9843 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
9844 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
9845 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
9846 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
9847 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
9848 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
9849 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
9850 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
9851 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
9852 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
9853 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
9854
11e0098e
AS
98552012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9856
9857 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
9858 scaling.
9859 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9860
e85b09d0
AJ
98612012-03-15 Andreas Jaeger <aj@suse.de>
9862
9863 [BZ #13852]
9864 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
9865 ieee754/flt-32 implementation for sin, cos and sincos.
9866 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
9867 * sysdeps/i386/fpu/s_cosf.S: Likewise.
9868 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
9869 * sysdeps/i386/fpu/s_sinf.S: Likewise.
9870 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
9871 ieee754/flt-32 implementation for tan.
9872
9873 * math/libm-test.inc (cos_test): Enable some large input tests for
9874 float as well
9875 (sin_test): Likewise.
9876 (sincos_test): Likewise.
9877 (tan_test): Add tests for large input.
9878
9879 * sysdeps/i386/fpu/libm-test-ulps: Update.
9880
81c64153
AJ
98812012-03-15 Andreas Jaeger <aj@suse.de>
9882
9883 [BZ #13658]
9884 * math/libm-test.inc (cos_test): Add more test cases.
9885 (sin_test): Likewise.
9886 (sincos_test): Likewise.
9887
7bbfa5c6
AJ
98882012-03-15 Andreas Jaeger <aj@suse.de>
9889
9890 [BZ #13837]
9891 * math/libm-test.inc (cos_test): Add a test case for large input
9892 value.
9893 (sin_test): Likewise.
9894 (sincos_test): Likewise.
9895
98962012-03-15 Andreas Jaeger <aj@suse.de>,
9897 Joseph Myers <joseph@codesourcery.com>
9898
9899 [BZ #13658]
0671f479 9900 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
9901 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
9902 * sysdeps/i386/fpu/branred.c: Likewise.
9903 * sysdeps/i386/fpu/dosincos.c: Likewise.
9904 * sysdeps/i386/fpu/mpa.c: Likewise.
9905 * sysdeps/i386/fpu/s_cos.S: Likewise.
9906 * sysdeps/i386/fpu/s_sin.S: Likewise.
9907 * sysdeps/i386/fpu/s_sincos.S: Likewise.
9908 * sysdeps/i386/fpu/sincos32.c: Likewise.
9909
9910 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
9911 Define.
9912 (libc_feupdateenv_53bit): Define.
9913 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
9914 Define.
9915 (libc_feupdateenv_53bit): Define.
9916
9917 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
9918 53 bit (without extend i386 double precision).
9919
9920 * math/libm-test.inc (sincos_test): Add tests for large input.
9921 (sin): Likewise.
9922 (cos): Likewise.
9923
9924 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9925
9cad04ea
AS
99262012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9927
9928 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9929
f7062b9a
DM
99302012-03-15 David S. Miller <davem@davemloft.net>
9931
9932 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
9933 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
9934 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
9935 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
9936 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
9937 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
9938 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
9939 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
9940 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
9941 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
9942 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
9943 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
9944 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
9945 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
9946 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
9947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
9948 file.
f7062b9a 9949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
9950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
9951 file.
f7062b9a 9952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
9953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
9954 file.
f7062b9a 9955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
9956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
9957 file.
f7062b9a
DM
9958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
9959 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
9960 fmin/fmax sysdep routines.
9961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9962
7bd951ff
DM
99632012-03-14 David S. Miller <davem@davemloft.net>
9964
559398ab
DM
9965 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
9966 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
9967 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
9968 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
9969 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
9970 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
9971 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
9972 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
9973 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
9974 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
9975 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
9976 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
9977 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
9978 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
9979 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
9980 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
9981 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
9982 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
9983 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
9984 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
9985 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
9986 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
9987 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
9988 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
9989 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
9990 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
9991 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
9992 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
9993 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
9994 routines.
9995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
9996 file.
559398ab 9997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
9998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
9999 file.
559398ab 10000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
10001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
10002 file.
559398ab 10003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
10004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
10005 file.
559398ab 10006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
10007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
10008 file.
559398ab 10009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
10010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
10011 file.
10012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
10013 file.
10014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
10015 file.
10016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
10017 file.
10018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
10019 New file.
10020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
10021 file.
10022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
10023 file.
559398ab 10024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
10025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
10026 file.
559398ab 10027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
10028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
10029 file.
559398ab 10030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
10031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
10032 file.
559398ab 10033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
10034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
10035 VIS3 routines.
559398ab
DM
10036
10037 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10038 New file.
10039
5a1c1e32
DM
10040 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10041
eae47a36
DM
10042 * sysdeps/sparc/configure.in: New file.
10043 * sysdeps/sparc/configure: Generate.
10044 * configure.in (libc_cv_sparc_as_vis3): Substitute.
10045 * configure: Regenerate.
10046 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
10047 * config.make.in (have-as-vis3): New.
10048 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
10049 available use -Av9d instead of -Av9a.
10050 * sysdeps/sparc/sparc64/Makefile: Likewise.
10051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
10052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
10053 New file.
10054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
10055 file.
10056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
10057 New file.
10058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
10059 file.
eae47a36
DM
10060 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
10061 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
10062 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
10063 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
10064 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
10065
c0c83bc8
DM
10066 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
10067 fzeros/fnegs to load 0x80000000 into a float register instead of
10068 using the stack.
7bd951ff
DM
10069 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
10070
bd951ccb
JM
100712012-03-14 Joseph Myers <joseph@codesourcery.com>
10072
10073 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10074 bits/syscall.h.
10075 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
10076 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
10077 ($(inst_includedir)/bits/syscall.h): Remove rule.
10078 ($(objpfx)bits/syscall.d): Include instead of
10079 $(objpfx)syscall-list.d.
10080 (generated): Change syscall-list.h and syscall-list.d to
10081 bits/syscall.h and bits/syscall.d.
10082
bb4e6db2
RM
100832012-03-14 Roland McGrath <roland@hack.frob.com>
10084
10085 [BZ #13846]
10086 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
10087
aa4a2ae1
JM
100882012-03-14 Joseph Myers <joseph@codesourcery.com>
10089
e456826d
JM
10090 [BZ #13841]
10091 * math/s_csqrt.c: Include <float.h>.
10092 (__csqrt): Scale large or subnormal inputs.
10093 * math/s_csqrtf.c: Likewise.
10094 * math/s_csqrtl.c: Likewise.
10095 * math/libm-test.inc (csqrt_test): Add more tests.
10096 * sysdeps/i386/fpu/libm-test-ulps: Update.
10097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10098
aa4a2ae1
JM
10099 [BZ #13840]
10100 * math/libm-test.inc (hypot_test): Add more tests.
10101
7c10fd35
DM
101022012-03-13 David S. Miller <davem@davemloft.net>
10103
10104 [BZ #13840]
10105 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
10106 double-precision for the calculation instead of scaling.
10107
f453b98b
JM
101082012-03-13 Joseph Myers <joseph@codesourcery.com>
10109
10110 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
10111 manipulate bits before adding and subtracting TWO52[sx].
10112 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
10113 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
10114 Likewise.
10115 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
10116
09a3453f
DM
101172012-03-13 David S. Miller <davem@davemloft.net>
10118
8e59da90
DM
10119 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
10120 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
10121 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
10122 rtld-global-offsets.h
10123 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10124
2a8ab7f2
DM
10125 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
10126 large parameters.
10127
10f62770
DM
10128 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
10129
5f0bdb18
DM
10130 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
10131 'err' in the ifdef scope in which it is actually used.
10132
09a3453f
DM
10133 * nss/nss_db/db-init.c: Include string.h
10134
b4b2eb5e
DM
101352012-03-12 David S. Miller <davem@davemloft.net>
10136
98bb2f1c
DM
10137 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10138 masking out of the most significant byte of random value used.
10139 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10140 Fix coding style in previous change.
10141
b4b2eb5e
DM
10142 * sysdeps/unix/sysv/linux/kernel-features.h
10143 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
10144 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
10145 expression.
10146 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
10147 later.
10148
6e226b09
DM
101492012-03-11 David S. Miller <davem@davemloft.net>
10150
a1bcbd40
DM
10151 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10152 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
10153 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
10154 for 'resultvar' otherwise things get truncated on 64-bit.
10155
cb9d6174
DM
10156 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10157 Fix masking out of the most significant byte of random value used.
10158
6e226b09
DM
10159 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10160
058c132d
AS
101612012-03-10 Andreas Schwab <schwab@linux-m68k.org>
10162
10163 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10164
2d2cd515
DM
101652012-03-09 David S. Miller <davem@davemloft.net>
10166
10167 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
10168 variables with appropriate CPP guards.
10169 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
10170 frame pointer, not the stack pointer. Correct layout comments. Fix test
10171 on resulting framesize and the management of the outregs buffer for pltexit.
10172 Preserve floating point return values across _dl_call_pltexit call.
10173 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
10174 framesize and the management of the outregs buffer for pltexit.
10175 Preserve floating point return values across _dl_call_pltexit
10176 call.
10177 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
10178 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
10179 (print_exit): Fix format string for return register value.
10180
9a07f9d0
JM
101812012-03-10 Joseph Myers <joseph@codesourcery.com>
10182
10183 * sunrpc/Makefile (others): Add rpcgen.
10184 ($(objpfx)rpcgen): Remove special build rule and dependency on
10185 libc.
10186 * sunrpc/rpcgen.c: New file.
10187
547b5e30
PE
101882012-03-09 Paul Eggert <eggert@cs.ucla.edu>
10189
c524201a
PE
10190 [BZ #13673]
10191 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
10192 * stdio-common/bug-vfprintf-nargs.c: Likewise.
10193 * sysdeps/i386/crti.S: Likewise.
10194 * sysdeps/i386/crtn.S: Likewise.
10195 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
10196 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
10197 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
10198 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
10199 * sysdeps/sh/crti.S: Likewise.
10200 * sysdeps/sh/crtn.S: Likewise.
10201 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10202
7b6235f2
PE
10203 [BZ #13673]
10204 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
10205 with URL.
10206 * locale/programs/locfile-kw.gperf: Likewise.
10207 * locale/programs/charmap-kw.h: Regenerated.
10208 * locale/programs/locfile-kw.h: Likewise.
10209
547b5e30
PE
10210 [BZ #13673]
10211 * intl/plural.y: Replace FSF snail mail address with URL.
10212 * intl/plural.c: Regenerated.
10213
5f0a5dae
RH
102142012-03-09 Richard Henderson <rth@twiddle.net>
10215
10216 * include/math_private.h: Remove file.
10217 * math/math_private.h: Move file ...
10218 * sysdeps/generic/math_private.h: ... here.
10219
b8c03620
RH
10220 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
10221 * sysdeps/powerpc/fpu/math_private.h: Likewise.
10222 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10223
4e234f5d 10224 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
10225 and <math_private.h>.
10226 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10227 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10228 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10229 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10230 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10231 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
10232 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10233 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10234 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10235 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10236 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10237 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10238 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10239 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10240 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10241 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10242 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10243 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10244 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10245 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10246 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10247 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10248 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10249 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10250 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10251 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10252 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10253 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10254 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10255 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10256 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10257 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10258 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10259 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10260 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10261 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10262 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10263 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10264 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10265 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10266 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
10267 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10268 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10269 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10270 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10271 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10272 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10273 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10274 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10275 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10276 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10277 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10278 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10279 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10280 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10281 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10282 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10283 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10284 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10285 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
10286 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10287 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10288 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10289 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10290 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
10291 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10292 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10293 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10294 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
10295 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
10296 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10297 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10298 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10299 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10300 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
10301 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
10302 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
10303 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10304 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
10305 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10306 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10307 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10308 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10309 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10310 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10311 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10312 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
10313 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10314 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10315 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10316 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10317 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10318 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10319 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10320 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10321 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10322 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10323 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10324 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10325 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10326 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10327 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10328 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10329 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10330 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10331 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10332 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10333 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10334 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10335 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10336 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10337 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10338 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10339 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10340 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
10341 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10342 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10343 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10344 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10345 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10346 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10347 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10348 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10349 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
10350 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10351 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10352 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10353 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
10354 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10355 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10356 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10357 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10358 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10359 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10360 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10361 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10362 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10363 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10364 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
10365 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10366 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10367 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10368 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10369 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
10370 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
10371 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10372 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10373 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10374 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
10375 * sysdeps/ieee754/k_standard.c: Likewise.
10376 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10377 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10378 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10379 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10380 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10381 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10382 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10383 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10384 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10385 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10386 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10387 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10388 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10389 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10390 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10391 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10392 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10393 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10394 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10395 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
10396 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10397 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10398 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10399 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10400 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10401 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10402 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10403 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10404 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10405 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10406 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10407 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10408 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10409 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10410 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
10411 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10412 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10413 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
10414 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
10415 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10416 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10417 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10418 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10419 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10420 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10421 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10422 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10423 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10424 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10425 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10426 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10427 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
10428 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10429 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
10430 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10431 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10432 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
10433 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
10434 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10435 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10436 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10437 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10438 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10439 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
10440 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10441 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10442 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10443 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10444 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10445 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10446 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10447 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10448 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
10449 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
10450 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
10451 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10452 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
10453 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
10454 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10455 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
10456 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
10457 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
10458 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10459 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10460 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
10461 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10462 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10463 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
10464 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10465 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10466 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
10467 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10468 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
10469 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
10470 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10471 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10472 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
10473 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
10474 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
10475 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
10476 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10477 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10478 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10479 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10480 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
10481 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10482 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10483 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
10484 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
10485 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10486 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10487 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10488 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10489 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10490 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10491 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10492 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10493 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10494 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10495 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10496 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10497 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10498 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10499 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10500 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10501 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
10502 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10503 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10504 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10505 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10506 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10507 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10508 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10509 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10510 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10511 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10512 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
10513 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10514 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10515 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10516 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10517 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10518 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10519 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10520 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10521 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10522 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10523 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10524 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10525 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
10526 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10527 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10528 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10529 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10530 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
10531 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
10532 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10533 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10534 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10535 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10536 * sysdeps/ieee754/s_lib_version.c: Likewise.
10537 * sysdeps/ieee754/s_matherr.c: Likewise.
10538 * sysdeps/ieee754/s_signgam.c: Likewise.
10539 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10540 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10541 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
10542 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
10543 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
10544 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10545 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
10546 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
10547 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
10548 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
10549 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
10550 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
10551 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10552 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10553 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
10554 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10555 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10556 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10557 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10558 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10559 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 10560
1991fa03
JM
105612012-03-09 Joseph Myers <joseph@codesourcery.com>
10562
10563 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
10564 * sunrpc/rpc_main.c: Likewise.
10565 * sunrpc/rpc_svcout.c: Likewise.
10566
60d6f5a6
DM
105672012-03-09 David S. Miller <davem@davemloft.net>
10568
10569 * include/math_private.h: New file.
10570
4962050e
JM
105712012-03-09 Joseph Myers <joseph@codesourcery.com>
10572
02a6f887
JM
10573 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
10574 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
10575 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
10576 from <bits/socket_type.h>.
10577 (enum __socket_type): Don't define here.
10578 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
10579 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10580 bits/socket_type.h.
10581
c6e013c1
JM
10582 [BZ #13566]
10583 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
10584 checking __USE_GNU.
10585
4962050e
JM
10586 * Makerules ($(inst_includedir)/%.h): New rule.
10587 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
10588 (install-others): Remove variable setting.
10589 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
10590
38842f45
RH
105912012-03-08 Richard Henderson <rth@twiddle.net>
10592
67bb6da6
RH
10593 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
10594 from macro to inline function; merge with the
10595 !__LIBC_INTERNAL_MATH_INLINES version.
10596 (__ieee754_sqrtf): Likewise.
10597
15194b4b
RH
10598 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
10599 to inline function.
10600 (__rintf, __floor, __floorf): Likewise.
10601
64e21ede
RH
10602 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
10603 macro to inline function.
10604 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
10605
38842f45
RH
10606 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
10607 not <math/math_private.h>.
10608
c64bf5fe
DM
106092012-03-08 David S. Miller <davem@davemloft.net>
10610
10611 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
10612 copyright year.
10613 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
10614
82d86f28
TS
106152012-03-08 Thomas Schwinge <thomas@codesourcery.com>
10616
10617 * resolv/gai_misc.c (handle_requests): Fix struct timespec
10618 normalization.
10619 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
10620 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10621
aea5d727
UD
106222012-03-08 Ulrich Drepper <drepper@gmail.com>
10623
10624 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
10625 be defined individually, they must be defined as a block. Define
10626 S for printing a string instead of hidint the different by using a
10627 macro for adding the 'l'.
10628 * stdio-common/tst-fphex-wide.c: Adjust.
10629
70bca0a3
MP
106302012-03-07 Marek Polacek <polacek@redhat.com>
10631
10632 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
10633
65b81130
MP
106342012-03-08 Marek Polacek <polacek@redhat.com>
10635
10636 [BZ #13806]
10637 * stdio-common/Makefile (tests): Add tst-fphex-wide.
10638 * stdio-common/tst-fphex.c: Define a few macros to make the
10639 test reusable. Use them.
10640 * stdio-common/tst-fphex-wide.c: New file.
10641
07037eeb
JM
106422012-03-08 Joseph Myers <joseph@codesourcery.com>
10643
a7a93d50
JM
10644 [BZ #6911]
10645 * manual/macros.texi (gnusystems): New macro.
10646 (nongnusystems): Likewise.
10647 (gnulinuxhurdsystems): Likewise.
10648 (gnuhurdsystems): Likewise..
10649 (gnulinuxsystems): Likewise.
10650 * manual/charset.texi: Use new macros or @theglibc{} to refer to
10651 variants of the GNU system, not "GNU system".
10652 * manual/conf.texi: Likewise.
10653 * manual/errno.texi: Likewise. Update example of errno macro
10654 expansion.
10655 * manual/filesys.texi: Likewise.
10656 (getumask): Document as specific to GNU/Hurd.
10657 * manual/install.texi: Likewise. Reword some references to
10658 GNU/Linux.
10659 * manual/intro.texi: Likewise.
10660 * manual/io.texi: Likewise.
10661 (File Name Portability): Detail which constraints are inapplicable
10662 to all GNU systems and which are only inapplicable to GNU/Hurd.
10663 * manual/job.texi: Likewise.
10664 * manual/llio.texi: Likewise.
10665 (O_NOCTTY): Document as present on GNU/Linux.
10666 * manual/maint.texi: Likewise.
10667 * manual/memory.texi: Likewise.
10668 * manual/pattern.texi: Likewise.
10669 * manual/pipe.texi: Likewise.
10670 * manual/process.texi: Likewise.
10671 * manual/resource.texi: Likewise.
10672 (RUSAGE_CHILDREN): Remove statement about specifying a particular
10673 child on GNU/Hurd.
10674 * manual/setjmp.texi: Likewise.
10675 * manual/signal.texi: Likewise.
10676 * manual/startup.texi: Likewise.
10677 * manual/stdio.texi: Likewise.
10678 * manual/terminal.texi: Likewise.
10679 (ONLCR): Document as POSIX.
10680 (OXTABS): Document availability on GNU/Linux as XTABS.
10681 (ONOEOT): Document availability separately from other bits.
10682 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
10683 * manual/time.texi: Likewise.
10684 * manual/users.texi: Likewise.
10685 * INSTALL: Regenerated.
10686 * sysdeps/gnu/errlist.c: Regenerated.
10687
07037eeb
JM
10688 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
10689 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
10690 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
10691 puts.
10692 * configure: Regenerated.
10693
d1d3431a
JM
106942012-03-07 Joseph Myers <joseph@codesourcery.com>
10695
af6a1e37
JM
10696 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
10697 default includes instead of AC_HEADER_CHECK.
10698 * sysdeps/i386/configure: Regenerated.
10699
d1d3431a
JM
10700 [BZ #10716]
10701 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
10702 * math/s_cacoshf.c (__cacoshf): Likewise.
10703 * math/s_cacoshl.c (__cacoshl): Likewise.
10704 * math/s_casinh.c (__casinh): Set signs of result from argument.
10705 * math/s_casinhf.c (__casinhf): Likewise.
10706 * math/s_casinhl.c (__casinhl): Likewise.
10707 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
10708 (casinh_test): Add more tests.
10709 * sysdeps/i386/fpu/libm-test-ulps: Update.
10710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10711
482ff4da
UD
107122012-03-07 Ulrich Drepper <drepper@gmail.com>
10713
872fda05
UD
10714 * po/zh_TW.po: Update from translation team.
10715
a4300c7a
UD
10716 * login/Makefile (distribute): Remove variable.
10717 * catgets/Makefile: Likewise.
10718 * mach/Makefile: Likewise.
10719 * malloc/Makefile: Likewise.
10720 * misc/Makefile: Likewise.
10721 * iconv/Makefile: Likewise.
10722 * nscd/Makefile: Likewise.
10723 * hurd/Makefile: Likewise.
10724 * manual/Makefile: Likewise.
10725 * locale/Makefile: Likewise.
10726 * intl/Makefile: Likewise.
10727 * conform/Makefile: Likewise.
10728 * nss/Makefile: Likewise.
10729 * time/Makefile: Likewise.
10730 * soft-fp/Makefile: Likewise.
10731 * dirent/Makefile: Likewise.
10732 * gmon/Makefile: Likewise.
10733 * po/Makefile: Likewise.
10734 * rt/Makefile: Likewise.
10735 * socket/Makefile: Likewise.
10736 * math/Makefile: Likewise.
10737 * signal/Makefile: Likewise.
10738 * debug/Makefile: Likewise.
10739 * elf/Makefile: Likewise.
10740 * timezone/Makefile: Likewise.
10741 * stdlib/Makefile: Likewise.
10742 * iconvdata/Makefile: Likewise.
10743 * sunrpc/Makefile: Likewise.
10744 * io/Makefile: Likewise.
10745 * argp/Makefile: Likewise.
10746 * inet/Makefile: Likewise.
10747 * hesiod/Makefile: Likewise.
10748 * grp/Makefile: Likewise.
10749 * csu/Makefile: Likewise.
10750 * wctype/Makefile: Likewise.
10751 * crypt/Makefile: Likewise.
10752 * libio/Makefile: Likewise.
10753 * string/Makefile: Likewise.
10754 * nis/Makefile: Likewise.
10755 * resolv/Makefile: Likewise.
10756 * stdio-common/Makefile: Likewise.
10757 * wcsmbs/Makefile: Likewise.
10758 * dlfcn/Makefile: Likewise.
10759 * posix/Makefile: Likewise.
10760
3b7c4e74 10761 [BZ #6959]
482ff4da
UD
10762 * timezone/Makefile: Don't install timezone files, just the programs
10763 and scripts.
10764
f72ed77d
UD
107652012-03-06 Ulrich Drepper <drepper@gmail.com>
10766
a000466f
UD
10767 * nss/databases.def: Add missing gshadow entry.
10768
f72ed77d
UD
10769 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
10770
a53b7a4e
MP
107712012-03-06 Marek Polacek <polacek@redhat.com>
10772
10773 [BZ #13726]
10774 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
10775 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10776 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
10777 * stdio-common/tst-long-dbl-fphex.c: New file.
10778
e9258400
DM
107792012-03-06 David S. Miller <davem@davemloft.net>
10780
10781 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10782 (set_obp_int): New function.
10783 (get_obp_int): New function.
10784 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
10785 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
10786 Avoid unused variable warnings on 'val' and use builtin_expect.
10787 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
10788 __builtin_expect.
e9258400
DM
10789 (INLINE_CLONE_SYSCALL): Likewise.
10790
3bd2c723
DM
107912012-03-05 David S. Miller <davem@davemloft.net>
10792
10793 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10794
bbb78d03
AS
107952012-03-05 Andreas Schwab <schwab@linux-m68k.org>
10796
884c5db4
AS
10797 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10798
bbb78d03
AS
10799 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
10800 only for |x| >= 40.
10801 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10802
1c9f702a 108032012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
10804
10805 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
10806 Replace gettimeofday with __vdso_gettimeofday.
10807
7be16f82
RM
10808 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10809 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
10810 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
10811
10812 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
10813 time with __vdso_time.
10814
ed58a00f
JM
108152012-03-05 Joseph Myers <joseph@codesourcery.com>
10816
10817 * manual/lang.texi (size_t): Note types to which size_t may be
10818 equivalent with the GNU C Library, but do not describe when
10819 differences between them are significant.
10820
30ee4ced
AJ
108212012-03-05 Andreas Jaeger <aj@suse.de>
10822
10823 * sysdeps/i386/fpu/libm-test-ulps: Update.
10824
b7cd39e8
JM
108252012-03-05 Joseph Myers <joseph@codesourcery.com>
10826
10827 [BZ #3976]
10828 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
10829 (__ieee754_pow): Save and restore rounding mode and use
10830 round-to-nearest for main computations.
10831 * math/libm-test.inc (pow_test_tonearest): New function.
10832 (pow_test_towardzero): Likewise.
10833 (pow_test_downward): Likewise.
10834 (pow_test_upward): Likewise.
10835 (main): Call the new functions.
10836 * sysdeps/i386/fpu/libm-test-ulps: Update.
10837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
10838
10839 [BZ #3976]
10840 * math/libm-test.inc (cosh_test_tonearest): New function.
10841 (cosh_test_towardzero): Likewise.
10842 (cosh_test_downward): Likewise.
10843 (cosh_test_upward): Likewise.
10844 (sinh_test_tonearest): Likewise.
10845 (sinh_test_towardzero): Likewise.
10846 (sinh_test_downward): Likewise.
10847 (sinh_test_upward): Likewise.
10848 (main): Call the new functions.
10849 * sysdeps/i386/fpu/libm-test-ulps: Update.
10850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10851
6c6a98c9
TV
108522012-03-05 Tom de Vries <tom@codesourcery.com>
10853
10854 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
10855 default stack guard is set in last bytes.
10856 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
10857
21bb2d2e 108582012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 10859
21bb2d2e 10860 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 10861
21bb2d2e
AJ
10862 [BZ #13656]
10863 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
10864 possibly allocate from heap instead of stack.
10865 * stdio-common/bug-vfprintf-nargs.c: New file.
10866 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 10867
c6922934
AS
108682012-03-03 Andreas Schwab <schwab@linux-m68k.org>
10869
10870 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10871
bc957d53
MP
108722012-03-03 Marek Polacek <polacek@redhat.com>
10873
10874 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
10875 * math/math_private.h: Likewise.
10876 * stdlib/tst-strtod.c: Likewise.
10877 * sysdeps/i386/i486/bits/atomic.h: Likewise.
10878 * sysdeps/x86_64/bits/atomic.h: Likewise.
10879
6358490d
DM
108802012-03-02 David S. Miller <davem@davemloft.net>
10881
10882 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
10883 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
10884 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
10885 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
10886 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
10887 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
10888 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
10889 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
10890
01ae168d
RM
108912012-03-02 Roland McGrath <roland@hack.frob.com>
10892
d9a17c07
RM
10893 [BZ #13792]
10894 * manual/examples/README: New file, says the example source files
10895 can be used under GPL>=2.
10896 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
10897 line containing just "*/".
10898 * manual/examples/add.c: Add copyright header (GPL>=2).
10899 * manual/examples/argp-ex1.c: Likewise.
10900 * manual/examples/argp-ex2.c: Likewise.
10901 * manual/examples/argp-ex3.c: Likewise.
10902 * manual/examples/argp-ex4.c: Likewise.
10903 * manual/examples/atexit.c: Likewise.
10904 * manual/examples/db.c: Likewise.
10905 * manual/examples/dir.c: Likewise.
10906 * manual/examples/dir2.c: Likewise.
10907 * manual/examples/execinfo.c: Likewise.
10908 * manual/examples/filecli.c: Likewise.
10909 * manual/examples/filesrv.c: Likewise.
10910 * manual/examples/fmtmsgexpl.c: Likewise.
10911 * manual/examples/genpass.c: Likewise.
10912 * manual/examples/inetcli.c: Likewise.
10913 * manual/examples/inetsrv.c: Likewise.
10914 * manual/examples/isockad.c: Likewise.
10915 * manual/examples/longopt.c: Likewise.
10916 * manual/examples/memopen.c: Likewise.
10917 * manual/examples/memstrm.c: Likewise.
10918 * manual/examples/mkfsock.c: Likewise.
10919 * manual/examples/mkisock.c: Likewise.
10920 * manual/examples/mygetpass.c: Likewise.
10921 * manual/examples/pipe.c: Likewise.
10922 * manual/examples/popen.c: Likewise.
10923 * manual/examples/rprintf.c: Likewise.
10924 * manual/examples/search.c: Likewise.
10925 * manual/examples/select.c: Likewise.
10926 * manual/examples/setjmp.c: Likewise.
10927 * manual/examples/sigh1.c: Likewise.
10928 * manual/examples/sigusr.c: Likewise.
10929 * manual/examples/stpcpy.c: Likewise.
10930 * manual/examples/strdupa.c: Likewise.
10931 * manual/examples/strftim.c: Likewise.
10932 * manual/examples/strncat.c: Likewise.
10933 * manual/examples/subopt.c: Likewise.
10934 * manual/examples/swapcontext.c: Likewise.
10935 * manual/examples/termios.c: Likewise.
10936 * manual/examples/testopt.c: Likewise.
10937 * manual/examples/testpass.c: Likewise.
10938 * manual/examples/timeval_subtract.c: Likewise.
10939
01ae168d
RM
10940 [BZ #13792]
10941 * manual/time.texi (Elapsed Time): Move timeval_subtract example
10942 function to ...
10943 * manual/timeval_subtract.c.texi: ... here, new file.
10944
49efa33d
DM
109452012-03-02 David S. Miller <davem@davemloft.net>
10946
10947 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
10948
28afd92d
JM
109492012-03-02 Joseph Myers <joseph@codesourcery.com>
10950
804360ed
JM
10951 [BZ #3976]
10952 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
10953 (__sin): Save and restore rounding mode and use round-to-nearest
10954 for all computations.
10955 (__cos): Save and restore rounding mode and use round-to-nearest
10956 for all computations.
10957 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
10958 <fenv.h>.
10959 (tan): Save and restore rounding mode and use round-to-nearest for
10960 all computations.
10961 * math/libm-test.inc (cos_test_tonearest): New function.
10962 (cos_test_towardzero): Likewise.
10963 (cos_test_downward): Likewise.
10964 (cos_test_upward): Likewise.
10965 (sin_test_tonearest): Likewise.
10966 (sin_test_towardzero): Likewise.
10967 (sin_test_downward): Likewise.
10968 (sin_test_upward): Likewise.
10969 (tan_test_tonearest): Likewise.
10970 (tan_test_towardzero): Likewise.
10971 (tan_test_downward): Likewise.
10972 (tan_test_upward): Likewise.
10973 (main): Call the new functions.
10974 * sysdeps/i386/fpu/libm-test-ulps: Update.
10975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10976
a6d06d7b
JM
10977 [BZ #10135]
10978 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
10979 small n, then large n, before computing and testing k+n.
10980 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10981 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10982 Likewise.
10983 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10984 Likewise.
10985 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
10986 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10987 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10988 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10989 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10990 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10991 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10992 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
10993 * math/libm-test.inc (scalbn_test): Add more tests.
10994 (scalbln_test): Likewise.
10995
07e12bb3
JM
10996 * manual/filesys.texi (mode_t): Describe constraints on size and
10997 signedness, not exact equivalence to a particular type.
10998 (ino_t): Likewise.
10999 (ino64_t): Likewise.
11000 (dev_t): Likewise.
11001 (nlink_t): Likewise.
11002 (blkcnt_t): Likewise.
11003 (blkcnt64_t): Likewise.
11004 * manual/llio.texi (off_t): Likewise.
11005
28afd92d
JM
11006 [BZ #3976]
11007 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
11008 (__ieee754_exp): Save and restore rounding mode and use
11009 round-to-nearest for all computations.
11010 * math/libm-test.inc (exp_test_tonearest): New function.
11011 (exp_test_towardzero): Likewise.
11012 (exp_test_downward): Likewise.
11013 (exp_test_upward): Likewise.
11014 (main): Call the new functions.
11015 * sysdeps/i386/fpu/libm-test-ulps: Update.
11016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11017
b1eeb65d
CD
110182012-03-01 Chris Demetriou <cgd@google.com>
11019
11020 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
11021 have predictable order.
11022
53362a4b
DM
110232012-03-01 David S. Miller <davem@davemloft.net>
11024
3c969083
DM
11025 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
11026
759707de
DM
11027 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
11028 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
11029 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
11030 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
11031
dfdb8ff2
DM
11032 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
11033 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
11034 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
11035 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
11036 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
11037 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
11038 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
11039 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
11040 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
11041
ead89f96
DM
11042 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11043
7f66bd07
DM
11044 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
11045 * sysdeps/sparc/fpu/libm-test-ulps: to here.
11046 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
11047
53362a4b
DM
11048 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
11049 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11050 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11051 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
11052 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
11053 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
11054 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
11055 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11056 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11057 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
11058 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
11059 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11060 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11061 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11062 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11063 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11064 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
11065 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
11066 * sysdeps/sparc/elf/configure: Regenerated.
11067
7b1902cb
JM
110682012-03-01 Joseph Myers <joseph@codesourcery.com>
11069
bec039bc
JM
11070 * configure.in (AS, LD): Require binutils 2.20 or later.
11071 * configure: Regenerated.
11072 * manual/install.texi (Tools for Compilation): Give binutils 2.20
11073 as required minimum version.
11074 * INSTALL: Regenerated.
11075
7b1902cb
JM
11076 [BZ #2541]
11077 [BZ #4108]
11078 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
11079 before squaring exponent.
11080 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
11081 bottom long double and 27 bits of top long double before squaring
11082 exponent.
11083 * math/libm-test.inc (erfc_test): Add more tests.
11084 * sysdeps/i386/fpu/libm-test-ulps: Update.
11085 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11087
f775c276
KT
110882012-03-01 Kai Tietz <ktietz@redhat.com>
11089
11090 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
11091 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
11092 containing bit-fields.
11093 * soft-fp/extended.h (_FP_UNION_E): Likewise.
11094 * soft-fp/single.h (_FP_UNION_S): Likewise.
11095 * soft-fp/double.h (_FP_UNION_D): Likewise.
11096
5b8a4d4a
JM
110972012-02-29 Joseph Myers <joseph@codesourcery.com>
11098
0bab47b6
JM
11099 [BZ #13786]
11100 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
11101 not include ../strcmp.S.
11102 [USE_AS_STRNCASECMP_L]: Likewise.
11103 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
11104 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
11105 * sysdeps/i386/i686/multiarch/strncase_l-c.c
11106 (__strncasecmp_l_ia32): Define as alias to
11107 __strncasecmp_l_nonascii.
11108
0fcad3e2
JM
11109 [BZ #5794]
11110 * math/libm-test.inc (expm1_test): Add test for bug 5794.
11111 * sysdeps/i386/fpu/libm-test-ulps: Update.
11112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11113
5b8a4d4a
JM
11114 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
11115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11116
8fdceb2e
JL
111172012-02-29 Jeff Law <law@redhat.com>
11118
11119 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
11120 out of bounds read.
11121
1f393a11
MP
111222012-02-29 Marek Polacek <polacek@redhat.com>
11123
11124 [BZ #13706]
11125 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
11126 * elf/Makefile: Add rules to run tst-unused-dep.out.
11127
8847f037
DM
111282012-02-28 David S. Miller <davem@davemloft.net>
11129
11130 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
11131 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
11132 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
11133 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
11134 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
11135 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
11136
169d7f11
JM
111372012-02-29 Joseph Myers <joseph@codesourcery.com>
11138
11139 * math/libm-test.inc (llround_test): Move one test from
11140 lround_test. Use TEST_f_L in moved test.
11141 (lround_test): Move misplaced test to llround_test. Add testcase
11142 from bug 2561.
11143
39adf059
UD
111442012-02-28 Ulrich Drepper <drepper@gmail.com>
11145
11146 * sysdeps/x86_64/fpu/e_expf.S: New file.
11147 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
11148
71b5d1c5
SB
111492012-02-28 Stanislav Brabec <sbrabec@suse.cz>
11150
11151 [BZ #13637]
11152 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
11153 of remain_len that may cause incomplete multi-byte character and
11154 false match.
11155 * posix/bug-regex33.c: New file.
11156 * posix/Makefile (tests): Add bug-regex33.
11157
1f77f049
JM
111582012-02-28 Joseph Myers <joseph@codesourcery.com>
11159
11160 * manual/macros.texi: New file.
11161 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
11162 * manual/libc.texinfo: Include macros.texi.
11163 * manual/creatute.texi: Likewise.
11164 * manual/install.texi: Likewise.
11165 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
11166 @glibcadj{} in references to the GNU C Library.
11167 * manual/charset.texi: Likewise.
11168 * manual/conf.texi: Likewise.
11169 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
11170 when not using those macros.
11171 * manual/creature.texi: Likewise.
11172 * manual/crypt.texi: Likewise.
11173 * manual/errno.texi: Likewise.
11174 * manual/filesys.texi: Likewise.
11175 * manual/header.texi: Likewise.
11176 * manual/install.texi: Likewise.
11177 * manual/intro.texi: Likewise.
11178 * manual/io.texi: Likewise.
11179 * manual/job.texi: Likewise.
11180 * manual/lang.texi: Likewise.
11181 * manual/libc.texiinfo: Likewise.
11182 * manual/llio.texi: Likewise.
11183 * manual/locale.texi: Likewise.
11184 * manual/maint.texi: Likewise.
11185 * manual/math.texi: Likewise.
11186 * manual/memory.texi: Likewise.
11187 * manual/message.texi: Likewise.
11188 * manual/nss.texi: Likewise.
11189 * manual/pattern.texi: Likewise.
11190 * manual/process.texi: Likewise.
11191 * manual/resource.texi: Likewise.
11192 * manual/search.texi: Likewise.
11193 * manual/setjmp.texi: Likewise.
11194 * manual/signal.texi: Likewise.
11195 * manual/socket.texi: Likewise.
11196 * manual/startup.texi: Likewise.
11197 * manual/stdio.texi: Likewise.
11198 * manual/string.texi: Likewise.
11199 * manual/sysinfo.texi: Likewise.
11200 * manual/syslog.texi: Likewise.
11201 * manual/terminal.texi: Likewise.
11202 * manual/time.texi: Likewise.
11203 * manual/users.texi: Likewise.
11204 * INSTALL: Regenerated.
11205 * NOTES: Regenerated.
d40c5d54 11206 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 11207
450bf206
AS
112082012-02-28 Andreas Schwab <schwab@linux-m68k.org>
11209
11210 * include/dirent.h: Include <dirstream.h> before
11211 <dirent/dirent.h>.
11212
741a235b
DM
112132012-02-28 David S. Miller <davem@davemloft.net>
11214
11215 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
11216 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
11217 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
11218 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
11219
d6b5aa58
DM
112202012-02-27 David S. Miller <davem@davemloft.net>
11221
1aff59a3
DM
11222 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
11223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
11224 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
11225 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
11226
d6b5aa58
DM
11227 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
11228 frame pointer instead of stack pointer relative arg slot.
11229 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11230 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11231 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11232
433f48bf
CD
112332012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
11234
11235 [BZ #3992]
11236 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
11237
d674b76d
DM
112382012-02-27 David S. Miller <davem@davemloft.net>
11239
11240 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
11241 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11242 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
11244 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11245 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11246 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
11247 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
11248
0e7727f7
JM
112492012-02-27 Joseph Myers <joseph@codesourcery.com>
11250
11251 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
11252 later. Allow versions 5-9.
43be4ca2 11253 * configure: Regenerated.
0e7727f7
JM
11254 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
11255 required minimum version and 4.6 as recommended version. Do not
11256 mention bugs in GCC 2.7 and 2.8.
43be4ca2 11257 * INSTALL: Regenerated.
0e7727f7 11258
a78bc654
DM
112592012-02-27 David S. Miller <davem@davemloft.net>
11260
428d5830
DM
11261 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
11262 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
11263 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
11264 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
11265 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
11266 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
11267 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
11268 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
11269
a78bc654
DM
11270 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
11271 manipulate bits before adding and subtracting TWO112[sx].
11272 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11273
4579f81c
RM
112742012-02-27 Roland McGrath <roland@hack.frob.com>
11275
36c8acb4
RM
11276 [BZ #13775]
11277 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
11278 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
11279 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
11280 being in POSIX, because they are in 1003.1-2008.
11281
84ad622b
RM
11282 * rt/tst-aio.c: Include <fcntl.h>.
11283 * rt/tst-aio7.c: Likewise.
11284 * rt/tst-aio64.c: Likewise.
11285
4579f81c
RM
11286 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
11287
abd923db
JM
112882012-02-27 Joseph Myers <joseph@codesourcery.com>
11289
11290 * manual/install.texi (--with-headers): Describe headers as
11291 interface headers, not private headers.
11292 (Specific advice for GNU/Linux systems): Describe use of headers
11293 from "make headers_install", not private headers from older
11294 kernels.
43be4ca2 11295 * INSTALL: Regenerated.
abd923db
JM
11296 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
11297 Change to 2.6.19.
11298 * sysdeps/unix/sysv/linux/configure: Regenerated.
11299
6664049b
JM
11300 * manual/llio.texi (fclean): Remove documentation.
11301
bb8b6697
JM
11302 * manual/Makefile (libc-texi-generated): New variable. Include
11303 version.texi.
11304 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
11305 $(libc-texi-generated), not duplicated list of files.
11306 (version.texi, stamp-version): New rules.
11307 (realclean): Remove $(libc-texi-generated), not individual files
11308 from that list. Do not remove dir-add.texinfo.
11309 * manual/libc.texinfo: Comment out uses of edition numbers and
11310 references to printed manual. Remove last-updated dates.
11311 (EDITION): Comment out.
11312 (ISBN): Likewise.
11313 (VERSION, UPDATED): Remove.
11314 (version.texi): Include.
11315
12e5c3b9
AS
113162012-02-27 Andreas Schwab <schwab@linux-m68k.org>
11317
11318 * sysdeps/posix/spawni.c: Include <signal.h>.
11319 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
11320 * sysdeps/pthread/aio_fsync.c: Likewise.
11321
4efeffc1 113222012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 11323
ba63ba08
UD
11324 * conform/Makefile (tests): Run only when not cross-compiling and
11325 when fast-check is not defined.
11326
d94a4670
UD
11327 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
11328 * conform/data/limits.h-data: Fixes for POSIX2008.
11329 * conform/run-conformtest.sh: Run all tests.
11330 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
11331 headers.
11332 * include/bits/dlfcn.h: Likewise.
11333 * include/langinfo.h: Likewise.
11334 * include/monetary.h: Likewise.
11335 * include/sys/poll.h: Likewise.
11336
11337 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
11338 for __USE_GNU.
11339 * posix/spawn.h: Define __need_sigset_t.
11340 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
11341 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
11342 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
11343 to get sigevent_t only.
11344 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
11345 only for __USE_GNU.
11346 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11347 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11348 process_vm_writev only for __USE_GNU.
11349 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
11350
11351 * conform/Makefile: For now ignore errors from run-conformtest.
11352 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
11353 POSIX to avoid namespace pollution. Don't prepend headers.
11354 * conform/data/aio.h-data: Fixes for POSIX testing.
11355 * conform/data/fcntl.h-data: Likewise.
11356 * conform/data/glob.h-data: Likewise.
11357 * conform/data/grp.h-data: Likewise.
11358 * conform/data/pthread.h-data: Likewise.
11359 * conform/data/pwd.h-data: Likewise.
11360 * conform/data/signal.h-data: Likewise.
11361 * conform/data/spawn.h-data: Likewise.
11362 * conform/data/stdio.h-data: Likewise.
11363 * conform/data/stdlib.h-data: Likewise.
11364 * conform/data/stropts.h-data: Likewise.
11365 * conform/data/sys/mman.h-data: Likewise.
11366 * conform/data/sys/stat.h-data: Likewise.
11367 * conform/data/sys/types.h-data: Likewise.
11368 * conform/data/sys/wait.h-data: Likewise.
11369 * conform/data/time.h-data: Likewise.
11370 * conform/data/unistd.h-data: Likewise.
11371 * conform/data/utime.h-data: Likewise.
11372
11373 * io/sys/stat.h: fchmod was always in POSIX.
11374 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
11375 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
11376 * rt/aio.h: Define __need_timespec before including <time.h>.
11377 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
11378 struct. Add forward declaration of pthread_attr_t and use it in
11379 sigevent.
11380 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11381 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11382 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
11383 always remove CLK_TCK definition.
11384
c20105c3
AS
113852012-02-26 Andreas Schwab <schwab@linux-m68k.org>
11386
11387 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
11388
7a270350
UD
113892012-02-25 Ulrich Drepper <drepper@gmail.com>
11390
31341567
UD
11391 * conform/run-conformtest.sh: New file.
11392 * conform/Makefile: Run run-conformtest for tests.
11393 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
11394 support.
11395
11396 * conform/data/uchar.h-data: New file.
11397 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
11398 * conform/data/arpa/inet.h-data: Likewise.
11399 * conform/data/assert.h-data: Likewise.
11400 * conform/data/complex.h-data: Likewise.
11401 * conform/data/cpio.h-data: Likewise.
11402 * conform/data/ctype.h-data: Likewise.
11403 * conform/data/dirent.h-data: Likewise.
11404 * conform/data/dlfcn.h-data: Likewise.
11405 * conform/data/errno.h-data: Likewise.
11406 * conform/data/fcntl.h-data: Likewise.
11407 * conform/data/float.h-data: Likewise.
11408 * conform/data/fmtmsg.h-data: Likewise.
11409 * conform/data/fnmatch.h-data: Likewise.
11410 * conform/data/ftw.h-data: Likewise.
11411 * conform/data/glob.h-data: Likewise.
11412 * conform/data/grp.h-data: Likewise.
11413 * conform/data/iconv.h-data: Likewise.
11414 * conform/data/inttypes.h-data: Likewise.
11415 * conform/data/langinfo.h-data: Likewise.
11416 * conform/data/libgen.h-data: Likewise.
11417 * conform/data/limits.h-data: Likewise.
11418 * conform/data/locale.h-data: Likewise.
11419 * conform/data/math.h-data: Likewise.
11420 * conform/data/monetary.h-data: Likewise.
11421 * conform/data/mqueue.h-data: Likewise.
11422 * conform/data/ndbm.h-data: Likewise.
11423 * conform/data/net/if.h-data: Likewise.
11424 * conform/data/netdb.h-data: Likewise.
11425 * conform/data/netinet/in.h-data: Likewise.
11426 * conform/data/nl_types.h-data: Likewise.
11427 * conform/data/poll.h-data: Likewise.
11428 * conform/data/pthread.h-data: Likewise.
11429 * conform/data/pwd.h-data: Likewise.
11430 * conform/data/regex.h-data: Likewise.
11431 * conform/data/sched.h-data: Likewise.
11432 * conform/data/search.h-data: Likewise.
11433 * conform/data/semaphore.h-data: Likewise.
11434 * conform/data/setjmp.h-data: Likewise.
11435 * conform/data/signal.h-data: Likewise.
11436 * conform/data/spawn.h-data: Likewise.
11437 * conform/data/stdarg.h-data: Likewise.
11438 * conform/data/stdio.h-data: Likewise.
11439 * conform/data/stdlib.h-data: Likewise.
11440 * conform/data/string.h-data: Likewise.
11441 * conform/data/strings.h-data: Likewise.
11442 * conform/data/stropts.h-data: Likewise.
11443 * conform/data/sys/ipc.h-data: Likewise.
11444 * conform/data/sys/mman.h-data: Likewise.
11445 * conform/data/sys/msg.h-data: Likewise.
11446 * conform/data/sys/resource.h-data: Likewise.
11447 * conform/data/sys/select.h-data: Likewise.
11448 * conform/data/sys/sem.h-data: Likewise.
11449 * conform/data/sys/shm.h-data: Likewise.
11450 * conform/data/sys/socket.h-data: Likewise.
11451 * conform/data/sys/stat.h-data: Likewise.
11452 * conform/data/sys/statvfs.h-data: Likewise.
11453 * conform/data/sys/time.h-data: Likewise.
11454 * conform/data/sys/timeb.h-data: Likewise.
11455 * conform/data/sys/times.h-data: Likewise.
11456 * conform/data/sys/types.h-data: Likewise.
11457 * conform/data/sys/uio.h-data: Likewise.
11458 * conform/data/sys/un.h-data: Likewise.
11459 * conform/data/sys/utsname.h-data: Likewise.
11460 * conform/data/sys/wait.h-data: Likewise.
11461 * conform/data/syslog.h-data: Likewise.
11462 * conform/data/tar.h-data: Likewise.
11463 * conform/data/termios.h-data: Likewise.
11464 * conform/data/utime.h-data: Likewise.
11465 * conform/data/utmpx.h-data: Likewise.
11466 * conform/data/varargs.h-data: Likewise.
11467 * conform/data/wchar.h-data: Likewise.
11468 * conform/data/wctype.h-data: Likewise.
11469 * conform/data/wordexp.h-data: Likewise.
11470
11471 * include/stropts.h: New file.
11472 * include/uchar.h: New file.
11473 * include/aio.h: Changes to allow conformtest.pl to use the headers.
11474 * include/assert.h: Likewise.
11475 * include/ctype.h: Likewise.
11476 * include/dirent.h: Likewise.
11477 * include/dlfcn.h: Likewise.
11478 * include/fcntl.h: Likewise.
11479 * include/fnmatch.h: Likewise.
11480 * include/glob.h: Likewise.
11481 * include/grp.h: Likewise.
11482 * include/libio.h: Likewise.
11483 * include/locale.h: Likewise.
11484 * include/math.h: Likewise.
11485 * include/net/if.h: Likewise.
11486 * include/netdb.h: Likewise.
11487 * include/netinet/in.h: Likewise.
11488 * include/pthread.h: Likewise.
11489 * include/pwd.h: Likewise.
11490 * include/regex.h: Likewise.
11491 * include/sched.h: Likewise.
11492 * include/search.h: Likewise.
11493 * include/setjmp.h: Likewise.
11494 * include/signal.h: Likewise.
11495 * include/stdio.h: Likewise.
11496 * include/stdlib.h: Likewise.
11497 * include/string.h: Likewise.
11498 * include/sys/cdefs.h: Likewise.
11499 * include/sys/mman.h: Likewise.
11500 * include/sys/msg.h: Likewise.
11501 * include/sys/resource.h: Likewise.
11502 * include/sys/select.h: Likewise.
11503 * include/sys/socket.h: Likewise.
11504 * include/sys/stat.h: Likewise.
11505 * include/sys/statvfs.h: Likewise.
11506 * include/sys/time.h: Likewise.
11507 * include/sys/times.h: Likewise.
11508 * include/sys/uio.h: Likewise.
11509 * include/sys/utsname.h: Likewise.
11510 * include/sys/wait.h: Likewise.
11511 * include/termios.h: Likewise.
11512 * include/time.h: Likewise.
11513 * include/ulimit.h: Likewise.
11514 * include/unistd.h: Likewise.
11515 * include/utime.h: Likewise.
11516 * include/wchar.h: Likewise.
11517 * include/wctype.h: Likewise.
11518 * include/wordexp.h: Likewise.
11519
11520 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
11521
7a270350
UD
11522 * time/time.h: TIME_UTC must be a macro.
11523 Make timespec_get available for ISO C11 only as well.
11524
7724defc
UD
115252012-02-24 Ulrich Drepper <drepper@gmail.com>
11526
11527 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
11528 Reported by Peng Haitao <penght@cn.fujitsu.com>.
11529
6b1d1d46
JM
115302012-02-24 Joseph Myers <joseph@codesourcery.com>
11531
11532 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 11533
0f8bbd69
JM
115342012-02-24 Joseph Myers <joseph@codesourcery.com>
11535
11536 * manual/texinfo.tex: Update to version 2012-01-19.16.
11537
66ab80bc
JM
115382012-02-24 Joseph Myers <joseph@codesourcery.com>
11539
11540 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
11541
74981cc5
RM
115422012-02-24 Roland McGrath <roland@hack.frob.com>
11543
ee968201
RM
11544 [BZ #13738]
11545 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
11546 * manual/fdl-1.3.texi: New file.
11547 * manual/fdl-1.1.texi: File removed.
11548
74981cc5
RM
11549 [BZ #13738]
11550 * manual/libc.texinfo (FDL_VERSION): New @set.
11551 Use it for mention of FDL in cover text.
11552 (Documentation License): Use it in @include file name.
11553
7bb764bc
JM
115542012-02-22 Joseph Myers <joseph@codesourcery.com>
11555 Roland McGrath <roland@hack.frob.com>
11556
11557 [BZ #5461]
11558 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
11559 not LONG_LONG_MAX and LONG_LONG_MIN.
11560 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
11561 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
11562 name.
11563 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
11564
6cbeae47
JM
115652012-02-22 Joseph Myers <joseph@codesourcery.com>
11566
11567 [BZ #2547]
11568 [BZ #11365]
11569 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
11570 manipulate bits before adding and subtracting TWO23[sx].
11571 * math/libm-test.inc (nearbyint_test): Add more tests.
11572
fe45ce09
JM
115732012-02-22 Joseph Myers <joseph@codesourcery.com>
11574
11575 [BZ #2548]
11576 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
11577 bits before adding and subtracting TWO23[sx].
11578 * math/libm-test.inc (rint_test): Add more tests.
11579 (rint_test_tonearest): Likewise.
11580 (rint_test_towardzero): Likewise.
11581 (rint_test_downward): Likewise.
11582 (rint_test_upward: Likewise.
11583
ff3b3d82
JM
115842012-02-22 Joseph Myers <joseph@codesourcery.com>
11585
11586 [BZ #10110]
11587 * include/stdc-predef.h: New file. Extracted from features.h.
11588 * include/features.h: Include stdc-predef.h.
11589 * Makefile (headers): Add stdc-predef.h.
11590 * CONFORMANCE (Compiler limitations): Update.
11591
ef0aab35
JM
115922012-02-22 Joseph Myers <joseph@codesourcery.com>
11593
11594 * manual/libc.texinfo (VERSION, UPDATED): Revert.
11595
58639409
DM
115962012-02-21 David S. Miller <davem@davemloft.net>
11597
11598 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
11599 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11600
c0e70b25
DM
116012012-02-20 David S. Miller <davem@davemloft.net>
11602
11603 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
11604 using a normal save/restore sequence, rather than allocating a
11605 dummy stack frame just to store a frame pointer and restore.
11606 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11607
fb06851d
JM
116082012-02-21 Joseph Myers <joseph@codesourcery.com>
11609
11610 * manual/install.texi: Fix stray word in line-wrapped comment.
11611
7a8b71c3
DM
116122012-02-20 David S. Miller <davem@davemloft.net>
11613
d510c123
DM
11614 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
11615 both binutils and gcc support GOTDATA.
11616
0722d7c2
DM
11617 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
11618 "rd %pc" in the PIC register setup sequences.
11619
3d2b3019
DM
11620 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
11621 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11622 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11623 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11624 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11625 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11626 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11627 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11628 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
11629 (SYSCALL_ERROR_HANDLER): Likewise.
11630 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11631 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11632 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
11633 (SYSCALL_ERROR_HANDLER): Likewise.
11634
c80098a9
DM
11635 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
11636 (HAVE_GCC_GOTDATA): New.
11637 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
11638 relocation support in both binutils and gcc.
11639 * sysdeps/sparc/elf/configure: Regenerate.
11640
3a2545a0
DM
11641 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
11642 * sysdeps/sparc/sparc32/elf/configure: Delete.
11643 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
11644 * sysdeps/sparc/sparc64/elf/configure: Delete.
11645 * sysdeps/sparc/elf/configure.in: New file.
11646 * sysdeps/sparc/elf/configure: Generate.
11647
7a8b71c3
DM
11648 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
11649 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
11650 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11651 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
11652 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
11653
f1e86fca
JM
116542012-02-21 Joseph Myers <joseph@codesourcery.com>
11655
11656 * manual/install.texi: Do not mention specific glibc version
11657 numbers.
11658 * manual/libc.texinfo (VERSION, UPDATED): Update.
11659 (@copying): Use @copyright{} and range of years.
11660
0e7dfaef
JM
116612012-02-21 Joseph Myers <joseph@codesourcery.com>
11662
11663 [BZ #13695]
11664 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
11665 [crti.S not in sysdirs] (generated): Do not append.
11666 [crti.S not in sysdirs] (omit-deps): Likewise.
11667 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
11668 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
11669 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
11670 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
11671 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
11672 Likewise.
11673 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
11674 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
11675 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
11676 * csu/defs.awk: Remove file.
11677 * sysdeps/generic/initfini.c: Likewise.
11678 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
11679 variable.
11680 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
11681 Likewise.
11682
599af3ca
JM
116832012-02-20 Joseph Myers <joseph@codesourcery.com>
11684
11685 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
11686 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
11687 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
11688 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
11689 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11690 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
11691 <bits/epoll.h>.
11692 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
11693 (__EPOLL_PACKED): Define to empty if not defined by
11694 <bits/epoll.h>.
11695 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
11696 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11697 bits/epoll.h.
11698
0e499750
JM
116992012-02-20 Joseph Myers <joseph@codesourcery.com>
11700
11701 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
11702 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
11703 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
11704 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
11705 <bits/timerfd.h>.
11706 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
11707 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11708 bits/timerfd.h.
11709
5ad91f6e
JM
117102012-02-20 Joseph Myers <joseph@codesourcery.com>
11711
11712 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
11713 in C locale.
11714 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11715 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
11716 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
11717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11718
06b99b02
AJ
117192012-02-20 Aurelien Jarno <aurelien@aurel32.net>
11720
11721 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11722 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11723
7638c0fd
AS
117242012-02-19 Andreas Schwab <schwab@linux-m68k.org>
11725
11726 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
11727 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
11728 defined.
11729 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
11730 Likewise.
11731 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
11732 entry for 2.16.
11733
92221550
AJ
117342012-02-19 Aurelien Jarno <aurelien@aurel32.net>
11735
11736 * math/w_acos.c: Use non-signaling floating-point comparisons.
11737 * math/w_acosf.c: Likewise.
11738 * math/w_acosh.c: Likewise.
11739 * math/w_acoshf.c: Likewise.
11740 * math/w_acoshl.c: Likewise.
11741 * math/w_acosl.c: Likewise.
11742 * math/w_asin.c: Likewise.
11743 * math/w_asinf.c: Likewise.
11744 * math/w_asinl.c: Likewise.
11745 * math/w_atanh.c: Likewise.
11746 * math/w_atanhf.c: Likewise.
11747 * math/w_atanhl.c: Likewise.
11748 * math/w_exp2.c: Likewise.
11749 * math/w_exp2f.c: Likewise.
11750 * math/w_exp2l.c: Likewise.
11751 * math/w_j0.c: Likewise.
11752 * math/w_j0f.c: Likewise.
11753 * math/w_j0l.c: Likewise.
11754 * math/w_j1.c: Likewise.
11755 * math/w_j1f.c: Likewise.
11756 * math/w_j1l.c: Likewise.
11757 * math/w_jn.c: Likewise.
11758 * math/w_jnf.c: Likewise.
11759 * math/w_log.c: Likewise.
11760 * math/w_log10.c: Likewise.
11761 * math/w_log10f.c: Likewise.
11762 * math/w_log10l.c: Likewise.
11763 * math/w_log2.c: Likewise.
11764 * math/w_log2f.c: Likewise.
11765 * math/w_log2l.c: Likewise.
11766 * math/w_logf.c: Likewise.
11767 * math/w_logl.c: Likewise.
11768 * math/w_sqrt.c: Likewise.
11769 * math/w_sqrtf.c: Likewise.
11770 * math/w_sqrtl.c: Likewise.
11771 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11772 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
11773 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11774 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11775 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11776
ebaf36eb
JM
117772012-02-19 Joseph Myers <joseph@codesourcery.com>
11778
11779 [BZ #9739]
11780 * manual/string.texi (strnlen): Use correct parameter name in
11781 equivalent expression.
11782
71c254a6
JM
117832012-02-19 Joseph Myers <joseph@codesourcery.com>
11784
11785 [BZ #11174]
11786 * manual/users.texi (seteuid): Consistently use neweuid for
11787 argument name.
11788
16d2c631
JM
117892012-02-19 Joseph Myers <joseph@codesourcery.com>
11790
11791 [BZ #13704]
11792 * manual/nss.texi (Services in the NSS configuration): Correct
11793 list of services in example configuration file.
11794
cd837b09
NB
117952012-02-19 Nick Bowler <nbowler@draconx.ca>
11796
11797 [BZ #11322]
11798 * manual/arith.texi: Remove statements about negative zero
11799 behaving identically to zero.
11800
02c4bbad
JM
118012012-02-18 Joseph Myers <joseph@codesourcery.com>
11802
11803 [BZ #5993]
11804 * manual/install.texi: Do not document upgrading from libc5.
11805
366842e7
JM
118062012-02-18 Joseph Myers <joseph@codesourcery.com>
11807
11808 [BZ #4596]
11809 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
11810
dd54084d
DM
118112012-02-18 David S. Miller <davem@davemloft.net>
11812
11813 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
11814 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
11815 %o7 across the call.
11816 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
11817 instead.
11818 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
11819 SETUP_PIC_REG_LEAF.
11820 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11821 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
11822 * sysdeps/sparc/crtn.S: Likewise.
11823
2bcc53a3
UD
118242012-02-17 Ulrich Drepper <drepper@gmail.com>
11825
11826 * aout/Makefile: Remove.
11827
09c093b5
RK
118282012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
11829
11830 [BZ #13058]
11831 * manual/examples/argp-ex1.c (main): Format definition in GNU
11832 style.
11833 * manual/examples/argp-ex2.c (main): Likewise.
11834 * manual/examples/argp-ex3.c (main): Likewise.
11835 * manual/examples/argp-ex4.c (main): Likewise.
11836 * manual/examples/longopt.c (main): Use new-style prototype
11837 definition.
11838 * manual/examples/strncat.c (main): Specify return type and use
11839 (void) for arguments.
11840 * manual/examples/subopt.c (main): Use char **argv argument.
11841
2ee633a2
JM
118422012-02-17 Joseph Myers <joseph@codesourcery.com>
11843
11844 [BZ #5077]
11845 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
11846 rounding modes.
11847
0520adde
FB
118482012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
11849
11850 [BZ #6907]
11851 * manual/string.texi (strchr): Change when strchrnul is
11852 recommended.
11853
3f4081cd
DGM
118542012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
11855
11856 [BZ #174]
11857 * manual/locale.texi (setlocale): Document LOCPATH.
11858
d1b10e78
JM
118592012-02-17 Joseph Myers <joseph@codesourcery.com>
11860
11861 [BZ #10210]
11862 * manual/process.texi (execle): Move @dots{} before last argument.
11863
79c6869c
PB
118642012-02-17 Paul Bolle <pebolle@tiscali.nl>
11865
11866 [BZ #12047]
11867 * manual/charset.texi (Generic Charset Conversion): Fix typo
11868 (LC_TYPE -> LC_CTYPE).
11869
cc6e48bc
NB
118702012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
11871
11872 [BZ #5805]
11873 * manual/arith.texi (scalbn): Use @var{} on parameter names.
11874 (scalbnf): Likewise.
11875 (scalbnl): Likewise.
11876 (scalbln): Likewise.
11877 (scalblnf): Likewise.
11878 (scalblnl): Likewise.
11879 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
11880 (vwarnx): Likewise.
11881 (verr): Likewise.
11882 (verrx): Likewise.
11883 * manual/filesys.texi (telldir): Use braces around return type.
11884 * manual/llio.texi (mmap): Add space after comma.
11885 (mmap64): Likewise.
11886 * manual/math.texi (jn): Use @var{} on parameter names.
11887 (jnf): Likewise.
11888 (jnl): Likewise.
11889 (yn): Likewise.
11890 (ynf): Likewise.
11891 (ynl): Likewise.
11892 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
11893 line.
11894 * manual/resource.texi (ulimit): Use @dots{} instead of literal
11895 "...".
11896 (sched_get_priority_min): Remove semicolon on @deftypefun line.
11897 (sched_get_priority_max): Likewise.
11898 * manual/signal.texi (sigvec): Add space after comma.
11899 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
11900 names.
11901 (if_indextoname): Likewise.
11902 (if_freenameindex): Likewise.
11903 (sendto): Use ',' instead of '.' in prototype.
11904 * manual/startup.texi (syscall): Use @dots{} instead of literal
11905 "...".
11906 * manual/stdio.texi (__fpending): Separate initial words of
11907 paragraph from @deftypefun line.
11908 * manual/syslog.texi (syslog): Use @dots{} instead of literal
11909 "...".
11910 (vsyslog): Use @var{} on parameter names.
11911 * manual/terminal.texi (stty): Use @var{} on parameter names.
11912 * manual/users.texi (getutmp): Use @var{} on parameter names.
11913 (getutmpx): Likewise.
11914
5b23062f
JM
119152012-02-17 Joseph Myers <joseph@codesourcery.com>
11916
11917 [BZ #6884]
11918 * manual/stdio.texi (fopen): Fix typos in description of
11919 ",ccs=STRING".
11920
8dee4833
AJ
119212012-02-17 Aurelien Jarno <aurelien@aurel32.net>
11922
11923 [BZ #4026]
11924 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
11925 get clock_id definition.
11926
9078ce93
TS
119272012-02-17 Thomas Schwinge <thomas@schwinge.name>
11928
11929 [BZ #4822]
11930 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
11931 (madvise): Cast every argument to void on its own.
11932
3835c55f
JM
119332012-02-17 Joseph Myers <joseph@codesourcery.com>
11934
11935 [BZ #9902]
11936 * manual/startup.texi (Exit Status): Fix typo.
11937
35c47e37
JM
119382012-02-17 Joseph Myers <joseph@codesourcery.com>
11939
11940 [BZ #10140]
11941 * manual/examples/argp-ex1.c: Include <stdlib.h>.
11942 * manual/examples/argp-ex2.c: Likewise.
11943 * manual/examples/argp-ex3.c: Likewise.
11944
e3b69ca7
RH
119452012-02-16 Richard Henderson <rth@redhat.com>
11946
11947 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
11948 * sysdeps/s390/s390-32/initfini.c: Remove.
11949 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
11950 * sysdeps/s390/s390-64/initfini.c: Remove.
11951
df83af67
KK
119522012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11953
11954 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
11955 compiler output for sysdeps/generic/initfini.c.
11956 * sysdeps/sh/elf/initfini.c: Remove file.
11957
f63f3380
DM
119582012-02-16 David S. Miller <davem@davemloft.net>
11959
fb59b3a4
DM
11960 [BZ #11494]
11961 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
11962
f63f3380
DM
11963 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
11964 * sysdeps/sparc/crti.S: New file.
11965 * sysdeps/sparc/crtn.S: New file.
11966 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
11967 * sysdeps/sparc/sparc64/Makefile: Likewise.
11968
df6a4a4a
MF
119692012-02-15 Mike Frysinger <vapier@gentoo.org>
11970
6dd8f3dc 11971 [BZ #3335]
df6a4a4a
MF
11972 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
11973
1cac7236
RM
119742012-02-15 Roland McGrath <roland@hack.frob.com>
11975
d2c736f8
RM
11976 [BZ #4822]
11977 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
11978
1cac7236
RM
11979 * mach/devstream.c (cookie_io_functions_t): Macro removed.
11980 (write, read, close): Likewise.
11981 Patch by Aurelien Jarno <aurelien@aurel32.net>.
11982
8e475601
JM
119832012-02-15 Joseph Myers <joseph@codesourcery.com>
11984
11985 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
11986 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
11987 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
11988 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
11989 <bits/signalfd.h>.
11990 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
11991 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11992 bits/signalfd.h.
11993
ed656b40
MP
119942012-02-14 Marek Polacek <polacek@redhat.com>
11995
11996 * sysdeps/x86_64/crti.S: New file.
11997 * sysdeps/x86_64/crtn.S: New file.
11998 * sysdeps/x86_64/elf/initfini.c: Remove file.
11999
2a979d3a
JM
120002012-02-13 Joseph Myers <joseph@codesourcery.com>
12001
12002 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
12003 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
12004 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
12005 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
12006 <bits/inotify.h>.
12007 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
12008 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12009 bits/inotify.h.
12010
2a418ac3
JM
120112012-02-13 Joseph Myers <joseph@codesourcery.com>
12012
12013 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
12014 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
12015 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
12016 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
12017 <bits/eventfd.h>.
12018 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
12019 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12020 bits/eventfd.h.
12021
fb779be7
TS
120222012-02-10 Thomas Schwinge <thomas@codesourcery.com>
12023
e19e83c5
RM
12024 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
12025 __feraiseexcept instead of feraiseexcept.
7c35ffed 12026
fb779be7
TS
12027 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
12028 nanosleep invocations.
12029 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
12030 strings, and add error checking for a nanosleep invocations.
12031
59ba27a6
PE
120322012-02-09 Paul Eggert <eggert@cs.ucla.edu>
12033
12034 Replace FSF snail mail address with URLs, as per GNU coding standards.
12035 Most of the snail mail addresses were wrong anyway, and omitting
12036 them makes the source code easier to maintain. Almost all of the
12037 changes are to license notices and to locale LC_IDENTIFICATION
12038 addresses, except for this one:
12039 * manual/libc.texinfo: In "Published by", give the FSF's URL,
12040 not its snail mail address.
12041
57b957eb
RH
120422012-02-09 Richard Henderson <rth@twiddle.net>
12043
af850b1c
RH
12044 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
12045 of kernel-features.h.
12046
57b957eb
RH
12047 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
12048
6b73181a
MP
120492012-02-08 Marek Polacek <polacek@redhat.com>
12050
12051 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
12052 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
12053 * sysdeps/gnu/_G_config.h: Likewise.
12054 * sysdeps/generic/_G_config.h: Likewise.
12055
26ecc33a
AS
120562012-02-08 Andreas Schwab <schwab@linux-m68k.org>
12057
6c6dbc63
AS
12058 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
12059 tests.
12060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12061
e216c012
AS
12062 * sysdeps/powerpc/powerpc32/crti.S: New file.
12063 * sysdeps/powerpc/powerpc32/crtn.S: New file.
12064 * sysdeps/powerpc/powerpc64/crti.S: New file.
12065 * sysdeps/powerpc/powerpc64/crtn.S: New file.
12066
26ecc33a
AS
12067 * Makeconfig (have-initfini): Don't set.
12068 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
12069 * configure.in (nopic_initfini): Don't substitute.
12070 * config.h.in (HAVE_INITFINI): Don't #undef.
12071 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
12072 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
12073
3add8e13
JM
120742012-02-08 Joseph Myers <joseph@codesourcery.com>
12075
12076 Support crti.S and crtn.S provided directly by architectures.
12077 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
12078 [crti.S in sysdirs] (omit-deps): Likewise.
12079 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
12080 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
12081 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
12082 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
12083 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
12084 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
12085 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
12086 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
12087 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
12088 compiler output for sysdeps/generic/initfini.c.
12089 * sysdeps/i386/elf/Makefile: Remove file.
12090 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
12091
a22f12b4
MP
120922012-02-07 Marek Polacek <polacek@redhat.com>
12093
12094 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
12095 * sysdeps/gnu/_G_config.h: Likewise.
12096 * sysdeps/mach/hurd/_G_config.h: Likewise.
12097
148cf100
MP
120982012-02-07 Marek Polacek <polacek@redhat.com>
12099
12100 * math/Makefile (tests): Add tst-CMPLX2.
12101 * math/tst-CMPLX2.c: New file.
12102
cfdc0dd7
AS
121032012-02-07 Andreas Schwab <schwab@linux-m68k.org>
12104
84ba42c4
AS
12105 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12106
cfdc0dd7
AS
12107 * math/libm-test.inc (jn_test): Add missing L suffix.
12108
622c86f4
MP
121092012-02-06 Marek Polacek <polacek@redhat.com>
12110
12111 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
12112 * sysdeps/i386/fpu/e_powf.S: Likewise.
12113 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12114 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12115 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12116 * sysdeps/i386/fpu/e_pow.S: Likewise.
12117 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
12118 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12119 * sysdeps/i386/fpu/s_expm1.S: Likewise.
12120 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
12121 * sysdeps/i386/fpu/e_log2.S: Likewise.
12122 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12123 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12124 * sysdeps/i386/fpu/e_powl.S: Likewise.
12125 * sysdeps/i386/fpu/s_log1p.S: Likewise.
12126 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12127 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
12128 * sysdeps/i386/fpu/e_logl.S: Likewise.
12129 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
12130 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
12131 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
12132 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
12133 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12134 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12135 * sysdeps/i386/fpu/e_log.S: Likewise.
12136 * sysdeps/i386/fpu/s_cexp.S: Likewise.
12137 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12138 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
12139 * sysdeps/i386/fpu/e_logf.S: Likewise.
12140 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12141 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12142 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
12143 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
12144 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12145 * sysdeps/i386/fpu/e_log10.S: Likewise.
12146 * sysdeps/i386/fpu/s_frexp.S: Likewise.
12147 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12148 * sysdeps/i386/fpu/s_asinh.S: Likewise.
12149 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
12150 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12151 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
12152 * sysdeps/i386/asm-syntax.h: Likewise.
12153 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12154 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12155 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12156 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
12157 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
12158 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12159 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
12160 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
12161 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12162 * sysdeps/powerpc/sysdep.h: Likewise.
12163 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
12164 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12165
d4a54ac6
JM
121662012-02-06 Joseph Myers <joseph@codesourcery.com>
12167
12168 [BZ #411]
12169 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
12170
314054ea
JM
121712012-02-06 Joseph Myers <joseph@codesourcery.com>
12172
12173 * sysdeps/i386/sysdep.h: Include <features.h>.
12174 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
12175 version.
12176
d8e0ca50
JM
121772012-02-05 Joseph Myers <joseph@codesourcery.com>
12178
12179 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
12180 Define.
12181 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
12182 LOAD_PIC_REG_STR.
12183
b1da7dd9
JM
121842012-02-03 Joseph Myers <joseph@codesourcery.com>
12185
12186 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
12187 (SETUP_PIC_REG): Use GET_PC_THUNK.
12188 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
12189 macro.
12190
9a1d9254
JM
121912012-02-03 Joseph Myers <joseph@codesourcery.com>
12192
12193 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
12194 for non-PIC compilation.
12195 (SETUP_PIC_REG): Add .p2align directive.
12196 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
12197 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
12198 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12199 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12200 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12201 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12202 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
12203 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12204 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12205 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12206 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12207 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12208 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12209 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12210 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12211 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12212 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12213 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12214 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12215 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12216 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12217 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12218 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12219 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12220 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12221 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12222 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12223 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12224 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12225 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12226 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12227 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12228 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12229 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12230 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12231 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12232 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12233 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12234 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12235 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12236 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12237
65dc3b75
JM
122382012-02-03 Joseph Myers <joseph@codesourcery.com>
12239
12240 * math/tst-CMPLX.c: Include <stdio.h>.
12241
d55bf177
JM
122422012-01-31 Joseph Myers <joseph@codesourcery.com>
12243
12244 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
12245 float.
12246 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12247 * sysdeps/sparc/bits/mathdef.h: Likewise.
12248
69db4f8f
MP
122492012-01-31 Marek Polacek <polacek@redhat.com>
12250
12251 * libio/libio.h: Don't define _PARAMS.
12252 * locale/programs/config.h: Don't define PARAMS.
12253 * stdlib/strtol_l.c: Likewise.
12254 (__strtol_l): Remove PARAMS from the prototype.
12255
41b81892
UD
122562012-01-31 Ulrich Drepper <drepper@gmail.com>
12257
3b49edc0
UD
12258 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
12259 names. Just use the correct names. Remove unnecessary wrapper
12260 functions.
12261 * malloc/arena.c: Likewise.
12262 * malloc/hooks.c: Likewise.
12263
41b81892
UD
12264 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
12265 ARENA_TEST says not to. Simplify test for creation of a new arena.
12266 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
12267
27a25b6e
UD
122682012-01-30 Ulrich Drepper <drepper@gmail.com>
12269
12270 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
12271 into tail calls.
12272 (update_get_addr): New function.
12273 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
12274 GET_ADDR_MODULE parameter.
12275
c8a89e7d
JM
122762012-01-30 Joseph Myers <joseph@codesourcery.com>
12277
12278 * crypt/cert.c: Remove __STDC__ conditionals.
12279 * crypt/crypt-entry.c: Likewise.
12280 * crypt/crypt_util.c: Likewise.
12281 * libio/filedoalloc.c: Likewise.
12282 * libio/fileops.c: Likewise.
12283 * libio/genops.c: Likewise.
12284 * libio/iofclose.c: Likewise.
12285 * libio/iofdopen.c: Likewise.
12286 * libio/iofopen.c: Likewise.
12287 * libio/iofopen64.c: Likewise.
12288 * libio/iogetdelim.c: Likewise.
12289 * libio/iopopen.c: Likewise.
12290 * libio/obprintf.c: Likewise.
12291 * libio/oldfileops.c: Likewise.
12292 * libio/oldiofclose.c: Likewise.
12293 * libio/oldiofdopen.c: Likewise.
12294 * libio/oldiofopen.c: Likewise.
12295 * libio/oldiopopen.c: Likewise.
12296 * libio/wfiledoalloc.c: Likewise.
12297 * libio/wgenops.c: Likewise.
12298 * locale/programs/xmalloc.c: Likewise.
12299 * misc/syslog.c: Likewise.
12300 * stdio-common/xbug.c: Likewise.
12301 * string/memchr.c: Likewise.
12302 * string/memcmp.c: Likewise.
12303 * string/memrchr.c: Likewise.
12304 * string/rawmemchr.c: Likewise.
12305 * sysdeps/posix/getcwd.c: Likewise.
12306 * time/strftime_l.c: Likewise.
12307
3b100462
JM
123082012-01-30 Joseph Myers <joseph@codesourcery.com>
12309
12310 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
12311 * config.make.in (config-cflags-sse2avx): Define.
12312 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
12313 Fix typo.
12314
607998af
CM
123152012-01-29 Chris Metcalf <cmetcalf@tilera.com>
12316
12317 * scripts/config.guess: Update from upstream config git repository.
12318 * scripts/config.sub: Likewise.
12319
3601428f
CM
123202012-01-28 Chris Metcalf <cmetcalf@tilera.com>
12321
3ac8b282
CM
12322 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
12323 (EM_NUM): Update.
12324 (R_TILEPRO_*, R_TILEGX_*): New macros.
12325
e034841e
CM
12326 * scripts/firstversions.awk: Fix bug in version range handling.
12327
540d7568
CM
12328 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
12329
3601428f
CM
12330 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
12331
463de862
CM
12332 * include/sys/epoll.h: New file.
12333 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
12334 libc_hidden_def.
12335
73139a76
UD
123362012-01-28 Ulrich Drepper <drepper@gmail.com>
12337
96bc5b45
UD
12338 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
12339 Avoid unnecessary __WORDSIZE == 64 test.
12340 (fmaxf): Use VEX format if possible.
12341 (fmax): Likewise.
12342 (fminf): Likewise.
12343 (fmin): Likewise.
12344
56f6f6a2
UD
12345 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
12346 * math/math_private.h: Remove libc_fegetround* and
12347 libc_fesetround*.
12348 * sysdeps/i386/configure.in: Check for -msse2avx.
12349 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
12350 also if SSE2AVX is defined.
12351 Remove libc_fegetround* and libc_fesetround*.
12352 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
12353 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
12354 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
12355 of HAS_YMM_USABLE.
12356 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12357 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12358 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12359 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12360 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12361
73139a76
UD
12362 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
12363
d73f93a4
AZ
123642012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12365
12366 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
12367 size is not set.
12368 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12369
6ee65ed6
UD
123702012-01-27 Ulrich Drepper <drepper@gmail.com>
12371
12372 [BZ #13618]
12373 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
12374 relocation.
12375 * Makeconfig (libm): Define.
12376 * elf/Makefile: Add rules to build and run tst-relsort1.
12377 * elf/tst-relsort1.c: New file.
12378 * elf/tst-relsort1mod1.c: New file.
12379 * elf/tst-relsort1mod2.c: New file.
12380
8db21882
JM
123812012-01-27 Joseph Myers <joseph@codesourcery.com>
12382
12383 * math/s_ldexp.c: Remove __STDC__ conditionals.
12384 * math/s_ldexpf.c: Likewise.
12385 * math/s_ldexpl.c: Likewise.
12386 * math/s_nextafter.c: Likewise.
12387 * math/s_nexttowardf.c: Likewise.
12388 * math/s_significand.c: Likewise.
12389 * math/s_significandf.c: Likewise.
12390 * math/s_significandl.c: Likewise.
12391 * math/w_jnl.c: Likewise.
12392 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
12393 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
12394 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12395 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12396 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12397 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12398 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
12399 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12400 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12401 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12402 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12403 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12404 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12405 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
12406 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12407 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12408 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12409 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12410 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12411 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12412 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12413 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12414 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12415 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12416 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12417 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12418 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12419 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12420 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12421 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12422 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12423 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12424 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12425 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12426 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12427 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12428 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12429 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12430 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12431 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12432 * sysdeps/ieee754/k_standard.c: Likewise.
12433 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12434 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12435 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12436 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12437 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12438 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12439 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12440 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12441 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12442 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12443 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12444 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
12445 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12446 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12447 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12448 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12449 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12450 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12451 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12452 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12453 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12454 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12455 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12456 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12457 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12458 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12459 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12460 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12461 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12462 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12463 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12464 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
12465 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12466 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
12467 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12468 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
12469 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
12470 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12471 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
12472 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
12473 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
12474 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
12475 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12476 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
12477 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12478 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12479 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12480 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12481 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12482 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12483 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
12484 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12485 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12486 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
12487 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12488 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
12489 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
12490 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12491 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12492 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12493 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12494 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12495 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
12496 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12497 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12498 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12499 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12500 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
12501 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
12502 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12503 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12504 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12505 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12506 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12507 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12508 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12509 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
12510 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12511 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
12512 * sysdeps/ieee754/s_matherr.c: Likewise.
12513 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
12514 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12515 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12516 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12517
965a54a4
JM
125182012-01-26 Joseph Myers <joseph@codesourcery.com>
12519
12520 * crypt/md5.h: Remove __STDC__ conditionals.
12521 * libio/libioP.h: Likewise.
12522 * locale/programs/config.h: Likewise.
12523 * sysdeps/generic/sysdep.h: Likewise.
12524 * sysdeps/i386/asm-syntax.h: Likewise.
12525 * sysdeps/s390/asm-syntax.h: Likewise.
12526 * sysdeps/unix/sysdep.h: Likewise.
12527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12529
7071ad79
JM
125302012-01-26 Joseph Myers <joseph@codesourcery.com>
12531
12532 * libio/libio.h: Remove __STDC__ conditionals.
12533 * malloc/obstack.h: Likewise.
12534 * math/complex.h: Likewise.
12535 * math/math.h: Likewise.
12536 * sysdeps/generic/_G_config.h: Likewise.
12537 * sysdeps/gnu/_G_config.h: Likewise.
12538 * sysdeps/mach/hurd/_G_config.h: Likewise.
12539 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12540 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12541 * sysdeps/sparc/bits/mathdef.h: Likewise.
12542
afc5ed09
UD
125432012-01-26 Ulrich Drepper <drepper@gmail.com>
12544
12545 [BZ #13583]
12546 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 12547 Clean up HAS_* macros.
afc5ed09 12548 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
12549 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
12550 possible.
12551 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
12552 HAS_AVX.
12553 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12554 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12555 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12556 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12557 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 12558
bdb6de1d
JM
125592012-01-25 Joseph Myers <joseph@codesourcery.com>
12560
12561 * elf/tst-unique3.cc (gets): Remove declaration.
12562 * elf/tst-unique3lib.cc (gets): Likewise.
12563 * elf/tst-unique3lib2.cc (gets): Likewise.
12564 * elf/tst-unique4.cc (gets): Likewise.
12565
b15549e6
UD
125662012-01-24 Ulrich Drepper <drepper@gmail.com>
12567
12568 * include/stdio.h: Add C++ protection. Add gets declarations and
12569 definitions.
12570 * debug/tst-chk1.c: Don't declare gets here.
12571 * stdio-common/tst-gets.c: Likewise.
12572
a037381f
JM
125732012-01-24 Joseph Myers <joseph@codesourcery.com>
12574
12575 * posix/glob: Remove directory.
12576
f1d4aa75
JM
125772012-01-24 Joseph Myers <joseph@codesourcery.com>
12578
12579 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
12580
81c0c964
PT
125812012-01-22 Pino Toscano <toscano.pino@tiscali.it>
12582
12583 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
12584 of the non-standard EPFNOSUPPORT.
12585
0ea698ae
ST
125862011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
12587
12588 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
12589 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
12590 ANYWHERE set to 1 only on KERN_NO_SPACE error.
12591
d220b117
UD
125922012-01-21 Ulrich Drepper <drepper@gmail.com>
12593
12594 * wcsmbs/uchar.h: Test __STDC_VERSION__.
12595
3e1aa84e
UD
125962012-01-20 Ulrich Drepper <drepper@gmail.com>
12597
12598 * nscd/aicache.c (addhstaiX): Do not cache negative results of
12599 transient errors.
12600 * nscd/grpcache.c (cache_addgr): Likewise.
12601 * nscd/hstcache.c (cache_addhst): Likewise.
12602 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12603 * nscd/pwdcache.c (cache_addpw): Likewise.
12604 * nscd/servicescache.c (cache_addserv): Likewise.
12605
400aa020
UD
126062012-01-16 Ulrich Drepper <drepper@gmail.com>
12607
d77e7869
UD
12608 * malloc/malloc.c: Various cleanups.
12609 * malloc/hooks.c: Likewise.
12610
400aa020
UD
12611 * stdlib/Makefile (tests): Add bug-fmtmsg1.
12612 * stdlib/bug-fmtmsg1.c: New file.
12613
12614 * stdlib/fmtmsg.c (init): Add missing unlock.
12615 Patch by Peng Haitao <penght@cn.fujitsu.com>.
12616
e0a309cf
MP
126172012-01-12 Marek Polacek <polacek@redhat.com>
12618
12619 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
12620 and _GNU_SOURCE.
12621
929d11c7
WS
126222012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12623
12624 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
12625 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
12626 macro to ensure uniqueness of label name.
12627 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12628 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12629
41d0e869
UD
126302012-01-11 Ulrich Drepper <drepper@gmail.com>
12631
0cc5ed3b
UD
12632 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
12633
41d0e869
UD
12634 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
12635 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12636 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12637 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
12638
a47a831a
UD
126392012-01-10 Ulrich Drepper <drepper@gmail.com>
12640
daa891c0
UD
12641 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
12642
12643 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
12644 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12645 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
12646
e58ef0f2
UD
12647 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
12648
a47a831a 12649 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
12650 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12651 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 12652 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
12653
12654 * math/bits/math-finite.h: Add ldexp support.
12655
a0bfc9c7
MP
126562012-01-10 Marek Polacek <polacek@redhat.com>
12657
12658 * locale/programs/localedef.h (show_archive_content): Add noreturn
12659 attribute.
12660
d6e97a1d
UD
126612012-01-09 Ulrich Drepper <drepper@gmail.com>
12662
12663 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
12664
d5835c26
UD
126652012-01-08 Ulrich Drepper <drepper@gmail.com>
12666
e5f484c6
UD
12667 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
12668
d5835c26
UD
12669 * io/Makefile (headers): Add bits/poll2.h.
12670
d1f741e9
WS
126712011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
12672
12673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
12674 typo #include statement.
12675
ec09c1c4
UD
126762012-01-08 Ulrich Drepper <drepper@gmail.com>
12677
12678 * include/sys/cdefs.h: Define __attribute_alloc_size.
12679 * catgets/gencat.c: Add alloc_size attribute and apply consistently
12680 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
12681 * elf/pldd.c: Likewise.
12682 * iconv/iconv_charmap.c: Likewise.
12683 * iconv/iconvconfig.c: Likewise.
12684 * iconv/strtab.c: Likewise.
12685 * locale/programs/locale.c: Likewise.
12686 * locale/programs/localedef.h: Likewise.
12687 * locale/programs/simple-hash.c: Likewise.
12688 * nscd/nscd.h: Likewise.
12689 * nss/makedb.c: Likewise.
12690 * sysdeps/generic/ldconfig.h: Likewise.
12691 * locale/programs/localedef.c: Remove xmalloc prototype.
12692 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
12693
20b38e03
PP
126942012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12695
12696 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
12697 appropriate.
12698
a0da5fe1
UD
126992012-01-08 Ulrich Drepper <drepper@gmail.com>
12700
1d5a644a 12701 * math/Makefile (tests): Add tst-CMPLX.
669704fd 12702 * math/tst-CMPLX.c: New file.
1d5a644a 12703
8784a6db
UD
12704 * math/complex.h (CMPLXL): Fix typo.
12705
d9a216c0
UD
12706 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
12707 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
12708 GLIBC_2.16.
12709 * debug/tst-chk1.c: Add poll and ppoll tests.
12710 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
12711 * include/sys/poll.h: Add hidden proto for ppoll.
12712 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
12713 * sysdeps/mach/hurd/ppoll.c: Likewise.
12714 * io/ppoll.c: Likewise.
12715 * debug/poll_chk.c: New file.
12716 * debug/ppoll_chk.c: New file.
12717 * include/bits/poll2.h: New file.
12718 * io/bits/poll2.h: New file.
12719
ac097f5c
UD
12720 [BZ #1350]
12721 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
12722
2119dcfa
UD
12723 * configure.in: static is always set to yes. Remove.
12724 * config.make.in: Don't set build-static.
12725 * Makeconfig: Remove use of build-static.
12726 * dlfcn/Makefile: Likewise.
12727 * elf/Makefile: Likewise.
12728 * math/Makefile: Likewise.
12729 * misc/Makefile: Likewise.
12730 * nptl/Makefile: Likewise.
12731 * sysdeps/mach/hurd/Makefile: Likewise.
12732
121766a9
UD
12733 * configure.in: PWD_P is not used anymore.
12734 * config.make.in: Remove PWD_P entry.
12735
51a1d39c 12736 * configure.in: Remove last remnants of RANLIB.
8720d066 12737 No need to check for signed size_t anymore.
215f4bdc
UD
12738 Don't set libc_commonpagesize and libc_relro_required here for Alpha
12739 and IA-64.
3857022a 12740 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
12741 * aclocal.m4: Likewise.
12742
d3ed7225
UD
12743 * wcsmbs/mbrtoc16.c: Implement using towc function.
12744 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
12745 * wcsmbs/wcsmbsload.c: Likewise.
12746 * iconv/gconv_simple.c: Likewise.
12747 * iconv/gconv_int.h: Likewise.
12748 * iconv/gconv_builtin.h: Likewise.
12749 * iconv/iconv_prog.c: Remove CHAR16 handling.
12750
12751 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
12752
12753 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
12754
a0da5fe1
UD
12755 * configure.in: Remove --with-elf and --enable-bounded options.
12756 Dont set base_machine for ia64. More non-ELF conditions removed.
12757 Remove testing and setting of leading underscore information.
12758 * config.make.in (build-bounded): Set to no.
12759 * config.h.in: Remove NO_UNDERSCORES entry.
12760 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
12761 them.
12762 * csu/start.c: Remove !NO_UNDERSCORE code.
12763 * locale/localeinfo.h: Likewise.
12764 * sysdeps/generic/machine-gmon.h: Likewise.
12765 * sysdeps/generic/sysdep.h: Likewise.
12766 * sysdeps/i386/sysdep.h: Likewise.
12767 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12768 * sysdeps/mach/sysdep.h: Likewise.
12769 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12770 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12771 * sysdeps/sh/sysdep.h: Likewise.
12772 * sysdeps/sparc/sparc32/alloca.S: Likewise.
12773 * sysdeps/unix/i386/sysdep.S: Likewise.
12774 * sysdeps/unix/sparc/start.c: Likewise.
12775 * sysdeps/unix/sparc/sysdep.S: Likewise.
12776 * sysdeps/unix/sparc/sysdep.h: Likewise.
12777 * sysdeps/unix/start.c: Likewise.
12778 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12779 * sysdeps/x86_64/sysdep.h: Likewise.
12780
df78418a
UD
127812012-01-07 Ulrich Drepper <drepper@gmail.com>
12782
a784e502
UD
12783 [BZ #13553]
12784 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
12785 for non-gcc.
12786 * argp/argp-fmtstream.h: Use const instead __const.
12787 * argp/argp.h: Likewise.
12788 * assert/assert.h: Likewise.
12789 * bits/fenv.h: Likewise.
12790 * bits/sched.h: Likewise.
12791 * bits/sigset.h: Likewise.
12792 * bits/sigthread.h: Likewise.
12793 * catgets/nl_types.h: Likewise.
12794 * conform/data/pthread.h-data: Likewise.
12795 * crypt/crypt-private.h: Likewise.
12796 * crypt/crypt.h: Likewise.
12797 * crypt/crypt_util.c: Likewise.
12798 * ctype/ctype.h: Likewise.
12799 * debug/execinfo.h: Likewise.
12800 * debug/mbsnrtowcs_chk.c: Likewise.
12801 * debug/mbsrtowcs_chk.c: Likewise.
12802 * debug/wcsnrtombs_chk.c: Likewise.
12803 * debug/wcsrtombs_chk.c: Likewise.
12804 * debug/wcstombs_chk.c: Likewise.
12805 * dirent/dirent.h: Likewise.
12806 * dlfcn/dlfcn.h: Likewise.
12807 * elf/neededtest4.c: Likewise.
12808 * grp/grp.h: Likewise.
12809 * gshadow/gshadow.h: Likewise.
12810 * iconv/gconv.h: Likewise.
12811 * iconv/gconv_int.h: Likewise.
12812 * iconv/gconv_simple.c: Likewise.
12813 * iconv/iconv.h: Likewise.
12814 * iconv/loop.c: Likewise.
12815 * iconv/skeleton.c: Likewise.
12816 * include/aio.h: Likewise.
12817 * include/aliases.h: Likewise.
12818 * include/argz.h: Likewise.
12819 * include/arpa/inet.h: Likewise.
12820 * include/assert.h: Likewise.
12821 * include/dirent.h: Likewise.
12822 * include/dlfcn.h: Likewise.
12823 * include/execinfo.h: Likewise.
12824 * include/fcntl.h: Likewise.
12825 * include/fenv.h: Likewise.
12826 * include/glob.h: Likewise.
12827 * include/grp.h: Likewise.
12828 * include/libintl.h: Likewise.
12829 * include/mntent.h: Likewise.
12830 * include/netdb.h: Likewise.
12831 * include/pwd.h: Likewise.
12832 * include/rpc/netdb.h: Likewise.
12833 * include/sched.h: Likewise.
12834 * include/search.h: Likewise.
12835 * include/shadow.h: Likewise.
12836 * include/signal.h: Likewise.
12837 * include/stdio.h: Likewise.
12838 * include/stdlib.h: Likewise.
12839 * include/string.h: Likewise.
12840 * include/sys/socket.h: Likewise.
12841 * include/sys/stat.h: Likewise.
12842 * include/sys/statfs.h: Likewise.
12843 * include/sys/statvfs.h: Likewise.
12844 * include/sys/syslog.h: Likewise.
12845 * include/sys/time.h: Likewise.
12846 * include/sys/uio.h: Likewise.
12847 * include/time.h: Likewise.
12848 * include/unistd.h: Likewise.
12849 * include/utmp.h: Likewise.
12850 * include/wchar.h: Likewise.
12851 * include/wctype.h: Likewise.
12852 * inet/aliases.h: Likewise.
12853 * inet/arpa/inet.h: Likewise.
12854 * inet/netinet/ether.h: Likewise.
12855 * inet/netinet/in.h: Likewise.
12856 * intl/libintl.h: Likewise.
12857 * io/bits/fcntl2.h: Likewise.
12858 * io/fcntl.h: Likewise.
12859 * io/ftw.h: Likewise.
12860 * io/sys/poll.h: Likewise.
12861 * io/sys/stat.h: Likewise.
12862 * io/sys/statfs.h: Likewise.
12863 * io/sys/statvfs.h: Likewise.
12864 * io/utime.h: Likewise.
12865 * libio/bits/stdio.h: Likewise.
12866 * libio/bits/stdio2.h: Likewise.
12867 * libio/libio.h: Likewise.
12868 * libio/libioP.h: Likewise.
12869 * libio/stdio.h: Likewise.
12870 * locale/lc-ctype.c: Likewise.
12871 * locale/locale.h: Likewise.
12872 * login/utmp.h: Likewise.
12873 * malloc/arena.c: Likewise.
12874 * malloc/malloc.c: Likewise.
12875 * malloc/malloc.h: Likewise.
12876 * malloc/mcheck.c: Likewise.
12877 * malloc/mtrace.c: Likewise.
12878 * math/bits/mathcalls.h: Likewise.
12879 * math/fenv.h: Likewise.
12880 * math/math_private.h: Likewise.
12881 * misc/bits/error.h: Likewise.
12882 * misc/bits/syslog.h: Likewise.
12883 * misc/err.h: Likewise.
12884 * misc/error.h: Likewise.
12885 * misc/fstab.h: Likewise.
12886 * misc/mntent.h: Likewise.
12887 * misc/regexp.h: Likewise.
12888 * misc/search.h: Likewise.
12889 * misc/sgtty.h: Likewise.
12890 * misc/sys/mman.h: Likewise.
12891 * misc/sys/syslog.h: Likewise.
12892 * misc/sys/uio.h: Likewise.
12893 * misc/sys/xattr.h: Likewise.
12894 * misc/ttyent.h: Likewise.
12895 * nis/rpcsvc/ypclnt.h: Likewise.
12896 * nss/nss.h: Likewise.
12897 * posix/bits/unistd.h: Likewise.
12898 * posix/fnmatch.h: Likewise.
12899 * posix/glob.h: Likewise.
12900 * posix/sched.h: Likewise.
12901 * posix/spawn.h: Likewise.
12902 * posix/sys/wait.h: Likewise.
12903 * posix/unistd.h: Likewise.
12904 * posix/wordexp.h: Likewise.
12905 * pwd/pwd.h: Likewise.
12906 * resolv/netdb.h: Likewise.
12907 * resource/sys/resource.h: Likewise.
12908 * rt/aio.h: Likewise.
12909 * rt/bits/mqueue2.h: Likewise.
12910 * rt/mqueue.h: Likewise.
12911 * shadow/shadow.h: Likewise.
12912 * signal/signal.h: Likewise.
12913 * socket/send.c: Likewise.
12914 * socket/sendto.c: Likewise.
12915 * socket/sys/socket.h: Likewise.
12916 * stdio-common/printf.h: Likewise.
12917 * stdlib/bits/stdlib.h: Likewise.
12918 * stdlib/fmtmsg.h: Likewise.
12919 * stdlib/monetary.h: Likewise.
12920 * stdlib/stdlib.h: Likewise.
12921 * stdlib/ucontext.h: Likewise.
12922 * streams/stropts.h: Likewise.
12923 * string/argz.h: Likewise.
12924 * string/bits/string2.h: Likewise.
12925 * string/string.h: Likewise.
12926 * string/strings.h: Likewise.
12927 * sunrpc/rpc/auth.h: Likewise.
12928 * sunrpc/rpc/auth_des.h: Likewise.
12929 * sunrpc/rpc/clnt.h: Likewise.
12930 * sunrpc/rpc/netdb.h: Likewise.
12931 * sunrpc/rpc/pmap_clnt.h: Likewise.
12932 * sunrpc/rpc/xdr.h: Likewise.
12933 * sysdeps/generic/inttypes.h: Likewise.
12934 * sysdeps/generic/net/if.h: Likewise.
12935 * sysdeps/generic/sys/swap.h: Likewise.
12936 * sysdeps/gnu/net/if.h: Likewise.
12937 * sysdeps/gnu/utmpx.h: Likewise.
12938 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
12939 * sysdeps/i386/i486/bits/string.h: Likewise.
12940 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
12941 * sysdeps/s390/bits/string.h: Likewise.
12942 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
12943 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
12944 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
12945 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
12946 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12947 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
12948 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
12949 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
12950 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
12951 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
12952 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
12953 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12954 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
12955 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12956 * sysdeps/unix/sysv/linux/readv.c: Likewise.
12957 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
12958 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12959 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12960 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12961 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12962 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12963 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
12964 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
12965 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
12966 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
12967 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
12968 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
12969 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12970 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
12971 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
12972 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
12973 * sysvipc/sys/ipc.h: Likewise.
12974 * sysvipc/sys/msg.h: Likewise.
12975 * sysvipc/sys/sem.h: Likewise.
12976 * sysvipc/sys/shm.h: Likewise.
12977 * termios/termios.h: Likewise.
12978 * time/sys/time.h: Likewise.
12979 * time/time.h: Likewise.
12980 * wcsmbs/bits/wchar2.h: Likewise.
12981 * wcsmbs/uchar.h: Likewise.
12982 * wcsmbs/wchar.h: Likewise.
12983 * wctype/wctype.h: Likewise.
12984
0269750c
UD
12985 [BZ #13551]
12986 * Makeconfig: Remove all but ELF support including AIX support.
12987 * Makerules: Likewise.
12988 * config.h.in: Likewise.
12989 * config.make.in: Likewise.
12990 * configure: Likewise.
12991 * configure.in: Likewise.
12992 * csu/Makefile: Likewise.
12993 * csu/version.c: Likewise.
12994 * debug/Makefile: Likewise.
12995 * dlfcn/Makefile: Likewise.
12996 * elf/Makefile: Likewise.
12997 * extra-lib.mk: Likewise.
12998 * iconv/Makefile: Likewise.
12999 * include/libc-symbols.h: Likewise.
13000 * include/shlib-compat.h: Likewise.
13001 * resolv/Makefile: Likewise.
13002 * resolv/res_libc.c: Likewise.
13003 * rt/Makefile: Likewise.
13004 * sysdeps/i386/asm-syntax.h: Likewise.
13005 * sysdeps/i386/sysdep.h: Likewise.
13006 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13007 * sysdeps/mach/sysdep.h: Likewise.
13008 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
13009 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
13010 * sysdeps/s390/asm-syntax.h: Likewise.
13011 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13012 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13013 * sysdeps/sh/sysdep.h: Likewise.
13014 * sysdeps/unix/sparc/sysdep.h: Likewise.
13015 * sysdeps/wordsize-32/divdi3.c: Likewise.
13016 * sysdeps/x86_64/sysdep.h: Likewise.
13017
00bbd29b
UD
13018 * argp/Versions: Remove _argp_unlock_xxx.
13019
13020 [BZ #13559]
13021 * abilist/ld.abilist: Update. Adjust for removal of tls option.
13022 * abilist/libBrokenLocale.abilist: Likewise.
13023 * abilist/libanl.abilist: Likewise.
13024 * abilist/libc.abilist: Likewise.
13025 * abilist/libcrypt.abilist: Likewise.
13026 * abilist/libdl.abilist: Likewise.
13027 * abilist/libm.abilist: Likewise.
13028 * abilist/libnsl.abilist: Likewise.
13029 * abilist/libpthread.abilist: Likewise.
13030 * abilist/libresolv.abilist: Likewise.
13031 * abilist/librt.abilist: Likewise.
13032 * abilist/libthread_db.abilist: Likewise.
13033 * abilist/libutil.abilist: Likewise.
13034 * abilist/libnss_db.abilist: New file.
13035
13036 * scripts/abilist.awk: Add support for indirect functions.
13037
a2693a0e
UD
13038 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
13039
3f05895f
UD
13040 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
13041
ecb6fb48
UD
13042 * shlib-versions: Remove entries for ports architectures.
13043
664f8cb9
UD
13044 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
13045 files in ports.
13046 * elf/stackguard-macros.h: Remove support for IA-64.
13047 * elf/tst-auditmod1.c: Likewise.
13048 * sysdeps/generic/ldsodefs.h: Likewise.
13049
7ae81d88
UD
13050 * sysdeps/unix/sysv/linux/configure.in: Ports should define
13051 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
13052 configure files.
13053
bdeba135
UD
13054 [BZ #13552]
13055 * configure.in: Remove --enable-omitfp support.
13056 * FAQ.in: Adjust.
13057 * config.make.in: Likewise.
13058 * Makeconfig: Likewise.
13059 * manual/install.texi: Likewise.
13060
d75a0a62
UD
13061 In case anyone cares, the IA-64 architecture could move to ports.
13062 * sysdeps/ia64/*: Removed.
13063 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 13064 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 13065
dcc9756b
UD
13066 [BZ #13555]
13067 * configure.in: Remove entries for unsupported architectures.
13068
d3761ebc 13069 [BZ #13533]
9954432e
UD
13070 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
13071 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
13072 routines.
13073 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
13074 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
13075 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
13076 fall back to using wcrtomb.
13077 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
13078 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
13079 renaming.
13080 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
13081 * wcsmbs/tst-c16c32-1.c: New file.
13082
13083 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
13084 local variable.
13085
c3a87236
UD
13086 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
13087
28926a1b
UD
13088 * elf/tst-unique3.cc: Add explicit declaration of gets.
13089 * elf/tst-unique3lib.cc: Likewise.
13090 * elf/tst-unique3lib2.cc: Likewise.
13091 * elf/tst-unique4.cc: Likewise.
13092
df78418a
UD
13093 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
13094
8ecd6b2a
JM
130952012-01-06 Joseph Myers <joseph@codesourcery.com>
13096
13097 [BZ #13566]
13098 * assert/assert.h (static_assert): Don't define for C++.
13099 * libio/stdio.h (gets): Do declare for C++ <= C++11.
13100 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
13101
9f115170
UD
131022012-01-03 Ulrich Drepper <drepper@gmail.com>
13103
5e0d0300
UD
13104 * iconv/loop.c (single loop): Fix assertion in storing of
13105 remaining bytes.
13106
9f115170
UD
13107 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
13108
81fb02b0
UD
131092012-01-01 Ulrich Drepper <drepper@gmail.com>
13110
13111 * posix/getconf.c: Update copyright year.
13112 * nss/getent.c: Likewise.
a316c1f6 13113 * nss/makedb.c: Likewise.
81fb02b0
UD
13114 * iconv/iconvconfig.c: Likewise.
13115 * iconv/iconv_prog.c: Likewise.
13116 * elf/ldconfig.c: Likewise.
a316c1f6
UD
13117 * elf/pldd.c: Likewise.
13118 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
13119 * catgets/gencat.c: Likewise.
13120 * csu/version.c: Likewise.
13121 * elf/ldd.bash.in: Likewise.
13122 * elf/sprof.c (print_version): Likewise.
13123 * locale/programs/locale.c: Likewise.
13124 * locale/programs/localedef.c: Likewise.
a316c1f6 13125 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
13126 * nscd/nscd.c (print_version): Likewise.
13127 * debug/xtrace.sh: Likewise.
13128 * malloc/memusage.sh: Likewise.
13129 * malloc/mtrace.pl: Likewise.
13130 * debug/catchsegv.sh: Likewise.
13131
2ba92745
JJ
131322011-12-30 Jakub Jelinek <jakub@redhat.com>
13133
13134 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
13135 pure attribute.
13136
dadebdae
UD
131372011-12-24 Ulrich Drepper <drepper@gmail.com>
13138
d3761ebc 13139 [BZ #13533]
db6af3eb
UD
13140 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
13141 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
13142 transformations.
13143 * iconv/gconv_int.h: Likewise.
13144 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
13145 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
13146 from libc for GLIBC_2.16.
13147 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
13148 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
13149 * wcsmbs/uchar.h: Really define mbstate_t.
13150 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
13151 * wcsmbs/c16rtomb.c: New file.
13152 * wcsmbs/mbrtoc16.c: New file.
13153 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
13154 for C/POSIX locale.
13155 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
13156 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
13157
dadebdae
UD
13158 * wcsmbs/wchar.h: Add missing __restrict.
13159
67371b56
UD
131602011-12-23 Ulrich Drepper <drepper@gmail.com>
13161
74033a25
UD
13162 [BZ #13532]
13163 * time/Makefile (routines): Add timespec_get.
13164 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
13165 * time/time.h: Define TIME_UTC and declare timespec_get. Define
13166 timespec for ISO C11.
13167 * time/timespec_get.c: New file.
13168 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
13169 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
13170
380d7e87
UD
13171 [BZ #13531]
13172 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
13173 * stdlib/stdlib.h: Declare aligned_alloc.
13174 * Versions.def: Add GLIBC_2.16 for libc.
13175 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
13176
4e9e7a35
UD
13177 [BZ 13527]
13178 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
13179 ISO C11.
13180
380d7e87 13181 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
13182 code.
13183
03a71829
UD
13184 [BZ #13528]
13185 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
13186
839e283e
UD
13187 [BZ #13529]
13188 * assert/assert.h (static_assert): Define.
13189
ce5294e2 13190 * version.h: Update for 2.16 development version.
90fa7312 13191
8d44e150 13192 [BZ #13526]
d7809905
UD
13193 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
13194 _ISOC11_SOURCE.
13195
c0da14cd
UD
13196 * version.h (RELEASE): Bump for 2.15 release.
13197 * include/features.h (__GLIBC_MINOR__): Bump to 15.
13198
530a3249
MP
13199 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
13200 Patch by Marek Polacek <mpolacek@redhat.com>.
13201
67371b56
UD
13202 * bits/byteswap.h: Protect long long constants with __extension__.
13203 * sysdeps/i386/bits/byteswap.h: Likewise.
13204 * sysdeps/ia64/bits/byteswap.h: Likewise.
13205 * sysdeps/s390/bits/byteswap.h: Likewise.
13206 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13207
15db4de1
LD
132082011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13209
13210 [BZ #13540]
bbe315ea
LD
13211 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
13212 destination buffer.
15db4de1
LD
13213 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
13214
2b2596b1
MP
132152011-12-23 Marek Polacek <polacek@redhat.com>
13216
13217 * elf/dl-addr.c (determine_info): Add inline keyword.
13218 * elf/tst-auditmod4b.c (check_avx): Likewise.
13219 * elf/tst-auditmod6b.c (check_avx): Likewise.
13220 * elf/tst-auditmod6c.c (check_avx): Likewise.
13221 * elf/tst-auditmod7b.c (check_avx): Likewise.
13222
70c6c246
UD
132232011-12-23 Ulrich Drepper <drepper@gmail.com>
13224
13225 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
13226 !__SSE_MATH__.
13227
c044cf14
LD
132282011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13229
15db4de1 13230 [BZ #13540]
c044cf14
LD
13231 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
13232 processing for last bytes.
13233
6b13d9d9
BH
132342011-08-06 Bruno Haible <bruno@clisp.org>
13235
d455f537
BH
13236 [BZ #13061]
13237 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
13238 U+0385, not to U+1FEE.
13239
6b13d9d9
BH
13240 [BZ #13062]
13241 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
13242 entry for U+00A5 U+0301.
13243
db910efd
UD
132442011-12-22 Ulrich Drepper <drepper@gmail.com>
13245
27deeafc
UD
13246 [BZ #13166]
13247 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
13248 buffer for the output is too small.
13249
aed9d171
UD
13250 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
13251 optimization.
13252
db910efd
UD
13253 [BZ #13185]
13254 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
13255 SSE flags if possible.
13256
2bd779ae
LD
132572011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13258
e7f9dac3 13259 [BZ #13540]
2bd779ae
LD
13260 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
13261 processing for last bytes.
13262
154bfc16
JM
132632011-12-22 Joseph Myers <joseph@codesourcery.com>
13264
13265 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
13266 (syscall-list-default-options, syscall-list-default-condition)
13267 (syscall-list-includes): Define.
13268 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
13269 list of ABIs and options and #if conditions for each ABI. Do not
13270 handle common syscalls between ABIs specially.
13271 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
13272 Remove.
13273 (syscall-list-variants, syscall-list-32bit-options)
13274 (syscall-list-32bit-condition, syscall-list-64bit-options)
13275 (syscall-list-64bit-condition): Define.
13276 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
13277 (syscall-list-variants, syscall-list-32bit-options)
13278 (syscall-list-32bit-condition, syscall-list-64bit-options)
13279 (syscall-list-64bit-condition): Define.
13280 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
13281 Remove.
13282 (syscall-list-variants, syscall-list-32bit-options)
13283 (syscall-list-32bit-condition, syscall-list-64bit-options)
13284 (syscall-list-64bit-condition): Define.
13285 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
13286 Remove.
13287 (syscall-list-variants, syscall-list-32bit-options)
13288 (syscall-list-32bit-condition, syscall-list-64bit-options)
13289 (syscall-list-64bit-condition): Define.
13290
21eaf3a5
UD
132912011-12-22 Ulrich Drepper <drepper@gmail.com>
13292
16c6f992
UD
13293 * locale/iso-639.def: Add brx entry.
13294
41043168
UD
13295 [BZ #13328]
13296 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
13297 Proposed by Mariusz_Cukr <marcukr@op.pl>.
13298
21eaf3a5
UD
13299 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
13300 __feraiseexcept_renamed.
13301
e3a851a2
UD
133022011-12-21 Ulrich Drepper <drepper@gmail.com>
13303
4920765e
UD
13304 [BZ #13538]
13305 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
13306 EPOLLET with unsigned values.
13307 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13308 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13309
e3a851a2
UD
13310 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
13311 to large cancellation.
13312 * math/s_cacoshf.c: Likewise.
13313 * math/s_cacoshl.c: Likewise.
13314
b27e24b8
RK
133152011-11-18 Richard B. Kreckel <kreckel@ginac.de>
13316
13317 [BZ #13305]
aebefeee 13318 [BZ #12786]
b27e24b8
RK
13319 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
13320 * math/s_cacoshf.c: Likewise.
13321 * math/s_cacoshl.c: Likewise.
13322
ee190f67
UD
133232011-12-21 Ulrich Drepper <drepper@gmail.com>
13324
13325 [BZ #13439]
13326 * iconv/gconv.h: Define __GCONV_SWAP.
13327 * iconvdata/unicode.c: The swap bit must be stored in __flags.
13328 * iconvdata/utf-16.c: Likewise.
13329 * iconvdata/utf-32.c: Likewise.
13330
707f25df
AS
133312011-12-21 Andreas Schwab <schwab@linux-m68k.org>
13332
13333 [BZ #13524]
13334 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
13335 numerator after shifting it by one limb.
13336
d2daaa1e
RÁE
133372011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
13338
13339 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
13340 under [__USE_EXTERN_INLINES].
13341
a4647e72
UD
133422011-12-17 Ulrich Drepper <drepper@gmail.com>
13343
13344 [BZ #13446]
13345 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
13346
f0b264f1
AZ
133472011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13348
13349 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
13350 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
13351 optimized code.
13352 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
13353 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
13354 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
13355 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
13356 for strncasecmp/strncasecmp_l compilation.
13357 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
13358 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
13359
8ef4f244
MP
133602011-12-08 Marek Polacek <mpolacek@redhat.com>
13361
13362 [BZ #13484]
13363 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
13364 of __asm__.
13365
97ac2654
UD
133662011-12-17 Ulrich Drepper <drepper@gmail.com>
13367
13368 [BZ #13506]
13369 * time/tzfile.c (__tzfile_read): Check values from file header.
13370
91d2a845
WS
133712011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13372
13373 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
13374 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
13375 * powerpc/powerpc32/dl-start.S: Likewise.
13376 * powerpc/powerpc32/elf/start.S: Likewise.
13377 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13378 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
13379 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
13380 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
13381 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13382 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
13383 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
13384 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
13385 * powerpc/powerpc32/fpu/s_round.S: Likewise.
13386 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13387 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13388 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13389 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
13390 * powerpc/powerpc32/memset.S: Likewise.
13391 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13392 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13393 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13394 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13395 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13396 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13397 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13398 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13399 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
13400 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
13401 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
13402 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13403 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13404
a1267ba1
AZ
134052011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13406
13407 * math/libm-test.inc: Added more nearbyint tests.
13408 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
13409 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
13410 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
13411 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
13412
ad8ac1bd
RL
134132011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
13414
13415 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
13416 FD_CLOEXEC.
13417
1d3e4b61
UD
134182011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13419
13420 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
13421 Add wcscpy-ssse3 wcscpy-c.
13422 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
13423 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
13424 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
13425 * sysdeps/x86_64/wcschr.S: New file.
13426 * sysdeps/x86_64/wcsrchr.S: New file.
13427 * string/test-strcmp.c: Remove checking of wcscmp function for
13428 wrong alignments.
13429 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
13430 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
13431 wcsrchr-sse2 wcsrchr-c.
13432 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
13433 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
13434 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
13435 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
13436 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
13437 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
13438 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
13439 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
13440 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
13441 * wcsmbc/wcschr.c (WCSCHR): New macro.
13442
5b330a2d
UD
134432011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13444
13445 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
13446 * wcsmbs/test-wcsrchr.c: New file.
13447 * string/test-strrchr.c: Add wcsrchr support.
13448 (WIDE): New macro.
13449 * wcsmbs/test-wcscpy.c: New file.
13450 * string/test-strcpy.c: Add wcscpy support.
13451 (WIDE): New macro.
26428b7c 13452
f039c043
UD
134532011-12-10 Ulrich Drepper <drepper@gmail.com>
13454
13455 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
13456 the inner loop.
13457
850fb039
AS
134582011-12-06 Andreas Schwab <schwab@linux-m68k.org>
13459
13460 [BZ #13472]
13461 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
13462
4efbd5cb
UD
134632011-12-04 Ulrich Drepper <drepper@gmail.com>
13464
52ff5dd0 13465 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 13466 Minor optimizations.
52ff5dd0 13467
4efbd5cb
UD
13468 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
13469 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
13470 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
13471
8a426e12
UD
134722011-12-03 Ulrich Drepper <drepper@gmail.com>
13473
aff2453d
UD
13474 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
13475 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
13476 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
13477 for gcc to avoid warnings.
13478 * inet/Makefile (tests): Add tst-checks.
13479 * inet/tst-checks.c: New file.
13480
13481 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
13482 warning.
13483
13484 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
13485 __wmemcmp_sse2.
13486
13487 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
13488 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
13489
8a426e12
UD
13490 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
13491
9bea3473
UD
134922011-12-02 Ulrich Drepper <drepper@gmail.com>
13493
3a965496
UD
13494 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
13495 problem.
13496
9bea3473
UD
13497 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
13498
f101631b
UD
134992011-11-29 Joseph Myers <joseph@codesourcery.com>
13500
13501 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
13502 conditional on GCC version.
13503 (__arch_compare_and_exchange_val_8_acq)
13504 (__arch_compare_and_exchange_val_16_acq)
13505 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
13506 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
13507 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
13508
a98275aa
UD
135092011-12-02 Joseph Myers <joseph@codesourcery.com>
13510
13511 * sysdeps/sh/backtrace.c: New file.
13512
d4cc29a2
AS
135132011-12-02 Andreas Schwab <schwab@redhat.com>
13514
13515 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
13516 parenthesis.
13517
6257af2d
AS
135182011-12-01 Andreas Schwab <schwab@redhat.com>
13519
13520 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
13521 falling back to utime.
13522
b5f44c1a
AS
135232011-11-30 Andreas Schwab <schwab@redhat.com>
13524
13525 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
13526 expectations for float.
13527
f3a6cc0a
AS
135282011-11-29 Andreas Schwab <schwab@redhat.com>
13529
13530 * locale/weight.h (findidx): Add parameter len.
13531 * locale/weightwc.h (findidx): Likewise.
13532 * posix/fnmatch_loop.c (FCT): Adjust caller.
13533 * posix/regcomp.c (build_equiv_class): Likewise.
13534 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
13535 * posix/regexec.c (check_node_accept_bytes): Likewise.
13536 * string/strcoll_l.c (STRCOLL): Likewise.
13537 * string/strxfrm_l.c (STRXFRM): Likewise.
13538
9d65ea3a
UD
135392011-11-17 Ulrich Drepper <drepper@gmail.com>
13540
13541 * Makefile.in: Remove CVSOPT handling.
13542 * configure.in: Remove use of AC_REVISION.
13543 * iconvdata/Makefile (distribute): No need to filter out CVS.
13544 * scripts/list-sources.sh: Remove CVS, subversion and monotone
13545 handling.
13546
5583a086
AS
135472011-11-16 Andreas Schwab <schwab@redhat.com>
13548
13549 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
13550 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
13551 [USE_AS_STRNCASECMP_L]: Likewise.
13552 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
13553 NO_TLS_DIRECT_SEG_REFS.
13554 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
13555 Fix argument offsets for non-PIC.
13556 [USE_AS_STRNCASECMP_L]: Likewise.
13557 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
13558 NO_TLS_DIRECT_SEG_REFS.
13559
d62a8200
UD
135602011-11-15 Ulrich Drepper <drepper@gmail.com>
13561
9d65ea3a 13562 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
13563 O_CLOEXEC.
13564 * locale/loadlocale.c (_nl_load_locale): Likewise.
13565
09f93bd3
AS
135662011-11-15 Andreas Schwab <schwab@redhat.com>
13567
446514f9
AS
13568 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
13569 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
13570 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
13571 (SYSCALL_GETTIME): Set errno on error.
13572
09f93bd3
AS
13573 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
13574 count references to noai6ai_cached.
13575
312be3f9
UD
135762011-11-15 Ulrich Drepper <drepper@gmail.com>
13577
13578 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
13579
13580 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
13581 FD_CLOEXEC for /proc/self/maps.
13582
13583 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
13584 FD_CLOEXEC for /proc/meminfo.
13585
13586 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
13587 gai.conf.
13588
13589 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
13590 FD_CLOEXEC for given file.
13591
13592 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
13593
13594 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
13595 FD_CLOEXEC for /etc/hosts.
13596 (_gethtent): Likewise.
13597
13598 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
13599
13600 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
13601 cancellation and set FD_CLOEXEC for /etc/netgroup.
13602
13603 * nss/nss_files/files-key.c (search): Don't allow cancellation when
13604 reading /etc/publickey.
13605
13606 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
13607 allow cancellation when reading /etc/group.
13608
13609 * nss/nss_files/files-alias.c (internal_setent): Don't allow
13610 cancellation.
13611 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
13612
13613 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
13614 when using data file.
13615
13616 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
13617
13618 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
13619 (write_nis_obj): Use "c" and "e" in fopen.
13620
13621 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
13622
13623 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
13624
13625 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
13626
13627 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
13628
13629 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
13630 locale.alias.
13631
13632 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
13633
13634 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
13635
13636 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
13637
13638 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
13639 file parsing and set FD_CLOEXEC.
13640
82af0fa8
UD
136412011-11-14 Ulrich Drepper <drepper@gmail.com>
13642
13643 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
13644
a5fb313c
AS
136452011-11-14 Andreas Schwab <schwab@redhat.com>
13646
13647 * malloc/arena.c (arena_get2): Don't call reused_arena when
13648 _int_new_arena failed.
13649
6abf3465
UD
136502011-11-14 Ulrich Drepper <drepper@gmail.com>
13651
13652 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
13653 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
13654 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
13655 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13656 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13657 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
13658 to compile strcasecmp and strncasecmp.
13659 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
13660 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
13661
13662 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
13663
76e3966e
UD
136642011-11-13 Ulrich Drepper <drepper@gmail.com>
13665
13666 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
13667 locale-defines.sym to gen-as-const-headers.
13668 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
13669 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
13670 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
13671 to compile strcasecmp and strncasecmp.
13672 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
13673 strcasecmp_l and strncasecmp_l.
13674 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
13675 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
13676 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
13677 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
13678 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
13679 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
13680 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
13681 * sysdeps/i386/i686/multiarch/strncase.S: New file.
13682 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
13683 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
13684 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
13685
ab26144e
UD
136862011-11-12 Ulrich Drepper <drepper@gmail.com>
13687
7edb22ef
UD
13688 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
13689 result of SYSDEP_GETTIME_CPU to retval.
13690 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
13691 parameter list to macro. Remove trailing semicolon. Adjust users.
13692
9694fc44
UD
13693 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
13694 variable.
13695
8ad89ef8
UD
13696 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
13697 mantissa words.
13698 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13699
0c822ef9
UD
13700 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
13701 from unused variable.
13702
874e0564
UD
13703 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
13704 DWARF definitions.
13705 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
13706 for assembling.
13707
3a2edc79
UD
13708 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
13709 over namespaces.
13710
f3c2577f
UD
13711 * sunrpc/rpc_prot.c (rejected): Fix case value.
13712
294ce126
UD
13713 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
13714 unsigned long long int to avoid warnings in shift.
13715
5e2b63c6
UD
13716 * posix/regex_internal.c (re_string_reconstruct): Actually use result
13717 of use of trans.
13718 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
13719 variable tmp.
13720
e7f4b08e
UD
13721 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
13722 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
13723 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
13724
ab26144e
UD
13725 * nis/nis_table.c (nis_list): Use variable of correct type for
13726 result of __follow_path call.
13727
8a6d5255
AZ
137282011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13729
13730 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
13731 of math functions ceil, trunc, floor, round, and sqrt, when
13732 avaliable on the platform.
13733 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
13734 name clash.
13735 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13736 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13737 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13738
aaddc98c
MP
137392011-10-30 Marek Polacek <mpolacek@redhat.com>
13740
13741 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
13742 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13743
95b7042b
RM
137442011-11-11 Roland McGrath <roland@hack.frob.com>
13745
13746 * include/unistd.h: Fix __readlink return type.
13747 Reported by Chris Metcalf <cmetcalf@tilera.com>.
13748
57769839
UD
137492011-11-11 Ulrich Drepper <drepper@gmail.com>
13750
13751 * stdlib/ucontext.h: Undo last change for makecontext.
13752
edc5984d
AS
137532011-11-11 Andreas Schwab <schwab@redhat.com>
13754
98591e58
AS
13755 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
13756
edc5984d
AS
13757 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
13758 * setjmp/setjmp.h: Mark functions as non-leaf.
13759 * setjmp/bits/setjmp2.h: Likewise.
13760 * stdlib/ucontext.h: Likewise.
13761
77cdc054
AS
137622011-11-10 Andreas Schwab <schwab@redhat.com>
13763
13764 * malloc/arena.c (_int_new_arena): Don't increment narenas.
13765 (reused_arena): Don't check arena limit.
13766 (arena_get2): Atomically check arena limit.
13767
fe72eebd
UD
137682011-11-08 Ulrich Drepper <drepper@gmail.com>
13769
5f078c32
UD
13770 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
13771 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
13772
fe72eebd
UD
13773 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
13774 instructions.
13775
ae1bc2fa
AS
137762011-11-07 Andreas Schwab <schwab@redhat.com>
13777
7583a88d
AS
13778 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
13779 handler when locking.
13780
ae1bc2fa
AS
13781 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13782 Fix size of allocated buffer.
13783
10fb0bfa
AS
137842011-11-04 Andreas Schwab <schwab@redhat.com>
13785
998832a4
AS
13786 [BZ #10103]
13787 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
13788 declarations for long double functions.
13789 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
13790
10fb0bfa
AS
13791 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
13792
3d7ba52b
AS
137932011-11-03 Andreas Schwab <schwab@redhat.com>
13794
a9ae54a1
AS
13795 * nscd/nscd.c (main): Don't start AVC thread until credentials are
13796 installed.
13797
3d7ba52b
AS
13798 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
13799 is disabled.
13800
bc8db248
ST
138012011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13802
13803 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
13804
45b96dd6
AS
138052011-11-01 Andreas Schwab <schwab@linux-m68k.org>
13806
647776f6
AS
13807 * include/alloca.h (stackinfo_alloca_round): Define.
13808 (extend_alloca): Use it.
13809 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
13810 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
13811 here.
13812
d91a8b93
AS
13813 * scripts/check-local-headers.sh: Ignore libaudit.h.
13814
45b96dd6
AS
13815 * nscd/Makefile (extra-objs): Make recursively expanded.
13816
432d41ce
UD
138172011-11-01 Ulrich Drepper <drepper@gmail.com>
13818
34372fc6
UD
13819 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
13820 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13821
fadb59f8
UD
13822 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
13823 * posix/tst-rfc3484-2.c: Likewise.
13824 * posix/tst-rfc3484-3.c: Likewise.
13825
78239589
UD
13826 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13827 process_vm_writev.
13828 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
13829 process_vm_writev.
13830 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
13831 process_vm_writev from libc using GLIBC_2.15 version.
13832
432d41ce
UD
13833 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
13834
02f9c6cf
PP
138352011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
13836
13837 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
13838 stack usage.
13839
3a2c0242
UD
138402011-10-31 Ulrich Drepper <drepper@gmail.com>
13841
f4ec4833
UD
13842 [BZ #13367]
13843 * nss/getent.c (initgroups_keys): Show error message in case no group
13844 names are given.
13845
3a2c0242
UD
13846 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
13847 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
13848 __bump_nl_timestamp.
13849 * nscd/connections (nscd_init): When host database is served open
13850 netlink socket and request notification about configuration changes.
13851 (main_loop_poll): Track netlink file descriptor and bump timestamp
13852 in case data becomes available.
13853 (main_loop_epoll): Likewise.
13854 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
13855 (database_pers_head): Add extra_data fileds.
13856 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
13857 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
13858 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
13859 Adjust caller.
13860 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
13861 in6ai data, call __free_in6ai.
13862 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
13863 Add -DHAVE_NETLINK.
13864 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
13865 interface information. Reuse previous data if netlink timestamp
13866 is not changed.
13867 (__bump_nl_timestamp): New function.
13868 (__free_in6ai): New function.
13869
636064eb
UD
138702011-10-30 Ulrich Drepper <drepper@gmail.com>
13871
13872 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
13873 close_not_cancel_no_status here.
13874 (__check_pf): Reorganize code a bit to not call close twice if OOM.
13875
9beb2334
UD
138762011-10-29 Ulrich Drepper <drepper@gmail.com>
13877
6ef76f3b
UD
13878 [BZ #13276]
13879 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
13880 return value.
13881
0ffc4f3e 13882 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
13883 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
13884 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
13885
cb95113e
UD
138862011-07-03 Andreas Jaeger <aj@suse.de>
13887
13888 [BZ #10709]
13889 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
13890 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
13891 * math/libm-test.inc (sin_test): Add test case.
13892
a1b560ff
UD
138932011-10-29 Ulrich Drepper <drepper@gmail.com>
13894
c9aaface
UD
13895 [BZ #13337]
13896 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
13897 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13898
d272e7f1
UD
13899 * elf/chroot_canon.c (chroot_canon): Cleanups.
13900
1bc33071
UD
13901 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
13902
1760874d
TJ
13903 [BZ #13335]
13904 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
13905 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13906
51d91b18
UD
13907 * string/test-strchr.c: Make usable for strchrnul testing.
13908 * string/test-strchrnul.c: New file.
13909 * string/Makefile (strop-tests): Add strchrnul.
13910
a1b560ff 13911 * po/it.po: Update from translation team.
b611fb81 13912 * po/es.po: Likewise.
a1b560ff 13913
a5b81e1f
UD
139142011-10-28 Ulrich Drepper <drepper@gmail.com>
13915
fd52bc6d
UD
13916 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
13917 the three constants needed as parameters. Drop the others.
13918 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
13919 __m128i_strloadu_tolower.
52e4b9eb
UD
13920 Create and initialize variable zero and use it in all the places
13921 where _mm_setzero_si128 was used.
fd52bc6d 13922
a5b81e1f
UD
13923 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
13924 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
13925 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
13926 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
13927 anymore.
13928 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
13929 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
13930 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
13931 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
13932 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
13933 __mpranred, __mptan.
13934 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
13935 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
13936 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
13937 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
13938 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
13939 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
13940 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
13941 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
13942 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
13943
b4343346
AS
139442011-10-28 Andreas Schwab <schwab@redhat.com>
13945
0c92d8a8
AS
13946 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
13947 redefine if SHARED.
13948 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
13949
b4343346
AS
13950 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
13951 wide char related routines to wcsmbs subdir.
13952
3871f58f
AS
139532011-10-27 Andreas Schwab <schwab@redhat.com>
13954
13955 [BZ #13344]
13956 * misc/sys/cdefs.h (__THROWNL): Define.
13957 * posix/unistd.h: Use __THREADNL instead of __THREAD
13958 for memory synchronization functions.
13959
94d44d9f
RM
139602011-10-26 Roland McGrath <roland@hack.frob.com>
13961
21b64b15 13962 [BZ #13349]
94d44d9f
RM
13963 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
13964 doesn't exist.
13965 * manual/stdio.texi (Obstack Streams): Node removed.
13966
f6ce9294
AS
139672011-10-26 Andreas Schwab <schwab@redhat.com>
13968
80479147
AS
13969 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
13970 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13971 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13972
f6ce9294
AS
13973 * math/math_private.h (math_force_eval): Allow non-addressable
13974 arguments.
13975 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
13976
618280a1
UD
139772011-10-25 Ulrich Drepper <drepper@gmail.com>
13978
e0016b11
UD
13979 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
13980 file is not needed.
13981
13982 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
13983 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13984 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13985 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13986 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13987 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13988 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13989 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
13990 Add AVX variants.
13991 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
13992 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
13993 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
13994 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
13995 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
13996 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
13997 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
13998 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
13999 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
14000 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
14001 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
14002 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
14003 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
14004 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
14005 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
14006 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
14007 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
14008 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
14009 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
14010
14011 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
14012 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
14013
618280a1
UD
14014 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
14015 place. Use VEX encoding when compiling for AVX.
14016
37822576
AS
140172011-10-25 Andreas Schwab <schwab@redhat.com>
14018
1f1e1947
AS
14019 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
14020 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14021
37822576
AS
14022 * string/test-strchr.c (do_test): Don't generate NUL bytes.
14023
31ea014d
UD
140242011-10-25 Ulrich Drepper <drepper@gmail.com>
14025
d7826aa1 14026 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 14027 useless if() expression.
d7826aa1
UD
14028 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14029 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14030 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14031 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14032 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14033 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14034 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14035 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14036 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14037 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14038 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14039 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14040 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14041 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14042 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14043 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14044 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14045 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14046 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14047
31ea014d
UD
14048 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
14049
16437fec
AS
140502011-10-25 Andreas Schwab <schwab@redhat.com>
14051
14052 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
14053 condition.
14054 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14055
31d3cc00
UD
140562011-10-25 Ulrich Drepper <drepper@gmail.com>
14057
14058 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
14059 .text section. Avoid duplicate constants.
14060 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14061 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14062 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14063 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14064 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14065 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14066 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14067 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14068 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14069 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
14070 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14071 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14072 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14073 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14074 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14075 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14076 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14077 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14078 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14079 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14080 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14081 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14082 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14083 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
14084 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
14085 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
14086 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
14087 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
14088 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
14089 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
14090 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
14091 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
14092 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14093 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
14094 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
14095 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
14096 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
14097 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
14098 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
14099 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
14100 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
14101 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
14102 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
14103 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
14104 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
14105
58985aa9
UD
141062011-10-24 Ulrich Drepper <drepper@gmail.com>
14107
202c9deb
UD
14108 * sysdeps/x86_64/dla.h: Move to ...
14109 * sysdeps/x86_64/fpu/dla.h: ...here.
14110 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
14111 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 14112
af968f62
UD
14113 * config.make.in: Add have-mfma4 entry.
14114 * configure.in: Substitute libc_cv_cc_fma4.
14115 * math/Makefile (dbl-only-routines): Add sincostab.
14116 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
14117 Use __sincostab not sincos.
14118 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
14119 name is a macro.
14120 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14121 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14122 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14123 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
14124 using __copysign.
14125 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
14126 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
14127 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
14128 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
14129 and __inv.
14130 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
14131 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
14132 __copysign.
14133 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
14134 define aliases when function name is a macro.
14135 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
14136 sysdeps/ieee754/dbl-64/sincos.tbl.
14137 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
14138 fma4-enabled routines.
14139 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
14140 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
14141 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
14142 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
14143 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
14144 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
14145 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
14146 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
14147 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
14148 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
14149 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
14150 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
14151 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
14152 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
14153 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
14154 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
14155 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
14156 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
14157 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
14158 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
14159 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
14160 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
14161 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
14162 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
14163 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
14164 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
14165 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
14166 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
14167 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
14168 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
14169
58985aa9
UD
14170 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
14171 rename.
14172 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14173 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14174 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14175 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14176 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14177 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14178 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14179 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14180
a201fbcf
AS
141812011-10-24 Andreas Schwab <schwab@redhat.com>
14182
14183 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
14184
fc2ee42a
LD
141852011-10-23 Ulrich Drepper <drepper@gmail.com>
14186
bb3129bd
UD
14187 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
14188
0275fff8
UD
14189 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
14190 prediction.
14191 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
14192
2fa2ae85
UD
14193 * string/strnlen.c: Don't define STRNLEN, reverse logic.
14194 Remove unused variable magic_bits.
14195 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
14196
fc2ee42a
LD
14197 * string/strnlen.c: Define and use STRNLEN macro.
14198 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
14199 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
14200 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
14201 * wcsmbs/wcslen.c: Define and use WCSLEN.
14202 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
14203 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
14204 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
14205 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
14206 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
14207 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
14208 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14209
ce7dd29f
LD
142102011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14211
14212 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14213 strnlen-sse2-no-bsf.
14214 Rename strlen-no-bsf to strlen-sse2-no-bsf.
14215 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
14216 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
14217 Add strnlen support.
14218 (USE_AS_STRNLEN): New macro.
14219 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
14220 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
14221 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
14222 * sysdeps/x86_64/wcslen.S: New file.
14223
979c70a3
MZ
142242011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
14225
14226 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
14227 XMM-moves are used for copying on small sizes.
14228
2d09f82f
LD
142292011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14230
14231 * wcsmbs/Makefile (strop-tests): Add wcschr.
14232 * wcsmbs/test-wcschr.c: New file.
14233 * string/test-strchr.c: Update.
14234 Add wcschr support.
14235 (WIDE): New macro.
14236
619fccca
LD
142372011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14238
2d09f82f 14239 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
14240 * wcsmbs/test-wcslen.c: New file.
14241 * string/test-strlen.c: Update.
14242 Add wcslen support.
14243 (WIDE): New macro.
14244
09f699ea
UD
142452011-10-23 Ulrich Drepper <drepper@gmail.com>
14246
14247 * po/it.po: Update from translation team.
14248
95584d3b
LD
142492011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14250
14251 * sysdeps/x86_64/wcscmp.S: Update.
14252 Fix wrong comparison semantics.
14253 wcscmp shall use signed comparison not unsigned.
14254 Don't use substraction to avoid overflow bug.
14255 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
14256 * wcsmbc/wcscmp.c: Likewise.
14257 * string/test-strcmp.c: Likewise.
14258 Add new tests to check cases with negative values.
14259
c8b3296b
UD
142602011-10-23 Ulrich Drepper <drepper@gmail.com>
14261
14262 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
14263 * sysdeps/x86_64/dla.h: ...here. New file.
14264 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
14265 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14266 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14267 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14268 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14269 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14270 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14271 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14272 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14273
246ad57a
AS
142742011-10-23 Andreas Schwab <schwab@linux-m68k.org>
14275
14276 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
14277 __ynl_finite aliases.
14278
a1a87169
UD
142792011-10-22 Ulrich Drepper <drepper@gmail.com>
14280
0d355eb7
UD
14281 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14282
a1a87169
UD
14283 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
14284 define DLA_FMA.
14285 [DLA_FMA] (EMULV): Use DLA_FMA.
14286 [DLA_FMA] (MUL12): Use EMULV.
14287 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
14288 that are not needed.
14289 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14290 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14291 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14292 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14293 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14294 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14295 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14296
ee2aafe0
AS
142972011-10-22 Andreas Schwab <schwab@linux-m68k.org>
14298
14299 * math/s_nan.c: Undef __nan.
14300 * math/s_nanf.c: Undef __nanf.
14301 * math/s_nanl.c: Undef __nanl.
14302 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
14303 "math_private.h".
14304
bc62c2fb
UD
143052011-10-22 Ulrich Drepper <drepper@gmail.com>
14306
77425c63
UD
14307 * math/s_catan.c: Add branch predictions.
14308 * math/s_catanf.c: Likewise.
14309 * math/s_catanh.c: Likewise.
14310 * math/s_catanhf.c: Likewise.
14311 * math/s_catanhl.c: Likewise.
14312 * math/s_catanl.c: Likewise.
14313 * math/s_cexp.c: Likewise.
14314 * math/s_cexpf.c: Likewise.
14315 * math/s_cexpl.c: Likewise.
14316 * math/s_clog.c: Likewise.
14317 * math/s_clog10.c: Likewise.
14318 * math/s_clog10f.c: Likewise.
14319 * math/s_clog10l.c: Likewise.
14320 * math/s_clogf.c: Likewise.
14321 * math/s_clogl.c: Likewise.
14322 * math/s_csqrt.c: Likewise.
14323 * math/s_csqrtf.c: Likewise.
14324 * math/s_csqrtl.c: Likewise.
14325 * math/s_ctanf.c: Likewise.
14326 * math/s_ctanh.c: Likewise.
14327 * math/s_ctanhf.c: Likewise.
14328 * math/s_ctanhl.c: Likewise.
14329 * math/s_ctanl.c: Likewise.
14330
bc62c2fb
UD
14331 * math/math_private.h: Define __nan, __nanf, __nanl.
14332 * math/s_cacosh.c: Include <math_private.h>.
14333 * math/s_cacoshl.c: Likewise.
14334 * math/s_casinh.c: Likewise.
14335 * math/s_casinhf.c: Likewise.
14336 * math/s_casinhl.c: Likewise.
14337 * math/s_ccos.c: Rely entire on ccosh.
14338 * math/s_ccosf.c: Rely entire on ccoshf.
14339 * math/s_ccosl.c: Rely entirely on ccoshl.
14340 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
14341 Remove tests for FE_INVALID.
14342 * math/s_ccoshf.c: Likewise.
14343 * math/s_ccoshl.c: Likewise.
14344 * math/s_csin.c: Likewise.
14345 * math/s_csinf.c: Likewise.
14346 * math/s_csinh.c Likewise.
14347 * math/s_csinhf.c: Likewise.
14348 * math/s_csinhl.c: Likewise.
14349 * math/s_csinl.c: Likewise.
14350 * math/s_ctan.c: Likewise.
14351 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
14352 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
14353 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
14354
8ec250a4
UD
143552011-10-21 Ulrich Drepper <drepper@gmail.com>
14356
c196fed8
UD
14357 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
14358 compilation problems.
14359
8ec250a4
UD
14360 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
14361 __builtin_expect.
14362
8d4f46c6
UD
143632011-10-20 Ulrich Drepper <drepper@gmail.com>
14364
ed72b654
UD
14365 * sysdeps/i386/configure.in: Test for -mfma4 option.
14366 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
14367 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
14368 COMMON_CPUID_INDEX_80000001.
14369 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
14370 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
14371 use it if FMA3 is not supported.
14372 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
14373
8d4f46c6
UD
14374 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
14375 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14376
d45c60c2
AS
143772011-10-20 Andreas Schwab <schwab@redhat.com>
14378
14379 [BZ #12892]
14380 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
14381 it would create a cycle with a link time dependency.
14382
d9a4d2ab
UD
143832011-10-19 Ulrich Drepper <drepper@gmail.com>
14384
855d1560
UD
14385 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
14386 instruction.
14387 * string/Makefile (strop-tests): Add rawmemchr.
14388 * string/test-rawmemchr.c: New file.
14389
d9a4d2ab
UD
14390 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
14391 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
14392 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
14393 when compiling str{,n}casecmp and when AVX is available. Hook up
14394 new optimized code in initializers.
14395
8f3b1ffe
AS
143962011-10-19 Andreas Schwab <schwab@redhat.com>
14397
14398 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
14399 __feraiseexcept instead of feraiseexcept.
14400
d38f1dba
UD
144012011-10-18 Ulrich Drepper <drepper@gmail.com>
14402
d9a8d0ab
UD
14403 * math/math_private.h: Define defaults for libc_fetestexcept and
14404 libc_feupdateenv.
14405 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
14406 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
14407 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14408 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14409 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14410 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14411 libc_fetestexcept and libc_feupdateenv.
14412
4855e3dd
UD
14413 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
14414 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
14415 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
14416 * sysdeps/x86_64/fpu/math_private.h: Define special version of
14417 libc_feholdexcept_setround.
14418
581d30e3
UD
14419 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
14420 Add s_nearbyint-c and s_nearbyintf-c.
14421 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
14422 nearbyintf inlines.
14423 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
14424 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
14425 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
14426 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
14427
d38f1dba
UD
14428 * math/math_private.h: Define defaults for libc_fegetround,
14429 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
14430 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
14431 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
14432 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
14433 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
14434 standard functions.
14435 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14436 Remove comments and hacks for old compiler versions.
14437 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14438 libc_fegetround, libc_fesetround, libc_feholdexcept, and
14439 libc_feholdexceptl.
14440
caa6c9d8
AS
144412011-10-18 Andreas Schwab <schwab@redhat.com>
14442
14443 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
14444 (__feraiseexcept_renamed): Add __NTH.
14445 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
14446 namespace violations.
14447
97c066e6
UD
144482011-10-17 Ulrich Drepper <drepper@gmail.com>
14449
99ce7b04
UD
14450 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
14451
1004d182
UD
14452 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
14453
228a984d
UD
14454 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
14455 recently added interfaces.
14456 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
14457
c8553a6a
UD
14458 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
14459 about macro parameter expansion.
14460
ed22dcf6
UD
14461 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
14462 __NO_MATH_INLINES is defined. Cleanups.
14463
14464 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
14465 and __floorf is target has SSE4.1.
14466 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
14467 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
14468 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
14469 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
14470
b171c137
UD
14471 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
14472 name.
14473 (floorf): Likewise.
14474
97c066e6
UD
14475 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
14476
629f62ef
AS
144772011-10-17 Andreas Schwab <schwab@redhat.com>
14478
49a43d80
AS
14479 * misc/sys/cdefs.h: Fix last change.
14480
629f62ef
AS
14481 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
14482 database lookup.
14483
e453f6cd
UD
144842011-10-16 Ulrich Drepper <drepper@gmail.com>
14485
aa78043a
UD
14486 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
14487
ad0f5cad
UD
14488 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
14489 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14490 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14491 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14492 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14493 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14494 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14495 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14496 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14497 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
14498 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
14499 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
14500 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
14501 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
14502 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
14503 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
14504 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
14505 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
14506 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
14507 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
14508 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
14509 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
14510
14511 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
14512 ceil, ceilf, floor, floorf.
14513
14514 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
14515 Perform IRELATIVE relocations last.
14516
e453f6cd
UD
14517 * elf/do-rel.h: Add another parameter nrelative, replacing the
14518 local variable with the same name. Change name of the function
14519 to end in Rel or Rela (uppercase).
14520 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
14521 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
14522 elf_dynamic_do_##reloc function.
14523
fd5bdc09
UD
145242011-10-15 Ulrich Drepper <drepper@gmail.com>
14525
79b195b5
UD
14526 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
14527 is sufficient, at least on modern CPUs.
14528
d4a28569
UD
14529 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
14530
b61099b5
UD
14531 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
14532 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
14533
bcf01e6d
UD
14534 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
14535 __expl_finite.
14536 * math/bits/math-finite.h: Add entries for exp.
14537 * math/e_expl.c: Add __*_finite alias.
14538 * sysdeps/i386/fpu/e_exp.S: Likewise.
14539 * sysdeps/i386/fpu/e_expf.S: Likewise.
14540 * sysdeps/i386/fpu/e_expl.c: Likewise.
14541 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14542 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14543 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14544 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14545 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
14546 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14547 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14548
ba1a0d59
UD
14549 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
14550 is sufficient, at least on modern CPUs.
14551
fd5bdc09
UD
14552 * ctype/ctype-info.c (__ctype_init): Define.
14553 * include/ctype.h (__ctype_init): Declare.
14554 (__ctype_b_loc): The variable is always initialized.
14555 (__ctype_toupper_loc): Likewise.
14556 (__ctype_tolower_loc): Likewise.
14557 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
14558 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
14559
7872cfb0
AS
145602011-10-15 Andreas Schwab <schwab@linux-m68k.org>
14561
b468825a
AS
14562 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
14563
7872cfb0
AS
14564 * configure.in: Also look in $cxxmachine/include for C++ system
14565 headers.
14566
be13f7bf
LD
145672011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14568
14569 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
14570 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
14571 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
14572 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
14573 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
14574 (USE_AS_WMEMCMP): New macro.
14575 Fixing indents.
14576 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
14577 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
14578 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
14579 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
14580 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14581 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
14582 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
14583 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
14584 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
14585 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
14586 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
14587 (USE_AS_WMEMCMP): New macro.
14588 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
14589 * sysdeps/string/test-memcmp.c: Update.
14590 Fix simple_wmemcmp.
14591 Add new tests.
14592 * wcsmbs/wmemcmp.c: Update.
14593 (WMEMCMP): New macro.
14594 Fix overflow bug.
14595
556a2007
AJ
145962011-10-12 Andreas Jaeger <aj@suse.de>
14597
14598 [BZ #13268]
14599 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
14600
538faaa7
UD
146012011-10-15 Ulrich Drepper <drepper@gmail.com>
14602
ab6737ff
UD
14603 * libio/iofwide.c (do_length): Avoid warning.
14604
538faaa7
UD
14605 * ctype/ctype.h (__isctype_f): Add missing __THROW.
14606
396a21b1
UD
146072011-10-14 Ulrich Drepper <drepper@gmail.com>
14608
cdf2901f
UD
14609 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
14610
38ad40ce
UD
14611 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
14612 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
14613 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
14614 * sysdeps/i386/i686/fpu/e_log.S: New file.
14615 * sysdeps/i386/i686/fpu/e_logf.S: New file.
14616 * sysdeps/i386/i686/fpu/e_logl.S: New file.
14617
396a21b1
UD
14618 * ctype/ctype.h: Add support for inlined isXXX functions when
14619 compiling C++ code.
14620
6b1f68c9
AS
146212011-10-14 Andreas Schwab <schwab@redhat.com>
14622
349290c0
AS
14623 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14624
6b1f68c9
AS
14625 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
14626
f2282d42
RM
146272011-10-13 Roland McGrath <roland@hack.frob.com>
14628
14629 [BZ #13291]
14630 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
14631
5298ffa8
AS
146322011-10-13 Andreas Schwab <schwab@redhat.com>
14633
714fad23
AS
14634 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
14635 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
14636 feraiseexcept.
14637
81dcc7fb
AS
14638 * sysdeps/x86_64/memrchr.S: Check for zero size.
14639
5298ffa8
AS
14640 * string/stratcliff.c: Add memrchr tests.
14641
951fbcec
LD
146422011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14643
14644 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14645 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
14646 rawmemchr-sse2 rawmemchr-sse2-bsf.
14647 * sysdeps/i386/i686/multiarch/memchr.S: New file.
14648 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
14649 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
14650 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
14651 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
14652 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
14653 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
14654 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
14655 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
14656 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
14657 * string/memrchr.c (MEMRCHR): New macro.
14658
0ac5ae23
UD
146592011-10-12 Ulrich Drepper <drepper@gmail.com>
14660
14661 Add integration with gcc's -ffinite-math-only and optimize wrapper
14662 functions in libm.
14663 * Versions.def: Define GLIBC_2.15 version for libm.
14664 * math/Makefile (headers): Add bits/math-finite.h.
14665 * math/bits/math-finite.h: New file.
14666 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
14667 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
14668 * math/e_acoshl.c: Add __*_finite alias.
14669 * math/e_acosl.c: Likewise.
14670 * math/e_asinl.c: Likewise.
14671 * math/e_atan2l.c: Likewise.
14672 * math/e_atanhl.c: Likewise.
14673 * math/e_coshl.c: Likewise.
14674 * math/e_exp10.c: Likewise.
14675 * math/e_exp10f.c: Likewise.
14676 * math/e_exp10l.c: Likewise.
14677 * math/e_exp2l.c: Likewise.
14678 * math/e_fmodl.c: Likewise.
14679 * math/e_gammal_r.c: Likewise.
14680 * math/e_hypotl.c: Likewise.
14681 * math/e_j0l.c: Likewise.
14682 * math/e_j1l.c: Likewise.
14683 * math/e_jnl.c: Likewise.
14684 * math/e_lgammal_r.c: Likewise.
14685 * math/e_log10l.c: Likewise.
14686 * math/e_log2l.c: Likewise.
14687 * math/e_logl.c: Likewise.
14688 * math/e_powl.c: Likewise.
14689 * math/e_sinhl.c: Likewise.
14690 * math/e_sqrtl.c: Likewise.
14691 * math/e_scalb.c: Completely rewritten and optimized.
14692 * math/e_scalbf.c: Likewise.
14693 * math/e_scalbl.c: Likewise.
14694 * math/w_acos.c: Likewise.
14695 * math/w_acosf.c: Likewise.
14696 * math/w_acosl.c: Likewise.
14697 * math/w_acosh.c: Likewise.
14698 * math/w_acoshf.c: Likewise.
14699 * math/w_acoshl.c: Likewise.
14700 * math/w_asin.c: Likewise.
14701 * math/w_asinf.c: Likewise.
14702 * math/w_asinl.c: Likewise.
14703 * math/w_atan2.c: Likewise.
14704 * math/w_atan2f.c: Likewise.
14705 * math/w_atan2l.c: Likewise.
14706 * math/w_atanh.c: Likewise.
14707 * math/w_atanhf.c: Likewise.
14708 * math/w_atanhl.c: Likewise.
14709 * math/w_exp10.c: Likewise.
14710 * math/w_exp10f.c: Likewise.
14711 * math/w_exp10l.c: Likewise.
14712 * math/w_fmod.c: Likewise.
14713 * math/w_fmodf.c: Likewise.
14714 * math/w_fmodl.c: Likewise.
14715 * math/w_j0.c: Likewise.
14716 * math/w_j0f.c: Likewise.
14717 * math/w_j0l.c: Likewise.
14718 * math/w_j1.c: Likewise.
14719 * math/w_j1f.c: Likewise.
14720 * math/w_j1l.c: Likewise.
14721 * math/w_jn.c: Likewise.
14722 * math/w_jnf.c: Likewise.
14723 * math/w_log.c: Likewise.
14724 * math/w_logf.c: Likewise.
14725 * math/w_logl.c: Likewise.
14726 * math/w_log10.c: Likewise.
14727 * math/w_log10f.c: Likewise.
14728 * math/w_log10l.c: Likewise.
14729 * math/w_log2.c: Likewise.
14730 * math/w_log2f.c: Likewise.
14731 * math/w_log2l.c: Likewise.
14732 * math/w_pow.c: Likewise.
14733 * math/w_powf.c: Likewise.
14734 * math/w_powl.c: Likewise.
14735 * math/w_remainder.c: Likewise.
14736 * math/w_remainderf.c: Likewise.
14737 * math/w_remainderl.c: Likewise.
14738 * math/w_scalb.c: Likewise.
14739 * math/w_scalbf.c: Likewise.
14740 * math/w_scalbl.c: Likewise.
14741 * math/w_sqrt.c: Likewise.
14742 * math/w_sqrtf.c: Likewise.
14743 * math/w_sqrtl.c: Likewise.
14744 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
14745 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
14746 used.
14747 * math/math_private.h: Declare __kernel_standard_f.
14748 * math/w_cosh.c: Remove cruft and optimize a bit.
14749 * math/w_coshf.c: Likewise.
14750 * math/w_coshl.c: Likewise.
14751 * math/w_exp2.c: Likewise.
14752 * math/w_exp2f.c: Likewise.
14753 * math/w_exp2l.c: Likewise.
14754 * math/w_hypot.c: Likewise.
14755 * math/w_hypotf.c: Likewise.
14756 * math/w_hypotl.c: Likewise.
14757 * math/w_lgamma.c: Likewise.
14758 * math/w_lgamma_r.c: Likewise.
14759 * math/w_lgammaf.c: Likewise.
14760 * math/w_lgammaf_r.c: Likewise.
14761 * math/w_lgammal.c: Likewise.
14762 * math/w_lgammal_r.c: Likewise.
14763 * math/w_sinh.c: Likewise.
14764 * math/w_sinhf.c: Likewise.
14765 * math/w_sinhl.c: Likewise.
14766 * math/w_tgamma.c: Likewise.
14767 * math/w_tgammaf.c: Likewise.
14768 * math/w_tgammal.c: Likewise.
14769 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14770 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14771 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
14772 Minor optimizations. Pretty printing. Remove cruft.
14773 * sysdeps/i386/fpu/e_acosf.S: Likewise.
14774 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14775 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14776 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14777 * sysdeps/i386/fpu/e_acosl.c: Likewise.
14778 * sysdeps/i386/fpu/e_asin.S: Likewise.
14779 * sysdeps/i386/fpu/e_asinf.S: Likewise.
14780 * sysdeps/i386/fpu/e_atan2.S: Likewise.
14781 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
14782 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
14783 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14784 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14785 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14786 * sysdeps/i386/fpu/e_exp10.S: Likewise.
14787 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
14788 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
14789 * sysdeps/i386/fpu/e_exp2.S: Likewise.
14790 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
14791 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
14792 * sysdeps/i386/fpu/e_fmod.S: Likewise.
14793 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
14794 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
14795 * sysdeps/i386/fpu/e_hypot.S: Likewise.
14796 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
14797 * sysdeps/i386/fpu/e_log.S: Likewise.
14798 * sysdeps/i386/fpu/e_log10.S: Likewise.
14799 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14800 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14801 * sysdeps/i386/fpu/e_log2.S: Likewise.
14802 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14803 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14804 * sysdeps/i386/fpu/e_logf.S: Likewise.
14805 * sysdeps/i386/fpu/e_logl.S: Likewise.
14806 * sysdeps/i386/fpu/e_pow.S: Likewise.
14807 * sysdeps/i386/fpu/e_powf.S: Likewise.
14808 * sysdeps/i386/fpu/e_powl.S: Likewise.
14809 * sysdeps/i386/fpu/e_remainder.S: Likewise.
14810 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
14811 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
14812 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14813 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14814 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14815 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
14816 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
14817 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
14818 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14819 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14820 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14821 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14822 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14823 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14824 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14825 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14826 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14827 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14828 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14829 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14830 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14831 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14832 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14833 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14834 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14835 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14836 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14837 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14838 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14839 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14840 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14841 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14842 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14843 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14844 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14845 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14846 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14847 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14848 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14849 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14850 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14851 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14852 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14853 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14854 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14855 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14856 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14857 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14858 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14859 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14860 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14861 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14862 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14863 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14864 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14865 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14866 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14867 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14868 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14869 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14870 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14871 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14872 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14873 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14874 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14875 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14876 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14877 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14878 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14879 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14880 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14881 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14882 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14883 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14884 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14885 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14886 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14887 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14888 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14889 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14890 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14891 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14892 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14893 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14894 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14895 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14896 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14897 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14898 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14899 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14900 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14901 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14902 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14903 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14904 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14905 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14906 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14907 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14908 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14909 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14910 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14911 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14912 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14913 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14914 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14915 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
14916 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
14917 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
14918 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
14919 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
14920 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
14921 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
14922 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14923 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14924 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14925 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14926 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
14927 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14928 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
14929 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
14930 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
14931 (__isnanf): Likewise.
14932 (__isinf_ns): Likewise.
14933 (__isinf_nsf): Likewise.
14934 (__finite): Likewise.
14935 (__finitef): Likewise.
14936 (__ieee754_sqrt): Define as macro.
14937 (__ieee754_sqrtf): Define as macro.
14938 (__ieee754_sqrtl): Define as macro.
14939 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
14940 inlined copy.
14941 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
14942 __FINITE_MATH_ONLY__ consistent.
14943 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
14944
12cc2fcd
AS
149452011-10-10 Andreas Schwab <schwab@linux-m68k.org>
14946
a843a204
AS
14947 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
14948 of rawmemchr.
14949
12cc2fcd
AS
14950 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
14951
c853acd5
UD
149522011-10-09 Ulrich Drepper <drepper@gmail.com>
14953
14954 * po/ja.po: Update from translation team.
14955
c658d255
RM
149562011-10-08 Roland McGrath <roland@hack.frob.com>
14957
110946e4
RM
14958 * locale/programs/locarchive.c (prepare_address_space): New function.
14959 (create_archive, enlarge_archive, open_archive): Use it.
14960
50604220
RM
14961 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
14962 inside [SHARED], where it is used.
14963
c658d255
RM
14964 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
14965
14966 * nss/getent.c (netgroup_keys): Remove unused variable.
14967 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14968
6a621eb7
UD
149692011-10-08 Ulrich Drepper <drepper@gmail.com>
14970
7edb55ce
UD
14971 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
14972 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
14973 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
14974 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
14975 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
14976 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
14977 * math/Makefile (libm-calls): Add s_isinf_ns.
14978 * math/divtc3.c: Use __isinf_nsl instead of isinf.
14979 * math/multc3.c: Likewise.
14980 * math/s_casin.c: Likewise.
14981 * math/s_casinf.c: Likewise.
14982 * math/s_casinl.c: Likewise.
14983 * math/s_ccos.c: Likewise.
14984 * math/s_ccosf.c: Likewise.
14985 * math/s_ccosl.c: Likewise.
14986 * math/s_ctan.c: Likewise.
14987 * math/s_ctanf.c: Likewise.
14988 * math/s_ctanh.c: Likewise.
14989 * math/s_ctanhf.c: Likewise.
14990 * math/s_ctanhl.c: Likewise.
14991 * math/s_ctanl.c: Likewise.
14992 * math/w_fmod.c: Likewise.
14993 * math/w_fmodf.c: Likewise.
14994 * math/w_fmodl.c: Likewise.
14995 * math/w_remainder.c: Likewise.
14996 * math/w_remainderf.c: Likewise.
14997 * math/w_remainderl.c: Likewise.
14998 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
14999 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
15000 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
15001 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
15002 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
15003 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
15004 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
15005 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
15006
187da0ae
UD
15007 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
15008 of the number.
15009 * stdio-common/printf_fphex.c: Likewise.
15010 * stdio-common/printf_size.c: Likewise.
15011
9277c064
UD
15012 * math/e_exp10.c: Include math_private.h using <...> not "...".
15013 * math/e_exp10f.c: Likewise.
15014 * math/e_exp10l.c: Likewise.
15015 * math/e_exp2l.c: Likewise.
15016 * math/e_j0l.c: Likewise.
15017 * math/e_j1l.c: Likewise.
15018 * math/e_jnl.c: Likewise.
15019 * math/e_lgammal_r.c: Likewise.
15020 * math/e_rem_pio2l.c: Likewise.
15021 * math/e_scalb.c: Likewise.
15022 * math/e_scalbf.c: Likewise.
15023 * math/e_scalbl.c: Likewise.
15024 * math/k_cosl.c: Likewise.
15025 * math/k_sinl.c: Likewise.
15026 * math/k_tanl.c: Likewise.
15027 * math/s_cacoshf.c: Likewise.
15028 * math/s_catan.c: Likewise.
15029 * math/s_catanf.c: Likewise.
15030 * math/s_catanh.c: Likewise.
15031 * math/s_catanhf.c: Likewise.
15032 * math/s_catanhl.c: Likewise.
15033 * math/s_catanl.c: Likewise.
15034 * math/s_ccosh.c: Likewise.
15035 * math/s_ccoshf.c: Likewise.
15036 * math/s_ccoshl.c: Likewise.
15037 * math/s_cexp.c: Likewise.
15038 * math/s_cexpf.c: Likewise.
15039 * math/s_cexpl.c: Likewise.
15040 * math/s_clog.c: Likewise.
15041 * math/s_clog10.c: Likewise.
15042 * math/s_clog10f.c: Likewise.
15043 * math/s_clog10l.c: Likewise.
15044 * math/s_clogf.c: Likewise.
15045 * math/s_clogl.c: Likewise.
15046 * math/s_csin.c: Likewise.
15047 * math/s_csinf.c: Likewise.
15048 * math/s_csinh.c: Likewise.
15049 * math/s_csinhf.c: Likewise.
15050 * math/s_csinhl.c: Likewise.
15051 * math/s_csinl.c: Likewise.
15052 * math/s_csqrt.c: Likewise.
15053 * math/s_csqrtf.c: Likewise.
15054 * math/s_csqrtl.c: Likewise.
15055 * math/s_ctan.c: Likewise.
15056 * math/s_ctanf.c: Likewise.
15057 * math/s_ctanh.c: Likewise.
15058 * math/s_ctanhf.c: Likewise.
15059 * math/s_ctanhl.c: Likewise.
15060 * math/s_ctanl.c: Likewise.
15061 * math/s_ldexp.c: Likewise.
15062 * math/s_ldexpf.c: Likewise.
15063 * math/s_ldexpl.c: Likewise.
15064 * math/s_significand.c: Likewise.
15065 * math/s_significandf.c: Likewise.
15066 * math/s_significandl.c: Likewise.
15067 * math/w_acos.c: Likewise.
15068 * math/w_acosf.c: Likewise.
15069 * math/w_acosh.c: Likewise.
15070 * math/w_acoshf.c: Likewise.
15071 * math/w_acoshl.c: Likewise.
15072 * math/w_acosl.c: Likewise.
15073 * math/w_asin.c: Likewise.
15074 * math/w_asinf.c: Likewise.
15075 * math/w_asinl.c: Likewise.
15076 * math/w_atan2.c: Likewise.
15077 * math/w_atan2f.c: Likewise.
15078 * math/w_atan2l.c: Likewise.
15079 * math/w_atanh.c: Likewise.
15080 * math/w_atanhf.c: Likewise.
15081 * math/w_atanhl.c: Likewise.
15082 * math/w_cosh.c: Likewise.
15083 * math/w_coshf.c: Likewise.
15084 * math/w_coshl.c: Likewise.
15085 * math/w_dremf.c: Likewise.
15086 * math/w_exp10.c: Likewise.
15087 * math/w_exp10f.c: Likewise.
15088 * math/w_exp10l.c: Likewise.
15089 * math/w_exp2.c: Likewise.
15090 * math/w_exp2f.c: Likewise.
15091 * math/w_fmod.c: Likewise.
15092 * math/w_fmodf.c: Likewise.
15093 * math/w_fmodl.c: Likewise.
15094 * math/w_hypot.c: Likewise.
15095 * math/w_hypotf.c: Likewise.
15096 * math/w_hypotl.c: Likewise.
15097 * math/w_j0.c: Likewise.
15098 * math/w_j0f.c: Likewise.
15099 * math/w_j0l.c: Likewise.
15100 * math/w_j1.c: Likewise.
15101 * math/w_j1f.c: Likewise.
15102 * math/w_j1l.c: Likewise.
15103 * math/w_jn.c: Likewise.
15104 * math/w_jnf.c: Likewise.
15105 * math/w_jnl.c: Likewise.
15106 * math/w_lgamma.c: Likewise.
15107 * math/w_lgamma_r.c: Likewise.
15108 * math/w_lgammaf.c: Likewise.
15109 * math/w_lgammaf_r.c: Likewise.
15110 * math/w_lgammal.c: Likewise.
15111 * math/w_lgammal_r.c: Likewise.
15112 * math/w_log.c: Likewise.
15113 * math/w_log10.c: Likewise.
15114 * math/w_log10f.c: Likewise.
15115 * math/w_log10l.c: Likewise.
15116 * math/w_log2.c: Likewise.
15117 * math/w_log2f.c: Likewise.
15118 * math/w_log2l.c: Likewise.
15119 * math/w_logf.c: Likewise.
15120 * math/w_logl.c: Likewise.
15121 * math/w_pow.c: Likewise.
15122 * math/w_powf.c: Likewise.
15123 * math/w_powl.c: Likewise.
15124 * math/w_remainder.c: Likewise.
15125 * math/w_remainderf.c: Likewise.
15126 * math/w_remainderl.c: Likewise.
15127 * math/w_scalb.c: Likewise.
15128 * math/w_scalbf.c: Likewise.
15129 * math/w_scalbl.c: Likewise.
15130 * math/w_sinh.c: Likewise.
15131 * math/w_sinhf.c: Likewise.
15132 * math/w_sinhl.c: Likewise.
15133 * math/w_sqrt.c: Likewise.
15134 * math/w_sqrtf.c: Likewise.
15135 * math/w_sqrtl.c: Likewise.
15136 * math/w_tgamma.c: Likewise.
15137 * math/w_tgammaf.c: Likewise.
15138 * math/w_tgammal.c: Likewise.
15139
6a621eb7
UD
15140 * po/ja.po: Update from translation team.
15141
bf582445
AJ
151422011-09-29 Andreas Jaeger <aj@suse.de>
15143
f9efbf3a
AJ
15144 [BZ #13179]
15145 * sunrpc/netname.c (netname2host): Fix logic.
15146
bf582445
AJ
15147 [BZ #6779]
15148 [BZ #6783]
15149 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
15150 correctly.
15151 * math/w_remainder.c (__remainder): Likewise.
15152 * math/w_remainderf.c (__remainderf): Likewise.
15153 * math/libm-test.inc (remainder_test): Add test cases.
15154
48693bea
AK
151552011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15156
15157 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
15158 sdiv_qrnnd.
15159
42622229
LD
151602011-10-07 Ulrich Drepper <drepper@gmail.com>
15161
15162 * string/test-memcmp.c: Avoid unncessary #defines.
15163 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
15164
093ecf92
LD
151652011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15166
15167 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
15168 Use new sse2 version for core i3 - i7 as it's faster
15169 than sse42 version.
15170 (bit_Prefer_PMINUB_for_stringop): New.
15171 * sysdeps/x86_64/rawmemchr.S: Update.
15172 Replace with faster SSE2 version.
15173 * sysdeps/x86_64/memrchr.S: New file.
15174 * sysdeps/x86_64/memchr.S: Update.
15175 Replace with faster SSE2 version.
15176
fde56e5c
MP
151772011-09-12 Marek Polacek <mpolacek@redhat.com>
15178
15179 * elf/dl-load.c (lose): Add cast to avoid warning.
15180
21fd49a9
UD
151812011-10-07 Ulrich Drepper <drepper@gmail.com>
15182
5a06e643
UD
15183 * po/ca.po: Update from translation team.
15184
684ae515
UD
15185 * inet/getnetgrent_r.c: Hook up nscd.
15186 * nscd/Makefile (routines): Add nscd_netgroup.
15187 (nscd-modules): Add netgroupcache.
15188 (CFLAGS-netgroupcache.c): Define.
15189 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
15190 (cache_search): Add const to second parameter.
15191 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
15192 INNETGR.
15193 (dbs): Add netgrdb entry.
15194 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
15195 (verify_persistent_db): Handle netgrdb.
15196 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
15197 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
15198 GETFDNETGR.
15199 (netgroup_response_header): Define.
15200 (innetgroup_response_header): Define.
15201 (datahead): Add netgroup_response_header and innetgroup_response_header
15202 elements.
15203 * nscd/nscd.conf: Add entries for netgroup cache.
15204 * nscd/nscd.h (dbtype): Add netgrdb.
15205 (_PATH_NSCD_NETGROUP_DB): Define.
15206 (netgroup_iov_disabled): Declare.
15207 (xmalloc, xcalloc, xrealloc): Move declarations here.
15208 (cache_search): Adjust prototype.
15209 Add netgroup-related prototypes.
15210 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
15211 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
15212 (__nscd_innetgr): Declare.
15213 * nscd/selinux.c (perms): Use access_vector_t as element type and
15214 add netgroup-related initializers.
15215 * nscd/netgroupcache.c: New file.
15216 * nscd/nscd_netgroup.c: New file.
15217 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
15218 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
15219 For four parameters use innetgr.
15220 * nss/nss_files/files-init.c: Add definition and callback for netgr.
15221 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
15222 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
15223 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
15224
21fd49a9
UD
15225 * nscd/connections.c (register_traced_file): Don't register file
15226 for disabled databases.
15227
054c0457
UD
152282011-10-06 Ulrich Drepper <drepper@gmail.com>
15229
32b63198
UD
15230 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
15231
054c0457
UD
15232 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
15233 from tree and freeing node.
15234
64031225
JO
152352011-09-25 Jiri Olsa <jolsa@redhat.com>
15236
15237 * nss/nsswitch.c (__nss_database_lookup): Handle
15238 nss_parse_service_list out of memory case.
15239
0490345c
JO
152402011-09-15 Jiri Olsa <jolsa@redhat.com>
15241
15242 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
15243 out of memory case.
15244
3a62d00d
AS
152452011-10-04 Andreas Schwab <schwab@redhat.com>
15246
15247 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
15248 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
15249 pass it down.
15250 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
15251 elf_machine_rela, elf_machine_lazy_rel.
15252 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
15253 (ELF_DYNAMIC_DO_REL): Likewise.
15254 (ELF_DYNAMIC_DO_RELA): Likewise.
15255 (ELF_DYNAMIC_RELOCATE): Likewise.
15256 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
15257 to ELF_DYNAMIC_DO_REL.
15258 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
15259 (dl_main): In trace mode always set __RTLD_NOIFUNC.
15260 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
15261 elf_machine_rela.
15262 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
15263 skip_ifunc, don't call ifunc function if non-zero.
15264 (elf_machine_rela): Likewise.
15265 (elf_machine_lazy_rel): Likewise.
15266 (elf_machine_lazy_rela): Likewise.
15267 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15268 (elf_machine_lazy_rel): Likewise.
15269 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15270 Likewise.
15271 (elf_machine_lazy_rel): Likewise.
15272 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15273 Likewise.
15274 (elf_machine_lazy_rel): Likewise.
15275 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
15276 (elf_machine_lazy_rel): Likewise.
15277 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
15278 (elf_machine_lazy_rel): Likewise.
15279 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15280 (elf_machine_lazy_rel): Likewise.
15281 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
15282 (elf_machine_lazy_rel): Likewise.
15283 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
15284 (elf_machine_lazy_rel): Likewise.
15285 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15286 (elf_machine_lazy_rel): Likewise.
15287
68577918
UD
152882011-09-28 Ulrich Drepper <drepper@gmail.com>
15289
15290 * nss/nss_files/files-init.c (_nss_files_init): Use static
15291 initialization for all the *_traced_file variables.
15292
68822d74
AS
152932011-09-28 Andreas Schwab <schwab@redhat.com>
15294
15295 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15296
2056100b
RM
152972011-09-27 Roland McGrath <roland@hack.frob.com>
15298
15299 [BZ #13226]
15300 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
15301
32c76b63
AS
153022011-09-27 Andreas Schwab <schwab@redhat.com>
15303
15304 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15305 Reread the line before reparsing it.
15306
bf972c9d
AS
153072011-09-26 Andreas Schwab <schwab@redhat.com>
15308
15309 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
15310
e057a1b5
JM
153112011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
15312 Maxim Kuvyrkov <maxim@codesourcery.com>
15313 Joseph Myers <joseph@codesourcery.com>
15314
15315 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
15316 if needed for __stack_chk_guard.
15317
bc7e1c36
RM
153182011-09-19 Roland McGrath <roland@hack.frob.com>
15319
ecb1482f
RM
15320 * sysdeps/posix/spawni.c (script_execute): Always define it.
15321 It will be optimized away if unused.
15322 (maybe_script_execute): New function.
15323 (__spawni): Call it.
15324
bc7e1c36
RM
15325 * Makerules: Don't include tls.make.
15326 (config-tls): Always set to thread.
15327 * tls.make.c: File removed.
15328
1c3b002b
MF
153292011-09-19 Mike Frysinger <vapier@gentoo.org>
15330
15331 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
15332 * config.make.in (CPPFLAGS-config): New substituted variable.
15333
2840865d
UD
153342011-09-15 Ulrich Drepper <drepper@gmail.com>
15335
88738eb6
UD
15336 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
15337
cbf645a6 15338 [BZ #13192]
2840865d
UD
15339 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
15340 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
15341
b402e91a
RM
153422011-09-15 Roland McGrath <roland@hack.frob.com>
15343
15344 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
15345 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
15346 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15347 (CALL_FAIL): Likewise.
15348 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
15349 (CALL_FAIL): Macro removed.
15350 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
15351
4c1a1f71
UD
153522011-09-15 Ulrich Drepper <drepper@gmail.com>
15353
15354 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
15355 for __FINITE_MATH_ONLY__ == 1.
15356
edc121be
AS
153572011-09-15 Andreas Schwab <schwab@redhat.com>
15358
15359 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
15360 __ieee754_sqrt instead of sqrt.
15361 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
15362 __ieee754_sqrtf instead of sqrtf.
15363 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
15364 __floorf instead of floorf.
15365 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
15366 __floorf, __truncf instead of floorf, truncf.
15367
cd205654
UD
153682011-09-14 Ulrich Drepper <drepper@gmail.com>
15369
ee4d0315
UD
15370 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
15371
cd205654
UD
15372 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
15373 __extern_always_inline.
15374 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
15375 32-bit.
15376
48b67d71
AS
153772011-09-14 Andreas Schwab <schwab@redhat.com>
15378
15379 * elf/rtld.c (dl_main): Also relocate in dependency order when
15380 doing symbol dependency testing.
15381
1ae12c75
AS
153822011-09-13 Andreas Schwab <schwab@linux-m68k.org>
15383
15384 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15385 Always define `refsym'.
15386
995a80df
AS
153872011-09-13 Andreas Schwab <schwab@redhat.com>
15388
e529793b
AS
15389 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
15390 (__FD_ELT): Renamed from __FDELT.
15391 * misc/bits/select2.h (__FD_ELT): Likewise.
15392 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
15393 __FD_MASK instead of __FDELT, __FDMASK.
15394 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15395 Likewise.
15396 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15397 Likewise.
15398
52d4fef8
AS
15399 * elf/Makefile (gen-ldd): Fix pattern.
15400
995a80df
AS
15401 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
15402 (init_tls): Likewise.
15403
8682f8b0
UD
154042011-09-12 Ulrich Drepper <drepper@gmail.com>
15405
15406 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
15407
de82006d
AS
154082011-09-12 Andreas Schwab <schwab@redhat.com>
15409
a7c8e6a1
AS
15410 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
15411 `struct cmsghdr *' instead of `void *'.
15412 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
15413 Likewise.
15414
0f31fe77
AS
154152011-09-11 Andreas Schwab <schwab@linux-m68k.org>
15416
15417 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
15418 if non-absolute.
15419 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
15420 ldd_rewrite_script.
0f31fe77 15421
32b4c839
UD
154222011-09-11 Ulrich Drepper <drepper@gmail.com>
15423
83cd1420
UD
15424 * configure.in: Remove --with-tls option.
15425 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
15426 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
15427 out in case it is missing.
15428 * sysdeps/ia64/elf/configure.in: Likewise.
15429 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
15430 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
15431 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
15432 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
15433 * sysdeps/sh/elf/configure.in: Likewise.
15434 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
15435 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15436 * sysdeps/x86_64/elf/configure.in: Likewise.
15437 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
15438 * sysdeps/mach/hurd/tls.h: Likewise.
15439
633f745d
UD
15440 [BZ #13067]
15441 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
15442
f318beb8
UD
15443 [BZ #13090]
15444 * configure.in: Fix use of AC_INIT.
15445
32b4c839
UD
15446 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
15447
3ce1f295
UD
154482011-09-10 Ulrich Drepper <drepper@gmail.com>
15449
bb016596
UD
15450 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
15451 __set_errno.
8e58439c
UD
15452 * malloc/hooks.c: Likewise.
15453
aebae053 15454 [BZ #11929]
02d46fc4
UD
15455 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
15456 variables statically.
15457 (narenas): Initialize.
15458 (list_lock): Initialize.
bb016596
UD
15459 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
15460 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
15461 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
15462 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
15463 Add initializers to main_arena and mp_.
15464 (malloc_state): Remove pagesize member. Change all users to use
15465 GLRO(dl_pagesize).
15466
15467 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
15468 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
15469 is always initialized.
15470
22a89187
UD
15471 * malloc/malloc.c: Removed unused configurations and dead code.
15472 * malloc/arena.c: Likewise.
15473 * malloc/hooks.c: Likewise.
02d46fc4 15474 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 15475
d063d164
UD
15476 * include/tls.h: Removed. USE___THREAD must always be defined.
15477 * bits/libc-tsd.h: Don't handle !USE___THREAD.
15478 * elf/dl-libc.c: Likewise.
15479 * elf/dl-tsd.c: Likewise.
15480 * include/errno.h: Likewise.
15481 * include/netdb.h: Likewise.
15482 * include/resolv.h: Likewise.
15483 * inet/herrno-loc.c: Likewise.
15484 * inet/herrno.c: Likewise.
15485 * malloc/arena.c: Likewise.
15486 * malloc/hooks.c: Likewise.
15487 * malloc/malloc.c: Likewise.
15488 * resolv/res-state.c: Likewise.
15489 * resolv/res_libc.c: Likewise.
15490 * sysdeps/i386/dl-machine.h: Likewise.
15491 * sysdeps/ia64/dl-machine.h: Likewise.
15492 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15493 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15494 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15495 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15496 * sysdeps/sh/dl-machine.h: Likewise.
15497 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15498 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15499 * sysdeps/unix/i386/sysdep.S: Likewise.
15500 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15501 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
15502 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
15503 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15504 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
15505 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15506 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15507 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15508 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15509 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15510 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15511 * sysdeps/x86_64/dl-machine.h: Likewise.
15512 * tls.make.c: Likewise.
15513
3ce1f295
UD
15514 * configure.in: Remove --with-__thread option. Make tests for
15515 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
15516 tls_model attribute fail if no support is available. Remove
15517 USE_IN_LIBIO.
15518 * Makeconfig: Adjust for dropped configure option. All features are
15519 now mandatory.
15520 * Makerules: Likewise.
15521 * Versions.def: Likewise.
15522 * argp/argp-fmtstream.c: Likewise.
15523 * argp/argp-fmtstream.h: Likewise.
15524 * argp/argp-help.c: Likewise.
15525 * assert/assert.c: Likewise.
15526 * config.h.in: Likewise.
15527 * config.make.in: Likewise.
15528 * configure: Likewise.
15529 * configure.in: Likewise.
15530 * csu/Versions: Likewise.
15531 * csu/init.c: Likewise.
15532 * elf/tst-audit2.c: Likewise.
15533 * elf/tst-tls10.c: Likewise.
15534 * elf/tst-tls10.h: Likewise.
15535 * elf/tst-tls11.c: Likewise.
15536 * elf/tst-tls12.c: Likewise.
15537 * elf/tst-tls14.c: Likewise.
15538 * elf/tst-tlsmod11.c: Likewise.
15539 * elf/tst-tlsmod12.c: Likewise.
15540 * elf/tst-tlsmod13.c: Likewise.
15541 * elf/tst-tlsmod13a.c: Likewise.
15542 * elf/tst-tlsmod14a.c: Likewise.
15543 * elf/tst-tlsmod15b.c: Likewise.
15544 * elf/tst-tlsmod16a.c: Likewise.
15545 * elf/tst-tlsmod16b.c: Likewise.
15546 * elf/tst-tlsmod7.c: Likewise.
15547 * elf/tst-tlsmod8.c: Likewise.
15548 * elf/tst-tlsmod9.c: Likewise.
15549 * gmon/gmon.c: Likewise.
15550 * grp/fgetgrent_r.c: Likewise.
15551 * grp/putgrent.c: Likewise.
15552 * hurd/fopenport.c: Likewise.
15553 * include/libc-symbols.h: Likewise.
15554 * include/tls.h: Likewise.
15555 * intl/gettextP.h: Likewise.
15556 * intl/loadinfo.h: Likewise.
15557 * locale/global-locale.c: Likewise.
15558 * locale/localeinfo.h: Likewise.
15559 * mach/devstream.c: Likewise.
15560 * malloc/arena.c: Likewise.
15561 * malloc/set-freeres.c: Likewise.
15562 * misc/err.c: Likewise.
15563 * misc/getttyent.c: Likewise.
15564 * misc/mntent_r.c: Likewise.
15565 * posix/getopt.c: Likewise.
15566 * posix/wordexp.c: Likewise.
15567 * pwd/fgetpwent_r.c: Likewise.
15568 * resolv/Versions: Likewise.
15569 * resolv/res_hconf.c: Likewise.
15570 * shadow/fgetspent_r.c: Likewise.
15571 * shadow/putspent.c: Likewise.
15572 * stdio-common/printf_fphex.c: Likewise.
15573 * stdio-common/tmpfile.c: Likewise.
15574 * stdlib/abort.c: Likewise.
15575 * stdlib/fmtmsg.c: Likewise.
15576 * sunrpc/auth_unix.c: Likewise.
15577 * sunrpc/clnt_perr.c: Likewise.
15578 * sunrpc/clnt_tcp.c: Likewise.
15579 * sunrpc/clnt_udp.c: Likewise.
15580 * sunrpc/clnt_unix.c: Likewise.
15581 * sunrpc/openchild.c: Likewise.
15582 * sunrpc/svc_simple.c: Likewise.
15583 * sunrpc/svc_tcp.c: Likewise.
15584 * sunrpc/svc_udp.c: Likewise.
15585 * sunrpc/svc_unix.c: Likewise.
15586 * sunrpc/xdr.c: Likewise.
15587 * sunrpc/xdr_array.c: Likewise.
15588 * sunrpc/xdr_rec.c: Likewise.
15589 * sunrpc/xdr_ref.c: Likewise.
15590 * sunrpc/xdr_stdio.c: Likewise.
15591
1248c1c4
PB
155922011-09-09 Ulrich Drepper <drepper@gmail.com>
15593
15594 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15595
155962011-07-03 Andreas Jaeger <aj@suse.de>
15597
15598 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
15599 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
15600 regenerate with gen-libm-tests.pl.
15601
156022010-05-12 Petr Baudis <pasky@suse.cz>
15603
15604 [BZ #11589]
15605 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
15606 around j0() zero points by switching to j1().
15607 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15608 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15609 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15610 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15611
f22e1074
UD
156122011-09-09 Ulrich Drepper <drepper@gmail.com>
15613
f19009c1
UD
15614 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
15615 instead of 0.
15616 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
15617 instead of 0. .
15618 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15619 Patch in part by Pavel Roskin <proski@gnu.org>.
15620
3f8cc204
UD
15621 [BZ #13138]
15622 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
15623 realloc.
15624 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
15625 Free memory block if necessary.
15626
f22e1074
UD
15627 [BZ #12847]
15628 * libio/genops.c (INTDEF): For string streams the _lock pointer can
15629 be NULL. Don't lock in this case.
15630
0a2349f9
RM
156312011-09-09 Roland McGrath <roland@hack.frob.com>
15632
15633 * elf/elf.h (ELFOSABI_GNU): New macro.
15634 (ELFOSABI_LINUX): Define to that.
15635
f3cdd467
DZ
156362011-07-29 Denis Zaitceff <zaitceff@gmail.com>
15637
15638 * string/strncat.c (strncat): Undef the symbol in case it has been
15639 defined in bits/string.h.
15640
74718d13
UD
156412011-09-09 Ulrich Drepper <drepper@gmail.com>
15642
633e9e0f
UD
15643 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
15644
0a2349f9 15645 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
15646 link map.
15647
f9924780
AJ
156482011-08-17 Andreas Jaeger <aj@suse.de>
15649
15650 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
15651
7f5517aa
PP
156522011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15653 Ian Lance Taylor <iant@google.com>
15654
15655 * math/libm-test.inc (lround_test): New testcase.
15656 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
15657
762011fe
UD
156582011-09-08 Ulrich Drepper <drepper@gmail.com>
15659
92963737
UD
15660 * Makefile: Remove support for automatic cvs check-ins.
15661 * Makerules: Likewise.
15662 * config.make.in: Likewise.
15663 * configure.in: Likewise.
15664 * intl/Makefile: Likewise.
15665 * locale/Makefile: Likewise.
15666 * po/Makefile: Likewise.
15667 * posix/Makefile: Likewise.
15668 * sysdeps/gnu/Makefile: Likewise.
15669 * sysdeps/mach/hurd/Makefile: Likewise.
15670 * sysdeps/sparc/sparc32/Makefile: Likewise.
15671
b0727fd8
JS
15672 [BZ #13118]
15673 * posix/Makefile (bug-regex32-ENV): Define.
15674 Patch by John Stanley <jpsinthemix@verizon.net>.
15675
a0f33f99
UD
15676 * misc/Makefile (headers): Add bits/select2.h.
15677 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
15678 * misc/bits/select2.h: New file.
15679 * include/bits/select2.h: New file.
15680 * debug/Makefile (routines): Add fdelt_chk.
15681 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
15682 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
15683 FD_ISSET.
15684 * debug/fdelt_chk.c: New file.
15685
762011fe
UD
15686 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
15687 * wcsmbs/test-wmemcmp.c: Likewise.
15688 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 15689 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
15690
156912011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15692
15693 * string/Makefile (strop-tests): Add memcmp.
15694 * string/test-wmemcmp.c: New file.
15695 * string/test-memcmp.c: Add wmemcmp support.
15696
7f513ec8
RM
156972011-09-08 Roland McGrath <roland@hack.frob.com>
15698
0442afb4
RM
15699 [BZ #13153]
15700 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
15701 2011-07-19 change.
15702
7f513ec8
RM
15703 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
15704 garbage value in a __mach_port_mod_refs call in the cases of the
15705 task-self and thread-self ports.
15706
a12b2239
ST
157072011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15708
15709 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
15710
610f9ab4
AS
157112011-09-08 Andreas Schwab <schwab@redhat.com>
15712
7f513ec8 15713 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 15714
48882a1a
LD
157152011-09-07 Ulrich Drepper <drepper@gmail.com>
15716
b49865be
UD
15717 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
15718
fdc86bc9
UD
15719 * elf/dl-libc.c (dlerror_run): Pass back error code from
15720 dl_catch_error.
15721
c966526a
UD
15722 [BZ #13123]
15723 * elf/dl-load.c (lose): Free l_origin if it is valid.
15724
48882a1a
LD
15725 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
15726 names.
15727 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
15728 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15729 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15730 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15731 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
15732 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
15733
77a2a8b4
AZ
157342011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15735
15736 * sysdeps/powerpc/fpu/e_hypot.c: New file.
15737 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
15738 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
15739 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
15740 * sysdeps/powerpc/fpu/k_cosf.c: New file.
15741 * sysdeps/powerpc/fpu/k_sinf.c: New file.
15742 * sysdeps/powerpc/fpu/s_cosf.c: New file.
15743 * sysdeps/powerpc/fpu/s_sinf.c: New file.
15744 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
15745 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
15746
24f579d8
AM
157472011-08-15 Alan Modra <amodra@gmail.com>
15748
15749 [BZ #13092]
15750 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
15751 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
15752 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
15753 ppc_mcount to static-only-routines.
15754 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
15755 __mcount_internal.
15756 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
15757 __mcount_internal with usual JUMPTARGET. Remove useless nop.
15758
3d4837df
UD
157592011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
15760
15761 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
15762 for finite and infinity parameters.
15763
22700377
WS
157642011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15765
15766 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
15767 and add nop instructions for throughput optimization.
15768 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15769
5025581e
WS
157702011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
15771
15772 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
15773 aligned copy for power7 with vector-scalar instructions.
15774 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15775
08a300c9
L
157762011-07-24 H.J. Lu <hongjiu.lu@intel.com>
15777
15778 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
15779 AVX check.
15780
59178ef9
AS
157812011-09-07 Andreas Schwab <schwab@redhat.com>
15782
15783 [BZ #13144]
15784 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
15785 last change.
15786
e38ba7ab
UD
157872011-09-07 Ulrich Drepper <drepper@gmail.com>
15788
15789 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15790 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
15791 syscall wrapper around clock_gettime in __vdso_clock_gettime.
15792 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
15793 clock_gettime.
15794
d53a73ac
UD
157952011-09-06 Ulrich Drepper <drepper@gmail.com>
15796
fc8bffcc
UD
15797 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
15798 Forgot to demangle the pointer.
15799
ceaa0c5d
UD
15800 * sysdeps/i386/sysdep.h: Define atom_text_section.
15801 * sysdeps/x86_64/sysdep.h: Likewise.
15802 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
15803 section with atom_text_section.
15804 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15805 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15806 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
15807 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15808 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
15809
a77d3c17
UD
15810 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
15811 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
15812 already be defined. Change to take two parameters and don't assign
15813 result to variable. Adjust all users.
15814 Define INTERNAL_GETTIME if not already defined.
15815 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
15816 call.
15817 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
15818 HAVE_CLOCK_GETTIME_VSYSCALL.
15819 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
15820
d53a73ac
UD
15821 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
15822 gettimeofday vsyscall, just use time.
15823
a8f84144
AS
158242011-09-06 Andreas Schwab <schwab@redhat.com>
15825
15826 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
15827 <errno.h>.
15828
ef606249
UD
158292011-09-06 Ulrich Drepper <drepper@gmail.com>
15830
15831 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
15832 syscall on x86-64.
15833 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
15834 syscall.
15835 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
15836 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
15837 syscall if possible.
15838
6585cb60
UD
158392011-09-05 Ulrich Drepper <drepper@gmail.com>
15840
15841 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
15842 e_ident. Don't pass to find_mapsXX.
15843 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
15844
a5f524e4
LD
158452011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15846
15847 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15848 strchr-sse2-no-bsf strrchr-sse2-no-bsf
15849 * sysdeps/x86_64/multiarch/strchr.S: Update.
15850 Check bit_slow_BSF bit.
15851 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15852 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
15853 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
15854
554881ef
UD
158552011-09-05 Ulrich Drepper <drepper@gmail.com>
15856
d96de963
UD
15857 [BZ #13134]
15858 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
15859 before glibc 2.15.
15860 (tryshell): Define.
15861 (__spawni): Change last parameter to be flag. Test
15862 SPAWN_XFLAGS_USE_PATH flag to use path or not.
15863 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
15864 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
15865 * posix/spawni.c: Likewise.
15866 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
15867 * posix/spawnp.c: Likewise. Change normal version to use
15868 SPAWN_XFLAGS_USE_PATH.
15869 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
15870 SPAWN_XFLAGS_TRY_SHELL.
15871
d48e5868
UD
15872 [BZ #13150]
15873 * posix/glob.h: Remove gcc 1.x support.
15874
554881ef
UD
15875 [BZ #13068]
15876 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
15877
693fb948
LD
158782011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15879
15880 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15881 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
15882 strrchr-sse2-bsf
15883 * sysdeps/i386/i686/multiarch/strchr.S: New file.
15884 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
15885 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
15886 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
15887 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
15888 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
15889
1b48c537
UD
158902011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15891
49d42c37
UD
15892 * sysdeps/x86_64/wcscmp.S: New file.
15893
1b48c537
UD
15894 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
15895 wcscmp-c wcscmp-sse2
15896 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
15897 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
15898 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
15899 * wcsmbs/wcscmp.c: Allow renaming.
15900
15c95c5d
DM
159012011-09-05 David S. Miller <davem@davemloft.net>
15902
15903 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
15904 stack slot, rather than the struct return pointer slot.
15905 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
15906 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
15907 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
15908 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
15909
2f0ad8f3
UD
159102011-09-05 Ulrich Drepper <drepper@gmail.com>
15911
d88ae418
UD
15912 * po/ja.po: Update from translation team.
15913
2f0ad8f3
UD
15914 [BZ #13144]
15915 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
15916 kernel in 64-bit binaries.
15917
5f4318d1
DM
159182011-09-01 David S. Miller <davem@davemloft.net>
15919
15920 * elf/elf.h (HWCAP_SPARC_*): Move to..
15921 * sysdeps/sparc/sysdep.h: this new file and add new values.
15922 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
15923 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
15924 _DL_HWCAP_COUNT to 24.
15925 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15926 entries.
15927 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
15928 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
15929 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
15930 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
15931 instead of magic constants.
15932 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15933
3ba57516
DM
159342011-08-31 David S. Miller <davem@davemloft.net>
15935
15936 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
15937 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
15938 Reimplement to do errno handling inline.
15939 (SYSCALL_ERROR_HANDLER): New macro.
15940 (__SYSCALL_STRING): Do not do errno handling in asm.
15941 (__CLONE_SYSCALL_STRING): Delete.
15942 (__INTERNAL_SYSCALL_STRING): Delete.
15943 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
15944 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
15945 (PSEUDO): Reimplement to do errno handling inline.
15946 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
15947 (SYSCALL_ERROR_HANDLER): New macro.
15948 (__SYSCALL_STRING): Do not do errno handling in asm.
15949 (__CLONE_SYSCALL_STRING): Delete.
15950 (__INTERNAL_SYSCALL_STRING): Delete.
15951 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
15952 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
15953 i386.
15954 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
15955 (inline_syscall*): Add 'err' argument.
15956 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
15957 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
15958 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
15959 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
15960
15961 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
15962 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15963
2bc17433
AS
159642011-08-30 Andreas Schwab <schwab@redhat.com>
15965
15966 * elf/rtld.c (dl_main): Relocate objects in dependency order.
15967
fbeb5f4d
JO
159682011-08-29 Jiri Olsa <jolsa@redhat.com>
15969
15970 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
15971 directive.
15972
ad69cc26
DM
159732011-08-24 David S. Miller <davem@davemloft.net>
15974
15975 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
15976
39dd69df
AS
159772011-08-24 Andreas Schwab <schwab@redhat.com>
15978
15979 * elf/Makefile: Add rules to build and run unload8 test.
15980 * elf/unload8.c: New file.
15981 * elf/unload8mod1.c: New file.
15982 * elf/unload8mod1x.c: New file.
15983 * elf/unload8mod2.c: New file.
15984 * elf/unload8mod3.c: New file.
15985
15986 * elf/dl-close.c (_dl_close_worker): Reset private search list if
15987 it wasn't used.
15988
2c0b250a
DM
159892011-08-23 David S. Miller <davem@davemloft.net>
15990
15991 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
15992 subtract stack bias.
15993 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
15994 %sp not %fp in calculations.
15995 (_JMPBUF_UNWINDS_ADJ): Likewise.
15996
22044b48
DM
15997 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
15998 (aio_suspend): Call it to force an exception region around the
15999 AIO_MISC_WAIT() invocation.
16000
2cae4995
AS
160012011-08-23 Andreas Schwab <schwab@redhat.com>
16002
16003 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
16004 backslash.
16005
873a772e
AJ
160062011-07-04 Aurelien Jarno <aurelien@aurel32.net>
16007
16008 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
16009 protection macro.
16010 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
16011 and <dl-machine.h>.
16012 (Elf64_FuncDesc): Remove.
16013
25ad0df1
DM
160142011-08-22 David S. Miller <davem@davemloft.net>
16015
16016 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
16017 sigaltstack check, add missing cfi directives.
16018 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
16019 missing cfi directives, and sigaltstack handling.
16020
e888bcbe
AS
160212011-08-16 Andreas Schwab <schwab@redhat.com>
16022
16023 [BZ #11724]
16024 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
16025 object is seen twice.
16026 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16027
16028 * elf/Makefile (distribute): Add tst-initorder2.c.
16029 (tests): Add tst-initorder2.
16030 (modules-names): Add tst-initorder2a tst-initorder2b
16031 tst-initorder2c tst-initorder2d. Add rules to build them.
16032 ($(objpfx)tst-initorder2.out): New rule.
16033 * elf/tst-initorder2.c: New file.
16034 * elf/tst-initorder2.exp: New file.
16035
87162f46
AS
160362011-08-22 Andreas Schwab <schwab@redhat.com>
16037
70538b7f
AS
16038 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
16039
f55ffe58
AS
16040 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
16041 dependencies back to end of function.
16042
87162f46
AS
16043 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16044 $(elfobjdir)/ld.so.
16045
91b392a4
UD
160462011-08-21 Ulrich Drepper <drepper@gmail.com>
16047
16048 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
16049 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
16050 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
16051 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
16052 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
16053 of __vdso_gettimeofday.
16054 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
16055 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
16056 attribute_hidden.
16057 (_libc_vdso_platform_setup): Remove initialization of
16058 __vdso_gettimeofday and __vdso_time.
16059
5c43483f
UD
160602011-08-20 Ulrich Drepper <drepper@gmail.com>
16061
775a77e7
UD
16062 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
16063 and fgetc_unlocked.
16064 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
16065 getc_unlocked.
89f447ed 16066
49c74ba9
UD
16067 * elf/dl-open.c (add_to_global): Report additions to the global scope
16068 for LD_DEBUG=scopes.
16069 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 16070 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 16071
5c43483f
UD
16072 [BZ #13114]
16073 * stdio-common/Makefile (tests): Add bug24.
16074 * stdio-common/bug24.c: New file.
16075
a101b025
AJ
160762011-08-19 Andreas Jaeger <aj@suse.de>
16077
16078 [BZ #13114]
16079 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
16080 non-existant file when using close-on-exec mode.
16081
c88f1766
UD
160822011-08-20 Ulrich Drepper <drepper@gmail.com>
16083
0276a718
UD
16084 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
16085 the very first instruction.
16086
c88f1766
UD
16087 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
16088 the CFI state in the end.
16089 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
16090 inclusion of dl-trampoline.h.
16091 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
16092
51ccffa0
AS
160932011-08-19 Andreas Schwab <schwab@redhat.com>
16094
94d7165f
AS
16095 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
16096 expectations for long double.
16097
51ccffa0
AS
16098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
16099 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
16100
fd708658 161012011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
16102
16103 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
16104 artificual limit depends upon the system page size.
16105
44f0a71e
UD
161062011-08-17 Ulrich Drepper <drepper@gmail.com>
16107
16108 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
16109 * resolv/Makefile: Define CFLAGS-libresolv.
16110
8de79a24
AS
161112011-08-17 Andreas Schwab <schwab@redhat.com>
16112
16113 * nss/makedb.c (compute_tables): Make variables used in nested
16114 function static.
16115
27724598
UD
161162011-08-17 Ulrich Drepper <drepper@gmail.com>
16117
c5305d88
UD
16118 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
16119 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
16120 if buffer was too small.
16121
27724598
UD
16122 * elf/pldd.c (main): Attach to all threads in the process.
16123 Rewrite /proc handling to use *at functions.
16124
076fe015
UD
161252011-08-16 Ulrich Drepper <drepper@gmail.com>
16126
174baab3
UD
16127 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
16128 specifies first scope to show.
16129 (dl_open_worker): Update callers. Move printing scope of new
16130 object to before the relocation.
44f0a71e 16131 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
16132 * sysdeps/generic/ldsodefs.h: Update declaration.
16133
076fe015
UD
16134 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
16135 string for the scope number.
16136
a60df2c3
UD
161372011-08-14 Ulrich Drepper <drepper@gmail.com>
16138
16139 * nscd/servicescache.c (cache_addserv): Make sure written is always
16140 initialized.
16141
5e4287d1
RM
161422011-08-14 Roland McGrath <roland@hack.frob.com>
16143
85ae0589
RM
16144 * sysdeps/i386/i486/bits/atomic.h
16145 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
16146 statement expression, so as to suppress "set but not used" warning.
16147 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
16148
69f63097
RM
16149 * string/strncat.c (STRNCAT): Use prototype definition.
16150
675456ef
RM
16151 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
16152 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
16153 -Iprograms here.
16154 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
16155 (localedef-modules): Add localedef.
16156 (locale-modules): Add locale.
16157
5e4287d1
RM
16158 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
16159 * elf/rtld.c (dl_main): Invert order of assignment in last change,
16160 to avoid a warning.
16161
9c96ff23
DM
161622011-08-14 David S. Miller <davem@davemloft.net>
16163
16164 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
16165 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
16166
f9ddf089
UD
161672011-08-13 Ulrich Drepper <drepper@gmail.com>
16168
44f0a71e 16169 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
16170 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
16171 * elf/rtld.c (dl_main): Set l_name of vDSO.
16172 Call _dl_show_scope when DL_DEBUG_SCOPES.
16173 (process_dl_debug): Recognize scopes flag and also set it for all.
16174 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
16175 Declare _dl_show_scope.
16176
1dc27704
UD
16177 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
16178 (do_dlopen): Pass caller_dlopen to dl_open.
16179 (__libc_dlopen_mode): Initialize caller_dlopen.
16180
f9ddf089
UD
16181 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
16182 of libc. Make tolower call locale-independent. Optimize a bit by
16183 using isdigit instead of isalnum.
16184 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
16185
9ac533d3
UD
161862011-08-12 Ulrich Drepper <drepper@gmail.com>
16187
16188 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
16189 was a dependency or dynamically loaded.
16190
89edf2e9
UD
161912011-08-11 Ulrich Drepper <drepper@gmail.com>
16192
8e999d29
UD
16193 * intl/l10nflist.c: Allow architecture-specific pop function.
16194 * sysdeps/x86_64/l10nflist.c: New file.
16195
89edf2e9
UD
16196 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
16197 classification.
16198
14d96785
AS
161992011-08-10 Andreas Schwab <schwab@redhat.com>
16200
16201 * include/dirent.h: Add libc_hidden_proto for scandirat and
16202 scandirat64. Don't declare __scandirat64.
16203 * dirent/scandirat.c: Add libc_hidden_def.
16204 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
16205 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
16206
6761ac04
DM
162072011-08-10 David S. Miller <davem@davemloft.net>
16208
16209 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
16210 enum.
16211 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16212 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16213 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16214
c55fbd1e
UD
162152011-08-09 Ulrich Drepper <drepper@gmail.com>
16216
16217 * Versions.def [libc]: Add GLIBC_2.15.
16218 * dirent/Makefile (routines): Add scandirat and scandirat64.
16219 * dirent/Versions [libc]: Export scandirat and scandirat64 for
16220 GLIBC_2.15.
16221 * dirent/dirent.h: Declare scandirat and scandirat64.
16222 * dirent/scandirat.c: New file.
16223 * dirent/scandirat64.c: New file.
16224 * sysdeps/wordsize-64/scandirat.c: New file.
16225 * sysdeps/wordsize-64/scandirat64.c: New file.
16226 * dirent/opendir.c: Define opendirat.
16227 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
16228 using scandirat.
16229 * dirent/scandir64.c: Adjust for scandir.c change.
16230 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
16231 __scandirat64, and __scandir_cancel_handler.
16232 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
16233 additional parameter and use openat instead of open (outside of ld.so).
16234 Add new __opendir as wrapper around __opendirat.
16235 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
16236 here without requiring old scandirat implementation.
16237
879165f2
UD
162382011-08-08 Ulrich Drepper <drepper@gmail.com>
16239
16240 * dirent/scandir.c (cancel_handler): Renamed to
16241 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
16242 defined. Adjust users.
16243 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
16244 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
16245
cb7e923b
UD
162462011-08-04 Ulrich Drepper <drepper@gmail.com>
16247
16292edd
UD
16248 * string/test-string.h (IMPL): Use __STRING to expand name and then
16249 stringify it.
16250
cb7e923b
UD
16251 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
16252 of cleanups.
16253
cff82933
LD
162542011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16255
16256 * string/Makefile: Update.
16257 (strop-tests): Append strncat.
16258 * string/test-wcscmp.c: New file.
16259 New comprehensive test for wcscmp.
16260 * string/test-strcmp.c: Update.
16261 (WIDE): New define.
16262
9be9bfcc
AS
162632011-07-22 Andreas Schwab <schwab@redhat.com>
16264
16265 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
16266 line.
16267
2e96f1c7
AS
162682011-07-26 Andreas Schwab <schwab@redhat.com>
16269
16270 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16271 encoding to ACE if AI_IDN.
16272
85188888
JJ
162732011-08-01 Jakub Jelinek <jakub@redhat.com>
16274
16275 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
16276 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
16277
5fa16e9b
LD
162782011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16279
16280 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
16281 Fix overflow bug in strncat.
16282 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
16283
16284 * string/test-strncat.c: Update.
16285 Add new tests for checking overflow bugs.
16286
162872011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16288
16289 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16290 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
16291 * sysdeps/i386/i686/multiarch/strcat.S: New file.
16292 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
16293 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
16294 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
16295 * sysdeps/i386/i686/multiarch/strncat.S: New file.
16296 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
16297 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
16298
16299 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
16300 (USE_AS_STRCAT): Define.
16301 Add strcat and strncat support.
16302 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16303
8c1a459f
AS
163042011-07-25 Andreas Schwab <schwab@redhat.com>
16305
16306 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
16307 __n bigger than INT_MAX+1.
16308 (__strncmp_g): Likewise.
16309
bba33c28
UD
163102011-07-23 Ulrich Drepper <drepper@gmail.com>
16311
798be72d
UD
16312 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
16313 * libio/stido.h: Likewise.
16314
8accd4dc
UD
16315 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
16316 (AF_NFC): Define.
16317 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
16318 (AF_NFC): Define.
16319
cbff0d96
UD
16320 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
16321 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16322 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16323 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16324 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16325
9191c04a
UD
16326 [BZ #13021]
16327 * scripts/test-installation.pl: Don't expect libnss_test1 to be
16328 installed.
16329
bba33c28
UD
16330 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
16331 typo.
16332 (_dl_x86_64_save_sse): Likewise.
16333
90f139dd
UD
163342011-07-22 Ulrich Drepper <drepper@gmail.com>
16335
1aae088a
UD
16336 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
16337 OSXSAVE.
16338 (_dl_x86_64_save_sse): Likewise.
16339
8e2045f5
UD
16340 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
16341
90f139dd
UD
16342 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
16343
1d002f25
AS
163442011-07-21 Andreas Schwab <schwab@redhat.com>
16345
16346 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
16347 change.
16348 (_dl_x86_64_save_sse): Use correct AVX check.
16349
21137f89
UD
163502011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16351
16352 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
16353 bug in strncpy/strncat.
16354 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
16355
a65c0b7a
UD
163562011-07-21 Ulrich Drepper <drepper@gmail.com>
16357
16358 * string/tester.c (test_strcat): Add tests for different alignments
16359 of source and destination.
16360 (test_strncat): Likewise.
16361
6986b98a
UD
163622011-07-20 Ulrich Drepper <drepper@gmail.com>
16363
90bb2039
UD
16364 [BZ #12852]
16365 * posix/glob.c (glob): Check passed in values before using them in
16366 expressions to avoid some overflows.
16367 (glob_in_dir): Likewise.
16368
5644ef54
UD
16369 [BZ #13007]
16370 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
16371 check for AVX enablement so that we don't crash with old kernels and
16372 new hardware.
16373 * elf/tst-audit4.c: Add same checks here.
16374 * elf/tst-audit6.c: Likewise.
16375
16376 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 16377
bfc9dc9b
AS
163782011-07-09 Andreas Schwab <schwab@linux-m68k.org>
16379
16380 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
16381
702e64bb
UD
163822011-07-20 Ulrich Drepper <drepper@gmail.com>
16383
16384 * po/cs.po: Update from translation team.
16385 * po/bg.po: Likewise.
16386
295e904f
MP
163872011-07-12 Marek Polacek <mpolacek@redhat.com>
16388
16389 * misc/sys/cdefs.h: Add support for const attribute.
16390 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
16391 to gnu_dev_{major,minor,makedev} functions.
16392
3ff94596
MP
163932011-07-20 Marek Polacek <mpolacek@redhat.com>
16394
16395 * intl/dcigettext.c (get_output_charset): Add missing bracket.
16396
28b59fca
AS
163972011-07-20 Andreas Schwab <schwab@redhat.com>
16398
16399 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
16400 strlen results.
16401
19df733e
AK
164022011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16403
16404 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
16405 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
16406 register in order to avoid conflicts with the soft frame pointer
16407 being held in r11 when necessary.
16408 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
16409 (INTERNAL_VSYSCALL_NCS): Likewise.
16410
c8835729
MP
164112011-07-14 Marek Polacek <mpolacek@redhat.com>
16412
16413 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
16414 * elf/dl-fini.c (_dl_fini): Adjust caller.
16415 * elf/dl-close.c (_dl_close_worker): Likewise.
16416 * sysdeps/generic/ldsodefs.h: Adjust declaration.
16417
b902330c
MP
164182011-07-15 Marek Polacek <mpolacek@redhat.com>
16419
8991e135
MP
16420 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
16421 "aux_cache->nlibs < 0".
16422
b902330c
MP
16423 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
16424 in the reload-count case.
16425
99710781
LD
164262011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16427
16428 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16429 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
16430 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
16431 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
16432 * sysdeps/x86_64/multiarch/strcat.S: New file.
16433 * sysdeps/x86_64/multiarch/strncat.S: New file.
16434 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
16435 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
16436 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
16437 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
16438 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
16439 (USE_AS_STRCAT): Define.
16440 Add strcat and strncat support.
16441 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16442 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16443 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
16444 * string/strncat.c: Update.
16445 (USE_AS_STRNCAT): Define.
16446 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16447 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
16448 and i7.
16449 * sysdeps/x86_64/multiarch/init-arch.h
16450 (bit_Prefer_PMINUB_for_stringop): New.
16451 (index_Prefer_PMINUB_for_stringop): Likewise.
16452 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
16453 bit_Prefer_PMINUB_for_stringop.
16454
7dc6bd90
UD
164552011-07-19 Ulrich Drepper <drepper@gmail.com>
16456
16457 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
16458 buffer64.
16459 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
16460 of casting of buffer.
16461 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
16462 buffer32 and buffer64.
16463 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
16464 writes instead of casting of buffer.
16465 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
16466 buffer32.
16467 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
16468 casting of buffer.
16469
e0e72284
AS
164702011-07-19 Andreas Schwab <schwab@redhat.com>
16471
16472 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
16473
feb1eb0b
UD
164742011-07-19 Ulrich Drepper <drepper@gmail.com>
16475
16476 * nscd/nscd.c (termination_handler): Don't do anything for a database
16477 if it has not yet been initialized.
16478
298711ff
UD
164792011-07-18 Ulrich Drepper <drepper@gmail.com>
16480
16481 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16482
164832011-07-15 Marek Polacek <mpolacek@redhat.com>
16484
16485 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16486
f9d68389
UD
164872011-07-18 Ulrich Drepper <drepper@gmail.com>
16488
16489 * po/nl.po: Update from translation team.
16490 * po/sv.po: Likewise.
16491
db290cf5
RM
164922011-07-16 Roland McGrath <roland@hack.frob.com>
16493
16494 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
16495 now disallowed by GCC.
5c550700 16496
fd5e21c7
RM
16497 * configure.in (use-default-link): Default to yes if a test -shared
16498 link meets our qualifications.
16499 * configure: Regenerated.
16500
5c550700
RM
16501 * config.make.in (output-format): New variable.
16502 * configure.in: Check for ld --print-output-format support.
16503 * configure: Regenerated.
16504 * Makerules ($(common-objpfx)format.lds)
16505 [$(output-format) != unknown]: Just use $(output-format),
16506 instead of the linker-script munging.
16507
9fa2c032
RM
165082011-07-14 Roland McGrath <roland@hack.frob.com>
16509
a6928d51
RM
16510 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
16511 of $(common-objpfx)shlib.lds.
16512 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
16513
661607b3
RM
16514 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
16515 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
16516
9fa2c032
RM
16517 * configure.in (-z relro check): Adjust test code to add a large
16518 writable data section after it.
16519 * configure: Regenerated.
16520
defe9061
RM
165212011-07-11 Roland McGrath <roland@hack.frob.com>
16522
16523 * configure.in (-z relro check): Fix test code to make the variable
16524 truly const.
16525 * configure: Regenerated.
16526
319b9ad4
UD
165272011-07-11 Ulrich Drepper <drepper@gmail.com>
16528
16529 * nscd/nscd.h (struct traced_file): Define.
16530 (struct database_dyn): Remove inotify_descr, reset_res, and filename
16531 elements. Add traced_files.
16532 (inotify_fd): Declare.
16533 (register_traced_file): Declare.
16534 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
16535 (inotify_fd): Export.
16536 (resolv_conf_descr): Remove.
16537 (nscd_init): Move inotify descriptor creation to main.
16538 Don't register files for notification here.
16539 (register_traced_file): New function.
16540 (invalidate_cache): Don't use reset_res to determine whether to call
16541 res_init, go through the list of registered files.
16542 (main_loop_poll): The inotify descriptors are now stored in the
16543 structures for the traced files.
16544 (main_loop_epoll): Likewise
16545 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
16546 to __nss_disable_nscd.
16547 * nscd/cache.c (prune_cache): There is no single inotify descriptor
16548 for a database anymore. Check the records for all the registered
16549 files instead.
16550 * nss/Makefile (libnss_files-routines): Add files-init.
16551 (libnss_db-routines): Add db-init.
16552 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
16553 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
16554 * nss/nss_db/db-init.c: New file.
16555 * nss/nss_files/files-init.c: New file.
16556 * nss/nsswitch.c (nss_load_library): New function. Broken out of
16557 __nss_lookup_function.
16558 (__nss_lookup_function): Call nss_load_library.
16559 (nss_load_all_libraries): New function.
16560 (__nss_disable_nscd): Take parameter with callback function for files
16561 to register. Set is_nscd. Load all the DSOs for the NSS modules
16562 used for the cached services.
16563 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
16564 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
16565 options for features to all the files in nscd.
16566
16567 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
16568
23bee3e8
RM
165692011-07-10 Roland McGrath <roland@hack.frob.com>
16570
16571 * csu/elf-init.c (__libc_csu_init): Comment typo.
16572
46a5b7f0
UD
165732011-07-09 Ulrich Drepper <drepper@gmail.com>
16574
16575 * po/pl.po: Update from translation team.
16576 * po/ja.po: Likewise.
16577 * po/ru.po: Likewise.
16578 * po/ko.po: Likewise.
16579 * po/fr.po: Likewise.
16580
d30cf5bb
RM
165812011-07-09 Roland McGrath <roland@hack.frob.com>
16582
113ddea4
RM
16583 * configure.in (.ctors/.dtors header and trailer check):
16584 Use an empirical test on a built program.
16585 * configure: Regenerated.
16586
574920b4
RM
16587 * configure.in (-z relro check): Use an empirical test on a built DSO.
16588 Detect, but do not require, on ia64.
16589 * configure: Regenerated.
16590
d30cf5bb
RM
16591 * configure.in (READELF): Find it with AC_CHECK_TOOL.
16592 Update tests that use readelf to use $READELF instead.
16593 * configure: Regenerated.
16594
8538fdb3
UD
165952011-07-08 Ulrich Drepper <drepper@gmail.com>
16596
16597 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
16598 if the result is not used.
16599
04d08991
AJ
166002011-07-05 Andreas Jaeger <aj@suse.de>
16601
16602 [BZ#9696]
16603 * stdlib/tst-strtod.c: Add testcase.
16604
de283087
AD
166052011-07-07 Ulrich Drepper <drepper@gmail.com>
16606
4e5f31c8 16607 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 16608 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
16609 The latter has a higher limit. Take additional parameter to pass to
16610 the new function.
16611 (__pathconf): Pass file to __statfs_link_max.
16612 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
16613 __statfs_link_max.
16614 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
16615 __statfs_link_max.
16616
de283087
AD
16617 [BZ #12868]
16618 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
16619 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16620 Handle Lustre.
16621 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
16622 (__statfs_filesize_max): Likewise.
16623 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
16624
c75fa153
AJ
166252011-07-05 Andreas Jaeger <aj@suse.de>
16626
16627 * resolv/res_comp.c (dn_skipname): Remove unused variable.
16628
1a544854
UD
166292011-07-06 Marek Polacek <mpolacek@redhat.com>
16630
16631 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
16632 `status' variable.
16633 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
16634 Likewise.
16635
6f0eec67
UD
166362011-07-04 H.J. Lu <hongjiu.lu@intel.com>
16637
16638 * Makefile (strop-tests): Add strncat.
16639 * string/test-strncat.c: New file.
16640
aae30307
UD
166412011-06-30 Marek Polacek <mpolacek@redhat.com>
16642
16643 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
16644
c0cfb5eb
UD
166452011-06-21 Andreas Jaeger <aj@suse.de>
16646
16647 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
16648 Copy rule from iconvdata/Makefile.
16649
01636b21
UD
166502011-07-06 Ulrich Drepper <drepper@gmail.com>
16651
16652 [BZ #12922]
16653 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
16654 but no long options are defined, just return 'W'.
16655
9895c8bc
UD
166562011-06-22 Marek Polacek <mpolacek@redhat.com>
16657
16658 [BZ #9696]
16659 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
16660
5d4cf042
UD
166612011-07-06 Ulrich Drepper <drepper@gmail.com>
16662
16663 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
16664 netgroups to read.
960e5535 16665 (innetgr): Likewise.
5d4cf042 16666
751eb97e
RM
166672011-07-05 Roland McGrath <roland@hack.frob.com>
16668
16669 * config.make.in (install_root): Default to $(DESTDIR).
16670
f15f1e45
UD
166712011-07-05 Ulrich Drepper <drepper@gmail.com>
16672
16673 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
16674
4e34ac6a
RM
166752011-07-02 Roland McGrath <roland@hack.frob.com>
16676
5e9b6af4
RM
16677 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
16678
84f9ea0f
RM
16679 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
16680 containing directory rather than embedding absolute directory names.
16681
ea5ee9f7
RM
16682 * scripts/check-local-headers.sh: Rewritten using awk.
16683 Match by word, not by line. Print error messages for matches.
16684 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
16685
1b74661a
RM
16686 * Makerules [shlib-lds-flags empty]:
16687 ($(common-objpfx)libc_pic.opts): New target.
16688 ($(common-objpfx)libc_pic.os.clean): New target.
16689 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
16690
16691 * config.make.in (OBJCOPY): New variable.
16692 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
16693 * configure: Regenerated.
16694
f781ef40
RM
16695 * config.make.in (use-default-link): New variable.
16696 * configure.in (use_default_link): Grok --with-default-link to set it.
16697 * configure: Regenerated.
16698 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
16699 (shlib-lds, shlib-lds-flags): Define to empty.
16700
2d4fa81e
RM
16701 * Makerules (shlib-lds): New variable.
16702 (shlib-lds-flags): New variable.
16703 (build-shlib, build-moduile, build-module-asneeded): Use it.
16704 ($(common-objpfx)libc.so): Use $(shlib-lds).
16705 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
16706 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
16707
31fffa6b
RM
16708 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
16709 DT_FLAGS/DT_FLAGS_1 with zero flags.
16710
4e34ac6a
RM
16711 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
16712 linker script munging.
16713
fcfc776b
UD
167142011-07-02 Ulrich Drepper <drepper@gmail.com>
16715
16716 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
16717 as 128-bit value.
16718 * crypt/sha512.c (sha512_process_block): Perform total addition using
16719 128-bit if possible.
16720 (__sha512_finish_ctx): Likewise.
16721 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
16722 as 64-bit value.
16723 * crypt/sha256.c (SWAP64): Define.
16724 (sha256_process_block): Perform total addition using 64-bit if
16725 possible.
16726 (__sha256_finish_ctx): Likewise.
16727
99231d9a
UD
167282011-07-01 Ulrich Drepper <drepper@gmail.com>
16729
16730 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
16731 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16732 * nscd/hstcache.c (cache_addhst): Likewise.
16733 * nscd/grpcache.c (cache_addgr): Likewise.
16734 * nscd/aicache.c (addhstaiX): Likewise
16735 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
16736
445b4a53
TK
167372011-07-01 Thorsten Kukuk <kukuk@suse.de>
16738
16739 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
16740 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16741 * nscd/hstcache.c (cache_addhst): Likewise.
16742 * nscd/grpcache.c (cache_addgr): Likewise.
16743 * nscd/aicache.c (addhstaiX): Likewise
16744
6d4d8e8e
AS
167452011-07-01 Andreas Schwab <schwab@redhat.com>
16746
16747 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
16748 domain only when needed.
16749
89f654c5
AS
167502011-06-30 Andreas Schwab <schwab@redhat.com>
16751
16752 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
16753 is always restored.
16754
cf3b23ff
UD
167552011-06-29 Ulrich Drepper <drepper@gmail.com>
16756
16757 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
16758 are re-adding the entry.
16759 * nscd/servicescache.c (cache_addserv): Likewise.
16760
751626f9
AJ
167612011-06-30 Aurelien Jarno <aurelien@aurel32.net>
16762
16763 * sysdeps/generic/dl-irel.h: fix protection against multiple
16764 inclusions.
16765 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
16766
9113ea1f
UD
167672011-06-28 Ulrich Drepper <drepper@gmail.com>
16768
5c0b8d90
UD
16769 [BZ #12935]
16770 * malloc/memusage.sh: Fix quoting in message.
16771 * debug/xtrace.sh: Likewise.
16772
9113ea1f
UD
16773 * configure.in: Remove support for --experimental-malloc option, make
16774 it the default.
16775 * config.make.in: Likewise.
16776 * malloc/Makefile: Likewise.
16777
a4172181
AS
167782011-06-27 Andreas Schwab <schwab@redhat.com>
16779
16780 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
16781 two-byte characters.
16782
78a7eee7
RM
167832011-06-27 Roland McGrath <roland@hack.frob.com>
16784
62bede13
RM
16785 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
16786 AC_CACHE_CHECK invocation.
16787 * configure: Regenerated.
16788
78a7eee7
RM
16789 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
16790
5ce33a62
UD
167912011-06-27 Ulrich Drepper <drepper@gmail.com>
16792
034807a9
UD
16793 [BZ #12350]
16794 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
16795 bit from old_res_options.
16796
4902da17
UD
16797 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
16798
5ce33a62
UD
16799 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
16800 value type for setfct.
16801
c2344f56
L
168022011-06-23 H.J. Lu <hongjiu.lu@intel.com>
16803
16804 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16805 __gettimeofday instead of gettimeofday.
16806
68468076
UD
168072011-06-26 Ulrich Drepper <drepper@gmail.com>
16808
16809 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
16810
acb0d739
L
168112011-06-24 H.J. Lu <hongjiu.lu@intel.com>
16812
16813 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
16814
16815 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
16816 info.
16817
8912479f
L
168182011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16819
16820 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16821 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16822 strcpy-sse2-unaligned strncpy-sse2-unaligned
16823 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
16824 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
16825 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
16826 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
16827 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
16828 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
16829 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
16830 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
16831 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
16832 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
16833 (STRCPY): Support SSE2 and SSSE3 versions.
16834
d5495a11
UD
168352011-06-24 Ulrich Drepper <drepper@gmail.com>
16836
16837 [BZ #12874]
16838 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
16839 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
16840 kernels which artificially limit size of requests.
16841
0b1cbaae
L
168422011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16843
16844 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16845 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16846 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
16847 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
16848 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
16849 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
16850 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
16851 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
16852 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
16853 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
16854 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
16855 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
16856 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
16857 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
16858 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
16859 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16860 Enable unaligned load optimization for Intel Core i3, i5 and i7
16861 processors.
16862 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
16863 Define.
16864 (index_Fast_Unaligned_Load): Define.
16865 (HAS_FAST_UNALIGNED_LOAD): Define.
16866
07f494a0
MP
168672011-06-23 Marek Polacek <mpolacek@redhat.com>
16868
16869 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
16870
fa3fc0fe
UD
168712011-06-22 Ulrich Drepper <drepper@gmail.com>
16872
16873 [BZ #12907]
16874 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
16875 until it is clear that the information is realy needed.
16876 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
16877
e12df166
AS
168782011-06-22 Andreas Schwab <schwab@redhat.com>
16879
16880 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
16881
852eb34d
UD
168822011-06-22 Ulrich Drepper <drepper@gmail.com>
16883
84e2a551
UD
16884 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16885 /sys/devices/system/cpu/online if it is usable.
16886
852eb34d
UD
16887 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
16888 reading the information from the /proc filesystem to once a second.
16889
6e502e19
UD
168902011-06-21 Andreas Jaeger <aj@suse.de>
16891
16892 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
16893 NULL after inclusion of kernel headers.
16894
75d39ff2
UD
168952011-06-21 Ulrich Drepper <drepper@gmail.com>
16896
51f9aa6a
UD
16897 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
16898 calls to internal_setent.
16899
c0244a9d
UD
16900 [BZ #12885]
16901 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
16902 addresses using gethostbyname4_r ignore IPv4 addresses.
16903
c5e3c2ae
UD
16904 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
16905 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
16906
75d39ff2
UD
16907 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
16908
42675c6f
DM
169092011-06-20 David S. Miller <davem@davemloft.net>
16910
16911 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
16912 inclusions.
16913 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
16914
16915 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
16916 (elf_irel): Use it.
16917 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
16918 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
16919 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
16920 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
16921 * sysdeps/x86_64/dl-irel.h: Likewise.
16922
16923 * elf/dl-runtime.c: Use elf_ifunc_invoke.
16924 * elf/dl-sym.c: Likewise.
16925
57912a71
UD
169262011-06-15 Ulrich Drepper <drepper@gmail.com>
16927
16928 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
16929 need to dereference resplen2.
16930
ee22793d
AS
169312011-06-14 Andreas Schwab <schwab@redhat.com>
16932
16933 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
16934
a9e836b0
UD
169352011-06-15 Ulrich Drepper <drepper@gmail.com>
16936
77fb9117
UD
16937 * Makeconfig: Define vardbdir and inst_vardbdir.
16938 * nss/Makefile: Add rules to install db-Makefile.
16939
40c1b22c
UD
16940 * nss/nss_db/db-XXX.c: Cleanup.
16941
9f2da732
UD
16942 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
16943 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
16944 GLIBC_PRIVATE.
16945 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
16946 * nss/makedb.c: Implement -g option to specify that value strings
16947 are generated and should not be added to table iterated over for
16948 get*ent calls.
16949 * nss/nss_db/db-initgroups.c: New file.
16950
82e9a1f7
UD
16951 * nss/getent.c: Add support for initgroups lookups through getgrouplist
16952 interface.
16953
c41af17e
UD
16954 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
16955 (internal_getgrouplist): Adjust to name change.
16956 Update use_initgroups_entry if this is not the first call.
16957 * nss/databases.def: Add initgroups entry.
16958
a9e836b0
UD
16959 * nss/makedb.c (compute_tables): Check result of multiple hash table
16960 sizes to minimize maximum chain length.
16961
2666d441
UD
169622011-06-14 Ulrich Drepper <drepper@gmail.com>
16963
16964 * Versions.def: Add entry for libnss_db.
16965 * shlib-versions: Likewise.
16966 * nss/Makefile: Add rules to build libnss_db.
16967 * nss/Versions: Add libnss_db information. Organize libnss_files
16968 entries better.
16969 * nss/db-Makefile: Add gshadow support. Change rules for the new
16970 makedb progra. Some minor improvements to generate smaller files.
16971 * nss/nss_db/nss_db.h: Move NSS database header data structures to
16972 here from...
16973 * nss/makedb.c: ...here.
16974 Improve database format to be smaller and require less memory at
16975 runtime.
16976 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
16977 db anymore.
16978 * nss/nss_db/db-netgrp.c: Likewise.
16979 * nss/nss_db/db-open.c: Likewise.
16980 * nss/nss_files/flies-XXX.x: Adjust comments.
16981 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
16982 * nss/nss_files/files-grp.c: Likewise.
16983 * nss/nss_files/files-hosts.c: Likewise.
16984 * nss/nss_files/files-network.c: Likewise.
16985 * nss/nss_files/files-proto.c: Likewise.
16986 * nss/nss_files/files-pwd.c: Likewise.
16987 * nss/nss_files/files-rpc.c: Likewise.
16988 * nss/nss_files/files-service.c: Likewise.
16989 * nss/nss_files/files-sgrp.c: Likewise.
16990 * nss/nss_files/files-spwd.c: Likewise.
16991 * nss/nss_db/db-alias.c: Removed.
16992 * nss/nss_db/dummy-db.h: Removed.
16993
9ee76b5a
UD
169942011-06-02 Ulrich Drepper <drepper@gmail.com>
16995
16996 * nss/makedb.c: Rewritten to not use database library.
16997 * nss/Makefile: Update to build new makedb program.
16998
c71ca1f8
AJ
169992011-06-14 Andreas Jaeger <aj@suse.de>
17000
17001 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
17002 memset declaration.
17003
3154bfb8
UD
170042011-06-10 Andreas Schwab <schwab@redhat.com>
17005
17006 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
17007 tmpbuf.
17008
b350afab
RM
170092011-06-10 Roland McGrath <roland@hack.frob.com>
17010
decd4e50
RM
17011 * Makerules (shlib.lds): Fail if the linker script comes out empty.
17012 * elf/Makefile ($(objpfx)ld.so): Likewise.
17013
5615eaf2
RM
17014 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
17015 Don't list ld.so twice in dependencies.
17016
17017 * posix/bug-regex31.c: Include <stdlib.h>.
17018
17019 * nscd/hstcache.c (cache_addhst): Remove unused variable.
17020
17021 * nis/nss_compat/compat-spwd.c
17022 (getspent_next_nss_netgr): Remove unused variable.
17023 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
17024
17025 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
17026 nonmembers" output to use the right array.
17027
17028 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
17029
17030 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
17031
17032 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
17033 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
17034 * catgets/gencat.c (read_input_file): Likewise.
17035 * locale/programs/locarchive.c (enlarge_archive): Likewise.
17036
17037 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
17038 variable definition inside #if's controlling its use.
17039
17040 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
17041
17042 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
17043
17044 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
17045
17046 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
17047 unreachable code.
17048
17049 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
17050
b68e08db
RM
17051 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
17052 * configure: Regenerated.
17053
b350afab
RM
17054 * Makerules: Revert last change.
17055 * elf/Makefile: Likewise.
17056
28368601
RM
170572011-06-09 Roland McGrath <roland@hack.frob.com>
17058
17059 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
17060 * elf/Makefile ($(objpfx)librtld.os): Likewise.
17061 (reloc-link): Likewise.
17062
11988f8f
UD
170632011-06-09 Ulrich Drepper <drepper@gmail.com>
17064
17065 * elf/Makefile: Add rules to build pldd.
17066 * elf/pldd.c: New file.
17067 * elf/pldd-xx.c: New file.
17068
e80fab37
UD
170692011-06-07 Ulrich Drepper <drepper@gmail.com>
17070
17071 * version.h: Update for 2.15 development version.
17072
9b849836
DM
170732011-06-07 David S. Miller <davem@davemloft.net>
17074
17075 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
17076 ifuncs.
17077 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
17078 elf_machine_lazy_rel): Likewise.
17079 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17080 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
17081 elf_machine_lazy_rel): Likewise.
17082 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
17083 dl_hwcap via passed in argument.
17084 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
17085 Likewise.
17086
5a31b283
AK
170872011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17088
17089 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
17090
069e52f8
RM
170912011-06-06 Roland McGrath <roland@hack.frob.com>
17092
17093 [BZ #12849]
17094 * manual/fdl-1.1.texi: New file, verbatim from:
17095 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
17096 * manual/lgpl-2.1.texi: New file, verbatim from:
17097 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
17098 * manual/Makefile (licenses): New variable, list those new file names.
17099 (texis): Use it.
17100 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
17101
17102 * manual/fdl.texi: File removed.
17103 * manual/lesser.texi: File removed.
17104 * manual/libc.texinfo (Copying, Documentation License):
17105 Use new @include file names, put @appendix directive before @include.
17106
f16846a5
JJ
171072011-06-04 Jakub Jelinek <jakub@redhat.com>
17108
17109 [BZ #12841]
17110 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
17111 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
17112 (mq_open): Add __NTH.
17113
3d29045b
L
171142011-06-02 H.J. Lu <hongjiu.lu@intel.com>
17115
17116 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17117 Assume Intel Core i3/i5/i7 processor if AVX is available.
17118
8c297311
UD
171192011-05-31 Ulrich Drepper <drepper@gmail.com>
17120
17121 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17122 typo.
17123
c8fc0c91
UD
171242011-05-31 Andreas Schwab <schwab@redhat.com>
17125
17126 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
17127 memory. Use alloca_account. Fix memory leak when retrying.
17128
5b27a807
UD
171292011-05-31 Ulrich Drepper <drepper@gmail.com>
17130
356f8bc6
UD
17131 * version.h (RELEASE): Bump for 2.14 release.
17132 * include/features.h (__GLIBC_MINOR__): Bump to 14.
17133
5b27a807
UD
17134 * config.make.in (RANLIB): Remove entry.
17135
01f16ab0
UD
171362011-05-30 Ulrich Drepper <drepper@gmail.com>
17137
41fce8bd
UD
17138 * po/Makefile (po-sed-cmd): Add ksh to extensions.
17139 (libc.pot): Work around missing support for .ksh extension in xgettext.
17140
4769ae77
UD
17141 [BZ #12684]
17142 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
17143 if both request failed.
17144 (send_dg): In case of server errors clear resplen or *resplen2.
17145
6b1e7d19
UD
17146 [BZ #12454]
17147 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
17148 when there are multiple maps.
17149 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
17150 (_dl_fini): Remove test here.
17151
01f16ab0
UD
17152 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
17153
b1ebd700
UD
171542011-05-29 Ulrich Drepper <drepper@gmail.com>
17155
7ae22829
UD
17156 [BZ #12350]
17157 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
17158 bit from old_res_options.
17159 (gaih_inet): Likewise.
17160
553149f6 17161 [BZ #11099]
18a84741 17162 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
17163 as signed.
17164
652ffab1
UD
17165 * resolv/res_init.c (res_setoptions): Make the code more compact.
17166
16985fd0
UD
17167 [BZ #11558]
17168 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
17169 set RES_USEVC.
17170
0464f746
UD
17171 [BZ #11634]
17172 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
17173
7d17596c
UD
17174 * malloc/malloc.h: Mark malloc hook variables as deprecated.
17175
cf6bbbd7
UD
17176 [BZ #11781]
17177 * malloc/malloc.h: Declare malloc hook variables as volatile.
17178
13f1ab36
UD
17179 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
17180 in last patch.
17181
b1ebd700
UD
17182 [BZ #11799]
17183 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 17184 raise in the comment.
80e2212d
UD
17185 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17186 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17187 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 17188
ce67228d
UD
171892011-05-28 Ulrich Drepper <drepper@gmail.com>
17190
8887a920
UD
17191 [BZ #12811]
17192 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
17193 grow the buffers more if it already has to be sufficient.
17194 (build_wcs_upper_buffer): Likewise.
17195 * posix/regexec.c (check_matching): Likewise.
17196 (clean_state_log_if_needed): Likewise.
17197 (extend_buffers): Don't enlarge buffers beyond size of the input
17198 buffer.
17199 Patches mostly by Emil Wojak <emil@wojak.eu>.
17200 * posix/bug-regex32.c: New file.
17201 * posix/Makefile (tests): Add bug-regex32.
17202
4f031072
UD
17203 * locale/findlocale.c (_nl_find_locale): Return right away if
17204 _nl_explode_name failed.
17205 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
17206
d0478f0c
UD
17207 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
17208
de81b246
UD
17209 * debug/xtrace.sh: Unify messages.
17210 * malloc/memusage.sh: Likewise.
17211
c738465a
UD
17212 [BZ #12813]
17213 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
17214 time symbol from vDSO. Substitute with vsyscall if not available.
17215 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
17216 __vdso_time.
17217
f1f929d7
UD
17218 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
17219 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
17220 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
17221 Add sendmmsg and internal_sendmmsg.
17222 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
17223 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
17224 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
17225
ce67228d
UD
17226 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
17227 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
17228 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
17229
e57420c6
UD
172302011-05-27 Ulrich Drepper <drepper@gmail.com>
17231
a8509ca5
UD
17232 [BZ #12813]
17233 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
17234 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
17235 available.
17236 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
17237 __vdso_getcpu.
17238
e57420c6
UD
17239 [BZ #12814]
17240 * iconvdata/Makefile (tests): Add bug-iconv9.
17241 * iconvdata/bug-iconv9.c: New file.
17242
4d07db15
AS
172432011-05-27 Andreas Schwab <schwab@redhat.com>
17244
17245 [BZ #12814]
17246 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
17247
ea486f69
JJ
172482011-05-25 Jakub Jelinek <jakub@redhat.com>
17249
17250 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17251 (struct user_regs_struct): Change intcs field back to cs.
17252
6f038433
UD
172532011-05-25 Ulrich Drepper <drepper@gmail.com>
17254
17255 * po/ja.po: Update from translation team.
17256
67f86a25
UD
172572011-05-23 Ulrich Drepper <drepper@gmail.com>
17258
17259 [BZ #12795]
17260 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
17261 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
17262
def7fbd6
AS
172632011-05-20 Andreas Schwab <schwab@redhat.com>
17264
17265 * stdlib/longlong.h: Update from GCC.
17266
f50ef8f1
AS
172672011-05-23 Andreas Schwab <schwab@redhat.com>
17268
17269 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
17270 parameter name.
17271 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
17272 Add parameter name.
17273 (__sysconf): Pass it down.
17274
de7ce8f1
UD
172752011-05-22 Ulrich Drepper <drepper@gmail.com>
17276
f2962a71
UD
17277 [BZ #12671]
17278 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
17279 some situations.
17280 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17281 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
17282 add in in __libc_use_alloca calls. Adjust callers.
17283 (glob): Use malloc in some situations.
17284
de7ce8f1
UD
17285 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
17286 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
17287 pltexit.
17288
aec84f53
UD
172892011-05-21 Ulrich Drepper <drepper@gmail.com>
17290
05bb4a68
UD
17291 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
17292 and CLOCK_BOOTTIME_ALARM.
17293
7ea72f99
UD
17294 [BZ #12782]
17295 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
17296 is returned.
17297
7e4afad5
UD
17298 * string/_strerror.c (__strerror_r): Print negative errors as signed
17299 numbers.
17300
8e211fec
UD
17301 [BZ #12777]
17302 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
17303 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
17304 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
17305
f7d82dc9
UD
17306 * configure.in: Fix typo in redirection and correct removal of test
17307 files in two cases.
17308
cc9e536d
UD
17309 [BZ #12788]
17310 * locale/setlocale.c (new_composite_name): Fix test to check for
17311 identical name of all categories.
17312
aec84f53
UD
17313 [BZ #12792]
17314 * libio/filedoalloc.c (local_isatty): New function.
17315 (_IO_file_doallocate): Use local_isatty.
17316 * stdio-common/perror.c (perror): In case a new stream is used
17317 forward the stream error.
17318 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
17319 error flag.
17320
78e64fdc
RT
173212011-05-20 Ulrich Drepper <drepper@gmail.com>
17322
34a9094f
UD
17323 [BZ #11869]
17324 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
17325 alloca.
17326 * include/alloca.h (extend_alloca_account): Define.
17327
78e64fdc
RT
17328 [BZ #11857]
17329 * posix/regex.h: Fix comments with documentation of user-accessible
17330 fields after compilation and describe correct free'ing of pattern
17331 after re_compile_pattern.
17332 Patch by Reuben Thomas <rrt@sc3d.org>.
17333
457bddfc
RA
173342011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
17335
17336 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
17337 and -mno-altivec to prevent the compiler from using Altivec and/or
17338 VSX instructions when the corresponding registers are not available.
17339
a4527b51
AS
173402011-05-19 Andreas Schwab <schwab@redhat.com>
17341
17342 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
17343
ed690b2f
UD
173442011-05-19 Ulrich Drepper <drepper@gmail.com>
17345
17346 * libio/freopen.c (freopen): Use __dup2, not dup2.
17347 * libio/freopen64.c (freopen64): Likewise.
17348
8db73634
L
173492011-05-17 H.J. Lu <hongjiu.lu@intel.com>
17350
17351 [BZ #12775]
17352 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
17353 * math/Makefile (tests): Add test-powl.
17354 (CFLAGS-test-powl.c): Define.
17355 * math/test-powl.c: New file.
17356
0a197a9d
L
173572011-05-16 H.J. Lu <hongjiu.lu@intel.com>
17358
17359 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
17360
ee30c380
UD
173612011-05-17 Ulrich Drepper <drepper@gmail.com>
17362
17363 [BZ #11837]
17364 * iconvdata/gb18030.c: Update to GB18020-2005.
17365
6ce75379
UD
173662011-05-16 Ulrich Drepper <drepper@gmail.com>
17367
a4b89fd8
AR
17368 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
17369 RE_SYNTAX_POSIX_AWK): Update to match recent development.
17370 Patch by Aharon Robbins <arnold@skeeve.com>.
17371
ea389b12
UD
17372 [BZ #11892]
17373 * stdlib/putenv.c (putenv): Don't always create copy of the variable
17374 on the stack.
17375
68a3f91f
UD
17376 [BZ #11895]
17377 * misc/pselect.c (__pselect): Handle timeout value errors hidden
17378 through underflows.
17379
15cc7dd1
UD
17380 [BZ #12766]
17381 * misc/error.c (error_at_line): Ensure file_name and old_file_name
17382 point to strings before performing equality test for error_one_per_line
17383 mode.
17384
f3799213
UD
17385 [BZ #11697]
17386 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
17387
d79a9c94
UD
17388 [BZ #11820]
17389 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17390 (struct user_fpregs_struct): Avoid __uint*_t types.
17391
56e5eb46
UD
17392 [BZ #6420]
17393 * malloc/mtrace.c (tr_where): Add additional parameter to point to
17394 symbol info. Use it instead of calling _dl_addr locally.
17395 (lock_and_info): New function.
17396 (tr_freehook): Call lock_and_info and pass symbol info as additional
17397 parameter to tr_where.
17398 (tr_mallochook): Likewise.
17399 (tr_reallochook): Likewise.
17400 (tr_memalignhook): Likewise.
17401
6ce75379
UD
17402 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
17403 used and couldn't be at all thread-safe.
17404
f8a3b5bf
UD
174052011-05-15 Ulrich Drepper <drepper@gmail.com>
17406
94b7cc37
UD
17407 * libio/freopen.c (freopen): Don't close old file descriptor
17408 before the new one is opened. Instead dup the new file descriptor
17409 to the old one after the new stream is created.
17410 * libio/freopen64.c (freopen64): Likewise.
17411 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
17412 * libio/fileops.c (_IO_new_file_close_it): Handle new
17413 _IO_FLAGS2_NOCLOSE flag.
17414 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
17415 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
17416 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
17417 _IO_FLAGS2_NOCLOSE flag.
17418 * include/unistd.h: Add hidden_proto for dup3.
17419 Define __have_dup3.
17420 * io/dup3.c: Define hidden symbol.
17421 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
17422
bd25564e
UD
17423 [BZ #7101]
17424 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
17425 when an incomplete long option is used.
17426 * posix/tst-getopt_long1.c: New file.
17427 * posix/Makefile (tests): Add tst-getopt_long1.
17428
c84cfef4
UD
17429 [BZ #10138]
17430 * scripts/config.guess: Update from autoconf-2.68.
17431 * scripts/config.sub: Likewise.
17432
3b85df27
UD
17433 [BZ #10157]
17434 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
17435 tests into ...
17436 (has_cpuclock): ...this. New function.
17437 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
17438 macro here based on has_cpuclock code.
17439
15a856b1
UD
17440 [BZ #10149]
17441 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17442 First byte (not low byte) is now always NUL.
17443 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
17444
05f399e6
UD
17445 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17446 Use non-cancelable interfaces.
17447
10a52685 17448 [BZ #9809]
94ecc67d
UD
17449 * locale/iso-639.def: Add entry for Sorani.
17450
f8a3b5bf
UD
17451 [BZ #11901]
17452 * include/stdlib.h: Move include protection to the right place.
17453 Define abort_msg_s. Declare __abort_msg with it.
17454 * stdlib/abort.c (__abort_msg): Adjust type.
17455 * assert/assert.c (__assert_fail_base): New function. Majority
17456 of code from __assert_fail. Allocate memory for __abort_msg with
17457 mmap.
17458 (__assert_fail): Now call __assert_fail_base.
17459 * assert/assert-perr.c: Remove bulk of implementation. Use
17460 __assert_fail_base.
17461 * include/assert.hL Declare __assert_fail_base.
17462 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
17463 mmap.
17464 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
17465
1af4e298
UD
174662011-05-14 Ulrich Drepper <drepper@gmail.com>
17467
f8a3b5bf 17468 [BZ #11952]
d26dfc60
MG
17469 [BZ #12453]
17470 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
17471 until all modules are registered in the DTV.
17472 * elf/Makefile: Add rules to build and run tst-tls19.
17473 * elf/tst-tls19.c: New file.
17474 * elf/tst-tls19mod1.c: New file.
17475 * elf/tst-tls19mod2.c: New file.
17476 * elf/tst-tls19mod3.c: New file.
17477 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
17478
2fc54d6f
UD
17479 [BZ #12083]
17480 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
17481 correctly.
17482
98d76b46
UD
17483 [BZ #12601]
17484 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
17485 two-byte sequence errors.
17486 * iconvdata/Makefile (tests): Add bug-iconv8.
17487 * iconvdata/bug-iconv8.c: New file.
17488
da3c19ef
UD
17489 [BZ #12626]
17490 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
17491 buf2 definition.
17492
ca408c15
UD
17493 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
17494
d6f67f7d
UD
17495 [BZ #12432]
17496 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
17497 (dummy_getcfa): New function.
17498 (init): Get _Unwind_GetCFA address, use dummy if not found.
17499 (backtrace_helper): In recursion check, also check whether CFA changes.
17500 (__backtrace): Completely initialize arg.
17501
1af4e298 17502 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
17503 storing incomplete byte sequence in state object. Avoid testing for
17504 guaranteed too small input if we know there is enough data available.
1af4e298 17505
da62f81b
AS
175062011-05-11 Andreas Schwab <schwab@redhat.com>
17507
17508 * Makeconfig (+link-pie): Indent.
17509 * Rules (binaries-pie): Define if $(have-fpie) and
17510 $(build-shared).
17511 (binaries-shared): Also filter out $(binaries-pie).
17512 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
17513 * nscd/Makefile (others-pie): Add nscd.
17514 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
17515 ($(objpfx)nscd): Remove command override.
17516 * login/Makefile (others-pie): Add pt_chown.
17517 ($(objpfx)pt_chown): Remove command override.
17518 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
17519 remove command overrides.
17520
fcabc0f8
UD
175212011-05-13 Ulrich Drepper <drepper@gmail.com>
17522
20030ae6
UD
17523 * libio/tst_putwc.c: Fix error messages.
17524
fcabc0f8
UD
17525 [BZ #12724]
17526 * libio/fileops.c (_IO_new_file_close_it): Always flush when
17527 currently writing and seek to current position when not.
17528 * libio/Makefile (tests): Add bug-fclose1.
17529 * libio/bug-fclose1.c: New file.
17530
320a5dc0
PB
175312011-05-12 Ulrich Drepper <drepper@gmail.com>
17532
17533 [BZ #12511]
17534 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
17535 don't set DF_1_NODELETE here.
17536 (do_lookup_x): When entering new entry test for copy relocation
17537 and if necessary set DF_1_NODELETE flag.
17538 * elf/tst-unique4.cc: New file.
17539 * elf/tst-unique4.h: New file.
17540 * elf/tst-unique4lib.cc: New file.
17541 * elf/Makefile: Add rules to build and run tst-unique4.
17542 Patch by Piotr Bury <pbury@goahead.com>.
17543
22836f52
UD
175442011-05-11 Ulrich Drepper <drepper@gmail.com>
17545
f574184a
UD
17546 [BZ #12052]
17547 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
17548
e1fb097f
UD
17549 [BZ #12625]
17550 * misc/mntent_r.c (addmntent): Flush the stream after the output
17551
22836f52
UD
17552 [BZ #12393]
17553 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
17554 (is_trusted_path_normalize): Skip initial colon. Append slash
17555 to empty buffer. Duplicate is_trusted_path code but allow
17556 constructed patch to be prefix.
17557 (is_dst): Allow $ORIGIN followed by /.
17558 (_dl_dst_substitute): Correct clearing of check_for_trusted.
17559 Correct testing of result of is_trusted_path_normalize
17560 (decompose_rpath): Fix warning.
17561
7b3b0b2a
UD
175622011-05-10 Ulrich Drepper <drepper@gmail.com>
17563
17564 [BZ #11257]
17565 * grp/initgroups.c (internal_getgrouplist): When we found the service
17566 list through the initgroups entry in nsswitch.conf do not always
17567 continue on a successful lookup. Don't always use the
eac80ce2 17568 __nss_group_database value if it is set.
7b3b0b2a
UD
17569 * nss/nsswitch.conf (initgroups): Change action for successful db
17570 lookup to continue for compatibility.
17571
2a81eaa5
UD
175722011-05-09 Ulrich Drepper <drepper@gmail.com>
17573
be97a69e
UD
17574 [BZ #11532]
17575 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
17576 and CP774 modules.
17577 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
17578 and CP774 modules.
17579 * iconvdata/tst-tables.sh: Likewise.
17580 * iconvdata/cp770.c: New file.
17581 * iconvdata/cp771.c: New file.
17582 * iconvdata/cp772.c: New file.
17583 * iconvdata/cp773.c: New file.
17584 * iconvdata/cp774.c: New file.
17585 * iconvdata/testdata/CP770: New file.
17586 * iconvdata/testdata/CP770..UTF8: New file.
17587 * iconvdata/testdata/CP771: New file.
17588 * iconvdata/testdata/CP771..UTF8: New file.
17589 * iconvdata/testdata/CP772: New file.
17590 * iconvdata/testdata/CP772..UTF8: New file.
17591 * iconvdata/testdata/CP773: New file.
17592 * iconvdata/testdata/CP773..UTF8: New file.
17593 * iconvdata/testdata/CP774: New file.
17594 * iconvdata/testdata/CP774..UTF8: New file.
17595
17596 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
17597 END CHARMAP line.
17598 * iconvdata/gen-8bit-gap.sh: Likewise.
17599 * iconvdata/gen-8bit.sh: Likewise.
17600
c1e9e399
UD
17601 * locale/iso-639.def: Add ary entry.
17602
24c55fb3 17603 [BZ #11258]
96b4b1b0
UD
17604 * locale/C-translit.h.in: Add U20A1 transliteration.
17605
bdc2f971
KB
17606 [BZ #12178]
17607 * locale/iso-639.def: Add wae entry.
17608 Patch by Kevin Bortis <bortis@translate-wae.ch>.
17609
2952b117
UD
17610 [BZ #12545]
17611 * locale/programs/localedef.c (construct_output_path): Use ssize_t
17612 for n.
17613
2a81eaa5
UD
17614 [BZ #12711]
17615 * locale/C-translit.h.in: Add entry for U20B9.
17616 Patch by pravin.d.s@gmail.com.
17617
28377d1b
UD
176182011-05-08 Ulrich Drepper <drepper@gmail.com>
17619
7fb90fb8
UD
17620 [BZ #12713]
17621 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
17622 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
17623 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
17624 in rtld. Use *stat64.
7fb90fb8 17625 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 17626 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 17627 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
17628 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
17629 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
17630 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
17631 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
17632 __fstatat64 macros.
7fb90fb8
UD
17633 * include/dirent.h: Add libc_hidden_proto for rewinddir.
17634 * dirent/rewinddir.c: Add libc_hidden_def.
17635 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 17636 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 17637
28377d1b
UD
17638 * include/dirent.h (__alloc_dir): Add flags parameter.
17639 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
17640 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
17641 __alloc_dir.
17642 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
17643 from fdopendir if O_CLOEXEC is already set.
17644
66bdbaa4
AM
176452011-03-15 Alan Modra <amodra@gmail.com>
17646
17647 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
17648 l_tls_firstbyte_offset non-zero. Save padding offset in
17649 l_tls_firstbyte_offset for later use.
17650 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
17651 freeing static tls block.
17652
95721191
JN
176532011-03-05 Jonathan Nieder <jrnieder@gmail.com>
17654
17655 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
17656 where #ifdef was intended. The intent is to prevent ARG_MAX from
17657 being defined by the kernel headers.
17658
f87dfb1f
UD
176592011-05-07 Ulrich Drepper <drepper@gmail.com>
17660
17661 [BZ #12734]
17662 * resolv/resolv.h: Define RES_NOTLDQUERY.
17663 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
17664 no-tld-query and set RES_NOTLDQUERY.
17665 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
17666 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
17667 modern BIND to search name as TLD unless forbidden.
17668
47c3cd7a
UD
176692011-05-07 Petr Baudis <pasky@suse.cz>
17670 Ulrich Drepper <drepper@gmail.com>
17671
17672 [BZ #12393]
17673 * elf/dl-load.c (fillin_rpath): Move trusted path check...
17674 (is_trusted_path): ...to here.
c1e9ea35 17675 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 17676 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 17677 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 17678
8a35c912
PP
176792011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17680
17681 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
17682 __BEGIN/__END_DECLS.
17683
acd41f47
UD
176842011-05-06 Ulrich Drepper <drepper@gmail.com>
17685
17686 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
17687 NSS_STATUS_NOTFOUND if no record was found.
17688
597df647
AS
176892011-05-05 Andreas Schwab <schwab@redhat.com>
17690
17691 * sunrpc/Makefile (headers): Add rpc/netdb.h.
17692 (headers-not-in-tirpc): Remove rpc/netdb.h
17693 * resolv/netdb.h: Revert last change.
17694
b9af1301
PP
176952011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17696
17697 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
17698 circular dependency between libgcc.a and libc.a.
17699
4e34d5f5
AS
177002011-05-05 Andreas Schwab <schwab@redhat.com>
17701
17702 * resolv/netdb.h: Don't include <rpc/netdb.h>.
17703 * nis/Makefile: Don't install rpcsvc/*.
17704 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
17705 instead of <rpc/types.h>.
17706 (MAXHOSTNAMELEN): Define.
17707
00ee369c
AS
177082011-05-03 Andreas Schwab <schwab@redhat.com>
17709
17710 * elf/ldconfig.c (add_dir): Don't crash on empty path.
17711
0b592a30
MB
177122011-04-28 Maciej Babinski <mbabinski@google.com>
17713
17714 [BZ #12714]
17715 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
17716 gethostbyname4_r when IPv6 results are possible.
17717
6e04cbbe
UD
177182011-05-02 Ulrich Drepper <drepper@gmail.com>
17719
17720 [BZ #12723]
17721 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
17722 _PC_PIPE_BUF handling.
17723
e4ecafe0
BH
177242011-04-30 Bruno Haible <bruno@clisp.org>
17725
17726 [BZ #12717]
17727 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
17728 * resolv/netdb.h (getnameinfo): Change type of flags parameter
17729 to 'int'.
17730 * inet/getnameinfo.c (getnameinfo): Likewise.
17731
125ee683
UD
177322011-04-29 Ulrich Drepper <drepper@gmail.com>
17733
17734 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
17735 to groups setting in database lookup.
17736 * nss/nsswitch.conf: Add initgroups entry.
17737
b722481a
EB
177382011-04-22 Ulrich Drepper <drepper@gmail.com>
17739
17740 [BZ #12685]
17741 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
17742 mode string.
17743 Patch by Eric Blake <eblake@redhat.com>.
17744
4df46dbd
L
177452011-04-20 H.J. Lu <hongjiu.lu@intel.com>
17746
17747 * sunrpc/Makefile (need-export-routines): Add svc_run.
17748 (routines): Remove svc_run.
17749 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
17750 * sunrpc/clnt_perr.c (clnt_perrno): Export.
17751 * sunrpc/svc_run.c (svc_run): Likewise.
17752 * sunrpc/svc_udp.c (svcudp_create): Likewise.
17753
e84142d2
UD
177542011-04-21 Ulrich Drepper <drepper@gmail.com>
17755
17756 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
17757 problem in reallocation in last patch.
17758
877175d8
UD
177592011-04-20 Ulrich Drepper <drepper@gmail.com>
17760
17761 * sunrpc/Makefile: Move inclusion of Rules.
17762
ab8eed78
UD
177632011-04-19 Ulrich Drepper <drepper@gmail.com>
17764
17765 * nss/nss_files/files-initgroups.c: New file.
17766 * nss/Makefile (libnss_files-routines): Add files-initgroups.
17767 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
17768 _nss_files_initgroups_dyn.
17769
e3d8f584
RS
177702011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
17771
17772 * elf/elf.h (R_ARM_IRELATIVE): Define.
17773
af190f45
UD
177742011-04-19 Ulrich Drepper <drepper@gmail.com>
17775
17776 * po/ru.po: Update from translation team.
17777
53cf59ef
UD
177782011-04-17 Ulrich Drepper <drepper@gmail.com>
17779
17780 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
17781 dependencies.
17782
4c559bcd
MF
177832011-02-06 Mike Frysinger <vapier@gentoo.org>
17784
17785 [BZ #12653]
17786 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
17787 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
17788 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17789 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17790 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17791
4420675c
AS
177922011-03-28 Andreas Schwab <schwab@linux-m68k.org>
17793
17794 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
17795 differing bytes.
17796 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17797 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17798 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17799
75ea32ab
UD
178002011-04-17 Ulrich Drepper <drepper@gmail.com>
17801
17802 [BZ #12420]
17803 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
17804 storing it.
17805 * stdlib/bug-getcontext.c: New file.
17806 * stdlib/Makefile: Add rules to build and run bug-getcontext.
17807
27390476
AK
178082011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17809
17810 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
17811 instructions into .machine "z9-109".
17812 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
17813 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
17814
10442705
AK
178152011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17816
17817 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
17818 between environment variables and auxiliary vector.
17819
7b57bfe5
UD
178202011-04-16 Ulrich Drepper <drepper@gmail.com>
17821
17822 * Makefile: Add rules to build linkobj/libc.so.
17823 * include/libc-symbols.h: Define libc_hidden_nolink.
17824 * include/rpc/auth.h: Mark functions which are to be hidden.
17825 * include/rpc/auth_des.h: Likewise.
17826 * include/rpc/auth_unix.h: Likewise.
17827 * include/rpc/clnt.h: Likewise.
17828 * include/rpc/des_crypt.h: Likewise.
17829 * include/rpc/key_prot.h: Likewise.
17830 * include/rpc/pmap_clnt.h: Likewise.
17831 * include/rpc/pmap_prot.h: Likewise.
17832 * include/rpc/pmap_rmt.h: Likewise.
17833 * include/rpc/rpc_msg.h: Likewise.
17834 * include/rpc/svc.h: Likewise.
17835 * include/rpc/svc_auth.h: Likewise.
17836 * include/rpc/xdr.h: Likewise.
17837 * nis/Makefile: Link all DSOs against linkobj/libc.so.
17838 * nss/Makefile: Likewise.
17839 * sunrpc/Makefile: Don't install headers. Build library with normal
17840 entry points. Don't build rpcinfo. Link RPC tests appropriately.
17841 * sunrpc/auth_des.c: Hide exported symbols by default, export some
17842 for the compat linking library. Remove use of INTDEF/INTUSE.
17843 * sunrpc/auth_none.c: Likewise.
17844 * sunrpc/auth_unix.c: Likewise.
17845 * sunrpc/authdes_prot.c: Likewise.
17846 * sunrpc/authuxprot.c: Likewise.
17847 * sunrpc/clnt_gen.c: Likewise.
17848 * sunrpc/clnt_perr.c: Likewise.
17849 * sunrpc/clnt_raw.c: Likewise.
17850 * sunrpc/clnt_simp.c: Likewise.
17851 * sunrpc/clnt_tcp.c: Likewise.
17852 * sunrpc/clnt_udp.c: Likewise.
17853 * sunrpc/clnt_unix.c: Likewise.
17854 * sunrpc/des_crypt.c: Likewise.
17855 * sunrpc/des_soft.c: Likewise.
17856 * sunrpc/get_myaddr.c: Likewise.
17857 * sunrpc/key_call.c: Likewise.
17858 * sunrpc/key_prot.c: Likewise.
17859 * sunrpc/netname.c: Likewise.
17860 * sunrpc/pm_getmaps.c: Likewise.
17861 * sunrpc/pm_getport.c: Likewise.
17862 * sunrpc/pmap_clnt.c: Likewise.
17863 * sunrpc/pmap_prot.c: Likewise.
17864 * sunrpc/pmap_prot2.c: Likewise.
17865 * sunrpc/pmap_rmt.c: Likewise.
17866 * sunrpc/publickey.c: Likewise.
17867 * sunrpc/rpc_cmsg.c: Likewise.
17868 * sunrpc/rpc_common.c: Likewise.
17869 * sunrpc/rpc_dtable.c: Likewise.
17870 * sunrpc/rpc_prot.c: Likewise.
17871 * sunrpc/rpc_thread.c: Likewise.
17872 * sunrpc/rtime.c: Likewise.
17873 * sunrpc/svc.c: Likewise.
17874 * sunrpc/svc_auth.c: Likewise.
17875 * sunrpc/svc_authux.c: Likewise.
17876 * sunrpc/svc_raw.c: Likewise.
17877 * sunrpc/svc_run.c: Likewise.
17878 * sunrpc/svc_simple.c: Likewise.
17879 * sunrpc/svc_tcp.c: Likewise.
17880 * sunrpc/svc_udp.c: Likewise.
17881 * sunrpc/svc_unix.c: Likewise.
17882 * sunrpc/svcauth_des.c: Likewise.
17883 * sunrpc/xcrypt.c: Likewise.
17884 * sunrpc/xdr.c: Likewise.
17885 * sunrpc/xdr_array.c: Likewise.
17886 * sunrpc/xdr_float.c: Likewise.
17887 * sunrpc/xdr_intXX_t.c: Likewise.
17888 * sunrpc/xdr_mem.c: Likewise.
17889 * sunrpc/xdr_rec.c: Likewise.
17890 * sunrpc/xdr_ref.c: Likewise.
17891 * sunrpc/xdr_sizeof.c: Likewise.
17892 * sunrpc/xdr_stdio.c: Likewise.
17893
e6c61494
UD
178942011-04-10 Ulrich Drepper <drepper@gmail.com>
17895
17896 [BZ #12650]
17897 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
17898 * sysdeps/ia64/dl-tls.h: Likewise.
17899 * sysdeps/powerpc/dl-tls.h: Likewise.
17900 * sysdeps/s390/dl-tls.h: Likewise.
17901 * sysdeps/sh/dl-tls.h: Likewise.
17902 * sysdeps/sparc/dl-tls.h: Likewise.
17903 * sysdeps/x86_64/dl-tls.h: Likewise.
17904 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
17905
34fe483e
AS
179062011-03-14 Andreas Schwab <schwab@redhat.com>
17907
17908 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
17909 rpath element also skip the following colon.
17910 (expand_dynamic_string_token): Add is_path parameter and pass
17911 down to DL_DST_REQUIRED and _dl_dst_substitute.
17912 (decompose_rpath): Call expand_dynamic_string_token with
17913 non-zero is_path. Ignore empty rpaths.
17914 (_dl_map_object_from_fd): Call expand_dynamic_string_token
17915 with zero is_path.
17916
f12a32e6
AS
179172011-04-08 Andreas Schwab <schwab@linux-m68k.org>
17918
17919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17920 Make cancelable.
17921
38a7d692
UD
179222011-04-09 Ulrich Drepper <drepper@gmail.com>
17923
17924 [BZ #12655]
17925 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
17926 Patch by Filipe David Manana <fdmanana@apache.org>.
17927
e451d22b
AS
179282011-04-07 Andreas Schwab <schwab@redhat.com>
17929
17930 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
17931 Maintain aligned stack.
17932 (CHECK_RSP): Remove unused macro.
17933
dedc7c7b
UD
179342011-04-03 Ulrich Drepper <drepper@gmail.com>
17935
17936 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
17937 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
17938
94521213
UD
179392011-04-02 Ulrich Drepper <drepper@gmail.com>
17940
17941 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
17942
8cb700c0 17943 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 17944
0354e355
L
179452011-03-26 H.J. Lu <hongjiu.lu@intel.com>
17946
17947 [BZ #12518]
17948 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
17949 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
17950 * sysdeps/x86_64/memmove.c: New file.
17951 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
17952 (memcpy): Renamed to ...
17953 (__new_memcpy): This.
17954 (memcpy): Provide GLIBC_2_14 memcpy.
17955 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
17956 (memcpy): Provide GLIBC_2_2_5 memcpy.
17957
8593482f
UD
179582011-04-01 Ulrich Drepper <drepper@gmail.com>
17959
17960 [BZ #12631]
17961 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
17962
81a5726b
AS
179632011-03-30 Andreas Schwab <schwab@redhat.com>
17964
17965 * misc/syncfs.c: New file.
17966 * misc/Makefile (routines): Add syncfs.
17967 * posix/unistd.h: Declare syncfs.
17968 * sysdeps/unix/syscalls.list: Add syncfs.
17969
00e5419f
AS
179702011-04-01 Andreas Schwab <schwab@redhat.com>
17971
17972 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
17973 open_by_handle_at.
17974 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17975 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17976 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17977 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17978 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17979 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
17980 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17981
748876bf
UD
179822011-04-01 Ulrich Drepper <drepper@gmail.com>
17983
658e451d
UD
17984 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
17985 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17986 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
17987 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17988 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17989 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17990 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17991
748876bf
UD
17992 * io/Makefile: Compile fallocate.c, fallocate64.c, and
17993 sync_file_range.c with -fexceptions.
17994 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
17995 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
17996 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17997 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17998 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
17999 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
18000 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
18001 sync_file_range as cancellation point
18002 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
18003 now a wrapper around __call_sync_file_range with cancellation handling.
18004 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
18005 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
18006 function name to __call_sync_file_range.
18007 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
18008 Add call_sync_file_range.
748876bf 18009
6e63d5e1
AS
180102011-04-01 Andreas Schwab <schwab@redhat.com>
18011
18012 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 18013 bits/timex.h.
6e63d5e1 18014
46998f74
UD
180152011-04-01 Ulrich Drepper <drepper@gmail.com>
18016
4c1423ed
UD
18017 * iconv/iconv.h: Fix typo in comment.
18018 * io/fcntl.h: Likewise.
18019 * libio/stdio.h: Likewise.
18020 * posix/spawn.h: Likewise.
18021 * posix/unistd.h: Likewise.
18022 * stdlib/stdlib.h: Likewise.
18023 * time/time.h: Likewise.
18024 * wcsmbs/wchar.h: Likewise.
18025
158648c0
UD
18026 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
18027 open_by_handle): Add.
18028 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
18029 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
18030 Augment a few comments.
18031 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18032 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18033 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18034 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18035 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18036 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
18037 open_by_handle.
18038
46998f74
UD
18039 * io/fcntl.h (AT_EMPTY_PATH): Define.
18040
83fe108b
UD
180412011-03-30 Ulrich Drepper <drepper@gmail.com>
18042
18043 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
18044 * sysdeps/unix/sysv/linux/bits/time.h: New file.
18045 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
18046 to...
18047 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
18048 * Versions.def: Add GLIBC_2.14.
18049 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
18050 Export.
83fe108b 18051
bb242059
UD
180522011-03-22 Ulrich Drepper <drepper@gmail.com>
18053
18054 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
18055 round counter.
18056 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18057
c97a1282
L
180582011-03-20 H.J. Lu <hongjiu.lu@intel.com>
18059
18060 [BZ #12597]
18061 * string/test-strncmp.c (do_page_test): New function.
18062 (check2): Likewise.
18063 (test_main): Call check2.
18064 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
18065
2a115601
UD
180662011-03-20 Ulrich Drepper <drepper@gmail.com>
18067
18068 [BZ #12587]
18069 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
18070 Handle cache information in CPU leaf 4.
18071 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18072
8126d904
UD
180732011-03-18 Ulrich Drepper <drepper@gmail.com>
18074
042c49c6 18075 [BZ #12583]
8126d904
UD
18076 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
18077 character representation.
18078 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
18079
ccfe366e
RA
180802011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
18081
18082 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
18083 END(__isnan) to END(__isnanf) to match function entry point/label
18084 EALIGN(__isnanf,...).
18085
c6e13027
JJ
180862011-03-10 Jakub Jelinek <jakub@redhat.com>
18087
18088 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
18089
33f85a3f
UD
180902011-03-10 Ulrich Drepper <drepper@gmail.com>
18091
028478fa
UD
18092 [BZ #12510]
18093 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
18094 copy from the symbol referenced in the relocation to initialize the
18095 used variable.
18096 Patch by Piotr Bury <pbury@goahead.com>.
18097 * elf/Makefile: Add rules to build and tst-unique3.
18098 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
18099 * elf/tst-unique3.cc: New file.
18100 * elf/tst-unique3.h: New file.
18101 * elf/tst-unique3lib.cc: New file.
18102 * elf/tst-unique3lib2.cc: New file.
18103
33f85a3f
UD
18104 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
18105
03592fc7
MF
181062011-03-10 Mike Frysinger <vapier@gentoo.org>
18107
18108 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
18109 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
18110 to _start.
03592fc7 18111
6a5ee102
UD
181122011-03-06 Ulrich Drepper <drepper@gmail.com>
18113
18114 * elf/dl-load.c (_dl_map_object): If we are looking for the first
18115 to-be-loaded object along a path to loader is ld.so.
18116
7e4ba49c
HJ
181172011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18118 Ulrich Drepper <drepper@gmail.com>
18119
18120 * sysdeps/x86_64/memset.S: After aligning destination, code
18121 branches to different locations depending on the value of
18122 misalignment, when multiarch is enabled. Fix this.
18123
181242011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18125
18126 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
18127 Set _x86_64_preferred_memory_instruction for AMD processsors.
18128 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18129 Set bit_Prefer_SSE_for_memop for AMD processors.
18130
13a804de
UD
181312011-03-04 Ulrich Drepper <drepper@gmail.com>
18132
18133 * libio/fmemopen.c (fmemopen): Optimize a bit.
18134
9d25c392
AS
181352011-03-03 Andreas Schwab <schwab@redhat.com>
18136
18137 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
18138
a5543c6a
RM
181392011-03-03 Roland McGrath <roland@redhat.com>
18140
18141 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
18142
012d35f7
DM
181432011-02-28 Aurelien Jarno <aurelien@aurel32.net>
18144
7e4ba49c 18145 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
18146 __bzero_ultra1 instead of __memset_ultra1.
18147
4bff6e01
AS
181482011-02-23 Andreas Schwab <schwab@redhat.com>
18149 Ulrich Drepper <drepper@gmail.com>
18150
18151 [BZ #12509]
18152 * include/link.h (struct link_map): Add l_orig_initfini.
18153 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
18154 returning unsuccessfully.
18155 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
18156 close of a file loaded at startup, restore the original l_initfini
18157 list.
18158 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
18159 list, store the pointer.
18160 * elf/Makefile ($(objpfx)noload-mem): New rule.
18161 (noload-ENV): Define.
18162 (tests): Add $(objpfx)noload-mem.
18163 * elf/noload.c: Include <memcheck.h>.
18164 (main): Call mtrace. Close all opened handles.
18165
f2092faf
AS
181662011-02-17 Andreas Schwab <schwab@redhat.com>
18167
18168 [BZ #12454]
18169 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
18170 dependencies are missing.
18171
6c8a2e88
ST
181722011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
18173
f2092faf 18174 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
18175 Hurd needs munmap.
18176 * sysdeps/mach/hurd/ifreq.h: New file.
18177
84a42118
PB
181782011-01-27 Petr Baudis <pasky@suse.cz>
18179 Ulrich Drepper <drepper@gmail.com>
18180
071f805e 18181 [BZ 12445]#
84a42118
PB
18182 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
18183 to extend_alloca().
18184 * stdio-common/bug23.c: New file.
18185 * stdio-common/Makefile (tests): Add bug23.
18186
e23fe25b
AS
181872010-09-28 Andreas Schwab <schwab@redhat.com>
18188 Ulrich Drepper <drepper@gmail.com>
18189
18190 [BZ #12489]
18191 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
18192 before performing relro protection. At old place add assertion
18193 to make sure nothing changed.
18194
d3f02e10
NS
181952011-02-17 Nathan Sidwell <nathan@codesourcery.com>
18196 Glauber de Oliveira Costa <glommer@gmail.com>
18197
18198 * elf/elf.h: Add new ARM TLS relocs.
18199
d55fd7a5
RA
182002011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
18201
18202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18203 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
18204 cast from r3.
18205 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
18206 'tests' variable.
18207 * sysdeps/wordsize-64/tst-writev.c: New file.
18208
2206397e
RA
182092011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
18210
18211 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
18212 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
18213 insns in _dl_start to prevent a TOC reference before relocs are
18214 resolved.
18215
e9433893
UD
182162011-02-15 Ulrich Drepper <drepper@gmail.com>
18217
18218 [BZ #12469]
18219 * Makeconfig: Remove RANLIB definition.
18220 * Makerules: Don't use RANLIB.
18221 * aclocal.m4: Remove ranlib test.
18222 * configure.in: No need to check for ranlib.
18223 * elf/rtld-Rules: Don't use RANLIB.
18224
f75286c6
ST
182252011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18226
8e31c82d
ST
18227 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
18228 protection macro.
18229 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
18230 inclusion protection macro.
18231
f75286c6
ST
18232 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
18233 SIGRTMIN and SIGRTMAX and print information in that case only when
18234 SIGRTMIN is defined.
18235
c1d0e639
JJ
182362011-02-11 Jakub Jelinek <jakub@redhat.com>
18237
18238 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
18239 arginfo fn returning -1.
18240
18241 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
18242 and thousands string is zero terminated.
18243
edf9294e
AS
182442011-02-03 Andreas Schwab <schwab@redhat.com>
18245
18246 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
18247 sysdeps/unix/sysv/linux/bits/socket.h.
18248
2b7e92df
ST
182492011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
18250
edf9294e
AS
18251 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
18252 (__CPU_COUNT): Remove old macros.
18253 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
18254 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
18255 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
18256 (__sched_cpualloc, __sched_cpufree): Add declarations.
18257
a4c7ea7b
UD
182582011-02-05 Ulrich Drepper <drepper@gmail.com>
18259
18260 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
18261 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
18262 * nscd/aicache.c (addhstaiX): Return timeout of added value.
18263 (readdhstai): Return value of addhstaiX call.
18264 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
18265 (addgrbyX): Return value returned by cache_addgr.
18266 (readdgrbyname): Return value returned by addgrbyX.
18267 (readdgrbygid): Likewise.
18268 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
18269 (addpwbyX): Return value returned by cache_addpw.
18270 (readdpwbyname): Return value returned by addhstbyX.
18271 (readdpwbyuid): Likewise.
18272 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
18273 (addservbyX): Return value returned by cache_addserv.
18274 (readdservbyname): Return value returned by addservbyX:
18275 (readdservbyport): Likewise.
18276 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
18277 (addhstbyX): Return value returned by cache_addhst.
18278 (readdhstbyname): Return value returned by addhstbyX.
18279 (readdhstbyaddr): Likewise.
18280 (readdhstbynamev6): Likewise.
18281 (readdhstbyaddrv6): Likewise.
18282 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
18283 (readdinitgroups): Return value returned by addinitgroupsX.
18284 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
18285 (prune_cache): Keep track of timeout value of re-added entries.
18286 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
18287 * nscd/nscd.h: Adjust prototypes of readd* functions.
18288
a0bf67cc
RM
182892011-02-04 Roland McGrath <roland@redhat.com>
18290
18291 * nis/nis_server.c (nis_servstate): Use the right name for 0.
18292 (nis_stats): Likewise.
18293 * nis/nis_modify.c (nis_modify): Likewise.
18294 * nis/nis_remove.c (nis_remove): Likewise.
18295 * nis/nis_add.c (nis_add): Likewise.
18296
18297 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
18298
18299 * posix/fnmatch_loop.c: Add some consts.
18300
18301 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
18302
435b95eb
L
183032011-02-02 H.J. Lu <hongjiu.lu@intel.com>
18304
18305 [BZ #12460]
18306 * config.make.in (config-cflags-novzeroupper): Define.
18307 * configure.in: Substitute libc_cv_cc_novzeroupper.
18308 * elf/Makefile (AVX-CFLAGS): Define.
18309 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
18310 (CFLAGS-tst-auditmod4a.c): Likewise.
18311 (CFLAGS-tst-auditmod4b.c): Likewise.
18312 (CFLAGS-tst-auditmod6b.c): Likewise.
18313 (CFLAGS-tst-auditmod6c.c): Likewise.
18314 (CFLAGS-tst-auditmod7b.c): Likewise.
18315 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
18316
8517b15e
UD
183172011-02-02 Ulrich Drepper <drepper@gmail.com>
18318
18319 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
18320 function to the callback.
18321 Patch partly by Jiri Olsa <jolsa@redhat.com>.
18322
10a656fe
AS
183232011-02-02 Andreas Schwab <schwab@redhat.com>
18324
18325 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
18326 of errno.
18327
968dad0a
UD
183282011-01-19 Ulrich Drepper <drepper@gmail.com>
18329
9f94d2ea 18330 [BZ #11724]
968dad0a
UD
18331 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
18332 of constructors.
18333 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
18334 of destructors.
18335 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
18336
18337 [BZ #11724]
18338 * elf/Makefile: Add rules to build and run new test.
18339 * elf/tst-initorder.c: New file.
18340 * elf/tst-initorder.exp: New file.
18341 * elf/tst-initordera1.c: New file.
18342 * elf/tst-initordera2.c: New file.
18343 * elf/tst-initordera3.c: New file.
18344 * elf/tst-initordera4.c: New file.
18345 * elf/tst-initorderb1.c: New file.
18346 * elf/tst-initorderb2.c: New file.
18347 * elf/tst-order-a1.c: New file.
18348 * elf/tst-order-a2.c: New file.
18349 * elf/tst-order-a3.c: New file.
18350 * elf/tst-order-a4.c: New file.
18351 * elf/tst-order-b1.c: New file.
18352 * elf/tst-order-b2.c: New file.
18353 * elf/tst-order-main.c: New file.
18354 New test case by George Gensure <werkt0@gmail.com>.
18355
86e92359
UD
183562010-10-01 Andreas Schwab <schwab@redhat.com>
18357
18358 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18359 decoding ACE if AI_CANONIDN.
18360
5d5732b0
UD
183612011-01-18 Ulrich Drepper <drepper@gmail.com>
18362
18363 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
18364
a77e8cbc
UD
183652011-01-17 Ulrich Drepper <drepper@gmail.com>
18366
6392473f
UD
18367 * version.h (RELEASE): Bump for 2.13 release.
18368 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
18369
620a0529
UD
18370 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
18371
18ba70a5
UD
18372 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
18373 MADV_NOHUGEPAGE.
32465c3e
UD
18374 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
18375 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18376 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18377 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
18378 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18379 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18380
c0dafcf1
UD
18381 * posix/getconf.c: Update copyright year.
18382 * catgets/gencat.c: Likewise.
18383 * csu/version.c: Likewise.
18384 * debug/catchsegv.sh: Likewise.
18385 * debug/xtrace.sh: Likewise.
18386 * elf/ldconfig.c: Likewise.
18387 * elf/ldd.bash.in: Likewise.
18388 * elf/sprof.c (print_version): Likewise.
18389 * iconv/iconv_prog.c: Likewise.
18390 * iconv/iconvconfig.c: Likewise.
18391 * locale/programs/locale.c: Likewise.
18392 * locale/programs/localedef.c: Likewise.
18393 * malloc/memusage.sh: Likewise.
18394 * malloc/mtrace.pl: Likewise.
18395 * nscd/nscd.c (print_version): Likewise.
18396 * nss/getent.c: Likewise.
18397
a77e8cbc
UD
18398 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
18399 PF_CAIF, and PF_ALG.
18400 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18401
77e8bddf
AS
184022011-01-16 Andreas Schwab <schwab@linux-m68k.org>
18403
1f20b93a
AS
18404 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
18405 (modules-names): Use them.
18406 (ifunc-test-modules, ifunc-pie-tests): Define.
18407 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
18408 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
18409 (test-extras): Likewise.
18410 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
18411 $(compile-command.c).
18412 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
18413 (all-built-dso): Define.
18414 (check-textrel.out, check-execstack.out): Depend on it.
18415
77e8bddf
AS
18416 * configure.in: Don't override --enable-multi-arch.
18417
bc425b33
UD
184182011-01-15 Ulrich Drepper <drepper@gmail.com>
18419
18420 [BZ #6812]
18421 * nscd/hstcache.c (tryagain): Define.
18422 (cache_addhst): Return tryagain not notfound for temporary errors.
18423 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
18424 failed.
18425
794c3ad3
UD
184262011-01-14 Ulrich Drepper <drepper@gmail.com>
18427
70181fdd
UD
18428 [BZ #10563]
18429 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
18430 to make the syscall.
18431 * sysdeps/unix/sysv/linux/setgroups.c: New file.
18432
794c3ad3
UD
18433 [BZ #12378]
18434 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
18435 and fall back to matching as normal character if the string ends before
18436 the matching ']' is found. This is what POSIX requires.
18437 * posix/testfnm.c: Adjust test result.
18438 * posix/globtest.sh: Adjust test result. Add new test.
18439 * posix/tst-fnmatch.input: Likewise.
18440 * posix/tst-fnmatch2.c: Add new test.
18441
68dc9497
AS
184422010-12-28 Andreas Schwab <schwab@linux-m68k.org>
18443
18444 * elf/Makefile (check-execstack): Revert last change. Depend on
18445 check-execstack.h.
18446 (check-execstack.h): New target.
18447 (generated): Add check-execstack.h.
18448 * elf/check-execstack.c: Include "check-execstack.h".
18449 (main): Revert last change.
18450 (handle_file): Return zero if GNU_STACK is absent and
18451 DEFAULT_STACK_PERMS doesn't include PF_X.
18452
451f001b
UD
184532011-01-13 Ulrich Drepper <drepper@gmail.com>
18454
cfa28e56
UD
18455 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
18456 in child fails because the descriptor is already closed.
8cf8ce17
UD
18457 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
18458 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
18459 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 18460
1086d70d
UD
18461 [BZ #12397]
18462 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
18463 syscall.
18464
451f001b
UD
18465 [BZ #10484]
18466 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
18467 temporary buffer used to handle multi lookups locally.
a85b5cb4 18468 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 18469
08769175
UD
184702011-01-12 Ulrich Drepper <drepper@gmail.com>
18471
18472 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
18473 loader is ld.so.
18474
5e49c52e
UD
184752011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
18476
18477 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
18478 alignment for SSE2.
18479
60522a5f
UD
184802011-01-12 Ulrich Drepper <drepper@gmail.com>
18481
18482 [BZ #12394]
18483 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
18484 characters. When rounding increased number of integer digits recompute
18485 number of groups.
18486 * stdio-common/tst-grouping.c: New file.
18487 * stdio-common/Makefile: Add rules to build and run tst-grouping.
18488
f257bbd7
UD
184892011-01-09 Ulrich Drepper <drepper@gmail.com>
18490
18491 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
18492 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
18493
18494 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
18495 void.
18496 * bits/select.h: Likewise.
18497
fa9c15cb
UD
184982011-01-08 Ulrich Drepper <drepper@gmail.com>
18499
18500 * po/ja.po: Update from translation team.
18501
16c2895f
DM
185022011-01-04 David S. Miller <davem@sunset.davemloft.net>
18503
18504 [BZ #11155]
18505 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
18506 implementation just like for lxstat, fxstatat, et al.
18507
2543fef2
JM
185082010-12-27 Jim Meyering <meyering@redhat.com>
18509
18510 [BZ #12348]
18511 * posix/regexec.c (build_trtable): Return failure indication upon
18512 calloc failure. Otherwise, re_search_internal could infloop on OOM.
18513
98727dbe
UD
185142010-12-25 Ulrich Drepper <drepper@gmail.com>
18515
5bd6dc5c
UD
18516 [BZ #12201]
18517 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
18518 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
18519 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
18520 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
18521
97983464
UD
18522 [BZ #12207]
18523 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
18524
98727dbe
UD
18525 [BZ #12204]
18526 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
18527 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
18528
4a531bb0
L
185292010-12-15 H.J. Lu <hongjiu.lu@intel.com>
18530
18531 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
18532 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
18533 script has SORT_BY_INIT_PRIORITY.
18534 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
18535 NO_CTORS_DTORS_SECTIONS is defined.
18536 * elf/soinit.c: Likewise.
18537 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
18538 NO_CTORS_DTORS_SECTIONS is defined.
18539 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
18540 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
18541 * sysdeps/sh/init-first.c: Likewise.
18542 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
18543
07eb4b71
UD
185442010-12-24 Ulrich Drepper <drepper@gmail.com>
18545
18546 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
18547 always use the slow path.
18548
30950a5f
RA
185492010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
18550
18551 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
18552 similar rule which adds the sysdep directories to the header search in
18553 order to pick up the correct platform stackinfo.h.
18554 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
18555 perform test if it is, otherwise return successfully without testing.
18556 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
18557 DEFAULT_STACK_PERMS define in stackinfo.h.
18558 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
18559 defined in stackinfo.h.
18560 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
18561 DEFAULT_STACK_PERMS defined in stackinfo.h.
18562 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
18563 * sysdeps/ia64/stackinfo.h: Likewise.
18564 * sysdeps/s390/stackinfo.h: Likewise.
18565 * sysdeps/sh/stackinfo.h: Likewise.
18566 * sysdeps/sparc/stackinfo.h: Likewise.
18567 * sysdeps/x86_64/stackinfo.h: Likewise.
18568 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
18569 PF_X for powerpc64. Retain PF_X for powerpc32.
18570
db753e2c
UD
185712010-12-19 Ulrich Drepper <drepper@gmail.com>
18572
14b697f7
UD
18573 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
18574 accurately.
db753e2c
UD
18575 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
18576 GETDENTS_64BIT_ALIGNED.
18577
28300719
UD
185782010-12-14 Ulrich Drepper <dreper@gmail.com>
18579
14b697f7 18580 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 18581
4f197237
AS
185822010-12-10 Andreas Schwab <schwab@redhat.com>
18583
dbb0472f
AS
18584 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
18585 _GNU_SOURCE.
18586
4f197237
AS
18587 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
18588 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
18589 Remove __restrict.
18590 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
18591 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
18592
fb88ac72
UD
185932010-12-09 Ulrich Drepper <drepper@gmail.com>
18594
18595 [BZ #11655]
18596 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
18597 are initialized.
18598
42acbb92
JJ
185992010-12-09 Jakub Jelinek <jakub@redhat.com>
18600
18601 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
18602
c038d98d
UD
186032010-12-03 Ulrich Drepper <drepper@gmail.com>
18604
18605 * po/it.po: Update from translation team.
18606
3a4a2499
L
186072010-12-01 H.J. Lu <hongjiu.lu@intel.com>
18608
18609 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
18610 unused codes.
18611
1e24cf6e
UD
186122010-11-30 Ulrich Drepper <drepper@gmail.com>
18613
18614 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
18615
a7690819
AS
186162010-11-24 Andreas Schwab <schwab@redhat.com>
18617
18618 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
18619 specially.
18620 (gaih_getanswer_slice): Likewise.
18621
3bf8d1b1
JJ
186222010-10-20 Jakub Jelinek <jakub@redhat.com>
18623
18624 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
18625
6db52fbb
PB
186262010-05-31 Petr Baudis <pasky@suse.cz>
18627
18628 [BZ #11149]
18629 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
18630 silently even in the chroot mode.
18631
eaca7569
UD
186322010-11-22 Ulrich Drepper <drepper@gmail.com>
18633
18634 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
18635 last patch a bit. Pretty printing
18636
3056dcdb
UD
186372010-05-31 Petr Baudis <pasky@suse.cz>
18638
18639 [BZ #10085]
18640 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
18641 initialization of skip_initgroups_dyn.
18642
cf7c9078
UD
186432010-11-19 Ulrich Drepper <drepper@gmail.com>
18644
18645 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
18646 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18647
a1fb5e3e
UD
186482010-11-16 Ulrich Drepper <drepper@gmail.com>
18649
18650 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
18651
3540d66b
AS
186522010-11-11 Andreas Schwab <schwab@redhat.com>
18653
18654 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
18655 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
18656 (tst-fnmatch-ENV): Set MALLOC_TRACE.
18657 ($(objpfx)tst-fnmatch-mem): New rule.
18658 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
18659 * posix/tst-fnmatch.c (main): Call mtrace.
18660
13b69574
L
186612010-11-11 H.J. Lu <hongjiu.lu@intel.com>
18662
18663 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18664 Support Intel processor model 6 and model 0x2c.
18665
da93d214
LM
186662010-11-10 Luis Machado <luisgpm@br.ibm.com>
18667
18668 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
18669 signed comparison.
18670
8ca52c6e
L
186712010-11-09 H.J. Lu <hongjiu.lu@intel.com>
18672
18673 [BZ #12205]
18674 * string/test-strncasecmp.c (check_result): New function.
18675 (do_one_test): Use it.
18676 (check1): New function.
18677 (test_main): Use it.
18678 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
18679 Support strcasecmp and strncasecmp.
18680
69da074d
UD
186812010-11-08 Ulrich Drepper <drepper@gmail.com>
18682
18683 [BZ #12194]
18684 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
18685 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18686
ff02d528
L
186872010-11-07 H.J. Lu <hongjiu.lu@intel.com>
18688
18689 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
18690 IFUNC support.
18691 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18692 memset-x86-64.
18693 * sysdeps/x86_64/multiarch/bzero.S: New file.
18694 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
18695 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
18696 * sysdeps/x86_64/multiarch/memset.S: New file.
18697 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
18698 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18699 Set bit_Prefer_SSE_for_memop for Intel processors.
18700 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
18701 Define.
18702 (index_Prefer_SSE_for_memop): Define.
18703 (HAS_PREFER_SSE_FOR_MEMOP): Define.
18704
344d0b54
LM
187052010-11-04 Luis Machado <luisgpm@br.ibm.com>
18706
18707 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
18708 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
18709
c0dde15b
UD
187102010-11-03 H.J. Lu <hongjiu.lu@intel.com>
18711
18712 [BZ #12191]
18713 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18714 (__x86_64_raw_data_cache_size_half): Likewise.
18715 (__x86_64_raw_shared_cache_size): Likewise.
18716 (__x86_64_raw_shared_cache_size_half): Likewise.
18717
18718 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18719 (__x86_64_raw_data_cache_size_half): Likewise.
18720 (__x86_64_raw_shared_cache_size): Likewise.
18721 (__x86_64_raw_shared_cache_size_half): Likewise.
18722 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
18723 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
18724 and __x86_64_raw_shared_cache_size_half. Round
18725 __x86_64_data_cache_size_half, __x86_64_data_cache_size
18726 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
18727 to multiple of 256 bytes.
18728
0e516e0e
MS
187292010-11-03 Ulrich Drepper <drepper@gmail.com>
18730
18731 [BZ #12167]
18732 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
18733 of inacessible symlinks. Verify result of symlink before returning it.
18734 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18735 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
18736
0e012e87
ER
187372010-10-28 Erich Ritz <erichritz@gmail.com>
18738
18739 * math/math.h (isinf): Fix typo in comment.
18740
de0ff7bc
UD
187412010-11-01 Ulrich Drepper <drepper@gmail.com>
18742
18743 * po/da.po: Update from translation team.
18744
fa41c84d
UD
187452010-10-26 Ulrich Drepper <drepper@gmail.com>
18746
18747 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
18748 is added to the list.
18749
f0967738
AK
187502010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18751 Ulrich Drepper <drepper@gmail.com>
18752
18753 * elf/dl-object.c (_dl_new_object): Don't append the new object to
18754 the global list here. Move code to...
18755 (_dl_add_to_namespace_list): ...here. New function.
18756 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
18757 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
18758 * elf/dl-load.c (lose): Don't remove the element from the list.
18759 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
18760 (_dl_map_object): Likewise.
18761
187622010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
18763
18764 [BZ #12159]
18765 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
18766 into all bytes of SSE register.
18767 Patch by Richard Li <richardpku@gmail.com>.
18768
f0967738 187692010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
18770
18771 [BZ #12140]
18772 * malloc/malloc.c (_int_free): Fill correct number of bytes when
18773 perturbing.
18774
d0b9e94f
MB
187752010-10-20 Michael B. Brutman <brutman@us.ibm.com>
18776
18777 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
18778 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
18779 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
18780 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
18782 submachine.
18783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18784
8e9f92e9
AS
187852010-10-22 Andreas Schwab <schwab@redhat.com>
18786
18787 * include/dlfcn.h (__RTLD_SECURE): Define.
18788 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
18789 mode & __RTLD_SECURE instead.
18790 (open_path): Rename preloaded parameter to secure.
18791 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
18792 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
18793 * elf/dl-deps.c (openaux): Likewise.
18794 * elf/rtld.c (struct map_args): Remove is_preloaded.
18795 (map_doit): Don't use it.
18796 (dl_main): Likewise.
18797 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
18798 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
18799
bc96fbda
AS
188002010-09-09 Andreas Schwab <schwab@redhat.com>
18801
18802 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
18803 (sysd-rules-targets): Remove duplicates.
18804 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
18805 rtld-%.$o dependency.
18806
22cd1c9b
AS
188072010-10-18 Andreas Schwab <schwab@redhat.com>
18808
18809 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
18810 _dl_map_object do it.
18811
18edac48
UD
188122010-10-19 Ulrich Drepper <drepper@gmail.com>
18813
18814 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
18815 fast fma builtins, define the macros in the C99 standard.
18816 (FP_FAST_FMAF): Likewise.
18817 (FP_FAST_FMAL): Likewise.
18818 * sysdeps/x86_64/bits/mathdef.h: Likewise.
18819
18820 * bits/mathdef.h: Update copyright year.
18821 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18822
d2050124
MM
188232010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
18824
18825 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
18826 builtins, define the macros in the C99 standard.
18827 (FP_FAST_FMAF): Likewise.
18828 (FP_FAST_FMAL): Likewise.
18829 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
18830 multiply/add.
18831 (FP_FAST_FMAF): Likewise.
18832
475facd1
JJ
188332010-10-15 Jakub Jelinek <jakub@redhat.com>
18834
18835 [BZ #3268]
18836 * math/libm-test.inc (fma_test): Some new testcases.
18837 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
18838 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
18839 y and infinite z. Do multiplication by C already in long double.
18840 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
18841 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
18842 y and infinite z. Do bitwise or of inexact bit into u.d.
18843 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
18844 * sysdeps/i386/fpu/s_fmaf.S: Removed.
18845 * sysdeps/i386/fpu/s_fma.S: Removed.
18846 * sysdeps/i386/fpu/s_fmal.S: Removed.
18847
7c08a05c
JJ
188482010-10-16 Jakub Jelinek <jakub@redhat.com>
18849
18850 [BZ #3268]
18851 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
18852 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
18853 computation is not scheduled after fetestexcept. Fix value
18854 of minimum denormal long double.
18855
f3f7372d
JJ
188562010-10-14 Jakub Jelinek <jakub@redhat.com>
18857
18858 [BZ #3268]
18859 * math/libm-test.inc (fma_test): Add some more tests.
18860 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
18861 correctly.
18862
14d43591
AS
188632010-10-15 Andreas Schwab <schwab@redhat.com>
18864
18865 * scripts/data/localplt-s390-linux-gnu.data: New file.
18866 * scripts/data/localplt-s390x-linux-gnu.data: New file.
18867
5e908464
JJ
188682010-10-13 Jakub Jelinek <jakub@redhat.com>
18869
18870 [BZ #3268]
18871 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
18872 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
18873 instead of dbl-64.
18874 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
18875 inlines.
18876 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
18877 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
18878 if one of x and y is very large and the other is subnormal.
18879 * sysdeps/s390/fpu/s_fmaf.c: New file.
18880 * sysdeps/s390/fpu/s_fma.c: New file.
18881 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
18882 * sysdeps/powerpc/fpu/s_fma.S: New file.
18883 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
18884 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
18885 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
18886
188872010-10-12 Jakub Jelinek <jakub@redhat.com>
18888
18889 [BZ #3268]
18890 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
18891 fma tests.
18892 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
18893 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
18894 * sysdeps/i386/i686/multiarch/s_fma.c: Include
18895 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
18896 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
18897 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
18898 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
18899
b833d51f
UD
189002010-10-12 Ulrich Drepper <drepper@redhat.com>
18901
18902 [BZ #12078]
18903 * posix/regcomp.c (parse_branch): One more memory leak plugged.
18904 * posix/bug-regex31.input: Add test case.
18905
1751705d
UD
189062010-10-11 Ulrich Drepper <drepper@gmail.com>
18907
e9b9cbf5
UD
18908 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
18909 * posix/bug-regex31.input: New file.
18910
18911 [BZ #12078]
18912 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
18913 (parse_sub_exp): Fix last change, use postorder.
18914
ef06edbe
UD
18915 * posix/bug-regex31.c: New file.
18916 * posix/Makefile: Add rules to build and run bug-regex31.
18917
a129c80d
UD
18918 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
18919
18920 [BZ #12078]
18921 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
18922
b76b818e
UD
18923 [BZ #12108]
18924 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
18925 to have entries in sys_siglist.
18926
1751705d
UD
18927 [BZ #12093]
18928 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
18929 be NULL.
18930
9ff8d36f
JJ
189312010-10-07 Jakub Jelinek <jakub@redhat.com>
18932
18933 [BZ #3268]
18934 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
18935 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
18936 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
18937 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
18938 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18939 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
18940 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
18941 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
18942 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
18943 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
18944 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
18945 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
18946 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18947 * math/ftestexcept.c (fetestexcept): Likewise.
18948 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
18949 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
18950 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
18951 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
18952 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
18953 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
18954 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18955
af325969
UD
189562010-10-11 Ulrich Drepper <drepper@gmail.com>
18957
c579b202 18958 [BZ #12107]
af325969
UD
18959 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
18960 newline.
18961
67a67b95
UD
189622010-10-06 Ulrich Drepper <drepper@gmail.com>
18963
18964 * string/bug-strstr1.c: New file.
18965 * string/Makefile: Add rules to build and run bug-strstr1.
18966
5fb308bc
EB
189672010-10-05 Eric Blake <eblake@redhat.com>
18968
18969 [BZ #12092]
18970 * string/str-two-way.h (two_way_long_needle): Always clear memory
18971 when skipping input due to the shift table.
18972
45db99c7
UD
189732010-10-03 Ulrich Drepper <drepper@gmail.com>
18974
3b111893
UD
18975 [BZ #12005]
18976 * malloc/mcheck.c: Handle large requests.
18977
45db99c7
UD
18978 [BZ #12077]
18979 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
18980 for strncmp and strncasecmp.
18981 * string/stratcliff.c: Add tests for strcmp and strncmp.
18982 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
18983
cf7a1eb8
NI
189842010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18985
18986 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
18987 __set_fpscr.
18988
6484ba5e
AJ
189892010-09-30 Andreas Jaeger <aj@suse.de>
18990
18991 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
18992 (CGROUP_SUPER_MAGIC): Define.
18993 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18994 Handle btrfs and cgroup file systems.
18995 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18996 Likewise.
18997
91c42559
LM
189982010-09-27 Luis Machado <luisgpm@br.ibm.com>
18999
19000 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
19001 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
19002
87a97932
AK
190032010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19004
19005 [BZ #12067]
19006 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
19007 trying to locate the ELF header.
19008
c21cc9bc
AS
190092010-09-27 Andreas Schwab <schwab@redhat.com>
19010
19011 [BZ #11611]
19012 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
19013 Mask out sign-bit copies when constructing f_fsid.
19014
315970f6
PB
190152010-09-24 Petr Baudis <pasky@suse.cz>
19016
19017 * debug/stack_chk_fail_local.c: Add missing licence exception.
19018 * debug/warning-nop.c: Likewise.
19019
1ac7a2c7
JM
190202010-09-15 Joseph Myers <joseph@codesourcery.com>
19021
19022 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
19023 implementing getdents64 using getdents syscall, set d_type if
19024 __ASSUME_GETDENTS32_D_TYPE.
19025
56801c50
AS
190262010-09-16 Andreas Schwab <schwab@redhat.com>
19027
19028 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
19029 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
19030
dda51327
UD
190312010-09-21 Ulrich Drepper <drepper@redhat.com>
19032
19033 [BZ #12037]
19034 * posix/unistd.h: Undo change of feature selection for ftruncate from
19035 2010-01-11.
19036
8ffcee4a
UD
190372010-09-20 Ulrich Drepper <drepper@redhat.com>
19038
a545ecd9 19039 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
19040 detection.
19041
e24f0a8b
AS
190422010-09-20 Andreas Schwab <schwab@redhat.com>
19043
19044 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
19045 fanotify_mark.
19046 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19047
7291c56f
AS
190482010-09-14 Andreas Schwab <schwab@redhat.com>
19049
19050 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
19051 variables after CHECK_SP call.
19052 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
19053
bc5fb037
AS
190542010-09-13 Andreas Schwab <schwab@redhat.com>
19055 Ulrich Drepper <drepper@redhat.com>
19056
19057 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
19058 re-relocationg ld.so.
19059 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
19060 _dl_init_paths call.
19061 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
19062 here anymore.
19063
e66e7419
UD
190642010-09-14 Ulrich Drepper <drepper@redhat.com>
19065
19066 * resolv/res_init.c (__res_vinit): Count the default server we added.
19067
c044aa75
CLT
190682010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
19069 Ulrich Drepper <drepper@redhat.com>
19070
19071 [BZ #11968]
19072 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19073 (____longjmp_chk): Use %ebx for saving value across system call.
19074 Add unwind info.
19075
32cf4069
AS
190762010-09-06 Andreas Schwab <schwab@redhat.com>
19077
19078 * manual/Makefile: Don't mix pattern rules with normal rules.
19079
817328ee
AS
190802010-09-05 Andreas Schwab <schwab@linux-m68k.org>
19081
19082 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
19083 operation.
19084 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
19085 * libio/iofopncook.c (_IO_cookie_init): Likewise.
19086 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
19087 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
19088 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19089 Likewise.
19090
29fddf61
UD
190912010-09-04 Ulrich Drepper <drepper@redhat.com>
19092
19093 [BZ #11979]
19094 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
19095 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
19096
0959ffc9
UD
190972010-09-02 Ulrich Drepper <drepper@redhat.com>
19098
19099 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
19100 * sysdeps/x86_64/addmul_1.S: Likewise.
19101 * sysdeps/x86_64/lshift.S: Likewise.
19102 * sysdeps/x86_64/mul_1.S: Likewise.
19103 * sysdeps/x86_64/rshift.S: Likewise.
19104 * sysdeps/x86_64/sub_n.S: Likewise.
19105 * sysdeps/x86_64/submul_1.S: Likewise.
19106
ece29840
ST
191072010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
19108
0959ffc9
UD
19109 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
19110 Define __sched_param instead of SCHED_* and sched_param when
ece29840 19111 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 19112 * bits/sched.h [__need_schedparam]
ece29840 19113 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
19114 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
19115 (__defined_schedparam): Define to 1.
ece29840
ST
19116 (__sched_param): New structure, identical to sched_param.
19117 (__need_schedparam): Undefine.
19118
e53a31fe
MF
191192010-08-31 Mike Frysinger <vapier@gentoo.org>
19120
fdc0c10d
MF
19121 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
19122 (epoll_create1): Declare.
19123
e53a31fe
MF
19124 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
19125
a726d796
AS
191262010-08-31 Andreas Schwab <schwab@redhat.com>
19127
19128 [BZ #7066]
19129 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
19130 shifting retval into place.
19131
2f3e3dc7
UD
191322010-09-01 Ulrich Drepper <drepper@redhat.com>
19133
f2933da9
UD
19134 * nis/rpcsvc/nis.h: Update copyright notice.
19135 * nis/rpcsvc/nis.x: Likewise.
19136 * nis/rpcsvc/nis_callback.h: Likewise.
19137 * nis/rpcsvc/nis_callback.x: Likewise.
19138 * nis/rpcsvc/nis_object.x: Likewise.
19139 * nis/rpcsvc/nis_tags.h: Likewise.
19140 * nis/rpcsvc/yp.h: Likewise.
19141 * nis/rpcsvc/yp.x: Likewise.
19142 * nis/rpcsvc/ypupd.h: Likewise.
19143 * nis/yp_xdr.c: Likewise.
19144 * nis/ypupdate_xdr.c: Likewise.
19145
2f3e3dc7
UD
19146 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
19147 mainly the body of pmap_getport. Add parameters to specify timeouts.
19148 (pmap_getport): Use __libc_rpc_getport.
19149 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
19150 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
19151 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
19152
f3dcc2f9
AS
191532010-08-31 Andreas Schwab <schwab@linux-m68k.org>
19154
19155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
19156 fanotify_mark.
19157
6d34eb5b
RM
191582010-08-27 Roland McGrath <roland@redhat.com>
19159
19160 * sysdeps/i386/i686/multiarch/Makefile
19161 (CFLAGS-varshift.c): New variable.
19162
9ea3de11
UD
191632010-08-27 Ulrich Drepper <drepper@redhat.com>
19164
c96d23fc
UD
19165 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
19166 * sysdeps/i386/i686/multiarch/varshift.c: New file.
19167
9ea3de11
UD
19168 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
19169
19170 * sysdeps/x86_64/strlen.S: Minimal code improvement.
19171
623aac7f
L
191722010-08-26 H.J. Lu <hongjiu.lu@intel.com>
19173
19174 * sysdeps/x86_64/strlen.S: Unroll the loop.
19175 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19176 strlen-sse2 strlen-sse2-bsf.
19177 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
19178 __strlen_no_bsf if bit_Slow_BSF is set.
19179 (__strlen_sse42): Removed.
19180 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
19181 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
19182
8b2b7715
RM
191832010-08-25 Roland McGrath <roland@redhat.com>
19184
19185 * sysdeps/x86_64/multiarch/varshift.S: File removed.
19186 * sysdeps/x86_64/multiarch/varshift.c: New file.
19187 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
19188 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
19189 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
19190 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19191
e73015f2
L
191922010-08-25 H.J. Lu <hongjiu.lu@intel.com>
19193
19194 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19195 strlen-sse2 strlen-sse2-bsf.
19196 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
19197 __strlen_sse2_bsf if bit_Slow_BSF is unset.
19198 (__strlen_sse2): Removed.
19199 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
19200 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
19201 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19202 bit_Slow_BSF for Atom.
19203 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
19204 (index_Slow_BSF): Define.
19205 (HAS_SLOW_BSF): Define.
19206
df24a73e
UD
192072010-08-25 Ulrich Drepper <drepper@redhat.com>
19208
19209 [BZ #10851]
19210 * resolv/res_init.c (__res_vinit): When no server address at all
19211 is given default to loopback.
19212
f2ac4868
RM
192132010-08-24 Roland McGrath <roland@redhat.com>
19214
09055553
RM
19215 * configure.in: Remove config-name.h generation.
19216 * configure: Regenerated.
19217 * config-name.in: File removed.
19218 * scripts/config-uname.sh: New file.
19219 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
19220 ($(objdir)config-name.h): New target.
19221
f2ac4868
RM
19222 * sunrpc/rpc_parse.h: Avoid nested comment.
19223
73f27d5e
RH
192242010-08-24 Richard Henderson <rth@redhat.com>
19225 Ulrich Drepper <drepper@redhat.com>
19226 H.J. Lu <hongjiu.lu@intel.com>
19227
19228 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
19229 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
19230 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
19231 Replace _mm_srli_si128 with __m128i_shift_right. Replace
19232 _mm_alignr_epi8 with _mm_loadu_si128.
19233 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
19234 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
19235 (__m128i_shift_right): Removed.
19236 * sysdeps/i386/i686/multiarch/varshift.h: New file.
19237 * sysdeps/i386/i686/multiarch/varshift.S: New file.
19238 * sysdeps/x86_64/multiarch/varshift.h: New file.
19239 * sysdeps/x86_64/multiarch/varshift.S: New file.
19240
84b9230c
MF
192412010-08-21 Mike Frysinger <vapier@gentoo.org>
19242
19243 * configure.in: Move assembler checks to before sysdep dir checking.
19244
9bbd0ddc
PB
192452010-08-20 Petr Baudis <pasky@suse.cz>
19246
19247 * LICENSES: Sync the sunrpc license.
19248
9da4bb31
UD
192492010-08-19 Ulrich Drepper <drepper@redhat.com>
19250
a7ab6ec8
UD
19251 * sunrpc/auth_des.c: Update copyright notice once again.
19252 * sunrpc/auth_none.c: Likewise.
19253 * sunrpc/auth_unix.c: Likewise.
19254 * sunrpc/authdes_prot.c: Likewise.
19255 * sunrpc/authuxprot.c: Likewise.
19256 * sunrpc/bindrsvprt.c: Likewise.
19257 * sunrpc/clnt_gen.c: Likewise.
19258 * sunrpc/clnt_perr.c: Likewise.
19259 * sunrpc/clnt_raw.c: Likewise.
19260 * sunrpc/clnt_simp.c: Likewise.
19261 * sunrpc/clnt_tcp.c: Likewise.
19262 * sunrpc/clnt_udp.c: Likewise.
19263 * sunrpc/clnt_unix.c: Likewise.
19264 * sunrpc/des_crypt.c: Likewise.
19265 * sunrpc/des_soft.c: Likewise.
19266 * sunrpc/get_myaddr.c: Likewise.
19267 * sunrpc/getrpcport.c: Likewise.
19268 * sunrpc/key_call.c: Likewise.
19269 * sunrpc/key_prot.c: Likewise.
19270 * sunrpc/openchild.c: Likewise.
19271 * sunrpc/pm_getmaps.c: Likewise.
19272 * sunrpc/pm_getport.c: Likewise.
19273 * sunrpc/pmap_clnt.c: Likewise.
19274 * sunrpc/pmap_prot.c: Likewise.
19275 * sunrpc/pmap_prot2.c: Likewise.
19276 * sunrpc/pmap_rmt.c: Likewise.
19277 * sunrpc/rpc/auth.h: Likewise.
19278 * sunrpc/rpc/auth_unix.h: Likewise.
19279 * sunrpc/rpc/clnt.h: Likewise.
19280 * sunrpc/rpc/des_crypt.h: Likewise.
19281 * sunrpc/rpc/key_prot.h: Likewise.
19282 * sunrpc/rpc/netdb.h: Likewise.
19283 * sunrpc/rpc/pmap_clnt.h: Likewise.
19284 * sunrpc/rpc/pmap_prot.h: Likewise.
19285 * sunrpc/rpc/pmap_rmt.h: Likewise.
19286 * sunrpc/rpc/rpc.h: Likewise.
19287 * sunrpc/rpc/rpc_des.h: Likewise.
19288 * sunrpc/rpc/rpc_msg.h: Likewise.
19289 * sunrpc/rpc/svc.h: Likewise.
19290 * sunrpc/rpc/svc_auth.h: Likewise.
19291 * sunrpc/rpc/types.h: Likewise.
19292 * sunrpc/rpc/xdr.h: Likewise.
19293 * sunrpc/rpc_clntout.c: Likewise.
19294 * sunrpc/rpc_cmsg.c: Likewise.
19295 * sunrpc/rpc_common.c: Likewise.
19296 * sunrpc/rpc_cout.c: Likewise.
19297 * sunrpc/rpc_dtable.c: Likewise.
19298 * sunrpc/rpc_hout.c: Likewise.
19299 * sunrpc/rpc_main.c: Likewise.
19300 * sunrpc/rpc_parse.c: Likewise.
19301 * sunrpc/rpc_parse.h: Likewise.
19302 * sunrpc/rpc_prot.c: Likewise.
19303 * sunrpc/rpc_sample.c: Likewise.
19304 * sunrpc/rpc_scan.c: Likewise.
19305 * sunrpc/rpc_scan.h: Likewise.
19306 * sunrpc/rpc_svcout.c: Likewise.
19307 * sunrpc/rpc_tblout.c: Likewise.
19308 * sunrpc/rpc_util.c: Likewise.
19309 * sunrpc/rpc_util.h: Likewise.
19310 * sunrpc/rpcinfo.c: Likewise.
19311 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
19312 * sunrpc/rpcsvc/key_prot.x: Likewise.
19313 * sunrpc/rpcsvc/klm_prot.x: Likewise.
19314 * sunrpc/rpcsvc/mount.x: Likewise.
19315 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
19316 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
19317 * sunrpc/rpcsvc/rex.x: Likewise.
19318 * sunrpc/rpcsvc/rstat.x: Likewise.
19319 * sunrpc/rpcsvc/rusers.x: Likewise.
19320 * sunrpc/rpcsvc/sm_inter.x: Likewise.
19321 * sunrpc/rpcsvc/spray.x: Likewise.
19322 * sunrpc/rpcsvc/yppasswd.x: Likewise.
19323 * sunrpc/rtime.c: Likewise.
19324 * sunrpc/svc.c: Likewise.
19325 * sunrpc/svc_auth.c: Likewise.
19326 * sunrpc/svc_authux.c: Likewise.
19327 * sunrpc/svc_raw.c: Likewise.
19328 * sunrpc/svc_run.c: Likewise.
19329 * sunrpc/svc_simple.c: Likewise.
19330 * sunrpc/svc_tcp.c: Likewise.
19331 * sunrpc/svc_udp.c: Likewise.
19332 * sunrpc/svc_unix.c: Likewise.
19333 * sunrpc/svcauth_des.c: Likewise.
19334 * sunrpc/xcrypt.c: Likewise.
19335 * sunrpc/xdr.c: Likewise.
19336 * sunrpc/xdr_array.c: Likewise.
19337 * sunrpc/xdr_float.c: Likewise.
19338 * sunrpc/xdr_mem.c: Likewise.
19339 * sunrpc/xdr_rec.c: Likewise.
19340 * sunrpc/xdr_ref.c: Likewise.
19341 * sunrpc/xdr_sizeof.c: Likewise.
19342 * sunrpc/xdr_stdio.c: Likewise.
19343
9da4bb31
UD
19344 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
19345 handling.
19346
bdaa77bc
AS
193472010-08-19 Andreas Schwab <schwab@redhat.com>
19348
19349 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
19350
fe2f79db
LM
193512010-08-19 Luis Machado <luisgpm@br.ibm.com>
19352
19353 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
19354 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
19355 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
19356 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
19357 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
19358 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
19359 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
19360 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
19361 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
19362 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
19363 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
19364 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
19365 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
19366 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
19367
b9b42ee0
AB
193682010-07-26 Anton Blanchard <anton@samba.org>
19369
19370 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
19371 * malloc/arena.c (heap_trim): Likewise.
19372
1c06ba31
UD
193732010-08-16 Ulrich Drepper <drepper@redhat.com>
19374
19375 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
19376 here. Not...
19377 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
19378 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
19379
f8392f40
L
193802010-08-12 H.J. Lu <hongjiu.lu@intel.com>
19381
19382 * sysdeps/i386/elf/Makefile: New file.
19383
3162f12e
AS
193842010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19385
19386 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
19387 from fanotify_init.
19388 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
19389 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19390
28c90b2c
UD
193912010-08-15 Ulrich Drepper <drepper@redhat.com>
19392
19393 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
19394 of strncasecmp_l.
1feccb6c 19395 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 19396
ca6bb004
UD
193972010-08-14 Ulrich Drepper <drepper@redhat.com>
19398
e9f82e0d
UD
19399 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19400 strncase_l-nonascii.
19401 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19402 Add strncase_l-ssse3.
19403 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
19404 * sysdeps/x86_64/strcmp.S: Likewise.
19405 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
19406 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
19407 * sysdeps/x86_64/strncase.S: New file.
19408 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
19409 * sysdeps/x86_64/strncase_l.S: New file.
19410 * string/Makefile (strop-tests): Add strncasecmp.
19411 * string/test-strncasecmp.c: New file.
19412
19413 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
19414 warning.
19415
ca6bb004
UD
19416 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
19417 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
19418
052fa7b3
AS
194192010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19420
19421 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
19422
962dba78
UD
194232010-08-12 Ulrich Drepper <drepper@redhat.com>
19424
19425 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
19426 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
19427 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
19428
bebff237
AM
194292010-05-01 Alan Modra <amodra@gmail.com>
19430
19431 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
19432 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
19433 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
19434 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
19435 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
19436 tidying. Don't tail-call __sigjmp_save for static lib.
19437 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
19438 save location.
19439 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
19440 (CALL_MCOUNT): Add eh info, and nop after bl.
19441 (TAIL_CALL_SYSCALL_ERROR): New macro.
19442 (PSEUDO_RET): Use it.
19443 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19444 Correct save location of integer regs and cr.
19445 (_dl_profile_resolve): Correct cr save location. Delete nops
19446 after bl when SHARED. Reduce cfi size a little by better
19447 placement of cfi directives.
19448 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
19449 make a stack frame. Instead use parm save area as a temp.
19450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
19451 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
19452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19453 Don't make a stack frame for parent, use parm save area.
19454 Increase child stack frame to 112 bytes. Don't save unused reg,
19455 and adjust reg usage. Set up cfi on error recovery and
19456 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
19457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19458 (__makecontext): Add dummy nop after jump to exit.
19459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
19460 Use correct parm save area and cr save, reduce stack frame.
19461 Correct cfi for possible PSEUDO_RET frame setup.
19462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
19463 Branch to local label emitted by PSEUDO_RET rather than
19464 __syscall_error.
19465
02637374
AS
194662010-08-12 Andreas Schwab <schwab@redhat.com>
19467
19468 [BZ #11904]
19469 * locale/programs/locale.c (print_assignment): New function.
19470 (show_locale_vars): Use it.
19471
c3e2f19b
UD
194722010-08-11 Ulrich Drepper <drepper@redhat.com>
19473
3cdaa6ad
UD
19474 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
19475 field.
19476 (struct statfs64): Likewise.
19477 (_STATFS_F_FLAGS): Define.
19478 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
19479 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19480 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
19481 (ST_VALID): Define locally.
19482 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
19483 __statvfs_getflags, use the provided value.
19484 * sysdeps/unix/sysv/linux/kernel-features.h: Define
19485 __ASSUME_STATFS_F_FLAGS.
19486
754f7da3
UD
19487 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
19488
10b3bedc
UD
19489 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
19490 Add sys/fanotify.h.
19491 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
19492 fanotify_mask for GLIBC_2.13.
19493 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
19494 fanotify_init and fanotify_mark.
19495 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19496 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
19497
c08fb0d7
UD
19498 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
19499 Add prlimit.
19500 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
19501 prlimit64 for GLIBC_2.13.
19502 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
19503 prlimit64.
19504 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
19505 syscall.
19506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
19507 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19508 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
19509 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
19510 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
19511 add prlimit alias.
19512 * sysdeps/unix/sysv/linux/prlimit.c: New file.
19513
15bac72b
UD
19514 [BZ #11903]
19515 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
19516 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
19517
c3e2f19b
UD
19518 * nss/Makefile: Add rules to build and run tst-nss-test1.
19519 * shlib-versions: Add entry for libnss_test1.
19520 * nss/nss_test1.c: New file.
19521 * nss/tst-nss-test1.c: New file.
19522
19523 * nss/nsswitch.c (__nss_database_custom): Define new variable.
19524 (__nss_configure_lookup): Set appropriate entry in
19525 __nss_configure_lookup to true.
19526 * nss/nsswitch.h: Define enum with indeces of databases in
19527 databases and __nss_database_custom arrays. Declare
19528 __nss_database_custom.
19529 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
19530 to avoid using nscd when custom rules are installed.
19531 * nss/getXXbyYY_r.c: Likewise.
19532 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19533
19534 * nss/nss_files/files-parse.c: Whitespace fixes.
19535
f15ce4d8
UD
195362010-08-09 Ulrich Drepper <drepper@redhat.com>
19537
19538 [BZ #11883]
19539 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
19540 * posix/fnmatch_loop.c: Likewise.
19541
d22e4cc9
AK
195422010-07-17 Andi Kleen <ak@linux.intel.com>
19543
19544 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
19545 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
19546 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
19547 * Versions.def [GLIBC_2.13]: Add.
19548
805bc17d
UD
195492010-08-06 Ulrich Drepper <drepper@redhat.com>
19550
19551 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19552 Also fail if tpwd after pwuid call is NULL.
19553
5a42321d
ST
195542010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
19555
19556 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
19557 when converting to ms.
19558
fd3ebeda
ST
195592010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19560
19561 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
19562 EOPNOTSUPP errors with ENOTTY.
19563 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
19564 EOPNOTSUPP errors with ENOTTY.
19565
73507d3a
UD
195662010-07-31 Ulrich Drepper <drepper@redhat.com>
19567
19568 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19569 Add strcasecmp_l-ssse3.
19570 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
19571 strcasecmp.
19572 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
19573 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
19574 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
19575
fe36dd02
UD
195762010-07-30 Ulrich Drepper <drepper@redhat.com>
19577
66f6765a
UD
19578 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
19579
42e08a54
UD
19580 * string/Makefile (strop-tests): Add strcasecmp.
19581 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19582 strcasecmp_l-nonascii.
19583 (gen-as-const-headers): Add locale-defines.sym.
19584 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
19585 * sysdeps/x86_64/strcasecmp.S: New file.
19586 * sysdeps/x86_64/strcasecmp_l.S: New file.
19587 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
19588 * sysdeps/x86_64/locale-defines.sym: New file.
19589 * string/test-strcasecmp.c: New file.
19590
fe36dd02
UD
19591 * string/test-strcasestr.c: Test both ends of the range of characters.
19592 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
19593
48cbc0d6
RM
195942010-07-29 Roland McGrath <roland@redhat.com>
19595
76e6d6bc 19596 [BZ #11856]
48cbc0d6
RM
19597 * manual/locale.texi (Yes-or-No Questions): Fix example code.
19598
880113d9
UD
195992010-07-27 Ulrich Drepper <drepper@redhat.com>
19600
19601 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
19602 for ld.so.
19603
deb9cabb
AS
196042010-07-27 Andreas Schwab <schwab@redhat.com>
19605
19606 * manual/memory.texi (Malloc Tunable Parameters): Document
19607 M_PERTURB.
19608
1c7570ff
RM
196092010-07-26 Roland McGrath <roland@redhat.com>
19610
19611 [BZ #11840]
19612 * configure.in (-fgnu89-inline check): Set and substitute
19613 gnu89_inline, not libc_cv_gnu89_inline.
19614 * configure: Regenerated.
19615 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
19616
24fb0f88
UD
196172010-07-26 Ulrich Drepper <drepper@redhat.com>
19618
19619 * string/test-strnlen.c: New file.
19620 * string/Makefile (strop-tests): Add strnlen.
19621 * string/tester.c (test_strnlen): Add a few more test cases.
19622 * string/tst-strlen.c: Better error reporting.
19623
19624 * sysdeps/x86_64/strnlen.S: New file.
19625
8e96b93a
UD
196262010-07-24 Ulrich Drepper <drepper@redhat.com>
19627
19628 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
19629 lower-latency instructions.
19630
dbc676d4
UD
196312010-07-23 Ulrich Drepper <drepper@redhat.com>
19632
19633 * string/test-strcasestr.c: New file.
19634 * string/test-strstr.c: New file.
19635 * string/Makefile (strop-tests): Add strstr and strcasestr.
19636 * string/str-two-way.h: Don't undefine MAX.
19637 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
19638
f6a31e0e
AS
196392010-07-21 Andreas Schwab <schwab@redhat.com>
19640
19641 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19642 strcasestr-nonascii.
19643 (CFLAGS-strcasestr-nonascii.c): Define.
19644 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
19645 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
19646 Remove unused attribute.
19647
5dbc3b6c
RM
196482010-07-20 Roland McGrath <roland@redhat.com>
19649
19650 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
19651 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
19652 ld.so.cache was broken. With it, there is no way to disable dsocaps
19653 like LD_HWCAP_MASK can disable hwcaps.
19654
23d101d8
EPM
196552010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19656
19657 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
19658
cc9f2e47
UD
196592010-07-16 Ulrich Drepper <drepper@redhat.com>
19660
19661 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
19662 call in strcasestr.
19663 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
19664 __strcasestr_sse42_nonascii.
19665 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
19666 strcasestr-nonascii.c.
19667 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
19668
77c1b069
LM
196692010-06-15 Luis Machado <luisgpm@br.ibm.com>
19670
19671 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
19672 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
19673 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
19674 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
19675
440566c3
UD
196762010-07-09 Ulrich Drepper <drepper@redhat.com>
19677
19678 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
19679 fcntl.
19680
5be9d05d
AS
196812010-07-06 Andreas Schwab <schwab@redhat.com>
19682
c30b7ee2 19683 [BZ #11577]
5be9d05d
AS
19684 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
19685 dl_signal_cerror.
19686
8a492a67
UD
196872010-07-06 Ulrich Drepper <drepper@redhat.com>
19688
19689 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
19690 _PC_PIPE_BUF using F_GETPIPE_SZ.
19691
713df3d5
RM
196922010-07-05 Roland McGrath <roland@redhat.com>
19693
19694 * manual/arith.texi (Rounding Functions): Fix rint description
19695 implicit in round description.
19696
702e8f14
UD
196972010-07-02 Ulrich Drepper <drepper@redhat.com>
19698
19699 * elf/Makefile: Fix linking for a few tests to make recent linker
19700 happy.
19701
52ed8be9
AS
197022010-06-30 Andreas Schwab <schwab@redhat.com>
19703
19704 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19705 $(common-objpfx)libc_nonshared.a.
19706
f47c9a11
LM
197072010-06-21 Luis Machado <luisgpm@br.ibm.com>
19708
19709 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
19710 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
19711 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19712 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19713 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
19714 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
19715 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19716 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
19718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
19719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
19720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
19722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
19724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
19725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
19726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
19727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
19729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
19731 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
19732 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
19733 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
19734 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
19735 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
19736 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
19737 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
19738 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
19739 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
19740 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
19741 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
19742 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
19743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
19744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
19745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
19746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
19747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
19748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
19749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
19750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
19751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
19752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
19753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
19754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
19755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
19756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
19757
6fb8cbcb
L
197582010-06-25 H.J. Lu <hongjiu.lu@intel.com>
19759
19760 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
19761 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
19762 * string/memmove.c (memmove): Renamed to ...
19763 (MEMMOVE): ...this. Default to memmove.
19764 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
19765 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
19766 (END_CHK): Define.
19767 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19768 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
19769 mempcpy-ssse3-back memmove-ssse3-back.
19770 * sysdeps/x86_64/multiarch/bcopy.S: New file .
19771 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
19772 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
19773 * sysdeps/x86_64/multiarch/memcpy.S: New file.
19774 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
19775 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
19776 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
19777 * sysdeps/x86_64/multiarch/memmove.c: New file.
19778 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
19779 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
19780 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
19781 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
19782 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
19783 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
19784 Define.
19785 (index_Fast_Copy_Backward): Define.
19786 (HAS_ARCH_FEATURE): Define.
19787 (HAS_FAST_REP_STRING): Define.
19788 (HAS_FAST_COPY_BACKWARD): Define.
19789
4e733bac 197902010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
19791
19792 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19793 Restore proper fallback handling.
19794
63c4ed22
UD
197952010-06-19 Ulrich Drepper <drepper@redhat.com>
19796
ac2b484c
UD
19797 [BZ #11701]
19798 * posix/group_member.c (__group_member): Correct checking loop.
19799
63c4ed22
UD
19800 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
19801 OOM in getpwuid_r correctly. Return error number when the caller
19802 should return, otherwise -1.
19803 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
19804 call returning > 0 value.
19805 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
19806
765ade4b
AS
198072010-06-07 Andreas Schwab <schwab@redhat.com>
19808
19809 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
19810 libc_nonshared.a from targets in modules-names.
19811
80da2e09
KS
198122010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
19813
19814 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
19815 requires it.
19816
158db122
LM
198172010-06-10 Luis Machado <luisgpm@br.ibm.com>
19818
19819 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
19820 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
19821 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
19822 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
19823
caa78cf8
AS
198242010-06-02 Andreas Schwab <schwab@redhat.com>
19825
19826 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
19827
b2ef2c01
UD
198282010-06-14 Ulrich Drepper <drepper@redhat.com>
19829
19830 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
19831 and F_GETPIPE_SZ.
19832 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19833 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19834 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19835 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19836 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19837 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
19838
fbd643b6
RM
198392010-06-14 Roland McGrath <roland@redhat.com>
19840
19841 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
19842
f32f2869
JJ
198432010-06-07 Jakub Jelinek <jakub@redhat.com>
19844
19845 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
19846 __REDIRECT followed by __THROW.
19847 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
19848 * posix/getopt.h (getopt): Likewise.
19849
2a50c078
EPM
198502010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19851
19852 * hurd/lookup-at.c (__file_name_lookup_at): Accept
19853 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
19854 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
19855 in AT_FLAGS.
19856 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
19857 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
19858
eb5ad2eb
LM
198592010-05-28 Luis Machado <luisgpm@br.ibm.com>
19860
19861 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
19862
3c88fe1e
L
198632010-05-26 H.J. Lu <hongjiu.lu@intel.com>
19864
19865 [BZ #11640]
19866 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19867 Properly check family and model.
19868
d2f73151
TY
198692010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
19870
19871 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
19872
ebd2e13d
LM
198732010-05-24 Luis Machado <luisgpm@br.ibm.com>
19874
19875 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
19876
b32b8b45
UD
198772010-05-21 Ulrich Drepper <drepper@redhat.com>
19878
19879 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
19880 symbol reference.
19881
9acbe24d
AS
198822010-05-19 Andreas Schwab <schwab@redhat.com>
19883
19884 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
19885 symbol reference.
19886
f0ccf6ea
AS
198872010-05-21 Andreas Schwab <schwab@redhat.com>
19888
3d04ff3a
AS
19889 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
19890 and internal_recvmmsg.
19891 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
19892 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
19893 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
19894 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
19895
f0ccf6ea
AS
19896 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
19897 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
19898 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
19899
5b08ac57
AS
199002010-05-20 Andreas Schwab <schwab@redhat.com>
19901
19902 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
19903
4828935d
LM
199042010-05-17 Luis Machado <luisgpm@br.ibm.com>
19905
19906 POWER7 optimizations.
19907 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
19908 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
19909
373d545e
UD
199102010-05-19 Ulrich Drepper <drepper@redhat.com>
19911
19912 * version.h: Update for 2.13 development version.
19913
21a2b1ae
AS
199142010-05-12 Andrew Stubbs <ams@codesourcery.com>
19915
19916 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
19917 exceptions. Return 0.
19918
3f7dcb2b
RM
199192010-05-07 Roland McGrath <roland@redhat.com>
19920
19921 * elf/ldconfig.c (main): Add a const.
19922
5f24d53a 199232010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 19924
a160f8d8
UD
19925 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
19926 (args_options): Add no-idn option.
19927 (ahosts_keys_int): Add idn_flags to ai_flags.
19928 (parse_option): Handle 'i' option to clear idn_flags.
19929
5f24d53a
UD
19930 * malloc/malloc.c (_int_free): Possible race in the most recently
19931 added check. Only act on the data if no current modification
19932 happened.
265bb1ce
UD
19933
19934See ChangeLog.17 for earlier changes.